1 Fri May 15 18:55:22 1998 Jason Merrill <jason@yorick.cygnus.com>
3 * tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
4 * stor-layout.c (layout_record): Set it.
6 Fri May 15 18:49:30 1998 Mark Mitchell <mmitchell@usa.net>
8 * toplev.c (rest_of_compilation): Don't defer nested functions.
10 Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
12 * config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
13 to an 8-byte boundary if info_ptr->fpmem_p.
15 Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
17 * loop.c (basic_induction_var): Added test preventing
18 CCmode parameter passed to convert_modes().
20 Fri May 15 17:26:18 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
22 * expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
23 input_filename and lineno around expand_expr call. Set them to values
24 in WFL before expand_expr call.
26 Fri May 15 12:44:57 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
28 * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
30 Fri May 15 07:20:03 1998 Mark Mitchell <mmitchell@usa.net>
32 * fold-const.c (constant_boolean_node): New function.
35 Fri May 15 11:21:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
37 * sh.c (gen_shl_and): Don't sign extend constant for kind two.
38 Abort if trying to split kind 3 or 4 outside of combine.
40 Fri May 15 01:47:37 1998 Jeffrey A Law (law@cygnus.com)
42 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
44 Fri May 15 01:42:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
46 * objc/Make-lang.in (OBJC_O): Add missing exeext.
47 (libobjc.a, runtime-info.h): Likewise.
49 Fri May 15 01:29:39 1998 John Wehle (john@feith.com)
51 * i386.h (DATA_ALIGNMENT): Define.
53 Fri May 15 05:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
55 * reload1.c (delete_output_reload): Ignore single USE that
56 was emitted for the pseudo use of this INSN.
57 If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
58 remains, we can always delete OUTPUT_RELOAD_INSN.
60 Thu May 14 18:38:50 1998 Jim Wilson <wilson@cygnus.com>
62 * reload.c (find_reloads): Don't penalize SCRATCH output reload.
64 Thu May 14 15:10:30 1998 Jeffrey A Law (law@cygnus.com)
66 * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.
68 Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
70 * eh-common.h: New file for basic EH data structures.
71 * except.h: Various prototypes and structures for NEW_EH_MODEL
72 * function.h (struct function): Add a struct eh_stack for the catch
74 * except.c (gen_exception_label): New function to generate an
76 (push_eh_entry): Use gen_exception_label() and init 'label_used' field.
77 (push_entry): New function to push an existing entry onto a stack.
78 (receive_exception_label): New function to emit the code required
79 at the start of all catch blocks.
80 (struct func_eh_entry): New structure for maintaining handlers
81 associated with EH regions.
82 (new_eh_region_entry): New function to register an EH region.
83 (add_new_handler): New function to register a handler with a region.
84 (get_new_handler): Creates anew handler entry for registering.
85 (find_func_region): New function to convert a NOTE eh region number
86 to an Eh region index.
87 (get_first_handler): New function to get the first handler in a region.
88 (clear_function_eh_region): New function to release memory.
89 (duplicate_handlers): New function to duplicate a list of handlers.
90 (expand_eh_region_end): Create a new region entry node as well.
91 (expand_leftover_cleanups): Call receive_exception_label() and
92 register the cleanup as a handler to the current region.
93 (expand_start_catch): New function to start a catch clause.
94 (expand_end_catch): New function to end a catch clause.
95 (expand_start_all_catch): restructure to not do the equivilent of
96 what expand_start_catch() does now. Push the exception region being
97 handled onto the catch stack.
98 (output_exception_table_entry): Issue an entry for each handler
99 associated with a region.
100 (set_exception_lang_code): New function for setting the language code.
101 (set_exception_version_code): New function to set the version number.
102 (output_exception_table): Output version and language codes.
103 (find_exception_handler_labels): Find handler labels using new scheme.
104 (is_exception_handler_label): New function, returns 1 if label is
105 present as a handler in some exception region.
106 (check_exception_handler_labels): Use the new scheme.
107 (init_eh_for_function): Initialize the catch stack.
108 (save_eh_status): Save the catch stack.
109 (restore_eh_status): Restore the catch stack.
110 (scan_region): Don't remove unreferenced handler label. Flow does it.
111 (get_reg_for_handler): New function to get the eh_context pointer
113 (expand_builtin_eh_stub): Changes required for NEW_EH_MODEL only.
114 * final.c (final_scan_insn): With NEW_EH_MODEL, add EH table
115 entry when processing END region rather that START region.
116 * flow.c (find_basic_blocks_1): Find all potential handler regions
117 now that we don't automatically know what the labels might be.
118 Let scan_region() remove unreferenced EH BEGIN/END labels.
119 * integrate.c (get_label_from_map): Put inlined labels onto the
120 permanent obstack since we dont know which ones might be exception
122 (save_for_inline_copying): Make new copies of all the handlers.
123 (expand_inline_function): Make new copies of all the handlers.
124 * libgcc2.c: Remove local struct decls, and include eh-common.h.
125 (find_exception_handler): With NEW_EH_MODEL the first matching
126 region we find is the right one. Add eh_info as a new parameter.
127 (__throw): Pass eh_info to find_exception_handler. Set handler
128 and pass use different regs under NEW_EH_MODEL.
130 Thu May 14 12:58:21 1998 Jim Wilson <wilson@cygnus.com>
132 * i960.h (hard_regno_mode_ok): Changed to function from array of
134 (HARD_REGNO_MODE_OK): Call function instead of testing bit.
135 * i960.c (hard_regno_mode_ok): Changed to function from array of
138 Thu May 14 08:41:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
140 * reload.c (remove_replacements): New function.
141 * reload.h (remove_replacements): Declare.
142 * reload1.c (choose_reload_regs): Disable some reloads that
143 belong to inherited reloads.
145 Thu May 14 02:17:17 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
147 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
149 * reload1.c (merge_assigned_reloads): When merging, reset
150 reload_spill_index for the eliminated reload.
152 Wed May 13 17:51:13 1998 Jeffrey A Law (law@cygnus.com)
154 * haifa-sched.c (schedule_insns): Fix merge goof.
156 1998-05-13 Jim Wilson <wilson@cygnus.com>
158 * varasm.c (make_decl_rtl): Revert April 1 change.
159 * alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
160 m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
161 Get function name from the SYMBOL_REF in the DECL_RTL, not from
163 * i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
166 Wed May 13 13:09:19 1998 Jim Wilson <wilson@cygnus.com>
168 * i386.c (notice_update_cc, output_float_compare): Disable
169 TARGET_CMOVE support.
171 Wed May 13 15:28:59 1998 Michael Meissner <meissner@cygnus.com>
172 Jeff Law <law@cygnus.com>
174 * rtlanal.c (find_reg_note): Ignore notes that are not on on
176 (find_regno_note): Likewise.
178 * Makefile.in (stor-layout.o): Depend on except.h
179 (varasm.o, function.o): Likewise.
180 (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
182 * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
183 (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
184 ($(HOST_PREFIX_1)rtl.o): Likewise.
185 ($(HOST_PREFIX_1)bitmap.o): New host object.
186 * emit-rtl.c (toplevel): Include bitmap.h.
187 (gen_rtx): Handle 't' and 'b' nodes.
188 * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
189 Print block number for block begin/end notes. Print 't' type
190 nodes as a pointer. Know that the 3rd argument of live range
191 start/stop notes is really a range_info rtx. If type is 'b', print
192 out argument as a bitmap.
193 * rtl.c: Include bitmap.c.
194 (copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
195 (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
196 * rtl.def (RANGE_LIVE): New node to hold live information while we
197 recalculate the basic blocks.
198 (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
199 (RANGE_VAR): New node, to hold information saved in symbol node for New
200 communicating live range information to the debug output functions.
201 * rtl.h (rtunion_def): Add rttree and rtbit fields.
202 (XBITMAP, XTREE): New accessor macros.
203 (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
204 (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
205 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
206 (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
207 (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
208 (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
209 (RANGE_INFO_*): Likewise.
210 * sched.c (sched_analyze): Keep live range start/stop notes.
211 (unlink_other_notes): Likewise.
212 * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
213 (unlink_other_notes): Likewise.
214 * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
215 (BLOCK_LIVE_RANGE_FLAG): Likewise.
216 (DECL_LIVE_RANGE_RTL): Likewise.
217 (struct tree_block): Add live_range_flag, live_range_var_flag,
218 live_range_start and live_range_end.
219 (struct tree_decl): Add live_range_rtl field.
220 * gengenrtl.c (type_from_format): Handle 'b' and 't'.
221 (accessor_from_format): Likewise.
223 * haifa-sched.c (schedule_block): Make verbose output line up.
224 Also add a blank line in printing the individual ready lists.
226 Wed May 13 15:43:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
228 * Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
229 (c-lex.o): Depend on output.h.
230 (c-common.o): Likewise.
233 (integrate.o): Depend on toplev.h.
234 (regclass.o): Depend on output.h.
235 (final.o): Depend on reload.h.
237 * c-common.c: Include output.h.
238 (check_format_info): Remove unused variable `integral_format'.
240 * c-decl.c (print_lang_decl): Mark parameters `file', `node' and
241 `indent' with ATTRIBUTE_UNUSED.
242 (print_lang_type): Likewise.
243 (maybe_build_cleanup): Likewise for parameter `decl'.
244 (copy_lang_decl): Likewise for parameter `node'.
246 * c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
247 (lang_print_xnode): Mark parameters `file', `node' and `indent'
248 with ATTRIBUTE_UNUSED.
249 (lookup_interface): Likewise for parameter `arg'.
250 (is_class_name): Likewise.
251 (maybe_objc_check_decl): Likewise for parameter `decl'.
252 (maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
254 (maybe_objc_method_name): Likewise for parameter `decl'.
255 (build_objc_string): Likewise for parameters `len' and `str'.
257 * c-lex.c: Include output.h.
259 * c-lex.h (position_after_white_space): Correct typo in prototype.
261 * c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
262 c_expand_end_cond, init_iterators): Add prototypes.
264 * caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
265 with ATTRIBUTE_UNUSED.
267 * calls.c: Include output.h.
269 * cccp.c (pipe_closed): Mark parameter `signo' with
272 * combine.c: Move inclusion of expr.h to after insn-config.h.
274 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
275 as empty, rather define as ((void)0).
277 * sparc.c (sparc_check_64): Add braces around ambiguous `else'.
278 Add parentheses around assignment used as truth value.
280 * cplus-dem.c (squangle_mop_up): Change return type to void.
281 (internal_cplus_demangle): Remove unused parameter `options'.
283 (cplus_demangle_opname): Remove function wide variable `int i' and
284 replace with `size_t i' at each location where it is used.
285 (cplus_demangle_opname): change type of `i' from int to size_t.
287 * cppexp.c (right_shift): Mark parameter `pfile' with
290 * cpphash.c (cpp_lookup): Likewise.
291 (cpp_hash_cleanup): Likewise.
293 * cpplib.c (parse_name): Add a prototype and make it static.
294 (null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
295 (null_cleanup): Likewise for parameters `pbuf' and `pfile'.
296 (macro_cleanup): Likewise for parameter `pfile'.
297 (file_cleanup): Likewise.
299 * cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
300 cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
302 * crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
303 __DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
305 * cse.c (cse_check_loop_start): Mark parameter `set' with
308 * dbxout.c (flag_minimal_debug, have_used_extensions,
309 source_label_number): Move inside macro wrapper check against
310 defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
312 * dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
314 * except.h (doing_eh): Provide prototype.
316 * expr.c: Move inclusion of expr.h to after insn-config.h.
318 * final.c: Include reload.h.
319 (shorten_branches): Cast the first argument of bzero to char *.
321 * fix-header.c (cpp_print_containing_files): Mark parameter
322 `pfile' with ATTRIBUTE_UNUSED.
323 (cpp_fatal): Likewise.
325 * flow.c (find_basic_blocks_1): Cast the first argument of bzero
328 * genattrtab.c (make_length_attrs): Change the type of variable
329 `i' from int to size_t.
330 (zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
333 * genextract.c (main): When generating insn-extract.c, mark
334 variable `junk' with ATTRIBUTE_UNUSED.
336 * gengenrtl.c (gencode): When generating genrtl.c, cast the first
337 argument of bzero to char*.
339 * integrate.c: Include toplev.h.
341 * libgcc2.c: Wrap `struct exception_table' and
342 `find_exception_handler' in macro DWARF2_UNWIND_INFO.
344 * objc/Make-lang.in (objc-act.o): Depend on toplev.h.
346 * objc/objc-act.c: Include toplev.h.
347 (lang_print_xnode): Mark parameters `file', `node' and `indent'
348 with ATTRIBUTE_UNUSED.
349 (finish_protocol): Likewise for parameter `protocol'.
351 * output.h (declare_weak): Add prototype.
352 (decode_reg_name): Don't wrap with TREE_CODE macro.
353 (assemble_alias): Add prototype.
355 * regclass.c: Include output.h.
357 * reload.h (reloads_conflict): Add prototype.
359 * rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
360 output_func_start_profiler): Add prototypes.
362 * rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
365 * scan-decls.c: Include scan.h.
367 * scan.h (recognized_function, recognized_extern): Add prototypes.
369 * stmt.c: Include output.h.
371 * toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
372 (output_lang_identify): Hide prototype and definition.
373 (float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
374 (pipe_closed): Likewise.
376 * toplev.h (count_error, strip_off_ending, error_for_asm,
377 warning_for_asm): Add prototypes.
379 Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
381 * toplev.c (rest_of_compilation): "Charge" final for any time
382 doing various cleanup operations after finishing compilation
385 * flow.c (dump_flow_info): Also print number of sets and
386 whether or not the pseudo is a user variable.
388 * flow.c (reg_n_max): New global variable.
389 * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
390 Delete regno_max variable.
391 * regs.h (REG_N_CHECK): Define.
392 (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
393 (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
394 (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
396 Wed May 13 12:54:19 1998 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
398 * acconfig.h (ENABLE_CHECKING): Undefine.
399 * configure.in (--enable-checking): New option.
401 Wed May 13 08:52:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
403 * reload1.c (merge_assigned_reloads): Can merge
404 RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
405 if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
407 Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
409 * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
411 Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
413 * reload1.c (gen_reload): Create REG_EQUIV notes.
415 Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
417 * reload1.c (reload): Fix check for USEs to use code of pattern.
418 (choose_reload_regs): Remove dead variable use_insn.
420 Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
422 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
424 Tue May 12 15:16:02 1998 Michael Meissner <meissner@cygnus.com>
426 * haifa-sched.c (HAIFA_INLINE): Define to be __inline unless
428 (find_insn_{,mem_}list): Use HAIFA_INLINE, not __inline.
429 (insn_{unit,issue_delay}): Ditto.
430 (blockage_range): Ditto.
431 (actual_hazard{,_this_instance}): Ditto.
432 (schedule_unit): Ditto.
433 (potential_hazard): Ditto.
437 (birthing_insn_p): Ditto.
438 (adjust_priority): Ditto.
439 (get_block_head_tail): Ditto.
440 (init_rgn_data_dependences): Ditto.
442 Tue May 12 10:27:54 1998 Klaus Kaempf <kkaempf@progis.de>
444 * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
446 Tue May 12 11:44:14 1998 Gavin Koch <gavin@cygnus.com>
448 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
450 Tue May 12 11:38:31 1998 Gavin Koch <gavin@cygnus.com>
452 * config/mips/mips.md (dslot): Move after definition of "cpu"
453 attribute. Handle r3900 case.
455 Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
457 * system.h: Define the STRINGIFY macro here.
458 * protoize.c: Not here.
459 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
461 Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
463 * varasm.c (assemble_variable): Compute the alignment of the data
464 earlier so that both initialized and uninitialized variables are
465 effected by DATA_ALIGNMENT.
466 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
468 Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
470 * mips.c: Prototype static functions.
472 Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
474 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
475 Add explanatory comments.
477 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
479 Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
481 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
483 Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
485 * varasm.c (make_decl_rtl): Disable April 1 change.
487 Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
489 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
491 Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
493 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
494 * alpha.c (print_operand): Handle it.
495 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
496 related define_splits. Also add peepholes for SImode reload
497 plus sign_extend lossage.
499 Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
501 * genattr.c: Include stdarg.h/varargs.h. Change function
502 `fatal' to use variable arguments instead of faking it with
503 integer parameters. Provide a prototype which also
504 checks the format specifiers using ATTRIBUTE_PRINTF_1.
506 * genattrtab.c: Likewise.
507 * gencodes.c: Likewise.
508 * genconfig.c: Likewise.
509 * genemit.c: Likewise.
510 * genextract.c: Likewise.
511 * genflags.c: Likewise.
512 * genopinit.c: Likewise.
513 * genpeep.c: Likewise.
514 * genrecog.c: Likewise.
515 * genoutput.c: Likewise. Similarly for function `error'.
517 Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
519 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
520 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
521 * configure.in: Use GCC_C_VOLATILE.
522 * system.h (volatile): Define as empty if no volatile support is
525 Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
527 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
530 Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
532 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
533 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
534 the body of beq; additionally set the mode of the branch to CCmode for
535 FP compares and not fast_math.
536 (alpha_emit_conditional_move): Always use a compare insn for FP
537 when not fast_math, as well as setting CCmode on the cmov.
538 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
540 * machmode.h (COMPLEX_MODE_P): New macro.
542 Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
544 * haifa-sched.c (print_exp): Fix typo.
546 Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
548 * version.c: Bump for snapshot.
550 Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
552 * final.c (final_scan_insn): Call fatal_insn instead of abort if
553 we could not split an insn when required to.
555 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
557 (peepholes): Disable peepholes that call dead_or_set_p.
558 (movsi): Rewrite to handle addresses better after last change.
559 Add define_split to split load of addresses in large/medium modes.
560 (prologue): Call m32r_expand_prologue.
561 (movsi_{push,pop}): Generators for push/pop.
562 (movsi): Support PRE_{INC,DEC}, POST_INC.
563 (mov{di,df}): Rewrite. Always split the insns.
564 (movsf): Add define_split to get register load in correct mode.
565 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
566 (attributes): Rewrite attributes so that type indicates both the
567 type and the length of the insn directly.
568 (all insns): Change to use new type attributes.
569 (debug): New attribute to convey whether -mdebug was used.
570 (opt_space): New attribute to convey whether -Os was used.
571 (function units): Loads are 3 cycles, not 2. Better classify all
572 insns into short/long.
573 (load/store/extend insns): Add separate case for load/store
574 indirect operations without an offset.
575 (divsi3): Division is a long operation, not short.
577 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
579 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
580 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
581 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
582 operands with PRE_{INC,DEC}, POST_INC.
583 (FUNCTION_PROFILER): Call abort instead of doing nothing.
584 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
586 (gen_split_move_double): Declare.
587 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
589 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
590 emit_move_insn, build up SET's directly.
591 (toplevel): Include system.h, not stdio.h.
592 (move_double_src_operand): Allow any DF or DI mode constant.
593 (gen_split_move_double): Split moves of DI or DF values into the
594 appropriate moves, loads, or stores. Don't handle use of auto
595 inc/dec if using dead index. Do handle overlapping moves, etc.
596 (m32r_frame_info): Remove prologue_size field.
597 (m32r_compute_frame_size): Don't calculate prologue size.
598 (m32r_output_function_prologue): Change to pretty much a NOP.
599 (m32r_expand_prologue): Expand prologue as a series of INSNs.
600 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
601 (m32r_print_operand_address): Ditto.
603 Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
605 * reload1.c (emit_reload_insns): When performing expensive
606 optimizations, do not output the last reload insn if OLD is
607 not the dest of NSN and is in the src and is clobbered by INSN.
609 Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
611 * Makefile.in (genrtl.o): Depend on system.h.
612 * gengenrtl.c (gencode): When creating genrtl.c, have it
615 Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
617 * config/m68k/t-linux: Remove extra stuff already included in
620 Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
622 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
623 curses.h if it contains `typedef char bool;', as suggested by
624 Manfred Hollstein <manfred@s-direktnet.de>.
626 * configure.in: Rename fixinc.math to fixinc.wrap.
628 Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
630 * gcc.c (read_specs): Handle missing blank line at end of specs file.
632 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
635 Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
637 * configure.in (enable_threads): Rename to enable_threads_flag before
638 main loop. Set enable_threads to enable_threads_flag inside main
641 Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
643 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
646 Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
648 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
650 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
651 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
652 (AC_CHECK_FUNCS): Remove unused check for vprintf.
654 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
655 (cccp.o): Depend on gansidecl.h.
658 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
659 per the rest of gcc source.
660 * cexp.y: Likewise. Include gansidecl.h and remove all code made
663 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
664 used when vfprintf is missing.
667 * genattrtab.c: Likewise.
668 * mips-tfile.c: Likewise.
669 * toplev.c: Likewise.
671 * vfprintf.c: New file.
672 * doprint.c: New file.
674 Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
676 * config/linux.h (ASM_COMMENT_START): Remove from here,
677 * config/linux-aout.h (ASM_COMMENT_START): and here,
678 * config/i386/linux.h (ASM_COMMENT_START): to here,
679 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
680 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
683 Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
685 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
688 Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
690 * Makefile.in (dwarfout.o) Add toplev.h dependency.
691 * dwarfout.c, i386.c: Include toplev.h
692 * toplev.h: (pfatal_with_name) Add prototype.
694 Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
696 * Makefile.in: Fix .SUFFIXES.
698 Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
700 * config/linux.h (ASM_COMMENT_START): Define as "#".
701 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
703 Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
705 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
706 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
708 * toplev.c: Include toplev.h.
709 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
710 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
711 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
712 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
713 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
716 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
717 HARD_FRAME_POINTER_REGNUM.
719 * expr.c (target_temp_slot_level): Delete duplicate definition.
721 Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
723 * stmt.c (mark_seen_cases): Make it have external linkage again.
724 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
727 * haifa-sched.c (print_value, case SUBREG): Fix typo.
729 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
730 * i386.h (REG_CLASS_CONTENTS): Similarly.
732 * toplev.c (-fsched-max): Delete flag.
733 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
734 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
735 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
738 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
739 inner loops which are not reducible.
741 * loop.c (regs_match_p): Fix typo in prototype.
743 * regmove.c (try_auto_increment): Wrap declaration inside an
746 Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
748 * final.c (output_operand_lossage): Call fatal with the operand
749 lossage message instead of calling abort.
751 Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
753 * c-common.c: Convert to using ctype macros defined in system.h.
756 * collect2.c: Likewise.
757 * rs6000.c: Likewise.
758 * cpplib.c: Likewise.
759 * fix-header.c: Likewise.
761 * gen-protos.c: Likewise.
762 * pexecute.c: Likewise.
763 * protoize.c: Likewise.
768 * toplev.c: Likewise.
770 Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
772 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
773 Replace -gdwarf-2 with -g0.
775 Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
777 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
778 * mips-tdump.c: Include system.h, remove redundant headers.
779 * mips-tfile.c: Likewise. Also, convert all ctype function calls
780 to calls of the macro versions defined in system.h.
782 * objc/Make-lang.in (objc-act.o): Depend on system.h.
783 * objc/objc-act.c: Include system.h, remove redundant headers.
785 Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
787 * configure.in (AC_CHECK_FUNCS): Add isascii.
788 (GCC_NEED_DECLARATIONS): Add atof.
790 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
791 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
793 Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
795 * system.h: Wrap time.h and sys/file.h in autoconf checks.
796 Provide default definitions for O_RDONLY and O_WRONLY here.
798 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
800 1998-05-06 Mark Mitchell <mmitchell@usa.net>
802 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
804 Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
806 * toplev.h: New file. Protypes for functions in toplev.c.
807 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
808 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
809 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
810 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
811 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
812 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
813 varasm.c: include it.
815 Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
816 Jim Wilson (wilson@cygnus.com)
818 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
819 blocks. Check for 1 successor which is the EXIT_BLOCK.
821 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
822 unreachable loops with more than one block.
824 Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
826 * fix-header.c (write_rbrac): Add "abort" to functions which need to
829 Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
831 * Check in merge from gcc2. See ChangeLog.12 for details.
833 Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
835 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
836 accept 'a' flag. 'S' does accept 'a' flag.
837 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
840 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
842 Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
844 * config/m68k/m68k.h: Declare functions from m68k.c used in
845 macros and machine description.
846 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
848 (ASM_OUTPUT_FLOAT): Likewise.
849 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
851 Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
853 * tree.def: Add NAMESPACE_DECL.
854 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
855 * dwarf2out.c (push_decl_scope): Likewise.
856 (scope_die_for): Likewise.
857 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
858 how to get next context level.
860 Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
862 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
865 Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
867 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
869 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
870 for any insns skipped at the start of a block because they were
873 Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
875 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
877 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
879 * c-common.c (format_char_info): Add new field hhlen.
880 (print_char_table, scan_char_table, time_char_table): Initialize
881 hhlen field appropriately.
882 (char_format_info): Recognize hh modifier and lookup correct char
885 Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
887 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
888 reference if this is a store.
890 Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
892 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
894 Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
896 Make UnixWare 7 bootstrap support work with final shipping product.
897 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
898 Pick up xm-siglist and xm-alloca.
899 (xm_defines): Add USG so dbxout will build.
900 * configure: Regenerate.
902 Sun May 3 13:51:34 PDT 1998 Richard Henerson <rth@cygnus.com>
904 Support for official Sparc V9 ABI:
905 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
906 Care for flag_pcc_struct_return default.
907 (output_move_quad): Rewrite to move by halves on v9 and in the
909 (move_quad_direction): New function.
910 (output_fp_move_quad): Use it to determine the direction of copy.
911 (function_arg_slotno): Return -1 for FP reg overflow as well.
912 (function_arg_record_value*): New functions.
913 (function_arg): Use them. Streamline unprototyped parameter passing.
914 (function_arg_pass_by_reference): Pass TCmode by reference.
915 (function_value): New function.
916 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
917 long long in 64-bit mode.
918 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
919 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
920 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
921 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
922 (BASE_INCOMING_ARG_REG): Likewise.
923 (FUNCTION_VALUE): Call function_value.
924 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
925 * sparc.md (movdi_sp32_v9): Disable for arch64.
926 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
927 (call_value_address_sp64): Remove register class constraints.
928 (call_value_symbolic_sp64): Likewise.
929 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
930 v9 case to 32-bit constants.
931 (goto_handler_and_restore_v9): Provide a version for arch64.
932 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
933 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
934 (CPP_PREDEFINES): New.
935 * sparc/sp64-elf.h: Likewise.
936 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
937 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
938 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
940 Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
942 * version.c: Bump for snapshot.
944 Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
946 * reload.c (find_reloads): Emit USEs to mark where a pseudo
947 is reloaded with the MEM of its stack slot.
948 * reload1.c (cannot_omit_stores): Delete.
949 (reload): Don't initialize it.
950 Don't apply avoid_return_reg logic to USEs.
951 When done, remove USEs that have a REG_EQUAL note on them.
952 (emit_reload_insns): Handle case where we have inherited a MEM.
953 (choose_reload_regs): Likewise.
954 (delete_output_reload): Don't use cannot_omit_stores.
956 Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
958 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
960 Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
962 * haifa-sched.c (print_{exp,value}): Various changes to make the
963 debug output easier to read. Also, use only one buffer, and make
964 sure the buffer we are passed in doesn't overflow.
965 (safe_concat): Concatenate to a buffer without overflow.
967 Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
969 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
972 Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
974 * sched.c (new_insn_dead_notes): Check if the register was
975 used in the original instruction.
976 * haifa-sched.c (new_insn_dead_notes): Likewise.
978 Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
980 * dwarf2out.c (scope_die_for): If could not find proper scope,
981 check for and handle tagged type with incorrect TYPE_CONTEXT.
983 Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
985 * calls.c (expand_call): Fix recognition of C++ operator new.
987 * alias.c (mode_alias_check): Disable type based alias detection.
989 Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
991 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
992 ASM_OUTPUT_WEAK_ALIAS): Define.
993 * config/mips/elf64.h: Same.
994 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
995 ASM_WEAKEN_LABEL): Removed.
997 Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
999 * calls.c (expand_call): Bump the length limit on the specially
1000 recognized function names to 17.
1002 Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
1004 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
1005 when undefining macros at the end.
1007 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
1008 val or len has TREE_SIDE_EFFECTS set.
1010 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
1011 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
1012 (smuldi3_highpart): Call const v8plus routine.
1013 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
1014 (const_smulsi3_highpart_v8plus): New pattern.
1015 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
1016 (umulsidi3): Call const v8plus routine.
1017 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
1019 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
1020 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
1022 Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
1024 * m32r.c (*_oper{and|ator}): Change enum arguments and return
1025 values to int, so they can be prototyped even in files that don't
1027 ({small,large}_insn_p): Ditto.
1028 (m32r_select_cc_mode): Ditto.
1029 (gen_compare): Ditto.
1030 (function_arg_partial_nregs): Ditto.
1031 (m32r_setup_incoming_varargs): Ditto.
1032 (init_reg_tables): Add prototype.
1033 (m32r_frame_info): Add prolog_size field.
1034 (m32r_compute_frame_size): Calculate the size of the prologue.
1035 (m32r_first_insn_address): Return prologue size.
1036 (m32r_output_function_prologue): Calculate frame size before
1037 printing out information. Print out the prologue size.
1039 * m32r.h: Prototype all functions in m32r.c.
1040 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
1042 * m32r.md (bcc functions): Cast enum's to int.
1044 * m32r.c (conditional_move_operand): Silence a debug message.
1045 ({small,long}_insn): New predicates.
1047 * m32r.h (TARGET_M32R): New macro.
1048 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
1049 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
1051 (ISSUE_RATE): Define as 2.
1053 * m32r.md (insn_size): New attribute.
1054 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
1056 (m32r): New attribute.
1058 * configure.in (enable_haifa): Switch m32r to Haifa by default.
1059 * configure: Regenerate.
1061 (Changes from Nick Clifton <nickc@cygnus.com>)
1062 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
1063 the equivalent of a negated 'I' constraint.
1064 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
1065 optimisation to work.
1067 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
1068 than 'I' since the value is negated.
1069 (peephole): Add peephole optimisation to cope with optimization of
1070 divide and subtracts of the same operands.
1072 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
1076 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
1079 Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
1081 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
1083 Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
1085 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
1086 frame_pointer_rtx not FRAME_POINTER_REGNUM.
1088 Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
1090 * reg-stack.c: Revert last patch (Apr 20).
1091 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
1093 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
1095 * loop.c (check_dbra_loop): New locals jump, first_compare, and
1096 compare_and_branch. Call get_condition to set first_compare.
1097 Set compare_and_branch to number of compare/branch instructions.
1098 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
1099 Replace '2' with compare_and_branch.
1101 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1103 * cplus-dem.c (demangle_qualified): Replace missing else.
1105 Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1107 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
1109 Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1111 * sh.c (sh_expand_prologue, sh_expand_epilogue):
1112 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
1113 * sh.h (STACK_BOUNDARY): Likewise.
1115 Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1117 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1119 Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
1121 * system.h (abort): If abort is not defined, and neither is
1122 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
1123 reporting the line and filename of the error.
1125 * .gdbinit: Add breakpoints on exit and fancy_abort.
1127 * final.c (split_double): Avoid a compiler warning if
1128 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
1130 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
1131 for calling jump_optimize.
1133 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
1134 macros, rather than 0/1's.
1136 Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
1138 * alpha.h (CONST_COSTS): Zero is always free.
1139 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
1141 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1143 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
1144 length in the name of a virtual table.
1146 Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
1148 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
1150 Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
1152 * version.c: Bump for snapshot.
1154 Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
1156 * fold-const.c (fold_convert): Fix typo.
1158 Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
1160 * alias.c (alias_invariant): New variable.
1161 (record_base_value): New argument INVARIANT.
1162 (memrefs_conflict_p): If a register has an entry in the alias_invariant
1163 array, try substituting that value for the register.
1165 * rtl.h: Declare record_base_value.
1167 * loop.c, unroll.c: Update callers of record_base_value.
1169 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
1170 ZERO_EXTEND do not affect base values.
1172 Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
1174 * dbxout.c (dbxout_type): Fix typo.
1175 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
1177 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
1179 Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
1181 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
1182 if the argument is the address of a structure or array.
1184 * configure.in: Enable Haifa scheduler by default for SPARC.
1186 Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1188 * cse.c (cse_set_around_loop): Don't do optimization when
1189 new pseudos are created.
1191 Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
1193 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
1195 (dbxout_type_method_1, dbxout_type): Likewise.
1196 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
1197 (dbxout_type): Fix check for when to print a type range in
1200 Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1202 * (gen_shl_and, in case 1): Fix comparison with mask.
1204 Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
1206 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
1207 pointer as second register in REG+REG pair.
1209 Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1211 * c-common.c (check_format_info): Don't check for the 'x' format
1212 character twice, instead check for 'x' and 'X'
1214 Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
1216 * Makefile.in (libgcc2.ready): Add explicit dependancy from
1217 $(STMP_FIXPROTO) to ensure all necessary include files have
1218 been created and to guarantee proper parallel builds.
1220 Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1222 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
1223 register for stdarg functions.
1224 * sh.h (current_function_varargs): Declare.
1225 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
1227 1998-04-23 Jim Wilson <wilson@cygnus.com>
1229 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
1230 inhibit_libc is defined.
1232 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
1234 Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
1236 * profile.c (tablejump_entry_p): New function.
1237 (branch_prob): Add code to recognize MIPS tablejump entry branch.
1238 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
1240 Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
1242 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
1243 found, rather than at end of the loop, after the insn has been
1246 Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1248 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
1249 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
1251 Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
1253 * loop.c (note_addr_stored): Correct function to take 2 arguments,
1256 * rtl.def (MATCH_INSN2): Add new matching pattern.
1257 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
1259 Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
1261 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
1262 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
1264 * final.c (split_double): Sign extend both halves of a split CONST_INT.
1266 Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
1268 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
1270 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1272 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
1273 (cplus_demangle_opname): Call mop_up_squangle.
1274 (cplus_demangle): Initialize squangle info, then call
1275 internal_cplus_demangle. (Most code moved there as well)
1276 (internal_cplus_demangle): New function, performs most of what use
1277 to be done in cplus_demangle, but is only called with this file.
1278 (squangle_mop_up): New function to clean up B and K code data.
1279 (mop_up): set pointers to NULL after freeing.
1280 (demangle_signature, demangle_template, demangle_class): Add
1281 switch elements to handle K and B codes.
1282 (demangle_prefix, gnu_special, demangle_qualified): Add
1283 code to handle K and B codes.
1284 (do_type, demangle_fund_type): Handle B and K codes.
1285 (remember_Ktype): New function to store K info.
1286 (register_Btype, remember_Btype): New functions for B codes.
1287 (forget_B_and_K_types): New function to destroy B and K info.
1289 1998-04-21 Jim Wilson <wilson@cygnus.com>
1291 * stmt.c (check_seenlabel): When search for line number note for
1292 warning, handle case where there is no such note.
1294 Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
1296 * genemit.c (gen_exp): Allow machine description to set mode of
1299 Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
1301 * alias.c (mode_alias_check): New function.
1302 (true_dependence, anti_dependence, output_dependence): Call
1305 Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
1307 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
1308 (MIPS_STACK_ALIGN): Similarly.
1310 * c-common.c (type_for_mode): Handle TI types.
1311 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
1312 (init_decl_processing): Handle TI types.
1313 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
1315 * mips.c (block_move_loop): Test Pmode == DImode instead of
1317 (expand_block_move, save_restore_insns): Likewise.
1318 (function_prologue, mips_expand_prologue): Likewise.
1319 (mips_expand_epilogue): Likewise.
1320 * mips.h (POINTER_SIZE): Allow specific targets to override.
1321 (Pmode): Allow specific targets to override.
1322 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
1323 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
1324 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
1325 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
1326 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
1327 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1328 * mips.md (indirect, tablejump & casesi support): Test for
1329 Pmode == DImode instead of TARGET_MIPS64.
1330 (call patterns): Likewise.
1332 Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1334 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
1335 for gen_rtx(MEM, ...).
1337 Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
1339 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
1340 to not be so gross, and to properly function with PIC.
1342 Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
1344 * frame.c (heapsort): Rename to frame_heapsort.
1346 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
1348 Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
1350 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
1352 Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
1354 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
1355 operands during and after reload.
1357 Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1359 * final.c (shorten_branches, init_insn_lengths): Move code
1360 to free label_align, uid_shuid, insn_lengths, insn_addresses
1361 and uid_align from the former function into the latter one;
1362 Add code to clear these variables.
1363 * sh.h (label_align): Remove declaration.
1365 Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
1367 * gcc.c (lang_specific_driver): Declare prototype properly so
1368 fatal can be passed to it without error.
1370 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
1371 * configure: Regenerate.
1372 * config.in: Add #undef's for strchr and strrchr.
1374 * protoize.c (toplevel): If we have rindex, but not strrchr, map
1376 (file_could_be_converted): Use strrchr, not rindex since rindex is
1377 not defined on Linux systems when _POSIX_SOURCE is defined.
1378 (file_normally_convertible): Ditto.
1379 (process_aux_info_file): Ditto.
1382 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
1383 a constant to an integer register, don't split the insns that do
1384 the simple AND and OR operations, rather just split each word, and
1385 let the normal movsi define split handle it further.
1387 Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1389 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
1390 (split_branches): Call init_insn_lengths.
1392 Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
1394 * i386.c: Include expr.h to get the change_address prototype
1397 Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
1399 * reg-stack.c (subst_asm_stack_regs): Change to return the last
1400 new insn generated by this function.
1401 (subst_stack_regs): Likewise.
1402 (convert_regs): Record the last newly generated insn and use
1403 it for change_stack () instead of INSN.
1405 Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
1407 * fix-header.c (enum special_file): Undefine enumerators if they
1408 are already defined by include files.
1409 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
1410 macro with '__' to not pollute user namespace.
1412 Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
1414 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
1416 Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
1418 * version.c: Bump for snapshot.
1420 Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
1422 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
1424 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
1425 Add missing -Dpentium* options.
1426 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
1427 instead of CPP_CPU_DEFAULT.
1428 (EXTRA_SPECS): Add entry for cpp_cpu_default.
1430 Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
1432 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
1433 negative in a stackless frame.
1434 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
1435 in stackless frame size. Support 64-bit stackless frame size.
1436 Combine fpmem offset calculations and don't add total_size to
1437 offset if not pushing a stack frame.
1439 Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
1441 * regmove.c (fixup_match_1): In three places, in flag_exceptions
1442 check, change p to q.
1444 Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
1446 * gcc.c (lang_specific_driver): Add new parm type to prototype.
1447 (added_libraries): New file scope static variable.
1448 (process_command): Initialize added_libraries. Pass it to
1449 lang_specific_driver.
1450 (main): Use added_libraries in check for no input files.
1452 Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
1454 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
1455 code generation. Use 64 bit instructions in 32 bit mode when
1456 possible. Use V9 return instruction. UltraSPARC optimizations.
1458 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
1460 Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
1462 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
1463 just pass zero. That will work regardless of the size of HARD_REG_SET.
1465 * libgcc2.c (__floatdisf): Fix a couple typos.
1467 Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
1469 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
1471 Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
1473 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
1475 Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
1477 * emit-rtl.c (operand_subword_force): If a register can not be
1478 accessed by words, copy it to a pseudo register.
1480 Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
1482 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
1484 Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
1486 * tree.h (mark_seen_cases): Delete declaration.
1488 Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
1490 * stmt.c (mark_seen_cases): Make static and add prototype.
1492 Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1494 * frame.c: Include stdlib.h and unistd.h to possibly get various
1495 function prototypes. The fixproto script guarantees these header
1496 files exist on the target system.
1497 * libgcc2.c: Likewise.
1499 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
1500 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
1501 function parameters.
1502 * libgcc2.c (__udiv_w_sdiv): Likewise.
1504 Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
1506 * varasm.c (asm_output_bss): Add prototype.
1507 (asm_output_aligned_bss): Likewise.
1509 * unroll.c (verify_addresses): Add prototype.
1511 * toplev.c: Add many prototypes. Too many to mention here.
1513 * stmt.c (check_seenlabel): Add prototype.
1515 * rtlanal.c (reg_set_p_1): Add prototype.
1516 (reg_set_last_1): Likewise.
1518 * reorg.c (find_dead_or_set_registers): Add prototype.
1520 * regmove (try_auto_increment): Add prototype.
1522 * reg-stack.c (pop_stack): Add prototype.
1524 * recog.c (validate_replace_rtx_1): Add prototype.
1525 (find_cosntant_term_loc): Likewise.
1527 * loop.c (regs_patch_p): Add prototype.
1528 (add_label_notes, count_nonfixed_reads): Likewise.
1529 (find_single_use_in_loop): Likewise.
1530 (express_from): Surround prototype with #ifdef.
1531 (giv_sort): Similarly.
1533 * jump.c (mark_modified_reg): Add prototype.
1535 * haifa-sched.c (is_prisky): Add prototype.
1536 (queue_to_ready): Likewise.
1538 * genextract.c (gen_insn): Add prototype.
1540 * genemit.c (max_operand_1): Add prototype.
1541 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
1542 (gen_expand, gen_explit, output_add_clobbers): Likewise.
1543 (output_init_mov_optab): Likewise.
1545 * genattrtab.c (attr_hash_add_rtx): Add prototype.
1546 (attr_hash_add_string, write_length_unit_log): Likewise.
1548 * genattr.c (init_range): Add prototype.
1550 * combine.c (sets_function_arg_p): Add prototype.
1552 * expr.c (store_constructor_field): Add prototype.
1553 (get_memory_usage_from_modifier): Likewise
1555 * expmed.c (synth_mult): Add prototype.
1556 (choose_multiplier, invert_mod2n): Likewise.
1558 * except.c (push_eh_entry): Add prototype.
1559 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
1560 (call_get_eh_context, start_dynamic_cleanup): Likewise.
1561 (start_dynamic_handler, can_throw): Likewise.
1562 (output_exception_table_entry, scan_region): Likewise.
1563 (eh_regs, set_insn_eh_region): Likewise.
1565 * dwarfout.c (decl_class_context): Add prototype.
1566 (output_inheritance_die, type_ok_for_scope): Likewise.
1568 * c-lex.c (skip_white_space_on_line): Add prototype.
1570 * alias.c (record_set): Add prototype.
1571 (find_base_term, base_alias_check): Likewise.
1573 * function.c (assign_outer_stack_local): Make static and add prototype.
1575 * haifa-sched.c (build_control_flow): Accept raw data as inputs
1576 instead of computing it locally. Callers changed.
1577 (find_rgns): Several new arguments. Callers changed.
1578 Generally clean up and comment better. Use dominators to
1579 identify reducible loops. Convert some flag arrays to bitmaps.
1580 Convert most of the code to work on pred/succ lists instead of
1581 an edge table. Add comments for future improvements.
1582 (schedule_insns): Allocate temporary tables for flow data, call
1583 routines to compute flow data and pass it along to children as
1585 (debug_control_flow): Delete. Use dump_bb_data instead.
1587 * basic-block.h (compute_dominators): Declare.
1589 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
1591 * basic-block.h: Declare them.
1593 Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
1595 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
1598 Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
1600 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
1601 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
1602 node is non NULL. Cache last file name and file name identifier node.
1604 1998-04-15 Mark Mitchell <mmitchell@usa.net>
1606 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
1607 the length of an array, not TREE_TYPE.
1609 Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
1611 * flow.c (sbitmap_union_of_successors): New function.
1612 * basic-block.h (sbitmap_union_of_successors): Declare it.
1614 Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
1616 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
1617 Set gnu_ld to gnu_ld_flag inside main loop.
1620 Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
1622 * toplev.c (compile_file): Call init_parse using new interface.
1623 (init_lex): Remove declaration.
1625 * c-lex.c (init_parse): Now returns char* containing filename.
1627 Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
1629 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
1631 Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
1633 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
1634 (gen{extract,peep,opinit,output}): Ditto.
1636 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
1637 global definition so print-rtl.o can be linked in.
1638 * gen{peep,recog}.c (insn_attr_name): Ditto.
1640 Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
1642 * fixincludes: discard empty C++ comments, as found in sys/time.h
1645 Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1647 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
1650 Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
1652 * emit-rtl.c (operand_subword): Rework slightly to avoid
1653 bogus warning from previous change.
1655 Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
1657 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
1658 Nov 8 find_replacement change. Move decls of get_unaligned_address
1659 * alpha.h: ... here.
1661 Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
1663 * function.c (assign_parms): Initialize unsignedp before passing
1664 its pointer to promote_mode.
1666 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
1667 (write_test_expr): Allow MATCH_INSN.
1669 Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
1671 * install.texi: Update section on warnings that can be safely ignored.
1673 Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
1675 * mips.md (reload_outdi): Change the scratch mode from DImode to
1676 TImode. New variable scratch, used instead of operand[2] in template.
1677 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
1679 Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
1681 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
1683 Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
1685 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
1687 Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
1689 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
1690 (ASM_FINISH_DECLARE_OBJECT): Likewise.
1692 * Idea and part of the patch from HJ.
1693 * Makefile.in: auto-host.h renamed from auto-config.h. All references
1695 (distclean): Remove auto-build.h too.
1696 * configure.in: Rename host autoconf generated file to auto-host.h.
1697 If host != build, then run autoconf to generate auto-build.h for
1698 the build machine and include it in build_xm_files.
1699 Check for wait.h and sys/wait.h.
1701 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
1702 TRULY_NOOP_TRUNCATION.
1704 Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
1706 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
1708 Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
1710 * invoke.texi (ld options) Include memset requirements
1711 for options -nodstdlib and -nodefaultlibs.
1713 1998-04-12 Paul Eggert <eggert@twinsun.com>
1715 This change is from an idea suggested by Arthur David Olson.
1717 * c-common.c (decl_attributes, record_function_format,
1718 check_format_info, init_function_format_info):
1719 Add support for strftime format checking.
1720 (enum format_type): New type.
1721 (record_function_format): Now static, and takes value of type
1722 enum format_type instead of int.
1723 (time_char_table): New constant.
1724 (struct function_format_info): format_type member renamed from is_scan.
1725 (check_format_info): Use `warning' rather than sprintf followed by
1726 `warning', to avoid mishandling `%' in warnings.
1727 Change `pedwarn' to `warning', since these warnings do not necessarily
1728 mean the program does not conform to the C Standard, as the code
1729 need not be executed.
1731 * c-tree.h (record_function_format): Remove decl; no longer extern.
1733 * extend.texi: Add documentation for strftime format checking.
1735 Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
1737 * mips/ecoffl.h: Do not include mips.h.
1738 * mips/elf.h: Likewise.
1740 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
1741 * mips/ecoff.h: Include "mips/mips.h".
1743 Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
1745 * version.c: Bump for snapshot.
1747 Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
1749 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
1750 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
1751 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
1752 between loop optimization passes.
1753 * rtl.h: Updated appropriately.
1755 Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
1757 Reinstall this patch from Jason.
1758 * function.c (push_function_context_to): Don't call init_emit.
1760 Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
1762 * rtl.c (read_skip_spaces): Prevent infinite loops upon
1763 encountering unterminated comments.
1765 Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
1767 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
1770 * configure.in: Handle --with-fast-fixincludes.
1771 (fixincludes): If --with-fast-fixincludes, then use a different
1772 fixincludes program by default.
1773 * Makefile.in (fixinc.sh): New rule.
1775 Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
1777 * i386.md (movqi+1): Handle invalid QI register.
1778 (movsf_push-1): Likewise.
1780 Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
1782 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
1784 symbolic_memort_operand(), call32_operand(), int8_operand(),
1785 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
1787 uint16_operand(): Made static.
1789 Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
1791 * calls.c (expand_call): Fix typo.
1793 Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
1795 * c-lex.c (finput): New global.
1796 (init_parse): Always included. Handle !USE_CPPLIB using
1797 code originally in compile_file.
1798 (finish_parse): Update for CPPLIB.
1799 * toplev.c (init_parse, finish_parse): Declare.
1800 (finput): Delete variable. Now in front-ends.
1801 (compile_file): Remove code which is now handled by init_parse
1802 which is unconditionally called. Similarly for finish_parse.
1804 Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
1806 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
1807 ASM_WEAKEN_LABEL): Add.
1809 Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
1811 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
1812 * configure.in (alpha-*-linux*): Use them.
1814 Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
1816 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
1817 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
1818 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
1819 (build_expr_wfl): New prototype declaration.
1820 * tree.c (build_expr_wfl): New function, to build
1821 EXPR_WITH_FILE_LOCATION nodes.
1822 (copy_node): Don't zero TREE_CHAIN if copying a
1823 EXPR_WITH_FILE_LOCATION node.
1824 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
1825 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
1827 Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
1829 * configure.in (v850): Use t-v850.
1830 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
1832 * protoize.c (creat, read, write): Do not declare.
1834 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
1835 refer to the CODE_LABEL before a dispatch table.
1837 * invoke.texi: Add ARC options.
1839 * gcc.c (proces_command): Improve error message for -o with
1842 * i386/x-cygwin32 (CLIB): Link in advapi32.
1844 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
1845 (ASM_IDENTIFY_LANGUAGE): Likewise.
1847 * i386.md (movqi recognizer): Don't perfom byte increment into
1850 * configure.in (x86-dg-dgux): Run fixinc.dgux.
1852 * i370.h: Fix typo in GEN_INT changes.
1854 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
1855 of an empty arglist in prototype.
1857 * Makefile.in: Remove bytecode crud that crept back in after the
1860 1998-04-08 Brendan Kehoe <brendan@cygnus.com>
1862 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
1863 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
1865 Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
1867 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1869 Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
1871 * c-lex.c (is_class_name): Delete declaration.
1872 (whitespace_cr): Make static and add prototype.
1873 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
1874 yylex, get_directive_line): Turn declarations into prototypes.
1875 (position_after_whitespace, check_newline, yyerror,, is_class_name,
1876 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
1878 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
1880 * gencodes.c (gen_insn): Add prototype.
1881 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
1882 gen_peephole): Add prototypes.
1883 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
1885 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
1886 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
1887 genheader, gencode): Add prototypes.
1888 * genopinit.c (gen_insn): Add prototype.
1889 * genoutput.c (output_prologue, output_epilogue, scan_operands,
1890 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
1891 gen_expand, gen_split, n_occurrences): Add prototypes.
1892 * genpeep.c (gen_peephole): Add prototype.
1893 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
1894 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
1895 labels_in_range_p, count_loop_regs_set, note_addr_stored,
1896 loop_reg_used_before_p, scan_loop, replace_call_address,
1897 skip_consec_insns, libcall_benefit, ignore_some_movables,
1898 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
1899 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
1900 check_final_value, record_giv, update_giv_derive, basic_induction_var,
1901 simplify_giv_expr, general_induction_var, consec_sets_giv,
1902 check_dbra_loop, express_from, combine_givs_p, combine_givs,
1903 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
1904 last_use_this_basic_block, record_initial, update_reg_last_use,
1905 iteration_info, analyze_loop_iterations, insert_bct,
1906 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
1909 Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
1911 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1913 1998-04-07 Ken Raeburn <raeburn@cygnus.com>
1915 * config/mips/mips.c (siginfo): Deleted.
1916 (override_options): Don't install SIGINFO signal handler.
1918 Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
1920 * loop.c (check_dbra_loop): When normalize comparison_val, add check
1921 to verify it is non-negative.
1923 Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
1925 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
1926 (alpha_expand_block_clear): Likewise.
1928 Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
1930 * tree.h (sizetype_tab): Fix previous change for K&R.
1932 Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
1934 * version.c: Bump for snapshot.
1936 Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
1938 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
1939 Add USG and POSIX to xm_defines.
1941 Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
1943 * gcc.c: Add linker spec.
1944 (link_command_spec): Use %(linker) instead of ld.
1945 (main): If collect2 is requested as the linker, see if it exists;
1946 if not, use ld instead.
1948 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
1950 (install-collect2): Install as collect2, not ld.
1952 * configure.in(will_use_collect2): It's named collect2 now.
1954 * collect2: Remove checks to see if we were invoked recursively.
1955 (collect_execute): Use _spawnvp under cygwin32.
1957 Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
1959 * haifa-sched.c (build_control_flow): Set unreachable for block whose
1960 only predecessor is itself.
1962 Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1964 * c-parse.in: Include system.h, and remove stuff now made redundant.
1967 * protoize.c: Likewise. Properly check for cpp stringification.
1969 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
1972 * objc/Make-lang.in (objc-parse.o): Likewise.
1974 Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1976 * gansidecl.h: Check if compiler supports __attribute__. Provide
1977 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
1978 __attribute__ when its available. Also provide definitions for
1979 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
1980 terms of ATTRIBUTE_PRINTF.
1982 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
1985 Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
1987 * combine.c (can_combine_p): Include successor in volatile test.
1989 Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1991 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
1994 Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
1996 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
1997 in prototype and definition.
1999 Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
2001 * version.c: Bump for snapshot.
2003 Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
2005 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
2006 alpha_expand_unaligned_store_words.
2008 Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
2010 * i386.md (movsf_push, movsf_mem): Remove.
2011 (movsf_push): Rename from movsf_push_nomove and move in front of
2012 movsf. Use nonmemory_operand predicate and don't bother checking
2014 (movsf_push_memory): New pattern.
2015 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
2016 both operands refer to memory then force operand[1] into a register.
2017 (movsf_normal): Change to unnamed pattern.
2018 Likewise for movdf, movxf, and friends.
2020 Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
2022 * version.c: Bump for snapshot.
2024 Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
2026 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
2028 Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
2030 * configure.in (mips-wrs-vxworks): New target.
2032 Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
2034 * expmed.c (synth_mult): The value -1, has no zeros, so it can
2035 never have the form ...011.
2037 * version.c: Bump for snapshot.
2039 Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
2041 * i386.c (asm_output_function_prefix, load_pic_register):
2042 Use ASM_GENERATE_INTERNAL_LABEL properly.
2043 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
2044 (print_operand): Ignore it.
2045 (load_pic_register): Use it for the got load call.
2046 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
2047 (prologue_get_pc_and_set_got): Likewise.
2048 * i386.h: Update print_operand docs.
2050 Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
2052 * i386.md (ffssi, ffshi): Rewrite as define_expands.
2053 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
2054 * i386.c (notice_update_cc): Recognize unspec 5.
2056 Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
2058 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
2059 * alpha.c (print_operand): Handle it.
2060 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
2062 (fix_truncdfdi2): Likewise.
2064 Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
2066 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
2067 of these into a single struct, with additional [us]sizetype entries.
2068 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
2069 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
2072 Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
2074 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
2076 Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
2078 * haifa-sched.c (split_block_insns): Don't supress insn splitting
2079 on subsequent passes.
2081 * alpha.c (hard_fp_register_operand): New function.
2082 * alpha.h (PREDICATE_CODES): Add it.
2083 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
2084 f<-m case and accompanying define_split.
2085 (trapb): Use a unique unspec_volatile number.
2087 Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
2089 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
2092 Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
2094 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
2097 * haifa-sched.c: Mirror recent changes from gcc2.
2099 Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
2101 * Makefile.in (insn*.o): Depend on system.h.
2103 * pa.c (output_global_address): Initialize base.
2104 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
2106 1998-04-03 Mike Stump <mrs@wrs.com>
2108 * gthr.h: Support systems that don't have weak, but have threads.
2109 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
2110 * gthr-vxworks.h: New file.
2111 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
2113 Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
2115 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
2117 1998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
2119 * ginclude/va-i960.h (va_end): Change void * to void.
2121 Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2123 * Makefile.in (choose-temp.o): Depend on system.h.
2125 * choose-temp.c: Include system.h when IN_GCC.
2127 Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
2128 Richard Henderson <rth@cygnus.com>
2130 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
2131 (move_replacements): New function.
2132 * reload.h: Prototype it.
2134 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
2136 Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
2138 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
2141 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
2142 (gen_highpart): Likewise.
2143 * final.c (alter_subreg): Allow the target to hook by-mode subreg
2144 hard register number changes.
2146 Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
2148 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
2149 rnbitsize, rnmode and rinner.
2150 (make_range): Initialize type.
2151 (fold): Initialize arg0, arg1 and varop.
2153 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
2155 (expand_function_start): Initialize last_ptr.
2157 * stor-layout.c (layout_record): Initialize desired_align.
2158 (get_best_mode): Initialize unit.
2160 * tree.c (copy_node): Initialize length.
2162 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
2164 * caller-save.c (insert_save_restore): Initialize pat, code and
2167 * emit-rtl.c (push_to_sequence): Initialize top.
2168 (push_topmost_sequence): Likewise.
2170 * genattrtab.c (simplify_by_exploding): Initialize defval.
2172 * profile.c (branch_prob): Initialize dest.
2174 * rtl.h (note_stores): Remove duplicate prototype.
2175 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
2177 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
2178 strings that are not actually lengths.
2180 * genattrtab.c: Make generated file use system.h, instead of
2181 including stdio.h, etc directly.
2182 * genextract.c, genopinit.c, genoutput.c: Likewise.
2183 * genpeep.c, genrecog.c: Likewise
2185 * genoutput.c (process_template): Mark operands in the generated
2186 function as potentially unused if compiling with GNU CC.
2188 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
2190 * pa.md (reload peepholes): Remove unused variable "mode".
2192 Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
2194 * config/arm/thumb.h: Add super interworking support.
2195 * config/arm/thumb.c: Add super interworking support.
2196 * config/arm/thumb.md: Add super interworking support.
2197 * config/arm/lib1funcs.asm: Add interworking support.
2198 * config/arm/lib1thumb.asm: Add super interworking support.
2199 * config/arm/t-semi: Add interworking support.
2200 * config/arm/t-thumb: Add interworking support.
2201 * config/arm/README-interworking: New file.
2203 Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
2205 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
2206 (MD_STARTFILE_PREFIX): Unset.
2208 1998-04-01 Mark Mitchell <mmitchell@usa.net>
2210 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
2211 entity in a local scope.
2213 * fold-const.c (fold): Call truthvalue_conversion for values which
2214 are folded to boolean type.
2216 Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
2218 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
2219 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
2220 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
2221 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
2222 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
2223 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
2224 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
2225 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
2226 * md.texi: Likewise.
2228 Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
2230 * fixincludes (limits.h): Fix nested comments in Motorola's
2231 limits.h and sys/limits.h.
2233 Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
2235 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
2236 as dest of expand_binop call.
2238 * alpha.md (extzv): Correct check for valid operand[2] values.
2240 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
2243 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
2245 Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
2247 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
2248 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
2250 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
2251 cygwin32 can override this to allow both unix and win32 style PATHs.
2253 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
2254 style environment paths.
2256 Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2258 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
2259 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
2260 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
2263 * cpphash.c: Include config.h.
2264 * cppalloc.c: Include system.h. Add parameters to various
2265 function prototypes.
2266 * cpperror.c: Likewise.
2267 * cppexp.c: Likewise.
2268 * cpphash.c: Likewise.
2269 * cpplib.c: Likewise.
2270 * cppmain.c: Likewise.
2271 * fix-header.c: Likewise.
2273 * gen-protos.c: Likewise.
2274 * gengenrtl.c: Likewise.
2275 * halfpic.c: Likewise.
2277 * scan-decls.c: Likewise.
2280 Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
2282 * README.gnat: Add lang_print_xnode definition.
2284 Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2286 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
2287 fmovecr on the 68060.
2289 Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
2291 * genemit.c (DONE): Rework so that it works in the true arm if
2292 an if-else conditional.
2295 Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
2297 * rs6000.c: Do not include stdioh or ctype.h anymore.
2299 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
2301 (stor-layout.o): Likewise.
2302 * c-typeck.c: Include rtl.h and expr.h.
2303 * stor-layout.c: Likewise.
2305 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
2306 All callers changed.
2307 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
2308 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
2309 All callers changed.
2311 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
2313 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
2315 * tree.h (lang_print_xnode): Provide prototype.
2317 Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
2319 * version.c: Bump for snapshot.
2321 Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
2323 * objc/sendmsg.c (__objc_block_forward): Add braces for return
2324 value if INVISIBLE_STRUCT_RETURN.
2326 * pa.c (arith_double_operand): Fix parens.
2328 * haifa-sched.c (print_pattern): Correct arg to sprintf.
2330 * Makefile.in (libgcc1.null): Make return type for __foo void.
2332 Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
2334 * pa.h: Add declarations for many functions defined in pa.c.
2336 * genpeep.c (main): Remove unused variable 'i' from the generated
2339 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
2340 (gen_split): Likewise.
2341 (main): Rework generated definitions of DONE and FAIL so that they
2342 no longer use gotos. Avoids warnings about unused labels.
2344 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
2345 unused "junk" variable.
2347 * genattrtab.c (write_complex_function): Add a default case in
2348 generated switch statement to keep -W -Wall quiet.
2350 Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
2352 * invoke.texi: Document more ARM and Thumb command line options.
2354 * config/arm/xm-thumb.h: New file.
2356 Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
2358 * stmt.c (expand_expr_stmt): Must generate code for
2359 statements within an expression (gcc's `({ ... )}')
2360 even if -fsyntax-only.
2362 Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2363 Jeffrey A Law (law@cygnus.com)
2365 * basic-block.h (basic_block_computed_jump_target): Declare.
2366 * flags.h: (current_function_has_computed_jump): Declare.
2367 * flow.c: (basic_block_computed_jump_target): Define.
2368 (flow_analysis): Allocate it. Set current_function_has_computed_jump
2370 (find_basic_blocks): Set current_function_has_computed_jump and
2371 elements of basic_block_computed_jump_target to 1 as appropriate.
2372 * function.c: (current_function_has_computed_jump): Define.
2373 * global.c (global_conflicts): Don't allocate pseudos into stack regs
2374 at the start of a block that is reachable by a computed jump.
2375 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
2377 (subst_stack_regs): Undo change from Sep 4 1997.
2378 (uses_reg_or_mem): Now unused, deleted.
2379 * stupid.c (stupid_life_analysis): Compute
2380 current_function_has_computed_jump.
2381 (stupid_find_reg): Don't allocate stack regs if the function has a
2383 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
2384 the current function has a computed jump. Use the global value
2387 Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
2389 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
2390 (DWARF2_UNWIND_INFO): Define to zero.
2392 Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
2394 * gcc.c (set_std_prefix): Add declaration.
2395 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
2396 suffix, and update the standard prefix prefix.c uses.
2398 * prefix.c (std_prefix): New global to hold default prefix value.
2399 (get_key_value): Change to use std_prefix instead of PREFIX.
2400 (translate_name): Ditto.
2401 (update_path): Ditto.
2402 (get_key_value): Release allocated scratch storage.
2403 (set_std_prefix): New function to reset the standard prefix.
2405 Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2407 * sh.c (find_barrier): Fix calculations for alignment increase.
2409 Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
2411 * Makefile.in (stmp-fixinc): If we're actually fixing include
2412 files, copy gcc's assert.h into the fixed include dir.
2413 * fixincludes (assert.h): Avoid any attempts to fix a probably
2414 broken system specific assert.h file.
2415 * fixproto (stdlib.h): Make sure, it'll contain a definition of
2418 Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
2420 * regclass.c (reg_scan_mark_refs): Be more selective about
2421 when we mark a register with REGNO_POINTER_FLAG.
2423 Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2425 reload inheritance improvement:
2426 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
2427 Change meaning: index is now hard reg number.
2428 (reg_reloaded_valid, reg_reloaded_dead): New variables.
2429 (reload_spill_index): Content is now a hard reg number.
2430 (reload_as_needed): Change to fit new variable meaning.
2431 (forget_old_reloads_1, allocate_reload_reg): Likewise.
2432 (choose_reload_regs, emit_reload_insns): Likewise.
2434 Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2436 * regclass.c (record_reg_classes): '?' increases cost by two.
2438 * reload.c (find_reloads): Double previous costs. Output
2439 reloads cost one unit extra.
2441 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
2442 boiled down to && ! 0.
2444 * reload.c (find_equiv_reg): Also consider a goal offset from the
2445 frame pointer to be constant.
2447 Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2449 * sh.h (OPTIMIZATION_OPTIONS): Define.
2451 Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
2453 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
2455 Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
2457 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
2459 Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
2461 * c-common.c (check_format_info): Initialize type, is_type. New local
2462 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
2463 when pedantic if used with integral format specifier.
2465 Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
2467 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
2469 (function_arg_padding): Declare.
2471 * rs6000.c: Include system.h.
2472 (function_arg_padding): Change return type to int, cast enum's to
2475 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
2476 * collect2.c (scan_prog_file): Add explicit braces to avoid
2479 * dbxout.c (dbxout_type_fields): Add braces around empty body in
2481 (dbxout_type): Likewise.
2483 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
2484 `ptt_size' from int to size_t.
2485 (rs6000_file_start): Likewise for `i'.
2486 (rs6000_replace_regno): Add default case in enumeration switch.
2487 (output_epilog): Remove unused variable `i'.
2488 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
2491 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
2493 (get_issue_rate, non_logical_cint_operand): Add prototype.
2494 (rs6000_output_load_toc_table): Ditto.
2496 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
2499 Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
2501 * config/arm/thumb.c: New File. Support for ARM's Thumb
2503 * config/arm/thumb.h: New File. Thumb definitions.
2504 * config/arm/thumb.md: New File. Thumb machine description.
2505 * config/arm/tcoff.h: New File. Thumb COFF support.
2506 * config/arm/t-thumb: New File. Thumb makefile fragment.
2507 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
2509 * configure.in: Add Thumb-coff target.
2510 * configure: Add Thumb-coff target.
2511 * config.sub: Add Thumb-coff target.
2513 Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
2515 * loop.c (scan_loop): Initialize move_insn_first to zero.
2517 Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
2519 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
2520 * config/i386/rtems.h: Likewise.
2521 * config/i960/rtems.h: Likewise.
2522 * config/m68k/rtems.h: Likewise.
2523 * config/mips/rtems64.h: Likewise.
2524 * config/pa/rtems.h: Likewise.
2525 * config/rs6000/rtems.h: Likewise.
2526 * config/sh/rtems.h: Likewise.
2527 * config/sparc/rtems.h: Likewise.
2529 Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2531 * pa.c (emit_move_sequence): If in reload, call find_replacement.
2533 Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
2535 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
2537 * collect2.c (find_a_file): Add debugging.
2538 (find_a_file): Test for win32 style absolute paths if
2539 DIR_SERPARATOR is defined.
2540 (prefix_from_string): Add debugging.
2541 (main): Test for debug command line switch at start of program
2543 (main): Use GET_ENVIRONMENT rather than getenv().
2544 (prefix_from_env): Use GET_ENVIRONMENT.
2546 1998-03-24 Mark Mitchell <mmitchell@usa.net>
2548 * cplus-dem.c (optable): Add sizeof.
2549 (demangle_template_value_parm): New function containing code
2550 previously found in demangle_template.
2551 (demangle_integral_value): New function which handles complicated
2552 integral expressions.
2553 (demangle_template): Use them.
2555 Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2557 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
2558 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
2559 genattrtab.o, genoutput.o): Depend on system.h.
2561 * genattr.c: Include system.h. Add arguments to various function
2562 prototypes. Remove redundant prototype of read_rtx().
2563 * genattrtab.c: Likewise.
2564 * gencodes.c: Likewise.
2565 * genconfig.c: Likewise.
2566 * genemit.c: Likewise.
2567 * genextract.c: Likewise.
2568 * genflags.c: Likewise.
2569 * genopinit.c: Likewise.
2570 * genoutput.c: Likewise.
2571 * genpeep.c: Likewise.
2572 * genrecog.c: Likewise.
2574 1998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
2576 * c-lang.c (lang_print_xnode): New function.
2577 * objc/objc-act.c (lang_print_xnode): Likewise.
2578 * print-tree.c (print_node): Call it
2580 Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
2582 * c-parse.in: Recognize protocol qualifiers in class
2583 definitions for objc.
2585 (yyerror): Remove redundant decl.
2586 (yyprint): Fix prototype.
2588 Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
2590 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
2592 * stmt.c (unroll_block_trees): Free block_vector if needed.
2594 Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
2596 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
2597 (zero_extendsidi2): Avoid useless copy.
2598 (iordi_zext): New pattern.
2599 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
2601 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
2603 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
2604 (ashldi3): Allow constant shift count in range ]32,63].
2605 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
2607 1998-03-22 Mark Mitchell <mmitchell@usa.net>
2609 * tree.h (IS_EXPR_CODE_CLASS): New macro.
2611 Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
2613 * h8300.h (CONST_COSTS): Remove definition.
2614 (DEFAULT_RTX_COSTS): Define.
2616 Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
2618 * config/sh/rtems.h: Switched from ELF to COFF.
2620 Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2622 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
2624 Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
2626 * version.c: Bump for snapshot.
2628 Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
2629 Geoff Noer <noer@cygnus.com>
2631 * Makefile.in: Various fixes for building cygwin32 native toolchains.
2633 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
2634 * objc/Make-lang.in: Likewise.
2636 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
2638 Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
2640 * configure.in: Handle with-PACKAGE=no correctly
2642 Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2644 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
2645 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
2646 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
2647 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
2648 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
2649 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
2650 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
2651 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
2652 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
2653 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
2656 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
2657 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
2658 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
2659 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
2660 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
2661 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
2662 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
2663 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
2664 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
2665 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
2666 xcoffout.c: Include system.h. Organize include ordering so
2667 that stdarg/varargs comes before other system headers. Remove
2668 spurious casts of functions assured of a prototype in system.h.
2670 Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
2672 * reg-stack.c (pop_stack): Define. Pops any register on the
2673 regstack and adjusts regstack.
2674 (compare_for_stack_reg): Use pop_stack.
2676 Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
2678 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
2681 Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
2683 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
2685 * fold-const.c (fold): Replace sign-extension of a zero extended
2686 value by a single zero extension.
2688 Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
2690 * except.c (init_eh): Do nothing.
2691 (save_eh_status): Call init_eh_for_function, not init_eh.
2692 * function.c (push_function_context_to): Don't call init_emit.
2694 Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
2696 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
2699 Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2701 * final.c (shorten_branches): Add parentheses around +/- in
2704 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
2706 Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
2708 * regclass.c (memory_move_secondary_cost): Wrap uses of
2709 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
2712 Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2714 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
2716 * flow.c (life_analysis): #include <sys/types.h> to make sure
2718 * cplus-dem.c (demangle_function_name): Likewise.
2720 Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
2722 * final.c (insn_noperands): Change type to unsigned int.
2723 (final_scan_insn): Likewise for noperands;
2724 properly check operand number boundaries.
2726 Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
2728 * alpha.md (extzv): Don't reject register operands. Fix
2731 Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
2733 * dbxout.c (dbxout_function_end): Fix last change. The correct
2734 predicate is ASM_OUTPUT_SECTION_NAME.
2736 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2738 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
2739 (ashlsi): Use match_dup 1 instead of match_operand 2.
2741 Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2743 * fold-const.c (operand_equal_for_comparison_p): See if equal
2744 when nop conversions are removed.
2746 Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2748 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
2749 don't use ORIGINAL_TARGET unless REG.
2751 Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2753 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
2755 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2757 * loop.c (struct movable): New field move_insn_first.
2758 (scan_loop): In consec sets code, set it. Clear it otherwise.
2759 (move_movables): In consec sets code, use it. Copy REG_NOTES from
2760 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
2763 Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
2765 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
2766 is large, and the system doesn't provide atoll or atoq.
2769 * alpha/xm-vms.h (HAVE_ATOLL): Define.
2770 Reported by Klaus Kaempf <kkaempf@progis.de>.
2772 Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2774 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
2775 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
2777 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
2778 test !ACCUMULATE_OUTGOING_ARGS.
2780 * collect2.c (write_c_file_glob): Wrap function definition in
2781 macro test !LD_INIT_SWITCH.
2783 * combine.c (try_combine): Wrap variables `cc_use' and
2784 `compare_mode' in macro test EXTRA_CC_MODES.
2786 * cpplib.c (do_ident): Remove unused variable `len'.
2787 (skip_if_group): Remove unused variables `at_beg_of_line' and
2789 (cpp_get_token): Remove unused variable `dummy'.
2791 * dbxout.c (scope_labelno): Move static variable definition inside
2792 the one function scope where it is used.
2793 (dbxout_function_end): Wrap prototype and definition in
2794 macro test !NO_DBX_FUNCTION_END.
2796 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
2797 in macro test !MIPS_DEBUGGING_INFO.
2799 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
2800 into the scope where it is used. Wrap empty else-statement body
2803 * fix-header.c: Fix typo in comment.
2804 (inf_skip_spaces): Cast results of INF_UNGET to (void).
2805 (check_protection, main): Likewise.
2807 * flow.c (find_basic_blocks_1): Remove dangling comment text.
2809 * function.c (contains): Wrap prototype and definition in macro
2810 test HAVE_prologue || HAVE_epilogue.
2811 (fixup_var_refs_1): Remove unused variable `width'.
2813 * gen-protos.c (main): Remove unused variable `optr'.
2815 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
2817 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
2818 (__sjpopnthrow): Remove unused variable `jmpbuf'.
2819 (__throw): Remove unused variable `val'.
2821 * protoize.c: Check for a previously existing definition before
2822 defining *_OK macros.
2824 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
2826 Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2828 * vax.h (ADDR_VEC_ALIGN): Define.
2830 Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
2832 * gcc.c (default_arg): Don't wander off the end of allocated
2835 (From Geoffrey Keating <geoffk@ozemail.com.au>)
2836 * rs6000.c (small_data_operand): Ensure that any address
2837 referenced relative to the small data area is inside the SDA.
2839 Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
2841 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
2843 Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2845 * except.h (in_same_eh_region): New prototype.
2846 (free_insn_eh_region, init_insn_eh_region): New prototypes.
2847 * except.c (insn_eh_region, maximum_uid): New static variables.
2848 (set_insn_eh_region): New static function to set region numbers.
2849 (free_insn_eh_region): New function to free EH region table.
2850 (init_insn_eh_region): New function to initialize EH region table.
2851 (in_same_eh_region): New function used to determine if two rtl
2852 instructions are in the same exception region or not.
2853 * final.c (final): Initialize the table indicating which instructions
2854 belong in which exception region.
2855 * genpeep.c (main): Add "except.h" to include file list in generated
2857 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
2858 peepholes involving calls and unconditional branches.
2860 Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
2862 * README.gnat: New file.
2864 Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2866 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
2867 "recog.h" for offsettable_memref_p.
2868 (legitimize_pic_address): Remove unused variable `offset'.
2869 (notice_update_cc): Change return type to void. Add default label
2871 (standard_68881_constant_p): Remove unused variable mode.
2872 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
2873 (const_int_cost): Explicitly declare as returning int.
2874 (output_dbcc_and_branch): Change return type to void.
2876 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
2877 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
2878 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
2880 Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
2882 * version.c: Bump for snapshot.
2884 Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2886 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
2887 check for 'M' constraint.
2889 Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
2891 * cccp.c (create_definition): If pedantic, call pedwarn for macro
2894 Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2896 * i386.c (ix86_logical_operator): New function.
2897 (split_di): Ensure that when a MEM is split, the resulting MEMs have
2899 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
2902 Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2903 Richard Earnshaw <rearnsha@arm.com>
2904 Nick Clifton <nickc@cygnus.com>
2906 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
2908 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
2910 * cse.c (rtx_cost): Provide a default case in an enumeration
2911 switch, and call DEFAULT_RTX_COSTS if it's defined.
2913 Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
2915 * basic-block.h (compute_preds_succs): Change return type in
2917 * flow.c (compute_preds_succs): Likewise in function definition.
2919 * regmove.c (find_matches): Cast char used as array index to unsigned char
2922 Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
2924 * i386.h (RTX_COSTS): Insert braces around nested if.
2925 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
2928 * gcc.c (default_compilers): Properly put brackets around array elements in
2931 * getopt.c (_getopt_internal): Add explicit braces around nested if;
2934 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
2935 (record_reg_life_pat): Add explicit parens around && and || in expression.
2936 (stack_reg_life_analysis): Add parens around assignment used as expression.
2937 (convert_regs): Likewise.
2939 Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
2941 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
2942 change callers accordingly.
2944 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
2945 and definition; change all callers accordingly.
2947 * except.c (init_eh): Avoid assignment of unused return value of
2948 build_pointer_type; cast it to void, instead, and remove unused
2951 * gcc.c (lang_specific_driver): Define prototype only #ifdef
2952 LANG_SPECIFIC_DRIVER.
2953 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
2955 * genoutput.c (output_epilogue): Initialize next_name to 0.
2957 * real.c (efrexp): #if 0 prototype and function definition.
2958 (eremain): Likewise.
2965 * reload.c (push_secondary_reload): Define prototype only
2966 #ifdef HAVE_SECONDARY_RELOADS.
2968 * varasm.c (assemble_static_space): Define rounded only
2969 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
2971 Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2973 * i386.md (andsi): Add default case in enumeration switch.
2978 Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
2980 * c-decl (finish_struct): Change type of min_align to unsigned.
2982 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
2983 remove unused variable len.
2985 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
2986 comment indicating this is proper behaviour.
2987 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
2989 (based_loc_descr): Likewise.
2991 * enquire.c (bitpattern): Change type of variable i to unsigned.
2993 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
2995 * flow.c (life_analysis): Change type of variable i to size_t;
2996 remove unused variable insn.
2998 * gcc.c (translate_options): Change type of variables optlen, arglen and
3000 (input_filename_length): Change type to size_t.
3001 (do_spec_1): Change type of variable bufsize to size_t.
3002 (main): Change type of variables i and j to size_t;
3003 remove subblock local definition of variable i.
3004 (lookup_compiler): Change type of second argument to size_t;
3005 change type of variable i to size_t.
3007 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
3009 * genopinit.c (get_insn): Change type of variable pindex to size_t.
3011 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
3013 * global.c (global_alloc): Change type of variable i to size_t.
3015 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
3017 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
3018 (expand_end_case): Change type of variable count to size_t.
3020 * toplev.c (main): Change type of variable j to size_t.
3021 (set_target_switch): Change type of variable j to size_t.
3022 (print_switch_values): Change type of variable j to size_t;
3023 remove unused variable flags.
3025 * varasm.c (assemble_variable): Change type of variable align to size_t.
3026 (const_hash_rtx): Change type of variable i to size_t.
3028 1998-03-11 Mark Mitchell <mmitchell@usa.net>
3030 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
3031 TREE_VEC if that's what it really is.
3033 Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
3035 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
3038 Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
3040 * gthr.h: Changed the comment about return values.
3041 * gthr-solaris.h (__gthread_once): Do not use errno; return the
3042 error number instead of -1.
3043 (__gthread_key_create): Any non-zero return value is an error.
3044 * libgcc2.c (eh_context_initialize): Check for non-zero return
3045 value from __gthread_once.
3046 Check that the value of get_eh_context was really changed.
3048 Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3050 * sh.h (LOOP_ALIGN): Only align when optimizing.
3051 * sh.c (find_barrier): Clear inc for CODE_LABELs.
3052 When not optimizing, calculate alignment for BARRIERs directly.
3054 Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3056 * final.c (shorten_branches): Remove conditionalizing on
3057 SHORTEN_WITH_ADJUST_INSN_LENGTH
3058 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
3060 Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
3062 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
3063 an unconditional jump around deleted blocks.
3065 Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
3067 * profile.c (branch_prob): If see computed goto, call fatal instead of
3070 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
3072 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
3073 Patch from Bruno Haible.
3075 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
3076 (assign_parms): Set aggregate if hide_last_arg and last_named.
3078 Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3080 * final.c (shorten_branches): Initialize insn_addresses.
3082 Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3084 * sh.h (MUST_PASS_IN_STACK): Define.
3086 Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
3088 * final.c (shorten_branches): Fix minor logic error in
3089 ADDR_DIFF_VEC shortening support.
3091 Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
3093 * version.c: Bump for snapshot.
3095 Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
3097 * haifa-sched.c (is_cfg_nonregular): Change return type to
3098 an int. No longer compute "estimated" number of edges. Use
3099 computed_jump_p instead of duplicating the code. Fixup/add
3101 (build_control_flow): Returns a value indicating an irregularity
3102 in the cfg was detected. Count the number of edges in the cfg.
3103 allocate various edge tables.
3104 (find_rgns): No longer look for unreachable blocks.
3105 (schedule_insns): Do not allocate memory for edge tables here.
3106 Free memory for edge tables before returning. Do not perform
3107 cross block scheduling if build_control_flow returns nonzero.
3108 * flow.c (compute_preds_succs): More accurately determine when
3111 * basic-block.h (free_basic_block_vargs): Provide prototype.
3113 * cccp.c (main): Fix dumb mistakes in last change.
3115 Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3117 * rtl.h (addr_diff_vec_flags): New typedef.
3118 (union rtunion_def): New member rt_addr_diff_vec_flags.
3119 (ADDR_DIFF_VEC_FLAGS): New macro.
3121 * sh.c (output_branch): Fix offset overflow problems.
3123 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
3124 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
3125 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
3126 * stmt.c (expand_end_case): Supply new arguments to
3127 gen_rtx_ADDR_DIFF_VEC.
3128 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
3129 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
3130 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
3131 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
3132 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
3133 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
3134 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
3135 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
3136 * i386/freebsd.h, i386/linux.h : Likewise.
3137 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
3138 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
3139 * m68k/mot3300.h, m68k/sgs.h : Likewise.
3140 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
3141 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
3142 (CASE_VECTOR_SHORTEN_MODE): Define.
3143 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
3144 (med_branch_p, braf_branch_p): Don't declare.
3145 (mdep_reorg_phase, barrier_align): Declare.
3146 (ADJUST_INSN_LENGTH): Remove alignment handling.
3147 * sh.c (uid_align, uid_align_max): Deleted.
3148 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
3149 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
3150 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
3151 (output_far_jump): Don't use braf_branch_p.
3152 (output_branchy_insn): Don't use branch_offset.
3153 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
3154 Remove paired barrier stuff.
3155 Don't use cache_align_p.
3156 Take alignment insns into account.
3157 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
3159 (barrier_align, branch_dest): New function.
3160 (machine_dependent_reorg, split_branches): Remove infrastructure
3161 for branch shortening that is now provided in the backend.
3162 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
3163 (braf_branch_p, braf_cbranch_p): Likewise.
3164 (attribute length): Use new attributes.
3165 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
3166 (addr_diff_vec_adjust): Delete.
3167 (align_2): Now a define_expand.
3168 (align_log): Now length 0.
3170 Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
3172 * m32r.md (right): Correctly check for length == 2, not 1.
3174 Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3176 * mips/mips.h: Prototype `machine_dependent_reorg'.
3177 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
3179 Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
3181 * final.c (shorten_branches): Restore accidentally removed code.
3183 Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3185 * configure.in: Remove duplicate uses of AC_PROG_CC and
3188 Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
3190 * configure.in (target_cpu_default2): Correct typo for alphapca56.
3192 Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
3193 Doug Evans (devans@cygnus.com)
3195 * haifa-sched.c (build_jmp_edges): Delete dead function.
3196 (build_control_flow): Use cfg routines from flow.c
3197 (schedule_insns): Remove debugging code accidentally checked
3200 * basic-block.h: Add external integer list structures, typdefs,
3201 accessor macros and function declarations. Simlarly for
3202 basic block pred/succ support and simple bitmap stuff.
3203 * flow.c: Add functions for integer list, basic block pred/succ
3204 support and simple bitmap support.
3205 (compute_dominators): New function to compute dominators and
3207 (find_basic_blocks): Split into two functions.
3208 (life_analysis): Likewise.
3209 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
3210 the life_analysis from toplev.c
3211 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
3212 life_analysis instead of flow_analysis.
3214 Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3216 * jump.c (jump_optimize): Call mark_jump_label also for deleted
3218 (mark_jump_label): Don't increment ref counts for deleted insns.
3220 Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3222 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
3224 * mips/mips.c: Include stdlib.h and unistd.h.
3225 (mips_asm_file_end): Add braces around empty body in an if-statement.
3226 (function_prologue): Wrap variable `fnname' in
3227 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
3228 (mips_select_rtx_section, mips_select_section): Declare as void.
3230 * mips/mips.h: Add prototypes for extern functions in mips.c.
3231 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
3232 (ENCODE_SECTION_INFO): Add braces around empty body in an
3235 * mips/mips.md (movdi): Add parentheses around && within ||.
3236 (movsf, movdf): Likewise.
3237 (branch_zero, branch_zero_di): Add default case in
3241 Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
3243 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
3244 real constants, since they can't be changed.
3245 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3246 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
3247 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3248 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3249 * alpha/vms.h (TARGET_OPEN_VMS): New.
3250 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
3252 Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
3254 * reload.c (find_reloads): Always force (subreg (mem)) to be
3255 reloaded if WORD_REGISTER_OPERATIONS.
3257 Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
3259 * haifa-sched.c (free_list): Rename from free_pnd_lst.
3260 (free_pending_lists): Rename free_pnd_lst uses.
3261 (remove_dependence): Place expunged element on unused_insn_list.
3262 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
3263 gen_rtx_*_LIST and alloc_rtx to use them.
3264 (compute_block_backward_dependences): Free the reg_last_* lists.
3266 Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
3268 * cccp.c (main): Avoid undefined behavior when setting pend_includes
3271 Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
3273 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
3274 USE_GNULIBC_1 is defined
3275 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
3276 includes the t-linux-gnulibc1 fragment
3278 Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
3280 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
3282 Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3284 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
3286 Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3288 * final.c (shorten_branches): Tag the loop alignment onto the
3289 first label after NOTE_INSN_LOOP_BEG even if there is an
3292 Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3294 * final.c (insn_current_reference_address):
3295 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
3296 proper alignment chain.
3298 * final.c (max_labelno): New static variable.
3299 (final_scan_insn): Check max_labelno before outputting an
3300 alignment for a label.
3301 (shorten_branches): Remove unused variable length_align.
3303 Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3305 * sparc.c (ultrasparc_adjust_cost): Add default case in
3308 * sparc.h: Add prototypes for extern functions defined in
3311 Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
3313 * toplev.c: Only generate <name>.dbr file when dumping RTL if
3314 DEALY_SLOTS is defined.
3316 Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
3318 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
3319 in call to fill_slots_from_thread.
3321 Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
3323 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
3324 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
3326 Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3328 * final.c (insn_last_address, insn_current_align, uid_align):
3330 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
3331 (insn_current_reference_address): Likewise.
3332 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
3333 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
3334 (label_to_alignment): New function.
3335 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
3336 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
3337 insn_current_reference_address instead of insn_current_address.
3338 (or_attr_value, write_length_unit_log): New functions.
3339 (main): Call write_length_unit_log.
3340 (write_const_num_delay_slots): Output extra '\n'.
3341 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
3343 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
3344 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
3345 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
3347 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
3348 (LABEL_ALIGN_AFTER_BARRIER).
3349 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
3350 * ns32k/tek6000.h: Likewise.
3351 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
3352 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
3353 ASM_OUTPUT_ALIGN_CODE.
3355 Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
3357 * version.c: Bump for snapshot.
3359 Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
3361 * version.c: Bump for snapshot.
3363 Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
3365 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
3366 if condition code of jump conflicts with opposite_needed.
3368 * reorg.c (fill_slots_from_thread): Mark resources referenced in
3369 opposite_needed thread. Return delay_list even when cannot get
3370 any more delay insns from end of subroutine.
3372 Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
3374 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
3375 All callers changed.
3377 Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3379 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
3380 end_fde_sort): New functions for fast sorting of an FDE array.
3381 (fde_insert): Simplified.
3382 (add_fdes): Change argument list.
3383 (frame_init): Use the new functions.
3385 Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
3387 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
3389 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
3391 * fold-const.c (fold_range_test): Always return a value.
3393 Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
3395 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
3396 data in the text section unless READONLY_DATA_SECTION is defined.
3398 Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
3400 * c-parse.in (undeclared variable error): Tweak error message to
3403 Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
3405 * version.c: Bump for snapshot.
3407 1998-02-28 Mark Mitchell <mmitchell@usa.net>
3409 * final.c (final_scan_insn): Undo overzealous removal of `set'.
3411 Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3413 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
3414 case, add parentheses to specify the proper order of precedence in
3418 * c-aux-info.c: Include string.h/strings.h.
3420 * pa.c: Include stdlib.h.
3421 (pa_combine_instructions): Prototype the function.
3422 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
3423 (reloc_needed): Add default case for enumeration switch.
3424 (remove_useless_addtr_insns): Remove unused variable `all'.
3425 (hppa_expand_prologue): Add explicit braces to avoid
3427 (output_function_epilogue): Remove unused variable `i'.
3428 (output_millicode_call): Remove unused variable `link'.
3429 (shadd_constant_p, forward_branch_p): Make the function static.
3430 (following_call): Explicitly declare to return int.
3431 (pa_reorg): Declare as void.
3432 (pa_combine_instructions): Declare as static void. Add
3433 parentheses around && within ||.
3435 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
3436 following_call, function_label_operand, lhs_lshift_cint_operand
3439 * pa.md: Add parentheses around && within ||.
3441 * cppalloc.c: Include stdlib.h.
3443 * cpperror.c (cpp_print_containing_files): Remove unused variable
3444 `i'. Fix format specifier in fprintf.
3446 * cse.c (cse_around_loop): Add explicit braces to avoid
3448 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
3450 * expr.c (expand_expr): Add parentheses around && within ||.
3452 * final.c (app_enable): Replace fprintf with fputs where there are
3453 no format specifiers and no trailing argument after the string.
3454 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
3455 (app_disable): Likewise.
3456 (final_end_function): Likewise.
3457 (final_scan_insn): Likewise. Remove unused variable `set'.
3458 (profile_function): Wrap empty if-statement body in {} brackets.
3460 * function.c: Include stdlib.h.
3461 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
3462 (reposition_prologue_and_epilogue_notes): Add parentheses
3463 around assignment used as truth value.
3465 * integrate.c (expand_inline_function): Wrap variable
3466 `cc0_insn' in macro HAVE_cc0.
3468 * jump.c (jump_optimize): Wrap variable `q' in macro
3469 HAVE_cc0. Remove unused variable `prev1'.
3471 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
3472 within ||. Fix format specifier in fprintf.
3473 (__bb_init_prg): Add parentheses around assignment used as
3476 * local-alloc.c: Include stdlib.h.
3477 (requires_inout): Add parentheses around assignment used
3480 * loop.c (analyze_loop_iterations): Wrap prototype and definition
3481 in macro HAVE_decrement_and_branch_on_count.
3482 (insert_bct, instrument_loop_bct): Likewise.
3483 (move_movables): Add parentheses around assignment used as
3485 (consec_sets_invariant_p): Likewise.
3486 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
3488 * objc/objc-act.c: Include stdlib.h.
3489 (lookup_method_in_protocol_list): Wrap empty else-statement body
3491 (lookup_protocol_in_reflist): Likewise.
3492 (objc_add_static_instance): Remove unused variables `decl_expr'
3494 (get_objc_string_decl): Remove unused variable `decl'.
3495 (generate_static_references): Remove unused variables `idecl' and
3497 (check_protocols): Wrap empty else-statement body in braces.
3499 * protoize.c: Include stdlib.h.
3500 (substr): Add parentheses around assignment used as truth value.
3501 (abspath): Likewise.
3502 (shortpath): Likewise.
3504 * regmove.c (fixup_match_1): Add parentheses around assignment
3505 used as truth value.
3507 * reload.c (push_secondary_reload): Remove unused variable `i'.
3508 (find_reloads): Add parentheses around assignment used as truth
3511 * reload1.c: Include stdlib.h.
3513 * rtl.h: Correct typo in prototype of offsettable_memref_p.
3515 * stmt.c (add_case_node): Add parentheses around assignment used
3517 (case_tree2list): Likewise.
3519 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
3520 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
3521 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
3522 (merge_attributes): Add explicit braces to avoid ambiguous
3525 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
3528 * varasm.c: Include stdlib.h.
3531 * system.h: Remove sys/stat.h.
3532 * gcc.c: Add sys/stat.h.
3534 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
3535 * genattrtab.c: Likewise.
3536 * genconfig.c: Likewise.
3537 * genemit.c: Likewise.
3538 * genextract.c: Likewise.
3539 * genflags.c: Likewise.
3540 * genopinit.c: Likewise.
3541 * genoutput.c: Likewise.
3542 * genpeep.c: Likewise.
3543 * genrecog.c: Likewise.
3544 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
3546 Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3548 * invoke.texi: Use @itemx for a secondary item in a @table.
3550 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
3553 Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
3555 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3557 Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
3559 * i386.c (struct machine_function): Add new fields for PIC stuff.
3560 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
3562 (restore_386_machine_status): Corresponding changes.
3563 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
3565 Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
3567 * c-parse.y (undeclared variable error): Tweak error message
3570 Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
3572 * flags.h (g_switch_value, g_switch_set): Declare.
3573 * alpha.c (override_options): Set g_switch_value=8 if not set.
3574 * alpha/elf.h (CC1_SPEC): New.
3576 (LINK_SPEC): Pass along the -G value we were given.
3577 (LOCAL_ASM_OP): Remove.
3578 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
3579 (MAX_OFILE_ALIGNMENT): New.
3580 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
3581 (EXTRA_SECTIONS): Add sbss and sdata.
3582 (SECTION_FUNCTION_TEMPLATE): New.
3583 (EXTRA_SECTION_FUNCTIONS): Use it.
3584 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
3585 (SELECT_SECTION): Use sdata when small enough.
3586 * alpha/linux.h (ASM_SPEC): Remove.
3589 Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3590 * config.sub (sco5): Fix typo.
3592 Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
3594 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
3596 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
3597 * config/alpha/t-linux: Remove file.
3598 * config/sparc/t-linux: Remove file.
3599 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
3600 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
3601 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
3603 (alpha*-*-linux-gnu*): Likewise.
3604 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
3605 (sparc-*-linux-gnu*): Likewise.
3607 Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
3608 * collect2.c (ldd_file_name): Bracket declaration with same
3610 (full_real_ld_suffix): Deleted. Variable was calloced and
3611 written into, but never read.
3613 1998-02-23 Mike Stump <mrs@wrs.com>
3615 * configure.in: Add support for i386-wrs-vxworks configuration.
3616 * i386/vxi386.h: New file.
3618 Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3620 * tree.c (contains_placeholder_p): Ensure function always returns
3622 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
3623 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
3625 Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
3627 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
3629 1998-02-22 Paul Eggert <eggert@twinsun.com>
3631 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
3632 Define this new symbol.
3633 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
3634 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
3635 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
3637 Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
3639 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
3640 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
3642 Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
3644 * objc/Object.m (-error): Call objc_verror with our va_list.
3646 Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3648 * collect2.c (scan_prog_file): Completely cover uses of variable
3649 `exports' with macro COLLECT_EXPORT_LIST.
3651 Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
3653 * version.c: Bump for snapshot.
3655 Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
3657 * sched.c (schedule_block): Remove code to get arguments from hard
3658 regs into pseudos early. Same as Aug 25, 1997 change to
3661 1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
3663 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
3665 1998-02-16 Mark Mitchell <mmitchell@usa.net>
3667 * toplev.c (rest_of_compilation): Do not defer the output of a
3670 Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
3672 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
3673 continuation character (line 243).
3675 Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3677 * genrecog.c (main): Remove duplicated sentence in emitted comment.
3679 Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
3680 David Edelsohn <edelsohn@mhpcc.edu>
3682 * collect2.c (XCOFF_SCAN_LIBS): Remove.
3683 (export_flag): New variable.
3684 (export_file): #ifdef COLLECT_EXPORT_LIST.
3685 (import_file, exports, imports, undefined): New variables.
3686 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
3687 (dump_list, dump_prefix_list, is_in_list): New functions.
3688 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
3689 (write_import_file, resolve_lib_name): New functions.
3690 (use_import_list, ignore_library): Same.
3691 (collect_exit): maybe_unlink import_file and #ifdef.
3693 (main): New variable importf, #ifdef exportf. Move parsing of
3694 -shared before general argument parsing. Resolve AIX library
3695 paths and import libgcc.a symbols. Treat .so shared libraries the
3696 same as objects and .a libraries. Create alias for object_lst and
3697 increment it instead of original pointer. Scan AIX libraries as
3698 objects earlier instead of using scan_libraries. Perform AIX
3699 tlink later to resolve templates instead of forking ld.
3700 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
3701 (GCC_UNDEF_SYMBOL): New macro.
3702 (scan_prog_file): Loop for members of AIX libraries. Handle
3703 export/import of ctors/dtors.
3704 (aix_std_libs): New variable.
3705 (scan_libraries, XCOFF): Delete.
3707 Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
3709 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
3711 1998-02-19 Mike Stump <mrs@wrs.com>
3713 * Makefile.in: Use $tooldir for sys-include to match toplevel
3716 Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
3717 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3719 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
3721 * emit-rtl.c (hard-reg-set.h): Include.
3722 (get_lowpart_common): Don't make new REG for hard reg in a
3723 class that cannot change size.
3724 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
3726 * combine.c: Revert previous patch.
3728 1998-02-19 Paul Eggert <eggert@twinsun.com>
3730 * config/sparc/sol2-sld.h: New file.
3731 * configure.in (sparc-*-solaris2*): Use it when using the
3734 Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
3736 * loop.c (force_movables): Fix typo.
3738 Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
3740 * m88k.h: Change file pattern to match reality.
3742 Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
3744 * varasm.c (output_constant_pool): Fix dumb thinko in last
3747 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
3748 a function name to a section name.
3750 1998-02-18 Doug Evans <devans@cygnus.com>
3752 * tree.h (merge_machine_{type,decl}_attributes): Declare.
3753 (split_specs_attrs, strip_attrs): Add prototypes.
3754 * tree.c (merge_machine_{type,decl}_attributes): New functions.
3755 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
3756 Update olddecl's attributes too.
3757 * c-common.c (strip_attrs): New function.
3758 * c-typeck.c (common_type): Call merge_machine_type_attributes.
3759 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
3760 (make_decl_rtl): Likewise.
3762 1998-02-18 Jim Wilson <wilson@cygnus.com>
3764 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
3766 Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
3768 Remove this change until we can fix it correctly.
3769 * collect2.c: Bracket declaration of 'exportf' and
3770 'full_real_ld_suffix'.
3772 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3774 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
3776 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3778 * c-common.c (c_expand_start_cond, c_expand_end_cond,
3779 c_expand_start_else): Don't warn about non-ambiguous else even if
3782 Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
3784 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3785 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
3788 Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
3790 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
3791 simplifying a subreg of a hard reg.
3792 (expand_compound_operation): Likewise.
3793 (force_to_mode): Likewise.
3795 Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3797 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
3798 (lshift_double): Add parentheses around + or - inside shift.
3799 (rshift_double): Likewise.
3800 (size_int_wide): Explicitly set type of `bit_p' to `int'.
3802 * Makefile.in (fold-const.o): Depend on system.h.
3804 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
3807 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
3808 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
3809 (sched_note_set): Remove unused parameter `b', all callers changed.
3810 (schedule_block): Likewise for `rgn'.
3811 (split_hard_reg_notes): Likewise for `orig_insn'.
3812 (check_live): Likewise for `trg'.
3813 (update_live): Likewise.
3814 (check_live_1): Explcitly declare variable `i' as int.
3815 (update_live_1): Likewise.
3816 (insn_issue_delay): Remove unused variable `link'.
3817 (sched_analyze_2): Add default case in enumeration switch.
3818 (schedule_insns): Remove unused variable `i'.
3820 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
3822 Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
3824 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
3825 a dangling else clause.
3827 Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
3829 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
3830 pointer for the stack pointer in MIPS16 and 64BIT.
3832 Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3834 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
3835 * emit-rtl.c (force_line_numbers, restore_line_number_status):
3837 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
3838 (expand_start_case): Adjust to this change.
3839 (check_seenlabel): New function.
3840 (pushcase, pushcase_range, expand_endcase): Use it.
3842 Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3844 * i386.md (adddi3): Add =!r,0,0,X alternative.
3846 Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
3848 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
3849 * x-aix31 (INSTALL): Delete.
3851 Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
3853 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
3854 tsize changes to something other than zero.
3856 Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
3858 * ginclude/va-mips.h: Replace casts of pointers to int with
3859 casts of pointers to __PTRDIFF_TYPE__.
3861 Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
3863 * loop.c (strength_reduce, record_biv, record_giv): Use
3864 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
3866 1998-02-16 Jason Merrill <jason@yorick.cygnus.com>
3868 * tree.c (first_rtl_op): New fn.
3869 (unsave_expr_now): Use it.
3870 * print-tree.c (print_node): Likewise.
3871 * tree.c (has_cleanups): New fn.
3872 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
3873 conservative about pushing the cleanup point down.
3874 * tree.h: Declare them.
3876 Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
3878 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
3879 (flag_schedule_reverse_after_reload): Likewise.
3880 (f_options): Remove reverse scheduling support.
3881 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
3882 (flag_schedule_reverse_after_reload): Likewise.
3883 * haifa-sched.c (rank_for_schedule): Remove support for reverse
3886 Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3888 * gcc.c: Get system includes, prototypes and macros via "system.h"
3889 instead of doing it manually. Change all calls of the ctype
3890 macros to custom versions defined in "system.h".
3892 * system.h: Fix return type of bcmp prototype from `void' to `int'.
3893 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
3894 Add a prototype for getenv.
3896 Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
3898 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
3900 Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
3902 * alias.c: Include <stdlib.h> and <string.h>.
3903 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
3905 Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
3907 * version.c: Bump for snapshot.
3909 Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
3911 * arm.md (movsfcc): Also validate operands[3] when compiling hard
3913 (movdfcc): Only accept fpu_add_operand for operands[3].
3915 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
3916 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
3918 Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
3920 * varasm.c (output_constant_pool): Bring back 'done' label inside
3921 an appropriate #ifdef.
3923 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
3925 (bitmap_copy, bitmap_operation): Likewise.
3926 * combine.c (combinable_i3pat): Similarly for 'src'.
3927 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
3928 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
3929 * regclass.c (copy_cost): Similarly for 'secondary_class'.
3930 * reload.c (make_memloc): Simliarly for 'i'.
3931 (find_reloads_address_1): Similarly for 'link'.
3932 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
3933 (emit_reload_insns): Similarly for 'second_reloadreg'.
3934 * unroll.c (iteration_info): Similarly for 'v'.
3936 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
3937 * calls.c (expand_call): Similarly for 'i'.
3938 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
3939 * fold-const.c (strip_compund_expr): Similarly for 'type'.
3940 * function.c (fixup_var_refs_1): Similarly for 'width'.
3941 (fixup_memory_subreg): Similarly for 'saved'.
3942 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
3943 (setjmp_protect): Similarly for 'sub'.
3944 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
3945 * loop.c (record_giv): Similarly for 'p'.
3946 (combine_givs): Similarly for 'temp_iv'.
3947 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
3948 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
3949 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
3950 * unroll.c (unroll_loop): Similarly for 'copy'.
3951 (iteration_info): Similarly for 'b'.
3952 * varasm.c (assemble_string): Similarly for 'i'.
3953 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
3955 1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
3957 * c-lang.c (lang_print_xnode): New function.
3958 * objc/objc-act.c (lang_print_xnode): Likewise.
3959 * print-tree.c (print_node): Call it
3961 Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
3963 * dwarf2out.c (decl_scope_node): New type.
3964 (decl_scope_table): Change type to use it.
3965 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
3966 (push_decl_scope): Use new type. New locals containing_scope, i.
3967 Add code to handle setting previous field.
3968 (scope_die_for): Change type of local i to int. Add code to use
3970 (dwarf2out_init): Use new type.
3972 1998-02-13 Jason Merrill <jason@yorick.cygnus.com>
3974 * except.c (emit_throw): Lose throw_used.
3976 Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3978 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
3980 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
3982 Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
3984 * genextract.c (main): Fix typo.
3986 Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
3988 * c-lang.c (finish_file): Bracket declaration of static_ctors,
3991 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
3992 'old_stack_arg_under_construction'
3993 (emit_library_call): Bracket declaration of 'upper_bound',
3994 'lower_bound', 'i', 'reg_parm_stack_space'
3995 (emit_library_call_value): Likewise.
3998 * collect2.c: include <unistd.h> when appropriate.
3999 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
4001 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
4003 * explow.c (plus_constant_for_output_wide): Remove unused variable
4005 (memory_address): Remove unused variable 'orig_x'.
4007 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
4008 (write_const_num_delay_slots): Remove unused variable 'i'.
4010 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
4011 (gen_insn): Remove unused variable 'obstack_ptr'.
4013 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
4015 (__bb_exit_trace_func): Remove unused variable 'e'.
4017 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
4019 (expand_unop): Remove unused variable 'funexp'.
4020 (expand_complex_abs): Remove unused variable 'funexp'.
4021 (init_optabs): Bracket declaration of 'j'.
4022 (init_complex_libfuncs): Deleted. Dead static function.
4024 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
4026 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
4027 (reg_to_stack): 'initialized', 'before_function_beg'
4028 explictly type as ints instead of defaulting.
4029 (emit_swap_insn): Remove unused variable 'i2'.
4030 (compare_for_stack_reg): Remove unused variable 'src_note'.
4032 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
4034 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
4036 * stmt.c (add_case_node): Add parens for assignment used as truth.
4037 (all_cases_count): Remove unused variable 'count_high'.
4038 (mark_seen_cases): Remove unused variable 'i'.
4039 (check_for_full_enumeration_handling): Remove unused variable 't'.
4040 Bracket declaration of 'all_values', 'l'.
4042 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
4044 * varasm.c (assemble_string): Remove unused variable 'i'.
4045 (immed_double_const): Remove unused variable 'in_current_obstack'.
4046 (immed_real_const_1): Likewise.
4047 (output_constant_pool): Remove unreferenced label 'done'.
4048 (output_constant): Remove unused variable 'x'.
4050 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
4053 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
4056 Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4058 * combine.c (can_combine_p): Handle USEs in PARALLELs.
4060 Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
4062 * config/linux.h (LIB_SPEC): Add -lc for -shared if
4063 USE_GNULIBC_1 is not defined.
4064 * config/sparc/linux.h; Ditto.
4066 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
4068 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
4069 USE_GNULIBC_1 is not defined.
4071 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4073 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
4076 Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4078 * system.h: New file to get common systems includes and various
4079 definitions and declarations based on autoconf macros.
4081 Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
4083 * cccp.c (new_include_prefix): Correctly handle -I./.
4085 Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
4087 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
4089 Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
4091 * expr.c (expand_assignment): Correct typo exposed by -Wall.
4092 offset should have been a truth value, not an assignment.
4094 Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
4096 * cse.c (delete_dead_from_cse): If a libcall produces a constant
4097 result and that result can be substituted into SET_SRC of the
4098 insn with the REG_RETVAL note, then perform the substitution
4099 and delete the libcall.
4101 Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
4103 * mips.md (trucndihi2,truncdiqi2): Change these to support
4106 Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
4108 * mips/mips.c (movdi_operand): Direct referances to symbols
4109 that arn't mips16 consts in mips16 mode arn't valid operands.
4111 * mips/mips.c (mips_move_2words): Add gprel handling.
4113 Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
4115 * mips.md (extendsidi2): Allow extension to/from a non-mips16
4118 Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
4120 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
4123 Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4125 * Makefile.in (WARN_CFLAGS): New variable.
4126 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
4128 1998-02-11 Mark Mitchell <mmitchell@usa.net>
4130 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
4131 falling through default case in switch.
4132 (i386_aligned_p): Likewise.
4134 Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
4136 * mips/mips.h (mips_abi_string): Correct typo in comment.
4138 Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
4140 * mips/mips.md (movdi): These PLUS's need to be Pmode.
4142 Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4144 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
4145 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
4146 indirectly via expr.h.
4148 Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
4150 * stor-layout.c (layout_type): Do upper - lower in the native type,
4151 so as to properly handle negative indices.
4153 Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
4155 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
4156 (expand_eh_region_start_tree): Remove unused variable 'note'.
4157 (exception_optimize): Remove unused variable 'regions'.
4158 (expand_builtin_eh_stub): Remove unused variable 'temp'.
4159 (copy_eh_entry): Deleted. Dead function.
4161 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
4162 'last' with same #if HAVE_load_multiple as use of it.
4163 (move_block_from_reg): Likewise.
4164 (emit_move_insn_1): Remove unused variable 'insns'.
4165 (store_constructor): Bracket declaration of startb, endb with
4166 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
4167 'target', and 'xtarget'.
4168 (expand_builtin_setjmp): Remove unused variables 'op0',
4169 'next_arg_reg', 'old_inhibit_defer_pop'.
4170 (expand_builtin): Remove unused variable 'offset'.
4171 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
4172 (emit_queue): Add parens for assignment used as conditional.
4173 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
4175 Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
4177 * i386.c: Added include for recog.h.
4178 (override_options): Removed unused variable p. Initialized regno to
4180 (order_regs_for_local_alloc): Initialized regno to avoid warning.
4181 (legitimize_address): Likewise for 'other'.
4182 (i386_aligned_reg_p): Added default case with abort ().
4183 (print_operand): Likewise.
4184 (reg_mentioned_in_mem): Likewise.
4185 (ix86_expand_binary_operator): Removed unused variables i & insn.
4186 (ix86_expand_unary_operator): Removed unused variable insn.
4187 (output_fp_cc0_set): Removed unused variable unordered_label.
4189 Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
4191 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
4192 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
4193 and format string match.
4195 Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
4197 * flow.c (life_analysis): Do not conside the stack pointer live at
4198 the end of a function if the fucntio ncalls alloca.
4199 (mark_used_regs): Similarly.
4201 1998-02-10 John F Carr <jfc@mit.edu>
4203 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
4204 1, fzero on alternative 8.
4206 Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4208 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
4210 Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4212 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
4213 SUBREGs of CONST_INTs.
4215 Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
4217 * mips.c (print_operand, function_prologue): Make printf format
4218 match argument type.
4220 Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4222 * alpha.c (alpha_return_addr): Remove unused variable `first'.
4223 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
4224 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
4226 Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4228 * loop.c (strength_reduce): When placing increment for auto-inc
4229 case, do comparison in loop order.
4231 Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
4233 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
4234 not a HOST_WIDE_INT.
4236 * calls.c (expand_call): Change test of expand_inline_function
4237 return value to stop compiler warning.
4239 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
4241 Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
4242 Jeff Law (law@cygnus.com)
4244 * regmove.c: Fix various minor formatting problems.
4245 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
4246 is true. Make end of basic block tests consistent through regmove.c.
4247 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
4248 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
4250 Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4252 * gansidecl.h: Check for a conflicting macro definition before
4253 attempting to prototype bcopy, bcmp or bzero.
4255 Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
4257 * expr.c (clear_pending_stack_adjust): Handle case where a function
4258 calls alloca, but the user has specified -fomit-fframe-pointer.
4260 * function.c (assign_parms): Fix typo in last change.
4262 Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
4264 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
4266 (free_path_suffix): Remove unreferenced static function.
4267 (process_command): Remove unused variable temp.
4268 (default_arg): Remove unused variable i.
4269 (do_spec_1): Add parens for assignment used as truth value.
4271 (validate_all_switches): Likewise.
4272 (main): Remove unused variables i, first_time>
4274 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
4276 * calls.c (expand_call): Remove unused variables funtree,
4277 n_regs, and tmpmode.
4279 * dbxout.c, except.c: Include <string.h>/<strings.h>.
4281 * explow.c: (plus_constant_for_output_wide) Removed unused
4282 variable all_constant.
4284 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
4285 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
4286 genrecog.c, global.c, integrate.c , stupid.c : Include
4289 * genextract.c: (walk_rtx) Remove unused variable link.
4291 * genrecog.c: (concat) Remove unreferenced static function.
4293 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
4295 * stmt.c: Include <stdlib.h>.
4296 (expand_asm_operands): Remove unused variable val1.
4297 (expand_return): Remove unused variable block.
4298 (pushcase): Remove unused variables l and n.
4299 (pushcaserange): Likewise.
4301 * unroll.c (unroll_loop): Remove unused variable temp.
4303 Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
4305 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
4307 Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4309 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
4310 functions for whether they support the %p format specifier.
4311 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
4312 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
4313 * configure, config.in: Rebuild.
4315 Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
4317 * function.c (assign_parms): New variable named_arg, with value
4318 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
4320 Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
4322 * mips/t-r3900: New - same as t-ecoff but eliminate
4323 multilibs: mips1 and mips3.
4324 * configure.in (tx39*): Use new mips/t-r3900.
4325 * configure: Rebuild.
4326 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
4328 1998-02-06 Jason Merrill <jason@yorick.cygnus.com>
4330 * dwarf2out.c: Add old_args_size.
4331 (dwarf2out_args_size): Use it.
4332 (dwarf2out_begin_prologue): Initialize it.
4333 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
4334 pushed args until we see a call.
4335 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
4336 before outputting them.
4338 1998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
4340 * cplus-dem.c (demangle_template_template_parm): New function.
4341 (demangle_template): Handle template template parameters.
4343 1998-02-02 Mark Mitchell <mmitchell@usa.net>
4345 * calls.c (expand_call): Don't confuse member functions named
4346 realloc, setjmp, and so forth with the standard library
4347 functions of the same names.
4349 Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
4351 * stmt.c (expand_asm_operands): Correctly identify asm statements
4354 Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
4356 * c-common.c (decl_attributes): Flag unrecognized attribute
4357 functions as warnings instead of as errors.
4359 1998-02-05 Marc Lehmann <pcg@goof.com>
4361 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
4362 when -Os is specified.
4363 * toplev.c (main): Don't disable flag_inline_functions anymore when
4366 Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4368 * regmove.c: Update.
4369 * flags.h (flag_regmove): Declare.
4370 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
4371 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
4372 Moved into regmove; changed caller.
4373 * toplev.c (rest_of_compilation): Call regmove_optimize also for
4374 expensive_optimizations.
4376 Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
4378 * version.c: Bump for snapshot.
4380 Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4381 Undo this change (the problem was actually in reload):
4382 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4384 * sh.md (movqi_i+1): New peephole.
4386 Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
4388 * jump.c (jump_optimize): Lose calls to modified_in_p they are
4389 not needed anymore due to changes elsewhere in jump.c.
4391 * jump.c (jump_optimize): Fix first arg to modified_in_p in
4394 Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
4396 * expr.c (expand_builtin_setjmp): Accept two new arguments for
4397 the labels to branch to on first and subsequent executions. Don't
4398 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
4399 and provide it with the jmp_buf. Use only one of
4400 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
4401 and provide the former with the target label.
4402 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
4403 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
4404 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
4405 insn to replace all of the normal nonlocal_goto code. Don't play
4406 with __dummy. Correct arguments to nonlocal_goto.
4407 * expr.h (expand_builtin_setjmp): Update prototype.
4408 * except.c (start_dynamic_handler): When using builtin_setjmp,
4409 generate more accurate flow information.
4411 * alpha.md (nonlocal_goto_receiver_osf): Delete.
4412 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
4413 (builtin_longjmp, builtin_setjmp_receiver): New.
4414 * sparc.md (update_return): Disambiguate unspec number.
4415 (nonlocal_goto): Rearrange arguments to match caller in except.c.
4416 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
4418 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
4419 (builtin_setjmp_setup*, builtin_longjmp): New.
4421 Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
4423 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
4425 Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
4427 * vmsconfig.com: Remove bytecode references.
4429 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4431 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
4432 -fno-sjlj-exceptions works for a target that defines
4433 DWARF2_UNWIND_INFO as zero.
4435 * regmove.c (fixup_match_1): Undo last change which removed some
4436 "useless" code, and add a comment explaining this.
4438 Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
4440 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
4443 Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
4445 * makefile.vms: Remove bytecode references.
4446 Create genrtl files.
4448 Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
4450 * jump.c (jump_optimize): Allow conditional loading of floating point
4451 constants and constants from memory. Reinstalled modified_in_p tests.
4453 Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4455 * loop.c (get_condition): Handle sign-extended constants.
4457 Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
4459 * expr.c (emit_push_insn): Add code to use movstrti if present.
4461 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
4462 and movstrqi as in emit_block_move ().
4464 Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
4466 * config/m68k/x-next: Remove /NextDeveloper/Headers from
4467 the directories to fixinclude - /usr/include is a link
4468 to it and hence its contents are fixed by default.
4470 Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4472 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
4474 Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
4476 * cccp.c (main): Predefine __VMS_VER on VMS.
4478 Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4480 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
4481 * fold-const.c (size_int): Replace with
4483 (make_bit_field_ref): Use bitsize_int for bit position.
4484 * stor-layout.c (sizetype): Delete.
4485 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
4486 (layout_record, layout_union, layout_type):
4487 Use bitsize_int for bit size.
4488 (set_sizetype): New function.
4489 (make_signed_type, make_unsigned_type): Use it.
4490 * c-decl.c (init_decl_processing): Likewise.
4491 * tree.h (size_int): Don't delcare, #define.
4492 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
4493 (set_sizetype): Declare.
4494 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
4496 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
4497 Convert result to sizetype.
4498 (really_start_incremental_init, push_init_level):
4499 Set type of constructor_bit_index to sbitsizetype.
4500 (push_init_level): Use unsigned arithmetic to determine padding.
4501 (output_init_element): Likewise.
4503 Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
4505 * combine.c (simplify_shift_const): Fix typo in last change.
4507 Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
4509 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
4510 is (truncate (lshiftrt)).
4512 Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
4514 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
4515 Make sure result winds up in TGT.
4516 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
4517 src to be other than DImode.
4518 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
4519 (alpha_expand_unaligned_store_words): Likewise.
4520 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
4521 that source and destination are separately optimized for alignment.
4522 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
4524 Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
4526 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
4527 with handling of -32768.
4529 Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4531 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
4532 shell variable argument instead of only hard coded functions.
4533 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
4535 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
4536 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
4537 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
4538 declarations for bcopy, bcmp and bzero.
4540 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
4542 * gansidecl.h: If we have bcopy but don't declare it, then do so.
4543 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
4544 bzero, index and rindex if they aren't already present.
4546 Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
4548 * toplev.c (close_dump_file): Wrap function prototype for
4549 argument "func" in PROTO.
4550 (dump_rtl): Likewise.
4552 Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
4554 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
4556 (output_function_epilogue): Omit epilogue if nothing drops through.
4557 (output_move_double): Supress int ldd usage on ultrasparc and v9.
4558 (registers_ok_for_ldd_peep): Likewise.
4559 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
4560 (ultrasparc_adjust_cost): New function.
4561 (sparc_issue_rate): New function.
4562 * sparc.h (MASK_VIS, TARGET_VIS): New
4563 (MASK_V8PLUS, TARGET_V8PLUS): New.
4564 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
4565 (TARGET_SWITCHES): Add vis and v8plus.
4566 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
4567 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
4568 (RTX_COSTS): Use TARGET_HARD_MUL
4569 (ADJUST_COST): Call ultrasparc_adjust_cost.
4571 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
4572 of load & fp appropritely.
4573 (supersparc function units): Adjust for Haifa.
4574 (ultrasparc function units): Likewise.
4575 (get_pc_via_rdpc): All v9, not just arch64.
4576 (movdi_v8plus, movdi_v8plus+1): New.
4577 (adddi3_sp32+1): New.
4578 (subdi3_sp32+1): New.
4579 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
4580 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
4581 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
4582 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
4583 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
4584 (ldd peepholes): Suppress for v9.
4585 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
4586 (return_subsi): Revmove.
4588 Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
4590 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
4591 save/restore MEM rtl.
4593 Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
4595 * configure.in: Check for declaration of abort.
4596 * acconfig.h: Corresponding changes.
4597 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
4600 Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
4602 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
4605 Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
4607 * version.c: Bump for snapshot.
4609 Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
4611 * configure.in: Check for atoq and atoll.
4612 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
4613 proper routine for converting ascii into long long values.
4615 Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
4617 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
4619 * vmsconfig.com: Remove bytecode references.
4621 * alpha/vms.h (PREFIX): Define.
4623 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
4625 * am-alpha.h: Don't include alloca for OPEN_VMS.
4627 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
4629 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
4630 (GCC_INCLUDE_DIR): Define
4632 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
4633 * makefile.vms: New file.
4635 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
4637 * alpha.c (output_prolog): Output '.name' directive
4638 for minimal traceback information.
4640 * alpha.c (output_prolog): Don't prepend entry point symbols
4641 with '$' on OPEN_VMS.
4643 Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
4644 Jeffrey A Law (law@cygnus.com)
4646 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
4649 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
4651 * genemit.c (gen_exp): Likewise.
4652 * genpeep.c (match_rtx): Likewise.
4653 * genrecog.c (write_tree_1): Likewise.
4655 * c-lex.c (yyprint): Use proper format string based upon
4656 disposition of HOST_BITS_PER_WIDE_INT.
4657 (yylex): Put casts in right place for args to build_int_2.
4659 Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
4661 * combine.c: Fix typos in Jan27 changes.
4663 Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
4665 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
4666 (LINK_SPEC): Likewise.
4667 (STARTFILE_SPEC): Likewise.
4669 1998-01-28 Mike Stump <mrs@wrs.com>
4671 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
4673 * genattrtab.c (reload_completed): Define.
4675 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
4678 Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4680 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
4681 SUBREG_REG if the word count is unchanged, also in the input reload
4682 case. Disable non-applicable sanity checks.
4684 Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
4686 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
4688 Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
4690 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
4692 Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
4694 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
4695 is a TREE_VEC before trying to use it for baseclasses.
4696 (Chill uses the same field for a different purpose.)
4698 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
4700 Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
4702 * config.sub: More accurate determination of HP processor types.
4704 Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4706 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
4707 prototype for `handle_sysv_pragma', and make it static. Add
4708 parentheses around assignment used as truth value.
4710 * combine.c (combine_instructions): Protect variable `prev' with
4712 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
4713 (extract_left_shift): Add parentheses around operand of &.
4714 (merge_outer_ops): Avoid an empty body in an else-statement.
4715 (gen_rtx_combine): Remove unused variable `i'.
4717 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
4718 function monstartup `void'. Likewise for internal_mcount. Add
4719 `static void' prototype for moncontrol. Reconcile sprintf format
4722 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
4723 Make return type of function_arg_slotno explicitly `int'.
4724 (reg_unused_after): Add parentheses around assignment used as
4726 (save_regs): Add explicit braces to avoid ambiguous `else'.
4727 (function_arg_slotno): Add parentheses around && within ||.
4728 (function_arg_pass_by_reference): Likewise.
4729 (sparc_flat_output_function_prologue): Reconcile fprintf format
4732 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
4733 assignment used as truth value.
4735 * cplus-dem.c: Include <stdlib.h>.
4736 (demangle_signature): Avoid an empty body in an else-statement.
4737 (do_type): Remove unused variable `lvl'.
4739 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
4740 Include <string.h>/<strings.h>.
4741 (cpp_lex): Remove unused variable `namelen'.
4742 (cpp_lex): Explicitly declare `num_chars' as an int.
4744 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
4745 <unistd.h> instead. Explicitly declare is_system_include
4747 (make_assertion): Remove unused variable `kt'.
4748 (cpp_expand_to_buffer): Hide variable `obuf'.
4749 (output_line_command): Remove unused variables, `line_end',
4750 `line_cmd_buf' and `len'.
4751 (macarg): Remove unused variable `arg_start'.
4752 (special_symbol): Remove unused variable `i'. Add parentheses
4753 around assignment used as truth value.
4754 (do_include): Remove unused variables `pcfname' and `retried',
4755 hide `pcf' and `pcfbuflimit'.
4756 (do_line): Remove unused variable `i'.
4757 (finclude): Hide variable `missing_newline'.
4758 (cpp_handle_options): Remove unused variable `j'.
4759 (read_token_list): Remove unused variable `eofp'.
4760 (cpp_error_with_line): Remove unused variable `i'.
4761 (cpp_warning_with_line): Likewise.
4762 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
4763 (cpp_error_from_errno): Remove unused variable `i'.
4765 * cse.c (invalidate): Add parentheses around assignment used as
4767 (find_best_addr): Move declaration of variable `our_cost' inside
4768 the conditional macro where its used.
4769 (fold_rtx): Avoid an empty body in an if-statement.
4770 (cse_insn): Wrap variables `this_insn_cc0_mode' and
4771 `this_insn_cc0' in macro HAVE_cc0.
4773 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
4774 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
4775 (output_uleb128): Likewise.
4776 (output_sleb128): Likewise.
4777 (output_cfi): Likewise.
4778 (output_call_frame_info): Remove unused variables `j', `fde_size'
4780 (comp_unit_has_inlines): Hide declaration as per rest of file.
4781 (size_of_line_prolog): Correct typo in prototype.
4782 (add_arange): Likewise.
4783 (output_aranges): Likewise.
4784 (add_name_and_src_coords_attributes): Likewise.
4785 (gen_array_type_die): Likewise.
4786 (gen_inlined_subroutine_die): Likewise.
4787 (equate_decl_number_to_die): Remove unused variable `i'.
4788 (print_die): Reconcile format vs. args in fprintf's.
4789 (print_dwarf_line_table): Likewise.
4790 (output_die): Likewise.
4791 (output_line_info): Likewise.
4792 (add_subscript_info): Avoid an empty body in an else-statement.
4793 (gen_subprogram_die): Remove unused variable `fp_loc'.
4795 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
4796 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
4797 macro. Protect `src_coords_attribute' prototype with
4798 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
4799 prototype as in the rest of the file. Likewise for
4800 `output_pointer_type_die' and `output_reference_type_die'. Remove
4801 prototype for `type_of_for_scope'.
4802 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
4803 (type_attribute): Add explicit braces to avoid ambiguous `else'.
4805 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
4806 (shorten_branches): Protect declaration of tmp_length with
4807 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
4808 (profile_function): Protect declaration of `sval' and `cxt'
4809 variables with appropriate macros.
4810 (final_scan_insn): Likewise for `note' variable. Add explicit
4811 braces to avoid empty body in an if-statement.
4812 (output_asm_insn): Move variable `i' inside macro conditional
4813 where it is used. Add parentheses around assignment used as truth
4815 (asm_fprintf) Likewise, likewise.
4817 * fix-header.c (main): Remove unused variable `done'. Protect
4818 declaration of `i' with FIXPROTO_IGNORE_LIST.
4820 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
4822 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
4825 * profile.c: Include <string.h>/<strings.h>.
4826 (instrument_arcs): Remove unused variables `note', `inverted',
4827 `zero' and `neg_one'.
4828 (branch_prob): Avoid empty body in an if-statement.
4830 * regclass.c: Include <stdlib.h>.
4831 (reg_alternate_class): Explicitly declare parameter `regno'.
4833 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
4834 parentheses around assignment used as truth value.
4835 (find_matches): Remove unused variables `output_operand' and
4837 (fixup_match_1): Remove statement with no effect: "if (0) ;".
4839 * scan.c (sstring_append): Explicitly declare `count' as int.
4840 (scan_string): Explicitly declare parameter `init' as int.
4842 * sched.c: Include <stdlib.h>.
4843 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
4844 (rank_for_schedule): Add parentheses around assignment used as
4846 (schedule_block): Likewise.
4847 (regno_use_in): Likewise.
4848 (schedule_insns): Remove unused variable `i'.
4850 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
4851 (v_message_with_decl): Remove unused variable `n'.
4852 (botch): Explicitly declare parameter `s' as char *.
4853 (main): Add parentheses around assignment used as truth value.
4855 * tree.c (make_node): Protect the variable `kind' with the
4856 GATHER_STATISTICS macro.
4857 (real_value_from_int_cst): Move variable `e' inside conditional
4858 macro area where it is used.
4859 (tree_last): Add parentheses around assignment used as truth value.
4860 (build1): Protect the variable `kind' with the GATHER_STATISTICS
4862 (print_obstack_statistics): Reconcile format vs. args in fprintf.
4863 Protect variables `i', `total_nodes', and `total_bytes' with the
4864 GATHER_STATISTICS macro.
4866 Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
4868 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
4869 some comments regarding use of dead_or_set_p.
4871 Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
4873 * fixincludes: Tweak fix for struct exception in math.h
4875 Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
4877 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
4878 Change mode of registers used to add/sub from
4879 hard_frame_pointer_rtx from word_mode to Pmode.
4881 Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
4883 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
4884 asm_output_aligned_bss() instead of asm_output_bss().
4886 * toplev.c (rest_of_compilation): Replace references to
4887 stack_reg_dump_file and dbr_sched_dump_file with references to
4890 Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
4892 * tlink.c (scan_linker_output): Call fclose() for opened files.
4894 Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
4896 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
4897 compiling with -fpic -- we want to be able to override symbols
4899 (alpha_expand_block_move): Fix thinko in last change.
4901 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
4902 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
4903 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
4905 Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
4907 * alpha.md (abssf, absdf): Revert last change.
4909 Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
4911 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
4912 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
4914 Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
4916 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
4917 a CONST_INT into SFmode.
4919 Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
4921 * flags.h: New flag (optimize_size).
4922 * toplev.c (main): Parse -Os option and set optimize_space
4924 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
4925 __OPTIMIZE_SIZE__ when compiling with -Os.
4926 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
4927 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
4928 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
4930 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
4932 Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
4934 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
4935 stuff only if MCT_TEXT is #define'd.
4937 Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
4939 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
4942 Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
4944 * toplev.c: Add -dM command line option to dump RTL after the
4945 machine dependent reorganisation pass, if there is one.
4946 Reorganise RTL dump code, so that only one file handle is
4949 Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
4951 * except.c (check_exception_handler_labels): Disable warning when
4954 Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
4956 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
4958 Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4960 * c-decl.c (grokdeclarator): Get parameter tags from
4961 last_function_parm_tags.
4962 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
4963 traversing the parameter types.
4964 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
4966 Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
4968 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
4970 (get_shift_alg): Fix typo.
4972 Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
4974 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
4976 Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
4978 * toplev.c (get_run_time): Make sure each case gets its variables.
4980 Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
4982 * configure.in (build_xm_file): Add auto-config.h if host=build.
4983 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
4984 (build_xm_file_list): Likewise.
4985 * configure: Rebuild.
4987 Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
4989 * recog.c (validate_replace_rtx_1): Only perform substitutions
4990 of arguments to commutative and comparison operators once.
4992 Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4994 * sparc.c (output_cbranch): Add default case in
4997 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
4998 (emit_delay_sequence): Eliminate unused parameter, all callers
5000 (fill_simple_delay_slots): Likewise.
5001 (fill_slots_from_thread): Likewise.
5002 (fill_eager_delay_slots): Likewise.
5003 (mark_referenced_resources): Add default case in enumeration switch.
5004 (mark_set_resources): Likewise.
5005 (rare_destination): Likewise.
5006 (mostly_true_jump): Likewise.
5007 (find_dead_or_set_registers): Likewise.
5008 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
5009 (update_reg_unused_notes): Remove unused variable `p'.
5010 (mark_target_live_regs): Remove unused variables `next' and
5012 (fill_simple_delay_slots): Remove unused variable `j'.
5013 (fill_slots_from_thread): Add parentheses around assignment used
5015 (dbr_schedule): Likewise.
5017 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
5018 (objc.stage2, objc.stage3, objc.stage4): Likewise.
5020 Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
5022 * cse.c (simplify_ternary_operation): Don't try to simplify
5023 IF_THEN_ELSE expressions (created by combine) that don't use
5024 relational operators.
5026 Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
5028 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
5031 * crtstuff.c (init_dummy): Keep the epilogue in the init
5032 section for non-ELF systems.
5034 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5036 * sh.md (movqi_i+1): New peephole.
5038 Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
5040 * Makefile.in: Remove remaining bytecode stuff.
5041 * emit-rtl.c, expr.c: Likewise.
5043 Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
5045 * toplev.c (lang_options): Add unknown-pragma options.
5047 Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
5049 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
5050 special (and incomplete) handling for Chill arrays.
5052 Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
5054 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
5057 Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
5059 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
5061 1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
5063 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
5064 .frame directive instead of FRAME_POINTER_REGNUM.
5066 Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
5068 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
5069 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
5070 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
5071 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
5072 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
5073 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
5074 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
5075 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
5077 * longlong.h: Replace __mc68332__ with __mcpu32__.
5079 Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
5081 * version.c: Bump for snapshot.
5083 Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
5085 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
5086 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
5087 * reload1.c (eliminate_regs): Likewise.
5089 Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
5091 * regmove.c (find_matches): Initialize matches->earlyclobber too.
5093 Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
5095 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
5096 (negsf2, negdf2): Use proper subtract in IEEE mode.
5098 Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
5100 * Makefile.in: Remove more bytecode stuff.
5101 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
5102 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
5103 * f/install.texi, objc/Make-lang.in: Likewise.
5105 * Makefile.in: Remove all bytecode support.
5106 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
5107 * emit-rtl.c: Remove all bytecode support.
5108 * expr.c, expr.h function.c, integrate.c: Likewise.
5109 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
5110 * tree.h, varasm.c: Likewise.
5111 * config/m68k/m68k.h: Likewise.
5112 * bi-*, bc-*, bytecode*: Delete bytecode related files.
5113 * modemap.def: Likewise.
5115 Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
5117 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
5118 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
5120 Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
5122 * i386.md (push): Prohibit symbolic constants if flag_pic.
5123 (movsi+1): Likewise for move to non-register.
5125 Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
5127 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
5128 (print_operand): Handle 0xffffffff on 32 bit host.
5130 * configure.in (thread_file): Rename uses before main loop to
5131 target_thread_file. Initialize to empty in main loop. Set thread_file
5132 to target_thread_file after main loop if not set.
5133 * configure: Rebuild.
5135 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
5136 (add_values_to_cover): Revert last change (which had no ChangeLog
5138 (simplify_with_current_value_aux): Handle CONST_INT.
5140 Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5142 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
5144 Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
5146 * configure.in: Add cpp stringify test.
5147 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
5148 * gengenrtl.c: Use it.
5149 * configure, config.in: Rebuild.
5151 Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5153 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
5155 Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
5157 * configure.in: Find declaration for sbrk.
5158 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
5159 * config.in, configure: Rebuild.
5160 * mips-tfile.c: Properly protect declaration of sbrk and free.
5161 * toplev.c: Properly protect declaration of sbrk.
5163 Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
5165 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
5167 Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
5169 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
5171 Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
5173 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
5175 Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
5177 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
5178 constant offset computations from objects with known alignment in
5179 the presence of STACK_BIAS.
5181 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
5183 (const_hash): Hash val is unsigned long.
5184 (SYMHASH): Likewise.
5186 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
5188 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
5189 char pointer, not HOST_WIDE_INT.
5190 (print_node): Likewise. Also hash is unsigned long not
5193 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
5195 * explow.c (optimize_save_area_alloca): New function for targets
5196 where SETJMP_VIA_SAVE_AREA is true.
5197 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
5198 compute the amount of stack space needed should we find later that
5199 setjmp is never called by this function, stuff rtl for this inside
5200 a REG_NOTE of the final SET of stack_pointer_rtx.
5201 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
5202 current_function_calls_alloca, call optimize_save_area_alloca.
5204 Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
5206 * i386.md: Remove redundant integer push patterns.
5207 Don't bother checking for TARGET_PUSH_MEMORY when
5208 pushing constants or registers.
5210 Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5211 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
5213 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5214 (pwait): New function for mingw32.
5216 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
5217 pipe support is broken for now.
5219 1998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
5221 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
5222 between frame_pointer_rtx, hard_frame_pointer_rtx, and
5223 arg_pointer_rtx is respected in initialization.
5224 (init_emit_once): Use gen_rtx_raw_REG() to create
5225 return_address_pointer_rtx.
5227 * reorg.c: #include "expr.h" for rtx prototypes.
5228 * Makefile.in (reorg.o): Depend on expr.h
5230 Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
5232 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
5233 local_prefix to sub-make invocations.
5235 Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
5237 * objc-parse.c: Recognize protocol qualifiers in class definitions.
5239 Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
5243 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
5244 * configure.in: Check for atol.
5245 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
5247 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
5249 * loop.c (find_and_verify_loops): When attempting to move insns from
5250 inside the loop outside the loop, create a BARRIER if no suitable
5253 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
5254 favor of an equivalent change from gcc-2.8.
5256 * i386/x-sco5 (CC): Remove trailing whitespace.
5258 Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5260 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
5261 (accessor_from_format): Likewise.
5262 (xmalloc): New function for use when linking with alloca.o.
5264 Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5266 * frame.c (find_fde): Correct FDE's upper bound.
5268 Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
5270 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
5272 Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
5274 * calls.c (expand_call): Move #ifdef code out of macro argument
5276 (emit_library_call, emit_library_call_value): Likewise.
5278 Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
5280 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
5282 Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
5284 * version.c: Bump for snapshot.
5286 Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
5288 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
5289 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
5290 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
5291 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
5292 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
5293 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
5294 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
5295 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
5296 * unroll.c, varasm.c: Likewise.
5297 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
5299 Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
5301 * mips.h: Fix some type-o's from a previous change.
5303 Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
5305 * loop.c (check_dbra_loop): Make sure initial value is a
5306 CONST_INT before trying to normalize it.
5308 Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
5310 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
5312 Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
5314 * cppexp.c: Include gansidecl.h
5316 Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
5318 * svr4.h (LINK_SPEC): Never specify -h.
5319 * ptx4.h (LINK_SPEC): Likewise.
5320 * rs6000/sysv4.h (LINK_SPEC): Likewise.
5321 * sparc/sol2.h (LINK_SPEC): Likewise.
5323 Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
5325 * c-typeck.c (comptypes): Exit early on NULL input.
5327 * haifa-sched.c (schedule_insns): Correctly remove inter-block
5328 dependencies after reload.
5330 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
5332 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
5334 Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
5336 * alpha/vms.h (DIR_SEPARATOR): define
5338 Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5340 * Makefile.in (stamp-proto): Remove.
5341 (protoize.o, unprotoize.o): Straightforward compile.
5342 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
5344 Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5346 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
5347 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
5349 Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
5351 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
5352 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
5353 * sparc/netbsd.h, vax/netbsd.h: Likewise.
5355 Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
5357 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
5359 Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
5361 * configure.in (target_cpu_default, target_cpu_default2): Use double
5362 quotes around them when testing their value.
5363 * configure: Rebuilt.
5365 Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
5367 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
5369 (gendef): Call obstack_alloc_rtx.
5371 Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
5373 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
5376 Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
5378 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
5379 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
5380 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
5382 Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
5384 * mips.md (return_internal): Change mode from SImode to VOIDmode.
5386 Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
5388 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
5391 Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
5393 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
5394 suffix from operand 3.
5396 Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5397 Jeffrey A Law (law@cygnus.com)
5399 * regmove.c: New implementation of regmove pass.
5400 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
5401 decls, make them have external linkage. Return a value from
5402 optimize_reg_copy_1.
5403 * reload.h (count_occurrences): Add decl.
5404 * reload1.c (count_occurrences): Delete decl, make it have external
5406 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
5408 Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
5410 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
5411 if it is not defined.
5413 Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
5415 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
5416 * emit-rtl.c (gen_rtx): Move special code to ...
5417 (gen_rtx_CONST_INT): New function.
5418 (gen_rtx_REG): New function.
5419 (*): Update all calls to gen_rtx.
5420 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
5421 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
5422 (GEN_INT): Call gen_rtx_CONST_INT.
5423 * gengenrtl.c: New file.
5425 Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
5427 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
5428 (base_alias_check): If no base found for address call canon_rtx and
5431 Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
5433 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
5434 arguments for mips16.
5435 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
5436 Don't lose if tsize is zero after handling large stack for mips16.
5437 * mips.md (return): For trivial return, return address is in $31.
5439 Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
5441 * mips/mips16.S: Various changes to make it work with -msingle-float
5444 Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
5445 Ian Lance Taylor <ian@cygnus.com>
5446 Jeff Law <law@cygnus.com>
5448 * mips.c, mips.h, mips.md: First cut at merging in mips16
5449 support. Major modifications throughout all three files.
5451 Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
5453 * configure.in: Make gthr-default.h a forwarding header instead of
5456 Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5458 * gcov-io.h: Include sys/types.h to ensure we get size_t.
5460 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
5462 Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
5463 Jeffrey A Law (law@cygnus.com)
5465 * crtstuff.c (__frame_dummy): New function for irix6.
5466 (__do_global_ctors): Call __frame_dummy for irix6.
5467 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
5469 Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
5471 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
5473 Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
5475 * c-decl.c (init_decl_processing): Provide proper fallback symbol
5476 for __builtin_memset.
5477 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
5478 not INTEGER_CST. Assert arg 3 is a constant.
5480 * alpha.c (mode_width_operand): Accept 64-bit modes.
5481 (mode_mask_operand): Likewise.
5482 (print_operand): Likewise for 'M' and 'U' codes.
5483 (alpha_expand_unaligned_load): New function.
5484 (alpha_expand_unaligned_store): Likewise.
5485 (alpha_expand_unaligned_load_words): Likewise.
5486 (alpha_expand_unaligned_store_words): Likewise.
5487 (alpha_expand_block_move): Likewise.
5488 (alpha_expand_block_clear): Likewise.
5489 * alpha.h (MOVE_RATIO): New define.
5490 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
5491 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
5493 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
5494 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
5496 Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
5498 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
5499 * configure: Update.
5501 Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
5503 * emit-rtl.c (operand_subword): Correctly handle extracting a word
5504 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
5506 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
5509 Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
5511 * configure.in: Set and subsitute host_exeext. Use it when creating
5512 the assembler and linker symlinks.
5513 * configure: Rebuild.
5514 * Makefile.in (exeext): Set to @host_exeext@.
5515 (build_exeext): New variable, set to @build_exeext@.
5516 (FLAGS_TO_PASS): Pass down build_exeext.
5517 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
5520 Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
5522 * mn10200.md (addsi3, subsi3): Fix thinkos.
5524 Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
5526 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
5527 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
5528 unix always, since we want to be able to thunk to functions in a
5529 shared library from an application.
5531 Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
5533 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
5534 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
5536 Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
5538 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
5539 offset's mode is not ptr_mode, convert it.
5541 Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
5543 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
5544 compiling if it was already defined.
5546 Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
5548 * flow.c (find_basic_blocks): Don't create a new basic block
5549 for calls in a LIBCALL block.
5551 Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
5553 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
5555 Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
5557 * cse.c (rtx_cost): Remove conflicting default case.
5559 Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
5561 * configure.in: Move default enabling of Haifa out of for loop.
5562 * configure: Rebuild.
5564 Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
5566 * version.c: Bump for snapshot.
5568 1997-12-25 Teemu Torma <tot@trema.com>
5570 * Makefile.in (GTHREAD_FLAGS): New var.
5571 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
5572 (distclean): Remove gthr-default.h.
5574 * configure.in: Accept dce as a thread package.
5575 Check for thread.h and pthread.h.
5576 Link gthr-default.h to appropriate thread file and set
5578 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
5579 include multilib definitions from pa/t-dce-thr.
5580 (sparc-*-solaris2*): Enable threads by default, if thread.h or
5581 pthread.h is found, preferring posix threads over solaris ones.
5583 * config/pa/t-dce-thr: New file.
5584 * config/pa/t-pa: Removed multilibs.
5585 * config/sparc/t-sol2: Ditto.
5588 * gthr-single.h: New file.
5589 * gthr-posix.h: New file.
5590 * gthr-solaris.h: New file.
5591 * gthr-dce.h: New file.
5592 * libgcc-thr.h: Removed.
5593 * objc/thr-dce.c: New file copied from thr-decosf1.c.
5595 * frame.c: Include gthr.h instead of libgcc-thr.h.
5596 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
5597 (eh_context_initialize): If __gthread_once fails, use static eh
5599 (eh_context_free): Call __gthread_key_dtor.
5601 Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
5603 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
5605 Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
5607 * cse.c (max_insn_uid): New variable.
5608 (cse_around_loop): Use max_insn_uid.
5609 (cse_main): Set max_insn_uid.
5611 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
5612 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
5613 -mlong64, and -mgp{32,64} options.
5614 * mips.c (mips_abi): Change type to int.
5615 * mips.h (enum mips_abi_type): Delete.
5616 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
5617 (mips_abi): Change type to int.
5619 Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
5621 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
5622 optimization is now always enabled.
5624 * calls.c (expand_call): Recognize C++ operator new as malloc-like
5627 * alias.c (memrefs_conflict_p): Eliminate tests now done by
5629 (*_dependence): Call canon_rtx before base_alias_check.
5630 (init_alias_once): New function to precompute set of registers which
5631 can hold Pmode function arguments.
5633 * rtl.h: Declare init_alias_once.
5635 * toplev.c (compile_file): Call init_alias_once.
5637 Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
5639 * tree.c (restore_tree_status): Do not dereference a null pointer.
5641 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
5643 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
5644 RLIMIT_STACK. This maintains consistency with the recent, similar
5645 patch to cccp.c and toplev.c.
5647 Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
5649 * genattrtab.c (expand_units): For large nr opclasses, expand
5650 function_units_used with ORX to prevent blowups. Tag with FFS.
5651 (num_unit_opclasses): New variable.
5652 (gen_unit): Update it.
5653 (enum operator): Add ORX_OP.
5654 (operate_exp): Treat ORX as or, except don't expand across an if.
5655 Reuse number rtx's after operating on them.
5656 (check_attr_value): Accept IOR, AND, & FFS.
5657 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
5658 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
5659 (write_expr_attr_cache, write_toplevel_expr): New functions.
5660 (write_attr_get): Handle FFS-tagged expressions.
5661 (make_canonical): Don't expand const attributes.
5662 (convert_const_symbol_ref): Dike out.
5663 (evaluate_eq_attr): Handle SYMBOL_REF.
5664 (main): Don't emit get_attr_foo for const attributes.
5666 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
5667 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
5668 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
5669 * alpha.md: Redo all of the scheduling, adding EV6 support, and
5670 combining function units where possible.
5671 (attr "type"): Split loads, stores, cmov into int/fp. Combine
5672 multiplies and divides. Add EV6 sqrt, ftoi, itof.
5673 (attr "opsize"): New attribute.
5674 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
5675 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
5676 to control register allocation.
5677 (movsi2-1, movdi2-1): Likewise.
5679 Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
5681 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
5682 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
5683 Move OSF/1 specific defines out.
5684 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
5685 Move Linux specific defines out.
5686 (LINK_SPEC): Genericize.
5687 (ASM_FILE_START): Emit .arch if using more than the base insn set.
5688 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
5689 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
5690 (HANDLE_SYSV_PRAGMA): Define.
5691 * alpha/osf.h: New file.
5692 * alpha/linux.h: Split. Retain file-format independant defines.
5693 Import Linux bits from elf.h.
5694 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
5695 (FUNCTION_PROFILER): _mcount takes its address in $28.
5696 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
5697 * alpha/linux-ecoff.h: New file.
5698 * alpha/linux-elf.h: New file.
5699 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
5700 * alpha/win-nt.h (TARGET_DEFAULT): Define.
5701 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
5702 Add new headers as appropriate.
5704 * configure.in (alpha*): Enable Haifa by default.
5705 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
5706 * configure: Rebuild.
5708 Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
5710 * Makefile.in (clean): Remove the stages with their objects here ...
5711 (distclean): ... instead of here.
5713 Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5715 * cse.c (rtx_cost): Add default case in enumeration switch.
5716 * fix-header.c (recognized_macro): Likewise.
5717 (recognized_extern): Likewise.
5718 (write_rbrac): Likewise.
5719 * objc/objc-act.c (encode_aggregate): Likewise.
5720 (gen_declarator): Likewise.
5721 (gen_declspecs): Likewise.
5723 Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
5725 * haifa-sched.c (create_reg_dead_note): Detect and handle another
5726 case where we kill more regs after sched than were killed before
5728 * sched.c (create_reg_dead_note): Similarly.
5730 Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
5732 * c-pragma.c: Include flags.h.
5734 Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
5736 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
5737 about system headers.
5738 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
5739 and also to resolve symbols in prefix.c.
5741 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
5742 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
5743 when the definitions in auto-config.h is not visible.
5744 (HAVE_BZERO): Likewise.
5745 (HAVE_BCMP): Likewise.
5746 (HAVE_RINDEX): Likewise.
5747 (HAVE_INDEX): Likewise.
5749 Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
5751 * pa.c (emit_move_sequence): Handle a function label source
5754 Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
5756 * c-pragma.c (handle_pragma_token): Generate warning messages
5757 about unknown pragmas if warn_unknown_pragmas is set.
5759 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
5760 line option to set variable: warn_unknown_pragmas.
5762 Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
5764 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
5766 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
5768 Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
5770 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
5771 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
5772 generate more fine grained floating point emulation libraries.
5773 * config/fp-bit.c: Add protecting #ifdef to all functions so
5774 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
5775 then compile all suitable functions.
5776 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
5777 underscores to avoid namespace pollution.
5778 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
5780 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
5784 Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5785 Jeff Law <law@cygnus.com>
5787 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
5789 * c-decl.c (finish_decl): Use parentheses around && within ||.
5790 * rtl.c: Include stdlib.h.
5791 (read_skip_spaces): Add parentheses around assignments used as
5793 (read_rtx): Initialize list_rtx.
5794 * cppexp.c (parse_number): Use || when operands are truth values.
5795 * alias.c (find_base_value): Add default case.
5796 (memrefs_conflict): Likewise.
5797 * combine.c (sets_function_arg_p): Likewise.
5798 * genemit.c (gen_exp): Likewise.
5799 * local-alloc.c (contains_replace_regs): Likewise.
5800 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
5801 * fold-const.c (fold_convert): Use "&&" for truth values.
5802 (fold): Add default case.
5803 * sdbout.c (sdbout_field_types): Fix typo in declaration.
5804 (sdbout_one_type): Add default case.
5805 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
5806 (some_operand): Add default case.
5807 (input_operand): Likewise.
5808 (signed_comparison_operator): Likewise.
5809 (divmod_operator): Likewise.
5810 (alpha_set_memflags_1): Likewise.
5811 * reload1.c (reload_cse_simplify_operands): Ensure function
5812 always returns a value.
5813 * scan-decls.c (scan_decls): Likewise.
5814 * c-lex.c (skip_white_space): Fix typo in declaraion.
5815 * c-typeck.c (comp_target_types): Add parentheses around assignment
5816 used as truth value.
5817 (print_spelling): Likewise.
5818 (constructor_implicit, constructor_result): Remove unused variables.
5819 * collect2.c (scan_library): Protect prototype with
5820 #ifdef SCAN_LIBRARIES.
5821 * emit-rtl.c (find_line_note): Fix typo in declaration.
5822 * final.c (asm_insn_count): Protect prototype with
5823 #ifdef HAVE_ATTR_length.
5824 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
5825 (try_pre_increment_1, try_pre_increment): Likewise.
5826 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
5827 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
5828 * gcov-io.h (__store_long, __write_long, __read_long): Fix
5829 unsigned/signed comparisons.
5830 * gcov.c (read_files): Remove unused "first_type" variable.
5831 (scan _for_source_files): Initialize s_ptr.
5832 (function_summary): Eliminate "%lf" formatting, use %ld for
5834 (output_data): Initialize branch_probs and last_line_num.
5835 Eliminate "%lf" formatting, use "%ld" for longs.
5837 Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
5839 * mips16.S: New file.
5841 * libgcc2.c (varargs): Handle mips16.
5843 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
5845 * stmt.c (expand_end_case): Likewise.
5846 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
5847 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
5848 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
5850 Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5852 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
5853 the build directory.
5854 (libobjc.a): Update dependency list.
5855 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
5857 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
5858 (objc.mostlyclean): Remove runtime-info.h.
5860 Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
5862 * tree.c (build_range_type): Allow creation of ranges with no maximum.
5863 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
5864 * dwarf2out.c (add_subscript_info): Likewise.
5865 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
5866 * sdbout.c (plain_type_1): Likewise.
5867 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
5869 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
5872 Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5874 * mips.c (fatal): Remove declaration.
5876 1997-12-18 Mark Mitchell <mmitchell@usa.net>
5878 * integrate.c (get_label_from_map): New function.
5879 (expand_inline_function): Use it. Initialize the label_map to
5880 NULL_RTX instead of gen_label_rtx.
5881 (copy_rtx_and_substitute): Use get_label_from_map.
5882 * integrate.h (get_label_from_map): New function.
5883 (set_label_from_map): New macro.
5884 * unroll.c (unroll_loop): Use them.
5885 (copy_loop_body): Ditto.
5887 Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
5889 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
5890 (INIT_TARGET_OPTABS): Define.
5891 * mips/ecoff.h: Include gofast.h before mips.h.
5892 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
5893 * mips/elf64.h: Likewise.
5894 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
5896 Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
5898 * except.c: Remove register_exception_table{,_p}.
5900 Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
5902 * unroll.c (calculate_giv_inc): Handle constant increment found in
5903 a MEM with an appropriate REG_EQUAL note.
5905 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
5907 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
5908 frame pointer in the prologue.
5910 Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
5912 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
5913 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
5915 Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
5917 * config/m68k/m68k.c (output_function_prologue): Typecast
5918 dwarf2out_cfi_label to (char *).
5919 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
5921 Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
5923 * sparc.md (jump): Don't use the annul bit around an empty loop.
5924 Patch from Kevin.Kelly@East.Sun.COM.
5926 Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
5928 * jump.c: (jump_optimize): Don't use the return register as a
5929 source1 of a conditional move.
5931 Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
5933 * sparc.c (DF_MODES): Or the mask not the bit number.
5934 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
5936 Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
5938 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
5940 Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
5942 * fixincludes (size_t): Add support for Motorola's stdlib.h
5943 which fails to provide a definition for size_t.
5944 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
5945 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
5946 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
5948 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
5949 prevent unresolved externals in libio.
5950 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
5952 Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
5954 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
5955 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
5956 (LIB_SPEC): Updated for glibc 2.
5958 Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
5960 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
5961 * ginclude/varargs.h: Likewise.
5963 Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
5965 * version.c: Bump for snapshot.
5967 Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
5969 * frame.h (__register_frame, __register_frame_table,
5970 __deregister_frame): New.
5971 * frame.c (__register_frame, __register_frame_table,
5972 __deregister_frame): New.
5973 * frame.c (__deregister_frame_info): Return void *.
5974 * frame.h (__deregister_frame_info): Ditto.
5975 * collect2.c (__deregister_frame_info): Ditto.
5977 Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
5979 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
5981 Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
5983 * alpha.c (alpha_cpu_name): New variable.
5984 (alpha_mlat_string): Likewise.
5985 (alpha_memory_latency): Likewise.
5986 (override_options): Handle -mmemory-latency.
5987 (alpha_adjust_cost): Adjust load cost for latency.
5988 * alpha.h (TARGET_OPTIONS): Add meory-latency.
5989 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
5990 TARGET_CIX into account.
5991 (MEMORY_MOVE_COST): Define in terms of memory_latency.
5992 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
5994 * alpha.h (ASM_COMMENT_START): New macro.
5996 Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
5998 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
5999 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
6001 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
6002 SUBREG_REG if the word count is unchanged.
6003 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
6004 subregs of identical word size for push_reload.
6006 Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
6008 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
6009 if all we're doing is dealing with -Wreturn-type.
6011 Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
6013 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
6014 Use and 255 instead of zapnot 1, since it schedules better.
6016 Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
6018 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
6021 Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
6023 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
6024 dependency we delete. Properly update prev for multiple consecutive
6026 (priority): Skip deleted dependence.
6028 Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
6030 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
6032 Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6034 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
6035 determining when a new basic block starts.
6037 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
6039 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
6040 * pa.md (iorsi3): Add missing args to *_operand calls.
6042 * except.c (call_get_eh_context): Don't mess with sequences.
6043 (emit_eh_context): Include the call in the sequence here.
6045 1997-12-11 Paul Eggert <eggert@twinsun.com>
6047 * collect2.c (write_c_file_glob): Allocate initial frame object
6048 in static storage and pass its address.
6050 Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6052 * except.c (call_get_eh_context): Don't take a parm.
6053 Put the call at the top of the function.
6054 (emit_eh_context): Adjust.
6055 (get_eh_context): Replace with former use_eh_context.
6056 (get_eh_context_once, get_saved_pc_ref): Remove.
6057 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
6059 * integrate.c (expand_inline_function): Adjust.
6060 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
6062 Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
6064 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
6065 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
6067 Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
6069 * fixincludes (strlen,strspn,strcspn return value): Handle different
6071 (hypot): Provide a fake for hypot which is broken on
6072 m88k-motorola-sysv3.
6074 Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
6076 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
6077 tree_code_name from pointers to arrays.
6078 * tree.c: Remove standard_tree_code_* variables, no longer used.
6079 * print-tree.c: Remove declaration of tree_code_name.
6081 * cp/lex.c (init_lex): Update for tree_code_* changes.
6082 * objc/objc-act.c (init_objc): Likewise.
6084 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
6087 Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
6089 * config.sub: Add support for BeOS target.
6090 * configure.in: Likewise.
6091 * ginclude/stdarg.h: Likewise.
6092 * ginclude/stddef.h: Likewise.
6093 * ginclude/varargs.h: Likewise.
6094 * rs6000/beos.h: New file for BeOS.
6095 * rs6000/t-beos: Likewise.
6096 * rs6000/x-beos: Likewise.
6097 * rs6000/xm-beos.h: Likewise.
6098 * toplev.c (get_run_time): Just return 0 on BeOS.
6100 Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
6101 Toon Moene (toon@moene.indiv.nluug.nl)
6103 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
6104 old and broken Sun3 assemblers. Newer versions handle large
6105 offsets correctly as does the GNU assembler.
6107 Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
6109 * objc/objc-act.c (lang_report_error_function): Disable.
6110 * objc/objc-parse.y: Include "output.h".
6111 (yyerror): Remove redundant decl.
6112 (yyprint): Fix prototype.
6113 (apply_args_register_offset): Remove redundant decl.
6114 (get_file_function_name): Likewise.
6116 Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
6118 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
6120 (find_basic_blocks_1): Likewise.
6122 Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6124 * except.c (use_eh_context): Don't copy_rtx a REG.
6125 (emit_throw): Lose old unwinder support.
6126 (expand_internal_throw): Likewise.
6127 * libgcc2.c (struct eh_context): Likewise.
6128 (new_eh_context): Likewise.
6129 (__get_eh_info): Lose redundant cast.
6130 (__get_dynamic_handler_chain): Likewise.
6131 (__get_saved_pc): Lose.
6132 Lose all old unwinder support code.
6134 Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
6136 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
6138 * integrate.c (expand_inline_function): If the inline fn uses eh
6139 context, make sure that the current fn has one.
6140 * toplev.c (rest_of_compilation): Call emit_eh_context.
6141 * except.c (use_eh_context): New fn.
6142 (get_eh_context_once): New fn.
6143 (call_get_eh_context): New fn.
6144 (emit_eh_context): New fn.
6145 (get_eh_context): Call either get_eh_context_once or
6146 call_get_eh_context, depending on what we have.
6147 (get_dynamic_handler_chain): Call get_eh_context_once.
6148 * except.h: Prototypes for fns above.
6149 * optabs.c (get_eh_context_libfunc): Removed.
6150 (init_optabs): Don't initialize it.
6151 * expr.h (get_eh_context_libfunc): Removed.
6152 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
6153 * config/pa/pa.h (CPP_SPEC): Support for -threads.
6154 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
6155 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
6156 New multilib for -threads.
6157 * config/sparc/t-sol2: Added multilibs for -threads and
6158 made -pthreads alias to it.
6159 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
6160 Added -threads and -pthreads options.
6161 * libgcc-thr.h: New file.
6162 * libgcc2.c: (__get_cpp_eh_context): Removed.
6163 (struct cpp_eh_context): Removed.
6164 (struct eh_context): Replaced cpp_eh_context with generic language
6166 (__get_eh_info): New function.
6167 (__throw): Check eh_context::info.
6169 * libgcc2.c: Include libgcc-thr.h.
6170 (new_eh_context, __get_eh_context,
6171 eh_pthread_initialize, eh_context_initialize, eh_context_static,
6172 eh_context_specific, eh_context_free): New functions.
6173 (get_eh_context, eh_context_key): New variables.
6174 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
6175 get_eh_context to get the context.
6176 (longjmp): Move the declaration inside
6177 #ifdef DONT_USE_BUILTIN_SETJMP.
6178 * frame.c: Include libgcc-thr.h.
6179 (object_mutex): Mutex to protect the object list.
6180 (find_fde, __register_frame, __register_frame_table,
6181 __deregister_frame): Hold the lock while accessing objects.
6182 * except.h (get_eh_context): Declare.
6183 * except.c (current_function_ehc): Define.
6184 (current_function_dhc, current_function_dcc): Removed.
6185 (get_eh_context): New function.
6186 (get_dynamic_handler_chain): Use get_eh_context.
6187 (get_saved_pc_ref): Ditto.
6188 (get_dynamic_cleanup_chain): Removed references to
6189 current_function_dcc.
6190 (save_eh_status, restore_eh_status): Save and restore
6191 current_function_ehc instead.
6192 * optabs.c (get_eh_context_libfunc): New variable.
6193 (init_optabs): Initialize it.
6194 * expr.h: Declare get_eh_context_libfunc.
6195 * function.h (struct function): Replaced dhc and dcc with ehc.
6196 * except.c (get_saved_pc_ref): New functions.
6197 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
6198 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
6200 (end_eh_unwinder): Likewise.
6201 (init_eh): Remove initialization of eh_saved_pc.
6202 * optabs.c (get_saved_pc_libfunc): New variable.
6203 (init_optabs): Initialize it.
6204 * expr.h: Declare get_saved_pc_libfunc.
6205 * except.h (eh_saved_pc_rtx): Deleted.
6206 (get_saved_pc_ref): Declared.
6208 From Scott Snyder <snyder@d0sgif.fnal.gov>:
6209 * libgcc2.c (__get_saved_pc): New.
6210 (__eh_type, __eh_pc): Deleted.
6211 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
6212 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
6215 Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
6217 * sparc/sol2.h: Use 64 bit multiply and divide functions in
6218 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
6221 * rtl.h (global_rtl): New variable, replacing separate variables for
6223 (const_int_rtx): Now array of rtx_def, not rtx.
6224 * emit-rtl.c: Update for new rtl data structures.
6225 * genattrtab.c: Define global_rtl.
6227 Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
6229 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
6232 Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
6234 * crtstuff.c (__do_global_ctors): Fix typo.
6236 Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
6238 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6239 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6241 Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
6243 * rs6000.h (FUNCTION_ARG_PADDING): Define.
6244 * rs6000.c (function_arg_padding): New function.
6246 Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
6248 * m68k.c: Include tree.h only once.
6250 Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6252 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
6254 Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
6256 * Partially cleaned up prototyping code from HJ.
6257 * tree.h: Add many prototypes.
6258 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
6259 All references changed.
6260 * rtl.h: Protect from multiple inclusions. Add many prototypes.
6262 Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
6264 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
6265 string functions like strlen.
6267 Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
6269 * configure.in: Check for functions getrlimit and setrlimit.
6270 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6271 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6273 Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
6275 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
6277 Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
6279 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
6282 * alpha.c (override_options): Don't know about scheduling for EV6.
6283 * alpha.md (ev5 function units): Don't overload as ev6.
6285 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
6286 * alpha.md (define_attr type): Add mvi.
6287 (ev5_e0): Define sceduling parameters for it.
6288 (TARGET_MAX insns): Type is mvi not shift.
6290 Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
6292 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
6294 Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6296 * cstamp-h, auto-config.h: Delete.
6298 Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
6300 * version.c: Bump for snapshot.
6302 Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
6304 * cccp.c: Fix typo brought over in merge.
6306 * Merge in changes from gcc-2.8.
6308 Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
6310 * m68k.c: Include tree.h for dwarf2out_cfi_label.
6312 * gcc.c (process_command): Do not take address of function fatal when
6313 calling lang_specific_driver.
6315 Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
6317 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
6318 doesn't work with it yet, so set it to 0.
6319 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
6321 Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
6323 * cse.c (cse_insn): Check for invalid entries when taking references.
6325 Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6327 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
6328 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
6329 * toplev.c (rest_of_compilation): Pass it. Remove code to
6330 save / clear / restore flag_unroll_{,all_}loops.
6332 Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6334 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
6336 Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
6338 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
6340 Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
6342 * except.c (get_dynamic_handler_chain): Only make the call once per
6345 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
6347 Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6349 * sh.c (final_prescan_insn): Use local label prefix
6350 when emitting .uses pseudo-ops.
6352 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6354 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
6355 * except.c: Lose outer_context_label_stack.
6356 (expand_eh_region_end): Rethrow from outer_context here.
6357 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
6358 (expand_internal_throw): Take no args.
6359 (expand_internal_throw_indirect): Lose.
6360 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
6361 (expand_start_all_catch): Start a rethrow region.
6362 (expand_end_all_catch): End it.
6363 (expand_rethrow): New fn.
6364 * except.h: Reflect above changes.
6365 * flow.c: Revert change of Nov 27.
6367 Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
6369 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
6371 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6373 * except.c (expand_fixup_region_end): New fn.
6374 (expand_fixup_region_start): Likewise.
6375 (expand_eh_region_start_tree): Store cleanup into finalization here.
6376 * stmt.c (expand_cleanups): Use them to protect fixups.
6378 Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
6380 * mips/mips.md (muldi3_r4000): Broaden the output template
6381 and attribute assignments to handle three operand dmult;
6382 rename to muldi3_internal2.
6383 (muldi3): Call the new muldi3_internal2 for R4000, and
6384 any GENERATE_MULT3 chip.
6386 Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
6388 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
6390 Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
6392 * unroll.c (find_splittable_givs): Remove last change. Handle givs
6393 with a dest_reg that was created by loop.
6395 Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
6397 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
6399 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
6401 Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
6403 * configure.in: Fix NCR entries.
6405 Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
6407 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
6408 nested exceptions correctly.
6410 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
6411 that was created by loop.
6413 Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
6415 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
6417 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
6419 Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
6421 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
6422 (print_operand): Use SMALL_DATA_REG for the register involved in
6423 small data relocations.
6424 (print_operand_address): Ditto.
6426 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
6427 -dynamic linker is not used.
6429 * rs6000.md (call insns): For local calls, use @local suffix under
6430 System V. Don't use @plt under Solaris.
6432 * rs6000.c (output_function_profiler): Put label address in r0, and
6433 store LR in 4(sp) for System V/eabi.
6435 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
6436 byte boundary, and maintain stack backchain.
6438 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6440 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6441 fix_truncsfdi2): Change *.
6443 Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
6445 * toplev.c (main): Complain about -gdwarfn.
6447 Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
6449 * dwarfout.c (output_type): If finalizing, write out nested types
6450 of types we've already written.
6452 Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
6454 (patches originally from Geoffrey Keating)
6455 * rs6000.c (function_arg): Excess floating point arguments don't
6456 go into GPR registers after exhausting FP registers under the
6458 (function_arg_partial_nregs): Ditto.
6460 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
6463 Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
6465 * integrate.c (output_inline_function): Just unset DECL_INLINE.
6467 Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
6469 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
6472 * libgcc2.c (__throw): Initialize HANDLER.
6474 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6476 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6477 fix_truncsfdi2): Change *X to ?*X.
6479 Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
6481 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
6483 Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
6485 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
6487 Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
6489 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
6491 Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
6493 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
6494 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
6497 Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
6499 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
6500 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
6501 gas and not using the new HP assembler.
6503 Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
6505 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
6506 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
6508 Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
6510 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
6511 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
6514 Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6516 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
6518 Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
6520 * except.h: Add outer_context_label_stack.
6521 * except.c: Likewise.
6522 (expand_start_all_catch): Push the outer_context for the try block
6523 onto outer_context_label_stack.
6524 (expand_end_all_catch): Use it and pop it.
6526 Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
6528 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
6530 Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
6532 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
6534 Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
6536 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
6537 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6539 Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
6541 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
6542 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
6543 __builtin_delete, and __builtin_vec_delete.
6545 * except.c (output_exception_table): Don't bother with
6548 Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
6550 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
6551 is an in/out operand.
6552 (zero extended variants of stwm/stwm patterns): Similarly.
6554 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
6556 Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
6558 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
6560 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
6561 (output_call_frame_info): Emit a \n after using it.
6563 Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
6565 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
6567 Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
6569 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
6570 (ASM_OUTPUT_DWARF_VALUE4): New macro.
6571 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
6573 (output_call_frame_info): Do not output forward label differences
6574 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
6575 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
6577 Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6579 * sh.md (attribute "type"): Add nil.
6580 (movsi_ie): y/y alternative is type nil.
6581 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
6583 (movsf_ie+1): Delete.
6585 Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
6587 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
6588 large_int, emit two insns instead of one splitable insn.
6589 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
6590 from cfa_temp_value, use cfa_offset. Add assert checking that
6593 Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
6595 * cccp.c (deps_output): Properly quote file names for make.
6597 Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
6599 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
6601 Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
6603 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
6605 Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
6607 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
6609 (cse_end_of_basic_block): Similarly.
6611 Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
6613 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
6614 (SELECT_RTX_SECTION): Define.
6615 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
6617 Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
6619 * Makefile.in (compare, compare-lean): Define $stage for each
6621 (gnucompare, gnucompare-lean): Likewise.
6623 Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
6625 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
6627 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
6628 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6630 Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
6632 * dwarfout.c (byte_size_attribute): Add local var upper_bound
6633 and add case to handle STRING_TYPE.
6634 * dwarfout.c (output_string_type_die): Fix code to generate
6635 correct string length attribute for fixed length strings.
6636 Still needs support for varying length strings.
6638 Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
6640 * toplev.c (get_run_time): Do something sensible for cygwin32.
6642 Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
6644 * expr.c (expand_builtin_setjmp): Set
6645 current_function_has_nonlocal_label.
6646 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
6647 call-saved registers across calls.
6649 * alpha.md (exception_receiver): Remove.
6650 (nonlocal_goto_receiver_osf): New
6651 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
6652 (nonlocal_goto_receiver): New, select _osf or _vms.
6654 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
6655 keep them from being propogated to the object file.
6656 (alpha_write_linkage): Likewise.
6657 * alpha.md (call_vms): Likewise.
6658 (call_value_vms): Likewise.
6659 (unnamed osf call insns): Likewise.
6661 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
6662 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6664 * alpha.c (call_operand): Any reg is valid for WinNT.
6665 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
6666 (anon nt calls): Add 'R' alternative.
6667 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
6668 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
6670 Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
6672 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
6674 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
6675 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6676 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6678 Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
6680 * reload1.c (new_spill_reg): Improve fixed or forbidden register
6681 spill error message.
6683 Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6685 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
6686 use varargs.h. Wrap header with <>, not "".
6688 Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
6690 * integrate.c (save_for_inline_copying): Add return value from
6693 Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
6695 * fixincludes: Be a little more restrictive on what we will
6696 substitute to replace definitions of MAXINT for HPUX.
6698 Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
6700 * dbxout.c (dbxout_symbol_location): Don't assume that variables
6701 whose address is the stack or argument pointers are indirect
6704 1997-11-13 Paul Eggert <eggert@twinsun.com>
6706 * cccp.c, cpplib.c (compare_defs):
6707 Don't complain about arg name respellings unless pedantic.
6708 * cpplib.c (compare_defs): Accept pfile as new arg.
6709 All callers changed.
6711 Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6713 * fold-const.c (fold_truthop): Fix bug in last change.
6715 1997-11-13 Paul Eggert <eggert@twinsun.com>
6717 Fix some confusion with IEEE minus zero.
6719 * real.h (REAL_VALUES_IDENTICAL): New macro.
6721 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
6722 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
6724 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
6725 same tree structure as 0.0.
6727 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
6728 macro instead of doing it by hand.
6730 Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
6732 * v850/lib1funcs.asm: Minor whitespace changes.
6733 * v850.c: Fix minor formatting problems in many places.
6734 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
6736 Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
6738 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
6739 xplus1 when xplus0 is not a register.
6741 Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
6743 * flow.c (find_basic_blocks): During marking phase, if we encounter
6744 an insn with a REG_LABEL note, make the target block live and
6745 create an edge from the insn to the target block. Do not make
6746 edges from all blocks to the target block.
6748 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
6750 * confiugre.in: Tweak NCR entries.
6751 * configure: Rebuilt.
6753 Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
6755 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
6756 pick apart floating point values, instead of using CONST_DOUBLE_LOW
6757 and CONST_DOUBLE_HIGH.
6759 * rs6000.md (define_splits for DF constants): Use the appropriate
6760 REAL_VALUE_* interface to pick apart DF floating point constants in
6761 a machine independent fashion.
6763 Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6765 * fold-const.c (fold_truthop): When changing a one-bit comparison
6766 against zero into a comparison against mask, do a proper sign
6769 Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
6771 * except.c: Do not include "assert.h".
6772 (save_eh_status): Turn asserts into conditional aborts.
6773 (restore_eh_status, scan_region): Likewise.
6774 * dwarfout.c: Do not include "assert.h".
6775 (bit_offset_attribute): Turn asserts into conditional aborts.
6776 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
6777 (output_inlined_structure_type_die): Likewise.
6778 (output_inlined_union_type_die): Likewise
6779 (output_tagged_type_instantiation): Likewise.
6780 (dwarfout_file_scope_decl): Likewise.
6781 * dwarf2out.c: Do not include "assert.h"
6782 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
6783 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
6784 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
6785 (add_bit_size_attribute, scope_die_for): Likewise.
6786 (output_pending_types_for_scope): Likewise.
6787 (get_inlined_enumeration_type_die): Likewise.
6788 (get_inlined_structure_type_die): Likewise.
6789 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
6790 (gen_tagged_type_instantiation_die): Likewise.
6792 * flow.c (find_basic_blocks): Refine further to get a more correct
6793 cfg, especially in the presense of exception handling, computed
6794 gotos, and other non-trivial cases. Call abort if an inaccuracy
6795 is detected in the cfg.
6797 Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6799 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
6801 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
6802 (skip_white_space): Use whitespace_cr.
6803 (check_newline): Handle whitespace more consistently.
6805 Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
6807 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
6808 * i386/xm-cygwin32.h (POSIX): Define.
6810 Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
6812 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
6813 is available elsewhere.
6815 Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
6817 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
6818 what the instruction can handle.
6820 Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
6822 * stmt.c (expand_decl_cleanup_no_eh): New fn.
6824 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
6826 Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
6828 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
6829 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
6831 Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
6833 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
6834 swap instruction order.
6836 Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
6838 * fixinc.svr4 (__STDC__): Add another case.
6840 Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6842 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
6843 addresses in the epilogue delay slot.
6845 Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
6847 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
6848 in generated `specs' file.
6850 Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
6852 * flags.h (flag_rerun_loop_opt): Declare.
6853 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
6854 * toplev.c (flag_rerum_loop_opt): Delete static.
6856 Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6858 Bring over from FSF:
6860 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6862 * va-sh.h (__va_arg_sh1): Define.
6864 SH3E doesn't use any integer registers for subsequent arguments
6865 once a non-float value was passed in the stack.
6866 * sh.c (machine_dependent_reorg): If optimizing, put explicit
6867 alignment in front label for ADDR_DIFF_VEC.
6868 * sh.h (PASS_IN_REG_P): Fix SH3E case.
6869 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
6871 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6873 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
6876 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6878 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
6879 put an use_sfunc_addr before each sfunc.
6880 * sh.md (use_sfunc_addr, dummy_jump): New insns.
6881 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
6883 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6885 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
6887 Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
6889 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
6892 Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
6894 * alias.c (find_base_value): Only return the known base value for
6897 Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
6899 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
6900 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
6902 (prologue_get_pc_and_set_got): New pattern.
6904 Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
6906 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
6907 for SUBREG, just fall through.
6909 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
6911 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
6913 Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
6915 * fixincludes: Fix "hypot" prototype in NeXT math.h.
6917 * Makefile.in (USE_ALLOCA): Always include alloca.o.
6918 (USE_HOST_ALLOCA): Likewise.
6920 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
6921 and LABEL_REFS fields.
6922 * rtl.h (LABEL_REFS): Update.
6924 Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
6926 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
6927 sets i2dest. When calling distribute_notes for i3dest_killed, pass
6928 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
6931 * mips.md (insv, extzv, extv): Add change_address call.
6932 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
6934 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
6936 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
6938 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
6939 save_restore_insns if no FP and GP will be restored.
6941 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
6942 Convert CCmode to word_mode before calling GET_MODE_SIZE.
6944 * acconfig.h (HAVE_INTTYPES_H): Undef.
6945 * configure.in (inttypes.h): Check for conflicts between sys/types.h
6946 and inttypes.h, and verify that intmax_t is defined.
6947 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
6948 * config/mips/x-iris3: Likewise.
6950 Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
6952 * alias.c (find_base_value): When copying arguments, return the
6953 tenative value for a hard register.
6955 Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
6957 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
6958 (yylex): Record wide strings using target endianness, not host.
6960 Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
6962 * mn10200.h (ASM_OUTPUT_BSS): Delete.
6963 (ASM_OUTPUT_ALIGNED_BSS): New macro
6964 * mn10300.h (ASM_OUTPUT_BSS): Delete.
6965 (ASM_OUTPUT_ALIGNED_BSS): New macro.
6966 * v850.h (ASM_OUTPUT_BSS): Delete.
6967 (ASM_OUTPUT_ALIGNED_BSS): New macro.
6969 Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6971 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
6973 Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
6975 * configure.in (sco5): Use cpio to install header files.
6977 Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
6979 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
6981 * configure: Rebuild.
6983 Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
6985 * i386/sco5.h: enable -gstabs once again.
6987 Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
6989 * arm.c (output_move_double): Allocate 3 entries in otherops array.
6991 Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
6993 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
6994 notes for sjlj exceptions too.
6995 (expand_eh_region_end): Similarly for EH_REGION_END notes.
6996 (exception_optimize): Optimize EH regions for sjlj exceptions too.
6997 * final.c (final_scan_insn): Don't output labels for EH REGION
6998 notes if doing sjlj exceptions.
7000 Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
7002 * alias.c (init_alias_analysis): Handle -fno-alias-check when
7003 optimizing correctly.
7005 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
7006 or set current_function_calls_setjmp anymore.
7008 * flow.c (find_basic_blocks): If we delete the label for an
7009 exception handler, remove it from the EH label list and remove
7010 the EH_BEGIN/EH_END notes for that EH region.
7012 Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
7014 * flow.c (find_basic_blocks): Generate correct flow control
7015 information when exception handling notes are present.
7017 Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
7019 * dwarf2out.c (output_call_frame_info): Fix length argument
7020 to ASM_OUTPUT_ASCII.
7021 (output_die, output_pubnames, output_line_info): Likewise.
7023 Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
7025 * version.c: Bump for snapshot.
7027 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
7028 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
7029 flag_debug_asm is on.
7030 (output_die, output_pubnames, output_line_info): Likewise.
7032 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
7033 and static_chain_rtx into the potential base values array if
7036 * alias.c (new_reg_base_value): New array of potential base values.
7037 (unique_id): Now file scoped static.
7038 (find_base_value, case REG): Return the value in reg_base_value
7039 array for the REG if it exists. Else, return the value from
7040 new_reg_base_value if copying args and REG is a hard register.
7041 (find_base_value, case PLUS): If either operand of the PLUS is
7042 a REG, try to get its base value. Handle base + index and
7044 (record_set): Use new_reg_base_value instead of reg_base_value.
7045 (init_alias_analysis): Allocate space for new_reg_base_value too.
7046 Rework code to iterate over the insns propagating base value
7047 information until nothing changes.
7049 * global.c (global_alloc): Free the conflict matrix after
7050 reload has finished.
7052 Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
7054 * libgcc2.c (L_eh): Define __eh_pc.
7055 Replace __eh_type with generic pointer __eh_info.
7057 Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
7059 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
7060 use copy_to_reg if address is not a general_operand.
7062 Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7064 * profile.c (output_func_start_profiler): Clear flag_inline_functions
7065 for the duration of the call to rest_of_compilation.
7067 Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
7069 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
7071 (sparc*-*-*): Recognize --with-cpu=v9.
7072 * sparc/elf.h: New file.
7073 * sparc/t-elf: New file.
7075 Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
7077 * mn10300.c (const_8bit_operand): New function.
7078 (mask_ok_for_mem_btst): New funtion.
7079 * mn10300.md (btst patterns with mem operands): Use new functions
7080 to avoid creating btst instructions with invalid operands.
7082 Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
7084 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
7085 are running on PowerPC Linux.
7087 Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
7089 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
7090 if not previously defined.
7092 Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
7094 * function.c (assign_parms): Correct mode of stack_parm if
7095 entry_parm underwent a mode conversion.
7097 1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
7099 * global.c (global_alloc): Use xmalloc instead of alloca for
7100 CONFLICTS, since max_allocno * allocno_row_words alone can be more
7101 than 2.5Mb sometimes.
7103 Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
7105 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
7106 DEST for the spill, adjust mode of SRC to compensate.
7108 Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
7110 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
7111 since any_memory_operand() allows pseudos during reload.
7112 (reload_inhi, reload_outqi, reload_outhi): Likewise.
7114 Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
7116 * m68k.md (btst patterns): Add 5200 support.
7118 Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7120 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
7121 optimizations, look inside dividend to determine if the expression
7122 can be simplified by using EXACT_DIV_EXPR.
7124 Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
7127 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
7129 Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
7131 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
7133 Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
7135 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
7138 Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
7140 * alpha.md (movqi, movhi): Make sure new insns created during reload
7141 won't need reloading themselves.
7142 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
7144 Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
7146 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
7148 Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
7150 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
7151 Patch from Klaus Kaempf <kkaempf@progis.de>.
7153 Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
7155 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
7156 to an element in a constant string.
7158 Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
7160 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
7161 bit PC-relative offset. The exception range table pointer is now in
7163 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
7164 (count_fdes, add_fdes, get_cie): Adjust.
7165 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
7168 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
7170 Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
7172 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
7173 like stack_pointer_rtx.
7175 Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
7177 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
7178 targets using "$@" to provide support for similar but not identical
7179 targets without having to duplicate code.
7180 (bootstrap4): New goal.
7182 * Makefile.in (compare, compare-lean, compare3): Combined to one
7183 ruleset determining actions to be performed via $@.
7184 (compare4, compare4-lean): New targets.
7185 (gnucompare, gnucompare3): Combined to one ruleset determining
7186 actions to be performed via $@. Also, note which files failed
7187 the comparison test in .bad_compare.
7188 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
7190 Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7192 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
7193 if the dividend is a multiple of the divisor.
7195 Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
7197 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
7199 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
7202 * alias.c (true_dependence): Fix typo.
7204 * toplev.c (flag_rerun_loop_opt): New variable.
7205 (f_options): Handle -frerun-loop-opt.
7206 (rest_of_compilation): If -frerun-loop-opt, then run the loop
7208 (main): Enable -frerun-loop-opt by default for -O2 or greater.
7210 * loop.c (simplify_giv_expr): Adding two invariants results
7213 Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
7215 * expr.c (get_inner_reference): Remove the array bias after
7216 converting the index to Pmode.
7218 Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
7220 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
7221 (TARGET_MULT_BUG): Define.
7222 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
7223 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
7225 Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
7227 * mn10200.c (indirect_memory_operand): Delete unused function.
7228 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
7229 * mn10200.md (bset, bclr insns): Handle output in a reg too.
7231 Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
7233 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
7234 the callee's ldgp, we must do it ourselves, and we use the jsr tag
7235 for more than scheduling.
7237 Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
7239 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
7241 Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
7243 * mn10300.c (symbolic_operand, legitimize_address): New functions.
7244 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
7245 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
7247 Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
7249 * version.c: Bump for snapshot.
7251 Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7253 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
7256 Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
7258 * toplev.c (flag_exceptions): Default value is 2.
7259 (compile_file): If flag_exceptions still has the value 2, then
7262 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
7263 (rs6000_save_machine_status): Save pic_offset_table_rtx.
7264 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
7266 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
7269 * rs6000.md (*movsi_got_internal_mem): New pattern.
7270 (*movsi_got_internal_mem splitter): New define_split.
7272 Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
7274 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
7276 Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7278 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
7279 only need to save LR.
7281 Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
7283 * mn10300.md (movqi, movhi): Avoid using address registers as
7284 destinations unless absolutely necessary.
7286 * mn10200.c (expand_prologue): Fix typo.
7288 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
7290 * mn10200.md (neghi2): Provide an alternative which works if
7291 the input and output register are the same.
7293 * mn10300.c (print_operand): Handle 'S'.
7294 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
7295 shift amount in last alternative
7297 * mn10300.c (expand_epilogue): Rework to handle register restores
7298 in "ret" and "retf" instructions correctly.
7300 Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
7302 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
7303 extzv for memory operands.
7305 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
7306 redundant conditional moves to single operand.
7308 Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
7310 * v850.h: Move define of __v850__ from CPP_PREDEFINES
7313 * xm-v850.h: Use __v850 rather than __v850__ to
7316 Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
7318 * mips/mips.c (compute_frame_size): Not a leaf function if
7321 Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7323 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
7325 Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
7327 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
7328 (DEFAULT_ARCH32_P): New macro.
7329 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
7330 (enum cmodel): Declare.
7331 (sparc_cmodel_string,sparc_cmodel): Declare.
7332 (SPARC_DEFAULT_CMODEL): Provide default.
7333 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
7334 (TARGET_FULLANY): Deleted.
7335 (TARGET_CM_MEDMID): New macro.
7336 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
7337 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7338 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
7339 (CPP_SPEC): Rewrite.
7340 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7341 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
7342 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7343 (ASM_SPEC): Add %(asm_arch).
7344 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
7345 Rename asm_default to asm_cpu_default.
7346 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
7347 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
7348 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
7349 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
7350 (MASK_INT64,MASK_LONG64): Delete.
7351 (MASK_ARCH64): Renamed to MASK_64BIT.
7352 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
7353 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
7354 (TARGET_SWITCHES): Always provide 64 bit options.
7355 (ARCH64_SWITCHES): Delete.
7356 (TARGET_OPTIONS): New option -mcmodel=.
7357 (INT_TYPE_SIZE): Always 32.
7358 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
7359 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
7360 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
7361 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
7362 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
7364 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7365 * sparc/linux.h: Likewise.
7366 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
7367 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7368 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
7369 (SPARC_DEFAULT_CMODEL): Define.
7370 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7371 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7372 (LONG_DOUBLE_TYPE_SIZE): Define.
7373 (ASM_SPEC): Add %(asm_arch).
7374 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7375 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7376 (TARGET_CPU_DEFAULT): Add ultrasparc case.
7377 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
7378 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
7379 (SPARC_DEFAULT_CMODEL): Define.
7380 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
7381 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
7382 MASK_LONG64, MASK_MEDANY.
7383 (SPARC_DEFAULT_CMODEL): Define.
7384 (CPP_PREDEFINES): Delete.
7385 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7386 (ASM_SPEC): Add %(asm_arch).
7387 (LONG_DOUBLE_TYPE_SIZE): Define.
7388 (DWARF2_DEBUGGING_INFO): Define.
7389 * sparc/splet.h (CPP_SPEC): Delete.
7390 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7391 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
7392 (BLOCK_PROFILER): Likewise.
7393 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
7394 (sparc_override_options): Handle code model selection.
7395 (sparc_init_expanders): Renamed from sparc64_init_expanders.
7396 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
7397 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
7398 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
7399 (sethi_di_fullany): Delete.
7401 Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
7402 Jeff Law <law@cygnus.com>
7403 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7405 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
7406 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
7407 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
7408 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
7409 * alpha/alpha.md (arg_home): Likewise.
7411 * alpha/alpha.c (vmskrunch): Delete
7412 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
7413 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
7414 truncate to 64 characters.
7416 * make-l2.com: Support openVMS/Alpha.
7418 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
7420 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7422 * longlong.h (count_leading_zeros): Add missing casts to USItype.
7424 Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
7426 * i386/bsd386.h (ASM_COMMENT_START): Define.
7428 Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
7430 * tree.c (restore_tree_status): Also free up temporary storage
7431 when we finish a toplevel function.
7432 (dump_tree_statistics): Print stats for backend obstacks.
7434 Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
7436 * expr.c (use_group_regs): Don't call use_reg for MEMs.
7438 Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
7440 * libgcc2.c (__throw): Don't copy the return address.
7441 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
7443 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
7444 * toplev.c (main): Initialize exceptions_via_longjmp.
7446 * tree.c: Add extra_inline_obstacks.
7447 (save_tree_status): Use it.
7448 (restore_tree_status): If this is a toplevel inline obstack and we
7449 didn't want to save anything on it, recycle it.
7450 (print_inline_obstack_statistics): New fn.
7451 * function.c (pop_function_context_from): Pass context to
7452 restore_tree_status.
7453 * obstack.h (obstack_empty_p): New macro.
7455 Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
7457 * i386/freebsd.h (ASM_COMMENT_START): Fix.
7459 Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
7461 * v850.c (ep_memory_offset): New function.
7462 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
7464 * v850.h (CONST_OK_FOR_*): Add and correct comments.
7465 (CONSTANT_ADDRESS_P): Add comment.
7466 (EXTRA_CONSTRAINT): Define 'U'.
7467 * v850.md: Add comments on bit field instructions.
7468 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
7469 (lshrsi3): Use N not J constraint.
7471 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
7473 * v850.c (reg_or_0_operand): Call register_operand.
7474 (reg_or_int5_operand): Likewise.
7475 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
7476 (TARGET_SWITCHES): Add "big-switch".
7477 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
7478 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
7479 (CASE_DROPS_THROUGH): Comment out.
7480 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
7481 * v850.md (cmpsi): Delete compare mode.
7482 (casesi): New pattern.
7484 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
7485 * v850.md (ashlsi3): Use SImode not QImode for shift count.
7486 (lshrsi3): Likewise.
7488 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
7489 unreachable switch statement after 'b' support. Remove "b" from
7490 strings for 'b' support.
7491 * v850.md (branch_normal, branch_invert): Change %b to b%b.
7493 Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
7495 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
7496 empty line if @inhibit_libc@ is empty.
7498 Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
7500 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
7501 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
7502 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7503 (DWARF2_UNWIND_INFO): Let this track object file format.
7504 (EXTRA_SECTIONS): Add in_eh.
7505 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
7506 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7508 Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
7510 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
7511 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
7513 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
7514 (output_double_int): Output DI mode values correctly when
7515 HOST_BITS_PER_WIDE_INT is 64.
7516 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
7517 fmovd so it works if a quad float ends up in one of the upper 32
7519 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
7520 necessary for PIC support on sparc64.
7522 Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
7524 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
7525 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
7526 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
7527 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
7528 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
7529 (SPARC_FP_ARG_FIRST): New macro.
7530 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
7531 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
7532 (NPARM_REGS): There are 32 fp argument registers now.
7533 (FUNCTION_ARG_REGNO_P): Likewise.
7534 (FIRST_PARM_OFFSET): Update to new v9 abi.
7535 (REG_PARM_STACK_SPACE): Define for arch64.
7536 (enum sparc_arg_class): Delete.
7537 (sparc_arg_count,sparc_n_named_args): Delete.
7538 (struct sparc_args): Redefine and use for arch32 as well as arch64.
7539 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
7540 (FUNCTION_ARG_ADVANCE): Rewrite.
7541 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
7542 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
7543 (FUNCTION_ARG_CALLEE_COPIES): Delete.
7544 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
7545 (STRICT_ARGUMENT_NAMING): Define.
7546 (doublemove_string): Declare.
7547 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
7548 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
7549 (doublemove_string): New function.
7550 (output_move_quad): Clean up some of the arch64 support.
7551 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
7552 Don't add 8 bytes of reserved space if arch64.
7553 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
7554 (init_cumulative_args): New function.
7555 (function_arg_slotno): New static function.
7556 (function_arg,function_arg_partial_nregs): New functions.
7557 (function_arg_{pass_by_reference,advance}): New functions.
7558 (function_arg_padding): New function.
7559 * ginclude/va-sparc.h: Rewrite v9 support.
7561 Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
7563 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
7564 for hard regs to determine base and index registers.
7566 * reload.c (debug_reload_to_stream): New function. Specify stream
7567 into which to write debug info.
7568 (debug_reload): Modify to call debug_reload_to_stream with stderr.
7570 Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
7572 * combine.c (can_combine_p): Don't combine with an asm whose
7573 output is a hard register.
7575 Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
7577 * c-decl.c (start_struct): Ensure that structs with forward
7578 declarations are in fact packed when -fpack-struct is given.
7580 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
7581 we are packing a structure. This allows a structure with only
7582 bytes to be aligned on a byte boundary and have no padding on a
7585 Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7587 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
7589 Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
7591 * alpha.c (alpha_return_addr_rtx): New variable.
7592 (alpha_save_machine_status): New; save it.
7593 (alpha_restore_machine_status): New; restore it.
7594 (alpha_init_expanders): New; clear it.
7595 (alpha_return_addr): New; set it.
7596 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
7597 is overly conservative, so search the insns explicitly.
7598 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
7599 (alpha_sa_size [VMS && !VMS]): Likewise.
7600 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
7601 (INIT_EXPANDERS): New definition.
7603 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
7604 (output_prolog [!VMS]): Use them.
7606 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
7607 (alpha_does_function_need_gp): ... a new function. Refine the
7608 CALL_INSN test to just TYPE_JSR.
7609 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
7611 Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
7613 * version.c: Bump for snapshot.
7615 Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7617 * pa.c (move_operand): Respect -mdisable-indexing.
7618 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
7620 Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
7622 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
7624 (umulsidi3,umulsi3_highpart): Ditto.
7625 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
7627 Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
7629 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
7630 (alpha_handle_trap_shadows): ... a new function. Handle the entire
7631 function in one go. Emit RTL for trapb, instead of printf directly.
7632 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
7633 (trap_pending): Kill global variable.
7634 (output_epilog): Don't call final_prescan_insn.
7635 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
7636 * alpha.h (FINAL_PRESCAN_INSN): Remove.
7637 (MACHINE_DEPENENT_REORG): Define.
7638 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
7641 Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
7643 Tune Haifa scheduler for Alpha:
7644 * alpha.h (ISSUE_RATE): Define.
7645 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
7646 EV4 adjustments to EV5.
7647 * alpha.md: Remove all scaling from function unit delays. Rework
7648 EV5 function units to match the CPU.
7649 (umuldi3_highpart): EV5 added the IMULH insn class.
7651 Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
7653 * pa.c (following_call): Fail if the CALL_INSN is an indirect
7656 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
7658 * cplus-dem.c (demangle_signature): Don't look for return types on
7659 constructors. Handle member template constructors.
7661 Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
7663 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
7664 * tree.h: Declare them.
7666 Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
7668 * configure.in: Handle --with-newlib.
7669 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
7671 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
7673 Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
7675 * config/ptx4.h: Fix typo.
7677 Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
7679 * version.c: Bump for snapshot.
7681 Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
7683 * aclocal.m4: Substitute INSTALL.
7684 * configure: Re-built.
7686 Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
7688 * integrate.c (save_for_inline_copying): Avoid undefined pointer
7690 (expand_inline_function): Likewise.
7692 * dwarf2out.c (output_call_frame_info): Reinstate last change
7693 using flag_debug_asm check instead of flag_verbose_asm.
7695 Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
7697 * dwarf2out.c (output_call_frame_info): Remove last change.
7699 1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7701 * frame.c (__frame_state_for): Execute the FDE insns until the
7702 current pc value is strictly bigger than the target pc value.
7704 Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
7706 * regclass.c (init_reg_modes): If we can't find a mode for the
7707 register, use the previous one.
7709 Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
7711 * haifa-sched.c (print_block_visualization): Call fprintf directly,
7712 don't sprintf through an alloca'ed buffer.
7714 Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
7716 * reload.c (decompose): Always initialize val.base.
7718 Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7720 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
7721 instead of aborting.
7722 * dwarf2out.c (output_call_frame_info): Call app_enable and
7723 app_disable to let GNU as accept the generated comments.
7725 Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
7727 * tree.h (get_file_function_name): Add declaration.
7728 * dwarf2out.c (output_call_frame_info): No need to cast
7729 get_file_function_name call anymore.
7730 * profile.c (toplevel): Remove get_file_function_name
7732 * c-lang.c (finish_file): Ditto.
7734 Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
7736 * Makefile.in (program_transform_name): Let autoconf substitute
7739 Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
7741 * haifa-sched.c (schedule_block): If the first real insn in a
7742 block has any special notes attached to it, remove them.
7744 Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
7746 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
7748 Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7750 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
7752 Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
7754 * Makefile.in (check-g77): New test target.
7755 (CHECK-TARGETS): Add check-g77.
7757 Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
7759 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
7761 Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
7763 * flow.c (print_rtl_with_bb): Cast alloca return value for
7766 Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
7768 * i386.h (RETURN_ADDR_RTX): New definition that works for
7769 __builtin_return_address(0) and -fomit-frame-pointer.
7771 Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
7773 Bring over from FSF.
7774 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
7776 * mips.c (function_arg): Handle passing a struct
7777 containing a double in a DFmode register without the PARALLEL.
7779 Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
7781 * pexecute.c: Use spawn if __CYGWIN32__.
7783 * pexecute.c: Include "config.h" first, as per autoconf manual
7784 (from Paul Eggert <eggert@twinsun.com>).
7786 Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7788 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
7789 optimisation for f/expr.o and f/stb.o.
7791 Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
7793 * cse.c (this_insn_cc0_mode): Initialize.
7795 Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
7797 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
7799 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
7801 Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
7803 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
7804 that pair will dual-issue on the 21164 and plus+beq won't.
7805 (bne): Likewise for cmpeq+beq.
7807 Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
7809 * except.c (find_exception_handler_labels): Correct argument to free.
7811 Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
7813 * except.c (find_exception_handler_labels): Free LABELS when we're
7816 Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
7818 * version.c: Bump for snapshot.
7820 Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
7822 * flow.c (find_basic_blocks): Mark calls as potentially jumping
7825 Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
7827 * configure.in: Substitute for "install" too.
7828 * configure: Rebuilt.
7830 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
7832 * Makefile.in (bootstrap-lean, compare-lean): New targets.
7834 Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
7836 * alias.c (base_alias_check): Two symbols can conflict if they
7837 are accessed via AND.
7838 (memrefs_conflict_p): Likewise.
7840 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
7841 after flushing argument registers to the stack.
7843 * Makefile.in (mostlyclean): Remove .regmove files.
7845 Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
7847 * libgcc2.c (__throw): Fix thinko.
7849 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
7851 * cplus-dem.c (demangle_template): Add new parameter. Handle new
7852 template-function mangling.
7853 (consume_count_with_underscores): New function.
7854 (demangle_signature): Handle new name-mangling scheme.
7856 Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7858 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
7861 Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
7863 * frame.c: Remove last change.
7864 * dwarf2.h: Remove last change.
7865 * tree.h: Add declarations of DWARF2 unwind info support
7868 Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
7870 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
7871 * tree.h (built_in_function): Likewise.
7872 * expr.c (expand_builtin): Likewise.
7873 * except.h: Likewise.
7874 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
7875 * libgcc2.c (copy_reg): New fn.
7878 Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
7880 * c-typeck.c (build_binary_op): Warn about comparing signed vs
7881 unsigned if -W is specified and -Wno-sign-compare is not.
7882 * c-decl.c (warn_sign_compare): Initialize to -1.
7883 (c_decode_option): -Wall no longer implies -Wsign-compare.
7885 Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7887 * frame.c: Include gansidecl.h for PROTO.
7888 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
7889 defined. Don't declare dwarf2out_cfi_label here.
7890 * dwarf2.h: Add declarations of DWARF2 unwind info support
7892 * m68k.c: Include dwarf2.h.
7893 (output_function_prologue): Add dwarf2 support.
7894 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
7895 (INCOMING_FRAME_SP_OFFSET): Likewise.
7897 * integrate.c (expand_inline_function): Make sure there is at
7898 least one insn that can be used as an insertion point.
7900 Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
7902 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
7904 Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
7906 * version.c: Bump for snapshot.
7908 Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
7910 Bring over from FSF.
7912 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
7914 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
7915 (get_pc_via_rdpc): Renamed from get_pc_sp64.
7916 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
7918 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
7920 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
7921 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
7923 (sparc_align_{loops,jumps,funcs}_string): Declare.
7924 (sparc_align_{loops,jumps,funcs}): Declare.
7925 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
7926 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
7927 (STACK_BIAS): Define.
7928 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
7930 (SPARC_SETHI_P): New macro.
7931 (CONST_OK_FOR_LETTER_P): Use it.
7932 (ASM_OUTPUT_ALIGN_CODE): Define.
7933 (ASM_OUTPUT_LOOP_ALIGN): Define.
7934 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
7935 (sparc_align_{loops,jumps,funcs}): New globals.
7936 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
7938 (move_operand): Use SPARC_SETHI_P.
7939 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
7941 (arith11_double_operand): Likewise.
7942 (arith10_double_operand): Likewise.
7943 (finalize_pic): Finish sparc64 support.
7944 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
7945 64 bit constants if able.
7946 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
7947 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
7949 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
7950 (get_pc_sp32): Use for sparc64 as well.
7951 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
7952 (sethi_di_sp64_const): Likewise.
7953 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
7954 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
7955 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
7957 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
7959 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
7960 * sparc/linux.h (COMMENT_BEGIN): Likewise.
7961 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
7963 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
7965 Add sparc64 linux support.
7966 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
7967 to xm_file list on 32-bit sparc-linux.
7968 * sparc/xm-sp64.h: New file.
7969 * sparc/linux64.h: New file.
7970 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
7971 Don't include xm-sparc.h.
7972 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
7973 * glimits.h (LONG_MAX): Handle sparc64.
7975 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
7977 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
7978 * sparc.h (ASM_COMMENT_START): Define.
7979 * sparc.c (output_function_prologue): Use it.
7980 (sparc_flat_output_function_{epi,pro}logue): Likewise.
7982 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
7984 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
7985 use sparc.h's copies.
7986 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
7989 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7991 * sparc.c (dwarf2out_cfi_label): Add declaration.
7992 (save_regs, output_function_prologue): Remove cast for it.
7993 (sparc_flat_{save_restore,output_function_prologue): Likewise.
7994 ({save,restore}_regs): No longer inline.
7996 Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7998 * fold-const.c (make_range): Correctly handle cases of converting
7999 from unsigned to signed type.
8001 Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8003 * fold-const.c (merge_ranges): Make sure that if one range is subset
8004 of another, it will always be the second range. Correct (+,-) case to
8007 Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
8009 * final.c (final_end_function): Also do dwarf2 thing if
8010 DWARF2_DEBUGGING_INFO.
8011 (final_start_function): Likewise.
8013 Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
8015 * expmed.c (expand_divmod): If compute_mode is not the same as
8016 mode, handle the case where convert_modes() causes op1 to no
8017 longer be a CONST_INT.
8019 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
8020 note holding get_jump_flags() calculation to all JUMP_INSNs.
8021 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
8022 * rtl.c (reg_note_name): Add new note types.
8024 Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
8026 * rtlanal.c (computed_jump_p): Fix typo in last change.
8028 Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8030 * loop.c (indirect_jump_in_function_p): Return 0
8033 Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
8035 * rs6000/xm-rs6000.h: Fix thinko in last change.
8036 * rs6000/xm-sysv4.h: Likewise.
8038 Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
8040 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
8042 Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
8044 * reg-stack.c (find_blocks): Fix thinko in last change.
8046 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8048 * m68k.c (output_function_prologue): Add dwarf2 support.
8050 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
8051 INCOMING_FRAME_SP_OFFSET): New definitions.
8053 Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
8055 * combine.c (try_combine): Use NULL_RTX instead of '0' where
8056 appropriate in calls to gen_rtx().
8057 * cse.c (cse_main): Likewise.
8058 * emit-rtl.c (gen_label_rtx): Likewise.
8059 * expr.c (init_expr_once): Likewise.
8060 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
8061 sched_analyze, init_rgn_data_dependences,
8062 compute_block_backward_dependences): Likewise.
8063 * sched.c (schedule_insns): Likewise.
8064 * varasm.c (immed_double_const): Likewise.
8066 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
8067 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
8069 Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
8071 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
8072 (MULTILIB_DEFAULTS): Define.
8073 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
8074 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
8075 (LIBGCC_SPEC): Likewise.
8076 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
8077 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
8078 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
8079 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
8080 (EXTRA_PARTS, TAROUTOPTS): Delete.
8081 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
8082 (MULTILIB_OPTIONS): Define.
8083 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
8084 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
8086 Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
8088 * version.c: Bump for snapshot.
8090 Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
8092 * loop.c (loop_number): Delete function. Change all references
8093 to use uid_loop_num array.
8094 * loop.h (loop_number): Delete declaration.
8095 * unroll.c (unroll_loop): Change "loop_number" references to
8096 use uid_loop_num instead.
8098 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
8100 (loop_unroll_iter): Remove unused variable and all references.
8101 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
8102 (insert_bct): Fix minor formatting problems.
8103 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
8104 (loop_unroll_iter): Removed unused decl.
8105 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
8106 Always record the unrolling factor.
8108 * cse.c (simplify_relational_operation): Set h0u just like h0s.
8109 Similarly for h1u and h1s.
8111 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
8112 (find_basic_blocks): Use computed_jump_p to determine if a
8113 particular JUMP_INSN is a computed jump.
8114 * reg-stack.c (find_blocks): Use computed_jump_p to determine
8115 if a particular JUMP_INSN is a computed jump.
8116 * rtlanal.c (jmp_uses_reg_or_mem): New function.
8117 (computed_jump_p): Likewise.
8118 * rtl.h (computed_jump_p): Declare.
8119 * genattrtab.c (pc_rtx): Define and initialize.
8120 * loop.c (loop_optimize): Always determine if the current
8121 function has a computed jump.
8122 (indirect_jump_in_function_p): Use computed_jump_p to determine
8123 if a particular JUMP_INSN is a computed jump.
8125 * loop.c (fix_bct_param): Delete unused function.
8126 (check_bct_param): Likewise.
8128 Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
8130 * frame.c (__deregister_frame): Check properly for initialized object.
8132 Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8134 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
8136 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8138 * jump.c (thread_jumps): check can_reverse_comparison_p before
8139 threading a reversed-condition jump.
8141 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
8142 * haifa-sched.c (update_flow_info): Likewise.
8144 Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
8146 * Makefile.in (BOOT_CFLAGS): Use -O2.
8148 * configure.in (strtoul, bsearch): Have autoconf check for these
8150 * configure, config.in: Rebuilt.
8152 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
8153 * mips/mips.h (alloca): Likewise.
8154 * rs6000/xm-rs6000.h (alloca): Likewise.
8155 * rs6000/xm-sysv4.h: Likewise.
8157 Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
8159 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
8160 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
8161 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
8163 * except.c (end_eh_unwinder): Subtract 1 from return address.
8164 * libgcc2.c (__throw): Likewise.
8165 (find_exception_handler): Don't change PC here. Compare end with >.
8167 Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
8169 * v850.c (compute_register_save_size): Correct register
8171 * v850.md (save_interrupt, return_interrupt): Correct
8173 * v850/lib1funcs.asm (save_interrupt): Correct register number.
8174 (return_interrupt): Use stack pointer, not element pointer.
8176 1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
8178 * configure.in, configure: Make sure to create the stage* and include
8179 symbolic links in each subdirectory.
8181 Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
8183 * pa.md (reload_peepholes): Don't allow addresses with side
8184 effects for the memory operand.
8186 Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
8188 * libgcc2.c (find_exception_handler): Subtract one from our PC when
8189 looking for a handler, to avoid hitting the beginning of the next
8192 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
8194 Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
8196 * mips/abi64.h (LONG_MAX_SPEC): Define.
8197 * mips.h (LONG_MAX_SPEC): Define.
8198 (CPP_SPEC): Include long_max_spec.
8199 (EXTRA_SPECS): Include long_max_spec.
8201 Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
8203 * v850.c (construct_save_jarl): Fix thinko in last change.
8205 Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
8207 * version.c: Bump for snapshot.
8209 Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
8211 * libgcc2.c (find_exception_handler): Not found is -1.
8213 * integrate.c (expand_inline_function): Move expand_start_bindings
8214 after expanding the arguments.
8216 Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
8218 * expr.c (expand_expr): Remove previous incorrect change.
8219 If target and slot has no DECL_RTL, then call mark_addressable
8220 again for the slot after we give it RTL.
8222 Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
8224 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
8225 again for the slot after we give it RTL.
8227 Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
8229 * v850.c (register_is_ok_for_epilogue,
8230 pattern_is_ok_for_epilogue, construct_restore_jr,
8231 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
8233 * v850.h (pattern_is_ok_for_prologue,
8234 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
8237 * v850.md: Replace prologue and epilogue patterns with a
8238 match_parallel pattern.
8240 Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
8242 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
8243 * configure.in: Use EGCS_PROG_INSTALL.
8245 Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
8247 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
8248 extern inline function.
8250 Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
8252 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
8253 (concat_loc_descriptor): New function.
8254 (loc_descriptor): Call it.
8255 (add_AT_location_description): Also elide the descriptor if both
8256 halves of a CONCAT are pseudos.
8257 (add_location_or_const_value_attribute): Recognize CONCAT too.
8259 Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
8261 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
8263 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
8264 out-or-range reg_offset.
8265 (output_epilog): Likewise.
8267 Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
8269 * cse.c (simplify_relational_operation): If MODE specifies a
8270 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
8271 is derived from the sign bit of the low word.
8273 Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8275 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
8277 * dwarf2.h: Add DW_CFA_GNU_args_size.
8278 * frame.c (execute_cfa_insn): Likewise.
8279 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
8280 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
8281 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
8282 insn, hand it off to dwarf2out_stack_adjust.
8283 (dwarf2out_begin_prologue): Initialize args_size.
8284 * frame.h (struct frame_state): Add args_size.
8285 * libgcc2.c (__throw): Use args_size.
8286 * final.c (final_scan_insn): If we push args, hand off all insns
8287 to dwarf2out_frame_debug.
8288 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
8290 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
8291 Handle epilogue restore of SP from FP.
8292 * emit-rtl.c (gen_sequence): Still generate a sequence if the
8293 lone insn has RTX_FRAME_RELATED_P set.
8295 * frame.c (extract_cie_info): Handle "e" augmentation.
8296 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
8297 absence of UNALIGNED_*_ASM_OP.
8298 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
8299 (output_call_frame_info): Use "e" instead of "z" for augmentation.
8300 Don't emit augmentation fields length.
8301 (dwarf2out_do_frame): Move outside of #ifdefs.
8302 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
8305 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
8306 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
8307 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
8308 * sparc/sun4gas.h: New file.
8309 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
8311 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
8312 __register_frame_table and __deregister_frame.
8314 1997-09-15 Brendan Kehoe <brendan@cygnus.com>
8316 * except.c (find_exception_handler_labels): Use xmalloc instead of
8317 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
8320 Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
8322 * Makefile.in: Various changes to build info files
8323 in the object tree rather than the source tree.
8325 Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
8327 * fixinc.math: New file to fix math.h on some systems.
8328 * configure.in (freebsd, netbsd): Use fixinc.math on these
8330 * configure: Rebuilt.
8332 Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
8334 * regmove.c (regmove_optimize): If we end up moving the
8335 original insn due to lifetime overlaps, make sure to move
8338 Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
8340 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
8342 Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
8344 * haifa-sched.c (add_branch_dependences): Make each insn in
8345 a SCHED_GROUP_P block explicitly depend on the previous insn.
8347 Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8349 * except.h: Prototype dwarf2 hooks.
8352 Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
8354 * configure.in (native_prefix): Delete.
8355 (mips-dec-netbsd): Don't set prefix.
8356 (*linux*): Don't set prefix.
8358 Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
8360 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
8361 defined. If not defined, include <sys/varargs.h> if
8362 HAVE_SYS_VARARGS_H is defined.
8363 * configure.in: Test for varargs.h and sys/varargs.h.
8364 * configure: Regenerate with autoconf.
8365 * config.in: Regenerate with autoheader.
8367 * cpplib.c (quote_string): Cast first arg of sprintf call
8368 from "unsigned char *" to "char *".
8369 (output_line_command): Ditto.
8370 (macroexpand): Ditto.
8371 (do_line): Cast atoi arg from "unsigned char *" to "char *".
8373 Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
8375 * version.c: Bump for snapshot.
8377 * Makefile.in (compare): Exit with nonzero status if there
8378 are comparison failures. Note which files failed the
8379 comparison test in .bad_compare.
8381 Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8383 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
8385 Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
8387 * Makefile.in (LN, LN_S): New macros, use where appropriate.
8388 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
8389 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
8390 * configure: Regenerated.
8392 Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
8394 * loop.c (strength_reduce): Fix typo.
8396 Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
8398 * m88k/m88k.c (struct option): Rename to struct options.
8399 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
8400 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
8401 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
8402 __DOLPHIN__ or sysV88.
8404 Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
8406 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
8409 Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
8411 * config.sub: Accept 'amigados' for backward compatability.
8413 Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8415 * Makefile.in (testsuite/site.exp): New target.
8416 (check-gcc, check-g++): Depend on testsuite/site.exp.
8417 Don't stop for failure.
8419 Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
8421 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
8422 if DWARF2_UNWIND_INFO.
8424 Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
8426 Add support for exception handling using DWARF 2 frame unwind info.
8427 Currently works on SPARC and MIPS, and almost on x86.
8429 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
8430 next_stack_level, in_reg_window): Helper fns.
8431 (__throw): Implement for DWARF2_UNWIND_INFO.
8433 * expr.c (expand_builtin): Handle builtins used by __throw.
8434 * tree.h (enum built_in_function): Add builtins used by __throw.
8435 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
8436 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
8437 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
8438 (expand_builtin_extract_return_addr): Likewise.
8439 (expand_builtin_frob_return_addr): Likewise.
8440 (expand_builtin_set_return_addr_reg): Likewise.
8441 (expand_builtin_eh_stub): Likewise.
8442 (expand_builtin_set_eh_regs): Likewise.
8443 (eh_regs): Choose two call-clobbered registers for passing back values.
8445 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
8446 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
8447 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
8448 (stmp-multilib): Likewise.
8449 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
8451 * except.c: #include "defaults.h".
8452 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
8453 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
8454 (register_exception_table_p): New fn.
8455 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
8456 (end_eh_unwinder): Likewise.
8458 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
8459 call __register_frame and __deregister_frame as needed.
8460 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
8461 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
8462 EH_FRAME_SECTION_ASM_OP.
8463 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
8464 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
8465 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
8467 * dwarf2out.c (output_call_frame_info): If no support for
8468 EXCEPTION_SECTION, mark the start of the frame info with a
8470 * collect2.c (frame_tables): New list.
8471 (is_ctor_dtor): Recognise frame entries.
8472 (scan_prog_file): Likewise.
8473 (main): Pass -fno-exceptions to sub-compile. Also do collection
8474 if there are any frame entries.
8475 (write_c_file_stat): Call __register_frame_table and
8476 __deregister_frame as needed.
8477 (write_c_file_glob): Likewise.
8479 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
8480 Also require unaligned reloc support.
8481 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8482 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
8483 * sparc/sysv4.h: Not here.
8485 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
8486 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
8487 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
8489 * libgcc2.c (L_eh): Reorganize, moving code shared by different
8490 EH implementations to the top.
8491 (find_exception_handler): Split out. Start from 0. Compare against
8493 (__find_first_exception_table_match): Use it.
8494 * except.c (output_exception_table): Don't do anything if there's
8495 no table. Don't output a first entry of zeroes.
8496 (eh_outer_context): Adjust properly.
8497 (add_eh_table_entry): Use xrealloc.
8498 * toplev.c (compile_file): Just call output_exception_table.
8500 Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
8502 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
8504 Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
8506 * except.c (eh_outer_context): Do masking using expand_and.
8508 Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
8510 Add port done awhile ago for the ARC cpu.
8511 * arc/arc.h: New file.
8512 * arc/arc.c: New file.
8513 * arc/arc.md: New file.
8514 * arc/initfini.c: New file.
8515 * arc/lib1funcs.asm: New file.
8516 * arc/t-arc: New file.
8517 * arc/xm-arc.h: New file.
8518 * ginclude/va-arc.h: New file.
8519 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
8520 * ginclude/varargs.h: Likewise.
8521 * Makefile.in (USER_H): Add va-arc.h.
8522 * configure.in (arc-*-elf*): Recognize.
8523 * longlong.h: Add ARC support.
8525 Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
8527 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
8528 when clearing non-BLKmode data.
8530 Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
8532 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
8533 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
8535 * xm-m88k.h (USG): Only define if it hasn't already been defined.
8537 * Makefile.in (risky-stage1): Delete gratutious whitespace.
8539 * Makefile.in (clean): Delete libgcc1-test.
8541 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
8543 Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
8545 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
8548 Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8550 * dwarf2out.c (output_call_frame_info): Call named_section.
8552 Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
8554 * haifa-sched.c (print_value): Fix last change.
8556 Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
8558 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
8561 Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
8563 * mips.c (function_prologue): Set up the CFA when ABI_32.
8565 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
8566 for dwarf2 unwind info.
8567 (output_function_prologue, sparc_flat_output_function_prologue): Same.
8569 * final.c (final_end_function): Check dwarf2out_do_frame instead
8570 of DWARF2_DEBUG for dwarf2 unwind info.
8571 (final_scan_insn): Likewise.
8572 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
8575 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
8578 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
8580 Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
8582 * v850.h (ASM_SPEC): Pass on target processor.
8583 (CPP_PREDEFINES): Only define if not already specified.
8584 (TARGET_VERSION): Only define if not already specified.
8585 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
8587 (EXTRA_SWITCHES): Extra entries in the switches array.
8588 (TARGET_DEFAULT): Set default target processor.
8590 Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
8592 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
8593 cases, add %# and %/, and add : to make them into extended asms.
8595 Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
8597 * alias.c (init_alias_analysis): Clean up incompatible pointer
8598 type warning in bzero.
8599 * regmove.c (regmove_optimize): Ditto.
8600 * haifa-sched.c (find_rgns): Ditto.
8602 * haifa-sched.c (print_value): Clean up ptr->int cast
8605 Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
8607 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
8608 * install.texi (Configurations): Ditto.
8609 * config.sub: Ditto.
8611 Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
8613 * Makefile.in (sdbout.o): Depend on insn-config.h.
8615 Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
8617 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
8618 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
8620 Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
8622 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
8623 prologue insn, only the first elt is significant.
8624 (output_call_frame_info): For exception handling, always use 4-byte
8625 fields as specified by the dwarf2 spec.
8626 Don't skip trivial FDEs.
8628 Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
8630 * version.c: Bump for snapshot.
8632 Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
8634 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
8635 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
8638 Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
8640 * final.c (shorten_branches): During first pass, assume worst
8641 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
8643 * Makefile.in (distclean): Remove various things left around
8644 by running the testsuite.
8646 Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
8648 * configure.in (out_file): Emit definition to config.status in order
8649 to have a defined value for configure.lang.
8650 * configure: Re-built.
8652 Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
8654 * configure.in: Make symlink to as-new rather than as.new. Similarly
8656 * configure: Rebuilt.
8658 Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
8660 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
8662 Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
8664 * sparc/sparc.md: Add ultrasparc scheduling support.
8665 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
8667 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8669 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
8670 as initial value for real_label_map.
8671 (copy_for_inline): Likewise.
8673 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8675 * sched.c (update_flow_info) When looking if to set found_split_dest
8676 or found_orig_dest, look at all parts of a PARALLEL.
8677 * haifa-sched.c (update_flow_info): Likewise.
8679 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
8681 * v850: New directory for v850 port.
8682 * v850/lib1funcs.asm: New file.
8683 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
8684 * ginclude/va-v850.h: New file.
8685 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
8686 * configure.in (mn10200-*-*): New target.
8687 * configure: Rebuilt.
8688 * config.sub: Handle v850-elf.
8689 * Makefile.in (USER_H): Add va-mn10200.h.
8690 * invoke.texi: Document v850 stuff.
8692 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
8694 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
8695 has integer TYPE_{MAX,MIN}_VALUE before using them.
8697 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
8698 __HPUX_ASM__ versions.
8700 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
8702 * install.sh: Delete duplicate install script.
8704 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
8706 * reg-stack.c (subst_stack_regs): Pop the stack register for a
8707 computed goto which sets the same stack register.
8709 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
8710 destination are both on the regstack.
8711 (subst_stack_regs_pat): Put the destination at the top of the regstack.
8713 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
8715 * mips.md (nonlocal_goto_receiver): Define.
8717 * profile.c (output_arc_profiler): Check next_insert_after for non
8718 NULL before deferencing it.
8720 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
8722 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
8724 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
8726 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
8728 * toplev.c (rest_of_compilation): For passes starting with
8729 flow_analysis, use print_rtl_with_bb instead of print_rtl.
8731 * print-rtl.c (print_rtl_single): Print a single rtl value to a
8734 * flow.c (print_rtl_with_bb): Print which insns start and end
8735 basic blocks. For the start of a basic block, also print the live
8738 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
8740 * toplev.c (main): Change #elif to #else/#ifdef
8742 * tlink.c: Include ctype.h.
8743 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
8745 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
8747 * bitmap.c: Conditionally include stdlib.h.
8748 (free): Provide a declaration if NEED_DECLARATION_FREE.
8750 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
8752 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
8754 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
8756 * profile.c (output_arc_profiler): Verify next_insert_after is an
8757 INSN before and after skipping a stack pop.
8759 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8761 * final.c (shorten_branches): Don't count the lengths of deleted
8764 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
8766 * version.c: Bump for snapshot.
8768 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
8770 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
8771 two bitmaps ANDed together.
8772 (bitmap_print): Declare.
8774 * bitmap.c (function_obstack): Don't declare any more.
8775 (bitmap_obstack): Obstack for allocating links from.
8776 (bitmap_obstack_init): New static to say whether to initialize
8778 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
8779 (bitmap_release_memory): Free all memory allocated from
8782 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
8783 EXECUTE_IF_AND_IN_BITMAP.
8785 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
8787 * alias.c (true_dependence): Address with AND can alias scalars.
8788 (anti_dependence, output_dependence): Likewise.
8790 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
8792 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
8794 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
8795 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
8796 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
8797 definitions. Use -qrtems instead of -mrtems.
8799 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
8801 * xm-sco5.h (sys_siglist): Define.
8802 (SYS_SIGLIST_DECLARED): Likewise.
8804 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
8806 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
8808 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
8810 * except.c (eh_outer_context): Expand masking operation using
8813 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
8815 * alpha.md (floatdisf2-1): New pattern.
8817 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
8819 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
8820 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
8821 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
8822 * gcc.texi: Note that if you define sys_siglist that you should
8823 also define SYS_SIGLIST_DECLARED.
8825 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
8826 are relative to the next instruction, not the current instruction.
8828 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
8830 * local-alloc.c (contains_replace_regs): New function.
8831 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
8832 verify that there is no existing REG_EQUIV note, and add a call to
8833 contains_place_regs.
8835 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8837 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
8838 (STARTFILE_SPEC): Always use crtbegin.o%s
8839 (ENDFILE_SPEC): Always use crtend.o%s.
8841 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
8843 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
8845 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
8846 SFmode for 64 bit hosts.
8848 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
8850 * fixincludes: Permits spaces between # and define. Discard C++
8851 comments in sys/pci.h on HP/UX 10.20.
8853 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
8855 * version.c: Bump for snapshot.
8857 * pa.c (restore_unscaled_index_insn_codes): New function.
8858 (record_unscaled_index_insn_codes): Likewise.
8859 (output_function_prologue): Call restore_unscaled_index_insn_codes.
8860 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
8861 (pa_reorg): Call record_unscaled_index_insn_codes.
8863 * haifa-sched.c (move_insn): Handle notes correctly for insns
8864 with SCHED_GROUP_P set.
8866 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8868 * alpha/xm-linux.h (USE_BFD): Undef before define.
8870 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
8872 * cse.c (cse_insn): Don't record BLKmode values.
8874 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
8876 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
8878 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
8880 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
8881 * collect2.c (sys_errlist): Likewise.
8882 * cpplib.c (sys_errlist): Likewise.
8883 * gcc.c (sys_errlist): Likewise.
8884 * protoize (sys_errlist): Likewise.
8885 * configure.in: Check for strerror.
8886 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
8887 * xm-gnu.h (HAVE_STRERROR): Likewise.
8888 * xm-linux.h (HAVE_STRERROR): Likewise.
8889 * xm-netbsd.h (HAVE_STRERROR): Likewise.
8890 * xm-bsd386.h (HAVE_STRERROR): Likewise.
8891 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
8892 * xm-dos.h (HAVE_STRERROR): Likewise.
8893 * xm-mingw32.h (HAVE_STRERROR): Likewise.
8894 * xm-pa.h (HAVE_STRERROR): Likewise.
8895 * xm-papro.h (HAVE_STRERROR): Likewise.
8896 * xm-sysv4.h (HAVE_STRERROR): Likewise.
8897 * configure, config.in: Rebuilt.
8899 * Makefile.in: Add several missing "else true" clauses.
8901 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
8902 * mips-tfile.c: Likewise.
8903 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
8904 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
8905 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
8906 * configure.in: Check for sys_siglist declaration.
8907 * configure, config.in: Rebuilt.
8909 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
8911 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
8912 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
8913 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
8914 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
8915 * rs6000/sysv4.h (extra_subtarget_switches): Added new
8916 macro EXTRA_SUBTARGET_SWITCHES.
8917 * configure.in (sh*-*-rtems*): New target.
8918 * sh/rtems.h: New file.
8919 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
8920 * configure: Rebuilt.
8922 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
8924 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
8926 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
8928 * rs6000.md: Make DF fused-add operations pay attention to
8931 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
8933 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
8935 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
8937 * pa.md (reload_peepholes): Make sure operand is a REG before
8938 examining REGNO. Allow general registers too.
8940 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
8942 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
8944 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
8946 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
8947 to reallocate abbrev_die_table.
8949 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
8951 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
8953 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8955 * Makefile.in (config.status): Depend on version.c
8957 * expr.h (insn_gen_function): Reenable prototype.
8959 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
8962 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
8964 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
8966 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
8968 * version.c: Bump for latest snapshot.
8970 * bc-optab.c: Conditionally include stdlib.h.
8971 (free): Provide a declaration if NEED_DECLARATION_FREE.
8972 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
8973 * rtl.h (free): Remove declaration.
8974 * tree.h (free): Remvoe declaration.
8976 * configure: Rebuilt.
8978 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
8980 * flags.h (flag_move_all_movables): Declare.
8981 (flag_reduce_all_givs): Likewise.
8982 * loop.c (move_movables): Handle flag_move_all_movables.
8983 (strength_reduce): Handle flag_reduce_all_givs.
8984 * toplev.c (flag_move_all_movables): Define.
8985 (flag_reduce_all_givs): Likewise.
8986 (f_options): Add -fmove-all-movables and -freduce-all-givs.
8987 * invoke.texi: Document new options, including alias stuff that
8988 wasn't included last time.
8990 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
8992 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
8995 * t-vxworks68: Ditto.
8996 * t-vxworks960: Ditto.
8999 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
9001 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
9002 if not already defined, and USE_C_ALLOCA not defined.
9004 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
9006 * config.guess: Replace with script that uses ../config.guess.
9008 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
9009 if USE_GNULIBC_1 is not defined.
9011 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
9013 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
9014 * config.guess: Recognize alpha-linux-gnulibc1.
9015 * configure.in (alpha-*-linux-gnulibc1): New target.
9016 (alpha-*-linux-gnu*): Don't build crtbegin/end.
9018 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
9020 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
9023 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
9025 * loop.c (combine_movables): Earlier insns don't match later ones.
9027 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9029 * config/linux.h (CC1_SPEC): Define it only if not defined.
9031 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
9034 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
9035 USE_GNULIBC_1 is not defined.
9037 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
9039 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
9040 as 1 if USE_GNULIBC_1 is not defined.
9042 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
9044 * reorg.c (dbr_schedule): Allow current_function_return_rtx
9045 to be something other than a REG.
9046 * function.c (expand_function_end): Fix current_function_return_rtx
9049 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
9050 * x-netbsd: Likewise
9051 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
9052 (INSTALL_HEADERS): Delete.
9053 * x-dguxbcs: Likewise.
9054 * x-hp3bsd44: Likewise
9057 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9059 * i386.md (pop): pop increments the stack pointer.
9060 (prologue_set_stack_ptr): New pattern.
9061 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
9064 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
9066 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
9067 address where an offsettable address is required.
9069 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
9071 * loop.c (check_final_value): Don't miss a biv increment in a
9074 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
9076 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
9077 TYPE_DECL_IS_STUB instead of DECL_NAME.
9079 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9081 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
9083 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
9085 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
9087 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
9089 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
9090 (find_post_sched_live): Likewise.
9092 * haifa-sched.c (schedule_block): Remove old code to get arguments
9093 from hard regs into pseudos early.
9095 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
9097 * version.c: Bump for new snapshot.
9099 * local-alloc.c (update_equiv_regs): All the target to reject
9100 promotion of some REG_EQUAL to REG_EQUIV notes.
9101 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
9103 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
9106 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
9107 store of the argument registers.
9109 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
9111 * fold-const.c (multiple_of_p): New function.
9112 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
9114 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
9116 * expr.h (insn_gen_function): Temporarily remove prototype.
9118 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
9120 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
9121 filenames. Use sed to extract base filename for install.
9123 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
9125 * unroll.c (find_splittable_givs): Only share if two givs have the
9126 same add and multiply values.
9128 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
9130 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
9131 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
9133 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
9135 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
9136 around branch tables.
9137 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
9138 and .end_brtab directives if TARGET_GAS.
9140 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
9142 * alias.c (true_dependence): Pass x_addr not x to varies.
9144 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
9145 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
9146 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
9148 * config.in, configure: Regenerate.
9150 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
9152 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
9154 (record_set): Handle LO_SUM like PLUS.
9155 (init_alias_analysis): When following chains of base addresses,
9156 do not stop on reaching a hard register.
9158 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
9160 * version.c: Bump for new snapshot.
9162 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
9164 * alpha.h (ARCH_ASM_FILE_START): Define.
9165 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
9166 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
9168 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
9170 * Makefile.in (install-common): Put gcov comment at start of line.
9172 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
9174 * alias.c (init_alias_analysis): When simplifying the reg_base_value
9175 array, simplify entries for hard registers too.
9177 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
9179 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
9182 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
9184 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
9185 block_stack before dereferencing it.
9187 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
9189 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
9191 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
9193 * cplus-dem.c: Add 'extern' to prepends_underscore.
9195 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
9197 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
9198 (get_issue_rate): Delete.
9199 * pa.h (ISSUE_RATE): Define.
9201 * configure.in: Turn on haifa by default for the PA.
9202 * configure: Rebuilt.
9203 * pa.c (override_options): Accept -mschedule=7200 option.
9204 (pa_adjust_cost): No longer need to scale costs for newer
9206 * pa.h (enum processor_type): Add PROCESSOR_7200.
9207 * pa.md: Revamp scheduling parameters to work better with
9208 haifa. Add scheduling parameters for the 7200.
9210 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
9212 (schedule_block): When adjusting basic_block_{head,end}, account
9213 for movement of SCHED_GROUP_P insns too.
9215 * haifa-sched.c (debug_dependencies): Fix thinko.
9217 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
9218 (site.exp, check, check-g++, check-gcc): New targets.
9220 * haifa-sched.c: Make lots of variables static.
9222 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9224 * expr.h, real.h: Finish prototyping.
9226 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
9228 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
9229 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
9230 * reload1.c: Undo bugfix from Aug 11.
9232 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
9234 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
9235 quotes around the name.
9236 * configure: Regenerate.
9238 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
9240 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
9242 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
9244 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
9245 to sub-makes to avoid building more passes than the user might have
9246 requested on the command line.
9248 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
9250 * configure.in: Expurgate `broken_install' (install is
9253 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
9256 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
9258 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
9259 functions and declarations.
9260 (analyze_loop_iterations): Use condjump_p.
9261 (insert_bct): Likewise. Use exact_log2.
9263 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
9265 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
9266 (schedule_region): Likewise.
9267 (schedule_insns): Likewise.
9269 * PROJECTS: Update with Haifa stuff.
9271 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
9273 * version.c: Change the version string to look like:
9274 egcs-2.90.00 970814 (gcc2-970802 experimental).
9276 * loop.c (is_conditional_branch): Make definition match declaration.
9278 * gcc.c: Take out experimental snapshot warning message.
9280 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
9282 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
9283 print out the names of the notes. Print out the name of the insn
9284 that is not a note, and not an {,CALL_,JUMP_}INSN.
9286 Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
9288 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
9289 again for the slot after we give it RTL.
9291 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
9293 * configure.in (haifa configury): Fix typo.
9294 * configure: Regenerate.
9296 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
9298 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
9300 * gcc.info*: Rebuilt.
9302 * COPYING.g77, README.g77: New files.
9303 * real.c (ereal_unto_float, ereal_unto_double): New functions.
9304 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
9305 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
9307 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
9309 * Integrate Haifa instruction scheduler.
9310 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
9311 to sched with $(SCHED_CFLAGS.
9312 * configure.in: Handle --enable-haifa.
9313 * configure: Rebuilt.
9314 * flags.h: Add new flags for haifa instruction scheduler.
9315 * genattrtab.c (expand_units): For haifa, don't subtract one
9316 when computing blockage.
9317 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
9318 (flag_schedule_speculative): Ditto.
9319 (flag_schedule_speculative_load): Ditto.
9320 (flag_schedule_speculative_load_dangerous): Ditto.
9321 (flag_schedule_reverse_before_reload): Ditto.
9322 (flag_schedule_reverse_after_reload): Ditto.
9323 (flag_branch_on_count_reg): Ditto.
9324 (f_options): Add Haifa switches.
9325 (main): Turn off some Haifa options if appropriate macro is
9326 defined. Process Haifa switches.
9327 * unroll.c (iteration_info): No longer static, since Haifa
9329 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
9330 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
9331 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
9332 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
9333 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
9334 storage for the Haifa scheduler.
9335 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
9337 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
9338 are defined, call analyze_loop_iterations and insert_bct to use
9340 (record_giv): Refine test for jumps out of loops if HAIFA is
9342 (analyze_loop_iterations): New function to identify if we can use
9344 (insert_bct): Insert countdown loop.
9345 (instrument_loop_bct): Low level code to insert countdown loop.
9346 (loop_number): Calculate UID of loop.
9347 (indirect_jump_in_function_p): Return true if an indirect jump is
9349 (is_power_of_2): Return true if value is a power of 2.
9350 (is_conditional_branch): Return true if insn is a conditional
9352 (fix_bct_param): Process -fbct-{min,max}-N switches.
9353 (check_bct_param): Return true if loop should be instrumented.
9354 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
9355 (loop_optimize): Initialize.
9356 (get_condition_for_loop): Ditto.
9357 * loop.c (strength_reduce): Inside of code that uses #ifdef
9358 HAVE_decrement_and_branch_on_count code, test it to make sure the
9360 (instrument_loop_bct): Ditto.
9361 * haifa-sched.c: New file.
9364 * Integrate regmove pass.
9365 * Makefile.in (OBJS): Add regmove.o
9366 (regmove.o): Add dependencies.
9367 * flow.c (find_use_as_address): No longer static.
9368 * rtl.h (find_use_as_address): Declare.
9369 * toplev.c (regmove_dump, flag_regmove): Define.
9370 (f_options): Add -fregmove.
9371 (regmove_dump_file, regmove_time): Define.
9372 (fatal_insn): Close the regmove dump file.
9373 (compile_file): Initialize regmove_time; open/close the regmove dump
9374 file as needed. Print regmove time as needed.
9375 (rest_of_compilation): Run regmove pass if requested, dump
9376 RTL after regmove if requested.
9377 (main): If -O2 or more, turn on regmove. Handle dump switches.
9378 * regmove.c: New file.
9380 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
9382 * Integrate tlink patch from jason@cygnus.com
9383 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
9384 (process_command): Increment n_switches for them. Don't discard
9385 their args. Validate them.
9386 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
9388 (process_command): Set include_prefixes from COMPILER_PATH.
9389 (main): Set COLLECT_GCC_OPTIONS sooner.
9390 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
9391 * tlink.c, hash.c, hash.h: New files.
9392 * Makefile.in (USE_COLLECT2): Always use collect2.
9393 (collect2): Depend on and link in hash.o and tlink.o.
9394 (tlink.o, hash.o): Add dependencies.
9396 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
9398 * Integrate alias analysis changes from jfc@mit.edu
9399 * Makefile.in (OBJS): Add alias.o
9400 (alias.o): Add dependencies.
9401 * alias.c: New file.
9402 * sched.c: Remove alias analysis code. It lives in alias.c now.
9403 (sched_analyze_2): Add new arguments to true_dependence.
9404 (schedule_insns): Always call init_alias_analysis.
9405 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
9406 mark return value from such functions as a pointer and keep track of
9407 them for alias analysis. If a return value from a function is a
9408 pointer, mark it as such.
9409 * combine.c (distribute_notes): Handle REG_NOALIAS.
9410 * cse.c (struct write_data): Delete. No longer needed.
9411 (invalidate): Don't call set_nonvarying_address_components anymore.
9412 Use true_dependence to decide if an entry should be removed from
9414 (invalidate_memory): Remove WRITES argument, simplify appropriately.
9416 (note_mem_written): Similarly for WRITE_PTR argument.
9417 (invalidate_from_clobbers): Similarly for W argument.
9418 (invalidate_for_call): Remove memory elements from the hash table.
9419 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
9420 (cse_rtx_varies_p): New function. Derived from old
9421 cse_rtx_addr_varies_p.
9422 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
9423 Don't call note_mem_written anymore. Stack pushes invalidate the stack
9424 pointer if PUSH_ROUNDING is defined. No longer need to call
9425 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
9426 (skipped_writes_memory): Remove variable.
9427 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
9428 (invalidate_skipped_block): Simplify for new alias analysis code.
9429 (cse_set_around_loop): Likewise.
9430 (cse_main): Call init_alias_analysis.
9431 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
9432 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
9433 (f_options): Add new alias checking arguments.
9434 (main): Set flag_alias_check when optimizing.
9435 * local_alloc (validate_equiv_mem_from_store): Add new arguments
9437 (memref_referenced_p): Likewise.
9438 * loop.c (NUM_STORES): Increase to 30.
9439 (prescan_loop): Only non-constant calls set unknown_address_altered.
9440 (invariant_p): Add new arguments to true_dependence.
9441 (record_giv): Initialize unrolled and shared fields.
9442 (emit_iv_add_mult): Call record_base_value as needed.
9443 * loop.h (struct induction): Add unrolled and shared fields.
9444 * unroll.c (unroll_loop): Call record_base_value as needed.
9445 (copy_loop_body): Likewise.
9446 (final_biv_value): Likewise.
9447 (final_giv_value): Likewise.
9448 (find_splittable_regs): Likewise. Only create one new pseudo
9449 if we have multiple address GIVs that were combined with the same
9450 dst_reg GIV. Note when a new register is created due to unrolling.
9451 * rtl.c (reg_note_name): Add REG_NOALIAS.
9452 * rtl.h (enum reg_note): Similarly.
9453 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
9454 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
9455 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
9456 (true_dependence, read_dependence, anti_dependence): Likewise.
9457 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
9458 (mark_user_reg, mark_reg_pointer): Likewise.
9461 * Integrate reload bugfix from Wilon which enables the PA port
9463 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
9464 OPERAND_ADDRESS when computing how many registers an insn needs.
9465 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
9467 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
9469 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
9470 in reload_reg_use_in_op_addr do not reach the end.
9471 do not reach the end.
9472 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
9473 RELOAD_FOR_OPERAND_ADDRESS.
9475 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
9477 * egcs project officially starts.
9480 add-log-time-format: current-time-string