1 Fri May 15 21:40:06 1998 John Wehle (john@feith.com)
3 * i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
5 Fri May 15 18:55:22 1998 Jason Merrill <jason@yorick.cygnus.com>
7 * tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
8 * stor-layout.c (layout_record): Set it.
10 Fri May 15 18:49:30 1998 Mark Mitchell <mmitchell@usa.net>
12 * toplev.c (rest_of_compilation): Don't defer nested functions.
14 Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
16 * config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
17 to an 8-byte boundary if info_ptr->fpmem_p.
19 Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
21 * loop.c (basic_induction_var): Added test preventing
22 CCmode parameter passed to convert_modes().
24 Fri May 15 17:26:18 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
26 * expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
27 input_filename and lineno around expand_expr call. Set them to values
28 in WFL before expand_expr call.
30 Fri May 15 12:44:57 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
32 * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
34 Fri May 15 07:20:03 1998 Mark Mitchell <mmitchell@usa.net>
36 * fold-const.c (constant_boolean_node): New function.
39 Fri May 15 11:21:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
41 * sh.c (gen_shl_and): Don't sign extend constant for kind two.
42 Abort if trying to split kind 3 or 4 outside of combine.
44 Fri May 15 01:47:37 1998 Jeffrey A Law (law@cygnus.com)
46 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
48 Fri May 15 01:42:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
50 * objc/Make-lang.in (OBJC_O): Add missing exeext.
51 (libobjc.a, runtime-info.h): Likewise.
53 Fri May 15 01:29:39 1998 John Wehle (john@feith.com)
55 * i386.h (DATA_ALIGNMENT): Define.
57 Fri May 15 05:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
59 * reload1.c (delete_output_reload): Ignore single USE that
60 was emitted for the pseudo use of this INSN.
61 If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
62 remains, we can always delete OUTPUT_RELOAD_INSN.
64 Thu May 14 18:38:50 1998 Jim Wilson <wilson@cygnus.com>
66 * reload.c (find_reloads): Don't penalize SCRATCH output reload.
68 Thu May 14 15:10:30 1998 Jeffrey A Law (law@cygnus.com)
70 * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.
72 Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
74 * eh-common.h: New file for basic EH data structures.
75 * except.h: Various prototypes and structures for NEW_EH_MODEL
76 * function.h (struct function): Add a struct eh_stack for the catch
78 * except.c (gen_exception_label): New function to generate an
80 (push_eh_entry): Use gen_exception_label() and init 'label_used' field.
81 (push_entry): New function to push an existing entry onto a stack.
82 (receive_exception_label): New function to emit the code required
83 at the start of all catch blocks.
84 (struct func_eh_entry): New structure for maintaining handlers
85 associated with EH regions.
86 (new_eh_region_entry): New function to register an EH region.
87 (add_new_handler): New function to register a handler with a region.
88 (get_new_handler): Creates anew handler entry for registering.
89 (find_func_region): New function to convert a NOTE eh region number
90 to an Eh region index.
91 (get_first_handler): New function to get the first handler in a region.
92 (clear_function_eh_region): New function to release memory.
93 (duplicate_handlers): New function to duplicate a list of handlers.
94 (expand_eh_region_end): Create a new region entry node as well.
95 (expand_leftover_cleanups): Call receive_exception_label() and
96 register the cleanup as a handler to the current region.
97 (expand_start_catch): New function to start a catch clause.
98 (expand_end_catch): New function to end a catch clause.
99 (expand_start_all_catch): restructure to not do the equivilent of
100 what expand_start_catch() does now. Push the exception region being
101 handled onto the catch stack.
102 (output_exception_table_entry): Issue an entry for each handler
103 associated with a region.
104 (set_exception_lang_code): New function for setting the language code.
105 (set_exception_version_code): New function to set the version number.
106 (output_exception_table): Output version and language codes.
107 (find_exception_handler_labels): Find handler labels using new scheme.
108 (is_exception_handler_label): New function, returns 1 if label is
109 present as a handler in some exception region.
110 (check_exception_handler_labels): Use the new scheme.
111 (init_eh_for_function): Initialize the catch stack.
112 (save_eh_status): Save the catch stack.
113 (restore_eh_status): Restore the catch stack.
114 (scan_region): Don't remove unreferenced handler label. Flow does it.
115 (get_reg_for_handler): New function to get the eh_context pointer
117 (expand_builtin_eh_stub): Changes required for NEW_EH_MODEL only.
118 * final.c (final_scan_insn): With NEW_EH_MODEL, add EH table
119 entry when processing END region rather that START region.
120 * flow.c (find_basic_blocks_1): Find all potential handler regions
121 now that we don't automatically know what the labels might be.
122 Let scan_region() remove unreferenced EH BEGIN/END labels.
123 * integrate.c (get_label_from_map): Put inlined labels onto the
124 permanent obstack since we dont know which ones might be exception
126 (save_for_inline_copying): Make new copies of all the handlers.
127 (expand_inline_function): Make new copies of all the handlers.
128 * libgcc2.c: Remove local struct decls, and include eh-common.h.
129 (find_exception_handler): With NEW_EH_MODEL the first matching
130 region we find is the right one. Add eh_info as a new parameter.
131 (__throw): Pass eh_info to find_exception_handler. Set handler
132 and pass use different regs under NEW_EH_MODEL.
134 Thu May 14 12:58:21 1998 Jim Wilson <wilson@cygnus.com>
136 * i960.h (hard_regno_mode_ok): Changed to function from array of
138 (HARD_REGNO_MODE_OK): Call function instead of testing bit.
139 * i960.c (hard_regno_mode_ok): Changed to function from array of
142 Thu May 14 08:41:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
144 * reload.c (remove_replacements): New function.
145 * reload.h (remove_replacements): Declare.
146 * reload1.c (choose_reload_regs): Disable some reloads that
147 belong to inherited reloads.
149 Thu May 14 02:17:17 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
151 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
153 * reload1.c (merge_assigned_reloads): When merging, reset
154 reload_spill_index for the eliminated reload.
156 Wed May 13 17:51:13 1998 Jeffrey A Law (law@cygnus.com)
158 * haifa-sched.c (schedule_insns): Fix merge goof.
160 1998-05-13 Jim Wilson <wilson@cygnus.com>
162 * varasm.c (make_decl_rtl): Revert April 1 change.
163 * alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
164 m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
165 Get function name from the SYMBOL_REF in the DECL_RTL, not from
167 * i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
170 Wed May 13 13:09:19 1998 Jim Wilson <wilson@cygnus.com>
172 * i386.c (notice_update_cc, output_float_compare): Disable
173 TARGET_CMOVE support.
175 Wed May 13 15:28:59 1998 Michael Meissner <meissner@cygnus.com>
176 Jeff Law <law@cygnus.com>
178 * rtlanal.c (find_reg_note): Ignore notes that are not on on
180 (find_regno_note): Likewise.
182 * Makefile.in (stor-layout.o): Depend on except.h
183 (varasm.o, function.o): Likewise.
184 (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
186 * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
187 (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
188 ($(HOST_PREFIX_1)rtl.o): Likewise.
189 ($(HOST_PREFIX_1)bitmap.o): New host object.
190 * emit-rtl.c (toplevel): Include bitmap.h.
191 (gen_rtx): Handle 't' and 'b' nodes.
192 * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
193 Print block number for block begin/end notes. Print 't' type
194 nodes as a pointer. Know that the 3rd argument of live range
195 start/stop notes is really a range_info rtx. If type is 'b', print
196 out argument as a bitmap.
197 * rtl.c: Include bitmap.c.
198 (copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
199 (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
200 * rtl.def (RANGE_LIVE): New node to hold live information while we
201 recalculate the basic blocks.
202 (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
203 (RANGE_VAR): New node, to hold information saved in symbol node for New
204 communicating live range information to the debug output functions.
205 * rtl.h (rtunion_def): Add rttree and rtbit fields.
206 (XBITMAP, XTREE): New accessor macros.
207 (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
208 (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
209 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
210 (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
211 (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
212 (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
213 (RANGE_INFO_*): Likewise.
214 * sched.c (sched_analyze): Keep live range start/stop notes.
215 (unlink_other_notes): Likewise.
216 * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
217 (unlink_other_notes): Likewise.
218 * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
219 (BLOCK_LIVE_RANGE_FLAG): Likewise.
220 (DECL_LIVE_RANGE_RTL): Likewise.
221 (struct tree_block): Add live_range_flag, live_range_var_flag,
222 live_range_start and live_range_end.
223 (struct tree_decl): Add live_range_rtl field.
224 * gengenrtl.c (type_from_format): Handle 'b' and 't'.
225 (accessor_from_format): Likewise.
227 * haifa-sched.c (schedule_block): Make verbose output line up.
228 Also add a blank line in printing the individual ready lists.
230 Wed May 13 15:43:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
232 * Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
233 (c-lex.o): Depend on output.h.
234 (c-common.o): Likewise.
237 (integrate.o): Depend on toplev.h.
238 (regclass.o): Depend on output.h.
239 (final.o): Depend on reload.h.
241 * c-common.c: Include output.h.
242 (check_format_info): Remove unused variable `integral_format'.
244 * c-decl.c (print_lang_decl): Mark parameters `file', `node' and
245 `indent' with ATTRIBUTE_UNUSED.
246 (print_lang_type): Likewise.
247 (maybe_build_cleanup): Likewise for parameter `decl'.
248 (copy_lang_decl): Likewise for parameter `node'.
250 * c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
251 (lang_print_xnode): Mark parameters `file', `node' and `indent'
252 with ATTRIBUTE_UNUSED.
253 (lookup_interface): Likewise for parameter `arg'.
254 (is_class_name): Likewise.
255 (maybe_objc_check_decl): Likewise for parameter `decl'.
256 (maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
258 (maybe_objc_method_name): Likewise for parameter `decl'.
259 (build_objc_string): Likewise for parameters `len' and `str'.
261 * c-lex.c: Include output.h.
263 * c-lex.h (position_after_white_space): Correct typo in prototype.
265 * c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
266 c_expand_end_cond, init_iterators): Add prototypes.
268 * caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
269 with ATTRIBUTE_UNUSED.
271 * calls.c: Include output.h.
273 * cccp.c (pipe_closed): Mark parameter `signo' with
276 * combine.c: Move inclusion of expr.h to after insn-config.h.
278 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
279 as empty, rather define as ((void)0).
281 * sparc.c (sparc_check_64): Add braces around ambiguous `else'.
282 Add parentheses around assignment used as truth value.
284 * cplus-dem.c (squangle_mop_up): Change return type to void.
285 (internal_cplus_demangle): Remove unused parameter `options'.
287 (cplus_demangle_opname): Remove function wide variable `int i' and
288 replace with `size_t i' at each location where it is used.
289 (cplus_demangle_opname): change type of `i' from int to size_t.
291 * cppexp.c (right_shift): Mark parameter `pfile' with
294 * cpphash.c (cpp_lookup): Likewise.
295 (cpp_hash_cleanup): Likewise.
297 * cpplib.c (parse_name): Add a prototype and make it static.
298 (null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
299 (null_cleanup): Likewise for parameters `pbuf' and `pfile'.
300 (macro_cleanup): Likewise for parameter `pfile'.
301 (file_cleanup): Likewise.
303 * cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
304 cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
306 * crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
307 __DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
309 * cse.c (cse_check_loop_start): Mark parameter `set' with
312 * dbxout.c (flag_minimal_debug, have_used_extensions,
313 source_label_number): Move inside macro wrapper check against
314 defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
316 * dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
318 * except.h (doing_eh): Provide prototype.
320 * expr.c: Move inclusion of expr.h to after insn-config.h.
322 * final.c: Include reload.h.
323 (shorten_branches): Cast the first argument of bzero to char *.
325 * fix-header.c (cpp_print_containing_files): Mark parameter
326 `pfile' with ATTRIBUTE_UNUSED.
327 (cpp_fatal): Likewise.
329 * flow.c (find_basic_blocks_1): Cast the first argument of bzero
332 * genattrtab.c (make_length_attrs): Change the type of variable
333 `i' from int to size_t.
334 (zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
337 * genextract.c (main): When generating insn-extract.c, mark
338 variable `junk' with ATTRIBUTE_UNUSED.
340 * gengenrtl.c (gencode): When generating genrtl.c, cast the first
341 argument of bzero to char*.
343 * integrate.c: Include toplev.h.
345 * libgcc2.c: Wrap `struct exception_table' and
346 `find_exception_handler' in macro DWARF2_UNWIND_INFO.
348 * objc/Make-lang.in (objc-act.o): Depend on toplev.h.
350 * objc/objc-act.c: Include toplev.h.
351 (lang_print_xnode): Mark parameters `file', `node' and `indent'
352 with ATTRIBUTE_UNUSED.
353 (finish_protocol): Likewise for parameter `protocol'.
355 * output.h (declare_weak): Add prototype.
356 (decode_reg_name): Don't wrap with TREE_CODE macro.
357 (assemble_alias): Add prototype.
359 * regclass.c: Include output.h.
361 * reload.h (reloads_conflict): Add prototype.
363 * rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
364 output_func_start_profiler): Add prototypes.
366 * rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
369 * scan-decls.c: Include scan.h.
371 * scan.h (recognized_function, recognized_extern): Add prototypes.
373 * stmt.c: Include output.h.
375 * toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
376 (output_lang_identify): Hide prototype and definition.
377 (float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
378 (pipe_closed): Likewise.
380 * toplev.h (count_error, strip_off_ending, error_for_asm,
381 warning_for_asm): Add prototypes.
383 Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
385 * toplev.c (rest_of_compilation): "Charge" final for any time
386 doing various cleanup operations after finishing compilation
389 * flow.c (dump_flow_info): Also print number of sets and
390 whether or not the pseudo is a user variable.
392 * flow.c (reg_n_max): New global variable.
393 * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
394 Delete regno_max variable.
395 * regs.h (REG_N_CHECK): Define.
396 (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
397 (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
398 (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
400 Wed May 13 12:54:19 1998 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
402 * acconfig.h (ENABLE_CHECKING): Undefine.
403 * configure.in (--enable-checking): New option.
405 Wed May 13 08:52:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
407 * reload1.c (merge_assigned_reloads): Can merge
408 RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
409 if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
411 Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
413 * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
415 Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
417 * reload1.c (gen_reload): Create REG_EQUIV notes.
419 Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
421 * reload1.c (reload): Fix check for USEs to use code of pattern.
422 (choose_reload_regs): Remove dead variable use_insn.
424 Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
426 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
428 Tue May 12 15:16:02 1998 Michael Meissner <meissner@cygnus.com>
430 * haifa-sched.c (HAIFA_INLINE): Define to be __inline unless
432 (find_insn_{,mem_}list): Use HAIFA_INLINE, not __inline.
433 (insn_{unit,issue_delay}): Ditto.
434 (blockage_range): Ditto.
435 (actual_hazard{,_this_instance}): Ditto.
436 (schedule_unit): Ditto.
437 (potential_hazard): Ditto.
441 (birthing_insn_p): Ditto.
442 (adjust_priority): Ditto.
443 (get_block_head_tail): Ditto.
444 (init_rgn_data_dependences): Ditto.
446 Tue May 12 10:27:54 1998 Klaus Kaempf <kkaempf@progis.de>
448 * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
450 Tue May 12 11:44:14 1998 Gavin Koch <gavin@cygnus.com>
452 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
454 Tue May 12 11:38:31 1998 Gavin Koch <gavin@cygnus.com>
456 * config/mips/mips.md (dslot): Move after definition of "cpu"
457 attribute. Handle r3900 case.
459 Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
461 * system.h: Define the STRINGIFY macro here.
462 * protoize.c: Not here.
463 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
465 Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
467 * varasm.c (assemble_variable): Compute the alignment of the data
468 earlier so that both initialized and uninitialized variables are
469 effected by DATA_ALIGNMENT.
470 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
472 Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
474 * mips.c: Prototype static functions.
476 Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
478 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
479 Add explanatory comments.
481 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
483 Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
485 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
487 Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
489 * varasm.c (make_decl_rtl): Disable April 1 change.
491 Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
493 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
495 Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
497 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
498 * alpha.c (print_operand): Handle it.
499 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
500 related define_splits. Also add peepholes for SImode reload
501 plus sign_extend lossage.
503 Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
505 * genattr.c: Include stdarg.h/varargs.h. Change function
506 `fatal' to use variable arguments instead of faking it with
507 integer parameters. Provide a prototype which also
508 checks the format specifiers using ATTRIBUTE_PRINTF_1.
510 * genattrtab.c: Likewise.
511 * gencodes.c: Likewise.
512 * genconfig.c: Likewise.
513 * genemit.c: Likewise.
514 * genextract.c: Likewise.
515 * genflags.c: Likewise.
516 * genopinit.c: Likewise.
517 * genpeep.c: Likewise.
518 * genrecog.c: Likewise.
519 * genoutput.c: Likewise. Similarly for function `error'.
521 Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
523 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
524 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
525 * configure.in: Use GCC_C_VOLATILE.
526 * system.h (volatile): Define as empty if no volatile support is
529 Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
531 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
534 Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
536 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
537 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
538 the body of beq; additionally set the mode of the branch to CCmode for
539 FP compares and not fast_math.
540 (alpha_emit_conditional_move): Always use a compare insn for FP
541 when not fast_math, as well as setting CCmode on the cmov.
542 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
544 * machmode.h (COMPLEX_MODE_P): New macro.
546 Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
548 * haifa-sched.c (print_exp): Fix typo.
550 Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
552 * version.c: Bump for snapshot.
554 Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
556 * final.c (final_scan_insn): Call fatal_insn instead of abort if
557 we could not split an insn when required to.
559 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
561 (peepholes): Disable peepholes that call dead_or_set_p.
562 (movsi): Rewrite to handle addresses better after last change.
563 Add define_split to split load of addresses in large/medium modes.
564 (prologue): Call m32r_expand_prologue.
565 (movsi_{push,pop}): Generators for push/pop.
566 (movsi): Support PRE_{INC,DEC}, POST_INC.
567 (mov{di,df}): Rewrite. Always split the insns.
568 (movsf): Add define_split to get register load in correct mode.
569 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
570 (attributes): Rewrite attributes so that type indicates both the
571 type and the length of the insn directly.
572 (all insns): Change to use new type attributes.
573 (debug): New attribute to convey whether -mdebug was used.
574 (opt_space): New attribute to convey whether -Os was used.
575 (function units): Loads are 3 cycles, not 2. Better classify all
576 insns into short/long.
577 (load/store/extend insns): Add separate case for load/store
578 indirect operations without an offset.
579 (divsi3): Division is a long operation, not short.
581 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
583 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
584 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
585 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
586 operands with PRE_{INC,DEC}, POST_INC.
587 (FUNCTION_PROFILER): Call abort instead of doing nothing.
588 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
590 (gen_split_move_double): Declare.
591 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
593 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
594 emit_move_insn, build up SET's directly.
595 (toplevel): Include system.h, not stdio.h.
596 (move_double_src_operand): Allow any DF or DI mode constant.
597 (gen_split_move_double): Split moves of DI or DF values into the
598 appropriate moves, loads, or stores. Don't handle use of auto
599 inc/dec if using dead index. Do handle overlapping moves, etc.
600 (m32r_frame_info): Remove prologue_size field.
601 (m32r_compute_frame_size): Don't calculate prologue size.
602 (m32r_output_function_prologue): Change to pretty much a NOP.
603 (m32r_expand_prologue): Expand prologue as a series of INSNs.
604 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
605 (m32r_print_operand_address): Ditto.
607 Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
609 * reload1.c (emit_reload_insns): When performing expensive
610 optimizations, do not output the last reload insn if OLD is
611 not the dest of NSN and is in the src and is clobbered by INSN.
613 Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
615 * Makefile.in (genrtl.o): Depend on system.h.
616 * gengenrtl.c (gencode): When creating genrtl.c, have it
619 Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
621 * config/m68k/t-linux: Remove extra stuff already included in
624 Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
626 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
627 curses.h if it contains `typedef char bool;', as suggested by
628 Manfred Hollstein <manfred@s-direktnet.de>.
630 * configure.in: Rename fixinc.math to fixinc.wrap.
632 Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
634 * gcc.c (read_specs): Handle missing blank line at end of specs file.
636 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
639 Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
641 * configure.in (enable_threads): Rename to enable_threads_flag before
642 main loop. Set enable_threads to enable_threads_flag inside main
645 Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
647 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
650 Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
652 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
654 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
655 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
656 (AC_CHECK_FUNCS): Remove unused check for vprintf.
658 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
659 (cccp.o): Depend on gansidecl.h.
662 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
663 per the rest of gcc source.
664 * cexp.y: Likewise. Include gansidecl.h and remove all code made
667 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
668 used when vfprintf is missing.
671 * genattrtab.c: Likewise.
672 * mips-tfile.c: Likewise.
673 * toplev.c: Likewise.
675 * vfprintf.c: New file.
676 * doprint.c: New file.
678 Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
680 * config/linux.h (ASM_COMMENT_START): Remove from here,
681 * config/linux-aout.h (ASM_COMMENT_START): and here,
682 * config/i386/linux.h (ASM_COMMENT_START): to here,
683 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
684 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
687 Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
689 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
692 Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
694 * Makefile.in (dwarfout.o) Add toplev.h dependency.
695 * dwarfout.c, i386.c: Include toplev.h
696 * toplev.h: (pfatal_with_name) Add prototype.
698 Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
700 * Makefile.in: Fix .SUFFIXES.
702 Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
704 * config/linux.h (ASM_COMMENT_START): Define as "#".
705 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
707 Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
709 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
710 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
712 * toplev.c: Include toplev.h.
713 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
714 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
715 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
716 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
717 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
720 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
721 HARD_FRAME_POINTER_REGNUM.
723 * expr.c (target_temp_slot_level): Delete duplicate definition.
725 Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
727 * stmt.c (mark_seen_cases): Make it have external linkage again.
728 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
731 * haifa-sched.c (print_value, case SUBREG): Fix typo.
733 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
734 * i386.h (REG_CLASS_CONTENTS): Similarly.
736 * toplev.c (-fsched-max): Delete flag.
737 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
738 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
739 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
742 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
743 inner loops which are not reducible.
745 * loop.c (regs_match_p): Fix typo in prototype.
747 * regmove.c (try_auto_increment): Wrap declaration inside an
750 Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
752 * final.c (output_operand_lossage): Call fatal with the operand
753 lossage message instead of calling abort.
755 Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
757 * c-common.c: Convert to using ctype macros defined in system.h.
760 * collect2.c: Likewise.
761 * rs6000.c: Likewise.
762 * cpplib.c: Likewise.
763 * fix-header.c: Likewise.
765 * gen-protos.c: Likewise.
766 * pexecute.c: Likewise.
767 * protoize.c: Likewise.
772 * toplev.c: Likewise.
774 Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
776 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
777 Replace -gdwarf-2 with -g0.
779 Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
781 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
782 * mips-tdump.c: Include system.h, remove redundant headers.
783 * mips-tfile.c: Likewise. Also, convert all ctype function calls
784 to calls of the macro versions defined in system.h.
786 * objc/Make-lang.in (objc-act.o): Depend on system.h.
787 * objc/objc-act.c: Include system.h, remove redundant headers.
789 Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
791 * configure.in (AC_CHECK_FUNCS): Add isascii.
792 (GCC_NEED_DECLARATIONS): Add atof.
794 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
795 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
797 Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
799 * system.h: Wrap time.h and sys/file.h in autoconf checks.
800 Provide default definitions for O_RDONLY and O_WRONLY here.
802 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
804 1998-05-06 Mark Mitchell <mmitchell@usa.net>
806 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
808 Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
810 * toplev.h: New file. Protypes for functions in toplev.c.
811 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
812 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
813 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
814 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
815 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
816 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
817 varasm.c: include it.
819 Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
820 Jim Wilson (wilson@cygnus.com)
822 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
823 blocks. Check for 1 successor which is the EXIT_BLOCK.
825 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
826 unreachable loops with more than one block.
828 Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
830 * fix-header.c (write_rbrac): Add "abort" to functions which need to
833 Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
835 * Check in merge from gcc2. See ChangeLog.12 for details.
837 Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
839 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
840 accept 'a' flag. 'S' does accept 'a' flag.
841 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
844 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
846 Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
848 * config/m68k/m68k.h: Declare functions from m68k.c used in
849 macros and machine description.
850 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
852 (ASM_OUTPUT_FLOAT): Likewise.
853 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
855 Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
857 * tree.def: Add NAMESPACE_DECL.
858 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
859 * dwarf2out.c (push_decl_scope): Likewise.
860 (scope_die_for): Likewise.
861 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
862 how to get next context level.
864 Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
866 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
869 Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
871 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
873 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
874 for any insns skipped at the start of a block because they were
877 Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
879 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
881 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
883 * c-common.c (format_char_info): Add new field hhlen.
884 (print_char_table, scan_char_table, time_char_table): Initialize
885 hhlen field appropriately.
886 (char_format_info): Recognize hh modifier and lookup correct char
889 Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
891 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
892 reference if this is a store.
894 Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
896 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
898 Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
900 Make UnixWare 7 bootstrap support work with final shipping product.
901 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
902 Pick up xm-siglist and xm-alloca.
903 (xm_defines): Add USG so dbxout will build.
904 * configure: Regenerate.
906 Sun May 3 13:51:34 PDT 1998 Richard Henerson <rth@cygnus.com>
908 Support for official Sparc V9 ABI:
909 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
910 Care for flag_pcc_struct_return default.
911 (output_move_quad): Rewrite to move by halves on v9 and in the
913 (move_quad_direction): New function.
914 (output_fp_move_quad): Use it to determine the direction of copy.
915 (function_arg_slotno): Return -1 for FP reg overflow as well.
916 (function_arg_record_value*): New functions.
917 (function_arg): Use them. Streamline unprototyped parameter passing.
918 (function_arg_pass_by_reference): Pass TCmode by reference.
919 (function_value): New function.
920 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
921 long long in 64-bit mode.
922 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
923 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
924 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
925 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
926 (BASE_INCOMING_ARG_REG): Likewise.
927 (FUNCTION_VALUE): Call function_value.
928 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
929 * sparc.md (movdi_sp32_v9): Disable for arch64.
930 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
931 (call_value_address_sp64): Remove register class constraints.
932 (call_value_symbolic_sp64): Likewise.
933 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
934 v9 case to 32-bit constants.
935 (goto_handler_and_restore_v9): Provide a version for arch64.
936 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
937 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
938 (CPP_PREDEFINES): New.
939 * sparc/sp64-elf.h: Likewise.
940 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
941 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
942 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
944 Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
946 * version.c: Bump for snapshot.
948 Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
950 * reload.c (find_reloads): Emit USEs to mark where a pseudo
951 is reloaded with the MEM of its stack slot.
952 * reload1.c (cannot_omit_stores): Delete.
953 (reload): Don't initialize it.
954 Don't apply avoid_return_reg logic to USEs.
955 When done, remove USEs that have a REG_EQUAL note on them.
956 (emit_reload_insns): Handle case where we have inherited a MEM.
957 (choose_reload_regs): Likewise.
958 (delete_output_reload): Don't use cannot_omit_stores.
960 Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
962 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
964 Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
966 * haifa-sched.c (print_{exp,value}): Various changes to make the
967 debug output easier to read. Also, use only one buffer, and make
968 sure the buffer we are passed in doesn't overflow.
969 (safe_concat): Concatenate to a buffer without overflow.
971 Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
973 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
976 Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
978 * sched.c (new_insn_dead_notes): Check if the register was
979 used in the original instruction.
980 * haifa-sched.c (new_insn_dead_notes): Likewise.
982 Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
984 * dwarf2out.c (scope_die_for): If could not find proper scope,
985 check for and handle tagged type with incorrect TYPE_CONTEXT.
987 Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
989 * calls.c (expand_call): Fix recognition of C++ operator new.
991 * alias.c (mode_alias_check): Disable type based alias detection.
993 Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
995 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
996 ASM_OUTPUT_WEAK_ALIAS): Define.
997 * config/mips/elf64.h: Same.
998 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
999 ASM_WEAKEN_LABEL): Removed.
1001 Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1003 * calls.c (expand_call): Bump the length limit on the specially
1004 recognized function names to 17.
1006 Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
1008 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
1009 when undefining macros at the end.
1011 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
1012 val or len has TREE_SIDE_EFFECTS set.
1014 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
1015 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
1016 (smuldi3_highpart): Call const v8plus routine.
1017 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
1018 (const_smulsi3_highpart_v8plus): New pattern.
1019 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
1020 (umulsidi3): Call const v8plus routine.
1021 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
1023 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
1024 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
1026 Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
1028 * m32r.c (*_oper{and|ator}): Change enum arguments and return
1029 values to int, so they can be prototyped even in files that don't
1031 ({small,large}_insn_p): Ditto.
1032 (m32r_select_cc_mode): Ditto.
1033 (gen_compare): Ditto.
1034 (function_arg_partial_nregs): Ditto.
1035 (m32r_setup_incoming_varargs): Ditto.
1036 (init_reg_tables): Add prototype.
1037 (m32r_frame_info): Add prolog_size field.
1038 (m32r_compute_frame_size): Calculate the size of the prologue.
1039 (m32r_first_insn_address): Return prologue size.
1040 (m32r_output_function_prologue): Calculate frame size before
1041 printing out information. Print out the prologue size.
1043 * m32r.h: Prototype all functions in m32r.c.
1044 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
1046 * m32r.md (bcc functions): Cast enum's to int.
1048 * m32r.c (conditional_move_operand): Silence a debug message.
1049 ({small,long}_insn): New predicates.
1051 * m32r.h (TARGET_M32R): New macro.
1052 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
1053 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
1055 (ISSUE_RATE): Define as 2.
1057 * m32r.md (insn_size): New attribute.
1058 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
1060 (m32r): New attribute.
1062 * configure.in (enable_haifa): Switch m32r to Haifa by default.
1063 * configure: Regenerate.
1065 (Changes from Nick Clifton <nickc@cygnus.com>)
1066 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
1067 the equivalent of a negated 'I' constraint.
1068 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
1069 optimisation to work.
1071 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
1072 than 'I' since the value is negated.
1073 (peephole): Add peephole optimisation to cope with optimization of
1074 divide and subtracts of the same operands.
1076 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
1080 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
1083 Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
1085 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
1087 Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
1089 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
1090 frame_pointer_rtx not FRAME_POINTER_REGNUM.
1092 Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
1094 * reg-stack.c: Revert last patch (Apr 20).
1095 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
1097 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
1099 * loop.c (check_dbra_loop): New locals jump, first_compare, and
1100 compare_and_branch. Call get_condition to set first_compare.
1101 Set compare_and_branch to number of compare/branch instructions.
1102 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
1103 Replace '2' with compare_and_branch.
1105 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1107 * cplus-dem.c (demangle_qualified): Replace missing else.
1109 Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1111 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
1113 Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1115 * sh.c (sh_expand_prologue, sh_expand_epilogue):
1116 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
1117 * sh.h (STACK_BOUNDARY): Likewise.
1119 Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1121 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1123 Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
1125 * system.h (abort): If abort is not defined, and neither is
1126 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
1127 reporting the line and filename of the error.
1129 * .gdbinit: Add breakpoints on exit and fancy_abort.
1131 * final.c (split_double): Avoid a compiler warning if
1132 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
1134 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
1135 for calling jump_optimize.
1137 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
1138 macros, rather than 0/1's.
1140 Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
1142 * alpha.h (CONST_COSTS): Zero is always free.
1143 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
1145 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1147 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
1148 length in the name of a virtual table.
1150 Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
1152 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
1154 Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
1156 * version.c: Bump for snapshot.
1158 Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
1160 * fold-const.c (fold_convert): Fix typo.
1162 Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
1164 * alias.c (alias_invariant): New variable.
1165 (record_base_value): New argument INVARIANT.
1166 (memrefs_conflict_p): If a register has an entry in the alias_invariant
1167 array, try substituting that value for the register.
1169 * rtl.h: Declare record_base_value.
1171 * loop.c, unroll.c: Update callers of record_base_value.
1173 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
1174 ZERO_EXTEND do not affect base values.
1176 Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
1178 * dbxout.c (dbxout_type): Fix typo.
1179 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
1181 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
1183 Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
1185 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
1186 if the argument is the address of a structure or array.
1188 * configure.in: Enable Haifa scheduler by default for SPARC.
1190 Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1192 * cse.c (cse_set_around_loop): Don't do optimization when
1193 new pseudos are created.
1195 Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
1197 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
1199 (dbxout_type_method_1, dbxout_type): Likewise.
1200 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
1201 (dbxout_type): Fix check for when to print a type range in
1204 Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1206 * (gen_shl_and, in case 1): Fix comparison with mask.
1208 Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
1210 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
1211 pointer as second register in REG+REG pair.
1213 Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1215 * c-common.c (check_format_info): Don't check for the 'x' format
1216 character twice, instead check for 'x' and 'X'
1218 Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
1220 * Makefile.in (libgcc2.ready): Add explicit dependancy from
1221 $(STMP_FIXPROTO) to ensure all necessary include files have
1222 been created and to guarantee proper parallel builds.
1224 Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1226 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
1227 register for stdarg functions.
1228 * sh.h (current_function_varargs): Declare.
1229 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
1231 1998-04-23 Jim Wilson <wilson@cygnus.com>
1233 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
1234 inhibit_libc is defined.
1236 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
1238 Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
1240 * profile.c (tablejump_entry_p): New function.
1241 (branch_prob): Add code to recognize MIPS tablejump entry branch.
1242 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
1244 Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
1246 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
1247 found, rather than at end of the loop, after the insn has been
1250 Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1252 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
1253 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
1255 Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
1257 * loop.c (note_addr_stored): Correct function to take 2 arguments,
1260 * rtl.def (MATCH_INSN2): Add new matching pattern.
1261 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
1263 Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
1265 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
1266 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
1268 * final.c (split_double): Sign extend both halves of a split CONST_INT.
1270 Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
1272 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
1274 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1276 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
1277 (cplus_demangle_opname): Call mop_up_squangle.
1278 (cplus_demangle): Initialize squangle info, then call
1279 internal_cplus_demangle. (Most code moved there as well)
1280 (internal_cplus_demangle): New function, performs most of what use
1281 to be done in cplus_demangle, but is only called with this file.
1282 (squangle_mop_up): New function to clean up B and K code data.
1283 (mop_up): set pointers to NULL after freeing.
1284 (demangle_signature, demangle_template, demangle_class): Add
1285 switch elements to handle K and B codes.
1286 (demangle_prefix, gnu_special, demangle_qualified): Add
1287 code to handle K and B codes.
1288 (do_type, demangle_fund_type): Handle B and K codes.
1289 (remember_Ktype): New function to store K info.
1290 (register_Btype, remember_Btype): New functions for B codes.
1291 (forget_B_and_K_types): New function to destroy B and K info.
1293 1998-04-21 Jim Wilson <wilson@cygnus.com>
1295 * stmt.c (check_seenlabel): When search for line number note for
1296 warning, handle case where there is no such note.
1298 Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
1300 * genemit.c (gen_exp): Allow machine description to set mode of
1303 Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
1305 * alias.c (mode_alias_check): New function.
1306 (true_dependence, anti_dependence, output_dependence): Call
1309 Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
1311 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
1312 (MIPS_STACK_ALIGN): Similarly.
1314 * c-common.c (type_for_mode): Handle TI types.
1315 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
1316 (init_decl_processing): Handle TI types.
1317 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
1319 * mips.c (block_move_loop): Test Pmode == DImode instead of
1321 (expand_block_move, save_restore_insns): Likewise.
1322 (function_prologue, mips_expand_prologue): Likewise.
1323 (mips_expand_epilogue): Likewise.
1324 * mips.h (POINTER_SIZE): Allow specific targets to override.
1325 (Pmode): Allow specific targets to override.
1326 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
1327 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
1328 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
1329 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
1330 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
1331 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1332 * mips.md (indirect, tablejump & casesi support): Test for
1333 Pmode == DImode instead of TARGET_MIPS64.
1334 (call patterns): Likewise.
1336 Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1338 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
1339 for gen_rtx(MEM, ...).
1341 Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
1343 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
1344 to not be so gross, and to properly function with PIC.
1346 Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
1348 * frame.c (heapsort): Rename to frame_heapsort.
1350 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
1352 Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
1354 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
1356 Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
1358 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
1359 operands during and after reload.
1361 Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1363 * final.c (shorten_branches, init_insn_lengths): Move code
1364 to free label_align, uid_shuid, insn_lengths, insn_addresses
1365 and uid_align from the former function into the latter one;
1366 Add code to clear these variables.
1367 * sh.h (label_align): Remove declaration.
1369 Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
1371 * gcc.c (lang_specific_driver): Declare prototype properly so
1372 fatal can be passed to it without error.
1374 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
1375 * configure: Regenerate.
1376 * config.in: Add #undef's for strchr and strrchr.
1378 * protoize.c (toplevel): If we have rindex, but not strrchr, map
1380 (file_could_be_converted): Use strrchr, not rindex since rindex is
1381 not defined on Linux systems when _POSIX_SOURCE is defined.
1382 (file_normally_convertible): Ditto.
1383 (process_aux_info_file): Ditto.
1386 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
1387 a constant to an integer register, don't split the insns that do
1388 the simple AND and OR operations, rather just split each word, and
1389 let the normal movsi define split handle it further.
1391 Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1393 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
1394 (split_branches): Call init_insn_lengths.
1396 Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
1398 * i386.c: Include expr.h to get the change_address prototype
1401 Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
1403 * reg-stack.c (subst_asm_stack_regs): Change to return the last
1404 new insn generated by this function.
1405 (subst_stack_regs): Likewise.
1406 (convert_regs): Record the last newly generated insn and use
1407 it for change_stack () instead of INSN.
1409 Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
1411 * fix-header.c (enum special_file): Undefine enumerators if they
1412 are already defined by include files.
1413 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
1414 macro with '__' to not pollute user namespace.
1416 Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
1418 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
1420 Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
1422 * version.c: Bump for snapshot.
1424 Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
1426 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
1428 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
1429 Add missing -Dpentium* options.
1430 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
1431 instead of CPP_CPU_DEFAULT.
1432 (EXTRA_SPECS): Add entry for cpp_cpu_default.
1434 Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
1436 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
1437 negative in a stackless frame.
1438 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
1439 in stackless frame size. Support 64-bit stackless frame size.
1440 Combine fpmem offset calculations and don't add total_size to
1441 offset if not pushing a stack frame.
1443 Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
1445 * regmove.c (fixup_match_1): In three places, in flag_exceptions
1446 check, change p to q.
1448 Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
1450 * gcc.c (lang_specific_driver): Add new parm type to prototype.
1451 (added_libraries): New file scope static variable.
1452 (process_command): Initialize added_libraries. Pass it to
1453 lang_specific_driver.
1454 (main): Use added_libraries in check for no input files.
1456 Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
1458 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
1459 code generation. Use 64 bit instructions in 32 bit mode when
1460 possible. Use V9 return instruction. UltraSPARC optimizations.
1462 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
1464 Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
1466 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
1467 just pass zero. That will work regardless of the size of HARD_REG_SET.
1469 * libgcc2.c (__floatdisf): Fix a couple typos.
1471 Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
1473 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
1475 Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
1477 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
1479 Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
1481 * emit-rtl.c (operand_subword_force): If a register can not be
1482 accessed by words, copy it to a pseudo register.
1484 Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
1486 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
1488 Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
1490 * tree.h (mark_seen_cases): Delete declaration.
1492 Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
1494 * stmt.c (mark_seen_cases): Make static and add prototype.
1496 Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1498 * frame.c: Include stdlib.h and unistd.h to possibly get various
1499 function prototypes. The fixproto script guarantees these header
1500 files exist on the target system.
1501 * libgcc2.c: Likewise.
1503 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
1504 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
1505 function parameters.
1506 * libgcc2.c (__udiv_w_sdiv): Likewise.
1508 Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
1510 * varasm.c (asm_output_bss): Add prototype.
1511 (asm_output_aligned_bss): Likewise.
1513 * unroll.c (verify_addresses): Add prototype.
1515 * toplev.c: Add many prototypes. Too many to mention here.
1517 * stmt.c (check_seenlabel): Add prototype.
1519 * rtlanal.c (reg_set_p_1): Add prototype.
1520 (reg_set_last_1): Likewise.
1522 * reorg.c (find_dead_or_set_registers): Add prototype.
1524 * regmove (try_auto_increment): Add prototype.
1526 * reg-stack.c (pop_stack): Add prototype.
1528 * recog.c (validate_replace_rtx_1): Add prototype.
1529 (find_cosntant_term_loc): Likewise.
1531 * loop.c (regs_patch_p): Add prototype.
1532 (add_label_notes, count_nonfixed_reads): Likewise.
1533 (find_single_use_in_loop): Likewise.
1534 (express_from): Surround prototype with #ifdef.
1535 (giv_sort): Similarly.
1537 * jump.c (mark_modified_reg): Add prototype.
1539 * haifa-sched.c (is_prisky): Add prototype.
1540 (queue_to_ready): Likewise.
1542 * genextract.c (gen_insn): Add prototype.
1544 * genemit.c (max_operand_1): Add prototype.
1545 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
1546 (gen_expand, gen_explit, output_add_clobbers): Likewise.
1547 (output_init_mov_optab): Likewise.
1549 * genattrtab.c (attr_hash_add_rtx): Add prototype.
1550 (attr_hash_add_string, write_length_unit_log): Likewise.
1552 * genattr.c (init_range): Add prototype.
1554 * combine.c (sets_function_arg_p): Add prototype.
1556 * expr.c (store_constructor_field): Add prototype.
1557 (get_memory_usage_from_modifier): Likewise
1559 * expmed.c (synth_mult): Add prototype.
1560 (choose_multiplier, invert_mod2n): Likewise.
1562 * except.c (push_eh_entry): Add prototype.
1563 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
1564 (call_get_eh_context, start_dynamic_cleanup): Likewise.
1565 (start_dynamic_handler, can_throw): Likewise.
1566 (output_exception_table_entry, scan_region): Likewise.
1567 (eh_regs, set_insn_eh_region): Likewise.
1569 * dwarfout.c (decl_class_context): Add prototype.
1570 (output_inheritance_die, type_ok_for_scope): Likewise.
1572 * c-lex.c (skip_white_space_on_line): Add prototype.
1574 * alias.c (record_set): Add prototype.
1575 (find_base_term, base_alias_check): Likewise.
1577 * function.c (assign_outer_stack_local): Make static and add prototype.
1579 * haifa-sched.c (build_control_flow): Accept raw data as inputs
1580 instead of computing it locally. Callers changed.
1581 (find_rgns): Several new arguments. Callers changed.
1582 Generally clean up and comment better. Use dominators to
1583 identify reducible loops. Convert some flag arrays to bitmaps.
1584 Convert most of the code to work on pred/succ lists instead of
1585 an edge table. Add comments for future improvements.
1586 (schedule_insns): Allocate temporary tables for flow data, call
1587 routines to compute flow data and pass it along to children as
1589 (debug_control_flow): Delete. Use dump_bb_data instead.
1591 * basic-block.h (compute_dominators): Declare.
1593 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
1595 * basic-block.h: Declare them.
1597 Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
1599 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
1602 Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
1604 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
1605 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
1606 node is non NULL. Cache last file name and file name identifier node.
1608 1998-04-15 Mark Mitchell <mmitchell@usa.net>
1610 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
1611 the length of an array, not TREE_TYPE.
1613 Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
1615 * flow.c (sbitmap_union_of_successors): New function.
1616 * basic-block.h (sbitmap_union_of_successors): Declare it.
1618 Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
1620 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
1621 Set gnu_ld to gnu_ld_flag inside main loop.
1624 Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
1626 * toplev.c (compile_file): Call init_parse using new interface.
1627 (init_lex): Remove declaration.
1629 * c-lex.c (init_parse): Now returns char* containing filename.
1631 Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
1633 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
1635 Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
1637 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
1638 (gen{extract,peep,opinit,output}): Ditto.
1640 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
1641 global definition so print-rtl.o can be linked in.
1642 * gen{peep,recog}.c (insn_attr_name): Ditto.
1644 Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
1646 * fixincludes: discard empty C++ comments, as found in sys/time.h
1649 Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1651 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
1654 Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
1656 * emit-rtl.c (operand_subword): Rework slightly to avoid
1657 bogus warning from previous change.
1659 Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
1661 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
1662 Nov 8 find_replacement change. Move decls of get_unaligned_address
1663 * alpha.h: ... here.
1665 Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
1667 * function.c (assign_parms): Initialize unsignedp before passing
1668 its pointer to promote_mode.
1670 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
1671 (write_test_expr): Allow MATCH_INSN.
1673 Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
1675 * install.texi: Update section on warnings that can be safely ignored.
1677 Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
1679 * mips.md (reload_outdi): Change the scratch mode from DImode to
1680 TImode. New variable scratch, used instead of operand[2] in template.
1681 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
1683 Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
1685 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
1687 Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
1689 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
1691 Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
1693 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
1694 (ASM_FINISH_DECLARE_OBJECT): Likewise.
1696 * Idea and part of the patch from HJ.
1697 * Makefile.in: auto-host.h renamed from auto-config.h. All references
1699 (distclean): Remove auto-build.h too.
1700 * configure.in: Rename host autoconf generated file to auto-host.h.
1701 If host != build, then run autoconf to generate auto-build.h for
1702 the build machine and include it in build_xm_files.
1703 Check for wait.h and sys/wait.h.
1705 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
1706 TRULY_NOOP_TRUNCATION.
1708 Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
1710 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
1712 Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
1714 * invoke.texi (ld options) Include memset requirements
1715 for options -nodstdlib and -nodefaultlibs.
1717 1998-04-12 Paul Eggert <eggert@twinsun.com>
1719 This change is from an idea suggested by Arthur David Olson.
1721 * c-common.c (decl_attributes, record_function_format,
1722 check_format_info, init_function_format_info):
1723 Add support for strftime format checking.
1724 (enum format_type): New type.
1725 (record_function_format): Now static, and takes value of type
1726 enum format_type instead of int.
1727 (time_char_table): New constant.
1728 (struct function_format_info): format_type member renamed from is_scan.
1729 (check_format_info): Use `warning' rather than sprintf followed by
1730 `warning', to avoid mishandling `%' in warnings.
1731 Change `pedwarn' to `warning', since these warnings do not necessarily
1732 mean the program does not conform to the C Standard, as the code
1733 need not be executed.
1735 * c-tree.h (record_function_format): Remove decl; no longer extern.
1737 * extend.texi: Add documentation for strftime format checking.
1739 Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
1741 * mips/ecoffl.h: Do not include mips.h.
1742 * mips/elf.h: Likewise.
1744 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
1745 * mips/ecoff.h: Include "mips/mips.h".
1747 Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
1749 * version.c: Bump for snapshot.
1751 Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
1753 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
1754 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
1755 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
1756 between loop optimization passes.
1757 * rtl.h: Updated appropriately.
1759 Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
1761 Reinstall this patch from Jason.
1762 * function.c (push_function_context_to): Don't call init_emit.
1764 Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
1766 * rtl.c (read_skip_spaces): Prevent infinite loops upon
1767 encountering unterminated comments.
1769 Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
1771 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
1774 * configure.in: Handle --with-fast-fixincludes.
1775 (fixincludes): If --with-fast-fixincludes, then use a different
1776 fixincludes program by default.
1777 * Makefile.in (fixinc.sh): New rule.
1779 Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
1781 * i386.md (movqi+1): Handle invalid QI register.
1782 (movsf_push-1): Likewise.
1784 Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
1786 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
1788 symbolic_memort_operand(), call32_operand(), int8_operand(),
1789 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
1791 uint16_operand(): Made static.
1793 Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
1795 * calls.c (expand_call): Fix typo.
1797 Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
1799 * c-lex.c (finput): New global.
1800 (init_parse): Always included. Handle !USE_CPPLIB using
1801 code originally in compile_file.
1802 (finish_parse): Update for CPPLIB.
1803 * toplev.c (init_parse, finish_parse): Declare.
1804 (finput): Delete variable. Now in front-ends.
1805 (compile_file): Remove code which is now handled by init_parse
1806 which is unconditionally called. Similarly for finish_parse.
1808 Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
1810 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
1811 ASM_WEAKEN_LABEL): Add.
1813 Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
1815 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
1816 * configure.in (alpha-*-linux*): Use them.
1818 Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
1820 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
1821 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
1822 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
1823 (build_expr_wfl): New prototype declaration.
1824 * tree.c (build_expr_wfl): New function, to build
1825 EXPR_WITH_FILE_LOCATION nodes.
1826 (copy_node): Don't zero TREE_CHAIN if copying a
1827 EXPR_WITH_FILE_LOCATION node.
1828 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
1829 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
1831 Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
1833 * configure.in (v850): Use t-v850.
1834 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
1836 * protoize.c (creat, read, write): Do not declare.
1838 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
1839 refer to the CODE_LABEL before a dispatch table.
1841 * invoke.texi: Add ARC options.
1843 * gcc.c (proces_command): Improve error message for -o with
1846 * i386/x-cygwin32 (CLIB): Link in advapi32.
1848 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
1849 (ASM_IDENTIFY_LANGUAGE): Likewise.
1851 * i386.md (movqi recognizer): Don't perfom byte increment into
1854 * configure.in (x86-dg-dgux): Run fixinc.dgux.
1856 * i370.h: Fix typo in GEN_INT changes.
1858 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
1859 of an empty arglist in prototype.
1861 * Makefile.in: Remove bytecode crud that crept back in after the
1864 1998-04-08 Brendan Kehoe <brendan@cygnus.com>
1866 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
1867 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
1869 Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
1871 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1873 Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
1875 * c-lex.c (is_class_name): Delete declaration.
1876 (whitespace_cr): Make static and add prototype.
1877 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
1878 yylex, get_directive_line): Turn declarations into prototypes.
1879 (position_after_whitespace, check_newline, yyerror,, is_class_name,
1880 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
1882 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
1884 * gencodes.c (gen_insn): Add prototype.
1885 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
1886 gen_peephole): Add prototypes.
1887 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
1889 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
1890 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
1891 genheader, gencode): Add prototypes.
1892 * genopinit.c (gen_insn): Add prototype.
1893 * genoutput.c (output_prologue, output_epilogue, scan_operands,
1894 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
1895 gen_expand, gen_split, n_occurrences): Add prototypes.
1896 * genpeep.c (gen_peephole): Add prototype.
1897 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
1898 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
1899 labels_in_range_p, count_loop_regs_set, note_addr_stored,
1900 loop_reg_used_before_p, scan_loop, replace_call_address,
1901 skip_consec_insns, libcall_benefit, ignore_some_movables,
1902 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
1903 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
1904 check_final_value, record_giv, update_giv_derive, basic_induction_var,
1905 simplify_giv_expr, general_induction_var, consec_sets_giv,
1906 check_dbra_loop, express_from, combine_givs_p, combine_givs,
1907 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
1908 last_use_this_basic_block, record_initial, update_reg_last_use,
1909 iteration_info, analyze_loop_iterations, insert_bct,
1910 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
1913 Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
1915 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1917 1998-04-07 Ken Raeburn <raeburn@cygnus.com>
1919 * config/mips/mips.c (siginfo): Deleted.
1920 (override_options): Don't install SIGINFO signal handler.
1922 Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
1924 * loop.c (check_dbra_loop): When normalize comparison_val, add check
1925 to verify it is non-negative.
1927 Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
1929 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
1930 (alpha_expand_block_clear): Likewise.
1932 Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
1934 * tree.h (sizetype_tab): Fix previous change for K&R.
1936 Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
1938 * version.c: Bump for snapshot.
1940 Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
1942 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
1943 Add USG and POSIX to xm_defines.
1945 Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
1947 * gcc.c: Add linker spec.
1948 (link_command_spec): Use %(linker) instead of ld.
1949 (main): If collect2 is requested as the linker, see if it exists;
1950 if not, use ld instead.
1952 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
1954 (install-collect2): Install as collect2, not ld.
1956 * configure.in(will_use_collect2): It's named collect2 now.
1958 * collect2: Remove checks to see if we were invoked recursively.
1959 (collect_execute): Use _spawnvp under cygwin32.
1961 Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
1963 * haifa-sched.c (build_control_flow): Set unreachable for block whose
1964 only predecessor is itself.
1966 Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1968 * c-parse.in: Include system.h, and remove stuff now made redundant.
1971 * protoize.c: Likewise. Properly check for cpp stringification.
1973 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
1976 * objc/Make-lang.in (objc-parse.o): Likewise.
1978 Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1980 * gansidecl.h: Check if compiler supports __attribute__. Provide
1981 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
1982 __attribute__ when its available. Also provide definitions for
1983 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
1984 terms of ATTRIBUTE_PRINTF.
1986 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
1989 Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
1991 * combine.c (can_combine_p): Include successor in volatile test.
1993 Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1995 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
1998 Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
2000 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
2001 in prototype and definition.
2003 Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
2005 * version.c: Bump for snapshot.
2007 Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
2009 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
2010 alpha_expand_unaligned_store_words.
2012 Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
2014 * i386.md (movsf_push, movsf_mem): Remove.
2015 (movsf_push): Rename from movsf_push_nomove and move in front of
2016 movsf. Use nonmemory_operand predicate and don't bother checking
2018 (movsf_push_memory): New pattern.
2019 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
2020 both operands refer to memory then force operand[1] into a register.
2021 (movsf_normal): Change to unnamed pattern.
2022 Likewise for movdf, movxf, and friends.
2024 Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
2026 * version.c: Bump for snapshot.
2028 Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
2030 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
2032 Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
2034 * configure.in (mips-wrs-vxworks): New target.
2036 Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
2038 * expmed.c (synth_mult): The value -1, has no zeros, so it can
2039 never have the form ...011.
2041 * version.c: Bump for snapshot.
2043 Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
2045 * i386.c (asm_output_function_prefix, load_pic_register):
2046 Use ASM_GENERATE_INTERNAL_LABEL properly.
2047 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
2048 (print_operand): Ignore it.
2049 (load_pic_register): Use it for the got load call.
2050 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
2051 (prologue_get_pc_and_set_got): Likewise.
2052 * i386.h: Update print_operand docs.
2054 Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
2056 * i386.md (ffssi, ffshi): Rewrite as define_expands.
2057 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
2058 * i386.c (notice_update_cc): Recognize unspec 5.
2060 Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
2062 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
2063 * alpha.c (print_operand): Handle it.
2064 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
2066 (fix_truncdfdi2): Likewise.
2068 Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
2070 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
2071 of these into a single struct, with additional [us]sizetype entries.
2072 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
2073 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
2076 Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
2078 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
2080 Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
2082 * haifa-sched.c (split_block_insns): Don't supress insn splitting
2083 on subsequent passes.
2085 * alpha.c (hard_fp_register_operand): New function.
2086 * alpha.h (PREDICATE_CODES): Add it.
2087 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
2088 f<-m case and accompanying define_split.
2089 (trapb): Use a unique unspec_volatile number.
2091 Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
2093 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
2096 Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
2098 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
2101 * haifa-sched.c: Mirror recent changes from gcc2.
2103 Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
2105 * Makefile.in (insn*.o): Depend on system.h.
2107 * pa.c (output_global_address): Initialize base.
2108 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
2110 1998-04-03 Mike Stump <mrs@wrs.com>
2112 * gthr.h: Support systems that don't have weak, but have threads.
2113 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
2114 * gthr-vxworks.h: New file.
2115 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
2117 Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
2119 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
2121 1998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
2123 * ginclude/va-i960.h (va_end): Change void * to void.
2125 Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2127 * Makefile.in (choose-temp.o): Depend on system.h.
2129 * choose-temp.c: Include system.h when IN_GCC.
2131 Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
2132 Richard Henderson <rth@cygnus.com>
2134 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
2135 (move_replacements): New function.
2136 * reload.h: Prototype it.
2138 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
2140 Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
2142 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
2145 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
2146 (gen_highpart): Likewise.
2147 * final.c (alter_subreg): Allow the target to hook by-mode subreg
2148 hard register number changes.
2150 Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
2152 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
2153 rnbitsize, rnmode and rinner.
2154 (make_range): Initialize type.
2155 (fold): Initialize arg0, arg1 and varop.
2157 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
2159 (expand_function_start): Initialize last_ptr.
2161 * stor-layout.c (layout_record): Initialize desired_align.
2162 (get_best_mode): Initialize unit.
2164 * tree.c (copy_node): Initialize length.
2166 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
2168 * caller-save.c (insert_save_restore): Initialize pat, code and
2171 * emit-rtl.c (push_to_sequence): Initialize top.
2172 (push_topmost_sequence): Likewise.
2174 * genattrtab.c (simplify_by_exploding): Initialize defval.
2176 * profile.c (branch_prob): Initialize dest.
2178 * rtl.h (note_stores): Remove duplicate prototype.
2179 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
2181 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
2182 strings that are not actually lengths.
2184 * genattrtab.c: Make generated file use system.h, instead of
2185 including stdio.h, etc directly.
2186 * genextract.c, genopinit.c, genoutput.c: Likewise.
2187 * genpeep.c, genrecog.c: Likewise
2189 * genoutput.c (process_template): Mark operands in the generated
2190 function as potentially unused if compiling with GNU CC.
2192 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
2194 * pa.md (reload peepholes): Remove unused variable "mode".
2196 Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
2198 * config/arm/thumb.h: Add super interworking support.
2199 * config/arm/thumb.c: Add super interworking support.
2200 * config/arm/thumb.md: Add super interworking support.
2201 * config/arm/lib1funcs.asm: Add interworking support.
2202 * config/arm/lib1thumb.asm: Add super interworking support.
2203 * config/arm/t-semi: Add interworking support.
2204 * config/arm/t-thumb: Add interworking support.
2205 * config/arm/README-interworking: New file.
2207 Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
2209 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
2210 (MD_STARTFILE_PREFIX): Unset.
2212 1998-04-01 Mark Mitchell <mmitchell@usa.net>
2214 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
2215 entity in a local scope.
2217 * fold-const.c (fold): Call truthvalue_conversion for values which
2218 are folded to boolean type.
2220 Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
2222 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
2223 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
2224 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
2225 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
2226 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
2227 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
2228 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
2229 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
2230 * md.texi: Likewise.
2232 Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
2234 * fixincludes (limits.h): Fix nested comments in Motorola's
2235 limits.h and sys/limits.h.
2237 Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
2239 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
2240 as dest of expand_binop call.
2242 * alpha.md (extzv): Correct check for valid operand[2] values.
2244 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
2247 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
2249 Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
2251 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
2252 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
2254 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
2255 cygwin32 can override this to allow both unix and win32 style PATHs.
2257 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
2258 style environment paths.
2260 Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2262 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
2263 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
2264 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
2267 * cpphash.c: Include config.h.
2268 * cppalloc.c: Include system.h. Add parameters to various
2269 function prototypes.
2270 * cpperror.c: Likewise.
2271 * cppexp.c: Likewise.
2272 * cpphash.c: Likewise.
2273 * cpplib.c: Likewise.
2274 * cppmain.c: Likewise.
2275 * fix-header.c: Likewise.
2277 * gen-protos.c: Likewise.
2278 * gengenrtl.c: Likewise.
2279 * halfpic.c: Likewise.
2281 * scan-decls.c: Likewise.
2284 Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
2286 * README.gnat: Add lang_print_xnode definition.
2288 Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2290 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
2291 fmovecr on the 68060.
2293 Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
2295 * genemit.c (DONE): Rework so that it works in the true arm if
2296 an if-else conditional.
2299 Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
2301 * rs6000.c: Do not include stdioh or ctype.h anymore.
2303 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
2305 (stor-layout.o): Likewise.
2306 * c-typeck.c: Include rtl.h and expr.h.
2307 * stor-layout.c: Likewise.
2309 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
2310 All callers changed.
2311 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
2312 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
2313 All callers changed.
2315 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
2317 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
2319 * tree.h (lang_print_xnode): Provide prototype.
2321 Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
2323 * version.c: Bump for snapshot.
2325 Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
2327 * objc/sendmsg.c (__objc_block_forward): Add braces for return
2328 value if INVISIBLE_STRUCT_RETURN.
2330 * pa.c (arith_double_operand): Fix parens.
2332 * haifa-sched.c (print_pattern): Correct arg to sprintf.
2334 * Makefile.in (libgcc1.null): Make return type for __foo void.
2336 Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
2338 * pa.h: Add declarations for many functions defined in pa.c.
2340 * genpeep.c (main): Remove unused variable 'i' from the generated
2343 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
2344 (gen_split): Likewise.
2345 (main): Rework generated definitions of DONE and FAIL so that they
2346 no longer use gotos. Avoids warnings about unused labels.
2348 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
2349 unused "junk" variable.
2351 * genattrtab.c (write_complex_function): Add a default case in
2352 generated switch statement to keep -W -Wall quiet.
2354 Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
2356 * invoke.texi: Document more ARM and Thumb command line options.
2358 * config/arm/xm-thumb.h: New file.
2360 Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
2362 * stmt.c (expand_expr_stmt): Must generate code for
2363 statements within an expression (gcc's `({ ... )}')
2364 even if -fsyntax-only.
2366 Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2367 Jeffrey A Law (law@cygnus.com)
2369 * basic-block.h (basic_block_computed_jump_target): Declare.
2370 * flags.h: (current_function_has_computed_jump): Declare.
2371 * flow.c: (basic_block_computed_jump_target): Define.
2372 (flow_analysis): Allocate it. Set current_function_has_computed_jump
2374 (find_basic_blocks): Set current_function_has_computed_jump and
2375 elements of basic_block_computed_jump_target to 1 as appropriate.
2376 * function.c: (current_function_has_computed_jump): Define.
2377 * global.c (global_conflicts): Don't allocate pseudos into stack regs
2378 at the start of a block that is reachable by a computed jump.
2379 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
2381 (subst_stack_regs): Undo change from Sep 4 1997.
2382 (uses_reg_or_mem): Now unused, deleted.
2383 * stupid.c (stupid_life_analysis): Compute
2384 current_function_has_computed_jump.
2385 (stupid_find_reg): Don't allocate stack regs if the function has a
2387 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
2388 the current function has a computed jump. Use the global value
2391 Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
2393 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
2394 (DWARF2_UNWIND_INFO): Define to zero.
2396 Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
2398 * gcc.c (set_std_prefix): Add declaration.
2399 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
2400 suffix, and update the standard prefix prefix.c uses.
2402 * prefix.c (std_prefix): New global to hold default prefix value.
2403 (get_key_value): Change to use std_prefix instead of PREFIX.
2404 (translate_name): Ditto.
2405 (update_path): Ditto.
2406 (get_key_value): Release allocated scratch storage.
2407 (set_std_prefix): New function to reset the standard prefix.
2409 Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2411 * sh.c (find_barrier): Fix calculations for alignment increase.
2413 Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
2415 * Makefile.in (stmp-fixinc): If we're actually fixing include
2416 files, copy gcc's assert.h into the fixed include dir.
2417 * fixincludes (assert.h): Avoid any attempts to fix a probably
2418 broken system specific assert.h file.
2419 * fixproto (stdlib.h): Make sure, it'll contain a definition of
2422 Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
2424 * regclass.c (reg_scan_mark_refs): Be more selective about
2425 when we mark a register with REGNO_POINTER_FLAG.
2427 Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2429 reload inheritance improvement:
2430 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
2431 Change meaning: index is now hard reg number.
2432 (reg_reloaded_valid, reg_reloaded_dead): New variables.
2433 (reload_spill_index): Content is now a hard reg number.
2434 (reload_as_needed): Change to fit new variable meaning.
2435 (forget_old_reloads_1, allocate_reload_reg): Likewise.
2436 (choose_reload_regs, emit_reload_insns): Likewise.
2438 Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2440 * regclass.c (record_reg_classes): '?' increases cost by two.
2442 * reload.c (find_reloads): Double previous costs. Output
2443 reloads cost one unit extra.
2445 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
2446 boiled down to && ! 0.
2448 * reload.c (find_equiv_reg): Also consider a goal offset from the
2449 frame pointer to be constant.
2451 Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2453 * sh.h (OPTIMIZATION_OPTIONS): Define.
2455 Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
2457 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
2459 Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
2461 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
2463 Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
2465 * c-common.c (check_format_info): Initialize type, is_type. New local
2466 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
2467 when pedantic if used with integral format specifier.
2469 Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
2471 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
2473 (function_arg_padding): Declare.
2475 * rs6000.c: Include system.h.
2476 (function_arg_padding): Change return type to int, cast enum's to
2479 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
2480 * collect2.c (scan_prog_file): Add explicit braces to avoid
2483 * dbxout.c (dbxout_type_fields): Add braces around empty body in
2485 (dbxout_type): Likewise.
2487 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
2488 `ptt_size' from int to size_t.
2489 (rs6000_file_start): Likewise for `i'.
2490 (rs6000_replace_regno): Add default case in enumeration switch.
2491 (output_epilog): Remove unused variable `i'.
2492 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
2495 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
2497 (get_issue_rate, non_logical_cint_operand): Add prototype.
2498 (rs6000_output_load_toc_table): Ditto.
2500 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
2503 Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
2505 * config/arm/thumb.c: New File. Support for ARM's Thumb
2507 * config/arm/thumb.h: New File. Thumb definitions.
2508 * config/arm/thumb.md: New File. Thumb machine description.
2509 * config/arm/tcoff.h: New File. Thumb COFF support.
2510 * config/arm/t-thumb: New File. Thumb makefile fragment.
2511 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
2513 * configure.in: Add Thumb-coff target.
2514 * configure: Add Thumb-coff target.
2515 * config.sub: Add Thumb-coff target.
2517 Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
2519 * loop.c (scan_loop): Initialize move_insn_first to zero.
2521 Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
2523 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
2524 * config/i386/rtems.h: Likewise.
2525 * config/i960/rtems.h: Likewise.
2526 * config/m68k/rtems.h: Likewise.
2527 * config/mips/rtems64.h: Likewise.
2528 * config/pa/rtems.h: Likewise.
2529 * config/rs6000/rtems.h: Likewise.
2530 * config/sh/rtems.h: Likewise.
2531 * config/sparc/rtems.h: Likewise.
2533 Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2535 * pa.c (emit_move_sequence): If in reload, call find_replacement.
2537 Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
2539 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
2541 * collect2.c (find_a_file): Add debugging.
2542 (find_a_file): Test for win32 style absolute paths if
2543 DIR_SERPARATOR is defined.
2544 (prefix_from_string): Add debugging.
2545 (main): Test for debug command line switch at start of program
2547 (main): Use GET_ENVIRONMENT rather than getenv().
2548 (prefix_from_env): Use GET_ENVIRONMENT.
2550 1998-03-24 Mark Mitchell <mmitchell@usa.net>
2552 * cplus-dem.c (optable): Add sizeof.
2553 (demangle_template_value_parm): New function containing code
2554 previously found in demangle_template.
2555 (demangle_integral_value): New function which handles complicated
2556 integral expressions.
2557 (demangle_template): Use them.
2559 Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2561 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
2562 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
2563 genattrtab.o, genoutput.o): Depend on system.h.
2565 * genattr.c: Include system.h. Add arguments to various function
2566 prototypes. Remove redundant prototype of read_rtx().
2567 * genattrtab.c: Likewise.
2568 * gencodes.c: Likewise.
2569 * genconfig.c: Likewise.
2570 * genemit.c: Likewise.
2571 * genextract.c: Likewise.
2572 * genflags.c: Likewise.
2573 * genopinit.c: Likewise.
2574 * genoutput.c: Likewise.
2575 * genpeep.c: Likewise.
2576 * genrecog.c: Likewise.
2578 1998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
2580 * c-lang.c (lang_print_xnode): New function.
2581 * objc/objc-act.c (lang_print_xnode): Likewise.
2582 * print-tree.c (print_node): Call it
2584 Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
2586 * c-parse.in: Recognize protocol qualifiers in class
2587 definitions for objc.
2589 (yyerror): Remove redundant decl.
2590 (yyprint): Fix prototype.
2592 Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
2594 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
2596 * stmt.c (unroll_block_trees): Free block_vector if needed.
2598 Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
2600 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
2601 (zero_extendsidi2): Avoid useless copy.
2602 (iordi_zext): New pattern.
2603 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
2605 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
2607 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
2608 (ashldi3): Allow constant shift count in range ]32,63].
2609 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
2611 1998-03-22 Mark Mitchell <mmitchell@usa.net>
2613 * tree.h (IS_EXPR_CODE_CLASS): New macro.
2615 Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
2617 * h8300.h (CONST_COSTS): Remove definition.
2618 (DEFAULT_RTX_COSTS): Define.
2620 Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
2622 * config/sh/rtems.h: Switched from ELF to COFF.
2624 Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2626 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
2628 Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
2630 * version.c: Bump for snapshot.
2632 Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
2633 Geoff Noer <noer@cygnus.com>
2635 * Makefile.in: Various fixes for building cygwin32 native toolchains.
2637 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
2638 * objc/Make-lang.in: Likewise.
2640 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
2642 Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
2644 * configure.in: Handle with-PACKAGE=no correctly
2646 Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2648 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
2649 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
2650 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
2651 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
2652 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
2653 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
2654 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
2655 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
2656 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
2657 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
2660 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
2661 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
2662 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
2663 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
2664 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
2665 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
2666 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
2667 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
2668 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
2669 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
2670 xcoffout.c: Include system.h. Organize include ordering so
2671 that stdarg/varargs comes before other system headers. Remove
2672 spurious casts of functions assured of a prototype in system.h.
2674 Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
2676 * reg-stack.c (pop_stack): Define. Pops any register on the
2677 regstack and adjusts regstack.
2678 (compare_for_stack_reg): Use pop_stack.
2680 Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
2682 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
2685 Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
2687 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
2689 * fold-const.c (fold): Replace sign-extension of a zero extended
2690 value by a single zero extension.
2692 Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
2694 * except.c (init_eh): Do nothing.
2695 (save_eh_status): Call init_eh_for_function, not init_eh.
2696 * function.c (push_function_context_to): Don't call init_emit.
2698 Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
2700 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
2703 Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2705 * final.c (shorten_branches): Add parentheses around +/- in
2708 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
2710 Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
2712 * regclass.c (memory_move_secondary_cost): Wrap uses of
2713 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
2716 Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2718 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
2720 * flow.c (life_analysis): #include <sys/types.h> to make sure
2722 * cplus-dem.c (demangle_function_name): Likewise.
2724 Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
2726 * final.c (insn_noperands): Change type to unsigned int.
2727 (final_scan_insn): Likewise for noperands;
2728 properly check operand number boundaries.
2730 Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
2732 * alpha.md (extzv): Don't reject register operands. Fix
2735 Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
2737 * dbxout.c (dbxout_function_end): Fix last change. The correct
2738 predicate is ASM_OUTPUT_SECTION_NAME.
2740 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2742 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
2743 (ashlsi): Use match_dup 1 instead of match_operand 2.
2745 Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2747 * fold-const.c (operand_equal_for_comparison_p): See if equal
2748 when nop conversions are removed.
2750 Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2752 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
2753 don't use ORIGINAL_TARGET unless REG.
2755 Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2757 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
2759 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2761 * loop.c (struct movable): New field move_insn_first.
2762 (scan_loop): In consec sets code, set it. Clear it otherwise.
2763 (move_movables): In consec sets code, use it. Copy REG_NOTES from
2764 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
2767 Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
2769 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
2770 is large, and the system doesn't provide atoll or atoq.
2773 * alpha/xm-vms.h (HAVE_ATOLL): Define.
2774 Reported by Klaus Kaempf <kkaempf@progis.de>.
2776 Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2778 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
2779 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
2781 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
2782 test !ACCUMULATE_OUTGOING_ARGS.
2784 * collect2.c (write_c_file_glob): Wrap function definition in
2785 macro test !LD_INIT_SWITCH.
2787 * combine.c (try_combine): Wrap variables `cc_use' and
2788 `compare_mode' in macro test EXTRA_CC_MODES.
2790 * cpplib.c (do_ident): Remove unused variable `len'.
2791 (skip_if_group): Remove unused variables `at_beg_of_line' and
2793 (cpp_get_token): Remove unused variable `dummy'.
2795 * dbxout.c (scope_labelno): Move static variable definition inside
2796 the one function scope where it is used.
2797 (dbxout_function_end): Wrap prototype and definition in
2798 macro test !NO_DBX_FUNCTION_END.
2800 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
2801 in macro test !MIPS_DEBUGGING_INFO.
2803 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
2804 into the scope where it is used. Wrap empty else-statement body
2807 * fix-header.c: Fix typo in comment.
2808 (inf_skip_spaces): Cast results of INF_UNGET to (void).
2809 (check_protection, main): Likewise.
2811 * flow.c (find_basic_blocks_1): Remove dangling comment text.
2813 * function.c (contains): Wrap prototype and definition in macro
2814 test HAVE_prologue || HAVE_epilogue.
2815 (fixup_var_refs_1): Remove unused variable `width'.
2817 * gen-protos.c (main): Remove unused variable `optr'.
2819 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
2821 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
2822 (__sjpopnthrow): Remove unused variable `jmpbuf'.
2823 (__throw): Remove unused variable `val'.
2825 * protoize.c: Check for a previously existing definition before
2826 defining *_OK macros.
2828 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
2830 Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2832 * vax.h (ADDR_VEC_ALIGN): Define.
2834 Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
2836 * gcc.c (default_arg): Don't wander off the end of allocated
2839 (From Geoffrey Keating <geoffk@ozemail.com.au>)
2840 * rs6000.c (small_data_operand): Ensure that any address
2841 referenced relative to the small data area is inside the SDA.
2843 Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
2845 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
2847 Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2849 * except.h (in_same_eh_region): New prototype.
2850 (free_insn_eh_region, init_insn_eh_region): New prototypes.
2851 * except.c (insn_eh_region, maximum_uid): New static variables.
2852 (set_insn_eh_region): New static function to set region numbers.
2853 (free_insn_eh_region): New function to free EH region table.
2854 (init_insn_eh_region): New function to initialize EH region table.
2855 (in_same_eh_region): New function used to determine if two rtl
2856 instructions are in the same exception region or not.
2857 * final.c (final): Initialize the table indicating which instructions
2858 belong in which exception region.
2859 * genpeep.c (main): Add "except.h" to include file list in generated
2861 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
2862 peepholes involving calls and unconditional branches.
2864 Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
2866 * README.gnat: New file.
2868 Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2870 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
2871 "recog.h" for offsettable_memref_p.
2872 (legitimize_pic_address): Remove unused variable `offset'.
2873 (notice_update_cc): Change return type to void. Add default label
2875 (standard_68881_constant_p): Remove unused variable mode.
2876 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
2877 (const_int_cost): Explicitly declare as returning int.
2878 (output_dbcc_and_branch): Change return type to void.
2880 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
2881 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
2882 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
2884 Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
2886 * version.c: Bump for snapshot.
2888 Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2890 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
2891 check for 'M' constraint.
2893 Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
2895 * cccp.c (create_definition): If pedantic, call pedwarn for macro
2898 Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2900 * i386.c (ix86_logical_operator): New function.
2901 (split_di): Ensure that when a MEM is split, the resulting MEMs have
2903 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
2906 Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2907 Richard Earnshaw <rearnsha@arm.com>
2908 Nick Clifton <nickc@cygnus.com>
2910 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
2912 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
2914 * cse.c (rtx_cost): Provide a default case in an enumeration
2915 switch, and call DEFAULT_RTX_COSTS if it's defined.
2917 Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
2919 * basic-block.h (compute_preds_succs): Change return type in
2921 * flow.c (compute_preds_succs): Likewise in function definition.
2923 * regmove.c (find_matches): Cast char used as array index to unsigned char
2926 Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
2928 * i386.h (RTX_COSTS): Insert braces around nested if.
2929 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
2932 * gcc.c (default_compilers): Properly put brackets around array elements in
2935 * getopt.c (_getopt_internal): Add explicit braces around nested if;
2938 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
2939 (record_reg_life_pat): Add explicit parens around && and || in expression.
2940 (stack_reg_life_analysis): Add parens around assignment used as expression.
2941 (convert_regs): Likewise.
2943 Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
2945 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
2946 change callers accordingly.
2948 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
2949 and definition; change all callers accordingly.
2951 * except.c (init_eh): Avoid assignment of unused return value of
2952 build_pointer_type; cast it to void, instead, and remove unused
2955 * gcc.c (lang_specific_driver): Define prototype only #ifdef
2956 LANG_SPECIFIC_DRIVER.
2957 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
2959 * genoutput.c (output_epilogue): Initialize next_name to 0.
2961 * real.c (efrexp): #if 0 prototype and function definition.
2962 (eremain): Likewise.
2969 * reload.c (push_secondary_reload): Define prototype only
2970 #ifdef HAVE_SECONDARY_RELOADS.
2972 * varasm.c (assemble_static_space): Define rounded only
2973 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
2975 Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2977 * i386.md (andsi): Add default case in enumeration switch.
2982 Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
2984 * c-decl (finish_struct): Change type of min_align to unsigned.
2986 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
2987 remove unused variable len.
2989 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
2990 comment indicating this is proper behaviour.
2991 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
2993 (based_loc_descr): Likewise.
2995 * enquire.c (bitpattern): Change type of variable i to unsigned.
2997 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
2999 * flow.c (life_analysis): Change type of variable i to size_t;
3000 remove unused variable insn.
3002 * gcc.c (translate_options): Change type of variables optlen, arglen and
3004 (input_filename_length): Change type to size_t.
3005 (do_spec_1): Change type of variable bufsize to size_t.
3006 (main): Change type of variables i and j to size_t;
3007 remove subblock local definition of variable i.
3008 (lookup_compiler): Change type of second argument to size_t;
3009 change type of variable i to size_t.
3011 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
3013 * genopinit.c (get_insn): Change type of variable pindex to size_t.
3015 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
3017 * global.c (global_alloc): Change type of variable i to size_t.
3019 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
3021 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
3022 (expand_end_case): Change type of variable count to size_t.
3024 * toplev.c (main): Change type of variable j to size_t.
3025 (set_target_switch): Change type of variable j to size_t.
3026 (print_switch_values): Change type of variable j to size_t;
3027 remove unused variable flags.
3029 * varasm.c (assemble_variable): Change type of variable align to size_t.
3030 (const_hash_rtx): Change type of variable i to size_t.
3032 1998-03-11 Mark Mitchell <mmitchell@usa.net>
3034 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
3035 TREE_VEC if that's what it really is.
3037 Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
3039 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
3042 Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
3044 * gthr.h: Changed the comment about return values.
3045 * gthr-solaris.h (__gthread_once): Do not use errno; return the
3046 error number instead of -1.
3047 (__gthread_key_create): Any non-zero return value is an error.
3048 * libgcc2.c (eh_context_initialize): Check for non-zero return
3049 value from __gthread_once.
3050 Check that the value of get_eh_context was really changed.
3052 Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3054 * sh.h (LOOP_ALIGN): Only align when optimizing.
3055 * sh.c (find_barrier): Clear inc for CODE_LABELs.
3056 When not optimizing, calculate alignment for BARRIERs directly.
3058 Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3060 * final.c (shorten_branches): Remove conditionalizing on
3061 SHORTEN_WITH_ADJUST_INSN_LENGTH
3062 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
3064 Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
3066 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
3067 an unconditional jump around deleted blocks.
3069 Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
3071 * profile.c (branch_prob): If see computed goto, call fatal instead of
3074 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
3076 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
3077 Patch from Bruno Haible.
3079 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
3080 (assign_parms): Set aggregate if hide_last_arg and last_named.
3082 Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3084 * final.c (shorten_branches): Initialize insn_addresses.
3086 Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3088 * sh.h (MUST_PASS_IN_STACK): Define.
3090 Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
3092 * final.c (shorten_branches): Fix minor logic error in
3093 ADDR_DIFF_VEC shortening support.
3095 Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
3097 * version.c: Bump for snapshot.
3099 Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
3101 * haifa-sched.c (is_cfg_nonregular): Change return type to
3102 an int. No longer compute "estimated" number of edges. Use
3103 computed_jump_p instead of duplicating the code. Fixup/add
3105 (build_control_flow): Returns a value indicating an irregularity
3106 in the cfg was detected. Count the number of edges in the cfg.
3107 allocate various edge tables.
3108 (find_rgns): No longer look for unreachable blocks.
3109 (schedule_insns): Do not allocate memory for edge tables here.
3110 Free memory for edge tables before returning. Do not perform
3111 cross block scheduling if build_control_flow returns nonzero.
3112 * flow.c (compute_preds_succs): More accurately determine when
3115 * basic-block.h (free_basic_block_vargs): Provide prototype.
3117 * cccp.c (main): Fix dumb mistakes in last change.
3119 Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3121 * rtl.h (addr_diff_vec_flags): New typedef.
3122 (union rtunion_def): New member rt_addr_diff_vec_flags.
3123 (ADDR_DIFF_VEC_FLAGS): New macro.
3125 * sh.c (output_branch): Fix offset overflow problems.
3127 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
3128 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
3129 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
3130 * stmt.c (expand_end_case): Supply new arguments to
3131 gen_rtx_ADDR_DIFF_VEC.
3132 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
3133 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
3134 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
3135 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
3136 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
3137 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
3138 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
3139 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
3140 * i386/freebsd.h, i386/linux.h : Likewise.
3141 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
3142 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
3143 * m68k/mot3300.h, m68k/sgs.h : Likewise.
3144 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
3145 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
3146 (CASE_VECTOR_SHORTEN_MODE): Define.
3147 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
3148 (med_branch_p, braf_branch_p): Don't declare.
3149 (mdep_reorg_phase, barrier_align): Declare.
3150 (ADJUST_INSN_LENGTH): Remove alignment handling.
3151 * sh.c (uid_align, uid_align_max): Deleted.
3152 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
3153 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
3154 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
3155 (output_far_jump): Don't use braf_branch_p.
3156 (output_branchy_insn): Don't use branch_offset.
3157 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
3158 Remove paired barrier stuff.
3159 Don't use cache_align_p.
3160 Take alignment insns into account.
3161 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
3163 (barrier_align, branch_dest): New function.
3164 (machine_dependent_reorg, split_branches): Remove infrastructure
3165 for branch shortening that is now provided in the backend.
3166 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
3167 (braf_branch_p, braf_cbranch_p): Likewise.
3168 (attribute length): Use new attributes.
3169 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
3170 (addr_diff_vec_adjust): Delete.
3171 (align_2): Now a define_expand.
3172 (align_log): Now length 0.
3174 Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
3176 * m32r.md (right): Correctly check for length == 2, not 1.
3178 Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3180 * mips/mips.h: Prototype `machine_dependent_reorg'.
3181 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
3183 Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
3185 * final.c (shorten_branches): Restore accidentally removed code.
3187 Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3189 * configure.in: Remove duplicate uses of AC_PROG_CC and
3192 Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
3194 * configure.in (target_cpu_default2): Correct typo for alphapca56.
3196 Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
3197 Doug Evans (devans@cygnus.com)
3199 * haifa-sched.c (build_jmp_edges): Delete dead function.
3200 (build_control_flow): Use cfg routines from flow.c
3201 (schedule_insns): Remove debugging code accidentally checked
3204 * basic-block.h: Add external integer list structures, typdefs,
3205 accessor macros and function declarations. Simlarly for
3206 basic block pred/succ support and simple bitmap stuff.
3207 * flow.c: Add functions for integer list, basic block pred/succ
3208 support and simple bitmap support.
3209 (compute_dominators): New function to compute dominators and
3211 (find_basic_blocks): Split into two functions.
3212 (life_analysis): Likewise.
3213 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
3214 the life_analysis from toplev.c
3215 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
3216 life_analysis instead of flow_analysis.
3218 Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3220 * jump.c (jump_optimize): Call mark_jump_label also for deleted
3222 (mark_jump_label): Don't increment ref counts for deleted insns.
3224 Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3226 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
3228 * mips/mips.c: Include stdlib.h and unistd.h.
3229 (mips_asm_file_end): Add braces around empty body in an if-statement.
3230 (function_prologue): Wrap variable `fnname' in
3231 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
3232 (mips_select_rtx_section, mips_select_section): Declare as void.
3234 * mips/mips.h: Add prototypes for extern functions in mips.c.
3235 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
3236 (ENCODE_SECTION_INFO): Add braces around empty body in an
3239 * mips/mips.md (movdi): Add parentheses around && within ||.
3240 (movsf, movdf): Likewise.
3241 (branch_zero, branch_zero_di): Add default case in
3245 Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
3247 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
3248 real constants, since they can't be changed.
3249 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3250 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
3251 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3252 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3253 * alpha/vms.h (TARGET_OPEN_VMS): New.
3254 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
3256 Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
3258 * reload.c (find_reloads): Always force (subreg (mem)) to be
3259 reloaded if WORD_REGISTER_OPERATIONS.
3261 Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
3263 * haifa-sched.c (free_list): Rename from free_pnd_lst.
3264 (free_pending_lists): Rename free_pnd_lst uses.
3265 (remove_dependence): Place expunged element on unused_insn_list.
3266 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
3267 gen_rtx_*_LIST and alloc_rtx to use them.
3268 (compute_block_backward_dependences): Free the reg_last_* lists.
3270 Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
3272 * cccp.c (main): Avoid undefined behavior when setting pend_includes
3275 Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
3277 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
3278 USE_GNULIBC_1 is defined
3279 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
3280 includes the t-linux-gnulibc1 fragment
3282 Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
3284 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
3286 Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3288 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
3290 Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3292 * final.c (shorten_branches): Tag the loop alignment onto the
3293 first label after NOTE_INSN_LOOP_BEG even if there is an
3296 Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3298 * final.c (insn_current_reference_address):
3299 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
3300 proper alignment chain.
3302 * final.c (max_labelno): New static variable.
3303 (final_scan_insn): Check max_labelno before outputting an
3304 alignment for a label.
3305 (shorten_branches): Remove unused variable length_align.
3307 Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3309 * sparc.c (ultrasparc_adjust_cost): Add default case in
3312 * sparc.h: Add prototypes for extern functions defined in
3315 Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
3317 * toplev.c: Only generate <name>.dbr file when dumping RTL if
3318 DEALY_SLOTS is defined.
3320 Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
3322 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
3323 in call to fill_slots_from_thread.
3325 Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
3327 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
3328 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
3330 Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3332 * final.c (insn_last_address, insn_current_align, uid_align):
3334 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
3335 (insn_current_reference_address): Likewise.
3336 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
3337 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
3338 (label_to_alignment): New function.
3339 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
3340 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
3341 insn_current_reference_address instead of insn_current_address.
3342 (or_attr_value, write_length_unit_log): New functions.
3343 (main): Call write_length_unit_log.
3344 (write_const_num_delay_slots): Output extra '\n'.
3345 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
3347 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
3348 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
3349 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
3351 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
3352 (LABEL_ALIGN_AFTER_BARRIER).
3353 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
3354 * ns32k/tek6000.h: Likewise.
3355 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
3356 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
3357 ASM_OUTPUT_ALIGN_CODE.
3359 Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
3361 * version.c: Bump for snapshot.
3363 Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
3365 * version.c: Bump for snapshot.
3367 Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
3369 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
3370 if condition code of jump conflicts with opposite_needed.
3372 * reorg.c (fill_slots_from_thread): Mark resources referenced in
3373 opposite_needed thread. Return delay_list even when cannot get
3374 any more delay insns from end of subroutine.
3376 Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
3378 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
3379 All callers changed.
3381 Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3383 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
3384 end_fde_sort): New functions for fast sorting of an FDE array.
3385 (fde_insert): Simplified.
3386 (add_fdes): Change argument list.
3387 (frame_init): Use the new functions.
3389 Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
3391 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
3393 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
3395 * fold-const.c (fold_range_test): Always return a value.
3397 Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
3399 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
3400 data in the text section unless READONLY_DATA_SECTION is defined.
3402 Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
3404 * c-parse.in (undeclared variable error): Tweak error message to
3407 Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
3409 * version.c: Bump for snapshot.
3411 1998-02-28 Mark Mitchell <mmitchell@usa.net>
3413 * final.c (final_scan_insn): Undo overzealous removal of `set'.
3415 Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3417 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
3418 case, add parentheses to specify the proper order of precedence in
3422 * c-aux-info.c: Include string.h/strings.h.
3424 * pa.c: Include stdlib.h.
3425 (pa_combine_instructions): Prototype the function.
3426 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
3427 (reloc_needed): Add default case for enumeration switch.
3428 (remove_useless_addtr_insns): Remove unused variable `all'.
3429 (hppa_expand_prologue): Add explicit braces to avoid
3431 (output_function_epilogue): Remove unused variable `i'.
3432 (output_millicode_call): Remove unused variable `link'.
3433 (shadd_constant_p, forward_branch_p): Make the function static.
3434 (following_call): Explicitly declare to return int.
3435 (pa_reorg): Declare as void.
3436 (pa_combine_instructions): Declare as static void. Add
3437 parentheses around && within ||.
3439 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
3440 following_call, function_label_operand, lhs_lshift_cint_operand
3443 * pa.md: Add parentheses around && within ||.
3445 * cppalloc.c: Include stdlib.h.
3447 * cpperror.c (cpp_print_containing_files): Remove unused variable
3448 `i'. Fix format specifier in fprintf.
3450 * cse.c (cse_around_loop): Add explicit braces to avoid
3452 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
3454 * expr.c (expand_expr): Add parentheses around && within ||.
3456 * final.c (app_enable): Replace fprintf with fputs where there are
3457 no format specifiers and no trailing argument after the string.
3458 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
3459 (app_disable): Likewise.
3460 (final_end_function): Likewise.
3461 (final_scan_insn): Likewise. Remove unused variable `set'.
3462 (profile_function): Wrap empty if-statement body in {} brackets.
3464 * function.c: Include stdlib.h.
3465 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
3466 (reposition_prologue_and_epilogue_notes): Add parentheses
3467 around assignment used as truth value.
3469 * integrate.c (expand_inline_function): Wrap variable
3470 `cc0_insn' in macro HAVE_cc0.
3472 * jump.c (jump_optimize): Wrap variable `q' in macro
3473 HAVE_cc0. Remove unused variable `prev1'.
3475 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
3476 within ||. Fix format specifier in fprintf.
3477 (__bb_init_prg): Add parentheses around assignment used as
3480 * local-alloc.c: Include stdlib.h.
3481 (requires_inout): Add parentheses around assignment used
3484 * loop.c (analyze_loop_iterations): Wrap prototype and definition
3485 in macro HAVE_decrement_and_branch_on_count.
3486 (insert_bct, instrument_loop_bct): Likewise.
3487 (move_movables): Add parentheses around assignment used as
3489 (consec_sets_invariant_p): Likewise.
3490 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
3492 * objc/objc-act.c: Include stdlib.h.
3493 (lookup_method_in_protocol_list): Wrap empty else-statement body
3495 (lookup_protocol_in_reflist): Likewise.
3496 (objc_add_static_instance): Remove unused variables `decl_expr'
3498 (get_objc_string_decl): Remove unused variable `decl'.
3499 (generate_static_references): Remove unused variables `idecl' and
3501 (check_protocols): Wrap empty else-statement body in braces.
3503 * protoize.c: Include stdlib.h.
3504 (substr): Add parentheses around assignment used as truth value.
3505 (abspath): Likewise.
3506 (shortpath): Likewise.
3508 * regmove.c (fixup_match_1): Add parentheses around assignment
3509 used as truth value.
3511 * reload.c (push_secondary_reload): Remove unused variable `i'.
3512 (find_reloads): Add parentheses around assignment used as truth
3515 * reload1.c: Include stdlib.h.
3517 * rtl.h: Correct typo in prototype of offsettable_memref_p.
3519 * stmt.c (add_case_node): Add parentheses around assignment used
3521 (case_tree2list): Likewise.
3523 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
3524 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
3525 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
3526 (merge_attributes): Add explicit braces to avoid ambiguous
3529 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
3532 * varasm.c: Include stdlib.h.
3535 * system.h: Remove sys/stat.h.
3536 * gcc.c: Add sys/stat.h.
3538 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
3539 * genattrtab.c: Likewise.
3540 * genconfig.c: Likewise.
3541 * genemit.c: Likewise.
3542 * genextract.c: Likewise.
3543 * genflags.c: Likewise.
3544 * genopinit.c: Likewise.
3545 * genoutput.c: Likewise.
3546 * genpeep.c: Likewise.
3547 * genrecog.c: Likewise.
3548 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
3550 Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3552 * invoke.texi: Use @itemx for a secondary item in a @table.
3554 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
3557 Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
3559 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3561 Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
3563 * i386.c (struct machine_function): Add new fields for PIC stuff.
3564 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
3566 (restore_386_machine_status): Corresponding changes.
3567 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
3569 Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
3571 * c-parse.y (undeclared variable error): Tweak error message
3574 Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
3576 * flags.h (g_switch_value, g_switch_set): Declare.
3577 * alpha.c (override_options): Set g_switch_value=8 if not set.
3578 * alpha/elf.h (CC1_SPEC): New.
3580 (LINK_SPEC): Pass along the -G value we were given.
3581 (LOCAL_ASM_OP): Remove.
3582 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
3583 (MAX_OFILE_ALIGNMENT): New.
3584 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
3585 (EXTRA_SECTIONS): Add sbss and sdata.
3586 (SECTION_FUNCTION_TEMPLATE): New.
3587 (EXTRA_SECTION_FUNCTIONS): Use it.
3588 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
3589 (SELECT_SECTION): Use sdata when small enough.
3590 * alpha/linux.h (ASM_SPEC): Remove.
3593 Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3594 * config.sub (sco5): Fix typo.
3596 Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
3598 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
3600 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
3601 * config/alpha/t-linux: Remove file.
3602 * config/sparc/t-linux: Remove file.
3603 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
3604 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
3605 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
3607 (alpha*-*-linux-gnu*): Likewise.
3608 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
3609 (sparc-*-linux-gnu*): Likewise.
3611 Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
3612 * collect2.c (ldd_file_name): Bracket declaration with same
3614 (full_real_ld_suffix): Deleted. Variable was calloced and
3615 written into, but never read.
3617 1998-02-23 Mike Stump <mrs@wrs.com>
3619 * configure.in: Add support for i386-wrs-vxworks configuration.
3620 * i386/vxi386.h: New file.
3622 Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3624 * tree.c (contains_placeholder_p): Ensure function always returns
3626 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
3627 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
3629 Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
3631 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
3633 1998-02-22 Paul Eggert <eggert@twinsun.com>
3635 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
3636 Define this new symbol.
3637 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
3638 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
3639 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
3641 Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
3643 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
3644 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
3646 Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
3648 * objc/Object.m (-error): Call objc_verror with our va_list.
3650 Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3652 * collect2.c (scan_prog_file): Completely cover uses of variable
3653 `exports' with macro COLLECT_EXPORT_LIST.
3655 Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
3657 * version.c: Bump for snapshot.
3659 Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
3661 * sched.c (schedule_block): Remove code to get arguments from hard
3662 regs into pseudos early. Same as Aug 25, 1997 change to
3665 1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
3667 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
3669 1998-02-16 Mark Mitchell <mmitchell@usa.net>
3671 * toplev.c (rest_of_compilation): Do not defer the output of a
3674 Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
3676 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
3677 continuation character (line 243).
3679 Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3681 * genrecog.c (main): Remove duplicated sentence in emitted comment.
3683 Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
3684 David Edelsohn <edelsohn@mhpcc.edu>
3686 * collect2.c (XCOFF_SCAN_LIBS): Remove.
3687 (export_flag): New variable.
3688 (export_file): #ifdef COLLECT_EXPORT_LIST.
3689 (import_file, exports, imports, undefined): New variables.
3690 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
3691 (dump_list, dump_prefix_list, is_in_list): New functions.
3692 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
3693 (write_import_file, resolve_lib_name): New functions.
3694 (use_import_list, ignore_library): Same.
3695 (collect_exit): maybe_unlink import_file and #ifdef.
3697 (main): New variable importf, #ifdef exportf. Move parsing of
3698 -shared before general argument parsing. Resolve AIX library
3699 paths and import libgcc.a symbols. Treat .so shared libraries the
3700 same as objects and .a libraries. Create alias for object_lst and
3701 increment it instead of original pointer. Scan AIX libraries as
3702 objects earlier instead of using scan_libraries. Perform AIX
3703 tlink later to resolve templates instead of forking ld.
3704 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
3705 (GCC_UNDEF_SYMBOL): New macro.
3706 (scan_prog_file): Loop for members of AIX libraries. Handle
3707 export/import of ctors/dtors.
3708 (aix_std_libs): New variable.
3709 (scan_libraries, XCOFF): Delete.
3711 Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
3713 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
3715 1998-02-19 Mike Stump <mrs@wrs.com>
3717 * Makefile.in: Use $tooldir for sys-include to match toplevel
3720 Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
3721 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3723 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
3725 * emit-rtl.c (hard-reg-set.h): Include.
3726 (get_lowpart_common): Don't make new REG for hard reg in a
3727 class that cannot change size.
3728 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
3730 * combine.c: Revert previous patch.
3732 1998-02-19 Paul Eggert <eggert@twinsun.com>
3734 * config/sparc/sol2-sld.h: New file.
3735 * configure.in (sparc-*-solaris2*): Use it when using the
3738 Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
3740 * loop.c (force_movables): Fix typo.
3742 Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
3744 * m88k.h: Change file pattern to match reality.
3746 Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
3748 * varasm.c (output_constant_pool): Fix dumb thinko in last
3751 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
3752 a function name to a section name.
3754 1998-02-18 Doug Evans <devans@cygnus.com>
3756 * tree.h (merge_machine_{type,decl}_attributes): Declare.
3757 (split_specs_attrs, strip_attrs): Add prototypes.
3758 * tree.c (merge_machine_{type,decl}_attributes): New functions.
3759 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
3760 Update olddecl's attributes too.
3761 * c-common.c (strip_attrs): New function.
3762 * c-typeck.c (common_type): Call merge_machine_type_attributes.
3763 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
3764 (make_decl_rtl): Likewise.
3766 1998-02-18 Jim Wilson <wilson@cygnus.com>
3768 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
3770 Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
3772 Remove this change until we can fix it correctly.
3773 * collect2.c: Bracket declaration of 'exportf' and
3774 'full_real_ld_suffix'.
3776 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3778 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
3780 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3782 * c-common.c (c_expand_start_cond, c_expand_end_cond,
3783 c_expand_start_else): Don't warn about non-ambiguous else even if
3786 Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
3788 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3789 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
3792 Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
3794 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
3795 simplifying a subreg of a hard reg.
3796 (expand_compound_operation): Likewise.
3797 (force_to_mode): Likewise.
3799 Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3801 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
3802 (lshift_double): Add parentheses around + or - inside shift.
3803 (rshift_double): Likewise.
3804 (size_int_wide): Explicitly set type of `bit_p' to `int'.
3806 * Makefile.in (fold-const.o): Depend on system.h.
3808 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
3811 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
3812 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
3813 (sched_note_set): Remove unused parameter `b', all callers changed.
3814 (schedule_block): Likewise for `rgn'.
3815 (split_hard_reg_notes): Likewise for `orig_insn'.
3816 (check_live): Likewise for `trg'.
3817 (update_live): Likewise.
3818 (check_live_1): Explcitly declare variable `i' as int.
3819 (update_live_1): Likewise.
3820 (insn_issue_delay): Remove unused variable `link'.
3821 (sched_analyze_2): Add default case in enumeration switch.
3822 (schedule_insns): Remove unused variable `i'.
3824 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
3826 Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
3828 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
3829 a dangling else clause.
3831 Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
3833 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
3834 pointer for the stack pointer in MIPS16 and 64BIT.
3836 Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3838 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
3839 * emit-rtl.c (force_line_numbers, restore_line_number_status):
3841 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
3842 (expand_start_case): Adjust to this change.
3843 (check_seenlabel): New function.
3844 (pushcase, pushcase_range, expand_endcase): Use it.
3846 Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3848 * i386.md (adddi3): Add =!r,0,0,X alternative.
3850 Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
3852 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
3853 * x-aix31 (INSTALL): Delete.
3855 Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
3857 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
3858 tsize changes to something other than zero.
3860 Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
3862 * ginclude/va-mips.h: Replace casts of pointers to int with
3863 casts of pointers to __PTRDIFF_TYPE__.
3865 Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
3867 * loop.c (strength_reduce, record_biv, record_giv): Use
3868 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
3870 1998-02-16 Jason Merrill <jason@yorick.cygnus.com>
3872 * tree.c (first_rtl_op): New fn.
3873 (unsave_expr_now): Use it.
3874 * print-tree.c (print_node): Likewise.
3875 * tree.c (has_cleanups): New fn.
3876 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
3877 conservative about pushing the cleanup point down.
3878 * tree.h: Declare them.
3880 Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
3882 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
3883 (flag_schedule_reverse_after_reload): Likewise.
3884 (f_options): Remove reverse scheduling support.
3885 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
3886 (flag_schedule_reverse_after_reload): Likewise.
3887 * haifa-sched.c (rank_for_schedule): Remove support for reverse
3890 Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3892 * gcc.c: Get system includes, prototypes and macros via "system.h"
3893 instead of doing it manually. Change all calls of the ctype
3894 macros to custom versions defined in "system.h".
3896 * system.h: Fix return type of bcmp prototype from `void' to `int'.
3897 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
3898 Add a prototype for getenv.
3900 Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
3902 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
3904 Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
3906 * alias.c: Include <stdlib.h> and <string.h>.
3907 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
3909 Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
3911 * version.c: Bump for snapshot.
3913 Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
3915 * arm.md (movsfcc): Also validate operands[3] when compiling hard
3917 (movdfcc): Only accept fpu_add_operand for operands[3].
3919 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
3920 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
3922 Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
3924 * varasm.c (output_constant_pool): Bring back 'done' label inside
3925 an appropriate #ifdef.
3927 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
3929 (bitmap_copy, bitmap_operation): Likewise.
3930 * combine.c (combinable_i3pat): Similarly for 'src'.
3931 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
3932 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
3933 * regclass.c (copy_cost): Similarly for 'secondary_class'.
3934 * reload.c (make_memloc): Simliarly for 'i'.
3935 (find_reloads_address_1): Similarly for 'link'.
3936 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
3937 (emit_reload_insns): Similarly for 'second_reloadreg'.
3938 * unroll.c (iteration_info): Similarly for 'v'.
3940 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
3941 * calls.c (expand_call): Similarly for 'i'.
3942 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
3943 * fold-const.c (strip_compund_expr): Similarly for 'type'.
3944 * function.c (fixup_var_refs_1): Similarly for 'width'.
3945 (fixup_memory_subreg): Similarly for 'saved'.
3946 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
3947 (setjmp_protect): Similarly for 'sub'.
3948 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
3949 * loop.c (record_giv): Similarly for 'p'.
3950 (combine_givs): Similarly for 'temp_iv'.
3951 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
3952 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
3953 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
3954 * unroll.c (unroll_loop): Similarly for 'copy'.
3955 (iteration_info): Similarly for 'b'.
3956 * varasm.c (assemble_string): Similarly for 'i'.
3957 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
3959 1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
3961 * c-lang.c (lang_print_xnode): New function.
3962 * objc/objc-act.c (lang_print_xnode): Likewise.
3963 * print-tree.c (print_node): Call it
3965 Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
3967 * dwarf2out.c (decl_scope_node): New type.
3968 (decl_scope_table): Change type to use it.
3969 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
3970 (push_decl_scope): Use new type. New locals containing_scope, i.
3971 Add code to handle setting previous field.
3972 (scope_die_for): Change type of local i to int. Add code to use
3974 (dwarf2out_init): Use new type.
3976 1998-02-13 Jason Merrill <jason@yorick.cygnus.com>
3978 * except.c (emit_throw): Lose throw_used.
3980 Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3982 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
3984 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
3986 Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
3988 * genextract.c (main): Fix typo.
3990 Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
3992 * c-lang.c (finish_file): Bracket declaration of static_ctors,
3995 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
3996 'old_stack_arg_under_construction'
3997 (emit_library_call): Bracket declaration of 'upper_bound',
3998 'lower_bound', 'i', 'reg_parm_stack_space'
3999 (emit_library_call_value): Likewise.
4002 * collect2.c: include <unistd.h> when appropriate.
4003 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
4005 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
4007 * explow.c (plus_constant_for_output_wide): Remove unused variable
4009 (memory_address): Remove unused variable 'orig_x'.
4011 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
4012 (write_const_num_delay_slots): Remove unused variable 'i'.
4014 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
4015 (gen_insn): Remove unused variable 'obstack_ptr'.
4017 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
4019 (__bb_exit_trace_func): Remove unused variable 'e'.
4021 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
4023 (expand_unop): Remove unused variable 'funexp'.
4024 (expand_complex_abs): Remove unused variable 'funexp'.
4025 (init_optabs): Bracket declaration of 'j'.
4026 (init_complex_libfuncs): Deleted. Dead static function.
4028 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
4030 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
4031 (reg_to_stack): 'initialized', 'before_function_beg'
4032 explictly type as ints instead of defaulting.
4033 (emit_swap_insn): Remove unused variable 'i2'.
4034 (compare_for_stack_reg): Remove unused variable 'src_note'.
4036 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
4038 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
4040 * stmt.c (add_case_node): Add parens for assignment used as truth.
4041 (all_cases_count): Remove unused variable 'count_high'.
4042 (mark_seen_cases): Remove unused variable 'i'.
4043 (check_for_full_enumeration_handling): Remove unused variable 't'.
4044 Bracket declaration of 'all_values', 'l'.
4046 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
4048 * varasm.c (assemble_string): Remove unused variable 'i'.
4049 (immed_double_const): Remove unused variable 'in_current_obstack'.
4050 (immed_real_const_1): Likewise.
4051 (output_constant_pool): Remove unreferenced label 'done'.
4052 (output_constant): Remove unused variable 'x'.
4054 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
4057 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
4060 Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4062 * combine.c (can_combine_p): Handle USEs in PARALLELs.
4064 Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
4066 * config/linux.h (LIB_SPEC): Add -lc for -shared if
4067 USE_GNULIBC_1 is not defined.
4068 * config/sparc/linux.h; Ditto.
4070 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
4072 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
4073 USE_GNULIBC_1 is not defined.
4075 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4077 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
4080 Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4082 * system.h: New file to get common systems includes and various
4083 definitions and declarations based on autoconf macros.
4085 Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
4087 * cccp.c (new_include_prefix): Correctly handle -I./.
4089 Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
4091 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
4093 Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
4095 * expr.c (expand_assignment): Correct typo exposed by -Wall.
4096 offset should have been a truth value, not an assignment.
4098 Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
4100 * cse.c (delete_dead_from_cse): If a libcall produces a constant
4101 result and that result can be substituted into SET_SRC of the
4102 insn with the REG_RETVAL note, then perform the substitution
4103 and delete the libcall.
4105 Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
4107 * mips.md (trucndihi2,truncdiqi2): Change these to support
4110 Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
4112 * mips/mips.c (movdi_operand): Direct referances to symbols
4113 that arn't mips16 consts in mips16 mode arn't valid operands.
4115 * mips/mips.c (mips_move_2words): Add gprel handling.
4117 Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
4119 * mips.md (extendsidi2): Allow extension to/from a non-mips16
4122 Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
4124 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
4127 Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4129 * Makefile.in (WARN_CFLAGS): New variable.
4130 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
4132 1998-02-11 Mark Mitchell <mmitchell@usa.net>
4134 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
4135 falling through default case in switch.
4136 (i386_aligned_p): Likewise.
4138 Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
4140 * mips/mips.h (mips_abi_string): Correct typo in comment.
4142 Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
4144 * mips/mips.md (movdi): These PLUS's need to be Pmode.
4146 Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4148 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
4149 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
4150 indirectly via expr.h.
4152 Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
4154 * stor-layout.c (layout_type): Do upper - lower in the native type,
4155 so as to properly handle negative indices.
4157 Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
4159 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
4160 (expand_eh_region_start_tree): Remove unused variable 'note'.
4161 (exception_optimize): Remove unused variable 'regions'.
4162 (expand_builtin_eh_stub): Remove unused variable 'temp'.
4163 (copy_eh_entry): Deleted. Dead function.
4165 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
4166 'last' with same #if HAVE_load_multiple as use of it.
4167 (move_block_from_reg): Likewise.
4168 (emit_move_insn_1): Remove unused variable 'insns'.
4169 (store_constructor): Bracket declaration of startb, endb with
4170 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
4171 'target', and 'xtarget'.
4172 (expand_builtin_setjmp): Remove unused variables 'op0',
4173 'next_arg_reg', 'old_inhibit_defer_pop'.
4174 (expand_builtin): Remove unused variable 'offset'.
4175 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
4176 (emit_queue): Add parens for assignment used as conditional.
4177 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
4179 Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
4181 * i386.c: Added include for recog.h.
4182 (override_options): Removed unused variable p. Initialized regno to
4184 (order_regs_for_local_alloc): Initialized regno to avoid warning.
4185 (legitimize_address): Likewise for 'other'.
4186 (i386_aligned_reg_p): Added default case with abort ().
4187 (print_operand): Likewise.
4188 (reg_mentioned_in_mem): Likewise.
4189 (ix86_expand_binary_operator): Removed unused variables i & insn.
4190 (ix86_expand_unary_operator): Removed unused variable insn.
4191 (output_fp_cc0_set): Removed unused variable unordered_label.
4193 Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
4195 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
4196 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
4197 and format string match.
4199 Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
4201 * flow.c (life_analysis): Do not conside the stack pointer live at
4202 the end of a function if the fucntio ncalls alloca.
4203 (mark_used_regs): Similarly.
4205 1998-02-10 John F Carr <jfc@mit.edu>
4207 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
4208 1, fzero on alternative 8.
4210 Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4212 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
4214 Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4216 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
4217 SUBREGs of CONST_INTs.
4219 Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
4221 * mips.c (print_operand, function_prologue): Make printf format
4222 match argument type.
4224 Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4226 * alpha.c (alpha_return_addr): Remove unused variable `first'.
4227 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
4228 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
4230 Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4232 * loop.c (strength_reduce): When placing increment for auto-inc
4233 case, do comparison in loop order.
4235 Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
4237 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
4238 not a HOST_WIDE_INT.
4240 * calls.c (expand_call): Change test of expand_inline_function
4241 return value to stop compiler warning.
4243 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
4245 Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
4246 Jeff Law (law@cygnus.com)
4248 * regmove.c: Fix various minor formatting problems.
4249 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
4250 is true. Make end of basic block tests consistent through regmove.c.
4251 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
4252 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
4254 Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4256 * gansidecl.h: Check for a conflicting macro definition before
4257 attempting to prototype bcopy, bcmp or bzero.
4259 Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
4261 * expr.c (clear_pending_stack_adjust): Handle case where a function
4262 calls alloca, but the user has specified -fomit-fframe-pointer.
4264 * function.c (assign_parms): Fix typo in last change.
4266 Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
4268 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
4270 (free_path_suffix): Remove unreferenced static function.
4271 (process_command): Remove unused variable temp.
4272 (default_arg): Remove unused variable i.
4273 (do_spec_1): Add parens for assignment used as truth value.
4275 (validate_all_switches): Likewise.
4276 (main): Remove unused variables i, first_time>
4278 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
4280 * calls.c (expand_call): Remove unused variables funtree,
4281 n_regs, and tmpmode.
4283 * dbxout.c, except.c: Include <string.h>/<strings.h>.
4285 * explow.c: (plus_constant_for_output_wide) Removed unused
4286 variable all_constant.
4288 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
4289 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
4290 genrecog.c, global.c, integrate.c , stupid.c : Include
4293 * genextract.c: (walk_rtx) Remove unused variable link.
4295 * genrecog.c: (concat) Remove unreferenced static function.
4297 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
4299 * stmt.c: Include <stdlib.h>.
4300 (expand_asm_operands): Remove unused variable val1.
4301 (expand_return): Remove unused variable block.
4302 (pushcase): Remove unused variables l and n.
4303 (pushcaserange): Likewise.
4305 * unroll.c (unroll_loop): Remove unused variable temp.
4307 Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
4309 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
4311 Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4313 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
4314 functions for whether they support the %p format specifier.
4315 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
4316 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
4317 * configure, config.in: Rebuild.
4319 Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
4321 * function.c (assign_parms): New variable named_arg, with value
4322 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
4324 Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
4326 * mips/t-r3900: New - same as t-ecoff but eliminate
4327 multilibs: mips1 and mips3.
4328 * configure.in (tx39*): Use new mips/t-r3900.
4329 * configure: Rebuild.
4330 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
4332 1998-02-06 Jason Merrill <jason@yorick.cygnus.com>
4334 * dwarf2out.c: Add old_args_size.
4335 (dwarf2out_args_size): Use it.
4336 (dwarf2out_begin_prologue): Initialize it.
4337 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
4338 pushed args until we see a call.
4339 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
4340 before outputting them.
4342 1998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
4344 * cplus-dem.c (demangle_template_template_parm): New function.
4345 (demangle_template): Handle template template parameters.
4347 1998-02-02 Mark Mitchell <mmitchell@usa.net>
4349 * calls.c (expand_call): Don't confuse member functions named
4350 realloc, setjmp, and so forth with the standard library
4351 functions of the same names.
4353 Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
4355 * stmt.c (expand_asm_operands): Correctly identify asm statements
4358 Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
4360 * c-common.c (decl_attributes): Flag unrecognized attribute
4361 functions as warnings instead of as errors.
4363 1998-02-05 Marc Lehmann <pcg@goof.com>
4365 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
4366 when -Os is specified.
4367 * toplev.c (main): Don't disable flag_inline_functions anymore when
4370 Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4372 * regmove.c: Update.
4373 * flags.h (flag_regmove): Declare.
4374 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
4375 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
4376 Moved into regmove; changed caller.
4377 * toplev.c (rest_of_compilation): Call regmove_optimize also for
4378 expensive_optimizations.
4380 Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
4382 * version.c: Bump for snapshot.
4384 Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4385 Undo this change (the problem was actually in reload):
4386 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4388 * sh.md (movqi_i+1): New peephole.
4390 Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
4392 * jump.c (jump_optimize): Lose calls to modified_in_p they are
4393 not needed anymore due to changes elsewhere in jump.c.
4395 * jump.c (jump_optimize): Fix first arg to modified_in_p in
4398 Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
4400 * expr.c (expand_builtin_setjmp): Accept two new arguments for
4401 the labels to branch to on first and subsequent executions. Don't
4402 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
4403 and provide it with the jmp_buf. Use only one of
4404 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
4405 and provide the former with the target label.
4406 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
4407 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
4408 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
4409 insn to replace all of the normal nonlocal_goto code. Don't play
4410 with __dummy. Correct arguments to nonlocal_goto.
4411 * expr.h (expand_builtin_setjmp): Update prototype.
4412 * except.c (start_dynamic_handler): When using builtin_setjmp,
4413 generate more accurate flow information.
4415 * alpha.md (nonlocal_goto_receiver_osf): Delete.
4416 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
4417 (builtin_longjmp, builtin_setjmp_receiver): New.
4418 * sparc.md (update_return): Disambiguate unspec number.
4419 (nonlocal_goto): Rearrange arguments to match caller in except.c.
4420 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
4422 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
4423 (builtin_setjmp_setup*, builtin_longjmp): New.
4425 Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
4427 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
4429 Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
4431 * vmsconfig.com: Remove bytecode references.
4433 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4435 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
4436 -fno-sjlj-exceptions works for a target that defines
4437 DWARF2_UNWIND_INFO as zero.
4439 * regmove.c (fixup_match_1): Undo last change which removed some
4440 "useless" code, and add a comment explaining this.
4442 Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
4444 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
4447 Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
4449 * makefile.vms: Remove bytecode references.
4450 Create genrtl files.
4452 Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
4454 * jump.c (jump_optimize): Allow conditional loading of floating point
4455 constants and constants from memory. Reinstalled modified_in_p tests.
4457 Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4459 * loop.c (get_condition): Handle sign-extended constants.
4461 Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
4463 * expr.c (emit_push_insn): Add code to use movstrti if present.
4465 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
4466 and movstrqi as in emit_block_move ().
4468 Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
4470 * config/m68k/x-next: Remove /NextDeveloper/Headers from
4471 the directories to fixinclude - /usr/include is a link
4472 to it and hence its contents are fixed by default.
4474 Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4476 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
4478 Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
4480 * cccp.c (main): Predefine __VMS_VER on VMS.
4482 Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4484 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
4485 * fold-const.c (size_int): Replace with
4487 (make_bit_field_ref): Use bitsize_int for bit position.
4488 * stor-layout.c (sizetype): Delete.
4489 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
4490 (layout_record, layout_union, layout_type):
4491 Use bitsize_int for bit size.
4492 (set_sizetype): New function.
4493 (make_signed_type, make_unsigned_type): Use it.
4494 * c-decl.c (init_decl_processing): Likewise.
4495 * tree.h (size_int): Don't delcare, #define.
4496 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
4497 (set_sizetype): Declare.
4498 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
4500 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
4501 Convert result to sizetype.
4502 (really_start_incremental_init, push_init_level):
4503 Set type of constructor_bit_index to sbitsizetype.
4504 (push_init_level): Use unsigned arithmetic to determine padding.
4505 (output_init_element): Likewise.
4507 Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
4509 * combine.c (simplify_shift_const): Fix typo in last change.
4511 Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
4513 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
4514 is (truncate (lshiftrt)).
4516 Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
4518 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
4519 Make sure result winds up in TGT.
4520 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
4521 src to be other than DImode.
4522 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
4523 (alpha_expand_unaligned_store_words): Likewise.
4524 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
4525 that source and destination are separately optimized for alignment.
4526 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
4528 Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
4530 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
4531 with handling of -32768.
4533 Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4535 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
4536 shell variable argument instead of only hard coded functions.
4537 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
4539 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
4540 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
4541 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
4542 declarations for bcopy, bcmp and bzero.
4544 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
4546 * gansidecl.h: If we have bcopy but don't declare it, then do so.
4547 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
4548 bzero, index and rindex if they aren't already present.
4550 Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
4552 * toplev.c (close_dump_file): Wrap function prototype for
4553 argument "func" in PROTO.
4554 (dump_rtl): Likewise.
4556 Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
4558 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
4560 (output_function_epilogue): Omit epilogue if nothing drops through.
4561 (output_move_double): Supress int ldd usage on ultrasparc and v9.
4562 (registers_ok_for_ldd_peep): Likewise.
4563 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
4564 (ultrasparc_adjust_cost): New function.
4565 (sparc_issue_rate): New function.
4566 * sparc.h (MASK_VIS, TARGET_VIS): New
4567 (MASK_V8PLUS, TARGET_V8PLUS): New.
4568 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
4569 (TARGET_SWITCHES): Add vis and v8plus.
4570 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
4571 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
4572 (RTX_COSTS): Use TARGET_HARD_MUL
4573 (ADJUST_COST): Call ultrasparc_adjust_cost.
4575 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
4576 of load & fp appropritely.
4577 (supersparc function units): Adjust for Haifa.
4578 (ultrasparc function units): Likewise.
4579 (get_pc_via_rdpc): All v9, not just arch64.
4580 (movdi_v8plus, movdi_v8plus+1): New.
4581 (adddi3_sp32+1): New.
4582 (subdi3_sp32+1): New.
4583 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
4584 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
4585 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
4586 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
4587 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
4588 (ldd peepholes): Suppress for v9.
4589 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
4590 (return_subsi): Revmove.
4592 Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
4594 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
4595 save/restore MEM rtl.
4597 Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
4599 * configure.in: Check for declaration of abort.
4600 * acconfig.h: Corresponding changes.
4601 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
4604 Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
4606 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
4609 Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
4611 * version.c: Bump for snapshot.
4613 Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
4615 * configure.in: Check for atoq and atoll.
4616 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
4617 proper routine for converting ascii into long long values.
4619 Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
4621 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
4623 * vmsconfig.com: Remove bytecode references.
4625 * alpha/vms.h (PREFIX): Define.
4627 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
4629 * am-alpha.h: Don't include alloca for OPEN_VMS.
4631 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
4633 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
4634 (GCC_INCLUDE_DIR): Define
4636 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
4637 * makefile.vms: New file.
4639 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
4641 * alpha.c (output_prolog): Output '.name' directive
4642 for minimal traceback information.
4644 * alpha.c (output_prolog): Don't prepend entry point symbols
4645 with '$' on OPEN_VMS.
4647 Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
4648 Jeffrey A Law (law@cygnus.com)
4650 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
4653 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
4655 * genemit.c (gen_exp): Likewise.
4656 * genpeep.c (match_rtx): Likewise.
4657 * genrecog.c (write_tree_1): Likewise.
4659 * c-lex.c (yyprint): Use proper format string based upon
4660 disposition of HOST_BITS_PER_WIDE_INT.
4661 (yylex): Put casts in right place for args to build_int_2.
4663 Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
4665 * combine.c: Fix typos in Jan27 changes.
4667 Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
4669 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
4670 (LINK_SPEC): Likewise.
4671 (STARTFILE_SPEC): Likewise.
4673 1998-01-28 Mike Stump <mrs@wrs.com>
4675 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
4677 * genattrtab.c (reload_completed): Define.
4679 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
4682 Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4684 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
4685 SUBREG_REG if the word count is unchanged, also in the input reload
4686 case. Disable non-applicable sanity checks.
4688 Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
4690 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
4692 Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
4694 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
4696 Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
4698 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
4699 is a TREE_VEC before trying to use it for baseclasses.
4700 (Chill uses the same field for a different purpose.)
4702 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
4704 Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
4706 * config.sub: More accurate determination of HP processor types.
4708 Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4710 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
4711 prototype for `handle_sysv_pragma', and make it static. Add
4712 parentheses around assignment used as truth value.
4714 * combine.c (combine_instructions): Protect variable `prev' with
4716 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
4717 (extract_left_shift): Add parentheses around operand of &.
4718 (merge_outer_ops): Avoid an empty body in an else-statement.
4719 (gen_rtx_combine): Remove unused variable `i'.
4721 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
4722 function monstartup `void'. Likewise for internal_mcount. Add
4723 `static void' prototype for moncontrol. Reconcile sprintf format
4726 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
4727 Make return type of function_arg_slotno explicitly `int'.
4728 (reg_unused_after): Add parentheses around assignment used as
4730 (save_regs): Add explicit braces to avoid ambiguous `else'.
4731 (function_arg_slotno): Add parentheses around && within ||.
4732 (function_arg_pass_by_reference): Likewise.
4733 (sparc_flat_output_function_prologue): Reconcile fprintf format
4736 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
4737 assignment used as truth value.
4739 * cplus-dem.c: Include <stdlib.h>.
4740 (demangle_signature): Avoid an empty body in an else-statement.
4741 (do_type): Remove unused variable `lvl'.
4743 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
4744 Include <string.h>/<strings.h>.
4745 (cpp_lex): Remove unused variable `namelen'.
4746 (cpp_lex): Explicitly declare `num_chars' as an int.
4748 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
4749 <unistd.h> instead. Explicitly declare is_system_include
4751 (make_assertion): Remove unused variable `kt'.
4752 (cpp_expand_to_buffer): Hide variable `obuf'.
4753 (output_line_command): Remove unused variables, `line_end',
4754 `line_cmd_buf' and `len'.
4755 (macarg): Remove unused variable `arg_start'.
4756 (special_symbol): Remove unused variable `i'. Add parentheses
4757 around assignment used as truth value.
4758 (do_include): Remove unused variables `pcfname' and `retried',
4759 hide `pcf' and `pcfbuflimit'.
4760 (do_line): Remove unused variable `i'.
4761 (finclude): Hide variable `missing_newline'.
4762 (cpp_handle_options): Remove unused variable `j'.
4763 (read_token_list): Remove unused variable `eofp'.
4764 (cpp_error_with_line): Remove unused variable `i'.
4765 (cpp_warning_with_line): Likewise.
4766 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
4767 (cpp_error_from_errno): Remove unused variable `i'.
4769 * cse.c (invalidate): Add parentheses around assignment used as
4771 (find_best_addr): Move declaration of variable `our_cost' inside
4772 the conditional macro where its used.
4773 (fold_rtx): Avoid an empty body in an if-statement.
4774 (cse_insn): Wrap variables `this_insn_cc0_mode' and
4775 `this_insn_cc0' in macro HAVE_cc0.
4777 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
4778 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
4779 (output_uleb128): Likewise.
4780 (output_sleb128): Likewise.
4781 (output_cfi): Likewise.
4782 (output_call_frame_info): Remove unused variables `j', `fde_size'
4784 (comp_unit_has_inlines): Hide declaration as per rest of file.
4785 (size_of_line_prolog): Correct typo in prototype.
4786 (add_arange): Likewise.
4787 (output_aranges): Likewise.
4788 (add_name_and_src_coords_attributes): Likewise.
4789 (gen_array_type_die): Likewise.
4790 (gen_inlined_subroutine_die): Likewise.
4791 (equate_decl_number_to_die): Remove unused variable `i'.
4792 (print_die): Reconcile format vs. args in fprintf's.
4793 (print_dwarf_line_table): Likewise.
4794 (output_die): Likewise.
4795 (output_line_info): Likewise.
4796 (add_subscript_info): Avoid an empty body in an else-statement.
4797 (gen_subprogram_die): Remove unused variable `fp_loc'.
4799 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
4800 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
4801 macro. Protect `src_coords_attribute' prototype with
4802 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
4803 prototype as in the rest of the file. Likewise for
4804 `output_pointer_type_die' and `output_reference_type_die'. Remove
4805 prototype for `type_of_for_scope'.
4806 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
4807 (type_attribute): Add explicit braces to avoid ambiguous `else'.
4809 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
4810 (shorten_branches): Protect declaration of tmp_length with
4811 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
4812 (profile_function): Protect declaration of `sval' and `cxt'
4813 variables with appropriate macros.
4814 (final_scan_insn): Likewise for `note' variable. Add explicit
4815 braces to avoid empty body in an if-statement.
4816 (output_asm_insn): Move variable `i' inside macro conditional
4817 where it is used. Add parentheses around assignment used as truth
4819 (asm_fprintf) Likewise, likewise.
4821 * fix-header.c (main): Remove unused variable `done'. Protect
4822 declaration of `i' with FIXPROTO_IGNORE_LIST.
4824 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
4826 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
4829 * profile.c: Include <string.h>/<strings.h>.
4830 (instrument_arcs): Remove unused variables `note', `inverted',
4831 `zero' and `neg_one'.
4832 (branch_prob): Avoid empty body in an if-statement.
4834 * regclass.c: Include <stdlib.h>.
4835 (reg_alternate_class): Explicitly declare parameter `regno'.
4837 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
4838 parentheses around assignment used as truth value.
4839 (find_matches): Remove unused variables `output_operand' and
4841 (fixup_match_1): Remove statement with no effect: "if (0) ;".
4843 * scan.c (sstring_append): Explicitly declare `count' as int.
4844 (scan_string): Explicitly declare parameter `init' as int.
4846 * sched.c: Include <stdlib.h>.
4847 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
4848 (rank_for_schedule): Add parentheses around assignment used as
4850 (schedule_block): Likewise.
4851 (regno_use_in): Likewise.
4852 (schedule_insns): Remove unused variable `i'.
4854 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
4855 (v_message_with_decl): Remove unused variable `n'.
4856 (botch): Explicitly declare parameter `s' as char *.
4857 (main): Add parentheses around assignment used as truth value.
4859 * tree.c (make_node): Protect the variable `kind' with the
4860 GATHER_STATISTICS macro.
4861 (real_value_from_int_cst): Move variable `e' inside conditional
4862 macro area where it is used.
4863 (tree_last): Add parentheses around assignment used as truth value.
4864 (build1): Protect the variable `kind' with the GATHER_STATISTICS
4866 (print_obstack_statistics): Reconcile format vs. args in fprintf.
4867 Protect variables `i', `total_nodes', and `total_bytes' with the
4868 GATHER_STATISTICS macro.
4870 Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
4872 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
4873 some comments regarding use of dead_or_set_p.
4875 Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
4877 * fixincludes: Tweak fix for struct exception in math.h
4879 Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
4881 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
4882 Change mode of registers used to add/sub from
4883 hard_frame_pointer_rtx from word_mode to Pmode.
4885 Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
4887 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
4888 asm_output_aligned_bss() instead of asm_output_bss().
4890 * toplev.c (rest_of_compilation): Replace references to
4891 stack_reg_dump_file and dbr_sched_dump_file with references to
4894 Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
4896 * tlink.c (scan_linker_output): Call fclose() for opened files.
4898 Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
4900 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
4901 compiling with -fpic -- we want to be able to override symbols
4903 (alpha_expand_block_move): Fix thinko in last change.
4905 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
4906 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
4907 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
4909 Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
4911 * alpha.md (abssf, absdf): Revert last change.
4913 Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
4915 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
4916 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
4918 Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
4920 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
4921 a CONST_INT into SFmode.
4923 Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
4925 * flags.h: New flag (optimize_size).
4926 * toplev.c (main): Parse -Os option and set optimize_space
4928 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
4929 __OPTIMIZE_SIZE__ when compiling with -Os.
4930 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
4931 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
4932 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
4934 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
4936 Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
4938 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
4939 stuff only if MCT_TEXT is #define'd.
4941 Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
4943 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
4946 Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
4948 * toplev.c: Add -dM command line option to dump RTL after the
4949 machine dependent reorganisation pass, if there is one.
4950 Reorganise RTL dump code, so that only one file handle is
4953 Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
4955 * except.c (check_exception_handler_labels): Disable warning when
4958 Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
4960 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
4962 Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4964 * c-decl.c (grokdeclarator): Get parameter tags from
4965 last_function_parm_tags.
4966 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
4967 traversing the parameter types.
4968 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
4970 Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
4972 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
4974 (get_shift_alg): Fix typo.
4976 Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
4978 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
4980 Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
4982 * toplev.c (get_run_time): Make sure each case gets its variables.
4984 Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
4986 * configure.in (build_xm_file): Add auto-config.h if host=build.
4987 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
4988 (build_xm_file_list): Likewise.
4989 * configure: Rebuild.
4991 Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
4993 * recog.c (validate_replace_rtx_1): Only perform substitutions
4994 of arguments to commutative and comparison operators once.
4996 Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4998 * sparc.c (output_cbranch): Add default case in
5001 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
5002 (emit_delay_sequence): Eliminate unused parameter, all callers
5004 (fill_simple_delay_slots): Likewise.
5005 (fill_slots_from_thread): Likewise.
5006 (fill_eager_delay_slots): Likewise.
5007 (mark_referenced_resources): Add default case in enumeration switch.
5008 (mark_set_resources): Likewise.
5009 (rare_destination): Likewise.
5010 (mostly_true_jump): Likewise.
5011 (find_dead_or_set_registers): Likewise.
5012 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
5013 (update_reg_unused_notes): Remove unused variable `p'.
5014 (mark_target_live_regs): Remove unused variables `next' and
5016 (fill_simple_delay_slots): Remove unused variable `j'.
5017 (fill_slots_from_thread): Add parentheses around assignment used
5019 (dbr_schedule): Likewise.
5021 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
5022 (objc.stage2, objc.stage3, objc.stage4): Likewise.
5024 Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
5026 * cse.c (simplify_ternary_operation): Don't try to simplify
5027 IF_THEN_ELSE expressions (created by combine) that don't use
5028 relational operators.
5030 Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
5032 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
5035 * crtstuff.c (init_dummy): Keep the epilogue in the init
5036 section for non-ELF systems.
5038 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5040 * sh.md (movqi_i+1): New peephole.
5042 Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
5044 * Makefile.in: Remove remaining bytecode stuff.
5045 * emit-rtl.c, expr.c: Likewise.
5047 Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
5049 * toplev.c (lang_options): Add unknown-pragma options.
5051 Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
5053 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
5054 special (and incomplete) handling for Chill arrays.
5056 Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
5058 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
5061 Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
5063 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
5065 1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
5067 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
5068 .frame directive instead of FRAME_POINTER_REGNUM.
5070 Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
5072 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
5073 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
5074 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
5075 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
5076 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
5077 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
5078 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
5079 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
5081 * longlong.h: Replace __mc68332__ with __mcpu32__.
5083 Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
5085 * version.c: Bump for snapshot.
5087 Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
5089 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
5090 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
5091 * reload1.c (eliminate_regs): Likewise.
5093 Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
5095 * regmove.c (find_matches): Initialize matches->earlyclobber too.
5097 Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
5099 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
5100 (negsf2, negdf2): Use proper subtract in IEEE mode.
5102 Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
5104 * Makefile.in: Remove more bytecode stuff.
5105 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
5106 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
5107 * f/install.texi, objc/Make-lang.in: Likewise.
5109 * Makefile.in: Remove all bytecode support.
5110 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
5111 * emit-rtl.c: Remove all bytecode support.
5112 * expr.c, expr.h function.c, integrate.c: Likewise.
5113 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
5114 * tree.h, varasm.c: Likewise.
5115 * config/m68k/m68k.h: Likewise.
5116 * bi-*, bc-*, bytecode*: Delete bytecode related files.
5117 * modemap.def: Likewise.
5119 Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
5121 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
5122 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
5124 Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
5126 * i386.md (push): Prohibit symbolic constants if flag_pic.
5127 (movsi+1): Likewise for move to non-register.
5129 Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
5131 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
5132 (print_operand): Handle 0xffffffff on 32 bit host.
5134 * configure.in (thread_file): Rename uses before main loop to
5135 target_thread_file. Initialize to empty in main loop. Set thread_file
5136 to target_thread_file after main loop if not set.
5137 * configure: Rebuild.
5139 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
5140 (add_values_to_cover): Revert last change (which had no ChangeLog
5142 (simplify_with_current_value_aux): Handle CONST_INT.
5144 Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5146 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
5148 Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
5150 * configure.in: Add cpp stringify test.
5151 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
5152 * gengenrtl.c: Use it.
5153 * configure, config.in: Rebuild.
5155 Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5157 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
5159 Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
5161 * configure.in: Find declaration for sbrk.
5162 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
5163 * config.in, configure: Rebuild.
5164 * mips-tfile.c: Properly protect declaration of sbrk and free.
5165 * toplev.c: Properly protect declaration of sbrk.
5167 Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
5169 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
5171 Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
5173 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
5175 Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
5177 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
5179 Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
5181 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
5182 constant offset computations from objects with known alignment in
5183 the presence of STACK_BIAS.
5185 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
5187 (const_hash): Hash val is unsigned long.
5188 (SYMHASH): Likewise.
5190 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
5192 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
5193 char pointer, not HOST_WIDE_INT.
5194 (print_node): Likewise. Also hash is unsigned long not
5197 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
5199 * explow.c (optimize_save_area_alloca): New function for targets
5200 where SETJMP_VIA_SAVE_AREA is true.
5201 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
5202 compute the amount of stack space needed should we find later that
5203 setjmp is never called by this function, stuff rtl for this inside
5204 a REG_NOTE of the final SET of stack_pointer_rtx.
5205 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
5206 current_function_calls_alloca, call optimize_save_area_alloca.
5208 Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
5210 * i386.md: Remove redundant integer push patterns.
5211 Don't bother checking for TARGET_PUSH_MEMORY when
5212 pushing constants or registers.
5214 Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5215 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
5217 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5218 (pwait): New function for mingw32.
5220 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
5221 pipe support is broken for now.
5223 1998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
5225 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
5226 between frame_pointer_rtx, hard_frame_pointer_rtx, and
5227 arg_pointer_rtx is respected in initialization.
5228 (init_emit_once): Use gen_rtx_raw_REG() to create
5229 return_address_pointer_rtx.
5231 * reorg.c: #include "expr.h" for rtx prototypes.
5232 * Makefile.in (reorg.o): Depend on expr.h
5234 Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
5236 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
5237 local_prefix to sub-make invocations.
5239 Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
5241 * objc-parse.c: Recognize protocol qualifiers in class definitions.
5243 Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
5247 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
5248 * configure.in: Check for atol.
5249 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
5251 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
5253 * loop.c (find_and_verify_loops): When attempting to move insns from
5254 inside the loop outside the loop, create a BARRIER if no suitable
5257 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
5258 favor of an equivalent change from gcc-2.8.
5260 * i386/x-sco5 (CC): Remove trailing whitespace.
5262 Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5264 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
5265 (accessor_from_format): Likewise.
5266 (xmalloc): New function for use when linking with alloca.o.
5268 Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5270 * frame.c (find_fde): Correct FDE's upper bound.
5272 Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
5274 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
5276 Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
5278 * calls.c (expand_call): Move #ifdef code out of macro argument
5280 (emit_library_call, emit_library_call_value): Likewise.
5282 Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
5284 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
5286 Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
5288 * version.c: Bump for snapshot.
5290 Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
5292 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
5293 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
5294 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
5295 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
5296 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
5297 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
5298 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
5299 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
5300 * unroll.c, varasm.c: Likewise.
5301 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
5303 Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
5305 * mips.h: Fix some type-o's from a previous change.
5307 Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
5309 * loop.c (check_dbra_loop): Make sure initial value is a
5310 CONST_INT before trying to normalize it.
5312 Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
5314 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
5316 Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
5318 * cppexp.c: Include gansidecl.h
5320 Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
5322 * svr4.h (LINK_SPEC): Never specify -h.
5323 * ptx4.h (LINK_SPEC): Likewise.
5324 * rs6000/sysv4.h (LINK_SPEC): Likewise.
5325 * sparc/sol2.h (LINK_SPEC): Likewise.
5327 Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
5329 * c-typeck.c (comptypes): Exit early on NULL input.
5331 * haifa-sched.c (schedule_insns): Correctly remove inter-block
5332 dependencies after reload.
5334 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
5336 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
5338 Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
5340 * alpha/vms.h (DIR_SEPARATOR): define
5342 Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5344 * Makefile.in (stamp-proto): Remove.
5345 (protoize.o, unprotoize.o): Straightforward compile.
5346 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
5348 Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5350 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
5351 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
5353 Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
5355 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
5356 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
5357 * sparc/netbsd.h, vax/netbsd.h: Likewise.
5359 Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
5361 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
5363 Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
5365 * configure.in (target_cpu_default, target_cpu_default2): Use double
5366 quotes around them when testing their value.
5367 * configure: Rebuilt.
5369 Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
5371 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
5373 (gendef): Call obstack_alloc_rtx.
5375 Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
5377 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
5380 Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
5382 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
5383 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
5384 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
5386 Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
5388 * mips.md (return_internal): Change mode from SImode to VOIDmode.
5390 Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
5392 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
5395 Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
5397 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
5398 suffix from operand 3.
5400 Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5401 Jeffrey A Law (law@cygnus.com)
5403 * regmove.c: New implementation of regmove pass.
5404 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
5405 decls, make them have external linkage. Return a value from
5406 optimize_reg_copy_1.
5407 * reload.h (count_occurrences): Add decl.
5408 * reload1.c (count_occurrences): Delete decl, make it have external
5410 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
5412 Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
5414 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
5415 if it is not defined.
5417 Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
5419 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
5420 * emit-rtl.c (gen_rtx): Move special code to ...
5421 (gen_rtx_CONST_INT): New function.
5422 (gen_rtx_REG): New function.
5423 (*): Update all calls to gen_rtx.
5424 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
5425 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
5426 (GEN_INT): Call gen_rtx_CONST_INT.
5427 * gengenrtl.c: New file.
5429 Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
5431 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
5432 (base_alias_check): If no base found for address call canon_rtx and
5435 Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
5437 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
5438 arguments for mips16.
5439 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
5440 Don't lose if tsize is zero after handling large stack for mips16.
5441 * mips.md (return): For trivial return, return address is in $31.
5443 Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
5445 * mips/mips16.S: Various changes to make it work with -msingle-float
5448 Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
5449 Ian Lance Taylor <ian@cygnus.com>
5450 Jeff Law <law@cygnus.com>
5452 * mips.c, mips.h, mips.md: First cut at merging in mips16
5453 support. Major modifications throughout all three files.
5455 Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
5457 * configure.in: Make gthr-default.h a forwarding header instead of
5460 Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5462 * gcov-io.h: Include sys/types.h to ensure we get size_t.
5464 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
5466 Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
5467 Jeffrey A Law (law@cygnus.com)
5469 * crtstuff.c (__frame_dummy): New function for irix6.
5470 (__do_global_ctors): Call __frame_dummy for irix6.
5471 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
5473 Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
5475 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
5477 Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
5479 * c-decl.c (init_decl_processing): Provide proper fallback symbol
5480 for __builtin_memset.
5481 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
5482 not INTEGER_CST. Assert arg 3 is a constant.
5484 * alpha.c (mode_width_operand): Accept 64-bit modes.
5485 (mode_mask_operand): Likewise.
5486 (print_operand): Likewise for 'M' and 'U' codes.
5487 (alpha_expand_unaligned_load): New function.
5488 (alpha_expand_unaligned_store): Likewise.
5489 (alpha_expand_unaligned_load_words): Likewise.
5490 (alpha_expand_unaligned_store_words): Likewise.
5491 (alpha_expand_block_move): Likewise.
5492 (alpha_expand_block_clear): Likewise.
5493 * alpha.h (MOVE_RATIO): New define.
5494 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
5495 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
5497 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
5498 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
5500 Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
5502 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
5503 * configure: Update.
5505 Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
5507 * emit-rtl.c (operand_subword): Correctly handle extracting a word
5508 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
5510 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
5513 Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
5515 * configure.in: Set and subsitute host_exeext. Use it when creating
5516 the assembler and linker symlinks.
5517 * configure: Rebuild.
5518 * Makefile.in (exeext): Set to @host_exeext@.
5519 (build_exeext): New variable, set to @build_exeext@.
5520 (FLAGS_TO_PASS): Pass down build_exeext.
5521 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
5524 Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
5526 * mn10200.md (addsi3, subsi3): Fix thinkos.
5528 Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
5530 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
5531 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
5532 unix always, since we want to be able to thunk to functions in a
5533 shared library from an application.
5535 Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
5537 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
5538 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
5540 Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
5542 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
5543 offset's mode is not ptr_mode, convert it.
5545 Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
5547 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
5548 compiling if it was already defined.
5550 Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
5552 * flow.c (find_basic_blocks): Don't create a new basic block
5553 for calls in a LIBCALL block.
5555 Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
5557 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
5559 Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
5561 * cse.c (rtx_cost): Remove conflicting default case.
5563 Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
5565 * configure.in: Move default enabling of Haifa out of for loop.
5566 * configure: Rebuild.
5568 Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
5570 * version.c: Bump for snapshot.
5572 1997-12-25 Teemu Torma <tot@trema.com>
5574 * Makefile.in (GTHREAD_FLAGS): New var.
5575 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
5576 (distclean): Remove gthr-default.h.
5578 * configure.in: Accept dce as a thread package.
5579 Check for thread.h and pthread.h.
5580 Link gthr-default.h to appropriate thread file and set
5582 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
5583 include multilib definitions from pa/t-dce-thr.
5584 (sparc-*-solaris2*): Enable threads by default, if thread.h or
5585 pthread.h is found, preferring posix threads over solaris ones.
5587 * config/pa/t-dce-thr: New file.
5588 * config/pa/t-pa: Removed multilibs.
5589 * config/sparc/t-sol2: Ditto.
5592 * gthr-single.h: New file.
5593 * gthr-posix.h: New file.
5594 * gthr-solaris.h: New file.
5595 * gthr-dce.h: New file.
5596 * libgcc-thr.h: Removed.
5597 * objc/thr-dce.c: New file copied from thr-decosf1.c.
5599 * frame.c: Include gthr.h instead of libgcc-thr.h.
5600 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
5601 (eh_context_initialize): If __gthread_once fails, use static eh
5603 (eh_context_free): Call __gthread_key_dtor.
5605 Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
5607 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
5609 Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
5611 * cse.c (max_insn_uid): New variable.
5612 (cse_around_loop): Use max_insn_uid.
5613 (cse_main): Set max_insn_uid.
5615 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
5616 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
5617 -mlong64, and -mgp{32,64} options.
5618 * mips.c (mips_abi): Change type to int.
5619 * mips.h (enum mips_abi_type): Delete.
5620 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
5621 (mips_abi): Change type to int.
5623 Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
5625 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
5626 optimization is now always enabled.
5628 * calls.c (expand_call): Recognize C++ operator new as malloc-like
5631 * alias.c (memrefs_conflict_p): Eliminate tests now done by
5633 (*_dependence): Call canon_rtx before base_alias_check.
5634 (init_alias_once): New function to precompute set of registers which
5635 can hold Pmode function arguments.
5637 * rtl.h: Declare init_alias_once.
5639 * toplev.c (compile_file): Call init_alias_once.
5641 Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
5643 * tree.c (restore_tree_status): Do not dereference a null pointer.
5645 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
5647 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
5648 RLIMIT_STACK. This maintains consistency with the recent, similar
5649 patch to cccp.c and toplev.c.
5651 Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
5653 * genattrtab.c (expand_units): For large nr opclasses, expand
5654 function_units_used with ORX to prevent blowups. Tag with FFS.
5655 (num_unit_opclasses): New variable.
5656 (gen_unit): Update it.
5657 (enum operator): Add ORX_OP.
5658 (operate_exp): Treat ORX as or, except don't expand across an if.
5659 Reuse number rtx's after operating on them.
5660 (check_attr_value): Accept IOR, AND, & FFS.
5661 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
5662 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
5663 (write_expr_attr_cache, write_toplevel_expr): New functions.
5664 (write_attr_get): Handle FFS-tagged expressions.
5665 (make_canonical): Don't expand const attributes.
5666 (convert_const_symbol_ref): Dike out.
5667 (evaluate_eq_attr): Handle SYMBOL_REF.
5668 (main): Don't emit get_attr_foo for const attributes.
5670 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
5671 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
5672 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
5673 * alpha.md: Redo all of the scheduling, adding EV6 support, and
5674 combining function units where possible.
5675 (attr "type"): Split loads, stores, cmov into int/fp. Combine
5676 multiplies and divides. Add EV6 sqrt, ftoi, itof.
5677 (attr "opsize"): New attribute.
5678 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
5679 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
5680 to control register allocation.
5681 (movsi2-1, movdi2-1): Likewise.
5683 Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
5685 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
5686 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
5687 Move OSF/1 specific defines out.
5688 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
5689 Move Linux specific defines out.
5690 (LINK_SPEC): Genericize.
5691 (ASM_FILE_START): Emit .arch if using more than the base insn set.
5692 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
5693 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
5694 (HANDLE_SYSV_PRAGMA): Define.
5695 * alpha/osf.h: New file.
5696 * alpha/linux.h: Split. Retain file-format independant defines.
5697 Import Linux bits from elf.h.
5698 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
5699 (FUNCTION_PROFILER): _mcount takes its address in $28.
5700 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
5701 * alpha/linux-ecoff.h: New file.
5702 * alpha/linux-elf.h: New file.
5703 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
5704 * alpha/win-nt.h (TARGET_DEFAULT): Define.
5705 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
5706 Add new headers as appropriate.
5708 * configure.in (alpha*): Enable Haifa by default.
5709 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
5710 * configure: Rebuild.
5712 Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
5714 * Makefile.in (clean): Remove the stages with their objects here ...
5715 (distclean): ... instead of here.
5717 Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5719 * cse.c (rtx_cost): Add default case in enumeration switch.
5720 * fix-header.c (recognized_macro): Likewise.
5721 (recognized_extern): Likewise.
5722 (write_rbrac): Likewise.
5723 * objc/objc-act.c (encode_aggregate): Likewise.
5724 (gen_declarator): Likewise.
5725 (gen_declspecs): Likewise.
5727 Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
5729 * haifa-sched.c (create_reg_dead_note): Detect and handle another
5730 case where we kill more regs after sched than were killed before
5732 * sched.c (create_reg_dead_note): Similarly.
5734 Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
5736 * c-pragma.c: Include flags.h.
5738 Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
5740 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
5741 about system headers.
5742 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
5743 and also to resolve symbols in prefix.c.
5745 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
5746 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
5747 when the definitions in auto-config.h is not visible.
5748 (HAVE_BZERO): Likewise.
5749 (HAVE_BCMP): Likewise.
5750 (HAVE_RINDEX): Likewise.
5751 (HAVE_INDEX): Likewise.
5753 Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
5755 * pa.c (emit_move_sequence): Handle a function label source
5758 Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
5760 * c-pragma.c (handle_pragma_token): Generate warning messages
5761 about unknown pragmas if warn_unknown_pragmas is set.
5763 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
5764 line option to set variable: warn_unknown_pragmas.
5766 Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
5768 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
5770 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
5772 Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
5774 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
5775 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
5776 generate more fine grained floating point emulation libraries.
5777 * config/fp-bit.c: Add protecting #ifdef to all functions so
5778 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
5779 then compile all suitable functions.
5780 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
5781 underscores to avoid namespace pollution.
5782 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
5784 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
5788 Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5789 Jeff Law <law@cygnus.com>
5791 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
5793 * c-decl.c (finish_decl): Use parentheses around && within ||.
5794 * rtl.c: Include stdlib.h.
5795 (read_skip_spaces): Add parentheses around assignments used as
5797 (read_rtx): Initialize list_rtx.
5798 * cppexp.c (parse_number): Use || when operands are truth values.
5799 * alias.c (find_base_value): Add default case.
5800 (memrefs_conflict): Likewise.
5801 * combine.c (sets_function_arg_p): Likewise.
5802 * genemit.c (gen_exp): Likewise.
5803 * local-alloc.c (contains_replace_regs): Likewise.
5804 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
5805 * fold-const.c (fold_convert): Use "&&" for truth values.
5806 (fold): Add default case.
5807 * sdbout.c (sdbout_field_types): Fix typo in declaration.
5808 (sdbout_one_type): Add default case.
5809 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
5810 (some_operand): Add default case.
5811 (input_operand): Likewise.
5812 (signed_comparison_operator): Likewise.
5813 (divmod_operator): Likewise.
5814 (alpha_set_memflags_1): Likewise.
5815 * reload1.c (reload_cse_simplify_operands): Ensure function
5816 always returns a value.
5817 * scan-decls.c (scan_decls): Likewise.
5818 * c-lex.c (skip_white_space): Fix typo in declaraion.
5819 * c-typeck.c (comp_target_types): Add parentheses around assignment
5820 used as truth value.
5821 (print_spelling): Likewise.
5822 (constructor_implicit, constructor_result): Remove unused variables.
5823 * collect2.c (scan_library): Protect prototype with
5824 #ifdef SCAN_LIBRARIES.
5825 * emit-rtl.c (find_line_note): Fix typo in declaration.
5826 * final.c (asm_insn_count): Protect prototype with
5827 #ifdef HAVE_ATTR_length.
5828 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
5829 (try_pre_increment_1, try_pre_increment): Likewise.
5830 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
5831 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
5832 * gcov-io.h (__store_long, __write_long, __read_long): Fix
5833 unsigned/signed comparisons.
5834 * gcov.c (read_files): Remove unused "first_type" variable.
5835 (scan _for_source_files): Initialize s_ptr.
5836 (function_summary): Eliminate "%lf" formatting, use %ld for
5838 (output_data): Initialize branch_probs and last_line_num.
5839 Eliminate "%lf" formatting, use "%ld" for longs.
5841 Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
5843 * mips16.S: New file.
5845 * libgcc2.c (varargs): Handle mips16.
5847 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
5849 * stmt.c (expand_end_case): Likewise.
5850 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
5851 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
5852 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
5854 Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5856 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
5857 the build directory.
5858 (libobjc.a): Update dependency list.
5859 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
5861 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
5862 (objc.mostlyclean): Remove runtime-info.h.
5864 Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
5866 * tree.c (build_range_type): Allow creation of ranges with no maximum.
5867 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
5868 * dwarf2out.c (add_subscript_info): Likewise.
5869 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
5870 * sdbout.c (plain_type_1): Likewise.
5871 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
5873 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
5876 Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5878 * mips.c (fatal): Remove declaration.
5880 1997-12-18 Mark Mitchell <mmitchell@usa.net>
5882 * integrate.c (get_label_from_map): New function.
5883 (expand_inline_function): Use it. Initialize the label_map to
5884 NULL_RTX instead of gen_label_rtx.
5885 (copy_rtx_and_substitute): Use get_label_from_map.
5886 * integrate.h (get_label_from_map): New function.
5887 (set_label_from_map): New macro.
5888 * unroll.c (unroll_loop): Use them.
5889 (copy_loop_body): Ditto.
5891 Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
5893 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
5894 (INIT_TARGET_OPTABS): Define.
5895 * mips/ecoff.h: Include gofast.h before mips.h.
5896 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
5897 * mips/elf64.h: Likewise.
5898 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
5900 Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
5902 * except.c: Remove register_exception_table{,_p}.
5904 Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
5906 * unroll.c (calculate_giv_inc): Handle constant increment found in
5907 a MEM with an appropriate REG_EQUAL note.
5909 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
5911 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
5912 frame pointer in the prologue.
5914 Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
5916 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
5917 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
5919 Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
5921 * config/m68k/m68k.c (output_function_prologue): Typecast
5922 dwarf2out_cfi_label to (char *).
5923 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
5925 Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
5927 * sparc.md (jump): Don't use the annul bit around an empty loop.
5928 Patch from Kevin.Kelly@East.Sun.COM.
5930 Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
5932 * jump.c: (jump_optimize): Don't use the return register as a
5933 source1 of a conditional move.
5935 Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
5937 * sparc.c (DF_MODES): Or the mask not the bit number.
5938 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
5940 Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
5942 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
5944 Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
5946 * fixincludes (size_t): Add support for Motorola's stdlib.h
5947 which fails to provide a definition for size_t.
5948 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
5949 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
5950 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
5952 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
5953 prevent unresolved externals in libio.
5954 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
5956 Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
5958 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
5959 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
5960 (LIB_SPEC): Updated for glibc 2.
5962 Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
5964 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
5965 * ginclude/varargs.h: Likewise.
5967 Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
5969 * version.c: Bump for snapshot.
5971 Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
5973 * frame.h (__register_frame, __register_frame_table,
5974 __deregister_frame): New.
5975 * frame.c (__register_frame, __register_frame_table,
5976 __deregister_frame): New.
5977 * frame.c (__deregister_frame_info): Return void *.
5978 * frame.h (__deregister_frame_info): Ditto.
5979 * collect2.c (__deregister_frame_info): Ditto.
5981 Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
5983 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
5985 Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
5987 * alpha.c (alpha_cpu_name): New variable.
5988 (alpha_mlat_string): Likewise.
5989 (alpha_memory_latency): Likewise.
5990 (override_options): Handle -mmemory-latency.
5991 (alpha_adjust_cost): Adjust load cost for latency.
5992 * alpha.h (TARGET_OPTIONS): Add meory-latency.
5993 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
5994 TARGET_CIX into account.
5995 (MEMORY_MOVE_COST): Define in terms of memory_latency.
5996 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
5998 * alpha.h (ASM_COMMENT_START): New macro.
6000 Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
6002 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
6003 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
6005 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
6006 SUBREG_REG if the word count is unchanged.
6007 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
6008 subregs of identical word size for push_reload.
6010 Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
6012 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
6013 if all we're doing is dealing with -Wreturn-type.
6015 Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
6017 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
6018 Use and 255 instead of zapnot 1, since it schedules better.
6020 Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
6022 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
6025 Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
6027 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
6028 dependency we delete. Properly update prev for multiple consecutive
6030 (priority): Skip deleted dependence.
6032 Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
6034 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
6036 Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6038 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
6039 determining when a new basic block starts.
6041 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
6043 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
6044 * pa.md (iorsi3): Add missing args to *_operand calls.
6046 * except.c (call_get_eh_context): Don't mess with sequences.
6047 (emit_eh_context): Include the call in the sequence here.
6049 1997-12-11 Paul Eggert <eggert@twinsun.com>
6051 * collect2.c (write_c_file_glob): Allocate initial frame object
6052 in static storage and pass its address.
6054 Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6056 * except.c (call_get_eh_context): Don't take a parm.
6057 Put the call at the top of the function.
6058 (emit_eh_context): Adjust.
6059 (get_eh_context): Replace with former use_eh_context.
6060 (get_eh_context_once, get_saved_pc_ref): Remove.
6061 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
6063 * integrate.c (expand_inline_function): Adjust.
6064 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
6066 Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
6068 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
6069 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
6071 Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
6073 * fixincludes (strlen,strspn,strcspn return value): Handle different
6075 (hypot): Provide a fake for hypot which is broken on
6076 m88k-motorola-sysv3.
6078 Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
6080 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
6081 tree_code_name from pointers to arrays.
6082 * tree.c: Remove standard_tree_code_* variables, no longer used.
6083 * print-tree.c: Remove declaration of tree_code_name.
6085 * cp/lex.c (init_lex): Update for tree_code_* changes.
6086 * objc/objc-act.c (init_objc): Likewise.
6088 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
6091 Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
6093 * config.sub: Add support for BeOS target.
6094 * configure.in: Likewise.
6095 * ginclude/stdarg.h: Likewise.
6096 * ginclude/stddef.h: Likewise.
6097 * ginclude/varargs.h: Likewise.
6098 * rs6000/beos.h: New file for BeOS.
6099 * rs6000/t-beos: Likewise.
6100 * rs6000/x-beos: Likewise.
6101 * rs6000/xm-beos.h: Likewise.
6102 * toplev.c (get_run_time): Just return 0 on BeOS.
6104 Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
6105 Toon Moene (toon@moene.indiv.nluug.nl)
6107 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
6108 old and broken Sun3 assemblers. Newer versions handle large
6109 offsets correctly as does the GNU assembler.
6111 Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
6113 * objc/objc-act.c (lang_report_error_function): Disable.
6114 * objc/objc-parse.y: Include "output.h".
6115 (yyerror): Remove redundant decl.
6116 (yyprint): Fix prototype.
6117 (apply_args_register_offset): Remove redundant decl.
6118 (get_file_function_name): Likewise.
6120 Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
6122 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
6124 (find_basic_blocks_1): Likewise.
6126 Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6128 * except.c (use_eh_context): Don't copy_rtx a REG.
6129 (emit_throw): Lose old unwinder support.
6130 (expand_internal_throw): Likewise.
6131 * libgcc2.c (struct eh_context): Likewise.
6132 (new_eh_context): Likewise.
6133 (__get_eh_info): Lose redundant cast.
6134 (__get_dynamic_handler_chain): Likewise.
6135 (__get_saved_pc): Lose.
6136 Lose all old unwinder support code.
6138 Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
6140 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
6142 * integrate.c (expand_inline_function): If the inline fn uses eh
6143 context, make sure that the current fn has one.
6144 * toplev.c (rest_of_compilation): Call emit_eh_context.
6145 * except.c (use_eh_context): New fn.
6146 (get_eh_context_once): New fn.
6147 (call_get_eh_context): New fn.
6148 (emit_eh_context): New fn.
6149 (get_eh_context): Call either get_eh_context_once or
6150 call_get_eh_context, depending on what we have.
6151 (get_dynamic_handler_chain): Call get_eh_context_once.
6152 * except.h: Prototypes for fns above.
6153 * optabs.c (get_eh_context_libfunc): Removed.
6154 (init_optabs): Don't initialize it.
6155 * expr.h (get_eh_context_libfunc): Removed.
6156 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
6157 * config/pa/pa.h (CPP_SPEC): Support for -threads.
6158 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
6159 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
6160 New multilib for -threads.
6161 * config/sparc/t-sol2: Added multilibs for -threads and
6162 made -pthreads alias to it.
6163 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
6164 Added -threads and -pthreads options.
6165 * libgcc-thr.h: New file.
6166 * libgcc2.c: (__get_cpp_eh_context): Removed.
6167 (struct cpp_eh_context): Removed.
6168 (struct eh_context): Replaced cpp_eh_context with generic language
6170 (__get_eh_info): New function.
6171 (__throw): Check eh_context::info.
6173 * libgcc2.c: Include libgcc-thr.h.
6174 (new_eh_context, __get_eh_context,
6175 eh_pthread_initialize, eh_context_initialize, eh_context_static,
6176 eh_context_specific, eh_context_free): New functions.
6177 (get_eh_context, eh_context_key): New variables.
6178 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
6179 get_eh_context to get the context.
6180 (longjmp): Move the declaration inside
6181 #ifdef DONT_USE_BUILTIN_SETJMP.
6182 * frame.c: Include libgcc-thr.h.
6183 (object_mutex): Mutex to protect the object list.
6184 (find_fde, __register_frame, __register_frame_table,
6185 __deregister_frame): Hold the lock while accessing objects.
6186 * except.h (get_eh_context): Declare.
6187 * except.c (current_function_ehc): Define.
6188 (current_function_dhc, current_function_dcc): Removed.
6189 (get_eh_context): New function.
6190 (get_dynamic_handler_chain): Use get_eh_context.
6191 (get_saved_pc_ref): Ditto.
6192 (get_dynamic_cleanup_chain): Removed references to
6193 current_function_dcc.
6194 (save_eh_status, restore_eh_status): Save and restore
6195 current_function_ehc instead.
6196 * optabs.c (get_eh_context_libfunc): New variable.
6197 (init_optabs): Initialize it.
6198 * expr.h: Declare get_eh_context_libfunc.
6199 * function.h (struct function): Replaced dhc and dcc with ehc.
6200 * except.c (get_saved_pc_ref): New functions.
6201 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
6202 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
6204 (end_eh_unwinder): Likewise.
6205 (init_eh): Remove initialization of eh_saved_pc.
6206 * optabs.c (get_saved_pc_libfunc): New variable.
6207 (init_optabs): Initialize it.
6208 * expr.h: Declare get_saved_pc_libfunc.
6209 * except.h (eh_saved_pc_rtx): Deleted.
6210 (get_saved_pc_ref): Declared.
6212 From Scott Snyder <snyder@d0sgif.fnal.gov>:
6213 * libgcc2.c (__get_saved_pc): New.
6214 (__eh_type, __eh_pc): Deleted.
6215 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
6216 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
6219 Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
6221 * sparc/sol2.h: Use 64 bit multiply and divide functions in
6222 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
6225 * rtl.h (global_rtl): New variable, replacing separate variables for
6227 (const_int_rtx): Now array of rtx_def, not rtx.
6228 * emit-rtl.c: Update for new rtl data structures.
6229 * genattrtab.c: Define global_rtl.
6231 Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
6233 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
6236 Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
6238 * crtstuff.c (__do_global_ctors): Fix typo.
6240 Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
6242 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6243 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6245 Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
6247 * rs6000.h (FUNCTION_ARG_PADDING): Define.
6248 * rs6000.c (function_arg_padding): New function.
6250 Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
6252 * m68k.c: Include tree.h only once.
6254 Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6256 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
6258 Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
6260 * Partially cleaned up prototyping code from HJ.
6261 * tree.h: Add many prototypes.
6262 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
6263 All references changed.
6264 * rtl.h: Protect from multiple inclusions. Add many prototypes.
6266 Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
6268 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
6269 string functions like strlen.
6271 Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
6273 * configure.in: Check for functions getrlimit and setrlimit.
6274 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6275 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6277 Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
6279 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
6281 Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
6283 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
6286 * alpha.c (override_options): Don't know about scheduling for EV6.
6287 * alpha.md (ev5 function units): Don't overload as ev6.
6289 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
6290 * alpha.md (define_attr type): Add mvi.
6291 (ev5_e0): Define sceduling parameters for it.
6292 (TARGET_MAX insns): Type is mvi not shift.
6294 Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
6296 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
6298 Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6300 * cstamp-h, auto-config.h: Delete.
6302 Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
6304 * version.c: Bump for snapshot.
6306 Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
6308 * cccp.c: Fix typo brought over in merge.
6310 * Merge in changes from gcc-2.8.
6312 Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
6314 * m68k.c: Include tree.h for dwarf2out_cfi_label.
6316 * gcc.c (process_command): Do not take address of function fatal when
6317 calling lang_specific_driver.
6319 Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
6321 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
6322 doesn't work with it yet, so set it to 0.
6323 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
6325 Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
6327 * cse.c (cse_insn): Check for invalid entries when taking references.
6329 Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6331 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
6332 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
6333 * toplev.c (rest_of_compilation): Pass it. Remove code to
6334 save / clear / restore flag_unroll_{,all_}loops.
6336 Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6338 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
6340 Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
6342 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
6344 Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
6346 * except.c (get_dynamic_handler_chain): Only make the call once per
6349 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
6351 Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6353 * sh.c (final_prescan_insn): Use local label prefix
6354 when emitting .uses pseudo-ops.
6356 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6358 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
6359 * except.c: Lose outer_context_label_stack.
6360 (expand_eh_region_end): Rethrow from outer_context here.
6361 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
6362 (expand_internal_throw): Take no args.
6363 (expand_internal_throw_indirect): Lose.
6364 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
6365 (expand_start_all_catch): Start a rethrow region.
6366 (expand_end_all_catch): End it.
6367 (expand_rethrow): New fn.
6368 * except.h: Reflect above changes.
6369 * flow.c: Revert change of Nov 27.
6371 Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
6373 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
6375 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6377 * except.c (expand_fixup_region_end): New fn.
6378 (expand_fixup_region_start): Likewise.
6379 (expand_eh_region_start_tree): Store cleanup into finalization here.
6380 * stmt.c (expand_cleanups): Use them to protect fixups.
6382 Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
6384 * mips/mips.md (muldi3_r4000): Broaden the output template
6385 and attribute assignments to handle three operand dmult;
6386 rename to muldi3_internal2.
6387 (muldi3): Call the new muldi3_internal2 for R4000, and
6388 any GENERATE_MULT3 chip.
6390 Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
6392 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
6394 Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
6396 * unroll.c (find_splittable_givs): Remove last change. Handle givs
6397 with a dest_reg that was created by loop.
6399 Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
6401 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
6403 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
6405 Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
6407 * configure.in: Fix NCR entries.
6409 Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
6411 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
6412 nested exceptions correctly.
6414 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
6415 that was created by loop.
6417 Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
6419 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
6421 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
6423 Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
6425 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
6426 (print_operand): Use SMALL_DATA_REG for the register involved in
6427 small data relocations.
6428 (print_operand_address): Ditto.
6430 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
6431 -dynamic linker is not used.
6433 * rs6000.md (call insns): For local calls, use @local suffix under
6434 System V. Don't use @plt under Solaris.
6436 * rs6000.c (output_function_profiler): Put label address in r0, and
6437 store LR in 4(sp) for System V/eabi.
6439 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
6440 byte boundary, and maintain stack backchain.
6442 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6444 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6445 fix_truncsfdi2): Change *.
6447 Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
6449 * toplev.c (main): Complain about -gdwarfn.
6451 Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
6453 * dwarfout.c (output_type): If finalizing, write out nested types
6454 of types we've already written.
6456 Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
6458 (patches originally from Geoffrey Keating)
6459 * rs6000.c (function_arg): Excess floating point arguments don't
6460 go into GPR registers after exhausting FP registers under the
6462 (function_arg_partial_nregs): Ditto.
6464 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
6467 Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
6469 * integrate.c (output_inline_function): Just unset DECL_INLINE.
6471 Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
6473 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
6476 * libgcc2.c (__throw): Initialize HANDLER.
6478 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6480 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6481 fix_truncsfdi2): Change *X to ?*X.
6483 Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
6485 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
6487 Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
6489 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
6491 Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
6493 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
6495 Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
6497 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
6498 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
6501 Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
6503 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
6504 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
6505 gas and not using the new HP assembler.
6507 Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
6509 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
6510 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
6512 Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
6514 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
6515 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
6518 Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6520 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
6522 Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
6524 * except.h: Add outer_context_label_stack.
6525 * except.c: Likewise.
6526 (expand_start_all_catch): Push the outer_context for the try block
6527 onto outer_context_label_stack.
6528 (expand_end_all_catch): Use it and pop it.
6530 Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
6532 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
6534 Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
6536 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
6538 Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
6540 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
6541 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6543 Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
6545 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
6546 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
6547 __builtin_delete, and __builtin_vec_delete.
6549 * except.c (output_exception_table): Don't bother with
6552 Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
6554 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
6555 is an in/out operand.
6556 (zero extended variants of stwm/stwm patterns): Similarly.
6558 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
6560 Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
6562 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
6564 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
6565 (output_call_frame_info): Emit a \n after using it.
6567 Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
6569 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
6571 Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
6573 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
6574 (ASM_OUTPUT_DWARF_VALUE4): New macro.
6575 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
6577 (output_call_frame_info): Do not output forward label differences
6578 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
6579 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
6581 Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6583 * sh.md (attribute "type"): Add nil.
6584 (movsi_ie): y/y alternative is type nil.
6585 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
6587 (movsf_ie+1): Delete.
6589 Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
6591 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
6592 large_int, emit two insns instead of one splitable insn.
6593 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
6594 from cfa_temp_value, use cfa_offset. Add assert checking that
6597 Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
6599 * cccp.c (deps_output): Properly quote file names for make.
6601 Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
6603 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
6605 Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
6607 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
6609 Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
6611 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
6613 (cse_end_of_basic_block): Similarly.
6615 Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
6617 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
6618 (SELECT_RTX_SECTION): Define.
6619 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
6621 Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
6623 * Makefile.in (compare, compare-lean): Define $stage for each
6625 (gnucompare, gnucompare-lean): Likewise.
6627 Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
6629 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
6631 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
6632 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6634 Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
6636 * dwarfout.c (byte_size_attribute): Add local var upper_bound
6637 and add case to handle STRING_TYPE.
6638 * dwarfout.c (output_string_type_die): Fix code to generate
6639 correct string length attribute for fixed length strings.
6640 Still needs support for varying length strings.
6642 Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
6644 * toplev.c (get_run_time): Do something sensible for cygwin32.
6646 Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
6648 * expr.c (expand_builtin_setjmp): Set
6649 current_function_has_nonlocal_label.
6650 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
6651 call-saved registers across calls.
6653 * alpha.md (exception_receiver): Remove.
6654 (nonlocal_goto_receiver_osf): New
6655 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
6656 (nonlocal_goto_receiver): New, select _osf or _vms.
6658 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
6659 keep them from being propogated to the object file.
6660 (alpha_write_linkage): Likewise.
6661 * alpha.md (call_vms): Likewise.
6662 (call_value_vms): Likewise.
6663 (unnamed osf call insns): Likewise.
6665 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
6666 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6668 * alpha.c (call_operand): Any reg is valid for WinNT.
6669 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
6670 (anon nt calls): Add 'R' alternative.
6671 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
6672 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
6674 Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
6676 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
6678 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
6679 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6680 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6682 Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
6684 * reload1.c (new_spill_reg): Improve fixed or forbidden register
6685 spill error message.
6687 Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6689 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
6690 use varargs.h. Wrap header with <>, not "".
6692 Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
6694 * integrate.c (save_for_inline_copying): Add return value from
6697 Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
6699 * fixincludes: Be a little more restrictive on what we will
6700 substitute to replace definitions of MAXINT for HPUX.
6702 Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
6704 * dbxout.c (dbxout_symbol_location): Don't assume that variables
6705 whose address is the stack or argument pointers are indirect
6708 1997-11-13 Paul Eggert <eggert@twinsun.com>
6710 * cccp.c, cpplib.c (compare_defs):
6711 Don't complain about arg name respellings unless pedantic.
6712 * cpplib.c (compare_defs): Accept pfile as new arg.
6713 All callers changed.
6715 Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6717 * fold-const.c (fold_truthop): Fix bug in last change.
6719 1997-11-13 Paul Eggert <eggert@twinsun.com>
6721 Fix some confusion with IEEE minus zero.
6723 * real.h (REAL_VALUES_IDENTICAL): New macro.
6725 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
6726 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
6728 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
6729 same tree structure as 0.0.
6731 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
6732 macro instead of doing it by hand.
6734 Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
6736 * v850/lib1funcs.asm: Minor whitespace changes.
6737 * v850.c: Fix minor formatting problems in many places.
6738 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
6740 Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
6742 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
6743 xplus1 when xplus0 is not a register.
6745 Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
6747 * flow.c (find_basic_blocks): During marking phase, if we encounter
6748 an insn with a REG_LABEL note, make the target block live and
6749 create an edge from the insn to the target block. Do not make
6750 edges from all blocks to the target block.
6752 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
6754 * confiugre.in: Tweak NCR entries.
6755 * configure: Rebuilt.
6757 Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
6759 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
6760 pick apart floating point values, instead of using CONST_DOUBLE_LOW
6761 and CONST_DOUBLE_HIGH.
6763 * rs6000.md (define_splits for DF constants): Use the appropriate
6764 REAL_VALUE_* interface to pick apart DF floating point constants in
6765 a machine independent fashion.
6767 Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6769 * fold-const.c (fold_truthop): When changing a one-bit comparison
6770 against zero into a comparison against mask, do a proper sign
6773 Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
6775 * except.c: Do not include "assert.h".
6776 (save_eh_status): Turn asserts into conditional aborts.
6777 (restore_eh_status, scan_region): Likewise.
6778 * dwarfout.c: Do not include "assert.h".
6779 (bit_offset_attribute): Turn asserts into conditional aborts.
6780 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
6781 (output_inlined_structure_type_die): Likewise.
6782 (output_inlined_union_type_die): Likewise
6783 (output_tagged_type_instantiation): Likewise.
6784 (dwarfout_file_scope_decl): Likewise.
6785 * dwarf2out.c: Do not include "assert.h"
6786 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
6787 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
6788 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
6789 (add_bit_size_attribute, scope_die_for): Likewise.
6790 (output_pending_types_for_scope): Likewise.
6791 (get_inlined_enumeration_type_die): Likewise.
6792 (get_inlined_structure_type_die): Likewise.
6793 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
6794 (gen_tagged_type_instantiation_die): Likewise.
6796 * flow.c (find_basic_blocks): Refine further to get a more correct
6797 cfg, especially in the presense of exception handling, computed
6798 gotos, and other non-trivial cases. Call abort if an inaccuracy
6799 is detected in the cfg.
6801 Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6803 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
6805 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
6806 (skip_white_space): Use whitespace_cr.
6807 (check_newline): Handle whitespace more consistently.
6809 Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
6811 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
6812 * i386/xm-cygwin32.h (POSIX): Define.
6814 Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
6816 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
6817 is available elsewhere.
6819 Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
6821 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
6822 what the instruction can handle.
6824 Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
6826 * stmt.c (expand_decl_cleanup_no_eh): New fn.
6828 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
6830 Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
6832 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
6833 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
6835 Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
6837 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
6838 swap instruction order.
6840 Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
6842 * fixinc.svr4 (__STDC__): Add another case.
6844 Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6846 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
6847 addresses in the epilogue delay slot.
6849 Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
6851 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
6852 in generated `specs' file.
6854 Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
6856 * flags.h (flag_rerun_loop_opt): Declare.
6857 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
6858 * toplev.c (flag_rerum_loop_opt): Delete static.
6860 Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6862 Bring over from FSF:
6864 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6866 * va-sh.h (__va_arg_sh1): Define.
6868 SH3E doesn't use any integer registers for subsequent arguments
6869 once a non-float value was passed in the stack.
6870 * sh.c (machine_dependent_reorg): If optimizing, put explicit
6871 alignment in front label for ADDR_DIFF_VEC.
6872 * sh.h (PASS_IN_REG_P): Fix SH3E case.
6873 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
6875 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6877 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
6880 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6882 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
6883 put an use_sfunc_addr before each sfunc.
6884 * sh.md (use_sfunc_addr, dummy_jump): New insns.
6885 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
6887 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6889 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
6891 Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
6893 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
6896 Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
6898 * alias.c (find_base_value): Only return the known base value for
6901 Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
6903 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
6904 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
6906 (prologue_get_pc_and_set_got): New pattern.
6908 Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
6910 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
6911 for SUBREG, just fall through.
6913 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
6915 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
6917 Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
6919 * fixincludes: Fix "hypot" prototype in NeXT math.h.
6921 * Makefile.in (USE_ALLOCA): Always include alloca.o.
6922 (USE_HOST_ALLOCA): Likewise.
6924 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
6925 and LABEL_REFS fields.
6926 * rtl.h (LABEL_REFS): Update.
6928 Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
6930 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
6931 sets i2dest. When calling distribute_notes for i3dest_killed, pass
6932 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
6935 * mips.md (insv, extzv, extv): Add change_address call.
6936 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
6938 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
6940 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
6942 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
6943 save_restore_insns if no FP and GP will be restored.
6945 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
6946 Convert CCmode to word_mode before calling GET_MODE_SIZE.
6948 * acconfig.h (HAVE_INTTYPES_H): Undef.
6949 * configure.in (inttypes.h): Check for conflicts between sys/types.h
6950 and inttypes.h, and verify that intmax_t is defined.
6951 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
6952 * config/mips/x-iris3: Likewise.
6954 Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
6956 * alias.c (find_base_value): When copying arguments, return the
6957 tenative value for a hard register.
6959 Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
6961 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
6962 (yylex): Record wide strings using target endianness, not host.
6964 Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
6966 * mn10200.h (ASM_OUTPUT_BSS): Delete.
6967 (ASM_OUTPUT_ALIGNED_BSS): New macro
6968 * mn10300.h (ASM_OUTPUT_BSS): Delete.
6969 (ASM_OUTPUT_ALIGNED_BSS): New macro.
6970 * v850.h (ASM_OUTPUT_BSS): Delete.
6971 (ASM_OUTPUT_ALIGNED_BSS): New macro.
6973 Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6975 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
6977 Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
6979 * configure.in (sco5): Use cpio to install header files.
6981 Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
6983 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
6985 * configure: Rebuild.
6987 Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
6989 * i386/sco5.h: enable -gstabs once again.
6991 Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
6993 * arm.c (output_move_double): Allocate 3 entries in otherops array.
6995 Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
6997 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
6998 notes for sjlj exceptions too.
6999 (expand_eh_region_end): Similarly for EH_REGION_END notes.
7000 (exception_optimize): Optimize EH regions for sjlj exceptions too.
7001 * final.c (final_scan_insn): Don't output labels for EH REGION
7002 notes if doing sjlj exceptions.
7004 Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
7006 * alias.c (init_alias_analysis): Handle -fno-alias-check when
7007 optimizing correctly.
7009 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
7010 or set current_function_calls_setjmp anymore.
7012 * flow.c (find_basic_blocks): If we delete the label for an
7013 exception handler, remove it from the EH label list and remove
7014 the EH_BEGIN/EH_END notes for that EH region.
7016 Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
7018 * flow.c (find_basic_blocks): Generate correct flow control
7019 information when exception handling notes are present.
7021 Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
7023 * dwarf2out.c (output_call_frame_info): Fix length argument
7024 to ASM_OUTPUT_ASCII.
7025 (output_die, output_pubnames, output_line_info): Likewise.
7027 Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
7029 * version.c: Bump for snapshot.
7031 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
7032 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
7033 flag_debug_asm is on.
7034 (output_die, output_pubnames, output_line_info): Likewise.
7036 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
7037 and static_chain_rtx into the potential base values array if
7040 * alias.c (new_reg_base_value): New array of potential base values.
7041 (unique_id): Now file scoped static.
7042 (find_base_value, case REG): Return the value in reg_base_value
7043 array for the REG if it exists. Else, return the value from
7044 new_reg_base_value if copying args and REG is a hard register.
7045 (find_base_value, case PLUS): If either operand of the PLUS is
7046 a REG, try to get its base value. Handle base + index and
7048 (record_set): Use new_reg_base_value instead of reg_base_value.
7049 (init_alias_analysis): Allocate space for new_reg_base_value too.
7050 Rework code to iterate over the insns propagating base value
7051 information until nothing changes.
7053 * global.c (global_alloc): Free the conflict matrix after
7054 reload has finished.
7056 Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
7058 * libgcc2.c (L_eh): Define __eh_pc.
7059 Replace __eh_type with generic pointer __eh_info.
7061 Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
7063 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
7064 use copy_to_reg if address is not a general_operand.
7066 Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7068 * profile.c (output_func_start_profiler): Clear flag_inline_functions
7069 for the duration of the call to rest_of_compilation.
7071 Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
7073 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
7075 (sparc*-*-*): Recognize --with-cpu=v9.
7076 * sparc/elf.h: New file.
7077 * sparc/t-elf: New file.
7079 Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
7081 * mn10300.c (const_8bit_operand): New function.
7082 (mask_ok_for_mem_btst): New funtion.
7083 * mn10300.md (btst patterns with mem operands): Use new functions
7084 to avoid creating btst instructions with invalid operands.
7086 Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
7088 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
7089 are running on PowerPC Linux.
7091 Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
7093 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
7094 if not previously defined.
7096 Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
7098 * function.c (assign_parms): Correct mode of stack_parm if
7099 entry_parm underwent a mode conversion.
7101 1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
7103 * global.c (global_alloc): Use xmalloc instead of alloca for
7104 CONFLICTS, since max_allocno * allocno_row_words alone can be more
7105 than 2.5Mb sometimes.
7107 Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
7109 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
7110 DEST for the spill, adjust mode of SRC to compensate.
7112 Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
7114 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
7115 since any_memory_operand() allows pseudos during reload.
7116 (reload_inhi, reload_outqi, reload_outhi): Likewise.
7118 Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
7120 * m68k.md (btst patterns): Add 5200 support.
7122 Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7124 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
7125 optimizations, look inside dividend to determine if the expression
7126 can be simplified by using EXACT_DIV_EXPR.
7128 Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
7131 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
7133 Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
7135 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
7137 Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
7139 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
7142 Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
7144 * alpha.md (movqi, movhi): Make sure new insns created during reload
7145 won't need reloading themselves.
7146 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
7148 Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
7150 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
7152 Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
7154 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
7155 Patch from Klaus Kaempf <kkaempf@progis.de>.
7157 Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
7159 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
7160 to an element in a constant string.
7162 Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
7164 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
7165 bit PC-relative offset. The exception range table pointer is now in
7167 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
7168 (count_fdes, add_fdes, get_cie): Adjust.
7169 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
7172 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
7174 Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
7176 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
7177 like stack_pointer_rtx.
7179 Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
7181 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
7182 targets using "$@" to provide support for similar but not identical
7183 targets without having to duplicate code.
7184 (bootstrap4): New goal.
7186 * Makefile.in (compare, compare-lean, compare3): Combined to one
7187 ruleset determining actions to be performed via $@.
7188 (compare4, compare4-lean): New targets.
7189 (gnucompare, gnucompare3): Combined to one ruleset determining
7190 actions to be performed via $@. Also, note which files failed
7191 the comparison test in .bad_compare.
7192 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
7194 Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7196 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
7197 if the dividend is a multiple of the divisor.
7199 Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
7201 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
7203 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
7206 * alias.c (true_dependence): Fix typo.
7208 * toplev.c (flag_rerun_loop_opt): New variable.
7209 (f_options): Handle -frerun-loop-opt.
7210 (rest_of_compilation): If -frerun-loop-opt, then run the loop
7212 (main): Enable -frerun-loop-opt by default for -O2 or greater.
7214 * loop.c (simplify_giv_expr): Adding two invariants results
7217 Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
7219 * expr.c (get_inner_reference): Remove the array bias after
7220 converting the index to Pmode.
7222 Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
7224 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
7225 (TARGET_MULT_BUG): Define.
7226 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
7227 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
7229 Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
7231 * mn10200.c (indirect_memory_operand): Delete unused function.
7232 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
7233 * mn10200.md (bset, bclr insns): Handle output in a reg too.
7235 Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
7237 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
7238 the callee's ldgp, we must do it ourselves, and we use the jsr tag
7239 for more than scheduling.
7241 Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
7243 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
7245 Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
7247 * mn10300.c (symbolic_operand, legitimize_address): New functions.
7248 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
7249 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
7251 Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
7253 * version.c: Bump for snapshot.
7255 Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7257 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
7260 Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
7262 * toplev.c (flag_exceptions): Default value is 2.
7263 (compile_file): If flag_exceptions still has the value 2, then
7266 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
7267 (rs6000_save_machine_status): Save pic_offset_table_rtx.
7268 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
7270 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
7273 * rs6000.md (*movsi_got_internal_mem): New pattern.
7274 (*movsi_got_internal_mem splitter): New define_split.
7276 Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
7278 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
7280 Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7282 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
7283 only need to save LR.
7285 Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
7287 * mn10300.md (movqi, movhi): Avoid using address registers as
7288 destinations unless absolutely necessary.
7290 * mn10200.c (expand_prologue): Fix typo.
7292 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
7294 * mn10200.md (neghi2): Provide an alternative which works if
7295 the input and output register are the same.
7297 * mn10300.c (print_operand): Handle 'S'.
7298 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
7299 shift amount in last alternative
7301 * mn10300.c (expand_epilogue): Rework to handle register restores
7302 in "ret" and "retf" instructions correctly.
7304 Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
7306 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
7307 extzv for memory operands.
7309 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
7310 redundant conditional moves to single operand.
7312 Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
7314 * v850.h: Move define of __v850__ from CPP_PREDEFINES
7317 * xm-v850.h: Use __v850 rather than __v850__ to
7320 Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
7322 * mips/mips.c (compute_frame_size): Not a leaf function if
7325 Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7327 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
7329 Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
7331 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
7332 (DEFAULT_ARCH32_P): New macro.
7333 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
7334 (enum cmodel): Declare.
7335 (sparc_cmodel_string,sparc_cmodel): Declare.
7336 (SPARC_DEFAULT_CMODEL): Provide default.
7337 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
7338 (TARGET_FULLANY): Deleted.
7339 (TARGET_CM_MEDMID): New macro.
7340 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
7341 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7342 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
7343 (CPP_SPEC): Rewrite.
7344 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7345 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
7346 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7347 (ASM_SPEC): Add %(asm_arch).
7348 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
7349 Rename asm_default to asm_cpu_default.
7350 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
7351 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
7352 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
7353 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
7354 (MASK_INT64,MASK_LONG64): Delete.
7355 (MASK_ARCH64): Renamed to MASK_64BIT.
7356 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
7357 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
7358 (TARGET_SWITCHES): Always provide 64 bit options.
7359 (ARCH64_SWITCHES): Delete.
7360 (TARGET_OPTIONS): New option -mcmodel=.
7361 (INT_TYPE_SIZE): Always 32.
7362 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
7363 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
7364 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
7365 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
7366 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
7368 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7369 * sparc/linux.h: Likewise.
7370 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
7371 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7372 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
7373 (SPARC_DEFAULT_CMODEL): Define.
7374 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7375 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7376 (LONG_DOUBLE_TYPE_SIZE): Define.
7377 (ASM_SPEC): Add %(asm_arch).
7378 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7379 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7380 (TARGET_CPU_DEFAULT): Add ultrasparc case.
7381 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
7382 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
7383 (SPARC_DEFAULT_CMODEL): Define.
7384 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
7385 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
7386 MASK_LONG64, MASK_MEDANY.
7387 (SPARC_DEFAULT_CMODEL): Define.
7388 (CPP_PREDEFINES): Delete.
7389 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7390 (ASM_SPEC): Add %(asm_arch).
7391 (LONG_DOUBLE_TYPE_SIZE): Define.
7392 (DWARF2_DEBUGGING_INFO): Define.
7393 * sparc/splet.h (CPP_SPEC): Delete.
7394 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7395 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
7396 (BLOCK_PROFILER): Likewise.
7397 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
7398 (sparc_override_options): Handle code model selection.
7399 (sparc_init_expanders): Renamed from sparc64_init_expanders.
7400 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
7401 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
7402 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
7403 (sethi_di_fullany): Delete.
7405 Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
7406 Jeff Law <law@cygnus.com>
7407 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7409 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
7410 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
7411 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
7412 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
7413 * alpha/alpha.md (arg_home): Likewise.
7415 * alpha/alpha.c (vmskrunch): Delete
7416 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
7417 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
7418 truncate to 64 characters.
7420 * make-l2.com: Support openVMS/Alpha.
7422 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
7424 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7426 * longlong.h (count_leading_zeros): Add missing casts to USItype.
7428 Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
7430 * i386/bsd386.h (ASM_COMMENT_START): Define.
7432 Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
7434 * tree.c (restore_tree_status): Also free up temporary storage
7435 when we finish a toplevel function.
7436 (dump_tree_statistics): Print stats for backend obstacks.
7438 Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
7440 * expr.c (use_group_regs): Don't call use_reg for MEMs.
7442 Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
7444 * libgcc2.c (__throw): Don't copy the return address.
7445 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
7447 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
7448 * toplev.c (main): Initialize exceptions_via_longjmp.
7450 * tree.c: Add extra_inline_obstacks.
7451 (save_tree_status): Use it.
7452 (restore_tree_status): If this is a toplevel inline obstack and we
7453 didn't want to save anything on it, recycle it.
7454 (print_inline_obstack_statistics): New fn.
7455 * function.c (pop_function_context_from): Pass context to
7456 restore_tree_status.
7457 * obstack.h (obstack_empty_p): New macro.
7459 Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
7461 * i386/freebsd.h (ASM_COMMENT_START): Fix.
7463 Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
7465 * v850.c (ep_memory_offset): New function.
7466 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
7468 * v850.h (CONST_OK_FOR_*): Add and correct comments.
7469 (CONSTANT_ADDRESS_P): Add comment.
7470 (EXTRA_CONSTRAINT): Define 'U'.
7471 * v850.md: Add comments on bit field instructions.
7472 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
7473 (lshrsi3): Use N not J constraint.
7475 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
7477 * v850.c (reg_or_0_operand): Call register_operand.
7478 (reg_or_int5_operand): Likewise.
7479 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
7480 (TARGET_SWITCHES): Add "big-switch".
7481 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
7482 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
7483 (CASE_DROPS_THROUGH): Comment out.
7484 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
7485 * v850.md (cmpsi): Delete compare mode.
7486 (casesi): New pattern.
7488 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
7489 * v850.md (ashlsi3): Use SImode not QImode for shift count.
7490 (lshrsi3): Likewise.
7492 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
7493 unreachable switch statement after 'b' support. Remove "b" from
7494 strings for 'b' support.
7495 * v850.md (branch_normal, branch_invert): Change %b to b%b.
7497 Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
7499 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
7500 empty line if @inhibit_libc@ is empty.
7502 Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
7504 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
7505 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
7506 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7507 (DWARF2_UNWIND_INFO): Let this track object file format.
7508 (EXTRA_SECTIONS): Add in_eh.
7509 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
7510 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7512 Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
7514 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
7515 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
7517 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
7518 (output_double_int): Output DI mode values correctly when
7519 HOST_BITS_PER_WIDE_INT is 64.
7520 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
7521 fmovd so it works if a quad float ends up in one of the upper 32
7523 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
7524 necessary for PIC support on sparc64.
7526 Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
7528 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
7529 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
7530 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
7531 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
7532 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
7533 (SPARC_FP_ARG_FIRST): New macro.
7534 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
7535 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
7536 (NPARM_REGS): There are 32 fp argument registers now.
7537 (FUNCTION_ARG_REGNO_P): Likewise.
7538 (FIRST_PARM_OFFSET): Update to new v9 abi.
7539 (REG_PARM_STACK_SPACE): Define for arch64.
7540 (enum sparc_arg_class): Delete.
7541 (sparc_arg_count,sparc_n_named_args): Delete.
7542 (struct sparc_args): Redefine and use for arch32 as well as arch64.
7543 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
7544 (FUNCTION_ARG_ADVANCE): Rewrite.
7545 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
7546 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
7547 (FUNCTION_ARG_CALLEE_COPIES): Delete.
7548 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
7549 (STRICT_ARGUMENT_NAMING): Define.
7550 (doublemove_string): Declare.
7551 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
7552 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
7553 (doublemove_string): New function.
7554 (output_move_quad): Clean up some of the arch64 support.
7555 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
7556 Don't add 8 bytes of reserved space if arch64.
7557 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
7558 (init_cumulative_args): New function.
7559 (function_arg_slotno): New static function.
7560 (function_arg,function_arg_partial_nregs): New functions.
7561 (function_arg_{pass_by_reference,advance}): New functions.
7562 (function_arg_padding): New function.
7563 * ginclude/va-sparc.h: Rewrite v9 support.
7565 Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
7567 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
7568 for hard regs to determine base and index registers.
7570 * reload.c (debug_reload_to_stream): New function. Specify stream
7571 into which to write debug info.
7572 (debug_reload): Modify to call debug_reload_to_stream with stderr.
7574 Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
7576 * combine.c (can_combine_p): Don't combine with an asm whose
7577 output is a hard register.
7579 Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
7581 * c-decl.c (start_struct): Ensure that structs with forward
7582 declarations are in fact packed when -fpack-struct is given.
7584 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
7585 we are packing a structure. This allows a structure with only
7586 bytes to be aligned on a byte boundary and have no padding on a
7589 Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7591 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
7593 Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
7595 * alpha.c (alpha_return_addr_rtx): New variable.
7596 (alpha_save_machine_status): New; save it.
7597 (alpha_restore_machine_status): New; restore it.
7598 (alpha_init_expanders): New; clear it.
7599 (alpha_return_addr): New; set it.
7600 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
7601 is overly conservative, so search the insns explicitly.
7602 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
7603 (alpha_sa_size [VMS && !VMS]): Likewise.
7604 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
7605 (INIT_EXPANDERS): New definition.
7607 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
7608 (output_prolog [!VMS]): Use them.
7610 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
7611 (alpha_does_function_need_gp): ... a new function. Refine the
7612 CALL_INSN test to just TYPE_JSR.
7613 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
7615 Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
7617 * version.c: Bump for snapshot.
7619 Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7621 * pa.c (move_operand): Respect -mdisable-indexing.
7622 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
7624 Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
7626 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
7628 (umulsidi3,umulsi3_highpart): Ditto.
7629 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
7631 Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
7633 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
7634 (alpha_handle_trap_shadows): ... a new function. Handle the entire
7635 function in one go. Emit RTL for trapb, instead of printf directly.
7636 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
7637 (trap_pending): Kill global variable.
7638 (output_epilog): Don't call final_prescan_insn.
7639 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
7640 * alpha.h (FINAL_PRESCAN_INSN): Remove.
7641 (MACHINE_DEPENENT_REORG): Define.
7642 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
7645 Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
7647 Tune Haifa scheduler for Alpha:
7648 * alpha.h (ISSUE_RATE): Define.
7649 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
7650 EV4 adjustments to EV5.
7651 * alpha.md: Remove all scaling from function unit delays. Rework
7652 EV5 function units to match the CPU.
7653 (umuldi3_highpart): EV5 added the IMULH insn class.
7655 Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
7657 * pa.c (following_call): Fail if the CALL_INSN is an indirect
7660 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
7662 * cplus-dem.c (demangle_signature): Don't look for return types on
7663 constructors. Handle member template constructors.
7665 Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
7667 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
7668 * tree.h: Declare them.
7670 Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
7672 * configure.in: Handle --with-newlib.
7673 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
7675 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
7677 Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
7679 * config/ptx4.h: Fix typo.
7681 Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
7683 * version.c: Bump for snapshot.
7685 Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
7687 * aclocal.m4: Substitute INSTALL.
7688 * configure: Re-built.
7690 Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
7692 * integrate.c (save_for_inline_copying): Avoid undefined pointer
7694 (expand_inline_function): Likewise.
7696 * dwarf2out.c (output_call_frame_info): Reinstate last change
7697 using flag_debug_asm check instead of flag_verbose_asm.
7699 Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
7701 * dwarf2out.c (output_call_frame_info): Remove last change.
7703 1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7705 * frame.c (__frame_state_for): Execute the FDE insns until the
7706 current pc value is strictly bigger than the target pc value.
7708 Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
7710 * regclass.c (init_reg_modes): If we can't find a mode for the
7711 register, use the previous one.
7713 Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
7715 * haifa-sched.c (print_block_visualization): Call fprintf directly,
7716 don't sprintf through an alloca'ed buffer.
7718 Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
7720 * reload.c (decompose): Always initialize val.base.
7722 Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7724 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
7725 instead of aborting.
7726 * dwarf2out.c (output_call_frame_info): Call app_enable and
7727 app_disable to let GNU as accept the generated comments.
7729 Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
7731 * tree.h (get_file_function_name): Add declaration.
7732 * dwarf2out.c (output_call_frame_info): No need to cast
7733 get_file_function_name call anymore.
7734 * profile.c (toplevel): Remove get_file_function_name
7736 * c-lang.c (finish_file): Ditto.
7738 Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
7740 * Makefile.in (program_transform_name): Let autoconf substitute
7743 Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
7745 * haifa-sched.c (schedule_block): If the first real insn in a
7746 block has any special notes attached to it, remove them.
7748 Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
7750 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
7752 Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7754 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
7756 Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
7758 * Makefile.in (check-g77): New test target.
7759 (CHECK-TARGETS): Add check-g77.
7761 Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
7763 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
7765 Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
7767 * flow.c (print_rtl_with_bb): Cast alloca return value for
7770 Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
7772 * i386.h (RETURN_ADDR_RTX): New definition that works for
7773 __builtin_return_address(0) and -fomit-frame-pointer.
7775 Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
7777 Bring over from FSF.
7778 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
7780 * mips.c (function_arg): Handle passing a struct
7781 containing a double in a DFmode register without the PARALLEL.
7783 Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
7785 * pexecute.c: Use spawn if __CYGWIN32__.
7787 * pexecute.c: Include "config.h" first, as per autoconf manual
7788 (from Paul Eggert <eggert@twinsun.com>).
7790 Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7792 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
7793 optimisation for f/expr.o and f/stb.o.
7795 Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
7797 * cse.c (this_insn_cc0_mode): Initialize.
7799 Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
7801 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
7803 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
7805 Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
7807 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
7808 that pair will dual-issue on the 21164 and plus+beq won't.
7809 (bne): Likewise for cmpeq+beq.
7811 Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
7813 * except.c (find_exception_handler_labels): Correct argument to free.
7815 Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
7817 * except.c (find_exception_handler_labels): Free LABELS when we're
7820 Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
7822 * version.c: Bump for snapshot.
7824 Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
7826 * flow.c (find_basic_blocks): Mark calls as potentially jumping
7829 Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
7831 * configure.in: Substitute for "install" too.
7832 * configure: Rebuilt.
7834 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
7836 * Makefile.in (bootstrap-lean, compare-lean): New targets.
7838 Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
7840 * alias.c (base_alias_check): Two symbols can conflict if they
7841 are accessed via AND.
7842 (memrefs_conflict_p): Likewise.
7844 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
7845 after flushing argument registers to the stack.
7847 * Makefile.in (mostlyclean): Remove .regmove files.
7849 Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
7851 * libgcc2.c (__throw): Fix thinko.
7853 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
7855 * cplus-dem.c (demangle_template): Add new parameter. Handle new
7856 template-function mangling.
7857 (consume_count_with_underscores): New function.
7858 (demangle_signature): Handle new name-mangling scheme.
7860 Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7862 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
7865 Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
7867 * frame.c: Remove last change.
7868 * dwarf2.h: Remove last change.
7869 * tree.h: Add declarations of DWARF2 unwind info support
7872 Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
7874 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
7875 * tree.h (built_in_function): Likewise.
7876 * expr.c (expand_builtin): Likewise.
7877 * except.h: Likewise.
7878 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
7879 * libgcc2.c (copy_reg): New fn.
7882 Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
7884 * c-typeck.c (build_binary_op): Warn about comparing signed vs
7885 unsigned if -W is specified and -Wno-sign-compare is not.
7886 * c-decl.c (warn_sign_compare): Initialize to -1.
7887 (c_decode_option): -Wall no longer implies -Wsign-compare.
7889 Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7891 * frame.c: Include gansidecl.h for PROTO.
7892 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
7893 defined. Don't declare dwarf2out_cfi_label here.
7894 * dwarf2.h: Add declarations of DWARF2 unwind info support
7896 * m68k.c: Include dwarf2.h.
7897 (output_function_prologue): Add dwarf2 support.
7898 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
7899 (INCOMING_FRAME_SP_OFFSET): Likewise.
7901 * integrate.c (expand_inline_function): Make sure there is at
7902 least one insn that can be used as an insertion point.
7904 Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
7906 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
7908 Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
7910 * version.c: Bump for snapshot.
7912 Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
7914 Bring over from FSF.
7916 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
7918 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
7919 (get_pc_via_rdpc): Renamed from get_pc_sp64.
7920 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
7922 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
7924 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
7925 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
7927 (sparc_align_{loops,jumps,funcs}_string): Declare.
7928 (sparc_align_{loops,jumps,funcs}): Declare.
7929 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
7930 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
7931 (STACK_BIAS): Define.
7932 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
7934 (SPARC_SETHI_P): New macro.
7935 (CONST_OK_FOR_LETTER_P): Use it.
7936 (ASM_OUTPUT_ALIGN_CODE): Define.
7937 (ASM_OUTPUT_LOOP_ALIGN): Define.
7938 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
7939 (sparc_align_{loops,jumps,funcs}): New globals.
7940 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
7942 (move_operand): Use SPARC_SETHI_P.
7943 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
7945 (arith11_double_operand): Likewise.
7946 (arith10_double_operand): Likewise.
7947 (finalize_pic): Finish sparc64 support.
7948 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
7949 64 bit constants if able.
7950 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
7951 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
7953 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
7954 (get_pc_sp32): Use for sparc64 as well.
7955 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
7956 (sethi_di_sp64_const): Likewise.
7957 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
7958 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
7959 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
7961 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
7963 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
7964 * sparc/linux.h (COMMENT_BEGIN): Likewise.
7965 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
7967 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
7969 Add sparc64 linux support.
7970 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
7971 to xm_file list on 32-bit sparc-linux.
7972 * sparc/xm-sp64.h: New file.
7973 * sparc/linux64.h: New file.
7974 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
7975 Don't include xm-sparc.h.
7976 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
7977 * glimits.h (LONG_MAX): Handle sparc64.
7979 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
7981 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
7982 * sparc.h (ASM_COMMENT_START): Define.
7983 * sparc.c (output_function_prologue): Use it.
7984 (sparc_flat_output_function_{epi,pro}logue): Likewise.
7986 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
7988 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
7989 use sparc.h's copies.
7990 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
7993 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7995 * sparc.c (dwarf2out_cfi_label): Add declaration.
7996 (save_regs, output_function_prologue): Remove cast for it.
7997 (sparc_flat_{save_restore,output_function_prologue): Likewise.
7998 ({save,restore}_regs): No longer inline.
8000 Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8002 * fold-const.c (make_range): Correctly handle cases of converting
8003 from unsigned to signed type.
8005 Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8007 * fold-const.c (merge_ranges): Make sure that if one range is subset
8008 of another, it will always be the second range. Correct (+,-) case to
8011 Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
8013 * final.c (final_end_function): Also do dwarf2 thing if
8014 DWARF2_DEBUGGING_INFO.
8015 (final_start_function): Likewise.
8017 Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
8019 * expmed.c (expand_divmod): If compute_mode is not the same as
8020 mode, handle the case where convert_modes() causes op1 to no
8021 longer be a CONST_INT.
8023 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
8024 note holding get_jump_flags() calculation to all JUMP_INSNs.
8025 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
8026 * rtl.c (reg_note_name): Add new note types.
8028 Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
8030 * rtlanal.c (computed_jump_p): Fix typo in last change.
8032 Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8034 * loop.c (indirect_jump_in_function_p): Return 0
8037 Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
8039 * rs6000/xm-rs6000.h: Fix thinko in last change.
8040 * rs6000/xm-sysv4.h: Likewise.
8042 Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
8044 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
8046 Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
8048 * reg-stack.c (find_blocks): Fix thinko in last change.
8050 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8052 * m68k.c (output_function_prologue): Add dwarf2 support.
8054 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
8055 INCOMING_FRAME_SP_OFFSET): New definitions.
8057 Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
8059 * combine.c (try_combine): Use NULL_RTX instead of '0' where
8060 appropriate in calls to gen_rtx().
8061 * cse.c (cse_main): Likewise.
8062 * emit-rtl.c (gen_label_rtx): Likewise.
8063 * expr.c (init_expr_once): Likewise.
8064 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
8065 sched_analyze, init_rgn_data_dependences,
8066 compute_block_backward_dependences): Likewise.
8067 * sched.c (schedule_insns): Likewise.
8068 * varasm.c (immed_double_const): Likewise.
8070 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
8071 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
8073 Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
8075 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
8076 (MULTILIB_DEFAULTS): Define.
8077 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
8078 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
8079 (LIBGCC_SPEC): Likewise.
8080 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
8081 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
8082 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
8083 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
8084 (EXTRA_PARTS, TAROUTOPTS): Delete.
8085 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
8086 (MULTILIB_OPTIONS): Define.
8087 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
8088 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
8090 Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
8092 * version.c: Bump for snapshot.
8094 Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
8096 * loop.c (loop_number): Delete function. Change all references
8097 to use uid_loop_num array.
8098 * loop.h (loop_number): Delete declaration.
8099 * unroll.c (unroll_loop): Change "loop_number" references to
8100 use uid_loop_num instead.
8102 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
8104 (loop_unroll_iter): Remove unused variable and all references.
8105 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
8106 (insert_bct): Fix minor formatting problems.
8107 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
8108 (loop_unroll_iter): Removed unused decl.
8109 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
8110 Always record the unrolling factor.
8112 * cse.c (simplify_relational_operation): Set h0u just like h0s.
8113 Similarly for h1u and h1s.
8115 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
8116 (find_basic_blocks): Use computed_jump_p to determine if a
8117 particular JUMP_INSN is a computed jump.
8118 * reg-stack.c (find_blocks): Use computed_jump_p to determine
8119 if a particular JUMP_INSN is a computed jump.
8120 * rtlanal.c (jmp_uses_reg_or_mem): New function.
8121 (computed_jump_p): Likewise.
8122 * rtl.h (computed_jump_p): Declare.
8123 * genattrtab.c (pc_rtx): Define and initialize.
8124 * loop.c (loop_optimize): Always determine if the current
8125 function has a computed jump.
8126 (indirect_jump_in_function_p): Use computed_jump_p to determine
8127 if a particular JUMP_INSN is a computed jump.
8129 * loop.c (fix_bct_param): Delete unused function.
8130 (check_bct_param): Likewise.
8132 Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
8134 * frame.c (__deregister_frame): Check properly for initialized object.
8136 Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8138 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
8140 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8142 * jump.c (thread_jumps): check can_reverse_comparison_p before
8143 threading a reversed-condition jump.
8145 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
8146 * haifa-sched.c (update_flow_info): Likewise.
8148 Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
8150 * Makefile.in (BOOT_CFLAGS): Use -O2.
8152 * configure.in (strtoul, bsearch): Have autoconf check for these
8154 * configure, config.in: Rebuilt.
8156 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
8157 * mips/mips.h (alloca): Likewise.
8158 * rs6000/xm-rs6000.h (alloca): Likewise.
8159 * rs6000/xm-sysv4.h: Likewise.
8161 Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
8163 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
8164 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
8165 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
8167 * except.c (end_eh_unwinder): Subtract 1 from return address.
8168 * libgcc2.c (__throw): Likewise.
8169 (find_exception_handler): Don't change PC here. Compare end with >.
8171 Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
8173 * v850.c (compute_register_save_size): Correct register
8175 * v850.md (save_interrupt, return_interrupt): Correct
8177 * v850/lib1funcs.asm (save_interrupt): Correct register number.
8178 (return_interrupt): Use stack pointer, not element pointer.
8180 1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
8182 * configure.in, configure: Make sure to create the stage* and include
8183 symbolic links in each subdirectory.
8185 Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
8187 * pa.md (reload_peepholes): Don't allow addresses with side
8188 effects for the memory operand.
8190 Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
8192 * libgcc2.c (find_exception_handler): Subtract one from our PC when
8193 looking for a handler, to avoid hitting the beginning of the next
8196 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
8198 Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
8200 * mips/abi64.h (LONG_MAX_SPEC): Define.
8201 * mips.h (LONG_MAX_SPEC): Define.
8202 (CPP_SPEC): Include long_max_spec.
8203 (EXTRA_SPECS): Include long_max_spec.
8205 Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
8207 * v850.c (construct_save_jarl): Fix thinko in last change.
8209 Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
8211 * version.c: Bump for snapshot.
8213 Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
8215 * libgcc2.c (find_exception_handler): Not found is -1.
8217 * integrate.c (expand_inline_function): Move expand_start_bindings
8218 after expanding the arguments.
8220 Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
8222 * expr.c (expand_expr): Remove previous incorrect change.
8223 If target and slot has no DECL_RTL, then call mark_addressable
8224 again for the slot after we give it RTL.
8226 Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
8228 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
8229 again for the slot after we give it RTL.
8231 Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
8233 * v850.c (register_is_ok_for_epilogue,
8234 pattern_is_ok_for_epilogue, construct_restore_jr,
8235 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
8237 * v850.h (pattern_is_ok_for_prologue,
8238 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
8241 * v850.md: Replace prologue and epilogue patterns with a
8242 match_parallel pattern.
8244 Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
8246 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
8247 * configure.in: Use EGCS_PROG_INSTALL.
8249 Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
8251 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
8252 extern inline function.
8254 Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
8256 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
8257 (concat_loc_descriptor): New function.
8258 (loc_descriptor): Call it.
8259 (add_AT_location_description): Also elide the descriptor if both
8260 halves of a CONCAT are pseudos.
8261 (add_location_or_const_value_attribute): Recognize CONCAT too.
8263 Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
8265 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
8267 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
8268 out-or-range reg_offset.
8269 (output_epilog): Likewise.
8271 Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
8273 * cse.c (simplify_relational_operation): If MODE specifies a
8274 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
8275 is derived from the sign bit of the low word.
8277 Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8279 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
8281 * dwarf2.h: Add DW_CFA_GNU_args_size.
8282 * frame.c (execute_cfa_insn): Likewise.
8283 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
8284 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
8285 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
8286 insn, hand it off to dwarf2out_stack_adjust.
8287 (dwarf2out_begin_prologue): Initialize args_size.
8288 * frame.h (struct frame_state): Add args_size.
8289 * libgcc2.c (__throw): Use args_size.
8290 * final.c (final_scan_insn): If we push args, hand off all insns
8291 to dwarf2out_frame_debug.
8292 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
8294 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
8295 Handle epilogue restore of SP from FP.
8296 * emit-rtl.c (gen_sequence): Still generate a sequence if the
8297 lone insn has RTX_FRAME_RELATED_P set.
8299 * frame.c (extract_cie_info): Handle "e" augmentation.
8300 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
8301 absence of UNALIGNED_*_ASM_OP.
8302 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
8303 (output_call_frame_info): Use "e" instead of "z" for augmentation.
8304 Don't emit augmentation fields length.
8305 (dwarf2out_do_frame): Move outside of #ifdefs.
8306 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
8309 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
8310 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
8311 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
8312 * sparc/sun4gas.h: New file.
8313 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
8315 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
8316 __register_frame_table and __deregister_frame.
8318 1997-09-15 Brendan Kehoe <brendan@cygnus.com>
8320 * except.c (find_exception_handler_labels): Use xmalloc instead of
8321 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
8324 Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
8326 * Makefile.in: Various changes to build info files
8327 in the object tree rather than the source tree.
8329 Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
8331 * fixinc.math: New file to fix math.h on some systems.
8332 * configure.in (freebsd, netbsd): Use fixinc.math on these
8334 * configure: Rebuilt.
8336 Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
8338 * regmove.c (regmove_optimize): If we end up moving the
8339 original insn due to lifetime overlaps, make sure to move
8342 Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
8344 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
8346 Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
8348 * haifa-sched.c (add_branch_dependences): Make each insn in
8349 a SCHED_GROUP_P block explicitly depend on the previous insn.
8351 Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8353 * except.h: Prototype dwarf2 hooks.
8356 Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
8358 * configure.in (native_prefix): Delete.
8359 (mips-dec-netbsd): Don't set prefix.
8360 (*linux*): Don't set prefix.
8362 Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
8364 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
8365 defined. If not defined, include <sys/varargs.h> if
8366 HAVE_SYS_VARARGS_H is defined.
8367 * configure.in: Test for varargs.h and sys/varargs.h.
8368 * configure: Regenerate with autoconf.
8369 * config.in: Regenerate with autoheader.
8371 * cpplib.c (quote_string): Cast first arg of sprintf call
8372 from "unsigned char *" to "char *".
8373 (output_line_command): Ditto.
8374 (macroexpand): Ditto.
8375 (do_line): Cast atoi arg from "unsigned char *" to "char *".
8377 Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
8379 * version.c: Bump for snapshot.
8381 * Makefile.in (compare): Exit with nonzero status if there
8382 are comparison failures. Note which files failed the
8383 comparison test in .bad_compare.
8385 Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8387 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
8389 Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
8391 * Makefile.in (LN, LN_S): New macros, use where appropriate.
8392 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
8393 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
8394 * configure: Regenerated.
8396 Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
8398 * loop.c (strength_reduce): Fix typo.
8400 Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
8402 * m88k/m88k.c (struct option): Rename to struct options.
8403 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
8404 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
8405 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
8406 __DOLPHIN__ or sysV88.
8408 Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
8410 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
8413 Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
8415 * config.sub: Accept 'amigados' for backward compatability.
8417 Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8419 * Makefile.in (testsuite/site.exp): New target.
8420 (check-gcc, check-g++): Depend on testsuite/site.exp.
8421 Don't stop for failure.
8423 Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
8425 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
8426 if DWARF2_UNWIND_INFO.
8428 Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
8430 Add support for exception handling using DWARF 2 frame unwind info.
8431 Currently works on SPARC and MIPS, and almost on x86.
8433 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
8434 next_stack_level, in_reg_window): Helper fns.
8435 (__throw): Implement for DWARF2_UNWIND_INFO.
8437 * expr.c (expand_builtin): Handle builtins used by __throw.
8438 * tree.h (enum built_in_function): Add builtins used by __throw.
8439 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
8440 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
8441 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
8442 (expand_builtin_extract_return_addr): Likewise.
8443 (expand_builtin_frob_return_addr): Likewise.
8444 (expand_builtin_set_return_addr_reg): Likewise.
8445 (expand_builtin_eh_stub): Likewise.
8446 (expand_builtin_set_eh_regs): Likewise.
8447 (eh_regs): Choose two call-clobbered registers for passing back values.
8449 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
8450 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
8451 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
8452 (stmp-multilib): Likewise.
8453 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
8455 * except.c: #include "defaults.h".
8456 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
8457 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
8458 (register_exception_table_p): New fn.
8459 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
8460 (end_eh_unwinder): Likewise.
8462 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
8463 call __register_frame and __deregister_frame as needed.
8464 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
8465 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
8466 EH_FRAME_SECTION_ASM_OP.
8467 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
8468 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
8469 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
8471 * dwarf2out.c (output_call_frame_info): If no support for
8472 EXCEPTION_SECTION, mark the start of the frame info with a
8474 * collect2.c (frame_tables): New list.
8475 (is_ctor_dtor): Recognise frame entries.
8476 (scan_prog_file): Likewise.
8477 (main): Pass -fno-exceptions to sub-compile. Also do collection
8478 if there are any frame entries.
8479 (write_c_file_stat): Call __register_frame_table and
8480 __deregister_frame as needed.
8481 (write_c_file_glob): Likewise.
8483 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
8484 Also require unaligned reloc support.
8485 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8486 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
8487 * sparc/sysv4.h: Not here.
8489 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
8490 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
8491 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
8493 * libgcc2.c (L_eh): Reorganize, moving code shared by different
8494 EH implementations to the top.
8495 (find_exception_handler): Split out. Start from 0. Compare against
8497 (__find_first_exception_table_match): Use it.
8498 * except.c (output_exception_table): Don't do anything if there's
8499 no table. Don't output a first entry of zeroes.
8500 (eh_outer_context): Adjust properly.
8501 (add_eh_table_entry): Use xrealloc.
8502 * toplev.c (compile_file): Just call output_exception_table.
8504 Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
8506 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
8508 Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
8510 * except.c (eh_outer_context): Do masking using expand_and.
8512 Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
8514 Add port done awhile ago for the ARC cpu.
8515 * arc/arc.h: New file.
8516 * arc/arc.c: New file.
8517 * arc/arc.md: New file.
8518 * arc/initfini.c: New file.
8519 * arc/lib1funcs.asm: New file.
8520 * arc/t-arc: New file.
8521 * arc/xm-arc.h: New file.
8522 * ginclude/va-arc.h: New file.
8523 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
8524 * ginclude/varargs.h: Likewise.
8525 * Makefile.in (USER_H): Add va-arc.h.
8526 * configure.in (arc-*-elf*): Recognize.
8527 * longlong.h: Add ARC support.
8529 Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
8531 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
8532 when clearing non-BLKmode data.
8534 Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
8536 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
8537 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
8539 * xm-m88k.h (USG): Only define if it hasn't already been defined.
8541 * Makefile.in (risky-stage1): Delete gratutious whitespace.
8543 * Makefile.in (clean): Delete libgcc1-test.
8545 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
8547 Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
8549 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
8552 Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8554 * dwarf2out.c (output_call_frame_info): Call named_section.
8556 Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
8558 * haifa-sched.c (print_value): Fix last change.
8560 Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
8562 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
8565 Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
8567 * mips.c (function_prologue): Set up the CFA when ABI_32.
8569 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
8570 for dwarf2 unwind info.
8571 (output_function_prologue, sparc_flat_output_function_prologue): Same.
8573 * final.c (final_end_function): Check dwarf2out_do_frame instead
8574 of DWARF2_DEBUG for dwarf2 unwind info.
8575 (final_scan_insn): Likewise.
8576 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
8579 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
8582 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
8584 Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
8586 * v850.h (ASM_SPEC): Pass on target processor.
8587 (CPP_PREDEFINES): Only define if not already specified.
8588 (TARGET_VERSION): Only define if not already specified.
8589 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
8591 (EXTRA_SWITCHES): Extra entries in the switches array.
8592 (TARGET_DEFAULT): Set default target processor.
8594 Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
8596 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
8597 cases, add %# and %/, and add : to make them into extended asms.
8599 Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
8601 * alias.c (init_alias_analysis): Clean up incompatible pointer
8602 type warning in bzero.
8603 * regmove.c (regmove_optimize): Ditto.
8604 * haifa-sched.c (find_rgns): Ditto.
8606 * haifa-sched.c (print_value): Clean up ptr->int cast
8609 Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
8611 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
8612 * install.texi (Configurations): Ditto.
8613 * config.sub: Ditto.
8615 Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
8617 * Makefile.in (sdbout.o): Depend on insn-config.h.
8619 Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
8621 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
8622 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
8624 Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
8626 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
8627 prologue insn, only the first elt is significant.
8628 (output_call_frame_info): For exception handling, always use 4-byte
8629 fields as specified by the dwarf2 spec.
8630 Don't skip trivial FDEs.
8632 Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
8634 * version.c: Bump for snapshot.
8636 Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
8638 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
8639 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
8642 Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
8644 * final.c (shorten_branches): During first pass, assume worst
8645 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
8647 * Makefile.in (distclean): Remove various things left around
8648 by running the testsuite.
8650 Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
8652 * configure.in (out_file): Emit definition to config.status in order
8653 to have a defined value for configure.lang.
8654 * configure: Re-built.
8656 Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
8658 * configure.in: Make symlink to as-new rather than as.new. Similarly
8660 * configure: Rebuilt.
8662 Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
8664 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
8666 Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
8668 * sparc/sparc.md: Add ultrasparc scheduling support.
8669 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
8671 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8673 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
8674 as initial value for real_label_map.
8675 (copy_for_inline): Likewise.
8677 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8679 * sched.c (update_flow_info) When looking if to set found_split_dest
8680 or found_orig_dest, look at all parts of a PARALLEL.
8681 * haifa-sched.c (update_flow_info): Likewise.
8683 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
8685 * v850: New directory for v850 port.
8686 * v850/lib1funcs.asm: New file.
8687 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
8688 * ginclude/va-v850.h: New file.
8689 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
8690 * configure.in (mn10200-*-*): New target.
8691 * configure: Rebuilt.
8692 * config.sub: Handle v850-elf.
8693 * Makefile.in (USER_H): Add va-mn10200.h.
8694 * invoke.texi: Document v850 stuff.
8696 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
8698 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
8699 has integer TYPE_{MAX,MIN}_VALUE before using them.
8701 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
8702 __HPUX_ASM__ versions.
8704 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
8706 * install.sh: Delete duplicate install script.
8708 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
8710 * reg-stack.c (subst_stack_regs): Pop the stack register for a
8711 computed goto which sets the same stack register.
8713 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
8714 destination are both on the regstack.
8715 (subst_stack_regs_pat): Put the destination at the top of the regstack.
8717 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
8719 * mips.md (nonlocal_goto_receiver): Define.
8721 * profile.c (output_arc_profiler): Check next_insert_after for non
8722 NULL before deferencing it.
8724 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
8726 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
8728 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
8730 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
8732 * toplev.c (rest_of_compilation): For passes starting with
8733 flow_analysis, use print_rtl_with_bb instead of print_rtl.
8735 * print-rtl.c (print_rtl_single): Print a single rtl value to a
8738 * flow.c (print_rtl_with_bb): Print which insns start and end
8739 basic blocks. For the start of a basic block, also print the live
8742 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
8744 * toplev.c (main): Change #elif to #else/#ifdef
8746 * tlink.c: Include ctype.h.
8747 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
8749 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
8751 * bitmap.c: Conditionally include stdlib.h.
8752 (free): Provide a declaration if NEED_DECLARATION_FREE.
8754 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
8756 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
8758 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
8760 * profile.c (output_arc_profiler): Verify next_insert_after is an
8761 INSN before and after skipping a stack pop.
8763 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8765 * final.c (shorten_branches): Don't count the lengths of deleted
8768 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
8770 * version.c: Bump for snapshot.
8772 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
8774 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
8775 two bitmaps ANDed together.
8776 (bitmap_print): Declare.
8778 * bitmap.c (function_obstack): Don't declare any more.
8779 (bitmap_obstack): Obstack for allocating links from.
8780 (bitmap_obstack_init): New static to say whether to initialize
8782 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
8783 (bitmap_release_memory): Free all memory allocated from
8786 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
8787 EXECUTE_IF_AND_IN_BITMAP.
8789 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
8791 * alias.c (true_dependence): Address with AND can alias scalars.
8792 (anti_dependence, output_dependence): Likewise.
8794 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
8796 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
8798 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
8799 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
8800 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
8801 definitions. Use -qrtems instead of -mrtems.
8803 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
8805 * xm-sco5.h (sys_siglist): Define.
8806 (SYS_SIGLIST_DECLARED): Likewise.
8808 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
8810 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
8812 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
8814 * except.c (eh_outer_context): Expand masking operation using
8817 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
8819 * alpha.md (floatdisf2-1): New pattern.
8821 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
8823 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
8824 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
8825 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
8826 * gcc.texi: Note that if you define sys_siglist that you should
8827 also define SYS_SIGLIST_DECLARED.
8829 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
8830 are relative to the next instruction, not the current instruction.
8832 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
8834 * local-alloc.c (contains_replace_regs): New function.
8835 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
8836 verify that there is no existing REG_EQUIV note, and add a call to
8837 contains_place_regs.
8839 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8841 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
8842 (STARTFILE_SPEC): Always use crtbegin.o%s
8843 (ENDFILE_SPEC): Always use crtend.o%s.
8845 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
8847 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
8849 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
8850 SFmode for 64 bit hosts.
8852 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
8854 * fixincludes: Permits spaces between # and define. Discard C++
8855 comments in sys/pci.h on HP/UX 10.20.
8857 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
8859 * version.c: Bump for snapshot.
8861 * pa.c (restore_unscaled_index_insn_codes): New function.
8862 (record_unscaled_index_insn_codes): Likewise.
8863 (output_function_prologue): Call restore_unscaled_index_insn_codes.
8864 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
8865 (pa_reorg): Call record_unscaled_index_insn_codes.
8867 * haifa-sched.c (move_insn): Handle notes correctly for insns
8868 with SCHED_GROUP_P set.
8870 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8872 * alpha/xm-linux.h (USE_BFD): Undef before define.
8874 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
8876 * cse.c (cse_insn): Don't record BLKmode values.
8878 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
8880 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
8882 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
8884 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
8885 * collect2.c (sys_errlist): Likewise.
8886 * cpplib.c (sys_errlist): Likewise.
8887 * gcc.c (sys_errlist): Likewise.
8888 * protoize (sys_errlist): Likewise.
8889 * configure.in: Check for strerror.
8890 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
8891 * xm-gnu.h (HAVE_STRERROR): Likewise.
8892 * xm-linux.h (HAVE_STRERROR): Likewise.
8893 * xm-netbsd.h (HAVE_STRERROR): Likewise.
8894 * xm-bsd386.h (HAVE_STRERROR): Likewise.
8895 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
8896 * xm-dos.h (HAVE_STRERROR): Likewise.
8897 * xm-mingw32.h (HAVE_STRERROR): Likewise.
8898 * xm-pa.h (HAVE_STRERROR): Likewise.
8899 * xm-papro.h (HAVE_STRERROR): Likewise.
8900 * xm-sysv4.h (HAVE_STRERROR): Likewise.
8901 * configure, config.in: Rebuilt.
8903 * Makefile.in: Add several missing "else true" clauses.
8905 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
8906 * mips-tfile.c: Likewise.
8907 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
8908 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
8909 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
8910 * configure.in: Check for sys_siglist declaration.
8911 * configure, config.in: Rebuilt.
8913 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
8915 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
8916 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
8917 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
8918 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
8919 * rs6000/sysv4.h (extra_subtarget_switches): Added new
8920 macro EXTRA_SUBTARGET_SWITCHES.
8921 * configure.in (sh*-*-rtems*): New target.
8922 * sh/rtems.h: New file.
8923 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
8924 * configure: Rebuilt.
8926 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
8928 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
8930 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
8932 * rs6000.md: Make DF fused-add operations pay attention to
8935 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
8937 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
8939 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
8941 * pa.md (reload_peepholes): Make sure operand is a REG before
8942 examining REGNO. Allow general registers too.
8944 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
8946 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
8948 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
8950 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
8951 to reallocate abbrev_die_table.
8953 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
8955 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
8957 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8959 * Makefile.in (config.status): Depend on version.c
8961 * expr.h (insn_gen_function): Reenable prototype.
8963 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
8966 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
8968 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
8970 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
8972 * version.c: Bump for latest snapshot.
8974 * bc-optab.c: Conditionally include stdlib.h.
8975 (free): Provide a declaration if NEED_DECLARATION_FREE.
8976 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
8977 * rtl.h (free): Remove declaration.
8978 * tree.h (free): Remvoe declaration.
8980 * configure: Rebuilt.
8982 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
8984 * flags.h (flag_move_all_movables): Declare.
8985 (flag_reduce_all_givs): Likewise.
8986 * loop.c (move_movables): Handle flag_move_all_movables.
8987 (strength_reduce): Handle flag_reduce_all_givs.
8988 * toplev.c (flag_move_all_movables): Define.
8989 (flag_reduce_all_givs): Likewise.
8990 (f_options): Add -fmove-all-movables and -freduce-all-givs.
8991 * invoke.texi: Document new options, including alias stuff that
8992 wasn't included last time.
8994 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
8996 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
8999 * t-vxworks68: Ditto.
9000 * t-vxworks960: Ditto.
9003 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
9005 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
9006 if not already defined, and USE_C_ALLOCA not defined.
9008 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
9010 * config.guess: Replace with script that uses ../config.guess.
9012 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
9013 if USE_GNULIBC_1 is not defined.
9015 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
9017 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
9018 * config.guess: Recognize alpha-linux-gnulibc1.
9019 * configure.in (alpha-*-linux-gnulibc1): New target.
9020 (alpha-*-linux-gnu*): Don't build crtbegin/end.
9022 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
9024 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
9027 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
9029 * loop.c (combine_movables): Earlier insns don't match later ones.
9031 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9033 * config/linux.h (CC1_SPEC): Define it only if not defined.
9035 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
9038 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
9039 USE_GNULIBC_1 is not defined.
9041 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
9043 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
9044 as 1 if USE_GNULIBC_1 is not defined.
9046 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
9048 * reorg.c (dbr_schedule): Allow current_function_return_rtx
9049 to be something other than a REG.
9050 * function.c (expand_function_end): Fix current_function_return_rtx
9053 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
9054 * x-netbsd: Likewise
9055 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
9056 (INSTALL_HEADERS): Delete.
9057 * x-dguxbcs: Likewise.
9058 * x-hp3bsd44: Likewise
9061 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9063 * i386.md (pop): pop increments the stack pointer.
9064 (prologue_set_stack_ptr): New pattern.
9065 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
9068 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
9070 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
9071 address where an offsettable address is required.
9073 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
9075 * loop.c (check_final_value): Don't miss a biv increment in a
9078 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
9080 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
9081 TYPE_DECL_IS_STUB instead of DECL_NAME.
9083 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9085 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
9087 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
9089 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
9091 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
9093 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
9094 (find_post_sched_live): Likewise.
9096 * haifa-sched.c (schedule_block): Remove old code to get arguments
9097 from hard regs into pseudos early.
9099 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
9101 * version.c: Bump for new snapshot.
9103 * local-alloc.c (update_equiv_regs): All the target to reject
9104 promotion of some REG_EQUAL to REG_EQUIV notes.
9105 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
9107 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
9110 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
9111 store of the argument registers.
9113 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
9115 * fold-const.c (multiple_of_p): New function.
9116 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
9118 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
9120 * expr.h (insn_gen_function): Temporarily remove prototype.
9122 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
9124 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
9125 filenames. Use sed to extract base filename for install.
9127 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
9129 * unroll.c (find_splittable_givs): Only share if two givs have the
9130 same add and multiply values.
9132 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
9134 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
9135 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
9137 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
9139 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
9140 around branch tables.
9141 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
9142 and .end_brtab directives if TARGET_GAS.
9144 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
9146 * alias.c (true_dependence): Pass x_addr not x to varies.
9148 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
9149 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
9150 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
9152 * config.in, configure: Regenerate.
9154 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
9156 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
9158 (record_set): Handle LO_SUM like PLUS.
9159 (init_alias_analysis): When following chains of base addresses,
9160 do not stop on reaching a hard register.
9162 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
9164 * version.c: Bump for new snapshot.
9166 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
9168 * alpha.h (ARCH_ASM_FILE_START): Define.
9169 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
9170 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
9172 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
9174 * Makefile.in (install-common): Put gcov comment at start of line.
9176 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
9178 * alias.c (init_alias_analysis): When simplifying the reg_base_value
9179 array, simplify entries for hard registers too.
9181 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
9183 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
9186 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
9188 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
9189 block_stack before dereferencing it.
9191 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
9193 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
9195 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
9197 * cplus-dem.c: Add 'extern' to prepends_underscore.
9199 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
9201 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
9202 (get_issue_rate): Delete.
9203 * pa.h (ISSUE_RATE): Define.
9205 * configure.in: Turn on haifa by default for the PA.
9206 * configure: Rebuilt.
9207 * pa.c (override_options): Accept -mschedule=7200 option.
9208 (pa_adjust_cost): No longer need to scale costs for newer
9210 * pa.h (enum processor_type): Add PROCESSOR_7200.
9211 * pa.md: Revamp scheduling parameters to work better with
9212 haifa. Add scheduling parameters for the 7200.
9214 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
9216 (schedule_block): When adjusting basic_block_{head,end}, account
9217 for movement of SCHED_GROUP_P insns too.
9219 * haifa-sched.c (debug_dependencies): Fix thinko.
9221 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
9222 (site.exp, check, check-g++, check-gcc): New targets.
9224 * haifa-sched.c: Make lots of variables static.
9226 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9228 * expr.h, real.h: Finish prototyping.
9230 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
9232 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
9233 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
9234 * reload1.c: Undo bugfix from Aug 11.
9236 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
9238 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
9239 quotes around the name.
9240 * configure: Regenerate.
9242 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
9244 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
9246 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
9248 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
9249 to sub-makes to avoid building more passes than the user might have
9250 requested on the command line.
9252 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
9254 * configure.in: Expurgate `broken_install' (install is
9257 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
9260 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
9262 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
9263 functions and declarations.
9264 (analyze_loop_iterations): Use condjump_p.
9265 (insert_bct): Likewise. Use exact_log2.
9267 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
9269 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
9270 (schedule_region): Likewise.
9271 (schedule_insns): Likewise.
9273 * PROJECTS: Update with Haifa stuff.
9275 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
9277 * version.c: Change the version string to look like:
9278 egcs-2.90.00 970814 (gcc2-970802 experimental).
9280 * loop.c (is_conditional_branch): Make definition match declaration.
9282 * gcc.c: Take out experimental snapshot warning message.
9284 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
9286 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
9287 print out the names of the notes. Print out the name of the insn
9288 that is not a note, and not an {,CALL_,JUMP_}INSN.
9290 Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
9292 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
9293 again for the slot after we give it RTL.
9295 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
9297 * configure.in (haifa configury): Fix typo.
9298 * configure: Regenerate.
9300 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
9302 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
9304 * gcc.info*: Rebuilt.
9306 * COPYING.g77, README.g77: New files.
9307 * real.c (ereal_unto_float, ereal_unto_double): New functions.
9308 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
9309 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
9311 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
9313 * Integrate Haifa instruction scheduler.
9314 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
9315 to sched with $(SCHED_CFLAGS.
9316 * configure.in: Handle --enable-haifa.
9317 * configure: Rebuilt.
9318 * flags.h: Add new flags for haifa instruction scheduler.
9319 * genattrtab.c (expand_units): For haifa, don't subtract one
9320 when computing blockage.
9321 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
9322 (flag_schedule_speculative): Ditto.
9323 (flag_schedule_speculative_load): Ditto.
9324 (flag_schedule_speculative_load_dangerous): Ditto.
9325 (flag_schedule_reverse_before_reload): Ditto.
9326 (flag_schedule_reverse_after_reload): Ditto.
9327 (flag_branch_on_count_reg): Ditto.
9328 (f_options): Add Haifa switches.
9329 (main): Turn off some Haifa options if appropriate macro is
9330 defined. Process Haifa switches.
9331 * unroll.c (iteration_info): No longer static, since Haifa
9333 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
9334 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
9335 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
9336 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
9337 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
9338 storage for the Haifa scheduler.
9339 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
9341 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
9342 are defined, call analyze_loop_iterations and insert_bct to use
9344 (record_giv): Refine test for jumps out of loops if HAIFA is
9346 (analyze_loop_iterations): New function to identify if we can use
9348 (insert_bct): Insert countdown loop.
9349 (instrument_loop_bct): Low level code to insert countdown loop.
9350 (loop_number): Calculate UID of loop.
9351 (indirect_jump_in_function_p): Return true if an indirect jump is
9353 (is_power_of_2): Return true if value is a power of 2.
9354 (is_conditional_branch): Return true if insn is a conditional
9356 (fix_bct_param): Process -fbct-{min,max}-N switches.
9357 (check_bct_param): Return true if loop should be instrumented.
9358 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
9359 (loop_optimize): Initialize.
9360 (get_condition_for_loop): Ditto.
9361 * loop.c (strength_reduce): Inside of code that uses #ifdef
9362 HAVE_decrement_and_branch_on_count code, test it to make sure the
9364 (instrument_loop_bct): Ditto.
9365 * haifa-sched.c: New file.
9368 * Integrate regmove pass.
9369 * Makefile.in (OBJS): Add regmove.o
9370 (regmove.o): Add dependencies.
9371 * flow.c (find_use_as_address): No longer static.
9372 * rtl.h (find_use_as_address): Declare.
9373 * toplev.c (regmove_dump, flag_regmove): Define.
9374 (f_options): Add -fregmove.
9375 (regmove_dump_file, regmove_time): Define.
9376 (fatal_insn): Close the regmove dump file.
9377 (compile_file): Initialize regmove_time; open/close the regmove dump
9378 file as needed. Print regmove time as needed.
9379 (rest_of_compilation): Run regmove pass if requested, dump
9380 RTL after regmove if requested.
9381 (main): If -O2 or more, turn on regmove. Handle dump switches.
9382 * regmove.c: New file.
9384 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
9386 * Integrate tlink patch from jason@cygnus.com
9387 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
9388 (process_command): Increment n_switches for them. Don't discard
9389 their args. Validate them.
9390 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
9392 (process_command): Set include_prefixes from COMPILER_PATH.
9393 (main): Set COLLECT_GCC_OPTIONS sooner.
9394 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
9395 * tlink.c, hash.c, hash.h: New files.
9396 * Makefile.in (USE_COLLECT2): Always use collect2.
9397 (collect2): Depend on and link in hash.o and tlink.o.
9398 (tlink.o, hash.o): Add dependencies.
9400 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
9402 * Integrate alias analysis changes from jfc@mit.edu
9403 * Makefile.in (OBJS): Add alias.o
9404 (alias.o): Add dependencies.
9405 * alias.c: New file.
9406 * sched.c: Remove alias analysis code. It lives in alias.c now.
9407 (sched_analyze_2): Add new arguments to true_dependence.
9408 (schedule_insns): Always call init_alias_analysis.
9409 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
9410 mark return value from such functions as a pointer and keep track of
9411 them for alias analysis. If a return value from a function is a
9412 pointer, mark it as such.
9413 * combine.c (distribute_notes): Handle REG_NOALIAS.
9414 * cse.c (struct write_data): Delete. No longer needed.
9415 (invalidate): Don't call set_nonvarying_address_components anymore.
9416 Use true_dependence to decide if an entry should be removed from
9418 (invalidate_memory): Remove WRITES argument, simplify appropriately.
9420 (note_mem_written): Similarly for WRITE_PTR argument.
9421 (invalidate_from_clobbers): Similarly for W argument.
9422 (invalidate_for_call): Remove memory elements from the hash table.
9423 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
9424 (cse_rtx_varies_p): New function. Derived from old
9425 cse_rtx_addr_varies_p.
9426 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
9427 Don't call note_mem_written anymore. Stack pushes invalidate the stack
9428 pointer if PUSH_ROUNDING is defined. No longer need to call
9429 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
9430 (skipped_writes_memory): Remove variable.
9431 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
9432 (invalidate_skipped_block): Simplify for new alias analysis code.
9433 (cse_set_around_loop): Likewise.
9434 (cse_main): Call init_alias_analysis.
9435 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
9436 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
9437 (f_options): Add new alias checking arguments.
9438 (main): Set flag_alias_check when optimizing.
9439 * local_alloc (validate_equiv_mem_from_store): Add new arguments
9441 (memref_referenced_p): Likewise.
9442 * loop.c (NUM_STORES): Increase to 30.
9443 (prescan_loop): Only non-constant calls set unknown_address_altered.
9444 (invariant_p): Add new arguments to true_dependence.
9445 (record_giv): Initialize unrolled and shared fields.
9446 (emit_iv_add_mult): Call record_base_value as needed.
9447 * loop.h (struct induction): Add unrolled and shared fields.
9448 * unroll.c (unroll_loop): Call record_base_value as needed.
9449 (copy_loop_body): Likewise.
9450 (final_biv_value): Likewise.
9451 (final_giv_value): Likewise.
9452 (find_splittable_regs): Likewise. Only create one new pseudo
9453 if we have multiple address GIVs that were combined with the same
9454 dst_reg GIV. Note when a new register is created due to unrolling.
9455 * rtl.c (reg_note_name): Add REG_NOALIAS.
9456 * rtl.h (enum reg_note): Similarly.
9457 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
9458 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
9459 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
9460 (true_dependence, read_dependence, anti_dependence): Likewise.
9461 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
9462 (mark_user_reg, mark_reg_pointer): Likewise.
9465 * Integrate reload bugfix from Wilon which enables the PA port
9467 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
9468 OPERAND_ADDRESS when computing how many registers an insn needs.
9469 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
9471 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
9473 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
9474 in reload_reg_use_in_op_addr do not reach the end.
9475 do not reach the end.
9476 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
9477 RELOAD_FOR_OPERAND_ADDRESS.
9479 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
9481 * egcs project officially starts.
9484 add-log-time-format: current-time-string