1 Sun May 17 08:45:21 1998 Krister Walfridsson <cato@df.lth.se>
3 * toplev.c (output_lang_identify): Enable prototype and definition.
5 Sun May 17 01:12:27 PDT 1998 Jeff Law (law@cygnus.com)
7 * version.c: Bump for snapshot.
9 Sat May 16 18:32:45 1998 Doug Evans <devans@canuck.cygnus.com>
11 * dbxout.c (dbxout_parms): If mode of type of parameter living
12 in memory doesn't match mode of DECL_RTL, make big endian correction.
14 Fri May 15 21:40:06 1998 John Wehle (john@feith.com)
16 * i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
18 Fri May 15 18:55:22 1998 Jason Merrill <jason@yorick.cygnus.com>
20 * tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
21 * stor-layout.c (layout_record): Set it.
23 Fri May 15 18:49:30 1998 Mark Mitchell <mmitchell@usa.net>
25 * toplev.c (rest_of_compilation): Don't defer nested functions.
27 Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
29 * config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
30 to an 8-byte boundary if info_ptr->fpmem_p.
32 Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
34 * loop.c (basic_induction_var): Added test preventing
35 CCmode parameter passed to convert_modes().
37 Fri May 15 17:26:18 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
39 * expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
40 input_filename and lineno around expand_expr call. Set them to values
41 in WFL before expand_expr call.
43 Fri May 15 12:44:57 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
45 * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
47 Fri May 15 07:20:03 1998 Mark Mitchell <mmitchell@usa.net>
49 * fold-const.c (constant_boolean_node): New function.
52 Fri May 15 11:21:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
54 * sh.c (gen_shl_and): Don't sign extend constant for kind two.
55 Abort if trying to split kind 3 or 4 outside of combine.
57 Fri May 15 01:47:37 1998 Jeffrey A Law (law@cygnus.com)
59 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
61 Fri May 15 01:42:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
63 * objc/Make-lang.in (OBJC_O): Add missing exeext.
64 (libobjc.a, runtime-info.h): Likewise.
66 Fri May 15 01:29:39 1998 John Wehle (john@feith.com)
68 * i386.h (DATA_ALIGNMENT): Define.
70 Fri May 15 05:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
72 * reload1.c (delete_output_reload): Ignore single USE that
73 was emitted for the pseudo use of this INSN.
74 If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
75 remains, we can always delete OUTPUT_RELOAD_INSN.
77 Thu May 14 18:38:50 1998 Jim Wilson <wilson@cygnus.com>
79 * reload.c (find_reloads): Don't penalize SCRATCH output reload.
81 Thu May 14 15:10:30 1998 Jeffrey A Law (law@cygnus.com)
83 * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.
85 Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
87 * eh-common.h: New file for basic EH data structures.
88 * except.h: Various prototypes and structures for NEW_EH_MODEL
89 * function.h (struct function): Add a struct eh_stack for the catch
91 * except.c (gen_exception_label): New function to generate an
93 (push_eh_entry): Use gen_exception_label() and init 'label_used' field.
94 (push_entry): New function to push an existing entry onto a stack.
95 (receive_exception_label): New function to emit the code required
96 at the start of all catch blocks.
97 (struct func_eh_entry): New structure for maintaining handlers
98 associated with EH regions.
99 (new_eh_region_entry): New function to register an EH region.
100 (add_new_handler): New function to register a handler with a region.
101 (get_new_handler): Creates anew handler entry for registering.
102 (find_func_region): New function to convert a NOTE eh region number
103 to an Eh region index.
104 (get_first_handler): New function to get the first handler in a region.
105 (clear_function_eh_region): New function to release memory.
106 (duplicate_handlers): New function to duplicate a list of handlers.
107 (expand_eh_region_end): Create a new region entry node as well.
108 (expand_leftover_cleanups): Call receive_exception_label() and
109 register the cleanup as a handler to the current region.
110 (expand_start_catch): New function to start a catch clause.
111 (expand_end_catch): New function to end a catch clause.
112 (expand_start_all_catch): restructure to not do the equivilent of
113 what expand_start_catch() does now. Push the exception region being
114 handled onto the catch stack.
115 (output_exception_table_entry): Issue an entry for each handler
116 associated with a region.
117 (set_exception_lang_code): New function for setting the language code.
118 (set_exception_version_code): New function to set the version number.
119 (output_exception_table): Output version and language codes.
120 (find_exception_handler_labels): Find handler labels using new scheme.
121 (is_exception_handler_label): New function, returns 1 if label is
122 present as a handler in some exception region.
123 (check_exception_handler_labels): Use the new scheme.
124 (init_eh_for_function): Initialize the catch stack.
125 (save_eh_status): Save the catch stack.
126 (restore_eh_status): Restore the catch stack.
127 (scan_region): Don't remove unreferenced handler label. Flow does it.
128 (get_reg_for_handler): New function to get the eh_context pointer
130 (expand_builtin_eh_stub): Changes required for NEW_EH_MODEL only.
131 * final.c (final_scan_insn): With NEW_EH_MODEL, add EH table
132 entry when processing END region rather that START region.
133 * flow.c (find_basic_blocks_1): Find all potential handler regions
134 now that we don't automatically know what the labels might be.
135 Let scan_region() remove unreferenced EH BEGIN/END labels.
136 * integrate.c (get_label_from_map): Put inlined labels onto the
137 permanent obstack since we dont know which ones might be exception
139 (save_for_inline_copying): Make new copies of all the handlers.
140 (expand_inline_function): Make new copies of all the handlers.
141 * libgcc2.c: Remove local struct decls, and include eh-common.h.
142 (find_exception_handler): With NEW_EH_MODEL the first matching
143 region we find is the right one. Add eh_info as a new parameter.
144 (__throw): Pass eh_info to find_exception_handler. Set handler
145 and pass use different regs under NEW_EH_MODEL.
147 Thu May 14 12:58:21 1998 Jim Wilson <wilson@cygnus.com>
149 * i960.h (hard_regno_mode_ok): Changed to function from array of
151 (HARD_REGNO_MODE_OK): Call function instead of testing bit.
152 * i960.c (hard_regno_mode_ok): Changed to function from array of
155 Thu May 14 08:41:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
157 * reload.c (remove_replacements): New function.
158 * reload.h (remove_replacements): Declare.
159 * reload1.c (choose_reload_regs): Disable some reloads that
160 belong to inherited reloads.
162 Thu May 14 02:17:17 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
164 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
166 * reload1.c (merge_assigned_reloads): When merging, reset
167 reload_spill_index for the eliminated reload.
169 Wed May 13 17:51:13 1998 Jeffrey A Law (law@cygnus.com)
171 * haifa-sched.c (schedule_insns): Fix merge goof.
173 1998-05-13 Jim Wilson <wilson@cygnus.com>
175 * varasm.c (make_decl_rtl): Revert April 1 change.
176 * alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
177 m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
178 Get function name from the SYMBOL_REF in the DECL_RTL, not from
180 * i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
183 Wed May 13 13:09:19 1998 Jim Wilson <wilson@cygnus.com>
185 * i386.c (notice_update_cc, output_float_compare): Disable
186 TARGET_CMOVE support.
188 Wed May 13 15:28:59 1998 Michael Meissner <meissner@cygnus.com>
189 Jeff Law <law@cygnus.com>
191 * rtlanal.c (find_reg_note): Ignore notes that are not on on
193 (find_regno_note): Likewise.
195 * Makefile.in (stor-layout.o): Depend on except.h
196 (varasm.o, function.o): Likewise.
197 (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
199 * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
200 (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
201 ($(HOST_PREFIX_1)rtl.o): Likewise.
202 ($(HOST_PREFIX_1)bitmap.o): New host object.
203 * emit-rtl.c (toplevel): Include bitmap.h.
204 (gen_rtx): Handle 't' and 'b' nodes.
205 * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
206 Print block number for block begin/end notes. Print 't' type
207 nodes as a pointer. Know that the 3rd argument of live range
208 start/stop notes is really a range_info rtx. If type is 'b', print
209 out argument as a bitmap.
210 * rtl.c: Include bitmap.c.
211 (copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
212 (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
213 * rtl.def (RANGE_LIVE): New node to hold live information while we
214 recalculate the basic blocks.
215 (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
216 (RANGE_VAR): New node, to hold information saved in symbol node for New
217 communicating live range information to the debug output functions.
218 * rtl.h (rtunion_def): Add rttree and rtbit fields.
219 (XBITMAP, XTREE): New accessor macros.
220 (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
221 (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
222 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
223 (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
224 (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
225 (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
226 (RANGE_INFO_*): Likewise.
227 * sched.c (sched_analyze): Keep live range start/stop notes.
228 (unlink_other_notes): Likewise.
229 * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
230 (unlink_other_notes): Likewise.
231 * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
232 (BLOCK_LIVE_RANGE_FLAG): Likewise.
233 (DECL_LIVE_RANGE_RTL): Likewise.
234 (struct tree_block): Add live_range_flag, live_range_var_flag,
235 live_range_start and live_range_end.
236 (struct tree_decl): Add live_range_rtl field.
237 * gengenrtl.c (type_from_format): Handle 'b' and 't'.
238 (accessor_from_format): Likewise.
240 * haifa-sched.c (schedule_block): Make verbose output line up.
241 Also add a blank line in printing the individual ready lists.
243 Wed May 13 15:43:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
245 * Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
246 (c-lex.o): Depend on output.h.
247 (c-common.o): Likewise.
250 (integrate.o): Depend on toplev.h.
251 (regclass.o): Depend on output.h.
252 (final.o): Depend on reload.h.
254 * c-common.c: Include output.h.
255 (check_format_info): Remove unused variable `integral_format'.
257 * c-decl.c (print_lang_decl): Mark parameters `file', `node' and
258 `indent' with ATTRIBUTE_UNUSED.
259 (print_lang_type): Likewise.
260 (maybe_build_cleanup): Likewise for parameter `decl'.
261 (copy_lang_decl): Likewise for parameter `node'.
263 * c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
264 (lang_print_xnode): Mark parameters `file', `node' and `indent'
265 with ATTRIBUTE_UNUSED.
266 (lookup_interface): Likewise for parameter `arg'.
267 (is_class_name): Likewise.
268 (maybe_objc_check_decl): Likewise for parameter `decl'.
269 (maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
271 (maybe_objc_method_name): Likewise for parameter `decl'.
272 (build_objc_string): Likewise for parameters `len' and `str'.
274 * c-lex.c: Include output.h.
276 * c-lex.h (position_after_white_space): Correct typo in prototype.
278 * c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
279 c_expand_end_cond, init_iterators): Add prototypes.
281 * caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
282 with ATTRIBUTE_UNUSED.
284 * calls.c: Include output.h.
286 * cccp.c (pipe_closed): Mark parameter `signo' with
289 * combine.c: Move inclusion of expr.h to after insn-config.h.
291 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
292 as empty, rather define as ((void)0).
294 * sparc.c (sparc_check_64): Add braces around ambiguous `else'.
295 Add parentheses around assignment used as truth value.
297 * cplus-dem.c (squangle_mop_up): Change return type to void.
298 (internal_cplus_demangle): Remove unused parameter `options'.
300 (cplus_demangle_opname): Remove function wide variable `int i' and
301 replace with `size_t i' at each location where it is used.
302 (cplus_demangle_opname): change type of `i' from int to size_t.
304 * cppexp.c (right_shift): Mark parameter `pfile' with
307 * cpphash.c (cpp_lookup): Likewise.
308 (cpp_hash_cleanup): Likewise.
310 * cpplib.c (parse_name): Add a prototype and make it static.
311 (null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
312 (null_cleanup): Likewise for parameters `pbuf' and `pfile'.
313 (macro_cleanup): Likewise for parameter `pfile'.
314 (file_cleanup): Likewise.
316 * cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
317 cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
319 * crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
320 __DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
322 * cse.c (cse_check_loop_start): Mark parameter `set' with
325 * dbxout.c (flag_minimal_debug, have_used_extensions,
326 source_label_number): Move inside macro wrapper check against
327 defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
329 * dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
331 * except.h (doing_eh): Provide prototype.
333 * expr.c: Move inclusion of expr.h to after insn-config.h.
335 * final.c: Include reload.h.
336 (shorten_branches): Cast the first argument of bzero to char *.
338 * fix-header.c (cpp_print_containing_files): Mark parameter
339 `pfile' with ATTRIBUTE_UNUSED.
340 (cpp_fatal): Likewise.
342 * flow.c (find_basic_blocks_1): Cast the first argument of bzero
345 * genattrtab.c (make_length_attrs): Change the type of variable
346 `i' from int to size_t.
347 (zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
350 * genextract.c (main): When generating insn-extract.c, mark
351 variable `junk' with ATTRIBUTE_UNUSED.
353 * gengenrtl.c (gencode): When generating genrtl.c, cast the first
354 argument of bzero to char*.
356 * integrate.c: Include toplev.h.
358 * libgcc2.c: Wrap `struct exception_table' and
359 `find_exception_handler' in macro DWARF2_UNWIND_INFO.
361 * objc/Make-lang.in (objc-act.o): Depend on toplev.h.
363 * objc/objc-act.c: Include toplev.h.
364 (lang_print_xnode): Mark parameters `file', `node' and `indent'
365 with ATTRIBUTE_UNUSED.
366 (finish_protocol): Likewise for parameter `protocol'.
368 * output.h (declare_weak): Add prototype.
369 (decode_reg_name): Don't wrap with TREE_CODE macro.
370 (assemble_alias): Add prototype.
372 * regclass.c: Include output.h.
374 * reload.h (reloads_conflict): Add prototype.
376 * rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
377 output_func_start_profiler): Add prototypes.
379 * rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
382 * scan-decls.c: Include scan.h.
384 * scan.h (recognized_function, recognized_extern): Add prototypes.
386 * stmt.c: Include output.h.
388 * toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
389 (output_lang_identify): Hide prototype and definition.
390 (float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
391 (pipe_closed): Likewise.
393 * toplev.h (count_error, strip_off_ending, error_for_asm,
394 warning_for_asm): Add prototypes.
396 Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
398 * toplev.c (rest_of_compilation): "Charge" final for any time
399 doing various cleanup operations after finishing compilation
402 * flow.c (dump_flow_info): Also print number of sets and
403 whether or not the pseudo is a user variable.
405 * flow.c (reg_n_max): New global variable.
406 * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
407 Delete regno_max variable.
408 * regs.h (REG_N_CHECK): Define.
409 (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
410 (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
411 (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
413 Wed May 13 12:54:19 1998 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
415 * acconfig.h (ENABLE_CHECKING): Undefine.
416 * configure.in (--enable-checking): New option.
418 Wed May 13 08:52:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
420 * reload1.c (merge_assigned_reloads): Can merge
421 RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
422 if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
424 Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
426 * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
428 Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
430 * reload1.c (gen_reload): Create REG_EQUIV notes.
432 Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
434 * reload1.c (reload): Fix check for USEs to use code of pattern.
435 (choose_reload_regs): Remove dead variable use_insn.
437 Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
439 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
441 Tue May 12 15:16:02 1998 Michael Meissner <meissner@cygnus.com>
443 * haifa-sched.c (HAIFA_INLINE): Define to be __inline unless
445 (find_insn_{,mem_}list): Use HAIFA_INLINE, not __inline.
446 (insn_{unit,issue_delay}): Ditto.
447 (blockage_range): Ditto.
448 (actual_hazard{,_this_instance}): Ditto.
449 (schedule_unit): Ditto.
450 (potential_hazard): Ditto.
454 (birthing_insn_p): Ditto.
455 (adjust_priority): Ditto.
456 (get_block_head_tail): Ditto.
457 (init_rgn_data_dependences): Ditto.
459 Tue May 12 10:27:54 1998 Klaus Kaempf <kkaempf@progis.de>
461 * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
463 Tue May 12 11:44:14 1998 Gavin Koch <gavin@cygnus.com>
465 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
467 Tue May 12 11:38:31 1998 Gavin Koch <gavin@cygnus.com>
469 * config/mips/mips.md (dslot): Move after definition of "cpu"
470 attribute. Handle r3900 case.
472 Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
474 * system.h: Define the STRINGIFY macro here.
475 * protoize.c: Not here.
476 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
478 Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
480 * varasm.c (assemble_variable): Compute the alignment of the data
481 earlier so that both initialized and uninitialized variables are
482 effected by DATA_ALIGNMENT.
483 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
485 Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
487 * mips.c: Prototype static functions.
489 Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
491 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
492 Add explanatory comments.
494 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
496 Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
498 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
500 Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
502 * varasm.c (make_decl_rtl): Disable April 1 change.
504 Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
506 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
508 Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
510 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
511 * alpha.c (print_operand): Handle it.
512 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
513 related define_splits. Also add peepholes for SImode reload
514 plus sign_extend lossage.
516 Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
518 * genattr.c: Include stdarg.h/varargs.h. Change function
519 `fatal' to use variable arguments instead of faking it with
520 integer parameters. Provide a prototype which also
521 checks the format specifiers using ATTRIBUTE_PRINTF_1.
523 * genattrtab.c: Likewise.
524 * gencodes.c: Likewise.
525 * genconfig.c: Likewise.
526 * genemit.c: Likewise.
527 * genextract.c: Likewise.
528 * genflags.c: Likewise.
529 * genopinit.c: Likewise.
530 * genpeep.c: Likewise.
531 * genrecog.c: Likewise.
532 * genoutput.c: Likewise. Similarly for function `error'.
534 Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
536 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
537 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
538 * configure.in: Use GCC_C_VOLATILE.
539 * system.h (volatile): Define as empty if no volatile support is
542 Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
544 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
547 Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
549 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
550 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
551 the body of beq; additionally set the mode of the branch to CCmode for
552 FP compares and not fast_math.
553 (alpha_emit_conditional_move): Always use a compare insn for FP
554 when not fast_math, as well as setting CCmode on the cmov.
555 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
557 * machmode.h (COMPLEX_MODE_P): New macro.
559 Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
561 * haifa-sched.c (print_exp): Fix typo.
563 Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
565 * version.c: Bump for snapshot.
567 Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
569 * final.c (final_scan_insn): Call fatal_insn instead of abort if
570 we could not split an insn when required to.
572 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
574 (peepholes): Disable peepholes that call dead_or_set_p.
575 (movsi): Rewrite to handle addresses better after last change.
576 Add define_split to split load of addresses in large/medium modes.
577 (prologue): Call m32r_expand_prologue.
578 (movsi_{push,pop}): Generators for push/pop.
579 (movsi): Support PRE_{INC,DEC}, POST_INC.
580 (mov{di,df}): Rewrite. Always split the insns.
581 (movsf): Add define_split to get register load in correct mode.
582 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
583 (attributes): Rewrite attributes so that type indicates both the
584 type and the length of the insn directly.
585 (all insns): Change to use new type attributes.
586 (debug): New attribute to convey whether -mdebug was used.
587 (opt_space): New attribute to convey whether -Os was used.
588 (function units): Loads are 3 cycles, not 2. Better classify all
589 insns into short/long.
590 (load/store/extend insns): Add separate case for load/store
591 indirect operations without an offset.
592 (divsi3): Division is a long operation, not short.
594 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
596 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
597 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
598 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
599 operands with PRE_{INC,DEC}, POST_INC.
600 (FUNCTION_PROFILER): Call abort instead of doing nothing.
601 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
603 (gen_split_move_double): Declare.
604 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
606 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
607 emit_move_insn, build up SET's directly.
608 (toplevel): Include system.h, not stdio.h.
609 (move_double_src_operand): Allow any DF or DI mode constant.
610 (gen_split_move_double): Split moves of DI or DF values into the
611 appropriate moves, loads, or stores. Don't handle use of auto
612 inc/dec if using dead index. Do handle overlapping moves, etc.
613 (m32r_frame_info): Remove prologue_size field.
614 (m32r_compute_frame_size): Don't calculate prologue size.
615 (m32r_output_function_prologue): Change to pretty much a NOP.
616 (m32r_expand_prologue): Expand prologue as a series of INSNs.
617 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
618 (m32r_print_operand_address): Ditto.
620 Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
622 * reload1.c (emit_reload_insns): When performing expensive
623 optimizations, do not output the last reload insn if OLD is
624 not the dest of NSN and is in the src and is clobbered by INSN.
626 Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
628 * Makefile.in (genrtl.o): Depend on system.h.
629 * gengenrtl.c (gencode): When creating genrtl.c, have it
632 Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
634 * config/m68k/t-linux: Remove extra stuff already included in
637 Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
639 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
640 curses.h if it contains `typedef char bool;', as suggested by
641 Manfred Hollstein <manfred@s-direktnet.de>.
643 * configure.in: Rename fixinc.math to fixinc.wrap.
645 Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
647 * gcc.c (read_specs): Handle missing blank line at end of specs file.
649 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
652 Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
654 * configure.in (enable_threads): Rename to enable_threads_flag before
655 main loop. Set enable_threads to enable_threads_flag inside main
658 Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
660 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
663 Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
665 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
667 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
668 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
669 (AC_CHECK_FUNCS): Remove unused check for vprintf.
671 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
672 (cccp.o): Depend on gansidecl.h.
675 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
676 per the rest of gcc source.
677 * cexp.y: Likewise. Include gansidecl.h and remove all code made
680 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
681 used when vfprintf is missing.
684 * genattrtab.c: Likewise.
685 * mips-tfile.c: Likewise.
686 * toplev.c: Likewise.
688 * vfprintf.c: New file.
689 * doprint.c: New file.
691 Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
693 * config/linux.h (ASM_COMMENT_START): Remove from here,
694 * config/linux-aout.h (ASM_COMMENT_START): and here,
695 * config/i386/linux.h (ASM_COMMENT_START): to here,
696 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
697 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
700 Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
702 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
705 Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
707 * Makefile.in (dwarfout.o) Add toplev.h dependency.
708 * dwarfout.c, i386.c: Include toplev.h
709 * toplev.h: (pfatal_with_name) Add prototype.
711 Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
713 * Makefile.in: Fix .SUFFIXES.
715 Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
717 * config/linux.h (ASM_COMMENT_START): Define as "#".
718 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
720 Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
722 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
723 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
725 * toplev.c: Include toplev.h.
726 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
727 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
728 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
729 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
730 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
733 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
734 HARD_FRAME_POINTER_REGNUM.
736 * expr.c (target_temp_slot_level): Delete duplicate definition.
738 Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
740 * stmt.c (mark_seen_cases): Make it have external linkage again.
741 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
744 * haifa-sched.c (print_value, case SUBREG): Fix typo.
746 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
747 * i386.h (REG_CLASS_CONTENTS): Similarly.
749 * toplev.c (-fsched-max): Delete flag.
750 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
751 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
752 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
755 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
756 inner loops which are not reducible.
758 * loop.c (regs_match_p): Fix typo in prototype.
760 * regmove.c (try_auto_increment): Wrap declaration inside an
763 Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
765 * final.c (output_operand_lossage): Call fatal with the operand
766 lossage message instead of calling abort.
768 Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
770 * c-common.c: Convert to using ctype macros defined in system.h.
773 * collect2.c: Likewise.
774 * rs6000.c: Likewise.
775 * cpplib.c: Likewise.
776 * fix-header.c: Likewise.
778 * gen-protos.c: Likewise.
779 * pexecute.c: Likewise.
780 * protoize.c: Likewise.
785 * toplev.c: Likewise.
787 Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
789 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
790 Replace -gdwarf-2 with -g0.
792 Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
794 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
795 * mips-tdump.c: Include system.h, remove redundant headers.
796 * mips-tfile.c: Likewise. Also, convert all ctype function calls
797 to calls of the macro versions defined in system.h.
799 * objc/Make-lang.in (objc-act.o): Depend on system.h.
800 * objc/objc-act.c: Include system.h, remove redundant headers.
802 Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
804 * configure.in (AC_CHECK_FUNCS): Add isascii.
805 (GCC_NEED_DECLARATIONS): Add atof.
807 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
808 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
810 Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
812 * system.h: Wrap time.h and sys/file.h in autoconf checks.
813 Provide default definitions for O_RDONLY and O_WRONLY here.
815 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
817 1998-05-06 Mark Mitchell <mmitchell@usa.net>
819 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
821 Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
823 * toplev.h: New file. Protypes for functions in toplev.c.
824 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
825 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
826 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
827 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
828 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
829 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
830 varasm.c: include it.
832 Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
833 Jim Wilson (wilson@cygnus.com)
835 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
836 blocks. Check for 1 successor which is the EXIT_BLOCK.
838 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
839 unreachable loops with more than one block.
841 Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
843 * fix-header.c (write_rbrac): Add "abort" to functions which need to
846 Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
848 * Check in merge from gcc2. See ChangeLog.12 for details.
850 Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
852 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
853 accept 'a' flag. 'S' does accept 'a' flag.
854 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
857 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
859 Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
861 * config/m68k/m68k.h: Declare functions from m68k.c used in
862 macros and machine description.
863 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
865 (ASM_OUTPUT_FLOAT): Likewise.
866 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
868 Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
870 * tree.def: Add NAMESPACE_DECL.
871 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
872 * dwarf2out.c (push_decl_scope): Likewise.
873 (scope_die_for): Likewise.
874 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
875 how to get next context level.
877 Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
879 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
882 Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
884 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
886 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
887 for any insns skipped at the start of a block because they were
890 Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
892 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
894 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
896 * c-common.c (format_char_info): Add new field hhlen.
897 (print_char_table, scan_char_table, time_char_table): Initialize
898 hhlen field appropriately.
899 (char_format_info): Recognize hh modifier and lookup correct char
902 Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
904 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
905 reference if this is a store.
907 Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
909 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
911 Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
913 Make UnixWare 7 bootstrap support work with final shipping product.
914 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
915 Pick up xm-siglist and xm-alloca.
916 (xm_defines): Add USG so dbxout will build.
917 * configure: Regenerate.
919 Sun May 3 13:51:34 PDT 1998 Richard Henerson <rth@cygnus.com>
921 Support for official Sparc V9 ABI:
922 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
923 Care for flag_pcc_struct_return default.
924 (output_move_quad): Rewrite to move by halves on v9 and in the
926 (move_quad_direction): New function.
927 (output_fp_move_quad): Use it to determine the direction of copy.
928 (function_arg_slotno): Return -1 for FP reg overflow as well.
929 (function_arg_record_value*): New functions.
930 (function_arg): Use them. Streamline unprototyped parameter passing.
931 (function_arg_pass_by_reference): Pass TCmode by reference.
932 (function_value): New function.
933 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
934 long long in 64-bit mode.
935 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
936 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
937 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
938 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
939 (BASE_INCOMING_ARG_REG): Likewise.
940 (FUNCTION_VALUE): Call function_value.
941 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
942 * sparc.md (movdi_sp32_v9): Disable for arch64.
943 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
944 (call_value_address_sp64): Remove register class constraints.
945 (call_value_symbolic_sp64): Likewise.
946 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
947 v9 case to 32-bit constants.
948 (goto_handler_and_restore_v9): Provide a version for arch64.
949 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
950 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
951 (CPP_PREDEFINES): New.
952 * sparc/sp64-elf.h: Likewise.
953 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
954 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
955 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
957 Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
959 * version.c: Bump for snapshot.
961 Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
963 * reload.c (find_reloads): Emit USEs to mark where a pseudo
964 is reloaded with the MEM of its stack slot.
965 * reload1.c (cannot_omit_stores): Delete.
966 (reload): Don't initialize it.
967 Don't apply avoid_return_reg logic to USEs.
968 When done, remove USEs that have a REG_EQUAL note on them.
969 (emit_reload_insns): Handle case where we have inherited a MEM.
970 (choose_reload_regs): Likewise.
971 (delete_output_reload): Don't use cannot_omit_stores.
973 Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
975 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
977 Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
979 * haifa-sched.c (print_{exp,value}): Various changes to make the
980 debug output easier to read. Also, use only one buffer, and make
981 sure the buffer we are passed in doesn't overflow.
982 (safe_concat): Concatenate to a buffer without overflow.
984 Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
986 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
989 Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
991 * sched.c (new_insn_dead_notes): Check if the register was
992 used in the original instruction.
993 * haifa-sched.c (new_insn_dead_notes): Likewise.
995 Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
997 * dwarf2out.c (scope_die_for): If could not find proper scope,
998 check for and handle tagged type with incorrect TYPE_CONTEXT.
1000 Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
1002 * calls.c (expand_call): Fix recognition of C++ operator new.
1004 * alias.c (mode_alias_check): Disable type based alias detection.
1006 Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
1008 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
1009 ASM_OUTPUT_WEAK_ALIAS): Define.
1010 * config/mips/elf64.h: Same.
1011 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
1012 ASM_WEAKEN_LABEL): Removed.
1014 Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1016 * calls.c (expand_call): Bump the length limit on the specially
1017 recognized function names to 17.
1019 Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
1021 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
1022 when undefining macros at the end.
1024 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
1025 val or len has TREE_SIDE_EFFECTS set.
1027 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
1028 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
1029 (smuldi3_highpart): Call const v8plus routine.
1030 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
1031 (const_smulsi3_highpart_v8plus): New pattern.
1032 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
1033 (umulsidi3): Call const v8plus routine.
1034 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
1036 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
1037 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
1039 Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
1041 * m32r.c (*_oper{and|ator}): Change enum arguments and return
1042 values to int, so they can be prototyped even in files that don't
1044 ({small,large}_insn_p): Ditto.
1045 (m32r_select_cc_mode): Ditto.
1046 (gen_compare): Ditto.
1047 (function_arg_partial_nregs): Ditto.
1048 (m32r_setup_incoming_varargs): Ditto.
1049 (init_reg_tables): Add prototype.
1050 (m32r_frame_info): Add prolog_size field.
1051 (m32r_compute_frame_size): Calculate the size of the prologue.
1052 (m32r_first_insn_address): Return prologue size.
1053 (m32r_output_function_prologue): Calculate frame size before
1054 printing out information. Print out the prologue size.
1056 * m32r.h: Prototype all functions in m32r.c.
1057 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
1059 * m32r.md (bcc functions): Cast enum's to int.
1061 * m32r.c (conditional_move_operand): Silence a debug message.
1062 ({small,long}_insn): New predicates.
1064 * m32r.h (TARGET_M32R): New macro.
1065 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
1066 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
1068 (ISSUE_RATE): Define as 2.
1070 * m32r.md (insn_size): New attribute.
1071 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
1073 (m32r): New attribute.
1075 * configure.in (enable_haifa): Switch m32r to Haifa by default.
1076 * configure: Regenerate.
1078 (Changes from Nick Clifton <nickc@cygnus.com>)
1079 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
1080 the equivalent of a negated 'I' constraint.
1081 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
1082 optimisation to work.
1084 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
1085 than 'I' since the value is negated.
1086 (peephole): Add peephole optimisation to cope with optimization of
1087 divide and subtracts of the same operands.
1089 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
1093 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
1096 Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
1098 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
1100 Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
1102 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
1103 frame_pointer_rtx not FRAME_POINTER_REGNUM.
1105 Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
1107 * reg-stack.c: Revert last patch (Apr 20).
1108 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
1110 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
1112 * loop.c (check_dbra_loop): New locals jump, first_compare, and
1113 compare_and_branch. Call get_condition to set first_compare.
1114 Set compare_and_branch to number of compare/branch instructions.
1115 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
1116 Replace '2' with compare_and_branch.
1118 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1120 * cplus-dem.c (demangle_qualified): Replace missing else.
1122 Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1124 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
1126 Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1128 * sh.c (sh_expand_prologue, sh_expand_epilogue):
1129 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
1130 * sh.h (STACK_BOUNDARY): Likewise.
1132 Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1134 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1136 Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
1138 * system.h (abort): If abort is not defined, and neither is
1139 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
1140 reporting the line and filename of the error.
1142 * .gdbinit: Add breakpoints on exit and fancy_abort.
1144 * final.c (split_double): Avoid a compiler warning if
1145 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
1147 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
1148 for calling jump_optimize.
1150 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
1151 macros, rather than 0/1's.
1153 Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
1155 * alpha.h (CONST_COSTS): Zero is always free.
1156 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
1158 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1160 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
1161 length in the name of a virtual table.
1163 Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
1165 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
1167 Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
1169 * version.c: Bump for snapshot.
1171 Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
1173 * fold-const.c (fold_convert): Fix typo.
1175 Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
1177 * alias.c (alias_invariant): New variable.
1178 (record_base_value): New argument INVARIANT.
1179 (memrefs_conflict_p): If a register has an entry in the alias_invariant
1180 array, try substituting that value for the register.
1182 * rtl.h: Declare record_base_value.
1184 * loop.c, unroll.c: Update callers of record_base_value.
1186 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
1187 ZERO_EXTEND do not affect base values.
1189 Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
1191 * dbxout.c (dbxout_type): Fix typo.
1192 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
1194 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
1196 Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
1198 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
1199 if the argument is the address of a structure or array.
1201 * configure.in: Enable Haifa scheduler by default for SPARC.
1203 Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1205 * cse.c (cse_set_around_loop): Don't do optimization when
1206 new pseudos are created.
1208 Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
1210 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
1212 (dbxout_type_method_1, dbxout_type): Likewise.
1213 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
1214 (dbxout_type): Fix check for when to print a type range in
1217 Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1219 * (gen_shl_and, in case 1): Fix comparison with mask.
1221 Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
1223 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
1224 pointer as second register in REG+REG pair.
1226 Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1228 * c-common.c (check_format_info): Don't check for the 'x' format
1229 character twice, instead check for 'x' and 'X'
1231 Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
1233 * Makefile.in (libgcc2.ready): Add explicit dependancy from
1234 $(STMP_FIXPROTO) to ensure all necessary include files have
1235 been created and to guarantee proper parallel builds.
1237 Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1239 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
1240 register for stdarg functions.
1241 * sh.h (current_function_varargs): Declare.
1242 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
1244 1998-04-23 Jim Wilson <wilson@cygnus.com>
1246 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
1247 inhibit_libc is defined.
1249 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
1251 Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
1253 * profile.c (tablejump_entry_p): New function.
1254 (branch_prob): Add code to recognize MIPS tablejump entry branch.
1255 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
1257 Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
1259 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
1260 found, rather than at end of the loop, after the insn has been
1263 Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1265 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
1266 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
1268 Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
1270 * loop.c (note_addr_stored): Correct function to take 2 arguments,
1273 * rtl.def (MATCH_INSN2): Add new matching pattern.
1274 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
1276 Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
1278 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
1279 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
1281 * final.c (split_double): Sign extend both halves of a split CONST_INT.
1283 Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
1285 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
1287 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1289 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
1290 (cplus_demangle_opname): Call mop_up_squangle.
1291 (cplus_demangle): Initialize squangle info, then call
1292 internal_cplus_demangle. (Most code moved there as well)
1293 (internal_cplus_demangle): New function, performs most of what use
1294 to be done in cplus_demangle, but is only called with this file.
1295 (squangle_mop_up): New function to clean up B and K code data.
1296 (mop_up): set pointers to NULL after freeing.
1297 (demangle_signature, demangle_template, demangle_class): Add
1298 switch elements to handle K and B codes.
1299 (demangle_prefix, gnu_special, demangle_qualified): Add
1300 code to handle K and B codes.
1301 (do_type, demangle_fund_type): Handle B and K codes.
1302 (remember_Ktype): New function to store K info.
1303 (register_Btype, remember_Btype): New functions for B codes.
1304 (forget_B_and_K_types): New function to destroy B and K info.
1306 1998-04-21 Jim Wilson <wilson@cygnus.com>
1308 * stmt.c (check_seenlabel): When search for line number note for
1309 warning, handle case where there is no such note.
1311 Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
1313 * genemit.c (gen_exp): Allow machine description to set mode of
1316 Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
1318 * alias.c (mode_alias_check): New function.
1319 (true_dependence, anti_dependence, output_dependence): Call
1322 Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
1324 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
1325 (MIPS_STACK_ALIGN): Similarly.
1327 * c-common.c (type_for_mode): Handle TI types.
1328 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
1329 (init_decl_processing): Handle TI types.
1330 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
1332 * mips.c (block_move_loop): Test Pmode == DImode instead of
1334 (expand_block_move, save_restore_insns): Likewise.
1335 (function_prologue, mips_expand_prologue): Likewise.
1336 (mips_expand_epilogue): Likewise.
1337 * mips.h (POINTER_SIZE): Allow specific targets to override.
1338 (Pmode): Allow specific targets to override.
1339 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
1340 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
1341 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
1342 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
1343 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
1344 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1345 * mips.md (indirect, tablejump & casesi support): Test for
1346 Pmode == DImode instead of TARGET_MIPS64.
1347 (call patterns): Likewise.
1349 Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1351 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
1352 for gen_rtx(MEM, ...).
1354 Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
1356 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
1357 to not be so gross, and to properly function with PIC.
1359 Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
1361 * frame.c (heapsort): Rename to frame_heapsort.
1363 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
1365 Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
1367 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
1369 Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
1371 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
1372 operands during and after reload.
1374 Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1376 * final.c (shorten_branches, init_insn_lengths): Move code
1377 to free label_align, uid_shuid, insn_lengths, insn_addresses
1378 and uid_align from the former function into the latter one;
1379 Add code to clear these variables.
1380 * sh.h (label_align): Remove declaration.
1382 Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
1384 * gcc.c (lang_specific_driver): Declare prototype properly so
1385 fatal can be passed to it without error.
1387 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
1388 * configure: Regenerate.
1389 * config.in: Add #undef's for strchr and strrchr.
1391 * protoize.c (toplevel): If we have rindex, but not strrchr, map
1393 (file_could_be_converted): Use strrchr, not rindex since rindex is
1394 not defined on Linux systems when _POSIX_SOURCE is defined.
1395 (file_normally_convertible): Ditto.
1396 (process_aux_info_file): Ditto.
1399 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
1400 a constant to an integer register, don't split the insns that do
1401 the simple AND and OR operations, rather just split each word, and
1402 let the normal movsi define split handle it further.
1404 Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1406 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
1407 (split_branches): Call init_insn_lengths.
1409 Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
1411 * i386.c: Include expr.h to get the change_address prototype
1414 Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
1416 * reg-stack.c (subst_asm_stack_regs): Change to return the last
1417 new insn generated by this function.
1418 (subst_stack_regs): Likewise.
1419 (convert_regs): Record the last newly generated insn and use
1420 it for change_stack () instead of INSN.
1422 Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
1424 * fix-header.c (enum special_file): Undefine enumerators if they
1425 are already defined by include files.
1426 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
1427 macro with '__' to not pollute user namespace.
1429 Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
1431 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
1433 Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
1435 * version.c: Bump for snapshot.
1437 Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
1439 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
1441 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
1442 Add missing -Dpentium* options.
1443 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
1444 instead of CPP_CPU_DEFAULT.
1445 (EXTRA_SPECS): Add entry for cpp_cpu_default.
1447 Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
1449 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
1450 negative in a stackless frame.
1451 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
1452 in stackless frame size. Support 64-bit stackless frame size.
1453 Combine fpmem offset calculations and don't add total_size to
1454 offset if not pushing a stack frame.
1456 Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
1458 * regmove.c (fixup_match_1): In three places, in flag_exceptions
1459 check, change p to q.
1461 Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
1463 * gcc.c (lang_specific_driver): Add new parm type to prototype.
1464 (added_libraries): New file scope static variable.
1465 (process_command): Initialize added_libraries. Pass it to
1466 lang_specific_driver.
1467 (main): Use added_libraries in check for no input files.
1469 Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
1471 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
1472 code generation. Use 64 bit instructions in 32 bit mode when
1473 possible. Use V9 return instruction. UltraSPARC optimizations.
1475 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
1477 Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
1479 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
1480 just pass zero. That will work regardless of the size of HARD_REG_SET.
1482 * libgcc2.c (__floatdisf): Fix a couple typos.
1484 Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
1486 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
1488 Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
1490 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
1492 Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
1494 * emit-rtl.c (operand_subword_force): If a register can not be
1495 accessed by words, copy it to a pseudo register.
1497 Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
1499 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
1501 Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
1503 * tree.h (mark_seen_cases): Delete declaration.
1505 Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
1507 * stmt.c (mark_seen_cases): Make static and add prototype.
1509 Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1511 * frame.c: Include stdlib.h and unistd.h to possibly get various
1512 function prototypes. The fixproto script guarantees these header
1513 files exist on the target system.
1514 * libgcc2.c: Likewise.
1516 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
1517 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
1518 function parameters.
1519 * libgcc2.c (__udiv_w_sdiv): Likewise.
1521 Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
1523 * varasm.c (asm_output_bss): Add prototype.
1524 (asm_output_aligned_bss): Likewise.
1526 * unroll.c (verify_addresses): Add prototype.
1528 * toplev.c: Add many prototypes. Too many to mention here.
1530 * stmt.c (check_seenlabel): Add prototype.
1532 * rtlanal.c (reg_set_p_1): Add prototype.
1533 (reg_set_last_1): Likewise.
1535 * reorg.c (find_dead_or_set_registers): Add prototype.
1537 * regmove (try_auto_increment): Add prototype.
1539 * reg-stack.c (pop_stack): Add prototype.
1541 * recog.c (validate_replace_rtx_1): Add prototype.
1542 (find_cosntant_term_loc): Likewise.
1544 * loop.c (regs_patch_p): Add prototype.
1545 (add_label_notes, count_nonfixed_reads): Likewise.
1546 (find_single_use_in_loop): Likewise.
1547 (express_from): Surround prototype with #ifdef.
1548 (giv_sort): Similarly.
1550 * jump.c (mark_modified_reg): Add prototype.
1552 * haifa-sched.c (is_prisky): Add prototype.
1553 (queue_to_ready): Likewise.
1555 * genextract.c (gen_insn): Add prototype.
1557 * genemit.c (max_operand_1): Add prototype.
1558 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
1559 (gen_expand, gen_explit, output_add_clobbers): Likewise.
1560 (output_init_mov_optab): Likewise.
1562 * genattrtab.c (attr_hash_add_rtx): Add prototype.
1563 (attr_hash_add_string, write_length_unit_log): Likewise.
1565 * genattr.c (init_range): Add prototype.
1567 * combine.c (sets_function_arg_p): Add prototype.
1569 * expr.c (store_constructor_field): Add prototype.
1570 (get_memory_usage_from_modifier): Likewise
1572 * expmed.c (synth_mult): Add prototype.
1573 (choose_multiplier, invert_mod2n): Likewise.
1575 * except.c (push_eh_entry): Add prototype.
1576 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
1577 (call_get_eh_context, start_dynamic_cleanup): Likewise.
1578 (start_dynamic_handler, can_throw): Likewise.
1579 (output_exception_table_entry, scan_region): Likewise.
1580 (eh_regs, set_insn_eh_region): Likewise.
1582 * dwarfout.c (decl_class_context): Add prototype.
1583 (output_inheritance_die, type_ok_for_scope): Likewise.
1585 * c-lex.c (skip_white_space_on_line): Add prototype.
1587 * alias.c (record_set): Add prototype.
1588 (find_base_term, base_alias_check): Likewise.
1590 * function.c (assign_outer_stack_local): Make static and add prototype.
1592 * haifa-sched.c (build_control_flow): Accept raw data as inputs
1593 instead of computing it locally. Callers changed.
1594 (find_rgns): Several new arguments. Callers changed.
1595 Generally clean up and comment better. Use dominators to
1596 identify reducible loops. Convert some flag arrays to bitmaps.
1597 Convert most of the code to work on pred/succ lists instead of
1598 an edge table. Add comments for future improvements.
1599 (schedule_insns): Allocate temporary tables for flow data, call
1600 routines to compute flow data and pass it along to children as
1602 (debug_control_flow): Delete. Use dump_bb_data instead.
1604 * basic-block.h (compute_dominators): Declare.
1606 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
1608 * basic-block.h: Declare them.
1610 Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
1612 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
1615 Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
1617 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
1618 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
1619 node is non NULL. Cache last file name and file name identifier node.
1621 1998-04-15 Mark Mitchell <mmitchell@usa.net>
1623 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
1624 the length of an array, not TREE_TYPE.
1626 Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
1628 * flow.c (sbitmap_union_of_successors): New function.
1629 * basic-block.h (sbitmap_union_of_successors): Declare it.
1631 Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
1633 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
1634 Set gnu_ld to gnu_ld_flag inside main loop.
1637 Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
1639 * toplev.c (compile_file): Call init_parse using new interface.
1640 (init_lex): Remove declaration.
1642 * c-lex.c (init_parse): Now returns char* containing filename.
1644 Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
1646 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
1648 Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
1650 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
1651 (gen{extract,peep,opinit,output}): Ditto.
1653 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
1654 global definition so print-rtl.o can be linked in.
1655 * gen{peep,recog}.c (insn_attr_name): Ditto.
1657 Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
1659 * fixincludes: discard empty C++ comments, as found in sys/time.h
1662 Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1664 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
1667 Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
1669 * emit-rtl.c (operand_subword): Rework slightly to avoid
1670 bogus warning from previous change.
1672 Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
1674 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
1675 Nov 8 find_replacement change. Move decls of get_unaligned_address
1676 * alpha.h: ... here.
1678 Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
1680 * function.c (assign_parms): Initialize unsignedp before passing
1681 its pointer to promote_mode.
1683 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
1684 (write_test_expr): Allow MATCH_INSN.
1686 Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
1688 * install.texi: Update section on warnings that can be safely ignored.
1690 Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
1692 * mips.md (reload_outdi): Change the scratch mode from DImode to
1693 TImode. New variable scratch, used instead of operand[2] in template.
1694 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
1696 Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
1698 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
1700 Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
1702 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
1704 Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
1706 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
1707 (ASM_FINISH_DECLARE_OBJECT): Likewise.
1709 * Idea and part of the patch from HJ.
1710 * Makefile.in: auto-host.h renamed from auto-config.h. All references
1712 (distclean): Remove auto-build.h too.
1713 * configure.in: Rename host autoconf generated file to auto-host.h.
1714 If host != build, then run autoconf to generate auto-build.h for
1715 the build machine and include it in build_xm_files.
1716 Check for wait.h and sys/wait.h.
1718 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
1719 TRULY_NOOP_TRUNCATION.
1721 Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
1723 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
1725 Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
1727 * invoke.texi (ld options) Include memset requirements
1728 for options -nodstdlib and -nodefaultlibs.
1730 1998-04-12 Paul Eggert <eggert@twinsun.com>
1732 This change is from an idea suggested by Arthur David Olson.
1734 * c-common.c (decl_attributes, record_function_format,
1735 check_format_info, init_function_format_info):
1736 Add support for strftime format checking.
1737 (enum format_type): New type.
1738 (record_function_format): Now static, and takes value of type
1739 enum format_type instead of int.
1740 (time_char_table): New constant.
1741 (struct function_format_info): format_type member renamed from is_scan.
1742 (check_format_info): Use `warning' rather than sprintf followed by
1743 `warning', to avoid mishandling `%' in warnings.
1744 Change `pedwarn' to `warning', since these warnings do not necessarily
1745 mean the program does not conform to the C Standard, as the code
1746 need not be executed.
1748 * c-tree.h (record_function_format): Remove decl; no longer extern.
1750 * extend.texi: Add documentation for strftime format checking.
1752 Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
1754 * mips/ecoffl.h: Do not include mips.h.
1755 * mips/elf.h: Likewise.
1757 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
1758 * mips/ecoff.h: Include "mips/mips.h".
1760 Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
1762 * version.c: Bump for snapshot.
1764 Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
1766 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
1767 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
1768 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
1769 between loop optimization passes.
1770 * rtl.h: Updated appropriately.
1772 Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
1774 Reinstall this patch from Jason.
1775 * function.c (push_function_context_to): Don't call init_emit.
1777 Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
1779 * rtl.c (read_skip_spaces): Prevent infinite loops upon
1780 encountering unterminated comments.
1782 Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
1784 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
1787 * configure.in: Handle --with-fast-fixincludes.
1788 (fixincludes): If --with-fast-fixincludes, then use a different
1789 fixincludes program by default.
1790 * Makefile.in (fixinc.sh): New rule.
1792 Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
1794 * i386.md (movqi+1): Handle invalid QI register.
1795 (movsf_push-1): Likewise.
1797 Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
1799 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
1801 symbolic_memort_operand(), call32_operand(), int8_operand(),
1802 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
1804 uint16_operand(): Made static.
1806 Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
1808 * calls.c (expand_call): Fix typo.
1810 Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
1812 * c-lex.c (finput): New global.
1813 (init_parse): Always included. Handle !USE_CPPLIB using
1814 code originally in compile_file.
1815 (finish_parse): Update for CPPLIB.
1816 * toplev.c (init_parse, finish_parse): Declare.
1817 (finput): Delete variable. Now in front-ends.
1818 (compile_file): Remove code which is now handled by init_parse
1819 which is unconditionally called. Similarly for finish_parse.
1821 Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
1823 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
1824 ASM_WEAKEN_LABEL): Add.
1826 Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
1828 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
1829 * configure.in (alpha-*-linux*): Use them.
1831 Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
1833 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
1834 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
1835 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
1836 (build_expr_wfl): New prototype declaration.
1837 * tree.c (build_expr_wfl): New function, to build
1838 EXPR_WITH_FILE_LOCATION nodes.
1839 (copy_node): Don't zero TREE_CHAIN if copying a
1840 EXPR_WITH_FILE_LOCATION node.
1841 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
1842 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
1844 Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
1846 * configure.in (v850): Use t-v850.
1847 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
1849 * protoize.c (creat, read, write): Do not declare.
1851 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
1852 refer to the CODE_LABEL before a dispatch table.
1854 * invoke.texi: Add ARC options.
1856 * gcc.c (proces_command): Improve error message for -o with
1859 * i386/x-cygwin32 (CLIB): Link in advapi32.
1861 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
1862 (ASM_IDENTIFY_LANGUAGE): Likewise.
1864 * i386.md (movqi recognizer): Don't perfom byte increment into
1867 * configure.in (x86-dg-dgux): Run fixinc.dgux.
1869 * i370.h: Fix typo in GEN_INT changes.
1871 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
1872 of an empty arglist in prototype.
1874 * Makefile.in: Remove bytecode crud that crept back in after the
1877 1998-04-08 Brendan Kehoe <brendan@cygnus.com>
1879 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
1880 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
1882 Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
1884 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1886 Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
1888 * c-lex.c (is_class_name): Delete declaration.
1889 (whitespace_cr): Make static and add prototype.
1890 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
1891 yylex, get_directive_line): Turn declarations into prototypes.
1892 (position_after_whitespace, check_newline, yyerror,, is_class_name,
1893 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
1895 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
1897 * gencodes.c (gen_insn): Add prototype.
1898 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
1899 gen_peephole): Add prototypes.
1900 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
1902 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
1903 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
1904 genheader, gencode): Add prototypes.
1905 * genopinit.c (gen_insn): Add prototype.
1906 * genoutput.c (output_prologue, output_epilogue, scan_operands,
1907 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
1908 gen_expand, gen_split, n_occurrences): Add prototypes.
1909 * genpeep.c (gen_peephole): Add prototype.
1910 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
1911 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
1912 labels_in_range_p, count_loop_regs_set, note_addr_stored,
1913 loop_reg_used_before_p, scan_loop, replace_call_address,
1914 skip_consec_insns, libcall_benefit, ignore_some_movables,
1915 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
1916 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
1917 check_final_value, record_giv, update_giv_derive, basic_induction_var,
1918 simplify_giv_expr, general_induction_var, consec_sets_giv,
1919 check_dbra_loop, express_from, combine_givs_p, combine_givs,
1920 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
1921 last_use_this_basic_block, record_initial, update_reg_last_use,
1922 iteration_info, analyze_loop_iterations, insert_bct,
1923 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
1926 Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
1928 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1930 1998-04-07 Ken Raeburn <raeburn@cygnus.com>
1932 * config/mips/mips.c (siginfo): Deleted.
1933 (override_options): Don't install SIGINFO signal handler.
1935 Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
1937 * loop.c (check_dbra_loop): When normalize comparison_val, add check
1938 to verify it is non-negative.
1940 Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
1942 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
1943 (alpha_expand_block_clear): Likewise.
1945 Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
1947 * tree.h (sizetype_tab): Fix previous change for K&R.
1949 Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
1951 * version.c: Bump for snapshot.
1953 Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
1955 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
1956 Add USG and POSIX to xm_defines.
1958 Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
1960 * gcc.c: Add linker spec.
1961 (link_command_spec): Use %(linker) instead of ld.
1962 (main): If collect2 is requested as the linker, see if it exists;
1963 if not, use ld instead.
1965 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
1967 (install-collect2): Install as collect2, not ld.
1969 * configure.in(will_use_collect2): It's named collect2 now.
1971 * collect2: Remove checks to see if we were invoked recursively.
1972 (collect_execute): Use _spawnvp under cygwin32.
1974 Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
1976 * haifa-sched.c (build_control_flow): Set unreachable for block whose
1977 only predecessor is itself.
1979 Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1981 * c-parse.in: Include system.h, and remove stuff now made redundant.
1984 * protoize.c: Likewise. Properly check for cpp stringification.
1986 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
1989 * objc/Make-lang.in (objc-parse.o): Likewise.
1991 Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1993 * gansidecl.h: Check if compiler supports __attribute__. Provide
1994 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
1995 __attribute__ when its available. Also provide definitions for
1996 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
1997 terms of ATTRIBUTE_PRINTF.
1999 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
2002 Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
2004 * combine.c (can_combine_p): Include successor in volatile test.
2006 Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2008 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
2011 Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
2013 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
2014 in prototype and definition.
2016 Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
2018 * version.c: Bump for snapshot.
2020 Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
2022 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
2023 alpha_expand_unaligned_store_words.
2025 Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
2027 * i386.md (movsf_push, movsf_mem): Remove.
2028 (movsf_push): Rename from movsf_push_nomove and move in front of
2029 movsf. Use nonmemory_operand predicate and don't bother checking
2031 (movsf_push_memory): New pattern.
2032 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
2033 both operands refer to memory then force operand[1] into a register.
2034 (movsf_normal): Change to unnamed pattern.
2035 Likewise for movdf, movxf, and friends.
2037 Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
2039 * version.c: Bump for snapshot.
2041 Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
2043 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
2045 Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
2047 * configure.in (mips-wrs-vxworks): New target.
2049 Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
2051 * expmed.c (synth_mult): The value -1, has no zeros, so it can
2052 never have the form ...011.
2054 * version.c: Bump for snapshot.
2056 Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
2058 * i386.c (asm_output_function_prefix, load_pic_register):
2059 Use ASM_GENERATE_INTERNAL_LABEL properly.
2060 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
2061 (print_operand): Ignore it.
2062 (load_pic_register): Use it for the got load call.
2063 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
2064 (prologue_get_pc_and_set_got): Likewise.
2065 * i386.h: Update print_operand docs.
2067 Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
2069 * i386.md (ffssi, ffshi): Rewrite as define_expands.
2070 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
2071 * i386.c (notice_update_cc): Recognize unspec 5.
2073 Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
2075 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
2076 * alpha.c (print_operand): Handle it.
2077 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
2079 (fix_truncdfdi2): Likewise.
2081 Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
2083 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
2084 of these into a single struct, with additional [us]sizetype entries.
2085 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
2086 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
2089 Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
2091 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
2093 Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
2095 * haifa-sched.c (split_block_insns): Don't supress insn splitting
2096 on subsequent passes.
2098 * alpha.c (hard_fp_register_operand): New function.
2099 * alpha.h (PREDICATE_CODES): Add it.
2100 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
2101 f<-m case and accompanying define_split.
2102 (trapb): Use a unique unspec_volatile number.
2104 Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
2106 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
2109 Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
2111 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
2114 * haifa-sched.c: Mirror recent changes from gcc2.
2116 Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
2118 * Makefile.in (insn*.o): Depend on system.h.
2120 * pa.c (output_global_address): Initialize base.
2121 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
2123 1998-04-03 Mike Stump <mrs@wrs.com>
2125 * gthr.h: Support systems that don't have weak, but have threads.
2126 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
2127 * gthr-vxworks.h: New file.
2128 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
2130 Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
2132 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
2134 1998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
2136 * ginclude/va-i960.h (va_end): Change void * to void.
2138 Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2140 * Makefile.in (choose-temp.o): Depend on system.h.
2142 * choose-temp.c: Include system.h when IN_GCC.
2144 Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
2145 Richard Henderson <rth@cygnus.com>
2147 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
2148 (move_replacements): New function.
2149 * reload.h: Prototype it.
2151 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
2153 Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
2155 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
2158 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
2159 (gen_highpart): Likewise.
2160 * final.c (alter_subreg): Allow the target to hook by-mode subreg
2161 hard register number changes.
2163 Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
2165 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
2166 rnbitsize, rnmode and rinner.
2167 (make_range): Initialize type.
2168 (fold): Initialize arg0, arg1 and varop.
2170 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
2172 (expand_function_start): Initialize last_ptr.
2174 * stor-layout.c (layout_record): Initialize desired_align.
2175 (get_best_mode): Initialize unit.
2177 * tree.c (copy_node): Initialize length.
2179 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
2181 * caller-save.c (insert_save_restore): Initialize pat, code and
2184 * emit-rtl.c (push_to_sequence): Initialize top.
2185 (push_topmost_sequence): Likewise.
2187 * genattrtab.c (simplify_by_exploding): Initialize defval.
2189 * profile.c (branch_prob): Initialize dest.
2191 * rtl.h (note_stores): Remove duplicate prototype.
2192 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
2194 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
2195 strings that are not actually lengths.
2197 * genattrtab.c: Make generated file use system.h, instead of
2198 including stdio.h, etc directly.
2199 * genextract.c, genopinit.c, genoutput.c: Likewise.
2200 * genpeep.c, genrecog.c: Likewise
2202 * genoutput.c (process_template): Mark operands in the generated
2203 function as potentially unused if compiling with GNU CC.
2205 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
2207 * pa.md (reload peepholes): Remove unused variable "mode".
2209 Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
2211 * config/arm/thumb.h: Add super interworking support.
2212 * config/arm/thumb.c: Add super interworking support.
2213 * config/arm/thumb.md: Add super interworking support.
2214 * config/arm/lib1funcs.asm: Add interworking support.
2215 * config/arm/lib1thumb.asm: Add super interworking support.
2216 * config/arm/t-semi: Add interworking support.
2217 * config/arm/t-thumb: Add interworking support.
2218 * config/arm/README-interworking: New file.
2220 Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
2222 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
2223 (MD_STARTFILE_PREFIX): Unset.
2225 1998-04-01 Mark Mitchell <mmitchell@usa.net>
2227 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
2228 entity in a local scope.
2230 * fold-const.c (fold): Call truthvalue_conversion for values which
2231 are folded to boolean type.
2233 Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
2235 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
2236 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
2237 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
2238 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
2239 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
2240 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
2241 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
2242 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
2243 * md.texi: Likewise.
2245 Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
2247 * fixincludes (limits.h): Fix nested comments in Motorola's
2248 limits.h and sys/limits.h.
2250 Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
2252 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
2253 as dest of expand_binop call.
2255 * alpha.md (extzv): Correct check for valid operand[2] values.
2257 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
2260 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
2262 Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
2264 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
2265 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
2267 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
2268 cygwin32 can override this to allow both unix and win32 style PATHs.
2270 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
2271 style environment paths.
2273 Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2275 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
2276 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
2277 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
2280 * cpphash.c: Include config.h.
2281 * cppalloc.c: Include system.h. Add parameters to various
2282 function prototypes.
2283 * cpperror.c: Likewise.
2284 * cppexp.c: Likewise.
2285 * cpphash.c: Likewise.
2286 * cpplib.c: Likewise.
2287 * cppmain.c: Likewise.
2288 * fix-header.c: Likewise.
2290 * gen-protos.c: Likewise.
2291 * gengenrtl.c: Likewise.
2292 * halfpic.c: Likewise.
2294 * scan-decls.c: Likewise.
2297 Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
2299 * README.gnat: Add lang_print_xnode definition.
2301 Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2303 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
2304 fmovecr on the 68060.
2306 Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
2308 * genemit.c (DONE): Rework so that it works in the true arm if
2309 an if-else conditional.
2312 Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
2314 * rs6000.c: Do not include stdioh or ctype.h anymore.
2316 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
2318 (stor-layout.o): Likewise.
2319 * c-typeck.c: Include rtl.h and expr.h.
2320 * stor-layout.c: Likewise.
2322 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
2323 All callers changed.
2324 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
2325 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
2326 All callers changed.
2328 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
2330 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
2332 * tree.h (lang_print_xnode): Provide prototype.
2334 Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
2336 * version.c: Bump for snapshot.
2338 Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
2340 * objc/sendmsg.c (__objc_block_forward): Add braces for return
2341 value if INVISIBLE_STRUCT_RETURN.
2343 * pa.c (arith_double_operand): Fix parens.
2345 * haifa-sched.c (print_pattern): Correct arg to sprintf.
2347 * Makefile.in (libgcc1.null): Make return type for __foo void.
2349 Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
2351 * pa.h: Add declarations for many functions defined in pa.c.
2353 * genpeep.c (main): Remove unused variable 'i' from the generated
2356 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
2357 (gen_split): Likewise.
2358 (main): Rework generated definitions of DONE and FAIL so that they
2359 no longer use gotos. Avoids warnings about unused labels.
2361 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
2362 unused "junk" variable.
2364 * genattrtab.c (write_complex_function): Add a default case in
2365 generated switch statement to keep -W -Wall quiet.
2367 Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
2369 * invoke.texi: Document more ARM and Thumb command line options.
2371 * config/arm/xm-thumb.h: New file.
2373 Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
2375 * stmt.c (expand_expr_stmt): Must generate code for
2376 statements within an expression (gcc's `({ ... )}')
2377 even if -fsyntax-only.
2379 Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2380 Jeffrey A Law (law@cygnus.com)
2382 * basic-block.h (basic_block_computed_jump_target): Declare.
2383 * flags.h: (current_function_has_computed_jump): Declare.
2384 * flow.c: (basic_block_computed_jump_target): Define.
2385 (flow_analysis): Allocate it. Set current_function_has_computed_jump
2387 (find_basic_blocks): Set current_function_has_computed_jump and
2388 elements of basic_block_computed_jump_target to 1 as appropriate.
2389 * function.c: (current_function_has_computed_jump): Define.
2390 * global.c (global_conflicts): Don't allocate pseudos into stack regs
2391 at the start of a block that is reachable by a computed jump.
2392 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
2394 (subst_stack_regs): Undo change from Sep 4 1997.
2395 (uses_reg_or_mem): Now unused, deleted.
2396 * stupid.c (stupid_life_analysis): Compute
2397 current_function_has_computed_jump.
2398 (stupid_find_reg): Don't allocate stack regs if the function has a
2400 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
2401 the current function has a computed jump. Use the global value
2404 Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
2406 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
2407 (DWARF2_UNWIND_INFO): Define to zero.
2409 Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
2411 * gcc.c (set_std_prefix): Add declaration.
2412 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
2413 suffix, and update the standard prefix prefix.c uses.
2415 * prefix.c (std_prefix): New global to hold default prefix value.
2416 (get_key_value): Change to use std_prefix instead of PREFIX.
2417 (translate_name): Ditto.
2418 (update_path): Ditto.
2419 (get_key_value): Release allocated scratch storage.
2420 (set_std_prefix): New function to reset the standard prefix.
2422 Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2424 * sh.c (find_barrier): Fix calculations for alignment increase.
2426 Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
2428 * Makefile.in (stmp-fixinc): If we're actually fixing include
2429 files, copy gcc's assert.h into the fixed include dir.
2430 * fixincludes (assert.h): Avoid any attempts to fix a probably
2431 broken system specific assert.h file.
2432 * fixproto (stdlib.h): Make sure, it'll contain a definition of
2435 Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
2437 * regclass.c (reg_scan_mark_refs): Be more selective about
2438 when we mark a register with REGNO_POINTER_FLAG.
2440 Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2442 reload inheritance improvement:
2443 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
2444 Change meaning: index is now hard reg number.
2445 (reg_reloaded_valid, reg_reloaded_dead): New variables.
2446 (reload_spill_index): Content is now a hard reg number.
2447 (reload_as_needed): Change to fit new variable meaning.
2448 (forget_old_reloads_1, allocate_reload_reg): Likewise.
2449 (choose_reload_regs, emit_reload_insns): Likewise.
2451 Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2453 * regclass.c (record_reg_classes): '?' increases cost by two.
2455 * reload.c (find_reloads): Double previous costs. Output
2456 reloads cost one unit extra.
2458 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
2459 boiled down to && ! 0.
2461 * reload.c (find_equiv_reg): Also consider a goal offset from the
2462 frame pointer to be constant.
2464 Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2466 * sh.h (OPTIMIZATION_OPTIONS): Define.
2468 Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
2470 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
2472 Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
2474 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
2476 Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
2478 * c-common.c (check_format_info): Initialize type, is_type. New local
2479 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
2480 when pedantic if used with integral format specifier.
2482 Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
2484 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
2486 (function_arg_padding): Declare.
2488 * rs6000.c: Include system.h.
2489 (function_arg_padding): Change return type to int, cast enum's to
2492 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
2493 * collect2.c (scan_prog_file): Add explicit braces to avoid
2496 * dbxout.c (dbxout_type_fields): Add braces around empty body in
2498 (dbxout_type): Likewise.
2500 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
2501 `ptt_size' from int to size_t.
2502 (rs6000_file_start): Likewise for `i'.
2503 (rs6000_replace_regno): Add default case in enumeration switch.
2504 (output_epilog): Remove unused variable `i'.
2505 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
2508 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
2510 (get_issue_rate, non_logical_cint_operand): Add prototype.
2511 (rs6000_output_load_toc_table): Ditto.
2513 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
2516 Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
2518 * config/arm/thumb.c: New File. Support for ARM's Thumb
2520 * config/arm/thumb.h: New File. Thumb definitions.
2521 * config/arm/thumb.md: New File. Thumb machine description.
2522 * config/arm/tcoff.h: New File. Thumb COFF support.
2523 * config/arm/t-thumb: New File. Thumb makefile fragment.
2524 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
2526 * configure.in: Add Thumb-coff target.
2527 * configure: Add Thumb-coff target.
2528 * config.sub: Add Thumb-coff target.
2530 Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
2532 * loop.c (scan_loop): Initialize move_insn_first to zero.
2534 Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
2536 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
2537 * config/i386/rtems.h: Likewise.
2538 * config/i960/rtems.h: Likewise.
2539 * config/m68k/rtems.h: Likewise.
2540 * config/mips/rtems64.h: Likewise.
2541 * config/pa/rtems.h: Likewise.
2542 * config/rs6000/rtems.h: Likewise.
2543 * config/sh/rtems.h: Likewise.
2544 * config/sparc/rtems.h: Likewise.
2546 Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2548 * pa.c (emit_move_sequence): If in reload, call find_replacement.
2550 Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
2552 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
2554 * collect2.c (find_a_file): Add debugging.
2555 (find_a_file): Test for win32 style absolute paths if
2556 DIR_SERPARATOR is defined.
2557 (prefix_from_string): Add debugging.
2558 (main): Test for debug command line switch at start of program
2560 (main): Use GET_ENVIRONMENT rather than getenv().
2561 (prefix_from_env): Use GET_ENVIRONMENT.
2563 1998-03-24 Mark Mitchell <mmitchell@usa.net>
2565 * cplus-dem.c (optable): Add sizeof.
2566 (demangle_template_value_parm): New function containing code
2567 previously found in demangle_template.
2568 (demangle_integral_value): New function which handles complicated
2569 integral expressions.
2570 (demangle_template): Use them.
2572 Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2574 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
2575 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
2576 genattrtab.o, genoutput.o): Depend on system.h.
2578 * genattr.c: Include system.h. Add arguments to various function
2579 prototypes. Remove redundant prototype of read_rtx().
2580 * genattrtab.c: Likewise.
2581 * gencodes.c: Likewise.
2582 * genconfig.c: Likewise.
2583 * genemit.c: Likewise.
2584 * genextract.c: Likewise.
2585 * genflags.c: Likewise.
2586 * genopinit.c: Likewise.
2587 * genoutput.c: Likewise.
2588 * genpeep.c: Likewise.
2589 * genrecog.c: Likewise.
2591 1998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
2593 * c-lang.c (lang_print_xnode): New function.
2594 * objc/objc-act.c (lang_print_xnode): Likewise.
2595 * print-tree.c (print_node): Call it
2597 Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
2599 * c-parse.in: Recognize protocol qualifiers in class
2600 definitions for objc.
2602 (yyerror): Remove redundant decl.
2603 (yyprint): Fix prototype.
2605 Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
2607 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
2609 * stmt.c (unroll_block_trees): Free block_vector if needed.
2611 Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
2613 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
2614 (zero_extendsidi2): Avoid useless copy.
2615 (iordi_zext): New pattern.
2616 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
2618 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
2620 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
2621 (ashldi3): Allow constant shift count in range ]32,63].
2622 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
2624 1998-03-22 Mark Mitchell <mmitchell@usa.net>
2626 * tree.h (IS_EXPR_CODE_CLASS): New macro.
2628 Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
2630 * h8300.h (CONST_COSTS): Remove definition.
2631 (DEFAULT_RTX_COSTS): Define.
2633 Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
2635 * config/sh/rtems.h: Switched from ELF to COFF.
2637 Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2639 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
2641 Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
2643 * version.c: Bump for snapshot.
2645 Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
2646 Geoff Noer <noer@cygnus.com>
2648 * Makefile.in: Various fixes for building cygwin32 native toolchains.
2650 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
2651 * objc/Make-lang.in: Likewise.
2653 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
2655 Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
2657 * configure.in: Handle with-PACKAGE=no correctly
2659 Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2661 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
2662 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
2663 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
2664 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
2665 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
2666 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
2667 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
2668 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
2669 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
2670 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
2673 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
2674 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
2675 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
2676 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
2677 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
2678 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
2679 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
2680 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
2681 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
2682 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
2683 xcoffout.c: Include system.h. Organize include ordering so
2684 that stdarg/varargs comes before other system headers. Remove
2685 spurious casts of functions assured of a prototype in system.h.
2687 Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
2689 * reg-stack.c (pop_stack): Define. Pops any register on the
2690 regstack and adjusts regstack.
2691 (compare_for_stack_reg): Use pop_stack.
2693 Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
2695 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
2698 Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
2700 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
2702 * fold-const.c (fold): Replace sign-extension of a zero extended
2703 value by a single zero extension.
2705 Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
2707 * except.c (init_eh): Do nothing.
2708 (save_eh_status): Call init_eh_for_function, not init_eh.
2709 * function.c (push_function_context_to): Don't call init_emit.
2711 Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
2713 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
2716 Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2718 * final.c (shorten_branches): Add parentheses around +/- in
2721 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
2723 Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
2725 * regclass.c (memory_move_secondary_cost): Wrap uses of
2726 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
2729 Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2731 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
2733 * flow.c (life_analysis): #include <sys/types.h> to make sure
2735 * cplus-dem.c (demangle_function_name): Likewise.
2737 Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
2739 * final.c (insn_noperands): Change type to unsigned int.
2740 (final_scan_insn): Likewise for noperands;
2741 properly check operand number boundaries.
2743 Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
2745 * alpha.md (extzv): Don't reject register operands. Fix
2748 Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
2750 * dbxout.c (dbxout_function_end): Fix last change. The correct
2751 predicate is ASM_OUTPUT_SECTION_NAME.
2753 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2755 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
2756 (ashlsi): Use match_dup 1 instead of match_operand 2.
2758 Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2760 * fold-const.c (operand_equal_for_comparison_p): See if equal
2761 when nop conversions are removed.
2763 Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2765 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
2766 don't use ORIGINAL_TARGET unless REG.
2768 Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2770 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
2772 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2774 * loop.c (struct movable): New field move_insn_first.
2775 (scan_loop): In consec sets code, set it. Clear it otherwise.
2776 (move_movables): In consec sets code, use it. Copy REG_NOTES from
2777 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
2780 Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
2782 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
2783 is large, and the system doesn't provide atoll or atoq.
2786 * alpha/xm-vms.h (HAVE_ATOLL): Define.
2787 Reported by Klaus Kaempf <kkaempf@progis.de>.
2789 Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2791 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
2792 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
2794 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
2795 test !ACCUMULATE_OUTGOING_ARGS.
2797 * collect2.c (write_c_file_glob): Wrap function definition in
2798 macro test !LD_INIT_SWITCH.
2800 * combine.c (try_combine): Wrap variables `cc_use' and
2801 `compare_mode' in macro test EXTRA_CC_MODES.
2803 * cpplib.c (do_ident): Remove unused variable `len'.
2804 (skip_if_group): Remove unused variables `at_beg_of_line' and
2806 (cpp_get_token): Remove unused variable `dummy'.
2808 * dbxout.c (scope_labelno): Move static variable definition inside
2809 the one function scope where it is used.
2810 (dbxout_function_end): Wrap prototype and definition in
2811 macro test !NO_DBX_FUNCTION_END.
2813 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
2814 in macro test !MIPS_DEBUGGING_INFO.
2816 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
2817 into the scope where it is used. Wrap empty else-statement body
2820 * fix-header.c: Fix typo in comment.
2821 (inf_skip_spaces): Cast results of INF_UNGET to (void).
2822 (check_protection, main): Likewise.
2824 * flow.c (find_basic_blocks_1): Remove dangling comment text.
2826 * function.c (contains): Wrap prototype and definition in macro
2827 test HAVE_prologue || HAVE_epilogue.
2828 (fixup_var_refs_1): Remove unused variable `width'.
2830 * gen-protos.c (main): Remove unused variable `optr'.
2832 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
2834 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
2835 (__sjpopnthrow): Remove unused variable `jmpbuf'.
2836 (__throw): Remove unused variable `val'.
2838 * protoize.c: Check for a previously existing definition before
2839 defining *_OK macros.
2841 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
2843 Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2845 * vax.h (ADDR_VEC_ALIGN): Define.
2847 Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
2849 * gcc.c (default_arg): Don't wander off the end of allocated
2852 (From Geoffrey Keating <geoffk@ozemail.com.au>)
2853 * rs6000.c (small_data_operand): Ensure that any address
2854 referenced relative to the small data area is inside the SDA.
2856 Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
2858 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
2860 Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2862 * except.h (in_same_eh_region): New prototype.
2863 (free_insn_eh_region, init_insn_eh_region): New prototypes.
2864 * except.c (insn_eh_region, maximum_uid): New static variables.
2865 (set_insn_eh_region): New static function to set region numbers.
2866 (free_insn_eh_region): New function to free EH region table.
2867 (init_insn_eh_region): New function to initialize EH region table.
2868 (in_same_eh_region): New function used to determine if two rtl
2869 instructions are in the same exception region or not.
2870 * final.c (final): Initialize the table indicating which instructions
2871 belong in which exception region.
2872 * genpeep.c (main): Add "except.h" to include file list in generated
2874 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
2875 peepholes involving calls and unconditional branches.
2877 Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
2879 * README.gnat: New file.
2881 Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2883 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
2884 "recog.h" for offsettable_memref_p.
2885 (legitimize_pic_address): Remove unused variable `offset'.
2886 (notice_update_cc): Change return type to void. Add default label
2888 (standard_68881_constant_p): Remove unused variable mode.
2889 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
2890 (const_int_cost): Explicitly declare as returning int.
2891 (output_dbcc_and_branch): Change return type to void.
2893 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
2894 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
2895 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
2897 Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
2899 * version.c: Bump for snapshot.
2901 Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2903 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
2904 check for 'M' constraint.
2906 Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
2908 * cccp.c (create_definition): If pedantic, call pedwarn for macro
2911 Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2913 * i386.c (ix86_logical_operator): New function.
2914 (split_di): Ensure that when a MEM is split, the resulting MEMs have
2916 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
2919 Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2920 Richard Earnshaw <rearnsha@arm.com>
2921 Nick Clifton <nickc@cygnus.com>
2923 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
2925 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
2927 * cse.c (rtx_cost): Provide a default case in an enumeration
2928 switch, and call DEFAULT_RTX_COSTS if it's defined.
2930 Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
2932 * basic-block.h (compute_preds_succs): Change return type in
2934 * flow.c (compute_preds_succs): Likewise in function definition.
2936 * regmove.c (find_matches): Cast char used as array index to unsigned char
2939 Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
2941 * i386.h (RTX_COSTS): Insert braces around nested if.
2942 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
2945 * gcc.c (default_compilers): Properly put brackets around array elements in
2948 * getopt.c (_getopt_internal): Add explicit braces around nested if;
2951 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
2952 (record_reg_life_pat): Add explicit parens around && and || in expression.
2953 (stack_reg_life_analysis): Add parens around assignment used as expression.
2954 (convert_regs): Likewise.
2956 Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
2958 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
2959 change callers accordingly.
2961 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
2962 and definition; change all callers accordingly.
2964 * except.c (init_eh): Avoid assignment of unused return value of
2965 build_pointer_type; cast it to void, instead, and remove unused
2968 * gcc.c (lang_specific_driver): Define prototype only #ifdef
2969 LANG_SPECIFIC_DRIVER.
2970 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
2972 * genoutput.c (output_epilogue): Initialize next_name to 0.
2974 * real.c (efrexp): #if 0 prototype and function definition.
2975 (eremain): Likewise.
2982 * reload.c (push_secondary_reload): Define prototype only
2983 #ifdef HAVE_SECONDARY_RELOADS.
2985 * varasm.c (assemble_static_space): Define rounded only
2986 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
2988 Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2990 * i386.md (andsi): Add default case in enumeration switch.
2995 Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
2997 * c-decl (finish_struct): Change type of min_align to unsigned.
2999 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
3000 remove unused variable len.
3002 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
3003 comment indicating this is proper behaviour.
3004 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
3006 (based_loc_descr): Likewise.
3008 * enquire.c (bitpattern): Change type of variable i to unsigned.
3010 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
3012 * flow.c (life_analysis): Change type of variable i to size_t;
3013 remove unused variable insn.
3015 * gcc.c (translate_options): Change type of variables optlen, arglen and
3017 (input_filename_length): Change type to size_t.
3018 (do_spec_1): Change type of variable bufsize to size_t.
3019 (main): Change type of variables i and j to size_t;
3020 remove subblock local definition of variable i.
3021 (lookup_compiler): Change type of second argument to size_t;
3022 change type of variable i to size_t.
3024 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
3026 * genopinit.c (get_insn): Change type of variable pindex to size_t.
3028 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
3030 * global.c (global_alloc): Change type of variable i to size_t.
3032 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
3034 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
3035 (expand_end_case): Change type of variable count to size_t.
3037 * toplev.c (main): Change type of variable j to size_t.
3038 (set_target_switch): Change type of variable j to size_t.
3039 (print_switch_values): Change type of variable j to size_t;
3040 remove unused variable flags.
3042 * varasm.c (assemble_variable): Change type of variable align to size_t.
3043 (const_hash_rtx): Change type of variable i to size_t.
3045 1998-03-11 Mark Mitchell <mmitchell@usa.net>
3047 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
3048 TREE_VEC if that's what it really is.
3050 Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
3052 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
3055 Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
3057 * gthr.h: Changed the comment about return values.
3058 * gthr-solaris.h (__gthread_once): Do not use errno; return the
3059 error number instead of -1.
3060 (__gthread_key_create): Any non-zero return value is an error.
3061 * libgcc2.c (eh_context_initialize): Check for non-zero return
3062 value from __gthread_once.
3063 Check that the value of get_eh_context was really changed.
3065 Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3067 * sh.h (LOOP_ALIGN): Only align when optimizing.
3068 * sh.c (find_barrier): Clear inc for CODE_LABELs.
3069 When not optimizing, calculate alignment for BARRIERs directly.
3071 Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3073 * final.c (shorten_branches): Remove conditionalizing on
3074 SHORTEN_WITH_ADJUST_INSN_LENGTH
3075 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
3077 Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
3079 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
3080 an unconditional jump around deleted blocks.
3082 Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
3084 * profile.c (branch_prob): If see computed goto, call fatal instead of
3087 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
3089 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
3090 Patch from Bruno Haible.
3092 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
3093 (assign_parms): Set aggregate if hide_last_arg and last_named.
3095 Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3097 * final.c (shorten_branches): Initialize insn_addresses.
3099 Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3101 * sh.h (MUST_PASS_IN_STACK): Define.
3103 Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
3105 * final.c (shorten_branches): Fix minor logic error in
3106 ADDR_DIFF_VEC shortening support.
3108 Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
3110 * version.c: Bump for snapshot.
3112 Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
3114 * haifa-sched.c (is_cfg_nonregular): Change return type to
3115 an int. No longer compute "estimated" number of edges. Use
3116 computed_jump_p instead of duplicating the code. Fixup/add
3118 (build_control_flow): Returns a value indicating an irregularity
3119 in the cfg was detected. Count the number of edges in the cfg.
3120 allocate various edge tables.
3121 (find_rgns): No longer look for unreachable blocks.
3122 (schedule_insns): Do not allocate memory for edge tables here.
3123 Free memory for edge tables before returning. Do not perform
3124 cross block scheduling if build_control_flow returns nonzero.
3125 * flow.c (compute_preds_succs): More accurately determine when
3128 * basic-block.h (free_basic_block_vargs): Provide prototype.
3130 * cccp.c (main): Fix dumb mistakes in last change.
3132 Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3134 * rtl.h (addr_diff_vec_flags): New typedef.
3135 (union rtunion_def): New member rt_addr_diff_vec_flags.
3136 (ADDR_DIFF_VEC_FLAGS): New macro.
3138 * sh.c (output_branch): Fix offset overflow problems.
3140 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
3141 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
3142 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
3143 * stmt.c (expand_end_case): Supply new arguments to
3144 gen_rtx_ADDR_DIFF_VEC.
3145 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
3146 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
3147 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
3148 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
3149 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
3150 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
3151 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
3152 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
3153 * i386/freebsd.h, i386/linux.h : Likewise.
3154 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
3155 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
3156 * m68k/mot3300.h, m68k/sgs.h : Likewise.
3157 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
3158 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
3159 (CASE_VECTOR_SHORTEN_MODE): Define.
3160 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
3161 (med_branch_p, braf_branch_p): Don't declare.
3162 (mdep_reorg_phase, barrier_align): Declare.
3163 (ADJUST_INSN_LENGTH): Remove alignment handling.
3164 * sh.c (uid_align, uid_align_max): Deleted.
3165 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
3166 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
3167 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
3168 (output_far_jump): Don't use braf_branch_p.
3169 (output_branchy_insn): Don't use branch_offset.
3170 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
3171 Remove paired barrier stuff.
3172 Don't use cache_align_p.
3173 Take alignment insns into account.
3174 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
3176 (barrier_align, branch_dest): New function.
3177 (machine_dependent_reorg, split_branches): Remove infrastructure
3178 for branch shortening that is now provided in the backend.
3179 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
3180 (braf_branch_p, braf_cbranch_p): Likewise.
3181 (attribute length): Use new attributes.
3182 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
3183 (addr_diff_vec_adjust): Delete.
3184 (align_2): Now a define_expand.
3185 (align_log): Now length 0.
3187 Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
3189 * m32r.md (right): Correctly check for length == 2, not 1.
3191 Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3193 * mips/mips.h: Prototype `machine_dependent_reorg'.
3194 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
3196 Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
3198 * final.c (shorten_branches): Restore accidentally removed code.
3200 Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3202 * configure.in: Remove duplicate uses of AC_PROG_CC and
3205 Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
3207 * configure.in (target_cpu_default2): Correct typo for alphapca56.
3209 Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
3210 Doug Evans (devans@cygnus.com)
3212 * haifa-sched.c (build_jmp_edges): Delete dead function.
3213 (build_control_flow): Use cfg routines from flow.c
3214 (schedule_insns): Remove debugging code accidentally checked
3217 * basic-block.h: Add external integer list structures, typdefs,
3218 accessor macros and function declarations. Simlarly for
3219 basic block pred/succ support and simple bitmap stuff.
3220 * flow.c: Add functions for integer list, basic block pred/succ
3221 support and simple bitmap support.
3222 (compute_dominators): New function to compute dominators and
3224 (find_basic_blocks): Split into two functions.
3225 (life_analysis): Likewise.
3226 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
3227 the life_analysis from toplev.c
3228 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
3229 life_analysis instead of flow_analysis.
3231 Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3233 * jump.c (jump_optimize): Call mark_jump_label also for deleted
3235 (mark_jump_label): Don't increment ref counts for deleted insns.
3237 Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3239 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
3241 * mips/mips.c: Include stdlib.h and unistd.h.
3242 (mips_asm_file_end): Add braces around empty body in an if-statement.
3243 (function_prologue): Wrap variable `fnname' in
3244 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
3245 (mips_select_rtx_section, mips_select_section): Declare as void.
3247 * mips/mips.h: Add prototypes for extern functions in mips.c.
3248 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
3249 (ENCODE_SECTION_INFO): Add braces around empty body in an
3252 * mips/mips.md (movdi): Add parentheses around && within ||.
3253 (movsf, movdf): Likewise.
3254 (branch_zero, branch_zero_di): Add default case in
3258 Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
3260 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
3261 real constants, since they can't be changed.
3262 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3263 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
3264 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3265 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3266 * alpha/vms.h (TARGET_OPEN_VMS): New.
3267 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
3269 Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
3271 * reload.c (find_reloads): Always force (subreg (mem)) to be
3272 reloaded if WORD_REGISTER_OPERATIONS.
3274 Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
3276 * haifa-sched.c (free_list): Rename from free_pnd_lst.
3277 (free_pending_lists): Rename free_pnd_lst uses.
3278 (remove_dependence): Place expunged element on unused_insn_list.
3279 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
3280 gen_rtx_*_LIST and alloc_rtx to use them.
3281 (compute_block_backward_dependences): Free the reg_last_* lists.
3283 Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
3285 * cccp.c (main): Avoid undefined behavior when setting pend_includes
3288 Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
3290 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
3291 USE_GNULIBC_1 is defined
3292 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
3293 includes the t-linux-gnulibc1 fragment
3295 Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
3297 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
3299 Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3301 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
3303 Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3305 * final.c (shorten_branches): Tag the loop alignment onto the
3306 first label after NOTE_INSN_LOOP_BEG even if there is an
3309 Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3311 * final.c (insn_current_reference_address):
3312 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
3313 proper alignment chain.
3315 * final.c (max_labelno): New static variable.
3316 (final_scan_insn): Check max_labelno before outputting an
3317 alignment for a label.
3318 (shorten_branches): Remove unused variable length_align.
3320 Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3322 * sparc.c (ultrasparc_adjust_cost): Add default case in
3325 * sparc.h: Add prototypes for extern functions defined in
3328 Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
3330 * toplev.c: Only generate <name>.dbr file when dumping RTL if
3331 DEALY_SLOTS is defined.
3333 Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
3335 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
3336 in call to fill_slots_from_thread.
3338 Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
3340 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
3341 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
3343 Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3345 * final.c (insn_last_address, insn_current_align, uid_align):
3347 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
3348 (insn_current_reference_address): Likewise.
3349 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
3350 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
3351 (label_to_alignment): New function.
3352 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
3353 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
3354 insn_current_reference_address instead of insn_current_address.
3355 (or_attr_value, write_length_unit_log): New functions.
3356 (main): Call write_length_unit_log.
3357 (write_const_num_delay_slots): Output extra '\n'.
3358 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
3360 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
3361 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
3362 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
3364 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
3365 (LABEL_ALIGN_AFTER_BARRIER).
3366 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
3367 * ns32k/tek6000.h: Likewise.
3368 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
3369 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
3370 ASM_OUTPUT_ALIGN_CODE.
3372 Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
3374 * version.c: Bump for snapshot.
3376 Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
3378 * version.c: Bump for snapshot.
3380 Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
3382 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
3383 if condition code of jump conflicts with opposite_needed.
3385 * reorg.c (fill_slots_from_thread): Mark resources referenced in
3386 opposite_needed thread. Return delay_list even when cannot get
3387 any more delay insns from end of subroutine.
3389 Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
3391 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
3392 All callers changed.
3394 Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3396 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
3397 end_fde_sort): New functions for fast sorting of an FDE array.
3398 (fde_insert): Simplified.
3399 (add_fdes): Change argument list.
3400 (frame_init): Use the new functions.
3402 Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
3404 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
3406 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
3408 * fold-const.c (fold_range_test): Always return a value.
3410 Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
3412 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
3413 data in the text section unless READONLY_DATA_SECTION is defined.
3415 Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
3417 * c-parse.in (undeclared variable error): Tweak error message to
3420 Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
3422 * version.c: Bump for snapshot.
3424 1998-02-28 Mark Mitchell <mmitchell@usa.net>
3426 * final.c (final_scan_insn): Undo overzealous removal of `set'.
3428 Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3430 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
3431 case, add parentheses to specify the proper order of precedence in
3435 * c-aux-info.c: Include string.h/strings.h.
3437 * pa.c: Include stdlib.h.
3438 (pa_combine_instructions): Prototype the function.
3439 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
3440 (reloc_needed): Add default case for enumeration switch.
3441 (remove_useless_addtr_insns): Remove unused variable `all'.
3442 (hppa_expand_prologue): Add explicit braces to avoid
3444 (output_function_epilogue): Remove unused variable `i'.
3445 (output_millicode_call): Remove unused variable `link'.
3446 (shadd_constant_p, forward_branch_p): Make the function static.
3447 (following_call): Explicitly declare to return int.
3448 (pa_reorg): Declare as void.
3449 (pa_combine_instructions): Declare as static void. Add
3450 parentheses around && within ||.
3452 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
3453 following_call, function_label_operand, lhs_lshift_cint_operand
3456 * pa.md: Add parentheses around && within ||.
3458 * cppalloc.c: Include stdlib.h.
3460 * cpperror.c (cpp_print_containing_files): Remove unused variable
3461 `i'. Fix format specifier in fprintf.
3463 * cse.c (cse_around_loop): Add explicit braces to avoid
3465 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
3467 * expr.c (expand_expr): Add parentheses around && within ||.
3469 * final.c (app_enable): Replace fprintf with fputs where there are
3470 no format specifiers and no trailing argument after the string.
3471 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
3472 (app_disable): Likewise.
3473 (final_end_function): Likewise.
3474 (final_scan_insn): Likewise. Remove unused variable `set'.
3475 (profile_function): Wrap empty if-statement body in {} brackets.
3477 * function.c: Include stdlib.h.
3478 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
3479 (reposition_prologue_and_epilogue_notes): Add parentheses
3480 around assignment used as truth value.
3482 * integrate.c (expand_inline_function): Wrap variable
3483 `cc0_insn' in macro HAVE_cc0.
3485 * jump.c (jump_optimize): Wrap variable `q' in macro
3486 HAVE_cc0. Remove unused variable `prev1'.
3488 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
3489 within ||. Fix format specifier in fprintf.
3490 (__bb_init_prg): Add parentheses around assignment used as
3493 * local-alloc.c: Include stdlib.h.
3494 (requires_inout): Add parentheses around assignment used
3497 * loop.c (analyze_loop_iterations): Wrap prototype and definition
3498 in macro HAVE_decrement_and_branch_on_count.
3499 (insert_bct, instrument_loop_bct): Likewise.
3500 (move_movables): Add parentheses around assignment used as
3502 (consec_sets_invariant_p): Likewise.
3503 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
3505 * objc/objc-act.c: Include stdlib.h.
3506 (lookup_method_in_protocol_list): Wrap empty else-statement body
3508 (lookup_protocol_in_reflist): Likewise.
3509 (objc_add_static_instance): Remove unused variables `decl_expr'
3511 (get_objc_string_decl): Remove unused variable `decl'.
3512 (generate_static_references): Remove unused variables `idecl' and
3514 (check_protocols): Wrap empty else-statement body in braces.
3516 * protoize.c: Include stdlib.h.
3517 (substr): Add parentheses around assignment used as truth value.
3518 (abspath): Likewise.
3519 (shortpath): Likewise.
3521 * regmove.c (fixup_match_1): Add parentheses around assignment
3522 used as truth value.
3524 * reload.c (push_secondary_reload): Remove unused variable `i'.
3525 (find_reloads): Add parentheses around assignment used as truth
3528 * reload1.c: Include stdlib.h.
3530 * rtl.h: Correct typo in prototype of offsettable_memref_p.
3532 * stmt.c (add_case_node): Add parentheses around assignment used
3534 (case_tree2list): Likewise.
3536 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
3537 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
3538 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
3539 (merge_attributes): Add explicit braces to avoid ambiguous
3542 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
3545 * varasm.c: Include stdlib.h.
3548 * system.h: Remove sys/stat.h.
3549 * gcc.c: Add sys/stat.h.
3551 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
3552 * genattrtab.c: Likewise.
3553 * genconfig.c: Likewise.
3554 * genemit.c: Likewise.
3555 * genextract.c: Likewise.
3556 * genflags.c: Likewise.
3557 * genopinit.c: Likewise.
3558 * genoutput.c: Likewise.
3559 * genpeep.c: Likewise.
3560 * genrecog.c: Likewise.
3561 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
3563 Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3565 * invoke.texi: Use @itemx for a secondary item in a @table.
3567 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
3570 Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
3572 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3574 Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
3576 * i386.c (struct machine_function): Add new fields for PIC stuff.
3577 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
3579 (restore_386_machine_status): Corresponding changes.
3580 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
3582 Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
3584 * c-parse.y (undeclared variable error): Tweak error message
3587 Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
3589 * flags.h (g_switch_value, g_switch_set): Declare.
3590 * alpha.c (override_options): Set g_switch_value=8 if not set.
3591 * alpha/elf.h (CC1_SPEC): New.
3593 (LINK_SPEC): Pass along the -G value we were given.
3594 (LOCAL_ASM_OP): Remove.
3595 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
3596 (MAX_OFILE_ALIGNMENT): New.
3597 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
3598 (EXTRA_SECTIONS): Add sbss and sdata.
3599 (SECTION_FUNCTION_TEMPLATE): New.
3600 (EXTRA_SECTION_FUNCTIONS): Use it.
3601 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
3602 (SELECT_SECTION): Use sdata when small enough.
3603 * alpha/linux.h (ASM_SPEC): Remove.
3606 Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3607 * config.sub (sco5): Fix typo.
3609 Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
3611 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
3613 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
3614 * config/alpha/t-linux: Remove file.
3615 * config/sparc/t-linux: Remove file.
3616 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
3617 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
3618 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
3620 (alpha*-*-linux-gnu*): Likewise.
3621 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
3622 (sparc-*-linux-gnu*): Likewise.
3624 Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
3625 * collect2.c (ldd_file_name): Bracket declaration with same
3627 (full_real_ld_suffix): Deleted. Variable was calloced and
3628 written into, but never read.
3630 1998-02-23 Mike Stump <mrs@wrs.com>
3632 * configure.in: Add support for i386-wrs-vxworks configuration.
3633 * i386/vxi386.h: New file.
3635 Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3637 * tree.c (contains_placeholder_p): Ensure function always returns
3639 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
3640 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
3642 Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
3644 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
3646 1998-02-22 Paul Eggert <eggert@twinsun.com>
3648 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
3649 Define this new symbol.
3650 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
3651 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
3652 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
3654 Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
3656 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
3657 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
3659 Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
3661 * objc/Object.m (-error): Call objc_verror with our va_list.
3663 Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3665 * collect2.c (scan_prog_file): Completely cover uses of variable
3666 `exports' with macro COLLECT_EXPORT_LIST.
3668 Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
3670 * version.c: Bump for snapshot.
3672 Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
3674 * sched.c (schedule_block): Remove code to get arguments from hard
3675 regs into pseudos early. Same as Aug 25, 1997 change to
3678 1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
3680 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
3682 1998-02-16 Mark Mitchell <mmitchell@usa.net>
3684 * toplev.c (rest_of_compilation): Do not defer the output of a
3687 Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
3689 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
3690 continuation character (line 243).
3692 Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3694 * genrecog.c (main): Remove duplicated sentence in emitted comment.
3696 Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
3697 David Edelsohn <edelsohn@mhpcc.edu>
3699 * collect2.c (XCOFF_SCAN_LIBS): Remove.
3700 (export_flag): New variable.
3701 (export_file): #ifdef COLLECT_EXPORT_LIST.
3702 (import_file, exports, imports, undefined): New variables.
3703 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
3704 (dump_list, dump_prefix_list, is_in_list): New functions.
3705 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
3706 (write_import_file, resolve_lib_name): New functions.
3707 (use_import_list, ignore_library): Same.
3708 (collect_exit): maybe_unlink import_file and #ifdef.
3710 (main): New variable importf, #ifdef exportf. Move parsing of
3711 -shared before general argument parsing. Resolve AIX library
3712 paths and import libgcc.a symbols. Treat .so shared libraries the
3713 same as objects and .a libraries. Create alias for object_lst and
3714 increment it instead of original pointer. Scan AIX libraries as
3715 objects earlier instead of using scan_libraries. Perform AIX
3716 tlink later to resolve templates instead of forking ld.
3717 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
3718 (GCC_UNDEF_SYMBOL): New macro.
3719 (scan_prog_file): Loop for members of AIX libraries. Handle
3720 export/import of ctors/dtors.
3721 (aix_std_libs): New variable.
3722 (scan_libraries, XCOFF): Delete.
3724 Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
3726 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
3728 1998-02-19 Mike Stump <mrs@wrs.com>
3730 * Makefile.in: Use $tooldir for sys-include to match toplevel
3733 Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
3734 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3736 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
3738 * emit-rtl.c (hard-reg-set.h): Include.
3739 (get_lowpart_common): Don't make new REG for hard reg in a
3740 class that cannot change size.
3741 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
3743 * combine.c: Revert previous patch.
3745 1998-02-19 Paul Eggert <eggert@twinsun.com>
3747 * config/sparc/sol2-sld.h: New file.
3748 * configure.in (sparc-*-solaris2*): Use it when using the
3751 Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
3753 * loop.c (force_movables): Fix typo.
3755 Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
3757 * m88k.h: Change file pattern to match reality.
3759 Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
3761 * varasm.c (output_constant_pool): Fix dumb thinko in last
3764 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
3765 a function name to a section name.
3767 1998-02-18 Doug Evans <devans@cygnus.com>
3769 * tree.h (merge_machine_{type,decl}_attributes): Declare.
3770 (split_specs_attrs, strip_attrs): Add prototypes.
3771 * tree.c (merge_machine_{type,decl}_attributes): New functions.
3772 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
3773 Update olddecl's attributes too.
3774 * c-common.c (strip_attrs): New function.
3775 * c-typeck.c (common_type): Call merge_machine_type_attributes.
3776 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
3777 (make_decl_rtl): Likewise.
3779 1998-02-18 Jim Wilson <wilson@cygnus.com>
3781 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
3783 Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
3785 Remove this change until we can fix it correctly.
3786 * collect2.c: Bracket declaration of 'exportf' and
3787 'full_real_ld_suffix'.
3789 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3791 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
3793 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3795 * c-common.c (c_expand_start_cond, c_expand_end_cond,
3796 c_expand_start_else): Don't warn about non-ambiguous else even if
3799 Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
3801 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3802 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
3805 Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
3807 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
3808 simplifying a subreg of a hard reg.
3809 (expand_compound_operation): Likewise.
3810 (force_to_mode): Likewise.
3812 Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3814 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
3815 (lshift_double): Add parentheses around + or - inside shift.
3816 (rshift_double): Likewise.
3817 (size_int_wide): Explicitly set type of `bit_p' to `int'.
3819 * Makefile.in (fold-const.o): Depend on system.h.
3821 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
3824 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
3825 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
3826 (sched_note_set): Remove unused parameter `b', all callers changed.
3827 (schedule_block): Likewise for `rgn'.
3828 (split_hard_reg_notes): Likewise for `orig_insn'.
3829 (check_live): Likewise for `trg'.
3830 (update_live): Likewise.
3831 (check_live_1): Explcitly declare variable `i' as int.
3832 (update_live_1): Likewise.
3833 (insn_issue_delay): Remove unused variable `link'.
3834 (sched_analyze_2): Add default case in enumeration switch.
3835 (schedule_insns): Remove unused variable `i'.
3837 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
3839 Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
3841 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
3842 a dangling else clause.
3844 Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
3846 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
3847 pointer for the stack pointer in MIPS16 and 64BIT.
3849 Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3851 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
3852 * emit-rtl.c (force_line_numbers, restore_line_number_status):
3854 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
3855 (expand_start_case): Adjust to this change.
3856 (check_seenlabel): New function.
3857 (pushcase, pushcase_range, expand_endcase): Use it.
3859 Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3861 * i386.md (adddi3): Add =!r,0,0,X alternative.
3863 Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
3865 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
3866 * x-aix31 (INSTALL): Delete.
3868 Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
3870 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
3871 tsize changes to something other than zero.
3873 Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
3875 * ginclude/va-mips.h: Replace casts of pointers to int with
3876 casts of pointers to __PTRDIFF_TYPE__.
3878 Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
3880 * loop.c (strength_reduce, record_biv, record_giv): Use
3881 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
3883 1998-02-16 Jason Merrill <jason@yorick.cygnus.com>
3885 * tree.c (first_rtl_op): New fn.
3886 (unsave_expr_now): Use it.
3887 * print-tree.c (print_node): Likewise.
3888 * tree.c (has_cleanups): New fn.
3889 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
3890 conservative about pushing the cleanup point down.
3891 * tree.h: Declare them.
3893 Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
3895 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
3896 (flag_schedule_reverse_after_reload): Likewise.
3897 (f_options): Remove reverse scheduling support.
3898 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
3899 (flag_schedule_reverse_after_reload): Likewise.
3900 * haifa-sched.c (rank_for_schedule): Remove support for reverse
3903 Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3905 * gcc.c: Get system includes, prototypes and macros via "system.h"
3906 instead of doing it manually. Change all calls of the ctype
3907 macros to custom versions defined in "system.h".
3909 * system.h: Fix return type of bcmp prototype from `void' to `int'.
3910 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
3911 Add a prototype for getenv.
3913 Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
3915 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
3917 Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
3919 * alias.c: Include <stdlib.h> and <string.h>.
3920 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
3922 Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
3924 * version.c: Bump for snapshot.
3926 Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
3928 * arm.md (movsfcc): Also validate operands[3] when compiling hard
3930 (movdfcc): Only accept fpu_add_operand for operands[3].
3932 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
3933 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
3935 Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
3937 * varasm.c (output_constant_pool): Bring back 'done' label inside
3938 an appropriate #ifdef.
3940 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
3942 (bitmap_copy, bitmap_operation): Likewise.
3943 * combine.c (combinable_i3pat): Similarly for 'src'.
3944 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
3945 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
3946 * regclass.c (copy_cost): Similarly for 'secondary_class'.
3947 * reload.c (make_memloc): Simliarly for 'i'.
3948 (find_reloads_address_1): Similarly for 'link'.
3949 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
3950 (emit_reload_insns): Similarly for 'second_reloadreg'.
3951 * unroll.c (iteration_info): Similarly for 'v'.
3953 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
3954 * calls.c (expand_call): Similarly for 'i'.
3955 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
3956 * fold-const.c (strip_compund_expr): Similarly for 'type'.
3957 * function.c (fixup_var_refs_1): Similarly for 'width'.
3958 (fixup_memory_subreg): Similarly for 'saved'.
3959 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
3960 (setjmp_protect): Similarly for 'sub'.
3961 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
3962 * loop.c (record_giv): Similarly for 'p'.
3963 (combine_givs): Similarly for 'temp_iv'.
3964 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
3965 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
3966 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
3967 * unroll.c (unroll_loop): Similarly for 'copy'.
3968 (iteration_info): Similarly for 'b'.
3969 * varasm.c (assemble_string): Similarly for 'i'.
3970 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
3972 1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
3974 * c-lang.c (lang_print_xnode): New function.
3975 * objc/objc-act.c (lang_print_xnode): Likewise.
3976 * print-tree.c (print_node): Call it
3978 Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
3980 * dwarf2out.c (decl_scope_node): New type.
3981 (decl_scope_table): Change type to use it.
3982 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
3983 (push_decl_scope): Use new type. New locals containing_scope, i.
3984 Add code to handle setting previous field.
3985 (scope_die_for): Change type of local i to int. Add code to use
3987 (dwarf2out_init): Use new type.
3989 1998-02-13 Jason Merrill <jason@yorick.cygnus.com>
3991 * except.c (emit_throw): Lose throw_used.
3993 Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3995 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
3997 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
3999 Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
4001 * genextract.c (main): Fix typo.
4003 Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
4005 * c-lang.c (finish_file): Bracket declaration of static_ctors,
4008 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
4009 'old_stack_arg_under_construction'
4010 (emit_library_call): Bracket declaration of 'upper_bound',
4011 'lower_bound', 'i', 'reg_parm_stack_space'
4012 (emit_library_call_value): Likewise.
4015 * collect2.c: include <unistd.h> when appropriate.
4016 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
4018 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
4020 * explow.c (plus_constant_for_output_wide): Remove unused variable
4022 (memory_address): Remove unused variable 'orig_x'.
4024 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
4025 (write_const_num_delay_slots): Remove unused variable 'i'.
4027 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
4028 (gen_insn): Remove unused variable 'obstack_ptr'.
4030 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
4032 (__bb_exit_trace_func): Remove unused variable 'e'.
4034 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
4036 (expand_unop): Remove unused variable 'funexp'.
4037 (expand_complex_abs): Remove unused variable 'funexp'.
4038 (init_optabs): Bracket declaration of 'j'.
4039 (init_complex_libfuncs): Deleted. Dead static function.
4041 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
4043 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
4044 (reg_to_stack): 'initialized', 'before_function_beg'
4045 explictly type as ints instead of defaulting.
4046 (emit_swap_insn): Remove unused variable 'i2'.
4047 (compare_for_stack_reg): Remove unused variable 'src_note'.
4049 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
4051 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
4053 * stmt.c (add_case_node): Add parens for assignment used as truth.
4054 (all_cases_count): Remove unused variable 'count_high'.
4055 (mark_seen_cases): Remove unused variable 'i'.
4056 (check_for_full_enumeration_handling): Remove unused variable 't'.
4057 Bracket declaration of 'all_values', 'l'.
4059 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
4061 * varasm.c (assemble_string): Remove unused variable 'i'.
4062 (immed_double_const): Remove unused variable 'in_current_obstack'.
4063 (immed_real_const_1): Likewise.
4064 (output_constant_pool): Remove unreferenced label 'done'.
4065 (output_constant): Remove unused variable 'x'.
4067 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
4070 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
4073 Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4075 * combine.c (can_combine_p): Handle USEs in PARALLELs.
4077 Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
4079 * config/linux.h (LIB_SPEC): Add -lc for -shared if
4080 USE_GNULIBC_1 is not defined.
4081 * config/sparc/linux.h; Ditto.
4083 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
4085 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
4086 USE_GNULIBC_1 is not defined.
4088 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4090 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
4093 Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4095 * system.h: New file to get common systems includes and various
4096 definitions and declarations based on autoconf macros.
4098 Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
4100 * cccp.c (new_include_prefix): Correctly handle -I./.
4102 Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
4104 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
4106 Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
4108 * expr.c (expand_assignment): Correct typo exposed by -Wall.
4109 offset should have been a truth value, not an assignment.
4111 Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
4113 * cse.c (delete_dead_from_cse): If a libcall produces a constant
4114 result and that result can be substituted into SET_SRC of the
4115 insn with the REG_RETVAL note, then perform the substitution
4116 and delete the libcall.
4118 Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
4120 * mips.md (trucndihi2,truncdiqi2): Change these to support
4123 Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
4125 * mips/mips.c (movdi_operand): Direct referances to symbols
4126 that arn't mips16 consts in mips16 mode arn't valid operands.
4128 * mips/mips.c (mips_move_2words): Add gprel handling.
4130 Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
4132 * mips.md (extendsidi2): Allow extension to/from a non-mips16
4135 Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
4137 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
4140 Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4142 * Makefile.in (WARN_CFLAGS): New variable.
4143 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
4145 1998-02-11 Mark Mitchell <mmitchell@usa.net>
4147 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
4148 falling through default case in switch.
4149 (i386_aligned_p): Likewise.
4151 Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
4153 * mips/mips.h (mips_abi_string): Correct typo in comment.
4155 Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
4157 * mips/mips.md (movdi): These PLUS's need to be Pmode.
4159 Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4161 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
4162 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
4163 indirectly via expr.h.
4165 Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
4167 * stor-layout.c (layout_type): Do upper - lower in the native type,
4168 so as to properly handle negative indices.
4170 Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
4172 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
4173 (expand_eh_region_start_tree): Remove unused variable 'note'.
4174 (exception_optimize): Remove unused variable 'regions'.
4175 (expand_builtin_eh_stub): Remove unused variable 'temp'.
4176 (copy_eh_entry): Deleted. Dead function.
4178 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
4179 'last' with same #if HAVE_load_multiple as use of it.
4180 (move_block_from_reg): Likewise.
4181 (emit_move_insn_1): Remove unused variable 'insns'.
4182 (store_constructor): Bracket declaration of startb, endb with
4183 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
4184 'target', and 'xtarget'.
4185 (expand_builtin_setjmp): Remove unused variables 'op0',
4186 'next_arg_reg', 'old_inhibit_defer_pop'.
4187 (expand_builtin): Remove unused variable 'offset'.
4188 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
4189 (emit_queue): Add parens for assignment used as conditional.
4190 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
4192 Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
4194 * i386.c: Added include for recog.h.
4195 (override_options): Removed unused variable p. Initialized regno to
4197 (order_regs_for_local_alloc): Initialized regno to avoid warning.
4198 (legitimize_address): Likewise for 'other'.
4199 (i386_aligned_reg_p): Added default case with abort ().
4200 (print_operand): Likewise.
4201 (reg_mentioned_in_mem): Likewise.
4202 (ix86_expand_binary_operator): Removed unused variables i & insn.
4203 (ix86_expand_unary_operator): Removed unused variable insn.
4204 (output_fp_cc0_set): Removed unused variable unordered_label.
4206 Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
4208 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
4209 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
4210 and format string match.
4212 Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
4214 * flow.c (life_analysis): Do not conside the stack pointer live at
4215 the end of a function if the fucntio ncalls alloca.
4216 (mark_used_regs): Similarly.
4218 1998-02-10 John F Carr <jfc@mit.edu>
4220 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
4221 1, fzero on alternative 8.
4223 Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4225 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
4227 Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4229 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
4230 SUBREGs of CONST_INTs.
4232 Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
4234 * mips.c (print_operand, function_prologue): Make printf format
4235 match argument type.
4237 Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4239 * alpha.c (alpha_return_addr): Remove unused variable `first'.
4240 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
4241 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
4243 Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4245 * loop.c (strength_reduce): When placing increment for auto-inc
4246 case, do comparison in loop order.
4248 Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
4250 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
4251 not a HOST_WIDE_INT.
4253 * calls.c (expand_call): Change test of expand_inline_function
4254 return value to stop compiler warning.
4256 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
4258 Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
4259 Jeff Law (law@cygnus.com)
4261 * regmove.c: Fix various minor formatting problems.
4262 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
4263 is true. Make end of basic block tests consistent through regmove.c.
4264 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
4265 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
4267 Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4269 * gansidecl.h: Check for a conflicting macro definition before
4270 attempting to prototype bcopy, bcmp or bzero.
4272 Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
4274 * expr.c (clear_pending_stack_adjust): Handle case where a function
4275 calls alloca, but the user has specified -fomit-fframe-pointer.
4277 * function.c (assign_parms): Fix typo in last change.
4279 Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
4281 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
4283 (free_path_suffix): Remove unreferenced static function.
4284 (process_command): Remove unused variable temp.
4285 (default_arg): Remove unused variable i.
4286 (do_spec_1): Add parens for assignment used as truth value.
4288 (validate_all_switches): Likewise.
4289 (main): Remove unused variables i, first_time>
4291 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
4293 * calls.c (expand_call): Remove unused variables funtree,
4294 n_regs, and tmpmode.
4296 * dbxout.c, except.c: Include <string.h>/<strings.h>.
4298 * explow.c: (plus_constant_for_output_wide) Removed unused
4299 variable all_constant.
4301 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
4302 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
4303 genrecog.c, global.c, integrate.c , stupid.c : Include
4306 * genextract.c: (walk_rtx) Remove unused variable link.
4308 * genrecog.c: (concat) Remove unreferenced static function.
4310 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
4312 * stmt.c: Include <stdlib.h>.
4313 (expand_asm_operands): Remove unused variable val1.
4314 (expand_return): Remove unused variable block.
4315 (pushcase): Remove unused variables l and n.
4316 (pushcaserange): Likewise.
4318 * unroll.c (unroll_loop): Remove unused variable temp.
4320 Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
4322 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
4324 Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4326 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
4327 functions for whether they support the %p format specifier.
4328 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
4329 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
4330 * configure, config.in: Rebuild.
4332 Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
4334 * function.c (assign_parms): New variable named_arg, with value
4335 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
4337 Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
4339 * mips/t-r3900: New - same as t-ecoff but eliminate
4340 multilibs: mips1 and mips3.
4341 * configure.in (tx39*): Use new mips/t-r3900.
4342 * configure: Rebuild.
4343 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
4345 1998-02-06 Jason Merrill <jason@yorick.cygnus.com>
4347 * dwarf2out.c: Add old_args_size.
4348 (dwarf2out_args_size): Use it.
4349 (dwarf2out_begin_prologue): Initialize it.
4350 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
4351 pushed args until we see a call.
4352 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
4353 before outputting them.
4355 1998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
4357 * cplus-dem.c (demangle_template_template_parm): New function.
4358 (demangle_template): Handle template template parameters.
4360 1998-02-02 Mark Mitchell <mmitchell@usa.net>
4362 * calls.c (expand_call): Don't confuse member functions named
4363 realloc, setjmp, and so forth with the standard library
4364 functions of the same names.
4366 Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
4368 * stmt.c (expand_asm_operands): Correctly identify asm statements
4371 Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
4373 * c-common.c (decl_attributes): Flag unrecognized attribute
4374 functions as warnings instead of as errors.
4376 1998-02-05 Marc Lehmann <pcg@goof.com>
4378 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
4379 when -Os is specified.
4380 * toplev.c (main): Don't disable flag_inline_functions anymore when
4383 Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4385 * regmove.c: Update.
4386 * flags.h (flag_regmove): Declare.
4387 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
4388 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
4389 Moved into regmove; changed caller.
4390 * toplev.c (rest_of_compilation): Call regmove_optimize also for
4391 expensive_optimizations.
4393 Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
4395 * version.c: Bump for snapshot.
4397 Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4398 Undo this change (the problem was actually in reload):
4399 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4401 * sh.md (movqi_i+1): New peephole.
4403 Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
4405 * jump.c (jump_optimize): Lose calls to modified_in_p they are
4406 not needed anymore due to changes elsewhere in jump.c.
4408 * jump.c (jump_optimize): Fix first arg to modified_in_p in
4411 Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
4413 * expr.c (expand_builtin_setjmp): Accept two new arguments for
4414 the labels to branch to on first and subsequent executions. Don't
4415 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
4416 and provide it with the jmp_buf. Use only one of
4417 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
4418 and provide the former with the target label.
4419 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
4420 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
4421 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
4422 insn to replace all of the normal nonlocal_goto code. Don't play
4423 with __dummy. Correct arguments to nonlocal_goto.
4424 * expr.h (expand_builtin_setjmp): Update prototype.
4425 * except.c (start_dynamic_handler): When using builtin_setjmp,
4426 generate more accurate flow information.
4428 * alpha.md (nonlocal_goto_receiver_osf): Delete.
4429 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
4430 (builtin_longjmp, builtin_setjmp_receiver): New.
4431 * sparc.md (update_return): Disambiguate unspec number.
4432 (nonlocal_goto): Rearrange arguments to match caller in except.c.
4433 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
4435 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
4436 (builtin_setjmp_setup*, builtin_longjmp): New.
4438 Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
4440 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
4442 Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
4444 * vmsconfig.com: Remove bytecode references.
4446 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4448 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
4449 -fno-sjlj-exceptions works for a target that defines
4450 DWARF2_UNWIND_INFO as zero.
4452 * regmove.c (fixup_match_1): Undo last change which removed some
4453 "useless" code, and add a comment explaining this.
4455 Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
4457 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
4460 Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
4462 * makefile.vms: Remove bytecode references.
4463 Create genrtl files.
4465 Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
4467 * jump.c (jump_optimize): Allow conditional loading of floating point
4468 constants and constants from memory. Reinstalled modified_in_p tests.
4470 Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4472 * loop.c (get_condition): Handle sign-extended constants.
4474 Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
4476 * expr.c (emit_push_insn): Add code to use movstrti if present.
4478 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
4479 and movstrqi as in emit_block_move ().
4481 Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
4483 * config/m68k/x-next: Remove /NextDeveloper/Headers from
4484 the directories to fixinclude - /usr/include is a link
4485 to it and hence its contents are fixed by default.
4487 Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4489 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
4491 Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
4493 * cccp.c (main): Predefine __VMS_VER on VMS.
4495 Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4497 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
4498 * fold-const.c (size_int): Replace with
4500 (make_bit_field_ref): Use bitsize_int for bit position.
4501 * stor-layout.c (sizetype): Delete.
4502 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
4503 (layout_record, layout_union, layout_type):
4504 Use bitsize_int for bit size.
4505 (set_sizetype): New function.
4506 (make_signed_type, make_unsigned_type): Use it.
4507 * c-decl.c (init_decl_processing): Likewise.
4508 * tree.h (size_int): Don't delcare, #define.
4509 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
4510 (set_sizetype): Declare.
4511 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
4513 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
4514 Convert result to sizetype.
4515 (really_start_incremental_init, push_init_level):
4516 Set type of constructor_bit_index to sbitsizetype.
4517 (push_init_level): Use unsigned arithmetic to determine padding.
4518 (output_init_element): Likewise.
4520 Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
4522 * combine.c (simplify_shift_const): Fix typo in last change.
4524 Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
4526 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
4527 is (truncate (lshiftrt)).
4529 Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
4531 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
4532 Make sure result winds up in TGT.
4533 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
4534 src to be other than DImode.
4535 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
4536 (alpha_expand_unaligned_store_words): Likewise.
4537 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
4538 that source and destination are separately optimized for alignment.
4539 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
4541 Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
4543 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
4544 with handling of -32768.
4546 Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4548 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
4549 shell variable argument instead of only hard coded functions.
4550 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
4552 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
4553 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
4554 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
4555 declarations for bcopy, bcmp and bzero.
4557 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
4559 * gansidecl.h: If we have bcopy but don't declare it, then do so.
4560 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
4561 bzero, index and rindex if they aren't already present.
4563 Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
4565 * toplev.c (close_dump_file): Wrap function prototype for
4566 argument "func" in PROTO.
4567 (dump_rtl): Likewise.
4569 Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
4571 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
4573 (output_function_epilogue): Omit epilogue if nothing drops through.
4574 (output_move_double): Supress int ldd usage on ultrasparc and v9.
4575 (registers_ok_for_ldd_peep): Likewise.
4576 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
4577 (ultrasparc_adjust_cost): New function.
4578 (sparc_issue_rate): New function.
4579 * sparc.h (MASK_VIS, TARGET_VIS): New
4580 (MASK_V8PLUS, TARGET_V8PLUS): New.
4581 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
4582 (TARGET_SWITCHES): Add vis and v8plus.
4583 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
4584 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
4585 (RTX_COSTS): Use TARGET_HARD_MUL
4586 (ADJUST_COST): Call ultrasparc_adjust_cost.
4588 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
4589 of load & fp appropritely.
4590 (supersparc function units): Adjust for Haifa.
4591 (ultrasparc function units): Likewise.
4592 (get_pc_via_rdpc): All v9, not just arch64.
4593 (movdi_v8plus, movdi_v8plus+1): New.
4594 (adddi3_sp32+1): New.
4595 (subdi3_sp32+1): New.
4596 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
4597 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
4598 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
4599 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
4600 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
4601 (ldd peepholes): Suppress for v9.
4602 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
4603 (return_subsi): Revmove.
4605 Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
4607 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
4608 save/restore MEM rtl.
4610 Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
4612 * configure.in: Check for declaration of abort.
4613 * acconfig.h: Corresponding changes.
4614 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
4617 Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
4619 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
4622 Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
4624 * version.c: Bump for snapshot.
4626 Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
4628 * configure.in: Check for atoq and atoll.
4629 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
4630 proper routine for converting ascii into long long values.
4632 Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
4634 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
4636 * vmsconfig.com: Remove bytecode references.
4638 * alpha/vms.h (PREFIX): Define.
4640 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
4642 * am-alpha.h: Don't include alloca for OPEN_VMS.
4644 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
4646 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
4647 (GCC_INCLUDE_DIR): Define
4649 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
4650 * makefile.vms: New file.
4652 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
4654 * alpha.c (output_prolog): Output '.name' directive
4655 for minimal traceback information.
4657 * alpha.c (output_prolog): Don't prepend entry point symbols
4658 with '$' on OPEN_VMS.
4660 Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
4661 Jeffrey A Law (law@cygnus.com)
4663 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
4666 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
4668 * genemit.c (gen_exp): Likewise.
4669 * genpeep.c (match_rtx): Likewise.
4670 * genrecog.c (write_tree_1): Likewise.
4672 * c-lex.c (yyprint): Use proper format string based upon
4673 disposition of HOST_BITS_PER_WIDE_INT.
4674 (yylex): Put casts in right place for args to build_int_2.
4676 Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
4678 * combine.c: Fix typos in Jan27 changes.
4680 Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
4682 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
4683 (LINK_SPEC): Likewise.
4684 (STARTFILE_SPEC): Likewise.
4686 1998-01-28 Mike Stump <mrs@wrs.com>
4688 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
4690 * genattrtab.c (reload_completed): Define.
4692 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
4695 Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4697 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
4698 SUBREG_REG if the word count is unchanged, also in the input reload
4699 case. Disable non-applicable sanity checks.
4701 Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
4703 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
4705 Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
4707 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
4709 Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
4711 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
4712 is a TREE_VEC before trying to use it for baseclasses.
4713 (Chill uses the same field for a different purpose.)
4715 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
4717 Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
4719 * config.sub: More accurate determination of HP processor types.
4721 Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4723 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
4724 prototype for `handle_sysv_pragma', and make it static. Add
4725 parentheses around assignment used as truth value.
4727 * combine.c (combine_instructions): Protect variable `prev' with
4729 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
4730 (extract_left_shift): Add parentheses around operand of &.
4731 (merge_outer_ops): Avoid an empty body in an else-statement.
4732 (gen_rtx_combine): Remove unused variable `i'.
4734 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
4735 function monstartup `void'. Likewise for internal_mcount. Add
4736 `static void' prototype for moncontrol. Reconcile sprintf format
4739 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
4740 Make return type of function_arg_slotno explicitly `int'.
4741 (reg_unused_after): Add parentheses around assignment used as
4743 (save_regs): Add explicit braces to avoid ambiguous `else'.
4744 (function_arg_slotno): Add parentheses around && within ||.
4745 (function_arg_pass_by_reference): Likewise.
4746 (sparc_flat_output_function_prologue): Reconcile fprintf format
4749 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
4750 assignment used as truth value.
4752 * cplus-dem.c: Include <stdlib.h>.
4753 (demangle_signature): Avoid an empty body in an else-statement.
4754 (do_type): Remove unused variable `lvl'.
4756 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
4757 Include <string.h>/<strings.h>.
4758 (cpp_lex): Remove unused variable `namelen'.
4759 (cpp_lex): Explicitly declare `num_chars' as an int.
4761 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
4762 <unistd.h> instead. Explicitly declare is_system_include
4764 (make_assertion): Remove unused variable `kt'.
4765 (cpp_expand_to_buffer): Hide variable `obuf'.
4766 (output_line_command): Remove unused variables, `line_end',
4767 `line_cmd_buf' and `len'.
4768 (macarg): Remove unused variable `arg_start'.
4769 (special_symbol): Remove unused variable `i'. Add parentheses
4770 around assignment used as truth value.
4771 (do_include): Remove unused variables `pcfname' and `retried',
4772 hide `pcf' and `pcfbuflimit'.
4773 (do_line): Remove unused variable `i'.
4774 (finclude): Hide variable `missing_newline'.
4775 (cpp_handle_options): Remove unused variable `j'.
4776 (read_token_list): Remove unused variable `eofp'.
4777 (cpp_error_with_line): Remove unused variable `i'.
4778 (cpp_warning_with_line): Likewise.
4779 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
4780 (cpp_error_from_errno): Remove unused variable `i'.
4782 * cse.c (invalidate): Add parentheses around assignment used as
4784 (find_best_addr): Move declaration of variable `our_cost' inside
4785 the conditional macro where its used.
4786 (fold_rtx): Avoid an empty body in an if-statement.
4787 (cse_insn): Wrap variables `this_insn_cc0_mode' and
4788 `this_insn_cc0' in macro HAVE_cc0.
4790 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
4791 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
4792 (output_uleb128): Likewise.
4793 (output_sleb128): Likewise.
4794 (output_cfi): Likewise.
4795 (output_call_frame_info): Remove unused variables `j', `fde_size'
4797 (comp_unit_has_inlines): Hide declaration as per rest of file.
4798 (size_of_line_prolog): Correct typo in prototype.
4799 (add_arange): Likewise.
4800 (output_aranges): Likewise.
4801 (add_name_and_src_coords_attributes): Likewise.
4802 (gen_array_type_die): Likewise.
4803 (gen_inlined_subroutine_die): Likewise.
4804 (equate_decl_number_to_die): Remove unused variable `i'.
4805 (print_die): Reconcile format vs. args in fprintf's.
4806 (print_dwarf_line_table): Likewise.
4807 (output_die): Likewise.
4808 (output_line_info): Likewise.
4809 (add_subscript_info): Avoid an empty body in an else-statement.
4810 (gen_subprogram_die): Remove unused variable `fp_loc'.
4812 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
4813 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
4814 macro. Protect `src_coords_attribute' prototype with
4815 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
4816 prototype as in the rest of the file. Likewise for
4817 `output_pointer_type_die' and `output_reference_type_die'. Remove
4818 prototype for `type_of_for_scope'.
4819 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
4820 (type_attribute): Add explicit braces to avoid ambiguous `else'.
4822 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
4823 (shorten_branches): Protect declaration of tmp_length with
4824 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
4825 (profile_function): Protect declaration of `sval' and `cxt'
4826 variables with appropriate macros.
4827 (final_scan_insn): Likewise for `note' variable. Add explicit
4828 braces to avoid empty body in an if-statement.
4829 (output_asm_insn): Move variable `i' inside macro conditional
4830 where it is used. Add parentheses around assignment used as truth
4832 (asm_fprintf) Likewise, likewise.
4834 * fix-header.c (main): Remove unused variable `done'. Protect
4835 declaration of `i' with FIXPROTO_IGNORE_LIST.
4837 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
4839 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
4842 * profile.c: Include <string.h>/<strings.h>.
4843 (instrument_arcs): Remove unused variables `note', `inverted',
4844 `zero' and `neg_one'.
4845 (branch_prob): Avoid empty body in an if-statement.
4847 * regclass.c: Include <stdlib.h>.
4848 (reg_alternate_class): Explicitly declare parameter `regno'.
4850 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
4851 parentheses around assignment used as truth value.
4852 (find_matches): Remove unused variables `output_operand' and
4854 (fixup_match_1): Remove statement with no effect: "if (0) ;".
4856 * scan.c (sstring_append): Explicitly declare `count' as int.
4857 (scan_string): Explicitly declare parameter `init' as int.
4859 * sched.c: Include <stdlib.h>.
4860 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
4861 (rank_for_schedule): Add parentheses around assignment used as
4863 (schedule_block): Likewise.
4864 (regno_use_in): Likewise.
4865 (schedule_insns): Remove unused variable `i'.
4867 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
4868 (v_message_with_decl): Remove unused variable `n'.
4869 (botch): Explicitly declare parameter `s' as char *.
4870 (main): Add parentheses around assignment used as truth value.
4872 * tree.c (make_node): Protect the variable `kind' with the
4873 GATHER_STATISTICS macro.
4874 (real_value_from_int_cst): Move variable `e' inside conditional
4875 macro area where it is used.
4876 (tree_last): Add parentheses around assignment used as truth value.
4877 (build1): Protect the variable `kind' with the GATHER_STATISTICS
4879 (print_obstack_statistics): Reconcile format vs. args in fprintf.
4880 Protect variables `i', `total_nodes', and `total_bytes' with the
4881 GATHER_STATISTICS macro.
4883 Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
4885 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
4886 some comments regarding use of dead_or_set_p.
4888 Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
4890 * fixincludes: Tweak fix for struct exception in math.h
4892 Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
4894 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
4895 Change mode of registers used to add/sub from
4896 hard_frame_pointer_rtx from word_mode to Pmode.
4898 Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
4900 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
4901 asm_output_aligned_bss() instead of asm_output_bss().
4903 * toplev.c (rest_of_compilation): Replace references to
4904 stack_reg_dump_file and dbr_sched_dump_file with references to
4907 Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
4909 * tlink.c (scan_linker_output): Call fclose() for opened files.
4911 Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
4913 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
4914 compiling with -fpic -- we want to be able to override symbols
4916 (alpha_expand_block_move): Fix thinko in last change.
4918 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
4919 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
4920 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
4922 Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
4924 * alpha.md (abssf, absdf): Revert last change.
4926 Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
4928 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
4929 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
4931 Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
4933 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
4934 a CONST_INT into SFmode.
4936 Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
4938 * flags.h: New flag (optimize_size).
4939 * toplev.c (main): Parse -Os option and set optimize_space
4941 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
4942 __OPTIMIZE_SIZE__ when compiling with -Os.
4943 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
4944 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
4945 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
4947 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
4949 Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
4951 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
4952 stuff only if MCT_TEXT is #define'd.
4954 Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
4956 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
4959 Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
4961 * toplev.c: Add -dM command line option to dump RTL after the
4962 machine dependent reorganisation pass, if there is one.
4963 Reorganise RTL dump code, so that only one file handle is
4966 Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
4968 * except.c (check_exception_handler_labels): Disable warning when
4971 Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
4973 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
4975 Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4977 * c-decl.c (grokdeclarator): Get parameter tags from
4978 last_function_parm_tags.
4979 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
4980 traversing the parameter types.
4981 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
4983 Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
4985 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
4987 (get_shift_alg): Fix typo.
4989 Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
4991 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
4993 Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
4995 * toplev.c (get_run_time): Make sure each case gets its variables.
4997 Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
4999 * configure.in (build_xm_file): Add auto-config.h if host=build.
5000 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
5001 (build_xm_file_list): Likewise.
5002 * configure: Rebuild.
5004 Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
5006 * recog.c (validate_replace_rtx_1): Only perform substitutions
5007 of arguments to commutative and comparison operators once.
5009 Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5011 * sparc.c (output_cbranch): Add default case in
5014 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
5015 (emit_delay_sequence): Eliminate unused parameter, all callers
5017 (fill_simple_delay_slots): Likewise.
5018 (fill_slots_from_thread): Likewise.
5019 (fill_eager_delay_slots): Likewise.
5020 (mark_referenced_resources): Add default case in enumeration switch.
5021 (mark_set_resources): Likewise.
5022 (rare_destination): Likewise.
5023 (mostly_true_jump): Likewise.
5024 (find_dead_or_set_registers): Likewise.
5025 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
5026 (update_reg_unused_notes): Remove unused variable `p'.
5027 (mark_target_live_regs): Remove unused variables `next' and
5029 (fill_simple_delay_slots): Remove unused variable `j'.
5030 (fill_slots_from_thread): Add parentheses around assignment used
5032 (dbr_schedule): Likewise.
5034 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
5035 (objc.stage2, objc.stage3, objc.stage4): Likewise.
5037 Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
5039 * cse.c (simplify_ternary_operation): Don't try to simplify
5040 IF_THEN_ELSE expressions (created by combine) that don't use
5041 relational operators.
5043 Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
5045 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
5048 * crtstuff.c (init_dummy): Keep the epilogue in the init
5049 section for non-ELF systems.
5051 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5053 * sh.md (movqi_i+1): New peephole.
5055 Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
5057 * Makefile.in: Remove remaining bytecode stuff.
5058 * emit-rtl.c, expr.c: Likewise.
5060 Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
5062 * toplev.c (lang_options): Add unknown-pragma options.
5064 Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
5066 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
5067 special (and incomplete) handling for Chill arrays.
5069 Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
5071 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
5074 Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
5076 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
5078 1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
5080 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
5081 .frame directive instead of FRAME_POINTER_REGNUM.
5083 Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
5085 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
5086 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
5087 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
5088 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
5089 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
5090 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
5091 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
5092 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
5094 * longlong.h: Replace __mc68332__ with __mcpu32__.
5096 Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
5098 * version.c: Bump for snapshot.
5100 Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
5102 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
5103 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
5104 * reload1.c (eliminate_regs): Likewise.
5106 Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
5108 * regmove.c (find_matches): Initialize matches->earlyclobber too.
5110 Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
5112 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
5113 (negsf2, negdf2): Use proper subtract in IEEE mode.
5115 Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
5117 * Makefile.in: Remove more bytecode stuff.
5118 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
5119 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
5120 * f/install.texi, objc/Make-lang.in: Likewise.
5122 * Makefile.in: Remove all bytecode support.
5123 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
5124 * emit-rtl.c: Remove all bytecode support.
5125 * expr.c, expr.h function.c, integrate.c: Likewise.
5126 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
5127 * tree.h, varasm.c: Likewise.
5128 * config/m68k/m68k.h: Likewise.
5129 * bi-*, bc-*, bytecode*: Delete bytecode related files.
5130 * modemap.def: Likewise.
5132 Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
5134 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
5135 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
5137 Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
5139 * i386.md (push): Prohibit symbolic constants if flag_pic.
5140 (movsi+1): Likewise for move to non-register.
5142 Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
5144 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
5145 (print_operand): Handle 0xffffffff on 32 bit host.
5147 * configure.in (thread_file): Rename uses before main loop to
5148 target_thread_file. Initialize to empty in main loop. Set thread_file
5149 to target_thread_file after main loop if not set.
5150 * configure: Rebuild.
5152 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
5153 (add_values_to_cover): Revert last change (which had no ChangeLog
5155 (simplify_with_current_value_aux): Handle CONST_INT.
5157 Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5159 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
5161 Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
5163 * configure.in: Add cpp stringify test.
5164 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
5165 * gengenrtl.c: Use it.
5166 * configure, config.in: Rebuild.
5168 Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5170 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
5172 Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
5174 * configure.in: Find declaration for sbrk.
5175 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
5176 * config.in, configure: Rebuild.
5177 * mips-tfile.c: Properly protect declaration of sbrk and free.
5178 * toplev.c: Properly protect declaration of sbrk.
5180 Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
5182 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
5184 Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
5186 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
5188 Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
5190 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
5192 Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
5194 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
5195 constant offset computations from objects with known alignment in
5196 the presence of STACK_BIAS.
5198 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
5200 (const_hash): Hash val is unsigned long.
5201 (SYMHASH): Likewise.
5203 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
5205 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
5206 char pointer, not HOST_WIDE_INT.
5207 (print_node): Likewise. Also hash is unsigned long not
5210 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
5212 * explow.c (optimize_save_area_alloca): New function for targets
5213 where SETJMP_VIA_SAVE_AREA is true.
5214 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
5215 compute the amount of stack space needed should we find later that
5216 setjmp is never called by this function, stuff rtl for this inside
5217 a REG_NOTE of the final SET of stack_pointer_rtx.
5218 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
5219 current_function_calls_alloca, call optimize_save_area_alloca.
5221 Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
5223 * i386.md: Remove redundant integer push patterns.
5224 Don't bother checking for TARGET_PUSH_MEMORY when
5225 pushing constants or registers.
5227 Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5228 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
5230 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5231 (pwait): New function for mingw32.
5233 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
5234 pipe support is broken for now.
5236 1998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
5238 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
5239 between frame_pointer_rtx, hard_frame_pointer_rtx, and
5240 arg_pointer_rtx is respected in initialization.
5241 (init_emit_once): Use gen_rtx_raw_REG() to create
5242 return_address_pointer_rtx.
5244 * reorg.c: #include "expr.h" for rtx prototypes.
5245 * Makefile.in (reorg.o): Depend on expr.h
5247 Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
5249 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
5250 local_prefix to sub-make invocations.
5252 Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
5254 * objc-parse.c: Recognize protocol qualifiers in class definitions.
5256 Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
5260 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
5261 * configure.in: Check for atol.
5262 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
5264 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
5266 * loop.c (find_and_verify_loops): When attempting to move insns from
5267 inside the loop outside the loop, create a BARRIER if no suitable
5270 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
5271 favor of an equivalent change from gcc-2.8.
5273 * i386/x-sco5 (CC): Remove trailing whitespace.
5275 Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5277 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
5278 (accessor_from_format): Likewise.
5279 (xmalloc): New function for use when linking with alloca.o.
5281 Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5283 * frame.c (find_fde): Correct FDE's upper bound.
5285 Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
5287 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
5289 Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
5291 * calls.c (expand_call): Move #ifdef code out of macro argument
5293 (emit_library_call, emit_library_call_value): Likewise.
5295 Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
5297 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
5299 Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
5301 * version.c: Bump for snapshot.
5303 Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
5305 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
5306 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
5307 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
5308 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
5309 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
5310 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
5311 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
5312 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
5313 * unroll.c, varasm.c: Likewise.
5314 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
5316 Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
5318 * mips.h: Fix some type-o's from a previous change.
5320 Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
5322 * loop.c (check_dbra_loop): Make sure initial value is a
5323 CONST_INT before trying to normalize it.
5325 Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
5327 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
5329 Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
5331 * cppexp.c: Include gansidecl.h
5333 Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
5335 * svr4.h (LINK_SPEC): Never specify -h.
5336 * ptx4.h (LINK_SPEC): Likewise.
5337 * rs6000/sysv4.h (LINK_SPEC): Likewise.
5338 * sparc/sol2.h (LINK_SPEC): Likewise.
5340 Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
5342 * c-typeck.c (comptypes): Exit early on NULL input.
5344 * haifa-sched.c (schedule_insns): Correctly remove inter-block
5345 dependencies after reload.
5347 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
5349 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
5351 Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
5353 * alpha/vms.h (DIR_SEPARATOR): define
5355 Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5357 * Makefile.in (stamp-proto): Remove.
5358 (protoize.o, unprotoize.o): Straightforward compile.
5359 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
5361 Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5363 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
5364 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
5366 Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
5368 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
5369 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
5370 * sparc/netbsd.h, vax/netbsd.h: Likewise.
5372 Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
5374 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
5376 Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
5378 * configure.in (target_cpu_default, target_cpu_default2): Use double
5379 quotes around them when testing their value.
5380 * configure: Rebuilt.
5382 Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
5384 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
5386 (gendef): Call obstack_alloc_rtx.
5388 Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
5390 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
5393 Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
5395 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
5396 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
5397 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
5399 Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
5401 * mips.md (return_internal): Change mode from SImode to VOIDmode.
5403 Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
5405 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
5408 Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
5410 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
5411 suffix from operand 3.
5413 Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5414 Jeffrey A Law (law@cygnus.com)
5416 * regmove.c: New implementation of regmove pass.
5417 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
5418 decls, make them have external linkage. Return a value from
5419 optimize_reg_copy_1.
5420 * reload.h (count_occurrences): Add decl.
5421 * reload1.c (count_occurrences): Delete decl, make it have external
5423 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
5425 Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
5427 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
5428 if it is not defined.
5430 Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
5432 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
5433 * emit-rtl.c (gen_rtx): Move special code to ...
5434 (gen_rtx_CONST_INT): New function.
5435 (gen_rtx_REG): New function.
5436 (*): Update all calls to gen_rtx.
5437 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
5438 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
5439 (GEN_INT): Call gen_rtx_CONST_INT.
5440 * gengenrtl.c: New file.
5442 Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
5444 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
5445 (base_alias_check): If no base found for address call canon_rtx and
5448 Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
5450 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
5451 arguments for mips16.
5452 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
5453 Don't lose if tsize is zero after handling large stack for mips16.
5454 * mips.md (return): For trivial return, return address is in $31.
5456 Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
5458 * mips/mips16.S: Various changes to make it work with -msingle-float
5461 Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
5462 Ian Lance Taylor <ian@cygnus.com>
5463 Jeff Law <law@cygnus.com>
5465 * mips.c, mips.h, mips.md: First cut at merging in mips16
5466 support. Major modifications throughout all three files.
5468 Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
5470 * configure.in: Make gthr-default.h a forwarding header instead of
5473 Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5475 * gcov-io.h: Include sys/types.h to ensure we get size_t.
5477 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
5479 Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
5480 Jeffrey A Law (law@cygnus.com)
5482 * crtstuff.c (__frame_dummy): New function for irix6.
5483 (__do_global_ctors): Call __frame_dummy for irix6.
5484 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
5486 Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
5488 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
5490 Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
5492 * c-decl.c (init_decl_processing): Provide proper fallback symbol
5493 for __builtin_memset.
5494 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
5495 not INTEGER_CST. Assert arg 3 is a constant.
5497 * alpha.c (mode_width_operand): Accept 64-bit modes.
5498 (mode_mask_operand): Likewise.
5499 (print_operand): Likewise for 'M' and 'U' codes.
5500 (alpha_expand_unaligned_load): New function.
5501 (alpha_expand_unaligned_store): Likewise.
5502 (alpha_expand_unaligned_load_words): Likewise.
5503 (alpha_expand_unaligned_store_words): Likewise.
5504 (alpha_expand_block_move): Likewise.
5505 (alpha_expand_block_clear): Likewise.
5506 * alpha.h (MOVE_RATIO): New define.
5507 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
5508 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
5510 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
5511 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
5513 Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
5515 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
5516 * configure: Update.
5518 Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
5520 * emit-rtl.c (operand_subword): Correctly handle extracting a word
5521 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
5523 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
5526 Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
5528 * configure.in: Set and subsitute host_exeext. Use it when creating
5529 the assembler and linker symlinks.
5530 * configure: Rebuild.
5531 * Makefile.in (exeext): Set to @host_exeext@.
5532 (build_exeext): New variable, set to @build_exeext@.
5533 (FLAGS_TO_PASS): Pass down build_exeext.
5534 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
5537 Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
5539 * mn10200.md (addsi3, subsi3): Fix thinkos.
5541 Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
5543 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
5544 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
5545 unix always, since we want to be able to thunk to functions in a
5546 shared library from an application.
5548 Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
5550 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
5551 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
5553 Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
5555 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
5556 offset's mode is not ptr_mode, convert it.
5558 Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
5560 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
5561 compiling if it was already defined.
5563 Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
5565 * flow.c (find_basic_blocks): Don't create a new basic block
5566 for calls in a LIBCALL block.
5568 Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
5570 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
5572 Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
5574 * cse.c (rtx_cost): Remove conflicting default case.
5576 Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
5578 * configure.in: Move default enabling of Haifa out of for loop.
5579 * configure: Rebuild.
5581 Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
5583 * version.c: Bump for snapshot.
5585 1997-12-25 Teemu Torma <tot@trema.com>
5587 * Makefile.in (GTHREAD_FLAGS): New var.
5588 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
5589 (distclean): Remove gthr-default.h.
5591 * configure.in: Accept dce as a thread package.
5592 Check for thread.h and pthread.h.
5593 Link gthr-default.h to appropriate thread file and set
5595 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
5596 include multilib definitions from pa/t-dce-thr.
5597 (sparc-*-solaris2*): Enable threads by default, if thread.h or
5598 pthread.h is found, preferring posix threads over solaris ones.
5600 * config/pa/t-dce-thr: New file.
5601 * config/pa/t-pa: Removed multilibs.
5602 * config/sparc/t-sol2: Ditto.
5605 * gthr-single.h: New file.
5606 * gthr-posix.h: New file.
5607 * gthr-solaris.h: New file.
5608 * gthr-dce.h: New file.
5609 * libgcc-thr.h: Removed.
5610 * objc/thr-dce.c: New file copied from thr-decosf1.c.
5612 * frame.c: Include gthr.h instead of libgcc-thr.h.
5613 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
5614 (eh_context_initialize): If __gthread_once fails, use static eh
5616 (eh_context_free): Call __gthread_key_dtor.
5618 Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
5620 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
5622 Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
5624 * cse.c (max_insn_uid): New variable.
5625 (cse_around_loop): Use max_insn_uid.
5626 (cse_main): Set max_insn_uid.
5628 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
5629 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
5630 -mlong64, and -mgp{32,64} options.
5631 * mips.c (mips_abi): Change type to int.
5632 * mips.h (enum mips_abi_type): Delete.
5633 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
5634 (mips_abi): Change type to int.
5636 Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
5638 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
5639 optimization is now always enabled.
5641 * calls.c (expand_call): Recognize C++ operator new as malloc-like
5644 * alias.c (memrefs_conflict_p): Eliminate tests now done by
5646 (*_dependence): Call canon_rtx before base_alias_check.
5647 (init_alias_once): New function to precompute set of registers which
5648 can hold Pmode function arguments.
5650 * rtl.h: Declare init_alias_once.
5652 * toplev.c (compile_file): Call init_alias_once.
5654 Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
5656 * tree.c (restore_tree_status): Do not dereference a null pointer.
5658 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
5660 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
5661 RLIMIT_STACK. This maintains consistency with the recent, similar
5662 patch to cccp.c and toplev.c.
5664 Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
5666 * genattrtab.c (expand_units): For large nr opclasses, expand
5667 function_units_used with ORX to prevent blowups. Tag with FFS.
5668 (num_unit_opclasses): New variable.
5669 (gen_unit): Update it.
5670 (enum operator): Add ORX_OP.
5671 (operate_exp): Treat ORX as or, except don't expand across an if.
5672 Reuse number rtx's after operating on them.
5673 (check_attr_value): Accept IOR, AND, & FFS.
5674 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
5675 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
5676 (write_expr_attr_cache, write_toplevel_expr): New functions.
5677 (write_attr_get): Handle FFS-tagged expressions.
5678 (make_canonical): Don't expand const attributes.
5679 (convert_const_symbol_ref): Dike out.
5680 (evaluate_eq_attr): Handle SYMBOL_REF.
5681 (main): Don't emit get_attr_foo for const attributes.
5683 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
5684 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
5685 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
5686 * alpha.md: Redo all of the scheduling, adding EV6 support, and
5687 combining function units where possible.
5688 (attr "type"): Split loads, stores, cmov into int/fp. Combine
5689 multiplies and divides. Add EV6 sqrt, ftoi, itof.
5690 (attr "opsize"): New attribute.
5691 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
5692 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
5693 to control register allocation.
5694 (movsi2-1, movdi2-1): Likewise.
5696 Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
5698 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
5699 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
5700 Move OSF/1 specific defines out.
5701 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
5702 Move Linux specific defines out.
5703 (LINK_SPEC): Genericize.
5704 (ASM_FILE_START): Emit .arch if using more than the base insn set.
5705 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
5706 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
5707 (HANDLE_SYSV_PRAGMA): Define.
5708 * alpha/osf.h: New file.
5709 * alpha/linux.h: Split. Retain file-format independant defines.
5710 Import Linux bits from elf.h.
5711 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
5712 (FUNCTION_PROFILER): _mcount takes its address in $28.
5713 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
5714 * alpha/linux-ecoff.h: New file.
5715 * alpha/linux-elf.h: New file.
5716 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
5717 * alpha/win-nt.h (TARGET_DEFAULT): Define.
5718 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
5719 Add new headers as appropriate.
5721 * configure.in (alpha*): Enable Haifa by default.
5722 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
5723 * configure: Rebuild.
5725 Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
5727 * Makefile.in (clean): Remove the stages with their objects here ...
5728 (distclean): ... instead of here.
5730 Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5732 * cse.c (rtx_cost): Add default case in enumeration switch.
5733 * fix-header.c (recognized_macro): Likewise.
5734 (recognized_extern): Likewise.
5735 (write_rbrac): Likewise.
5736 * objc/objc-act.c (encode_aggregate): Likewise.
5737 (gen_declarator): Likewise.
5738 (gen_declspecs): Likewise.
5740 Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
5742 * haifa-sched.c (create_reg_dead_note): Detect and handle another
5743 case where we kill more regs after sched than were killed before
5745 * sched.c (create_reg_dead_note): Similarly.
5747 Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
5749 * c-pragma.c: Include flags.h.
5751 Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
5753 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
5754 about system headers.
5755 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
5756 and also to resolve symbols in prefix.c.
5758 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
5759 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
5760 when the definitions in auto-config.h is not visible.
5761 (HAVE_BZERO): Likewise.
5762 (HAVE_BCMP): Likewise.
5763 (HAVE_RINDEX): Likewise.
5764 (HAVE_INDEX): Likewise.
5766 Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
5768 * pa.c (emit_move_sequence): Handle a function label source
5771 Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
5773 * c-pragma.c (handle_pragma_token): Generate warning messages
5774 about unknown pragmas if warn_unknown_pragmas is set.
5776 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
5777 line option to set variable: warn_unknown_pragmas.
5779 Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
5781 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
5783 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
5785 Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
5787 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
5788 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
5789 generate more fine grained floating point emulation libraries.
5790 * config/fp-bit.c: Add protecting #ifdef to all functions so
5791 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
5792 then compile all suitable functions.
5793 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
5794 underscores to avoid namespace pollution.
5795 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
5797 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
5801 Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5802 Jeff Law <law@cygnus.com>
5804 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
5806 * c-decl.c (finish_decl): Use parentheses around && within ||.
5807 * rtl.c: Include stdlib.h.
5808 (read_skip_spaces): Add parentheses around assignments used as
5810 (read_rtx): Initialize list_rtx.
5811 * cppexp.c (parse_number): Use || when operands are truth values.
5812 * alias.c (find_base_value): Add default case.
5813 (memrefs_conflict): Likewise.
5814 * combine.c (sets_function_arg_p): Likewise.
5815 * genemit.c (gen_exp): Likewise.
5816 * local-alloc.c (contains_replace_regs): Likewise.
5817 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
5818 * fold-const.c (fold_convert): Use "&&" for truth values.
5819 (fold): Add default case.
5820 * sdbout.c (sdbout_field_types): Fix typo in declaration.
5821 (sdbout_one_type): Add default case.
5822 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
5823 (some_operand): Add default case.
5824 (input_operand): Likewise.
5825 (signed_comparison_operator): Likewise.
5826 (divmod_operator): Likewise.
5827 (alpha_set_memflags_1): Likewise.
5828 * reload1.c (reload_cse_simplify_operands): Ensure function
5829 always returns a value.
5830 * scan-decls.c (scan_decls): Likewise.
5831 * c-lex.c (skip_white_space): Fix typo in declaraion.
5832 * c-typeck.c (comp_target_types): Add parentheses around assignment
5833 used as truth value.
5834 (print_spelling): Likewise.
5835 (constructor_implicit, constructor_result): Remove unused variables.
5836 * collect2.c (scan_library): Protect prototype with
5837 #ifdef SCAN_LIBRARIES.
5838 * emit-rtl.c (find_line_note): Fix typo in declaration.
5839 * final.c (asm_insn_count): Protect prototype with
5840 #ifdef HAVE_ATTR_length.
5841 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
5842 (try_pre_increment_1, try_pre_increment): Likewise.
5843 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
5844 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
5845 * gcov-io.h (__store_long, __write_long, __read_long): Fix
5846 unsigned/signed comparisons.
5847 * gcov.c (read_files): Remove unused "first_type" variable.
5848 (scan _for_source_files): Initialize s_ptr.
5849 (function_summary): Eliminate "%lf" formatting, use %ld for
5851 (output_data): Initialize branch_probs and last_line_num.
5852 Eliminate "%lf" formatting, use "%ld" for longs.
5854 Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
5856 * mips16.S: New file.
5858 * libgcc2.c (varargs): Handle mips16.
5860 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
5862 * stmt.c (expand_end_case): Likewise.
5863 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
5864 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
5865 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
5867 Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5869 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
5870 the build directory.
5871 (libobjc.a): Update dependency list.
5872 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
5874 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
5875 (objc.mostlyclean): Remove runtime-info.h.
5877 Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
5879 * tree.c (build_range_type): Allow creation of ranges with no maximum.
5880 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
5881 * dwarf2out.c (add_subscript_info): Likewise.
5882 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
5883 * sdbout.c (plain_type_1): Likewise.
5884 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
5886 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
5889 Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5891 * mips.c (fatal): Remove declaration.
5893 1997-12-18 Mark Mitchell <mmitchell@usa.net>
5895 * integrate.c (get_label_from_map): New function.
5896 (expand_inline_function): Use it. Initialize the label_map to
5897 NULL_RTX instead of gen_label_rtx.
5898 (copy_rtx_and_substitute): Use get_label_from_map.
5899 * integrate.h (get_label_from_map): New function.
5900 (set_label_from_map): New macro.
5901 * unroll.c (unroll_loop): Use them.
5902 (copy_loop_body): Ditto.
5904 Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
5906 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
5907 (INIT_TARGET_OPTABS): Define.
5908 * mips/ecoff.h: Include gofast.h before mips.h.
5909 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
5910 * mips/elf64.h: Likewise.
5911 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
5913 Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
5915 * except.c: Remove register_exception_table{,_p}.
5917 Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
5919 * unroll.c (calculate_giv_inc): Handle constant increment found in
5920 a MEM with an appropriate REG_EQUAL note.
5922 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
5924 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
5925 frame pointer in the prologue.
5927 Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
5929 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
5930 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
5932 Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
5934 * config/m68k/m68k.c (output_function_prologue): Typecast
5935 dwarf2out_cfi_label to (char *).
5936 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
5938 Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
5940 * sparc.md (jump): Don't use the annul bit around an empty loop.
5941 Patch from Kevin.Kelly@East.Sun.COM.
5943 Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
5945 * jump.c: (jump_optimize): Don't use the return register as a
5946 source1 of a conditional move.
5948 Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
5950 * sparc.c (DF_MODES): Or the mask not the bit number.
5951 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
5953 Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
5955 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
5957 Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
5959 * fixincludes (size_t): Add support for Motorola's stdlib.h
5960 which fails to provide a definition for size_t.
5961 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
5962 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
5963 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
5965 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
5966 prevent unresolved externals in libio.
5967 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
5969 Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
5971 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
5972 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
5973 (LIB_SPEC): Updated for glibc 2.
5975 Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
5977 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
5978 * ginclude/varargs.h: Likewise.
5980 Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
5982 * version.c: Bump for snapshot.
5984 Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
5986 * frame.h (__register_frame, __register_frame_table,
5987 __deregister_frame): New.
5988 * frame.c (__register_frame, __register_frame_table,
5989 __deregister_frame): New.
5990 * frame.c (__deregister_frame_info): Return void *.
5991 * frame.h (__deregister_frame_info): Ditto.
5992 * collect2.c (__deregister_frame_info): Ditto.
5994 Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
5996 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
5998 Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
6000 * alpha.c (alpha_cpu_name): New variable.
6001 (alpha_mlat_string): Likewise.
6002 (alpha_memory_latency): Likewise.
6003 (override_options): Handle -mmemory-latency.
6004 (alpha_adjust_cost): Adjust load cost for latency.
6005 * alpha.h (TARGET_OPTIONS): Add meory-latency.
6006 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
6007 TARGET_CIX into account.
6008 (MEMORY_MOVE_COST): Define in terms of memory_latency.
6009 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
6011 * alpha.h (ASM_COMMENT_START): New macro.
6013 Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
6015 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
6016 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
6018 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
6019 SUBREG_REG if the word count is unchanged.
6020 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
6021 subregs of identical word size for push_reload.
6023 Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
6025 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
6026 if all we're doing is dealing with -Wreturn-type.
6028 Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
6030 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
6031 Use and 255 instead of zapnot 1, since it schedules better.
6033 Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
6035 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
6038 Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
6040 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
6041 dependency we delete. Properly update prev for multiple consecutive
6043 (priority): Skip deleted dependence.
6045 Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
6047 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
6049 Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6051 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
6052 determining when a new basic block starts.
6054 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
6056 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
6057 * pa.md (iorsi3): Add missing args to *_operand calls.
6059 * except.c (call_get_eh_context): Don't mess with sequences.
6060 (emit_eh_context): Include the call in the sequence here.
6062 1997-12-11 Paul Eggert <eggert@twinsun.com>
6064 * collect2.c (write_c_file_glob): Allocate initial frame object
6065 in static storage and pass its address.
6067 Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6069 * except.c (call_get_eh_context): Don't take a parm.
6070 Put the call at the top of the function.
6071 (emit_eh_context): Adjust.
6072 (get_eh_context): Replace with former use_eh_context.
6073 (get_eh_context_once, get_saved_pc_ref): Remove.
6074 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
6076 * integrate.c (expand_inline_function): Adjust.
6077 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
6079 Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
6081 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
6082 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
6084 Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
6086 * fixincludes (strlen,strspn,strcspn return value): Handle different
6088 (hypot): Provide a fake for hypot which is broken on
6089 m88k-motorola-sysv3.
6091 Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
6093 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
6094 tree_code_name from pointers to arrays.
6095 * tree.c: Remove standard_tree_code_* variables, no longer used.
6096 * print-tree.c: Remove declaration of tree_code_name.
6098 * cp/lex.c (init_lex): Update for tree_code_* changes.
6099 * objc/objc-act.c (init_objc): Likewise.
6101 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
6104 Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
6106 * config.sub: Add support for BeOS target.
6107 * configure.in: Likewise.
6108 * ginclude/stdarg.h: Likewise.
6109 * ginclude/stddef.h: Likewise.
6110 * ginclude/varargs.h: Likewise.
6111 * rs6000/beos.h: New file for BeOS.
6112 * rs6000/t-beos: Likewise.
6113 * rs6000/x-beos: Likewise.
6114 * rs6000/xm-beos.h: Likewise.
6115 * toplev.c (get_run_time): Just return 0 on BeOS.
6117 Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
6118 Toon Moene (toon@moene.indiv.nluug.nl)
6120 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
6121 old and broken Sun3 assemblers. Newer versions handle large
6122 offsets correctly as does the GNU assembler.
6124 Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
6126 * objc/objc-act.c (lang_report_error_function): Disable.
6127 * objc/objc-parse.y: Include "output.h".
6128 (yyerror): Remove redundant decl.
6129 (yyprint): Fix prototype.
6130 (apply_args_register_offset): Remove redundant decl.
6131 (get_file_function_name): Likewise.
6133 Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
6135 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
6137 (find_basic_blocks_1): Likewise.
6139 Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6141 * except.c (use_eh_context): Don't copy_rtx a REG.
6142 (emit_throw): Lose old unwinder support.
6143 (expand_internal_throw): Likewise.
6144 * libgcc2.c (struct eh_context): Likewise.
6145 (new_eh_context): Likewise.
6146 (__get_eh_info): Lose redundant cast.
6147 (__get_dynamic_handler_chain): Likewise.
6148 (__get_saved_pc): Lose.
6149 Lose all old unwinder support code.
6151 Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
6153 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
6155 * integrate.c (expand_inline_function): If the inline fn uses eh
6156 context, make sure that the current fn has one.
6157 * toplev.c (rest_of_compilation): Call emit_eh_context.
6158 * except.c (use_eh_context): New fn.
6159 (get_eh_context_once): New fn.
6160 (call_get_eh_context): New fn.
6161 (emit_eh_context): New fn.
6162 (get_eh_context): Call either get_eh_context_once or
6163 call_get_eh_context, depending on what we have.
6164 (get_dynamic_handler_chain): Call get_eh_context_once.
6165 * except.h: Prototypes for fns above.
6166 * optabs.c (get_eh_context_libfunc): Removed.
6167 (init_optabs): Don't initialize it.
6168 * expr.h (get_eh_context_libfunc): Removed.
6169 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
6170 * config/pa/pa.h (CPP_SPEC): Support for -threads.
6171 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
6172 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
6173 New multilib for -threads.
6174 * config/sparc/t-sol2: Added multilibs for -threads and
6175 made -pthreads alias to it.
6176 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
6177 Added -threads and -pthreads options.
6178 * libgcc-thr.h: New file.
6179 * libgcc2.c: (__get_cpp_eh_context): Removed.
6180 (struct cpp_eh_context): Removed.
6181 (struct eh_context): Replaced cpp_eh_context with generic language
6183 (__get_eh_info): New function.
6184 (__throw): Check eh_context::info.
6186 * libgcc2.c: Include libgcc-thr.h.
6187 (new_eh_context, __get_eh_context,
6188 eh_pthread_initialize, eh_context_initialize, eh_context_static,
6189 eh_context_specific, eh_context_free): New functions.
6190 (get_eh_context, eh_context_key): New variables.
6191 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
6192 get_eh_context to get the context.
6193 (longjmp): Move the declaration inside
6194 #ifdef DONT_USE_BUILTIN_SETJMP.
6195 * frame.c: Include libgcc-thr.h.
6196 (object_mutex): Mutex to protect the object list.
6197 (find_fde, __register_frame, __register_frame_table,
6198 __deregister_frame): Hold the lock while accessing objects.
6199 * except.h (get_eh_context): Declare.
6200 * except.c (current_function_ehc): Define.
6201 (current_function_dhc, current_function_dcc): Removed.
6202 (get_eh_context): New function.
6203 (get_dynamic_handler_chain): Use get_eh_context.
6204 (get_saved_pc_ref): Ditto.
6205 (get_dynamic_cleanup_chain): Removed references to
6206 current_function_dcc.
6207 (save_eh_status, restore_eh_status): Save and restore
6208 current_function_ehc instead.
6209 * optabs.c (get_eh_context_libfunc): New variable.
6210 (init_optabs): Initialize it.
6211 * expr.h: Declare get_eh_context_libfunc.
6212 * function.h (struct function): Replaced dhc and dcc with ehc.
6213 * except.c (get_saved_pc_ref): New functions.
6214 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
6215 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
6217 (end_eh_unwinder): Likewise.
6218 (init_eh): Remove initialization of eh_saved_pc.
6219 * optabs.c (get_saved_pc_libfunc): New variable.
6220 (init_optabs): Initialize it.
6221 * expr.h: Declare get_saved_pc_libfunc.
6222 * except.h (eh_saved_pc_rtx): Deleted.
6223 (get_saved_pc_ref): Declared.
6225 From Scott Snyder <snyder@d0sgif.fnal.gov>:
6226 * libgcc2.c (__get_saved_pc): New.
6227 (__eh_type, __eh_pc): Deleted.
6228 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
6229 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
6232 Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
6234 * sparc/sol2.h: Use 64 bit multiply and divide functions in
6235 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
6238 * rtl.h (global_rtl): New variable, replacing separate variables for
6240 (const_int_rtx): Now array of rtx_def, not rtx.
6241 * emit-rtl.c: Update for new rtl data structures.
6242 * genattrtab.c: Define global_rtl.
6244 Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
6246 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
6249 Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
6251 * crtstuff.c (__do_global_ctors): Fix typo.
6253 Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
6255 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6256 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6258 Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
6260 * rs6000.h (FUNCTION_ARG_PADDING): Define.
6261 * rs6000.c (function_arg_padding): New function.
6263 Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
6265 * m68k.c: Include tree.h only once.
6267 Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6269 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
6271 Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
6273 * Partially cleaned up prototyping code from HJ.
6274 * tree.h: Add many prototypes.
6275 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
6276 All references changed.
6277 * rtl.h: Protect from multiple inclusions. Add many prototypes.
6279 Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
6281 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
6282 string functions like strlen.
6284 Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
6286 * configure.in: Check for functions getrlimit and setrlimit.
6287 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6288 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6290 Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
6292 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
6294 Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
6296 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
6299 * alpha.c (override_options): Don't know about scheduling for EV6.
6300 * alpha.md (ev5 function units): Don't overload as ev6.
6302 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
6303 * alpha.md (define_attr type): Add mvi.
6304 (ev5_e0): Define sceduling parameters for it.
6305 (TARGET_MAX insns): Type is mvi not shift.
6307 Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
6309 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
6311 Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6313 * cstamp-h, auto-config.h: Delete.
6315 Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
6317 * version.c: Bump for snapshot.
6319 Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
6321 * cccp.c: Fix typo brought over in merge.
6323 * Merge in changes from gcc-2.8.
6325 Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
6327 * m68k.c: Include tree.h for dwarf2out_cfi_label.
6329 * gcc.c (process_command): Do not take address of function fatal when
6330 calling lang_specific_driver.
6332 Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
6334 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
6335 doesn't work with it yet, so set it to 0.
6336 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
6338 Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
6340 * cse.c (cse_insn): Check for invalid entries when taking references.
6342 Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6344 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
6345 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
6346 * toplev.c (rest_of_compilation): Pass it. Remove code to
6347 save / clear / restore flag_unroll_{,all_}loops.
6349 Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6351 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
6353 Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
6355 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
6357 Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
6359 * except.c (get_dynamic_handler_chain): Only make the call once per
6362 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
6364 Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6366 * sh.c (final_prescan_insn): Use local label prefix
6367 when emitting .uses pseudo-ops.
6369 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6371 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
6372 * except.c: Lose outer_context_label_stack.
6373 (expand_eh_region_end): Rethrow from outer_context here.
6374 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
6375 (expand_internal_throw): Take no args.
6376 (expand_internal_throw_indirect): Lose.
6377 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
6378 (expand_start_all_catch): Start a rethrow region.
6379 (expand_end_all_catch): End it.
6380 (expand_rethrow): New fn.
6381 * except.h: Reflect above changes.
6382 * flow.c: Revert change of Nov 27.
6384 Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
6386 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
6388 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6390 * except.c (expand_fixup_region_end): New fn.
6391 (expand_fixup_region_start): Likewise.
6392 (expand_eh_region_start_tree): Store cleanup into finalization here.
6393 * stmt.c (expand_cleanups): Use them to protect fixups.
6395 Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
6397 * mips/mips.md (muldi3_r4000): Broaden the output template
6398 and attribute assignments to handle three operand dmult;
6399 rename to muldi3_internal2.
6400 (muldi3): Call the new muldi3_internal2 for R4000, and
6401 any GENERATE_MULT3 chip.
6403 Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
6405 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
6407 Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
6409 * unroll.c (find_splittable_givs): Remove last change. Handle givs
6410 with a dest_reg that was created by loop.
6412 Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
6414 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
6416 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
6418 Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
6420 * configure.in: Fix NCR entries.
6422 Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
6424 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
6425 nested exceptions correctly.
6427 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
6428 that was created by loop.
6430 Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
6432 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
6434 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
6436 Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
6438 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
6439 (print_operand): Use SMALL_DATA_REG for the register involved in
6440 small data relocations.
6441 (print_operand_address): Ditto.
6443 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
6444 -dynamic linker is not used.
6446 * rs6000.md (call insns): For local calls, use @local suffix under
6447 System V. Don't use @plt under Solaris.
6449 * rs6000.c (output_function_profiler): Put label address in r0, and
6450 store LR in 4(sp) for System V/eabi.
6452 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
6453 byte boundary, and maintain stack backchain.
6455 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6457 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6458 fix_truncsfdi2): Change *.
6460 Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
6462 * toplev.c (main): Complain about -gdwarfn.
6464 Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
6466 * dwarfout.c (output_type): If finalizing, write out nested types
6467 of types we've already written.
6469 Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
6471 (patches originally from Geoffrey Keating)
6472 * rs6000.c (function_arg): Excess floating point arguments don't
6473 go into GPR registers after exhausting FP registers under the
6475 (function_arg_partial_nregs): Ditto.
6477 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
6480 Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
6482 * integrate.c (output_inline_function): Just unset DECL_INLINE.
6484 Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
6486 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
6489 * libgcc2.c (__throw): Initialize HANDLER.
6491 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6493 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6494 fix_truncsfdi2): Change *X to ?*X.
6496 Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
6498 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
6500 Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
6502 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
6504 Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
6506 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
6508 Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
6510 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
6511 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
6514 Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
6516 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
6517 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
6518 gas and not using the new HP assembler.
6520 Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
6522 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
6523 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
6525 Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
6527 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
6528 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
6531 Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6533 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
6535 Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
6537 * except.h: Add outer_context_label_stack.
6538 * except.c: Likewise.
6539 (expand_start_all_catch): Push the outer_context for the try block
6540 onto outer_context_label_stack.
6541 (expand_end_all_catch): Use it and pop it.
6543 Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
6545 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
6547 Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
6549 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
6551 Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
6553 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
6554 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6556 Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
6558 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
6559 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
6560 __builtin_delete, and __builtin_vec_delete.
6562 * except.c (output_exception_table): Don't bother with
6565 Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
6567 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
6568 is an in/out operand.
6569 (zero extended variants of stwm/stwm patterns): Similarly.
6571 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
6573 Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
6575 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
6577 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
6578 (output_call_frame_info): Emit a \n after using it.
6580 Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
6582 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
6584 Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
6586 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
6587 (ASM_OUTPUT_DWARF_VALUE4): New macro.
6588 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
6590 (output_call_frame_info): Do not output forward label differences
6591 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
6592 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
6594 Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6596 * sh.md (attribute "type"): Add nil.
6597 (movsi_ie): y/y alternative is type nil.
6598 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
6600 (movsf_ie+1): Delete.
6602 Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
6604 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
6605 large_int, emit two insns instead of one splitable insn.
6606 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
6607 from cfa_temp_value, use cfa_offset. Add assert checking that
6610 Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
6612 * cccp.c (deps_output): Properly quote file names for make.
6614 Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
6616 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
6618 Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
6620 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
6622 Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
6624 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
6626 (cse_end_of_basic_block): Similarly.
6628 Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
6630 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
6631 (SELECT_RTX_SECTION): Define.
6632 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
6634 Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
6636 * Makefile.in (compare, compare-lean): Define $stage for each
6638 (gnucompare, gnucompare-lean): Likewise.
6640 Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
6642 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
6644 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
6645 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6647 Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
6649 * dwarfout.c (byte_size_attribute): Add local var upper_bound
6650 and add case to handle STRING_TYPE.
6651 * dwarfout.c (output_string_type_die): Fix code to generate
6652 correct string length attribute for fixed length strings.
6653 Still needs support for varying length strings.
6655 Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
6657 * toplev.c (get_run_time): Do something sensible for cygwin32.
6659 Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
6661 * expr.c (expand_builtin_setjmp): Set
6662 current_function_has_nonlocal_label.
6663 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
6664 call-saved registers across calls.
6666 * alpha.md (exception_receiver): Remove.
6667 (nonlocal_goto_receiver_osf): New
6668 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
6669 (nonlocal_goto_receiver): New, select _osf or _vms.
6671 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
6672 keep them from being propogated to the object file.
6673 (alpha_write_linkage): Likewise.
6674 * alpha.md (call_vms): Likewise.
6675 (call_value_vms): Likewise.
6676 (unnamed osf call insns): Likewise.
6678 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
6679 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6681 * alpha.c (call_operand): Any reg is valid for WinNT.
6682 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
6683 (anon nt calls): Add 'R' alternative.
6684 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
6685 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
6687 Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
6689 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
6691 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
6692 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6693 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6695 Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
6697 * reload1.c (new_spill_reg): Improve fixed or forbidden register
6698 spill error message.
6700 Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6702 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
6703 use varargs.h. Wrap header with <>, not "".
6705 Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
6707 * integrate.c (save_for_inline_copying): Add return value from
6710 Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
6712 * fixincludes: Be a little more restrictive on what we will
6713 substitute to replace definitions of MAXINT for HPUX.
6715 Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
6717 * dbxout.c (dbxout_symbol_location): Don't assume that variables
6718 whose address is the stack or argument pointers are indirect
6721 1997-11-13 Paul Eggert <eggert@twinsun.com>
6723 * cccp.c, cpplib.c (compare_defs):
6724 Don't complain about arg name respellings unless pedantic.
6725 * cpplib.c (compare_defs): Accept pfile as new arg.
6726 All callers changed.
6728 Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6730 * fold-const.c (fold_truthop): Fix bug in last change.
6732 1997-11-13 Paul Eggert <eggert@twinsun.com>
6734 Fix some confusion with IEEE minus zero.
6736 * real.h (REAL_VALUES_IDENTICAL): New macro.
6738 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
6739 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
6741 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
6742 same tree structure as 0.0.
6744 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
6745 macro instead of doing it by hand.
6747 Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
6749 * v850/lib1funcs.asm: Minor whitespace changes.
6750 * v850.c: Fix minor formatting problems in many places.
6751 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
6753 Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
6755 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
6756 xplus1 when xplus0 is not a register.
6758 Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
6760 * flow.c (find_basic_blocks): During marking phase, if we encounter
6761 an insn with a REG_LABEL note, make the target block live and
6762 create an edge from the insn to the target block. Do not make
6763 edges from all blocks to the target block.
6765 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
6767 * confiugre.in: Tweak NCR entries.
6768 * configure: Rebuilt.
6770 Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
6772 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
6773 pick apart floating point values, instead of using CONST_DOUBLE_LOW
6774 and CONST_DOUBLE_HIGH.
6776 * rs6000.md (define_splits for DF constants): Use the appropriate
6777 REAL_VALUE_* interface to pick apart DF floating point constants in
6778 a machine independent fashion.
6780 Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6782 * fold-const.c (fold_truthop): When changing a one-bit comparison
6783 against zero into a comparison against mask, do a proper sign
6786 Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
6788 * except.c: Do not include "assert.h".
6789 (save_eh_status): Turn asserts into conditional aborts.
6790 (restore_eh_status, scan_region): Likewise.
6791 * dwarfout.c: Do not include "assert.h".
6792 (bit_offset_attribute): Turn asserts into conditional aborts.
6793 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
6794 (output_inlined_structure_type_die): Likewise.
6795 (output_inlined_union_type_die): Likewise
6796 (output_tagged_type_instantiation): Likewise.
6797 (dwarfout_file_scope_decl): Likewise.
6798 * dwarf2out.c: Do not include "assert.h"
6799 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
6800 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
6801 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
6802 (add_bit_size_attribute, scope_die_for): Likewise.
6803 (output_pending_types_for_scope): Likewise.
6804 (get_inlined_enumeration_type_die): Likewise.
6805 (get_inlined_structure_type_die): Likewise.
6806 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
6807 (gen_tagged_type_instantiation_die): Likewise.
6809 * flow.c (find_basic_blocks): Refine further to get a more correct
6810 cfg, especially in the presense of exception handling, computed
6811 gotos, and other non-trivial cases. Call abort if an inaccuracy
6812 is detected in the cfg.
6814 Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6816 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
6818 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
6819 (skip_white_space): Use whitespace_cr.
6820 (check_newline): Handle whitespace more consistently.
6822 Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
6824 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
6825 * i386/xm-cygwin32.h (POSIX): Define.
6827 Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
6829 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
6830 is available elsewhere.
6832 Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
6834 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
6835 what the instruction can handle.
6837 Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
6839 * stmt.c (expand_decl_cleanup_no_eh): New fn.
6841 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
6843 Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
6845 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
6846 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
6848 Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
6850 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
6851 swap instruction order.
6853 Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
6855 * fixinc.svr4 (__STDC__): Add another case.
6857 Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6859 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
6860 addresses in the epilogue delay slot.
6862 Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
6864 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
6865 in generated `specs' file.
6867 Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
6869 * flags.h (flag_rerun_loop_opt): Declare.
6870 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
6871 * toplev.c (flag_rerum_loop_opt): Delete static.
6873 Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6875 Bring over from FSF:
6877 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6879 * va-sh.h (__va_arg_sh1): Define.
6881 SH3E doesn't use any integer registers for subsequent arguments
6882 once a non-float value was passed in the stack.
6883 * sh.c (machine_dependent_reorg): If optimizing, put explicit
6884 alignment in front label for ADDR_DIFF_VEC.
6885 * sh.h (PASS_IN_REG_P): Fix SH3E case.
6886 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
6888 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6890 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
6893 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6895 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
6896 put an use_sfunc_addr before each sfunc.
6897 * sh.md (use_sfunc_addr, dummy_jump): New insns.
6898 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
6900 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6902 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
6904 Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
6906 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
6909 Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
6911 * alias.c (find_base_value): Only return the known base value for
6914 Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
6916 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
6917 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
6919 (prologue_get_pc_and_set_got): New pattern.
6921 Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
6923 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
6924 for SUBREG, just fall through.
6926 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
6928 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
6930 Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
6932 * fixincludes: Fix "hypot" prototype in NeXT math.h.
6934 * Makefile.in (USE_ALLOCA): Always include alloca.o.
6935 (USE_HOST_ALLOCA): Likewise.
6937 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
6938 and LABEL_REFS fields.
6939 * rtl.h (LABEL_REFS): Update.
6941 Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
6943 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
6944 sets i2dest. When calling distribute_notes for i3dest_killed, pass
6945 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
6948 * mips.md (insv, extzv, extv): Add change_address call.
6949 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
6951 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
6953 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
6955 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
6956 save_restore_insns if no FP and GP will be restored.
6958 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
6959 Convert CCmode to word_mode before calling GET_MODE_SIZE.
6961 * acconfig.h (HAVE_INTTYPES_H): Undef.
6962 * configure.in (inttypes.h): Check for conflicts between sys/types.h
6963 and inttypes.h, and verify that intmax_t is defined.
6964 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
6965 * config/mips/x-iris3: Likewise.
6967 Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
6969 * alias.c (find_base_value): When copying arguments, return the
6970 tenative value for a hard register.
6972 Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
6974 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
6975 (yylex): Record wide strings using target endianness, not host.
6977 Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
6979 * mn10200.h (ASM_OUTPUT_BSS): Delete.
6980 (ASM_OUTPUT_ALIGNED_BSS): New macro
6981 * mn10300.h (ASM_OUTPUT_BSS): Delete.
6982 (ASM_OUTPUT_ALIGNED_BSS): New macro.
6983 * v850.h (ASM_OUTPUT_BSS): Delete.
6984 (ASM_OUTPUT_ALIGNED_BSS): New macro.
6986 Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6988 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
6990 Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
6992 * configure.in (sco5): Use cpio to install header files.
6994 Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
6996 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
6998 * configure: Rebuild.
7000 Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
7002 * i386/sco5.h: enable -gstabs once again.
7004 Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
7006 * arm.c (output_move_double): Allocate 3 entries in otherops array.
7008 Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
7010 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
7011 notes for sjlj exceptions too.
7012 (expand_eh_region_end): Similarly for EH_REGION_END notes.
7013 (exception_optimize): Optimize EH regions for sjlj exceptions too.
7014 * final.c (final_scan_insn): Don't output labels for EH REGION
7015 notes if doing sjlj exceptions.
7017 Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
7019 * alias.c (init_alias_analysis): Handle -fno-alias-check when
7020 optimizing correctly.
7022 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
7023 or set current_function_calls_setjmp anymore.
7025 * flow.c (find_basic_blocks): If we delete the label for an
7026 exception handler, remove it from the EH label list and remove
7027 the EH_BEGIN/EH_END notes for that EH region.
7029 Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
7031 * flow.c (find_basic_blocks): Generate correct flow control
7032 information when exception handling notes are present.
7034 Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
7036 * dwarf2out.c (output_call_frame_info): Fix length argument
7037 to ASM_OUTPUT_ASCII.
7038 (output_die, output_pubnames, output_line_info): Likewise.
7040 Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
7042 * version.c: Bump for snapshot.
7044 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
7045 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
7046 flag_debug_asm is on.
7047 (output_die, output_pubnames, output_line_info): Likewise.
7049 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
7050 and static_chain_rtx into the potential base values array if
7053 * alias.c (new_reg_base_value): New array of potential base values.
7054 (unique_id): Now file scoped static.
7055 (find_base_value, case REG): Return the value in reg_base_value
7056 array for the REG if it exists. Else, return the value from
7057 new_reg_base_value if copying args and REG is a hard register.
7058 (find_base_value, case PLUS): If either operand of the PLUS is
7059 a REG, try to get its base value. Handle base + index and
7061 (record_set): Use new_reg_base_value instead of reg_base_value.
7062 (init_alias_analysis): Allocate space for new_reg_base_value too.
7063 Rework code to iterate over the insns propagating base value
7064 information until nothing changes.
7066 * global.c (global_alloc): Free the conflict matrix after
7067 reload has finished.
7069 Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
7071 * libgcc2.c (L_eh): Define __eh_pc.
7072 Replace __eh_type with generic pointer __eh_info.
7074 Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
7076 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
7077 use copy_to_reg if address is not a general_operand.
7079 Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7081 * profile.c (output_func_start_profiler): Clear flag_inline_functions
7082 for the duration of the call to rest_of_compilation.
7084 Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
7086 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
7088 (sparc*-*-*): Recognize --with-cpu=v9.
7089 * sparc/elf.h: New file.
7090 * sparc/t-elf: New file.
7092 Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
7094 * mn10300.c (const_8bit_operand): New function.
7095 (mask_ok_for_mem_btst): New funtion.
7096 * mn10300.md (btst patterns with mem operands): Use new functions
7097 to avoid creating btst instructions with invalid operands.
7099 Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
7101 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
7102 are running on PowerPC Linux.
7104 Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
7106 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
7107 if not previously defined.
7109 Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
7111 * function.c (assign_parms): Correct mode of stack_parm if
7112 entry_parm underwent a mode conversion.
7114 1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
7116 * global.c (global_alloc): Use xmalloc instead of alloca for
7117 CONFLICTS, since max_allocno * allocno_row_words alone can be more
7118 than 2.5Mb sometimes.
7120 Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
7122 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
7123 DEST for the spill, adjust mode of SRC to compensate.
7125 Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
7127 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
7128 since any_memory_operand() allows pseudos during reload.
7129 (reload_inhi, reload_outqi, reload_outhi): Likewise.
7131 Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
7133 * m68k.md (btst patterns): Add 5200 support.
7135 Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7137 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
7138 optimizations, look inside dividend to determine if the expression
7139 can be simplified by using EXACT_DIV_EXPR.
7141 Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
7144 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
7146 Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
7148 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
7150 Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
7152 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
7155 Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
7157 * alpha.md (movqi, movhi): Make sure new insns created during reload
7158 won't need reloading themselves.
7159 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
7161 Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
7163 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
7165 Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
7167 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
7168 Patch from Klaus Kaempf <kkaempf@progis.de>.
7170 Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
7172 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
7173 to an element in a constant string.
7175 Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
7177 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
7178 bit PC-relative offset. The exception range table pointer is now in
7180 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
7181 (count_fdes, add_fdes, get_cie): Adjust.
7182 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
7185 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
7187 Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
7189 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
7190 like stack_pointer_rtx.
7192 Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
7194 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
7195 targets using "$@" to provide support for similar but not identical
7196 targets without having to duplicate code.
7197 (bootstrap4): New goal.
7199 * Makefile.in (compare, compare-lean, compare3): Combined to one
7200 ruleset determining actions to be performed via $@.
7201 (compare4, compare4-lean): New targets.
7202 (gnucompare, gnucompare3): Combined to one ruleset determining
7203 actions to be performed via $@. Also, note which files failed
7204 the comparison test in .bad_compare.
7205 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
7207 Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7209 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
7210 if the dividend is a multiple of the divisor.
7212 Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
7214 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
7216 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
7219 * alias.c (true_dependence): Fix typo.
7221 * toplev.c (flag_rerun_loop_opt): New variable.
7222 (f_options): Handle -frerun-loop-opt.
7223 (rest_of_compilation): If -frerun-loop-opt, then run the loop
7225 (main): Enable -frerun-loop-opt by default for -O2 or greater.
7227 * loop.c (simplify_giv_expr): Adding two invariants results
7230 Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
7232 * expr.c (get_inner_reference): Remove the array bias after
7233 converting the index to Pmode.
7235 Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
7237 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
7238 (TARGET_MULT_BUG): Define.
7239 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
7240 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
7242 Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
7244 * mn10200.c (indirect_memory_operand): Delete unused function.
7245 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
7246 * mn10200.md (bset, bclr insns): Handle output in a reg too.
7248 Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
7250 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
7251 the callee's ldgp, we must do it ourselves, and we use the jsr tag
7252 for more than scheduling.
7254 Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
7256 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
7258 Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
7260 * mn10300.c (symbolic_operand, legitimize_address): New functions.
7261 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
7262 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
7264 Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
7266 * version.c: Bump for snapshot.
7268 Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7270 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
7273 Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
7275 * toplev.c (flag_exceptions): Default value is 2.
7276 (compile_file): If flag_exceptions still has the value 2, then
7279 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
7280 (rs6000_save_machine_status): Save pic_offset_table_rtx.
7281 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
7283 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
7286 * rs6000.md (*movsi_got_internal_mem): New pattern.
7287 (*movsi_got_internal_mem splitter): New define_split.
7289 Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
7291 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
7293 Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7295 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
7296 only need to save LR.
7298 Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
7300 * mn10300.md (movqi, movhi): Avoid using address registers as
7301 destinations unless absolutely necessary.
7303 * mn10200.c (expand_prologue): Fix typo.
7305 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
7307 * mn10200.md (neghi2): Provide an alternative which works if
7308 the input and output register are the same.
7310 * mn10300.c (print_operand): Handle 'S'.
7311 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
7312 shift amount in last alternative
7314 * mn10300.c (expand_epilogue): Rework to handle register restores
7315 in "ret" and "retf" instructions correctly.
7317 Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
7319 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
7320 extzv for memory operands.
7322 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
7323 redundant conditional moves to single operand.
7325 Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
7327 * v850.h: Move define of __v850__ from CPP_PREDEFINES
7330 * xm-v850.h: Use __v850 rather than __v850__ to
7333 Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
7335 * mips/mips.c (compute_frame_size): Not a leaf function if
7338 Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7340 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
7342 Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
7344 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
7345 (DEFAULT_ARCH32_P): New macro.
7346 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
7347 (enum cmodel): Declare.
7348 (sparc_cmodel_string,sparc_cmodel): Declare.
7349 (SPARC_DEFAULT_CMODEL): Provide default.
7350 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
7351 (TARGET_FULLANY): Deleted.
7352 (TARGET_CM_MEDMID): New macro.
7353 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
7354 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7355 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
7356 (CPP_SPEC): Rewrite.
7357 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7358 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
7359 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7360 (ASM_SPEC): Add %(asm_arch).
7361 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
7362 Rename asm_default to asm_cpu_default.
7363 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
7364 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
7365 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
7366 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
7367 (MASK_INT64,MASK_LONG64): Delete.
7368 (MASK_ARCH64): Renamed to MASK_64BIT.
7369 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
7370 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
7371 (TARGET_SWITCHES): Always provide 64 bit options.
7372 (ARCH64_SWITCHES): Delete.
7373 (TARGET_OPTIONS): New option -mcmodel=.
7374 (INT_TYPE_SIZE): Always 32.
7375 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
7376 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
7377 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
7378 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
7379 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
7381 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7382 * sparc/linux.h: Likewise.
7383 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
7384 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7385 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
7386 (SPARC_DEFAULT_CMODEL): Define.
7387 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7388 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7389 (LONG_DOUBLE_TYPE_SIZE): Define.
7390 (ASM_SPEC): Add %(asm_arch).
7391 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7392 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7393 (TARGET_CPU_DEFAULT): Add ultrasparc case.
7394 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
7395 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
7396 (SPARC_DEFAULT_CMODEL): Define.
7397 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
7398 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
7399 MASK_LONG64, MASK_MEDANY.
7400 (SPARC_DEFAULT_CMODEL): Define.
7401 (CPP_PREDEFINES): Delete.
7402 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7403 (ASM_SPEC): Add %(asm_arch).
7404 (LONG_DOUBLE_TYPE_SIZE): Define.
7405 (DWARF2_DEBUGGING_INFO): Define.
7406 * sparc/splet.h (CPP_SPEC): Delete.
7407 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7408 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
7409 (BLOCK_PROFILER): Likewise.
7410 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
7411 (sparc_override_options): Handle code model selection.
7412 (sparc_init_expanders): Renamed from sparc64_init_expanders.
7413 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
7414 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
7415 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
7416 (sethi_di_fullany): Delete.
7418 Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
7419 Jeff Law <law@cygnus.com>
7420 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7422 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
7423 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
7424 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
7425 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
7426 * alpha/alpha.md (arg_home): Likewise.
7428 * alpha/alpha.c (vmskrunch): Delete
7429 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
7430 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
7431 truncate to 64 characters.
7433 * make-l2.com: Support openVMS/Alpha.
7435 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
7437 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7439 * longlong.h (count_leading_zeros): Add missing casts to USItype.
7441 Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
7443 * i386/bsd386.h (ASM_COMMENT_START): Define.
7445 Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
7447 * tree.c (restore_tree_status): Also free up temporary storage
7448 when we finish a toplevel function.
7449 (dump_tree_statistics): Print stats for backend obstacks.
7451 Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
7453 * expr.c (use_group_regs): Don't call use_reg for MEMs.
7455 Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
7457 * libgcc2.c (__throw): Don't copy the return address.
7458 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
7460 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
7461 * toplev.c (main): Initialize exceptions_via_longjmp.
7463 * tree.c: Add extra_inline_obstacks.
7464 (save_tree_status): Use it.
7465 (restore_tree_status): If this is a toplevel inline obstack and we
7466 didn't want to save anything on it, recycle it.
7467 (print_inline_obstack_statistics): New fn.
7468 * function.c (pop_function_context_from): Pass context to
7469 restore_tree_status.
7470 * obstack.h (obstack_empty_p): New macro.
7472 Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
7474 * i386/freebsd.h (ASM_COMMENT_START): Fix.
7476 Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
7478 * v850.c (ep_memory_offset): New function.
7479 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
7481 * v850.h (CONST_OK_FOR_*): Add and correct comments.
7482 (CONSTANT_ADDRESS_P): Add comment.
7483 (EXTRA_CONSTRAINT): Define 'U'.
7484 * v850.md: Add comments on bit field instructions.
7485 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
7486 (lshrsi3): Use N not J constraint.
7488 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
7490 * v850.c (reg_or_0_operand): Call register_operand.
7491 (reg_or_int5_operand): Likewise.
7492 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
7493 (TARGET_SWITCHES): Add "big-switch".
7494 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
7495 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
7496 (CASE_DROPS_THROUGH): Comment out.
7497 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
7498 * v850.md (cmpsi): Delete compare mode.
7499 (casesi): New pattern.
7501 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
7502 * v850.md (ashlsi3): Use SImode not QImode for shift count.
7503 (lshrsi3): Likewise.
7505 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
7506 unreachable switch statement after 'b' support. Remove "b" from
7507 strings for 'b' support.
7508 * v850.md (branch_normal, branch_invert): Change %b to b%b.
7510 Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
7512 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
7513 empty line if @inhibit_libc@ is empty.
7515 Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
7517 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
7518 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
7519 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7520 (DWARF2_UNWIND_INFO): Let this track object file format.
7521 (EXTRA_SECTIONS): Add in_eh.
7522 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
7523 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7525 Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
7527 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
7528 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
7530 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
7531 (output_double_int): Output DI mode values correctly when
7532 HOST_BITS_PER_WIDE_INT is 64.
7533 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
7534 fmovd so it works if a quad float ends up in one of the upper 32
7536 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
7537 necessary for PIC support on sparc64.
7539 Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
7541 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
7542 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
7543 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
7544 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
7545 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
7546 (SPARC_FP_ARG_FIRST): New macro.
7547 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
7548 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
7549 (NPARM_REGS): There are 32 fp argument registers now.
7550 (FUNCTION_ARG_REGNO_P): Likewise.
7551 (FIRST_PARM_OFFSET): Update to new v9 abi.
7552 (REG_PARM_STACK_SPACE): Define for arch64.
7553 (enum sparc_arg_class): Delete.
7554 (sparc_arg_count,sparc_n_named_args): Delete.
7555 (struct sparc_args): Redefine and use for arch32 as well as arch64.
7556 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
7557 (FUNCTION_ARG_ADVANCE): Rewrite.
7558 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
7559 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
7560 (FUNCTION_ARG_CALLEE_COPIES): Delete.
7561 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
7562 (STRICT_ARGUMENT_NAMING): Define.
7563 (doublemove_string): Declare.
7564 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
7565 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
7566 (doublemove_string): New function.
7567 (output_move_quad): Clean up some of the arch64 support.
7568 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
7569 Don't add 8 bytes of reserved space if arch64.
7570 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
7571 (init_cumulative_args): New function.
7572 (function_arg_slotno): New static function.
7573 (function_arg,function_arg_partial_nregs): New functions.
7574 (function_arg_{pass_by_reference,advance}): New functions.
7575 (function_arg_padding): New function.
7576 * ginclude/va-sparc.h: Rewrite v9 support.
7578 Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
7580 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
7581 for hard regs to determine base and index registers.
7583 * reload.c (debug_reload_to_stream): New function. Specify stream
7584 into which to write debug info.
7585 (debug_reload): Modify to call debug_reload_to_stream with stderr.
7587 Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
7589 * combine.c (can_combine_p): Don't combine with an asm whose
7590 output is a hard register.
7592 Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
7594 * c-decl.c (start_struct): Ensure that structs with forward
7595 declarations are in fact packed when -fpack-struct is given.
7597 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
7598 we are packing a structure. This allows a structure with only
7599 bytes to be aligned on a byte boundary and have no padding on a
7602 Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7604 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
7606 Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
7608 * alpha.c (alpha_return_addr_rtx): New variable.
7609 (alpha_save_machine_status): New; save it.
7610 (alpha_restore_machine_status): New; restore it.
7611 (alpha_init_expanders): New; clear it.
7612 (alpha_return_addr): New; set it.
7613 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
7614 is overly conservative, so search the insns explicitly.
7615 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
7616 (alpha_sa_size [VMS && !VMS]): Likewise.
7617 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
7618 (INIT_EXPANDERS): New definition.
7620 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
7621 (output_prolog [!VMS]): Use them.
7623 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
7624 (alpha_does_function_need_gp): ... a new function. Refine the
7625 CALL_INSN test to just TYPE_JSR.
7626 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
7628 Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
7630 * version.c: Bump for snapshot.
7632 Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7634 * pa.c (move_operand): Respect -mdisable-indexing.
7635 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
7637 Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
7639 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
7641 (umulsidi3,umulsi3_highpart): Ditto.
7642 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
7644 Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
7646 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
7647 (alpha_handle_trap_shadows): ... a new function. Handle the entire
7648 function in one go. Emit RTL for trapb, instead of printf directly.
7649 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
7650 (trap_pending): Kill global variable.
7651 (output_epilog): Don't call final_prescan_insn.
7652 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
7653 * alpha.h (FINAL_PRESCAN_INSN): Remove.
7654 (MACHINE_DEPENENT_REORG): Define.
7655 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
7658 Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
7660 Tune Haifa scheduler for Alpha:
7661 * alpha.h (ISSUE_RATE): Define.
7662 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
7663 EV4 adjustments to EV5.
7664 * alpha.md: Remove all scaling from function unit delays. Rework
7665 EV5 function units to match the CPU.
7666 (umuldi3_highpart): EV5 added the IMULH insn class.
7668 Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
7670 * pa.c (following_call): Fail if the CALL_INSN is an indirect
7673 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
7675 * cplus-dem.c (demangle_signature): Don't look for return types on
7676 constructors. Handle member template constructors.
7678 Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
7680 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
7681 * tree.h: Declare them.
7683 Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
7685 * configure.in: Handle --with-newlib.
7686 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
7688 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
7690 Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
7692 * config/ptx4.h: Fix typo.
7694 Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
7696 * version.c: Bump for snapshot.
7698 Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
7700 * aclocal.m4: Substitute INSTALL.
7701 * configure: Re-built.
7703 Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
7705 * integrate.c (save_for_inline_copying): Avoid undefined pointer
7707 (expand_inline_function): Likewise.
7709 * dwarf2out.c (output_call_frame_info): Reinstate last change
7710 using flag_debug_asm check instead of flag_verbose_asm.
7712 Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
7714 * dwarf2out.c (output_call_frame_info): Remove last change.
7716 1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7718 * frame.c (__frame_state_for): Execute the FDE insns until the
7719 current pc value is strictly bigger than the target pc value.
7721 Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
7723 * regclass.c (init_reg_modes): If we can't find a mode for the
7724 register, use the previous one.
7726 Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
7728 * haifa-sched.c (print_block_visualization): Call fprintf directly,
7729 don't sprintf through an alloca'ed buffer.
7731 Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
7733 * reload.c (decompose): Always initialize val.base.
7735 Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7737 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
7738 instead of aborting.
7739 * dwarf2out.c (output_call_frame_info): Call app_enable and
7740 app_disable to let GNU as accept the generated comments.
7742 Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
7744 * tree.h (get_file_function_name): Add declaration.
7745 * dwarf2out.c (output_call_frame_info): No need to cast
7746 get_file_function_name call anymore.
7747 * profile.c (toplevel): Remove get_file_function_name
7749 * c-lang.c (finish_file): Ditto.
7751 Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
7753 * Makefile.in (program_transform_name): Let autoconf substitute
7756 Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
7758 * haifa-sched.c (schedule_block): If the first real insn in a
7759 block has any special notes attached to it, remove them.
7761 Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
7763 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
7765 Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7767 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
7769 Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
7771 * Makefile.in (check-g77): New test target.
7772 (CHECK-TARGETS): Add check-g77.
7774 Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
7776 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
7778 Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
7780 * flow.c (print_rtl_with_bb): Cast alloca return value for
7783 Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
7785 * i386.h (RETURN_ADDR_RTX): New definition that works for
7786 __builtin_return_address(0) and -fomit-frame-pointer.
7788 Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
7790 Bring over from FSF.
7791 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
7793 * mips.c (function_arg): Handle passing a struct
7794 containing a double in a DFmode register without the PARALLEL.
7796 Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
7798 * pexecute.c: Use spawn if __CYGWIN32__.
7800 * pexecute.c: Include "config.h" first, as per autoconf manual
7801 (from Paul Eggert <eggert@twinsun.com>).
7803 Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7805 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
7806 optimisation for f/expr.o and f/stb.o.
7808 Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
7810 * cse.c (this_insn_cc0_mode): Initialize.
7812 Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
7814 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
7816 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
7818 Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
7820 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
7821 that pair will dual-issue on the 21164 and plus+beq won't.
7822 (bne): Likewise for cmpeq+beq.
7824 Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
7826 * except.c (find_exception_handler_labels): Correct argument to free.
7828 Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
7830 * except.c (find_exception_handler_labels): Free LABELS when we're
7833 Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
7835 * version.c: Bump for snapshot.
7837 Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
7839 * flow.c (find_basic_blocks): Mark calls as potentially jumping
7842 Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
7844 * configure.in: Substitute for "install" too.
7845 * configure: Rebuilt.
7847 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
7849 * Makefile.in (bootstrap-lean, compare-lean): New targets.
7851 Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
7853 * alias.c (base_alias_check): Two symbols can conflict if they
7854 are accessed via AND.
7855 (memrefs_conflict_p): Likewise.
7857 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
7858 after flushing argument registers to the stack.
7860 * Makefile.in (mostlyclean): Remove .regmove files.
7862 Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
7864 * libgcc2.c (__throw): Fix thinko.
7866 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
7868 * cplus-dem.c (demangle_template): Add new parameter. Handle new
7869 template-function mangling.
7870 (consume_count_with_underscores): New function.
7871 (demangle_signature): Handle new name-mangling scheme.
7873 Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7875 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
7878 Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
7880 * frame.c: Remove last change.
7881 * dwarf2.h: Remove last change.
7882 * tree.h: Add declarations of DWARF2 unwind info support
7885 Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
7887 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
7888 * tree.h (built_in_function): Likewise.
7889 * expr.c (expand_builtin): Likewise.
7890 * except.h: Likewise.
7891 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
7892 * libgcc2.c (copy_reg): New fn.
7895 Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
7897 * c-typeck.c (build_binary_op): Warn about comparing signed vs
7898 unsigned if -W is specified and -Wno-sign-compare is not.
7899 * c-decl.c (warn_sign_compare): Initialize to -1.
7900 (c_decode_option): -Wall no longer implies -Wsign-compare.
7902 Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7904 * frame.c: Include gansidecl.h for PROTO.
7905 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
7906 defined. Don't declare dwarf2out_cfi_label here.
7907 * dwarf2.h: Add declarations of DWARF2 unwind info support
7909 * m68k.c: Include dwarf2.h.
7910 (output_function_prologue): Add dwarf2 support.
7911 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
7912 (INCOMING_FRAME_SP_OFFSET): Likewise.
7914 * integrate.c (expand_inline_function): Make sure there is at
7915 least one insn that can be used as an insertion point.
7917 Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
7919 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
7921 Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
7923 * version.c: Bump for snapshot.
7925 Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
7927 Bring over from FSF.
7929 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
7931 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
7932 (get_pc_via_rdpc): Renamed from get_pc_sp64.
7933 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
7935 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
7937 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
7938 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
7940 (sparc_align_{loops,jumps,funcs}_string): Declare.
7941 (sparc_align_{loops,jumps,funcs}): Declare.
7942 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
7943 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
7944 (STACK_BIAS): Define.
7945 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
7947 (SPARC_SETHI_P): New macro.
7948 (CONST_OK_FOR_LETTER_P): Use it.
7949 (ASM_OUTPUT_ALIGN_CODE): Define.
7950 (ASM_OUTPUT_LOOP_ALIGN): Define.
7951 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
7952 (sparc_align_{loops,jumps,funcs}): New globals.
7953 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
7955 (move_operand): Use SPARC_SETHI_P.
7956 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
7958 (arith11_double_operand): Likewise.
7959 (arith10_double_operand): Likewise.
7960 (finalize_pic): Finish sparc64 support.
7961 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
7962 64 bit constants if able.
7963 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
7964 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
7966 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
7967 (get_pc_sp32): Use for sparc64 as well.
7968 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
7969 (sethi_di_sp64_const): Likewise.
7970 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
7971 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
7972 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
7974 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
7976 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
7977 * sparc/linux.h (COMMENT_BEGIN): Likewise.
7978 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
7980 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
7982 Add sparc64 linux support.
7983 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
7984 to xm_file list on 32-bit sparc-linux.
7985 * sparc/xm-sp64.h: New file.
7986 * sparc/linux64.h: New file.
7987 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
7988 Don't include xm-sparc.h.
7989 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
7990 * glimits.h (LONG_MAX): Handle sparc64.
7992 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
7994 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
7995 * sparc.h (ASM_COMMENT_START): Define.
7996 * sparc.c (output_function_prologue): Use it.
7997 (sparc_flat_output_function_{epi,pro}logue): Likewise.
7999 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
8001 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
8002 use sparc.h's copies.
8003 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
8006 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8008 * sparc.c (dwarf2out_cfi_label): Add declaration.
8009 (save_regs, output_function_prologue): Remove cast for it.
8010 (sparc_flat_{save_restore,output_function_prologue): Likewise.
8011 ({save,restore}_regs): No longer inline.
8013 Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8015 * fold-const.c (make_range): Correctly handle cases of converting
8016 from unsigned to signed type.
8018 Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8020 * fold-const.c (merge_ranges): Make sure that if one range is subset
8021 of another, it will always be the second range. Correct (+,-) case to
8024 Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
8026 * final.c (final_end_function): Also do dwarf2 thing if
8027 DWARF2_DEBUGGING_INFO.
8028 (final_start_function): Likewise.
8030 Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
8032 * expmed.c (expand_divmod): If compute_mode is not the same as
8033 mode, handle the case where convert_modes() causes op1 to no
8034 longer be a CONST_INT.
8036 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
8037 note holding get_jump_flags() calculation to all JUMP_INSNs.
8038 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
8039 * rtl.c (reg_note_name): Add new note types.
8041 Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
8043 * rtlanal.c (computed_jump_p): Fix typo in last change.
8045 Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8047 * loop.c (indirect_jump_in_function_p): Return 0
8050 Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
8052 * rs6000/xm-rs6000.h: Fix thinko in last change.
8053 * rs6000/xm-sysv4.h: Likewise.
8055 Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
8057 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
8059 Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
8061 * reg-stack.c (find_blocks): Fix thinko in last change.
8063 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8065 * m68k.c (output_function_prologue): Add dwarf2 support.
8067 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
8068 INCOMING_FRAME_SP_OFFSET): New definitions.
8070 Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
8072 * combine.c (try_combine): Use NULL_RTX instead of '0' where
8073 appropriate in calls to gen_rtx().
8074 * cse.c (cse_main): Likewise.
8075 * emit-rtl.c (gen_label_rtx): Likewise.
8076 * expr.c (init_expr_once): Likewise.
8077 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
8078 sched_analyze, init_rgn_data_dependences,
8079 compute_block_backward_dependences): Likewise.
8080 * sched.c (schedule_insns): Likewise.
8081 * varasm.c (immed_double_const): Likewise.
8083 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
8084 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
8086 Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
8088 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
8089 (MULTILIB_DEFAULTS): Define.
8090 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
8091 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
8092 (LIBGCC_SPEC): Likewise.
8093 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
8094 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
8095 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
8096 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
8097 (EXTRA_PARTS, TAROUTOPTS): Delete.
8098 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
8099 (MULTILIB_OPTIONS): Define.
8100 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
8101 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
8103 Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
8105 * version.c: Bump for snapshot.
8107 Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
8109 * loop.c (loop_number): Delete function. Change all references
8110 to use uid_loop_num array.
8111 * loop.h (loop_number): Delete declaration.
8112 * unroll.c (unroll_loop): Change "loop_number" references to
8113 use uid_loop_num instead.
8115 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
8117 (loop_unroll_iter): Remove unused variable and all references.
8118 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
8119 (insert_bct): Fix minor formatting problems.
8120 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
8121 (loop_unroll_iter): Removed unused decl.
8122 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
8123 Always record the unrolling factor.
8125 * cse.c (simplify_relational_operation): Set h0u just like h0s.
8126 Similarly for h1u and h1s.
8128 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
8129 (find_basic_blocks): Use computed_jump_p to determine if a
8130 particular JUMP_INSN is a computed jump.
8131 * reg-stack.c (find_blocks): Use computed_jump_p to determine
8132 if a particular JUMP_INSN is a computed jump.
8133 * rtlanal.c (jmp_uses_reg_or_mem): New function.
8134 (computed_jump_p): Likewise.
8135 * rtl.h (computed_jump_p): Declare.
8136 * genattrtab.c (pc_rtx): Define and initialize.
8137 * loop.c (loop_optimize): Always determine if the current
8138 function has a computed jump.
8139 (indirect_jump_in_function_p): Use computed_jump_p to determine
8140 if a particular JUMP_INSN is a computed jump.
8142 * loop.c (fix_bct_param): Delete unused function.
8143 (check_bct_param): Likewise.
8145 Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
8147 * frame.c (__deregister_frame): Check properly for initialized object.
8149 Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8151 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
8153 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8155 * jump.c (thread_jumps): check can_reverse_comparison_p before
8156 threading a reversed-condition jump.
8158 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
8159 * haifa-sched.c (update_flow_info): Likewise.
8161 Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
8163 * Makefile.in (BOOT_CFLAGS): Use -O2.
8165 * configure.in (strtoul, bsearch): Have autoconf check for these
8167 * configure, config.in: Rebuilt.
8169 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
8170 * mips/mips.h (alloca): Likewise.
8171 * rs6000/xm-rs6000.h (alloca): Likewise.
8172 * rs6000/xm-sysv4.h: Likewise.
8174 Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
8176 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
8177 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
8178 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
8180 * except.c (end_eh_unwinder): Subtract 1 from return address.
8181 * libgcc2.c (__throw): Likewise.
8182 (find_exception_handler): Don't change PC here. Compare end with >.
8184 Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
8186 * v850.c (compute_register_save_size): Correct register
8188 * v850.md (save_interrupt, return_interrupt): Correct
8190 * v850/lib1funcs.asm (save_interrupt): Correct register number.
8191 (return_interrupt): Use stack pointer, not element pointer.
8193 1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
8195 * configure.in, configure: Make sure to create the stage* and include
8196 symbolic links in each subdirectory.
8198 Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
8200 * pa.md (reload_peepholes): Don't allow addresses with side
8201 effects for the memory operand.
8203 Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
8205 * libgcc2.c (find_exception_handler): Subtract one from our PC when
8206 looking for a handler, to avoid hitting the beginning of the next
8209 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
8211 Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
8213 * mips/abi64.h (LONG_MAX_SPEC): Define.
8214 * mips.h (LONG_MAX_SPEC): Define.
8215 (CPP_SPEC): Include long_max_spec.
8216 (EXTRA_SPECS): Include long_max_spec.
8218 Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
8220 * v850.c (construct_save_jarl): Fix thinko in last change.
8222 Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
8224 * version.c: Bump for snapshot.
8226 Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
8228 * libgcc2.c (find_exception_handler): Not found is -1.
8230 * integrate.c (expand_inline_function): Move expand_start_bindings
8231 after expanding the arguments.
8233 Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
8235 * expr.c (expand_expr): Remove previous incorrect change.
8236 If target and slot has no DECL_RTL, then call mark_addressable
8237 again for the slot after we give it RTL.
8239 Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
8241 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
8242 again for the slot after we give it RTL.
8244 Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
8246 * v850.c (register_is_ok_for_epilogue,
8247 pattern_is_ok_for_epilogue, construct_restore_jr,
8248 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
8250 * v850.h (pattern_is_ok_for_prologue,
8251 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
8254 * v850.md: Replace prologue and epilogue patterns with a
8255 match_parallel pattern.
8257 Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
8259 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
8260 * configure.in: Use EGCS_PROG_INSTALL.
8262 Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
8264 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
8265 extern inline function.
8267 Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
8269 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
8270 (concat_loc_descriptor): New function.
8271 (loc_descriptor): Call it.
8272 (add_AT_location_description): Also elide the descriptor if both
8273 halves of a CONCAT are pseudos.
8274 (add_location_or_const_value_attribute): Recognize CONCAT too.
8276 Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
8278 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
8280 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
8281 out-or-range reg_offset.
8282 (output_epilog): Likewise.
8284 Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
8286 * cse.c (simplify_relational_operation): If MODE specifies a
8287 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
8288 is derived from the sign bit of the low word.
8290 Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8292 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
8294 * dwarf2.h: Add DW_CFA_GNU_args_size.
8295 * frame.c (execute_cfa_insn): Likewise.
8296 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
8297 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
8298 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
8299 insn, hand it off to dwarf2out_stack_adjust.
8300 (dwarf2out_begin_prologue): Initialize args_size.
8301 * frame.h (struct frame_state): Add args_size.
8302 * libgcc2.c (__throw): Use args_size.
8303 * final.c (final_scan_insn): If we push args, hand off all insns
8304 to dwarf2out_frame_debug.
8305 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
8307 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
8308 Handle epilogue restore of SP from FP.
8309 * emit-rtl.c (gen_sequence): Still generate a sequence if the
8310 lone insn has RTX_FRAME_RELATED_P set.
8312 * frame.c (extract_cie_info): Handle "e" augmentation.
8313 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
8314 absence of UNALIGNED_*_ASM_OP.
8315 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
8316 (output_call_frame_info): Use "e" instead of "z" for augmentation.
8317 Don't emit augmentation fields length.
8318 (dwarf2out_do_frame): Move outside of #ifdefs.
8319 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
8322 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
8323 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
8324 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
8325 * sparc/sun4gas.h: New file.
8326 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
8328 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
8329 __register_frame_table and __deregister_frame.
8331 1997-09-15 Brendan Kehoe <brendan@cygnus.com>
8333 * except.c (find_exception_handler_labels): Use xmalloc instead of
8334 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
8337 Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
8339 * Makefile.in: Various changes to build info files
8340 in the object tree rather than the source tree.
8342 Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
8344 * fixinc.math: New file to fix math.h on some systems.
8345 * configure.in (freebsd, netbsd): Use fixinc.math on these
8347 * configure: Rebuilt.
8349 Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
8351 * regmove.c (regmove_optimize): If we end up moving the
8352 original insn due to lifetime overlaps, make sure to move
8355 Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
8357 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
8359 Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
8361 * haifa-sched.c (add_branch_dependences): Make each insn in
8362 a SCHED_GROUP_P block explicitly depend on the previous insn.
8364 Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8366 * except.h: Prototype dwarf2 hooks.
8369 Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
8371 * configure.in (native_prefix): Delete.
8372 (mips-dec-netbsd): Don't set prefix.
8373 (*linux*): Don't set prefix.
8375 Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
8377 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
8378 defined. If not defined, include <sys/varargs.h> if
8379 HAVE_SYS_VARARGS_H is defined.
8380 * configure.in: Test for varargs.h and sys/varargs.h.
8381 * configure: Regenerate with autoconf.
8382 * config.in: Regenerate with autoheader.
8384 * cpplib.c (quote_string): Cast first arg of sprintf call
8385 from "unsigned char *" to "char *".
8386 (output_line_command): Ditto.
8387 (macroexpand): Ditto.
8388 (do_line): Cast atoi arg from "unsigned char *" to "char *".
8390 Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
8392 * version.c: Bump for snapshot.
8394 * Makefile.in (compare): Exit with nonzero status if there
8395 are comparison failures. Note which files failed the
8396 comparison test in .bad_compare.
8398 Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8400 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
8402 Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
8404 * Makefile.in (LN, LN_S): New macros, use where appropriate.
8405 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
8406 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
8407 * configure: Regenerated.
8409 Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
8411 * loop.c (strength_reduce): Fix typo.
8413 Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
8415 * m88k/m88k.c (struct option): Rename to struct options.
8416 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
8417 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
8418 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
8419 __DOLPHIN__ or sysV88.
8421 Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
8423 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
8426 Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
8428 * config.sub: Accept 'amigados' for backward compatability.
8430 Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8432 * Makefile.in (testsuite/site.exp): New target.
8433 (check-gcc, check-g++): Depend on testsuite/site.exp.
8434 Don't stop for failure.
8436 Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
8438 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
8439 if DWARF2_UNWIND_INFO.
8441 Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
8443 Add support for exception handling using DWARF 2 frame unwind info.
8444 Currently works on SPARC and MIPS, and almost on x86.
8446 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
8447 next_stack_level, in_reg_window): Helper fns.
8448 (__throw): Implement for DWARF2_UNWIND_INFO.
8450 * expr.c (expand_builtin): Handle builtins used by __throw.
8451 * tree.h (enum built_in_function): Add builtins used by __throw.
8452 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
8453 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
8454 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
8455 (expand_builtin_extract_return_addr): Likewise.
8456 (expand_builtin_frob_return_addr): Likewise.
8457 (expand_builtin_set_return_addr_reg): Likewise.
8458 (expand_builtin_eh_stub): Likewise.
8459 (expand_builtin_set_eh_regs): Likewise.
8460 (eh_regs): Choose two call-clobbered registers for passing back values.
8462 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
8463 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
8464 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
8465 (stmp-multilib): Likewise.
8466 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
8468 * except.c: #include "defaults.h".
8469 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
8470 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
8471 (register_exception_table_p): New fn.
8472 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
8473 (end_eh_unwinder): Likewise.
8475 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
8476 call __register_frame and __deregister_frame as needed.
8477 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
8478 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
8479 EH_FRAME_SECTION_ASM_OP.
8480 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
8481 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
8482 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
8484 * dwarf2out.c (output_call_frame_info): If no support for
8485 EXCEPTION_SECTION, mark the start of the frame info with a
8487 * collect2.c (frame_tables): New list.
8488 (is_ctor_dtor): Recognise frame entries.
8489 (scan_prog_file): Likewise.
8490 (main): Pass -fno-exceptions to sub-compile. Also do collection
8491 if there are any frame entries.
8492 (write_c_file_stat): Call __register_frame_table and
8493 __deregister_frame as needed.
8494 (write_c_file_glob): Likewise.
8496 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
8497 Also require unaligned reloc support.
8498 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8499 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
8500 * sparc/sysv4.h: Not here.
8502 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
8503 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
8504 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
8506 * libgcc2.c (L_eh): Reorganize, moving code shared by different
8507 EH implementations to the top.
8508 (find_exception_handler): Split out. Start from 0. Compare against
8510 (__find_first_exception_table_match): Use it.
8511 * except.c (output_exception_table): Don't do anything if there's
8512 no table. Don't output a first entry of zeroes.
8513 (eh_outer_context): Adjust properly.
8514 (add_eh_table_entry): Use xrealloc.
8515 * toplev.c (compile_file): Just call output_exception_table.
8517 Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
8519 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
8521 Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
8523 * except.c (eh_outer_context): Do masking using expand_and.
8525 Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
8527 Add port done awhile ago for the ARC cpu.
8528 * arc/arc.h: New file.
8529 * arc/arc.c: New file.
8530 * arc/arc.md: New file.
8531 * arc/initfini.c: New file.
8532 * arc/lib1funcs.asm: New file.
8533 * arc/t-arc: New file.
8534 * arc/xm-arc.h: New file.
8535 * ginclude/va-arc.h: New file.
8536 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
8537 * ginclude/varargs.h: Likewise.
8538 * Makefile.in (USER_H): Add va-arc.h.
8539 * configure.in (arc-*-elf*): Recognize.
8540 * longlong.h: Add ARC support.
8542 Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
8544 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
8545 when clearing non-BLKmode data.
8547 Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
8549 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
8550 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
8552 * xm-m88k.h (USG): Only define if it hasn't already been defined.
8554 * Makefile.in (risky-stage1): Delete gratutious whitespace.
8556 * Makefile.in (clean): Delete libgcc1-test.
8558 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
8560 Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
8562 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
8565 Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8567 * dwarf2out.c (output_call_frame_info): Call named_section.
8569 Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
8571 * haifa-sched.c (print_value): Fix last change.
8573 Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
8575 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
8578 Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
8580 * mips.c (function_prologue): Set up the CFA when ABI_32.
8582 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
8583 for dwarf2 unwind info.
8584 (output_function_prologue, sparc_flat_output_function_prologue): Same.
8586 * final.c (final_end_function): Check dwarf2out_do_frame instead
8587 of DWARF2_DEBUG for dwarf2 unwind info.
8588 (final_scan_insn): Likewise.
8589 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
8592 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
8595 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
8597 Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
8599 * v850.h (ASM_SPEC): Pass on target processor.
8600 (CPP_PREDEFINES): Only define if not already specified.
8601 (TARGET_VERSION): Only define if not already specified.
8602 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
8604 (EXTRA_SWITCHES): Extra entries in the switches array.
8605 (TARGET_DEFAULT): Set default target processor.
8607 Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
8609 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
8610 cases, add %# and %/, and add : to make them into extended asms.
8612 Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
8614 * alias.c (init_alias_analysis): Clean up incompatible pointer
8615 type warning in bzero.
8616 * regmove.c (regmove_optimize): Ditto.
8617 * haifa-sched.c (find_rgns): Ditto.
8619 * haifa-sched.c (print_value): Clean up ptr->int cast
8622 Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
8624 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
8625 * install.texi (Configurations): Ditto.
8626 * config.sub: Ditto.
8628 Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
8630 * Makefile.in (sdbout.o): Depend on insn-config.h.
8632 Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
8634 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
8635 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
8637 Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
8639 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
8640 prologue insn, only the first elt is significant.
8641 (output_call_frame_info): For exception handling, always use 4-byte
8642 fields as specified by the dwarf2 spec.
8643 Don't skip trivial FDEs.
8645 Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
8647 * version.c: Bump for snapshot.
8649 Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
8651 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
8652 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
8655 Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
8657 * final.c (shorten_branches): During first pass, assume worst
8658 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
8660 * Makefile.in (distclean): Remove various things left around
8661 by running the testsuite.
8663 Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
8665 * configure.in (out_file): Emit definition to config.status in order
8666 to have a defined value for configure.lang.
8667 * configure: Re-built.
8669 Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
8671 * configure.in: Make symlink to as-new rather than as.new. Similarly
8673 * configure: Rebuilt.
8675 Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
8677 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
8679 Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
8681 * sparc/sparc.md: Add ultrasparc scheduling support.
8682 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
8684 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8686 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
8687 as initial value for real_label_map.
8688 (copy_for_inline): Likewise.
8690 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8692 * sched.c (update_flow_info) When looking if to set found_split_dest
8693 or found_orig_dest, look at all parts of a PARALLEL.
8694 * haifa-sched.c (update_flow_info): Likewise.
8696 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
8698 * v850: New directory for v850 port.
8699 * v850/lib1funcs.asm: New file.
8700 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
8701 * ginclude/va-v850.h: New file.
8702 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
8703 * configure.in (mn10200-*-*): New target.
8704 * configure: Rebuilt.
8705 * config.sub: Handle v850-elf.
8706 * Makefile.in (USER_H): Add va-mn10200.h.
8707 * invoke.texi: Document v850 stuff.
8709 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
8711 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
8712 has integer TYPE_{MAX,MIN}_VALUE before using them.
8714 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
8715 __HPUX_ASM__ versions.
8717 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
8719 * install.sh: Delete duplicate install script.
8721 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
8723 * reg-stack.c (subst_stack_regs): Pop the stack register for a
8724 computed goto which sets the same stack register.
8726 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
8727 destination are both on the regstack.
8728 (subst_stack_regs_pat): Put the destination at the top of the regstack.
8730 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
8732 * mips.md (nonlocal_goto_receiver): Define.
8734 * profile.c (output_arc_profiler): Check next_insert_after for non
8735 NULL before deferencing it.
8737 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
8739 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
8741 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
8743 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
8745 * toplev.c (rest_of_compilation): For passes starting with
8746 flow_analysis, use print_rtl_with_bb instead of print_rtl.
8748 * print-rtl.c (print_rtl_single): Print a single rtl value to a
8751 * flow.c (print_rtl_with_bb): Print which insns start and end
8752 basic blocks. For the start of a basic block, also print the live
8755 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
8757 * toplev.c (main): Change #elif to #else/#ifdef
8759 * tlink.c: Include ctype.h.
8760 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
8762 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
8764 * bitmap.c: Conditionally include stdlib.h.
8765 (free): Provide a declaration if NEED_DECLARATION_FREE.
8767 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
8769 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
8771 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
8773 * profile.c (output_arc_profiler): Verify next_insert_after is an
8774 INSN before and after skipping a stack pop.
8776 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8778 * final.c (shorten_branches): Don't count the lengths of deleted
8781 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
8783 * version.c: Bump for snapshot.
8785 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
8787 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
8788 two bitmaps ANDed together.
8789 (bitmap_print): Declare.
8791 * bitmap.c (function_obstack): Don't declare any more.
8792 (bitmap_obstack): Obstack for allocating links from.
8793 (bitmap_obstack_init): New static to say whether to initialize
8795 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
8796 (bitmap_release_memory): Free all memory allocated from
8799 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
8800 EXECUTE_IF_AND_IN_BITMAP.
8802 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
8804 * alias.c (true_dependence): Address with AND can alias scalars.
8805 (anti_dependence, output_dependence): Likewise.
8807 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
8809 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
8811 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
8812 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
8813 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
8814 definitions. Use -qrtems instead of -mrtems.
8816 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
8818 * xm-sco5.h (sys_siglist): Define.
8819 (SYS_SIGLIST_DECLARED): Likewise.
8821 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
8823 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
8825 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
8827 * except.c (eh_outer_context): Expand masking operation using
8830 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
8832 * alpha.md (floatdisf2-1): New pattern.
8834 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
8836 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
8837 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
8838 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
8839 * gcc.texi: Note that if you define sys_siglist that you should
8840 also define SYS_SIGLIST_DECLARED.
8842 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
8843 are relative to the next instruction, not the current instruction.
8845 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
8847 * local-alloc.c (contains_replace_regs): New function.
8848 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
8849 verify that there is no existing REG_EQUIV note, and add a call to
8850 contains_place_regs.
8852 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8854 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
8855 (STARTFILE_SPEC): Always use crtbegin.o%s
8856 (ENDFILE_SPEC): Always use crtend.o%s.
8858 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
8860 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
8862 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
8863 SFmode for 64 bit hosts.
8865 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
8867 * fixincludes: Permits spaces between # and define. Discard C++
8868 comments in sys/pci.h on HP/UX 10.20.
8870 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
8872 * version.c: Bump for snapshot.
8874 * pa.c (restore_unscaled_index_insn_codes): New function.
8875 (record_unscaled_index_insn_codes): Likewise.
8876 (output_function_prologue): Call restore_unscaled_index_insn_codes.
8877 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
8878 (pa_reorg): Call record_unscaled_index_insn_codes.
8880 * haifa-sched.c (move_insn): Handle notes correctly for insns
8881 with SCHED_GROUP_P set.
8883 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8885 * alpha/xm-linux.h (USE_BFD): Undef before define.
8887 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
8889 * cse.c (cse_insn): Don't record BLKmode values.
8891 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
8893 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
8895 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
8897 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
8898 * collect2.c (sys_errlist): Likewise.
8899 * cpplib.c (sys_errlist): Likewise.
8900 * gcc.c (sys_errlist): Likewise.
8901 * protoize (sys_errlist): Likewise.
8902 * configure.in: Check for strerror.
8903 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
8904 * xm-gnu.h (HAVE_STRERROR): Likewise.
8905 * xm-linux.h (HAVE_STRERROR): Likewise.
8906 * xm-netbsd.h (HAVE_STRERROR): Likewise.
8907 * xm-bsd386.h (HAVE_STRERROR): Likewise.
8908 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
8909 * xm-dos.h (HAVE_STRERROR): Likewise.
8910 * xm-mingw32.h (HAVE_STRERROR): Likewise.
8911 * xm-pa.h (HAVE_STRERROR): Likewise.
8912 * xm-papro.h (HAVE_STRERROR): Likewise.
8913 * xm-sysv4.h (HAVE_STRERROR): Likewise.
8914 * configure, config.in: Rebuilt.
8916 * Makefile.in: Add several missing "else true" clauses.
8918 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
8919 * mips-tfile.c: Likewise.
8920 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
8921 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
8922 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
8923 * configure.in: Check for sys_siglist declaration.
8924 * configure, config.in: Rebuilt.
8926 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
8928 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
8929 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
8930 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
8931 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
8932 * rs6000/sysv4.h (extra_subtarget_switches): Added new
8933 macro EXTRA_SUBTARGET_SWITCHES.
8934 * configure.in (sh*-*-rtems*): New target.
8935 * sh/rtems.h: New file.
8936 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
8937 * configure: Rebuilt.
8939 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
8941 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
8943 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
8945 * rs6000.md: Make DF fused-add operations pay attention to
8948 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
8950 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
8952 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
8954 * pa.md (reload_peepholes): Make sure operand is a REG before
8955 examining REGNO. Allow general registers too.
8957 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
8959 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
8961 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
8963 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
8964 to reallocate abbrev_die_table.
8966 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
8968 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
8970 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8972 * Makefile.in (config.status): Depend on version.c
8974 * expr.h (insn_gen_function): Reenable prototype.
8976 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
8979 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
8981 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
8983 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
8985 * version.c: Bump for latest snapshot.
8987 * bc-optab.c: Conditionally include stdlib.h.
8988 (free): Provide a declaration if NEED_DECLARATION_FREE.
8989 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
8990 * rtl.h (free): Remove declaration.
8991 * tree.h (free): Remvoe declaration.
8993 * configure: Rebuilt.
8995 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
8997 * flags.h (flag_move_all_movables): Declare.
8998 (flag_reduce_all_givs): Likewise.
8999 * loop.c (move_movables): Handle flag_move_all_movables.
9000 (strength_reduce): Handle flag_reduce_all_givs.
9001 * toplev.c (flag_move_all_movables): Define.
9002 (flag_reduce_all_givs): Likewise.
9003 (f_options): Add -fmove-all-movables and -freduce-all-givs.
9004 * invoke.texi: Document new options, including alias stuff that
9005 wasn't included last time.
9007 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
9009 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
9012 * t-vxworks68: Ditto.
9013 * t-vxworks960: Ditto.
9016 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
9018 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
9019 if not already defined, and USE_C_ALLOCA not defined.
9021 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
9023 * config.guess: Replace with script that uses ../config.guess.
9025 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
9026 if USE_GNULIBC_1 is not defined.
9028 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
9030 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
9031 * config.guess: Recognize alpha-linux-gnulibc1.
9032 * configure.in (alpha-*-linux-gnulibc1): New target.
9033 (alpha-*-linux-gnu*): Don't build crtbegin/end.
9035 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
9037 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
9040 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
9042 * loop.c (combine_movables): Earlier insns don't match later ones.
9044 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9046 * config/linux.h (CC1_SPEC): Define it only if not defined.
9048 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
9051 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
9052 USE_GNULIBC_1 is not defined.
9054 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
9056 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
9057 as 1 if USE_GNULIBC_1 is not defined.
9059 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
9061 * reorg.c (dbr_schedule): Allow current_function_return_rtx
9062 to be something other than a REG.
9063 * function.c (expand_function_end): Fix current_function_return_rtx
9066 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
9067 * x-netbsd: Likewise
9068 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
9069 (INSTALL_HEADERS): Delete.
9070 * x-dguxbcs: Likewise.
9071 * x-hp3bsd44: Likewise
9074 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9076 * i386.md (pop): pop increments the stack pointer.
9077 (prologue_set_stack_ptr): New pattern.
9078 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
9081 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
9083 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
9084 address where an offsettable address is required.
9086 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
9088 * loop.c (check_final_value): Don't miss a biv increment in a
9091 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
9093 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
9094 TYPE_DECL_IS_STUB instead of DECL_NAME.
9096 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9098 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
9100 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
9102 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
9104 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
9106 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
9107 (find_post_sched_live): Likewise.
9109 * haifa-sched.c (schedule_block): Remove old code to get arguments
9110 from hard regs into pseudos early.
9112 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
9114 * version.c: Bump for new snapshot.
9116 * local-alloc.c (update_equiv_regs): All the target to reject
9117 promotion of some REG_EQUAL to REG_EQUIV notes.
9118 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
9120 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
9123 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
9124 store of the argument registers.
9126 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
9128 * fold-const.c (multiple_of_p): New function.
9129 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
9131 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
9133 * expr.h (insn_gen_function): Temporarily remove prototype.
9135 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
9137 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
9138 filenames. Use sed to extract base filename for install.
9140 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
9142 * unroll.c (find_splittable_givs): Only share if two givs have the
9143 same add and multiply values.
9145 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
9147 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
9148 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
9150 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
9152 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
9153 around branch tables.
9154 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
9155 and .end_brtab directives if TARGET_GAS.
9157 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
9159 * alias.c (true_dependence): Pass x_addr not x to varies.
9161 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
9162 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
9163 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
9165 * config.in, configure: Regenerate.
9167 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
9169 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
9171 (record_set): Handle LO_SUM like PLUS.
9172 (init_alias_analysis): When following chains of base addresses,
9173 do not stop on reaching a hard register.
9175 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
9177 * version.c: Bump for new snapshot.
9179 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
9181 * alpha.h (ARCH_ASM_FILE_START): Define.
9182 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
9183 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
9185 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
9187 * Makefile.in (install-common): Put gcov comment at start of line.
9189 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
9191 * alias.c (init_alias_analysis): When simplifying the reg_base_value
9192 array, simplify entries for hard registers too.
9194 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
9196 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
9199 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
9201 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
9202 block_stack before dereferencing it.
9204 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
9206 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
9208 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
9210 * cplus-dem.c: Add 'extern' to prepends_underscore.
9212 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
9214 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
9215 (get_issue_rate): Delete.
9216 * pa.h (ISSUE_RATE): Define.
9218 * configure.in: Turn on haifa by default for the PA.
9219 * configure: Rebuilt.
9220 * pa.c (override_options): Accept -mschedule=7200 option.
9221 (pa_adjust_cost): No longer need to scale costs for newer
9223 * pa.h (enum processor_type): Add PROCESSOR_7200.
9224 * pa.md: Revamp scheduling parameters to work better with
9225 haifa. Add scheduling parameters for the 7200.
9227 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
9229 (schedule_block): When adjusting basic_block_{head,end}, account
9230 for movement of SCHED_GROUP_P insns too.
9232 * haifa-sched.c (debug_dependencies): Fix thinko.
9234 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
9235 (site.exp, check, check-g++, check-gcc): New targets.
9237 * haifa-sched.c: Make lots of variables static.
9239 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9241 * expr.h, real.h: Finish prototyping.
9243 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
9245 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
9246 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
9247 * reload1.c: Undo bugfix from Aug 11.
9249 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
9251 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
9252 quotes around the name.
9253 * configure: Regenerate.
9255 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
9257 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
9259 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
9261 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
9262 to sub-makes to avoid building more passes than the user might have
9263 requested on the command line.
9265 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
9267 * configure.in: Expurgate `broken_install' (install is
9270 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
9273 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
9275 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
9276 functions and declarations.
9277 (analyze_loop_iterations): Use condjump_p.
9278 (insert_bct): Likewise. Use exact_log2.
9280 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
9282 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
9283 (schedule_region): Likewise.
9284 (schedule_insns): Likewise.
9286 * PROJECTS: Update with Haifa stuff.
9288 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
9290 * version.c: Change the version string to look like:
9291 egcs-2.90.00 970814 (gcc2-970802 experimental).
9293 * loop.c (is_conditional_branch): Make definition match declaration.
9295 * gcc.c: Take out experimental snapshot warning message.
9297 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
9299 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
9300 print out the names of the notes. Print out the name of the insn
9301 that is not a note, and not an {,CALL_,JUMP_}INSN.
9303 Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
9305 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
9306 again for the slot after we give it RTL.
9308 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
9310 * configure.in (haifa configury): Fix typo.
9311 * configure: Regenerate.
9313 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
9315 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
9317 * gcc.info*: Rebuilt.
9319 * COPYING.g77, README.g77: New files.
9320 * real.c (ereal_unto_float, ereal_unto_double): New functions.
9321 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
9322 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
9324 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
9326 * Integrate Haifa instruction scheduler.
9327 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
9328 to sched with $(SCHED_CFLAGS.
9329 * configure.in: Handle --enable-haifa.
9330 * configure: Rebuilt.
9331 * flags.h: Add new flags for haifa instruction scheduler.
9332 * genattrtab.c (expand_units): For haifa, don't subtract one
9333 when computing blockage.
9334 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
9335 (flag_schedule_speculative): Ditto.
9336 (flag_schedule_speculative_load): Ditto.
9337 (flag_schedule_speculative_load_dangerous): Ditto.
9338 (flag_schedule_reverse_before_reload): Ditto.
9339 (flag_schedule_reverse_after_reload): Ditto.
9340 (flag_branch_on_count_reg): Ditto.
9341 (f_options): Add Haifa switches.
9342 (main): Turn off some Haifa options if appropriate macro is
9343 defined. Process Haifa switches.
9344 * unroll.c (iteration_info): No longer static, since Haifa
9346 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
9347 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
9348 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
9349 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
9350 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
9351 storage for the Haifa scheduler.
9352 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
9354 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
9355 are defined, call analyze_loop_iterations and insert_bct to use
9357 (record_giv): Refine test for jumps out of loops if HAIFA is
9359 (analyze_loop_iterations): New function to identify if we can use
9361 (insert_bct): Insert countdown loop.
9362 (instrument_loop_bct): Low level code to insert countdown loop.
9363 (loop_number): Calculate UID of loop.
9364 (indirect_jump_in_function_p): Return true if an indirect jump is
9366 (is_power_of_2): Return true if value is a power of 2.
9367 (is_conditional_branch): Return true if insn is a conditional
9369 (fix_bct_param): Process -fbct-{min,max}-N switches.
9370 (check_bct_param): Return true if loop should be instrumented.
9371 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
9372 (loop_optimize): Initialize.
9373 (get_condition_for_loop): Ditto.
9374 * loop.c (strength_reduce): Inside of code that uses #ifdef
9375 HAVE_decrement_and_branch_on_count code, test it to make sure the
9377 (instrument_loop_bct): Ditto.
9378 * haifa-sched.c: New file.
9381 * Integrate regmove pass.
9382 * Makefile.in (OBJS): Add regmove.o
9383 (regmove.o): Add dependencies.
9384 * flow.c (find_use_as_address): No longer static.
9385 * rtl.h (find_use_as_address): Declare.
9386 * toplev.c (regmove_dump, flag_regmove): Define.
9387 (f_options): Add -fregmove.
9388 (regmove_dump_file, regmove_time): Define.
9389 (fatal_insn): Close the regmove dump file.
9390 (compile_file): Initialize regmove_time; open/close the regmove dump
9391 file as needed. Print regmove time as needed.
9392 (rest_of_compilation): Run regmove pass if requested, dump
9393 RTL after regmove if requested.
9394 (main): If -O2 or more, turn on regmove. Handle dump switches.
9395 * regmove.c: New file.
9397 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
9399 * Integrate tlink patch from jason@cygnus.com
9400 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
9401 (process_command): Increment n_switches for them. Don't discard
9402 their args. Validate them.
9403 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
9405 (process_command): Set include_prefixes from COMPILER_PATH.
9406 (main): Set COLLECT_GCC_OPTIONS sooner.
9407 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
9408 * tlink.c, hash.c, hash.h: New files.
9409 * Makefile.in (USE_COLLECT2): Always use collect2.
9410 (collect2): Depend on and link in hash.o and tlink.o.
9411 (tlink.o, hash.o): Add dependencies.
9413 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
9415 * Integrate alias analysis changes from jfc@mit.edu
9416 * Makefile.in (OBJS): Add alias.o
9417 (alias.o): Add dependencies.
9418 * alias.c: New file.
9419 * sched.c: Remove alias analysis code. It lives in alias.c now.
9420 (sched_analyze_2): Add new arguments to true_dependence.
9421 (schedule_insns): Always call init_alias_analysis.
9422 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
9423 mark return value from such functions as a pointer and keep track of
9424 them for alias analysis. If a return value from a function is a
9425 pointer, mark it as such.
9426 * combine.c (distribute_notes): Handle REG_NOALIAS.
9427 * cse.c (struct write_data): Delete. No longer needed.
9428 (invalidate): Don't call set_nonvarying_address_components anymore.
9429 Use true_dependence to decide if an entry should be removed from
9431 (invalidate_memory): Remove WRITES argument, simplify appropriately.
9433 (note_mem_written): Similarly for WRITE_PTR argument.
9434 (invalidate_from_clobbers): Similarly for W argument.
9435 (invalidate_for_call): Remove memory elements from the hash table.
9436 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
9437 (cse_rtx_varies_p): New function. Derived from old
9438 cse_rtx_addr_varies_p.
9439 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
9440 Don't call note_mem_written anymore. Stack pushes invalidate the stack
9441 pointer if PUSH_ROUNDING is defined. No longer need to call
9442 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
9443 (skipped_writes_memory): Remove variable.
9444 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
9445 (invalidate_skipped_block): Simplify for new alias analysis code.
9446 (cse_set_around_loop): Likewise.
9447 (cse_main): Call init_alias_analysis.
9448 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
9449 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
9450 (f_options): Add new alias checking arguments.
9451 (main): Set flag_alias_check when optimizing.
9452 * local_alloc (validate_equiv_mem_from_store): Add new arguments
9454 (memref_referenced_p): Likewise.
9455 * loop.c (NUM_STORES): Increase to 30.
9456 (prescan_loop): Only non-constant calls set unknown_address_altered.
9457 (invariant_p): Add new arguments to true_dependence.
9458 (record_giv): Initialize unrolled and shared fields.
9459 (emit_iv_add_mult): Call record_base_value as needed.
9460 * loop.h (struct induction): Add unrolled and shared fields.
9461 * unroll.c (unroll_loop): Call record_base_value as needed.
9462 (copy_loop_body): Likewise.
9463 (final_biv_value): Likewise.
9464 (final_giv_value): Likewise.
9465 (find_splittable_regs): Likewise. Only create one new pseudo
9466 if we have multiple address GIVs that were combined with the same
9467 dst_reg GIV. Note when a new register is created due to unrolling.
9468 * rtl.c (reg_note_name): Add REG_NOALIAS.
9469 * rtl.h (enum reg_note): Similarly.
9470 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
9471 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
9472 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
9473 (true_dependence, read_dependence, anti_dependence): Likewise.
9474 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
9475 (mark_user_reg, mark_reg_pointer): Likewise.
9478 * Integrate reload bugfix from Wilon which enables the PA port
9480 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
9481 OPERAND_ADDRESS when computing how many registers an insn needs.
9482 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
9484 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
9486 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
9487 in reload_reg_use_in_op_addr do not reach the end.
9488 do not reach the end.
9489 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
9490 RELOAD_FOR_OPERAND_ADDRESS.
9492 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
9494 * egcs project officially starts.
9497 add-log-time-format: current-time-string