1 Mon May 18 01:23:33 1998 Jeffrey A Law (law@cygnus.com)
3 * Makefile.in (build_canonical, host_canonical): Let configure
4 substitute values for these variables.
5 * configure.in: Substitute for build_canonical, host_canonical
6 and target_subdir in generated Makefile.
8 * output.h (find_basic_blocks): Declare.
9 (free_basic_block_vars, set_block_num, life_analysis): Likewise.
11 * Makefile.in (BISON): Use bison from the build tree if it exists.
14 Mon May 18 00:08:19 1998 Nick Clifton <nickc@cygnus.com>
16 * gcc.c (SWITCH_CURTAILS_COMPILATION): Definition.
17 (DEFAULT_SWITCH_CURTAILS_COMPILATION): True for options -S and -c.
18 (process_command): If HAVE_EXECUTABLE_SUFFIX is defined then scan
19 command line arguments to see if an executable is not being
20 created, and if so - do not append the suffix.
22 * tm.texi (SWITCH_CURTAILS_COMPILATION): Add description of new
25 Sun May 17 23:59:45 1998 John Wehle (john@feith.com)
27 * i386.h (ALIGN_DFmode): Delete.
28 (CONSTANT_ALIGNMENT): Define.
29 * varasm.c (force_const_mem): Use it.
31 Sun May 17 19:31:05 1998 Richard Henderson <rth@cygnus.com>
33 * alpha.c (alpha_emit_conditional_branch): Clear cmp_code after
34 using it with swap_condition, not before.
36 Sun May 17 13:44:32 1998 Jim Wilson <wilson@cygnus.com>
38 * alias.c (mode_alias_check): Delete.
39 (true_dependence, anti_dependence, output_dependence): Revert April 21
42 Sun May 17 08:45:21 1998 Krister Walfridsson <cato@df.lth.se>
44 * toplev.c (output_lang_identify): Enable prototype and definition.
46 Sun May 17 01:12:27 PDT 1998 Jeff Law (law@cygnus.com)
48 * version.c: Bump for snapshot.
50 Sat May 16 23:20:32 1998 Richard Henderson <rth@cygnus.com>
52 * alpha/osf.h (HAVE_STAMP_H): Define.
54 * alpha/netbsd.h, alpha/netbsd-elf.h: New files.
55 * configure.in (alpha*-*-netbsd*): New.
56 Based on patches from Paul H. Anderson <pha@pdq.com>.
58 * configure.in (alpha*-*-linux-*): Kill xm_defines.
59 (alpha*-*-linux-gnulibc1*) [fixincludes]: Define.
60 * alpha/xm-linux.h: Remove file.
62 Sat May 16 18:32:45 1998 Doug Evans <devans@canuck.cygnus.com>
64 * dbxout.c (dbxout_parms): If mode of type of parameter living
65 in memory doesn't match mode of DECL_RTL, make big endian correction.
67 Fri May 15 21:40:06 1998 John Wehle (john@feith.com)
69 * i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
71 Fri May 15 18:55:22 1998 Jason Merrill <jason@yorick.cygnus.com>
73 * tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
74 * stor-layout.c (layout_record): Set it.
76 Fri May 15 18:49:30 1998 Mark Mitchell <mmitchell@usa.net>
78 * toplev.c (rest_of_compilation): Don't defer nested functions.
80 Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
82 * config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
83 to an 8-byte boundary if info_ptr->fpmem_p.
85 Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
87 * loop.c (basic_induction_var): Added test preventing
88 CCmode parameter passed to convert_modes().
90 Fri May 15 17:26:18 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
92 * expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
93 input_filename and lineno around expand_expr call. Set them to values
94 in WFL before expand_expr call.
96 Fri May 15 12:44:57 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
98 * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
100 Fri May 15 07:20:03 1998 Mark Mitchell <mmitchell@usa.net>
102 * fold-const.c (constant_boolean_node): New function.
105 Fri May 15 11:21:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
107 * sh.c (gen_shl_and): Don't sign extend constant for kind two.
108 Abort if trying to split kind 3 or 4 outside of combine.
110 Fri May 15 01:47:37 1998 Jeffrey A Law (law@cygnus.com)
112 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
114 Fri May 15 01:42:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
116 * objc/Make-lang.in (OBJC_O): Add missing exeext.
117 (libobjc.a, runtime-info.h): Likewise.
119 Fri May 15 01:29:39 1998 John Wehle (john@feith.com)
121 * i386.h (DATA_ALIGNMENT): Define.
123 Fri May 15 05:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
125 * reload1.c (delete_output_reload): Ignore single USE that
126 was emitted for the pseudo use of this INSN.
127 If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
128 remains, we can always delete OUTPUT_RELOAD_INSN.
130 Thu May 14 18:38:50 1998 Jim Wilson <wilson@cygnus.com>
132 * reload.c (find_reloads): Don't penalize SCRATCH output reload.
134 Thu May 14 15:10:30 1998 Jeffrey A Law (law@cygnus.com)
136 * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.
138 Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
140 * eh-common.h: New file for basic EH data structures.
141 * except.h: Various prototypes and structures for NEW_EH_MODEL
142 * function.h (struct function): Add a struct eh_stack for the catch
144 * except.c (gen_exception_label): New function to generate an
146 (push_eh_entry): Use gen_exception_label() and init 'label_used' field.
147 (push_entry): New function to push an existing entry onto a stack.
148 (receive_exception_label): New function to emit the code required
149 at the start of all catch blocks.
150 (struct func_eh_entry): New structure for maintaining handlers
151 associated with EH regions.
152 (new_eh_region_entry): New function to register an EH region.
153 (add_new_handler): New function to register a handler with a region.
154 (get_new_handler): Creates anew handler entry for registering.
155 (find_func_region): New function to convert a NOTE eh region number
156 to an Eh region index.
157 (get_first_handler): New function to get the first handler in a region.
158 (clear_function_eh_region): New function to release memory.
159 (duplicate_handlers): New function to duplicate a list of handlers.
160 (expand_eh_region_end): Create a new region entry node as well.
161 (expand_leftover_cleanups): Call receive_exception_label() and
162 register the cleanup as a handler to the current region.
163 (expand_start_catch): New function to start a catch clause.
164 (expand_end_catch): New function to end a catch clause.
165 (expand_start_all_catch): restructure to not do the equivilent of
166 what expand_start_catch() does now. Push the exception region being
167 handled onto the catch stack.
168 (output_exception_table_entry): Issue an entry for each handler
169 associated with a region.
170 (set_exception_lang_code): New function for setting the language code.
171 (set_exception_version_code): New function to set the version number.
172 (output_exception_table): Output version and language codes.
173 (find_exception_handler_labels): Find handler labels using new scheme.
174 (is_exception_handler_label): New function, returns 1 if label is
175 present as a handler in some exception region.
176 (check_exception_handler_labels): Use the new scheme.
177 (init_eh_for_function): Initialize the catch stack.
178 (save_eh_status): Save the catch stack.
179 (restore_eh_status): Restore the catch stack.
180 (scan_region): Don't remove unreferenced handler label. Flow does it.
181 (get_reg_for_handler): New function to get the eh_context pointer
183 (expand_builtin_eh_stub): Changes required for NEW_EH_MODEL only.
184 * final.c (final_scan_insn): With NEW_EH_MODEL, add EH table
185 entry when processing END region rather that START region.
186 * flow.c (find_basic_blocks_1): Find all potential handler regions
187 now that we don't automatically know what the labels might be.
188 Let scan_region() remove unreferenced EH BEGIN/END labels.
189 * integrate.c (get_label_from_map): Put inlined labels onto the
190 permanent obstack since we dont know which ones might be exception
192 (save_for_inline_copying): Make new copies of all the handlers.
193 (expand_inline_function): Make new copies of all the handlers.
194 * libgcc2.c: Remove local struct decls, and include eh-common.h.
195 (find_exception_handler): With NEW_EH_MODEL the first matching
196 region we find is the right one. Add eh_info as a new parameter.
197 (__throw): Pass eh_info to find_exception_handler. Set handler
198 and pass use different regs under NEW_EH_MODEL.
200 Thu May 14 12:58:21 1998 Jim Wilson <wilson@cygnus.com>
202 * i960.h (hard_regno_mode_ok): Changed to function from array of
204 (HARD_REGNO_MODE_OK): Call function instead of testing bit.
205 * i960.c (hard_regno_mode_ok): Changed to function from array of
208 Thu May 14 08:41:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
210 * reload.c (remove_replacements): New function.
211 * reload.h (remove_replacements): Declare.
212 * reload1.c (choose_reload_regs): Disable some reloads that
213 belong to inherited reloads.
215 Thu May 14 02:17:17 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
217 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
219 * reload1.c (merge_assigned_reloads): When merging, reset
220 reload_spill_index for the eliminated reload.
222 Wed May 13 17:51:13 1998 Jeffrey A Law (law@cygnus.com)
224 * haifa-sched.c (schedule_insns): Fix merge goof.
226 1998-05-13 Jim Wilson <wilson@cygnus.com>
228 * varasm.c (make_decl_rtl): Revert April 1 change.
229 * alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
230 m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
231 Get function name from the SYMBOL_REF in the DECL_RTL, not from
233 * i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
236 Wed May 13 13:09:19 1998 Jim Wilson <wilson@cygnus.com>
238 * i386.c (notice_update_cc, output_float_compare): Disable
239 TARGET_CMOVE support.
241 Wed May 13 15:28:59 1998 Michael Meissner <meissner@cygnus.com>
242 Jeff Law <law@cygnus.com>
244 * rtlanal.c (find_reg_note): Ignore notes that are not on on
246 (find_regno_note): Likewise.
248 * Makefile.in (stor-layout.o): Depend on except.h
249 (varasm.o, function.o): Likewise.
250 (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
252 * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
253 (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
254 ($(HOST_PREFIX_1)rtl.o): Likewise.
255 ($(HOST_PREFIX_1)bitmap.o): New host object.
256 * emit-rtl.c (toplevel): Include bitmap.h.
257 (gen_rtx): Handle 't' and 'b' nodes.
258 * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
259 Print block number for block begin/end notes. Print 't' type
260 nodes as a pointer. Know that the 3rd argument of live range
261 start/stop notes is really a range_info rtx. If type is 'b', print
262 out argument as a bitmap.
263 * rtl.c: Include bitmap.c.
264 (copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
265 (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
266 * rtl.def (RANGE_LIVE): New node to hold live information while we
267 recalculate the basic blocks.
268 (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
269 (RANGE_VAR): New node, to hold information saved in symbol node for New
270 communicating live range information to the debug output functions.
271 * rtl.h (rtunion_def): Add rttree and rtbit fields.
272 (XBITMAP, XTREE): New accessor macros.
273 (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
274 (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
275 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
276 (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
277 (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
278 (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
279 (RANGE_INFO_*): Likewise.
280 * sched.c (sched_analyze): Keep live range start/stop notes.
281 (unlink_other_notes): Likewise.
282 * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
283 (unlink_other_notes): Likewise.
284 * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
285 (BLOCK_LIVE_RANGE_FLAG): Likewise.
286 (DECL_LIVE_RANGE_RTL): Likewise.
287 (struct tree_block): Add live_range_flag, live_range_var_flag,
288 live_range_start and live_range_end.
289 (struct tree_decl): Add live_range_rtl field.
290 * gengenrtl.c (type_from_format): Handle 'b' and 't'.
291 (accessor_from_format): Likewise.
293 * haifa-sched.c (schedule_block): Make verbose output line up.
294 Also add a blank line in printing the individual ready lists.
296 Wed May 13 15:43:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
298 * Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
299 (c-lex.o): Depend on output.h.
300 (c-common.o): Likewise.
303 (integrate.o): Depend on toplev.h.
304 (regclass.o): Depend on output.h.
305 (final.o): Depend on reload.h.
307 * c-common.c: Include output.h.
308 (check_format_info): Remove unused variable `integral_format'.
310 * c-decl.c (print_lang_decl): Mark parameters `file', `node' and
311 `indent' with ATTRIBUTE_UNUSED.
312 (print_lang_type): Likewise.
313 (maybe_build_cleanup): Likewise for parameter `decl'.
314 (copy_lang_decl): Likewise for parameter `node'.
316 * c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
317 (lang_print_xnode): Mark parameters `file', `node' and `indent'
318 with ATTRIBUTE_UNUSED.
319 (lookup_interface): Likewise for parameter `arg'.
320 (is_class_name): Likewise.
321 (maybe_objc_check_decl): Likewise for parameter `decl'.
322 (maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
324 (maybe_objc_method_name): Likewise for parameter `decl'.
325 (build_objc_string): Likewise for parameters `len' and `str'.
327 * c-lex.c: Include output.h.
329 * c-lex.h (position_after_white_space): Correct typo in prototype.
331 * c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
332 c_expand_end_cond, init_iterators): Add prototypes.
334 * caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
335 with ATTRIBUTE_UNUSED.
337 * calls.c: Include output.h.
339 * cccp.c (pipe_closed): Mark parameter `signo' with
342 * combine.c: Move inclusion of expr.h to after insn-config.h.
344 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
345 as empty, rather define as ((void)0).
347 * sparc.c (sparc_check_64): Add braces around ambiguous `else'.
348 Add parentheses around assignment used as truth value.
350 * cplus-dem.c (squangle_mop_up): Change return type to void.
351 (internal_cplus_demangle): Remove unused parameter `options'.
353 (cplus_demangle_opname): Remove function wide variable `int i' and
354 replace with `size_t i' at each location where it is used.
355 (cplus_demangle_opname): change type of `i' from int to size_t.
357 * cppexp.c (right_shift): Mark parameter `pfile' with
360 * cpphash.c (cpp_lookup): Likewise.
361 (cpp_hash_cleanup): Likewise.
363 * cpplib.c (parse_name): Add a prototype and make it static.
364 (null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
365 (null_cleanup): Likewise for parameters `pbuf' and `pfile'.
366 (macro_cleanup): Likewise for parameter `pfile'.
367 (file_cleanup): Likewise.
369 * cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
370 cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
372 * crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
373 __DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
375 * cse.c (cse_check_loop_start): Mark parameter `set' with
378 * dbxout.c (flag_minimal_debug, have_used_extensions,
379 source_label_number): Move inside macro wrapper check against
380 defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
382 * dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
384 * except.h (doing_eh): Provide prototype.
386 * expr.c: Move inclusion of expr.h to after insn-config.h.
388 * final.c: Include reload.h.
389 (shorten_branches): Cast the first argument of bzero to char *.
391 * fix-header.c (cpp_print_containing_files): Mark parameter
392 `pfile' with ATTRIBUTE_UNUSED.
393 (cpp_fatal): Likewise.
395 * flow.c (find_basic_blocks_1): Cast the first argument of bzero
398 * genattrtab.c (make_length_attrs): Change the type of variable
399 `i' from int to size_t.
400 (zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
403 * genextract.c (main): When generating insn-extract.c, mark
404 variable `junk' with ATTRIBUTE_UNUSED.
406 * gengenrtl.c (gencode): When generating genrtl.c, cast the first
407 argument of bzero to char*.
409 * integrate.c: Include toplev.h.
411 * libgcc2.c: Wrap `struct exception_table' and
412 `find_exception_handler' in macro DWARF2_UNWIND_INFO.
414 * objc/Make-lang.in (objc-act.o): Depend on toplev.h.
416 * objc/objc-act.c: Include toplev.h.
417 (lang_print_xnode): Mark parameters `file', `node' and `indent'
418 with ATTRIBUTE_UNUSED.
419 (finish_protocol): Likewise for parameter `protocol'.
421 * output.h (declare_weak): Add prototype.
422 (decode_reg_name): Don't wrap with TREE_CODE macro.
423 (assemble_alias): Add prototype.
425 * regclass.c: Include output.h.
427 * reload.h (reloads_conflict): Add prototype.
429 * rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
430 output_func_start_profiler): Add prototypes.
432 * rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
435 * scan-decls.c: Include scan.h.
437 * scan.h (recognized_function, recognized_extern): Add prototypes.
439 * stmt.c: Include output.h.
441 * toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
442 (output_lang_identify): Hide prototype and definition.
443 (float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
444 (pipe_closed): Likewise.
446 * toplev.h (count_error, strip_off_ending, error_for_asm,
447 warning_for_asm): Add prototypes.
449 Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
451 * toplev.c (rest_of_compilation): "Charge" final for any time
452 doing various cleanup operations after finishing compilation
455 * flow.c (dump_flow_info): Also print number of sets and
456 whether or not the pseudo is a user variable.
458 * flow.c (reg_n_max): New global variable.
459 * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
460 Delete regno_max variable.
461 * regs.h (REG_N_CHECK): Define.
462 (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
463 (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
464 (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
466 Wed May 13 12:54:19 1998 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
468 * acconfig.h (ENABLE_CHECKING): Undefine.
469 * configure.in (--enable-checking): New option.
471 Wed May 13 08:52:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
473 * reload1.c (merge_assigned_reloads): Can merge
474 RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
475 if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
477 Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
479 * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
481 Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
483 * reload1.c (gen_reload): Create REG_EQUIV notes.
485 Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
487 * reload1.c (reload): Fix check for USEs to use code of pattern.
488 (choose_reload_regs): Remove dead variable use_insn.
490 Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
492 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
494 Tue May 12 15:16:02 1998 Michael Meissner <meissner@cygnus.com>
496 * haifa-sched.c (HAIFA_INLINE): Define to be __inline unless
498 (find_insn_{,mem_}list): Use HAIFA_INLINE, not __inline.
499 (insn_{unit,issue_delay}): Ditto.
500 (blockage_range): Ditto.
501 (actual_hazard{,_this_instance}): Ditto.
502 (schedule_unit): Ditto.
503 (potential_hazard): Ditto.
507 (birthing_insn_p): Ditto.
508 (adjust_priority): Ditto.
509 (get_block_head_tail): Ditto.
510 (init_rgn_data_dependences): Ditto.
512 Tue May 12 10:27:54 1998 Klaus Kaempf <kkaempf@progis.de>
514 * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
516 Tue May 12 11:44:14 1998 Gavin Koch <gavin@cygnus.com>
518 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
520 Tue May 12 11:38:31 1998 Gavin Koch <gavin@cygnus.com>
522 * config/mips/mips.md (dslot): Move after definition of "cpu"
523 attribute. Handle r3900 case.
525 Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
527 * system.h: Define the STRINGIFY macro here.
528 * protoize.c: Not here.
529 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
531 Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
533 * varasm.c (assemble_variable): Compute the alignment of the data
534 earlier so that both initialized and uninitialized variables are
535 effected by DATA_ALIGNMENT.
536 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
538 Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
540 * mips.c: Prototype static functions.
542 Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
544 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
545 Add explanatory comments.
547 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
549 Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
551 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
553 Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
555 * varasm.c (make_decl_rtl): Disable April 1 change.
557 Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
559 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
561 Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
563 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
564 * alpha.c (print_operand): Handle it.
565 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
566 related define_splits. Also add peepholes for SImode reload
567 plus sign_extend lossage.
569 Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
571 * genattr.c: Include stdarg.h/varargs.h. Change function
572 `fatal' to use variable arguments instead of faking it with
573 integer parameters. Provide a prototype which also
574 checks the format specifiers using ATTRIBUTE_PRINTF_1.
576 * genattrtab.c: Likewise.
577 * gencodes.c: Likewise.
578 * genconfig.c: Likewise.
579 * genemit.c: Likewise.
580 * genextract.c: Likewise.
581 * genflags.c: Likewise.
582 * genopinit.c: Likewise.
583 * genpeep.c: Likewise.
584 * genrecog.c: Likewise.
585 * genoutput.c: Likewise. Similarly for function `error'.
587 Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
589 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
590 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
591 * configure.in: Use GCC_C_VOLATILE.
592 * system.h (volatile): Define as empty if no volatile support is
595 Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
597 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
600 Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
602 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
603 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
604 the body of beq; additionally set the mode of the branch to CCmode for
605 FP compares and not fast_math.
606 (alpha_emit_conditional_move): Always use a compare insn for FP
607 when not fast_math, as well as setting CCmode on the cmov.
608 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
610 * machmode.h (COMPLEX_MODE_P): New macro.
612 Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
614 * haifa-sched.c (print_exp): Fix typo.
616 Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
618 * version.c: Bump for snapshot.
620 Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
622 * final.c (final_scan_insn): Call fatal_insn instead of abort if
623 we could not split an insn when required to.
625 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
627 (peepholes): Disable peepholes that call dead_or_set_p.
628 (movsi): Rewrite to handle addresses better after last change.
629 Add define_split to split load of addresses in large/medium modes.
630 (prologue): Call m32r_expand_prologue.
631 (movsi_{push,pop}): Generators for push/pop.
632 (movsi): Support PRE_{INC,DEC}, POST_INC.
633 (mov{di,df}): Rewrite. Always split the insns.
634 (movsf): Add define_split to get register load in correct mode.
635 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
636 (attributes): Rewrite attributes so that type indicates both the
637 type and the length of the insn directly.
638 (all insns): Change to use new type attributes.
639 (debug): New attribute to convey whether -mdebug was used.
640 (opt_space): New attribute to convey whether -Os was used.
641 (function units): Loads are 3 cycles, not 2. Better classify all
642 insns into short/long.
643 (load/store/extend insns): Add separate case for load/store
644 indirect operations without an offset.
645 (divsi3): Division is a long operation, not short.
647 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
649 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
650 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
651 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
652 operands with PRE_{INC,DEC}, POST_INC.
653 (FUNCTION_PROFILER): Call abort instead of doing nothing.
654 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
656 (gen_split_move_double): Declare.
657 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
659 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
660 emit_move_insn, build up SET's directly.
661 (toplevel): Include system.h, not stdio.h.
662 (move_double_src_operand): Allow any DF or DI mode constant.
663 (gen_split_move_double): Split moves of DI or DF values into the
664 appropriate moves, loads, or stores. Don't handle use of auto
665 inc/dec if using dead index. Do handle overlapping moves, etc.
666 (m32r_frame_info): Remove prologue_size field.
667 (m32r_compute_frame_size): Don't calculate prologue size.
668 (m32r_output_function_prologue): Change to pretty much a NOP.
669 (m32r_expand_prologue): Expand prologue as a series of INSNs.
670 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
671 (m32r_print_operand_address): Ditto.
673 Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
675 * reload1.c (emit_reload_insns): When performing expensive
676 optimizations, do not output the last reload insn if OLD is
677 not the dest of NSN and is in the src and is clobbered by INSN.
679 Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
681 * Makefile.in (genrtl.o): Depend on system.h.
682 * gengenrtl.c (gencode): When creating genrtl.c, have it
685 Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
687 * config/m68k/t-linux: Remove extra stuff already included in
690 Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
692 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
693 curses.h if it contains `typedef char bool;', as suggested by
694 Manfred Hollstein <manfred@s-direktnet.de>.
696 * configure.in: Rename fixinc.math to fixinc.wrap.
698 Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
700 * gcc.c (read_specs): Handle missing blank line at end of specs file.
702 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
705 Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
707 * configure.in (enable_threads): Rename to enable_threads_flag before
708 main loop. Set enable_threads to enable_threads_flag inside main
711 Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
713 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
716 Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
718 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
720 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
721 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
722 (AC_CHECK_FUNCS): Remove unused check for vprintf.
724 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
725 (cccp.o): Depend on gansidecl.h.
728 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
729 per the rest of gcc source.
730 * cexp.y: Likewise. Include gansidecl.h and remove all code made
733 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
734 used when vfprintf is missing.
737 * genattrtab.c: Likewise.
738 * mips-tfile.c: Likewise.
739 * toplev.c: Likewise.
741 * vfprintf.c: New file.
742 * doprint.c: New file.
744 Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
746 * config/linux.h (ASM_COMMENT_START): Remove from here,
747 * config/linux-aout.h (ASM_COMMENT_START): and here,
748 * config/i386/linux.h (ASM_COMMENT_START): to here,
749 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
750 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
753 Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
755 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
758 Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
760 * Makefile.in (dwarfout.o) Add toplev.h dependency.
761 * dwarfout.c, i386.c: Include toplev.h
762 * toplev.h: (pfatal_with_name) Add prototype.
764 Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
766 * Makefile.in: Fix .SUFFIXES.
768 Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
770 * config/linux.h (ASM_COMMENT_START): Define as "#".
771 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
773 Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
775 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
776 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
778 * toplev.c: Include toplev.h.
779 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
780 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
781 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
782 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
783 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
786 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
787 HARD_FRAME_POINTER_REGNUM.
789 * expr.c (target_temp_slot_level): Delete duplicate definition.
791 Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
793 * stmt.c (mark_seen_cases): Make it have external linkage again.
794 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
797 * haifa-sched.c (print_value, case SUBREG): Fix typo.
799 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
800 * i386.h (REG_CLASS_CONTENTS): Similarly.
802 * toplev.c (-fsched-max): Delete flag.
803 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
804 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
805 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
808 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
809 inner loops which are not reducible.
811 * loop.c (regs_match_p): Fix typo in prototype.
813 * regmove.c (try_auto_increment): Wrap declaration inside an
816 Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
818 * final.c (output_operand_lossage): Call fatal with the operand
819 lossage message instead of calling abort.
821 Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
823 * c-common.c: Convert to using ctype macros defined in system.h.
826 * collect2.c: Likewise.
827 * rs6000.c: Likewise.
828 * cpplib.c: Likewise.
829 * fix-header.c: Likewise.
831 * gen-protos.c: Likewise.
832 * pexecute.c: Likewise.
833 * protoize.c: Likewise.
838 * toplev.c: Likewise.
840 Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
842 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
843 Replace -gdwarf-2 with -g0.
845 Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
847 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
848 * mips-tdump.c: Include system.h, remove redundant headers.
849 * mips-tfile.c: Likewise. Also, convert all ctype function calls
850 to calls of the macro versions defined in system.h.
852 * objc/Make-lang.in (objc-act.o): Depend on system.h.
853 * objc/objc-act.c: Include system.h, remove redundant headers.
855 Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
857 * configure.in (AC_CHECK_FUNCS): Add isascii.
858 (GCC_NEED_DECLARATIONS): Add atof.
860 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
861 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
863 Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
865 * system.h: Wrap time.h and sys/file.h in autoconf checks.
866 Provide default definitions for O_RDONLY and O_WRONLY here.
868 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
870 1998-05-06 Mark Mitchell <mmitchell@usa.net>
872 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
874 Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
876 * toplev.h: New file. Protypes for functions in toplev.c.
877 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
878 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
879 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
880 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
881 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
882 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
883 varasm.c: include it.
885 Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
886 Jim Wilson (wilson@cygnus.com)
888 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
889 blocks. Check for 1 successor which is the EXIT_BLOCK.
891 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
892 unreachable loops with more than one block.
894 Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
896 * fix-header.c (write_rbrac): Add "abort" to functions which need to
899 Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
901 * Check in merge from gcc2. See ChangeLog.12 for details.
903 Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
905 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
906 accept 'a' flag. 'S' does accept 'a' flag.
907 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
910 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
912 Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
914 * config/m68k/m68k.h: Declare functions from m68k.c used in
915 macros and machine description.
916 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
918 (ASM_OUTPUT_FLOAT): Likewise.
919 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
921 Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
923 * tree.def: Add NAMESPACE_DECL.
924 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
925 * dwarf2out.c (push_decl_scope): Likewise.
926 (scope_die_for): Likewise.
927 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
928 how to get next context level.
930 Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
932 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
935 Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
937 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
939 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
940 for any insns skipped at the start of a block because they were
943 Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
945 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
947 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
949 * c-common.c (format_char_info): Add new field hhlen.
950 (print_char_table, scan_char_table, time_char_table): Initialize
951 hhlen field appropriately.
952 (char_format_info): Recognize hh modifier and lookup correct char
955 Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
957 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
958 reference if this is a store.
960 Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
962 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
964 Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
966 Make UnixWare 7 bootstrap support work with final shipping product.
967 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
968 Pick up xm-siglist and xm-alloca.
969 (xm_defines): Add USG so dbxout will build.
970 * configure: Regenerate.
972 Sun May 3 13:51:34 PDT 1998 Richard Henerson <rth@cygnus.com>
974 Support for official Sparc V9 ABI:
975 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
976 Care for flag_pcc_struct_return default.
977 (output_move_quad): Rewrite to move by halves on v9 and in the
979 (move_quad_direction): New function.
980 (output_fp_move_quad): Use it to determine the direction of copy.
981 (function_arg_slotno): Return -1 for FP reg overflow as well.
982 (function_arg_record_value*): New functions.
983 (function_arg): Use them. Streamline unprototyped parameter passing.
984 (function_arg_pass_by_reference): Pass TCmode by reference.
985 (function_value): New function.
986 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
987 long long in 64-bit mode.
988 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
989 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
990 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
991 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
992 (BASE_INCOMING_ARG_REG): Likewise.
993 (FUNCTION_VALUE): Call function_value.
994 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
995 * sparc.md (movdi_sp32_v9): Disable for arch64.
996 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
997 (call_value_address_sp64): Remove register class constraints.
998 (call_value_symbolic_sp64): Likewise.
999 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
1000 v9 case to 32-bit constants.
1001 (goto_handler_and_restore_v9): Provide a version for arch64.
1002 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
1003 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
1004 (CPP_PREDEFINES): New.
1005 * sparc/sp64-elf.h: Likewise.
1006 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
1007 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
1008 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
1010 Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
1012 * version.c: Bump for snapshot.
1014 Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1016 * reload.c (find_reloads): Emit USEs to mark where a pseudo
1017 is reloaded with the MEM of its stack slot.
1018 * reload1.c (cannot_omit_stores): Delete.
1019 (reload): Don't initialize it.
1020 Don't apply avoid_return_reg logic to USEs.
1021 When done, remove USEs that have a REG_EQUAL note on them.
1022 (emit_reload_insns): Handle case where we have inherited a MEM.
1023 (choose_reload_regs): Likewise.
1024 (delete_output_reload): Don't use cannot_omit_stores.
1026 Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
1028 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
1030 Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
1032 * haifa-sched.c (print_{exp,value}): Various changes to make the
1033 debug output easier to read. Also, use only one buffer, and make
1034 sure the buffer we are passed in doesn't overflow.
1035 (safe_concat): Concatenate to a buffer without overflow.
1037 Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1039 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
1042 Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1044 * sched.c (new_insn_dead_notes): Check if the register was
1045 used in the original instruction.
1046 * haifa-sched.c (new_insn_dead_notes): Likewise.
1048 Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
1050 * dwarf2out.c (scope_die_for): If could not find proper scope,
1051 check for and handle tagged type with incorrect TYPE_CONTEXT.
1053 Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
1055 * calls.c (expand_call): Fix recognition of C++ operator new.
1057 * alias.c (mode_alias_check): Disable type based alias detection.
1059 Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
1061 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
1062 ASM_OUTPUT_WEAK_ALIAS): Define.
1063 * config/mips/elf64.h: Same.
1064 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
1065 ASM_WEAKEN_LABEL): Removed.
1067 Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1069 * calls.c (expand_call): Bump the length limit on the specially
1070 recognized function names to 17.
1072 Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
1074 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
1075 when undefining macros at the end.
1077 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
1078 val or len has TREE_SIDE_EFFECTS set.
1080 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
1081 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
1082 (smuldi3_highpart): Call const v8plus routine.
1083 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
1084 (const_smulsi3_highpart_v8plus): New pattern.
1085 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
1086 (umulsidi3): Call const v8plus routine.
1087 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
1089 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
1090 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
1092 Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
1094 * m32r.c (*_oper{and|ator}): Change enum arguments and return
1095 values to int, so they can be prototyped even in files that don't
1097 ({small,large}_insn_p): Ditto.
1098 (m32r_select_cc_mode): Ditto.
1099 (gen_compare): Ditto.
1100 (function_arg_partial_nregs): Ditto.
1101 (m32r_setup_incoming_varargs): Ditto.
1102 (init_reg_tables): Add prototype.
1103 (m32r_frame_info): Add prolog_size field.
1104 (m32r_compute_frame_size): Calculate the size of the prologue.
1105 (m32r_first_insn_address): Return prologue size.
1106 (m32r_output_function_prologue): Calculate frame size before
1107 printing out information. Print out the prologue size.
1109 * m32r.h: Prototype all functions in m32r.c.
1110 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
1112 * m32r.md (bcc functions): Cast enum's to int.
1114 * m32r.c (conditional_move_operand): Silence a debug message.
1115 ({small,long}_insn): New predicates.
1117 * m32r.h (TARGET_M32R): New macro.
1118 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
1119 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
1121 (ISSUE_RATE): Define as 2.
1123 * m32r.md (insn_size): New attribute.
1124 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
1126 (m32r): New attribute.
1128 * configure.in (enable_haifa): Switch m32r to Haifa by default.
1129 * configure: Regenerate.
1131 (Changes from Nick Clifton <nickc@cygnus.com>)
1132 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
1133 the equivalent of a negated 'I' constraint.
1134 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
1135 optimisation to work.
1137 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
1138 than 'I' since the value is negated.
1139 (peephole): Add peephole optimisation to cope with optimization of
1140 divide and subtracts of the same operands.
1142 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
1146 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
1149 Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
1151 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
1153 Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
1155 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
1156 frame_pointer_rtx not FRAME_POINTER_REGNUM.
1158 Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
1160 * reg-stack.c: Revert last patch (Apr 20).
1161 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
1163 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
1165 * loop.c (check_dbra_loop): New locals jump, first_compare, and
1166 compare_and_branch. Call get_condition to set first_compare.
1167 Set compare_and_branch to number of compare/branch instructions.
1168 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
1169 Replace '2' with compare_and_branch.
1171 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1173 * cplus-dem.c (demangle_qualified): Replace missing else.
1175 Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1177 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
1179 Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1181 * sh.c (sh_expand_prologue, sh_expand_epilogue):
1182 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
1183 * sh.h (STACK_BOUNDARY): Likewise.
1185 Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1187 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1189 Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
1191 * system.h (abort): If abort is not defined, and neither is
1192 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
1193 reporting the line and filename of the error.
1195 * .gdbinit: Add breakpoints on exit and fancy_abort.
1197 * final.c (split_double): Avoid a compiler warning if
1198 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
1200 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
1201 for calling jump_optimize.
1203 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
1204 macros, rather than 0/1's.
1206 Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
1208 * alpha.h (CONST_COSTS): Zero is always free.
1209 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
1211 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1213 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
1214 length in the name of a virtual table.
1216 Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
1218 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
1220 Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
1222 * version.c: Bump for snapshot.
1224 Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
1226 * fold-const.c (fold_convert): Fix typo.
1228 Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
1230 * alias.c (alias_invariant): New variable.
1231 (record_base_value): New argument INVARIANT.
1232 (memrefs_conflict_p): If a register has an entry in the alias_invariant
1233 array, try substituting that value for the register.
1235 * rtl.h: Declare record_base_value.
1237 * loop.c, unroll.c: Update callers of record_base_value.
1239 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
1240 ZERO_EXTEND do not affect base values.
1242 Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
1244 * dbxout.c (dbxout_type): Fix typo.
1245 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
1247 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
1249 Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
1251 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
1252 if the argument is the address of a structure or array.
1254 * configure.in: Enable Haifa scheduler by default for SPARC.
1256 Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1258 * cse.c (cse_set_around_loop): Don't do optimization when
1259 new pseudos are created.
1261 Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
1263 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
1265 (dbxout_type_method_1, dbxout_type): Likewise.
1266 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
1267 (dbxout_type): Fix check for when to print a type range in
1270 Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1272 * (gen_shl_and, in case 1): Fix comparison with mask.
1274 Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
1276 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
1277 pointer as second register in REG+REG pair.
1279 Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1281 * c-common.c (check_format_info): Don't check for the 'x' format
1282 character twice, instead check for 'x' and 'X'
1284 Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
1286 * Makefile.in (libgcc2.ready): Add explicit dependancy from
1287 $(STMP_FIXPROTO) to ensure all necessary include files have
1288 been created and to guarantee proper parallel builds.
1290 Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1292 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
1293 register for stdarg functions.
1294 * sh.h (current_function_varargs): Declare.
1295 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
1297 1998-04-23 Jim Wilson <wilson@cygnus.com>
1299 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
1300 inhibit_libc is defined.
1302 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
1304 Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
1306 * profile.c (tablejump_entry_p): New function.
1307 (branch_prob): Add code to recognize MIPS tablejump entry branch.
1308 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
1310 Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
1312 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
1313 found, rather than at end of the loop, after the insn has been
1316 Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1318 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
1319 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
1321 Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
1323 * loop.c (note_addr_stored): Correct function to take 2 arguments,
1326 * rtl.def (MATCH_INSN2): Add new matching pattern.
1327 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
1329 Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
1331 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
1332 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
1334 * final.c (split_double): Sign extend both halves of a split CONST_INT.
1336 Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
1338 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
1340 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1342 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
1343 (cplus_demangle_opname): Call mop_up_squangle.
1344 (cplus_demangle): Initialize squangle info, then call
1345 internal_cplus_demangle. (Most code moved there as well)
1346 (internal_cplus_demangle): New function, performs most of what use
1347 to be done in cplus_demangle, but is only called with this file.
1348 (squangle_mop_up): New function to clean up B and K code data.
1349 (mop_up): set pointers to NULL after freeing.
1350 (demangle_signature, demangle_template, demangle_class): Add
1351 switch elements to handle K and B codes.
1352 (demangle_prefix, gnu_special, demangle_qualified): Add
1353 code to handle K and B codes.
1354 (do_type, demangle_fund_type): Handle B and K codes.
1355 (remember_Ktype): New function to store K info.
1356 (register_Btype, remember_Btype): New functions for B codes.
1357 (forget_B_and_K_types): New function to destroy B and K info.
1359 1998-04-21 Jim Wilson <wilson@cygnus.com>
1361 * stmt.c (check_seenlabel): When search for line number note for
1362 warning, handle case where there is no such note.
1364 Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
1366 * genemit.c (gen_exp): Allow machine description to set mode of
1369 Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
1371 * alias.c (mode_alias_check): New function.
1372 (true_dependence, anti_dependence, output_dependence): Call
1375 Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
1377 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
1378 (MIPS_STACK_ALIGN): Similarly.
1380 * c-common.c (type_for_mode): Handle TI types.
1381 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
1382 (init_decl_processing): Handle TI types.
1383 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
1385 * mips.c (block_move_loop): Test Pmode == DImode instead of
1387 (expand_block_move, save_restore_insns): Likewise.
1388 (function_prologue, mips_expand_prologue): Likewise.
1389 (mips_expand_epilogue): Likewise.
1390 * mips.h (POINTER_SIZE): Allow specific targets to override.
1391 (Pmode): Allow specific targets to override.
1392 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
1393 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
1394 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
1395 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
1396 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
1397 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1398 * mips.md (indirect, tablejump & casesi support): Test for
1399 Pmode == DImode instead of TARGET_MIPS64.
1400 (call patterns): Likewise.
1402 Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1404 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
1405 for gen_rtx(MEM, ...).
1407 Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
1409 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
1410 to not be so gross, and to properly function with PIC.
1412 Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
1414 * frame.c (heapsort): Rename to frame_heapsort.
1416 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
1418 Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
1420 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
1422 Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
1424 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
1425 operands during and after reload.
1427 Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1429 * final.c (shorten_branches, init_insn_lengths): Move code
1430 to free label_align, uid_shuid, insn_lengths, insn_addresses
1431 and uid_align from the former function into the latter one;
1432 Add code to clear these variables.
1433 * sh.h (label_align): Remove declaration.
1435 Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
1437 * gcc.c (lang_specific_driver): Declare prototype properly so
1438 fatal can be passed to it without error.
1440 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
1441 * configure: Regenerate.
1442 * config.in: Add #undef's for strchr and strrchr.
1444 * protoize.c (toplevel): If we have rindex, but not strrchr, map
1446 (file_could_be_converted): Use strrchr, not rindex since rindex is
1447 not defined on Linux systems when _POSIX_SOURCE is defined.
1448 (file_normally_convertible): Ditto.
1449 (process_aux_info_file): Ditto.
1452 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
1453 a constant to an integer register, don't split the insns that do
1454 the simple AND and OR operations, rather just split each word, and
1455 let the normal movsi define split handle it further.
1457 Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1459 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
1460 (split_branches): Call init_insn_lengths.
1462 Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
1464 * i386.c: Include expr.h to get the change_address prototype
1467 Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
1469 * reg-stack.c (subst_asm_stack_regs): Change to return the last
1470 new insn generated by this function.
1471 (subst_stack_regs): Likewise.
1472 (convert_regs): Record the last newly generated insn and use
1473 it for change_stack () instead of INSN.
1475 Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
1477 * fix-header.c (enum special_file): Undefine enumerators if they
1478 are already defined by include files.
1479 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
1480 macro with '__' to not pollute user namespace.
1482 Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
1484 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
1486 Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
1488 * version.c: Bump for snapshot.
1490 Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
1492 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
1494 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
1495 Add missing -Dpentium* options.
1496 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
1497 instead of CPP_CPU_DEFAULT.
1498 (EXTRA_SPECS): Add entry for cpp_cpu_default.
1500 Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
1502 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
1503 negative in a stackless frame.
1504 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
1505 in stackless frame size. Support 64-bit stackless frame size.
1506 Combine fpmem offset calculations and don't add total_size to
1507 offset if not pushing a stack frame.
1509 Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
1511 * regmove.c (fixup_match_1): In three places, in flag_exceptions
1512 check, change p to q.
1514 Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
1516 * gcc.c (lang_specific_driver): Add new parm type to prototype.
1517 (added_libraries): New file scope static variable.
1518 (process_command): Initialize added_libraries. Pass it to
1519 lang_specific_driver.
1520 (main): Use added_libraries in check for no input files.
1522 Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
1524 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
1525 code generation. Use 64 bit instructions in 32 bit mode when
1526 possible. Use V9 return instruction. UltraSPARC optimizations.
1528 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
1530 Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
1532 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
1533 just pass zero. That will work regardless of the size of HARD_REG_SET.
1535 * libgcc2.c (__floatdisf): Fix a couple typos.
1537 Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
1539 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
1541 Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
1543 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
1545 Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
1547 * emit-rtl.c (operand_subword_force): If a register can not be
1548 accessed by words, copy it to a pseudo register.
1550 Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
1552 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
1554 Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
1556 * tree.h (mark_seen_cases): Delete declaration.
1558 Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
1560 * stmt.c (mark_seen_cases): Make static and add prototype.
1562 Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1564 * frame.c: Include stdlib.h and unistd.h to possibly get various
1565 function prototypes. The fixproto script guarantees these header
1566 files exist on the target system.
1567 * libgcc2.c: Likewise.
1569 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
1570 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
1571 function parameters.
1572 * libgcc2.c (__udiv_w_sdiv): Likewise.
1574 Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
1576 * varasm.c (asm_output_bss): Add prototype.
1577 (asm_output_aligned_bss): Likewise.
1579 * unroll.c (verify_addresses): Add prototype.
1581 * toplev.c: Add many prototypes. Too many to mention here.
1583 * stmt.c (check_seenlabel): Add prototype.
1585 * rtlanal.c (reg_set_p_1): Add prototype.
1586 (reg_set_last_1): Likewise.
1588 * reorg.c (find_dead_or_set_registers): Add prototype.
1590 * regmove (try_auto_increment): Add prototype.
1592 * reg-stack.c (pop_stack): Add prototype.
1594 * recog.c (validate_replace_rtx_1): Add prototype.
1595 (find_cosntant_term_loc): Likewise.
1597 * loop.c (regs_patch_p): Add prototype.
1598 (add_label_notes, count_nonfixed_reads): Likewise.
1599 (find_single_use_in_loop): Likewise.
1600 (express_from): Surround prototype with #ifdef.
1601 (giv_sort): Similarly.
1603 * jump.c (mark_modified_reg): Add prototype.
1605 * haifa-sched.c (is_prisky): Add prototype.
1606 (queue_to_ready): Likewise.
1608 * genextract.c (gen_insn): Add prototype.
1610 * genemit.c (max_operand_1): Add prototype.
1611 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
1612 (gen_expand, gen_explit, output_add_clobbers): Likewise.
1613 (output_init_mov_optab): Likewise.
1615 * genattrtab.c (attr_hash_add_rtx): Add prototype.
1616 (attr_hash_add_string, write_length_unit_log): Likewise.
1618 * genattr.c (init_range): Add prototype.
1620 * combine.c (sets_function_arg_p): Add prototype.
1622 * expr.c (store_constructor_field): Add prototype.
1623 (get_memory_usage_from_modifier): Likewise
1625 * expmed.c (synth_mult): Add prototype.
1626 (choose_multiplier, invert_mod2n): Likewise.
1628 * except.c (push_eh_entry): Add prototype.
1629 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
1630 (call_get_eh_context, start_dynamic_cleanup): Likewise.
1631 (start_dynamic_handler, can_throw): Likewise.
1632 (output_exception_table_entry, scan_region): Likewise.
1633 (eh_regs, set_insn_eh_region): Likewise.
1635 * dwarfout.c (decl_class_context): Add prototype.
1636 (output_inheritance_die, type_ok_for_scope): Likewise.
1638 * c-lex.c (skip_white_space_on_line): Add prototype.
1640 * alias.c (record_set): Add prototype.
1641 (find_base_term, base_alias_check): Likewise.
1643 * function.c (assign_outer_stack_local): Make static and add prototype.
1645 * haifa-sched.c (build_control_flow): Accept raw data as inputs
1646 instead of computing it locally. Callers changed.
1647 (find_rgns): Several new arguments. Callers changed.
1648 Generally clean up and comment better. Use dominators to
1649 identify reducible loops. Convert some flag arrays to bitmaps.
1650 Convert most of the code to work on pred/succ lists instead of
1651 an edge table. Add comments for future improvements.
1652 (schedule_insns): Allocate temporary tables for flow data, call
1653 routines to compute flow data and pass it along to children as
1655 (debug_control_flow): Delete. Use dump_bb_data instead.
1657 * basic-block.h (compute_dominators): Declare.
1659 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
1661 * basic-block.h: Declare them.
1663 Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
1665 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
1668 Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
1670 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
1671 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
1672 node is non NULL. Cache last file name and file name identifier node.
1674 1998-04-15 Mark Mitchell <mmitchell@usa.net>
1676 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
1677 the length of an array, not TREE_TYPE.
1679 Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
1681 * flow.c (sbitmap_union_of_successors): New function.
1682 * basic-block.h (sbitmap_union_of_successors): Declare it.
1684 Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
1686 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
1687 Set gnu_ld to gnu_ld_flag inside main loop.
1690 Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
1692 * toplev.c (compile_file): Call init_parse using new interface.
1693 (init_lex): Remove declaration.
1695 * c-lex.c (init_parse): Now returns char* containing filename.
1697 Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
1699 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
1701 Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
1703 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
1704 (gen{extract,peep,opinit,output}): Ditto.
1706 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
1707 global definition so print-rtl.o can be linked in.
1708 * gen{peep,recog}.c (insn_attr_name): Ditto.
1710 Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
1712 * fixincludes: discard empty C++ comments, as found in sys/time.h
1715 Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1717 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
1720 Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
1722 * emit-rtl.c (operand_subword): Rework slightly to avoid
1723 bogus warning from previous change.
1725 Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
1727 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
1728 Nov 8 find_replacement change. Move decls of get_unaligned_address
1729 * alpha.h: ... here.
1731 Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
1733 * function.c (assign_parms): Initialize unsignedp before passing
1734 its pointer to promote_mode.
1736 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
1737 (write_test_expr): Allow MATCH_INSN.
1739 Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
1741 * install.texi: Update section on warnings that can be safely ignored.
1743 Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
1745 * mips.md (reload_outdi): Change the scratch mode from DImode to
1746 TImode. New variable scratch, used instead of operand[2] in template.
1747 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
1749 Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
1751 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
1753 Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
1755 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
1757 Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
1759 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
1760 (ASM_FINISH_DECLARE_OBJECT): Likewise.
1762 * Idea and part of the patch from HJ.
1763 * Makefile.in: auto-host.h renamed from auto-config.h. All references
1765 (distclean): Remove auto-build.h too.
1766 * configure.in: Rename host autoconf generated file to auto-host.h.
1767 If host != build, then run autoconf to generate auto-build.h for
1768 the build machine and include it in build_xm_files.
1769 Check for wait.h and sys/wait.h.
1771 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
1772 TRULY_NOOP_TRUNCATION.
1774 Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
1776 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
1778 Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
1780 * invoke.texi (ld options) Include memset requirements
1781 for options -nodstdlib and -nodefaultlibs.
1783 1998-04-12 Paul Eggert <eggert@twinsun.com>
1785 This change is from an idea suggested by Arthur David Olson.
1787 * c-common.c (decl_attributes, record_function_format,
1788 check_format_info, init_function_format_info):
1789 Add support for strftime format checking.
1790 (enum format_type): New type.
1791 (record_function_format): Now static, and takes value of type
1792 enum format_type instead of int.
1793 (time_char_table): New constant.
1794 (struct function_format_info): format_type member renamed from is_scan.
1795 (check_format_info): Use `warning' rather than sprintf followed by
1796 `warning', to avoid mishandling `%' in warnings.
1797 Change `pedwarn' to `warning', since these warnings do not necessarily
1798 mean the program does not conform to the C Standard, as the code
1799 need not be executed.
1801 * c-tree.h (record_function_format): Remove decl; no longer extern.
1803 * extend.texi: Add documentation for strftime format checking.
1805 Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
1807 * mips/ecoffl.h: Do not include mips.h.
1808 * mips/elf.h: Likewise.
1810 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
1811 * mips/ecoff.h: Include "mips/mips.h".
1813 Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
1815 * version.c: Bump for snapshot.
1817 Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
1819 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
1820 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
1821 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
1822 between loop optimization passes.
1823 * rtl.h: Updated appropriately.
1825 Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
1827 Reinstall this patch from Jason.
1828 * function.c (push_function_context_to): Don't call init_emit.
1830 Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
1832 * rtl.c (read_skip_spaces): Prevent infinite loops upon
1833 encountering unterminated comments.
1835 Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
1837 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
1840 * configure.in: Handle --with-fast-fixincludes.
1841 (fixincludes): If --with-fast-fixincludes, then use a different
1842 fixincludes program by default.
1843 * Makefile.in (fixinc.sh): New rule.
1845 Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
1847 * i386.md (movqi+1): Handle invalid QI register.
1848 (movsf_push-1): Likewise.
1850 Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
1852 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
1854 symbolic_memort_operand(), call32_operand(), int8_operand(),
1855 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
1857 uint16_operand(): Made static.
1859 Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
1861 * calls.c (expand_call): Fix typo.
1863 Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
1865 * c-lex.c (finput): New global.
1866 (init_parse): Always included. Handle !USE_CPPLIB using
1867 code originally in compile_file.
1868 (finish_parse): Update for CPPLIB.
1869 * toplev.c (init_parse, finish_parse): Declare.
1870 (finput): Delete variable. Now in front-ends.
1871 (compile_file): Remove code which is now handled by init_parse
1872 which is unconditionally called. Similarly for finish_parse.
1874 Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
1876 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
1877 ASM_WEAKEN_LABEL): Add.
1879 Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
1881 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
1882 * configure.in (alpha-*-linux*): Use them.
1884 Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
1886 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
1887 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
1888 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
1889 (build_expr_wfl): New prototype declaration.
1890 * tree.c (build_expr_wfl): New function, to build
1891 EXPR_WITH_FILE_LOCATION nodes.
1892 (copy_node): Don't zero TREE_CHAIN if copying a
1893 EXPR_WITH_FILE_LOCATION node.
1894 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
1895 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
1897 Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
1899 * configure.in (v850): Use t-v850.
1900 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
1902 * protoize.c (creat, read, write): Do not declare.
1904 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
1905 refer to the CODE_LABEL before a dispatch table.
1907 * invoke.texi: Add ARC options.
1909 * gcc.c (proces_command): Improve error message for -o with
1912 * i386/x-cygwin32 (CLIB): Link in advapi32.
1914 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
1915 (ASM_IDENTIFY_LANGUAGE): Likewise.
1917 * i386.md (movqi recognizer): Don't perfom byte increment into
1920 * configure.in (x86-dg-dgux): Run fixinc.dgux.
1922 * i370.h: Fix typo in GEN_INT changes.
1924 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
1925 of an empty arglist in prototype.
1927 * Makefile.in: Remove bytecode crud that crept back in after the
1930 1998-04-08 Brendan Kehoe <brendan@cygnus.com>
1932 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
1933 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
1935 Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
1937 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1939 Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
1941 * c-lex.c (is_class_name): Delete declaration.
1942 (whitespace_cr): Make static and add prototype.
1943 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
1944 yylex, get_directive_line): Turn declarations into prototypes.
1945 (position_after_whitespace, check_newline, yyerror,, is_class_name,
1946 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
1948 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
1950 * gencodes.c (gen_insn): Add prototype.
1951 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
1952 gen_peephole): Add prototypes.
1953 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
1955 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
1956 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
1957 genheader, gencode): Add prototypes.
1958 * genopinit.c (gen_insn): Add prototype.
1959 * genoutput.c (output_prologue, output_epilogue, scan_operands,
1960 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
1961 gen_expand, gen_split, n_occurrences): Add prototypes.
1962 * genpeep.c (gen_peephole): Add prototype.
1963 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
1964 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
1965 labels_in_range_p, count_loop_regs_set, note_addr_stored,
1966 loop_reg_used_before_p, scan_loop, replace_call_address,
1967 skip_consec_insns, libcall_benefit, ignore_some_movables,
1968 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
1969 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
1970 check_final_value, record_giv, update_giv_derive, basic_induction_var,
1971 simplify_giv_expr, general_induction_var, consec_sets_giv,
1972 check_dbra_loop, express_from, combine_givs_p, combine_givs,
1973 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
1974 last_use_this_basic_block, record_initial, update_reg_last_use,
1975 iteration_info, analyze_loop_iterations, insert_bct,
1976 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
1979 Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
1981 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1983 1998-04-07 Ken Raeburn <raeburn@cygnus.com>
1985 * config/mips/mips.c (siginfo): Deleted.
1986 (override_options): Don't install SIGINFO signal handler.
1988 Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
1990 * loop.c (check_dbra_loop): When normalize comparison_val, add check
1991 to verify it is non-negative.
1993 Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
1995 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
1996 (alpha_expand_block_clear): Likewise.
1998 Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
2000 * tree.h (sizetype_tab): Fix previous change for K&R.
2002 Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
2004 * version.c: Bump for snapshot.
2006 Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
2008 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
2009 Add USG and POSIX to xm_defines.
2011 Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
2013 * gcc.c: Add linker spec.
2014 (link_command_spec): Use %(linker) instead of ld.
2015 (main): If collect2 is requested as the linker, see if it exists;
2016 if not, use ld instead.
2018 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
2020 (install-collect2): Install as collect2, not ld.
2022 * configure.in(will_use_collect2): It's named collect2 now.
2024 * collect2: Remove checks to see if we were invoked recursively.
2025 (collect_execute): Use _spawnvp under cygwin32.
2027 Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
2029 * haifa-sched.c (build_control_flow): Set unreachable for block whose
2030 only predecessor is itself.
2032 Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2034 * c-parse.in: Include system.h, and remove stuff now made redundant.
2037 * protoize.c: Likewise. Properly check for cpp stringification.
2039 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
2042 * objc/Make-lang.in (objc-parse.o): Likewise.
2044 Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2046 * gansidecl.h: Check if compiler supports __attribute__. Provide
2047 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
2048 __attribute__ when its available. Also provide definitions for
2049 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
2050 terms of ATTRIBUTE_PRINTF.
2052 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
2055 Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
2057 * combine.c (can_combine_p): Include successor in volatile test.
2059 Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2061 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
2064 Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
2066 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
2067 in prototype and definition.
2069 Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
2071 * version.c: Bump for snapshot.
2073 Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
2075 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
2076 alpha_expand_unaligned_store_words.
2078 Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
2080 * i386.md (movsf_push, movsf_mem): Remove.
2081 (movsf_push): Rename from movsf_push_nomove and move in front of
2082 movsf. Use nonmemory_operand predicate and don't bother checking
2084 (movsf_push_memory): New pattern.
2085 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
2086 both operands refer to memory then force operand[1] into a register.
2087 (movsf_normal): Change to unnamed pattern.
2088 Likewise for movdf, movxf, and friends.
2090 Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
2092 * version.c: Bump for snapshot.
2094 Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
2096 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
2098 Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
2100 * configure.in (mips-wrs-vxworks): New target.
2102 Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
2104 * expmed.c (synth_mult): The value -1, has no zeros, so it can
2105 never have the form ...011.
2107 * version.c: Bump for snapshot.
2109 Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
2111 * i386.c (asm_output_function_prefix, load_pic_register):
2112 Use ASM_GENERATE_INTERNAL_LABEL properly.
2113 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
2114 (print_operand): Ignore it.
2115 (load_pic_register): Use it for the got load call.
2116 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
2117 (prologue_get_pc_and_set_got): Likewise.
2118 * i386.h: Update print_operand docs.
2120 Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
2122 * i386.md (ffssi, ffshi): Rewrite as define_expands.
2123 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
2124 * i386.c (notice_update_cc): Recognize unspec 5.
2126 Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
2128 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
2129 * alpha.c (print_operand): Handle it.
2130 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
2132 (fix_truncdfdi2): Likewise.
2134 Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
2136 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
2137 of these into a single struct, with additional [us]sizetype entries.
2138 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
2139 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
2142 Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
2144 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
2146 Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
2148 * haifa-sched.c (split_block_insns): Don't supress insn splitting
2149 on subsequent passes.
2151 * alpha.c (hard_fp_register_operand): New function.
2152 * alpha.h (PREDICATE_CODES): Add it.
2153 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
2154 f<-m case and accompanying define_split.
2155 (trapb): Use a unique unspec_volatile number.
2157 Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
2159 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
2162 Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
2164 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
2167 * haifa-sched.c: Mirror recent changes from gcc2.
2169 Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
2171 * Makefile.in (insn*.o): Depend on system.h.
2173 * pa.c (output_global_address): Initialize base.
2174 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
2176 1998-04-03 Mike Stump <mrs@wrs.com>
2178 * gthr.h: Support systems that don't have weak, but have threads.
2179 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
2180 * gthr-vxworks.h: New file.
2181 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
2183 Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
2185 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
2187 1998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
2189 * ginclude/va-i960.h (va_end): Change void * to void.
2191 Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2193 * Makefile.in (choose-temp.o): Depend on system.h.
2195 * choose-temp.c: Include system.h when IN_GCC.
2197 Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
2198 Richard Henderson <rth@cygnus.com>
2200 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
2201 (move_replacements): New function.
2202 * reload.h: Prototype it.
2204 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
2206 Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
2208 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
2211 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
2212 (gen_highpart): Likewise.
2213 * final.c (alter_subreg): Allow the target to hook by-mode subreg
2214 hard register number changes.
2216 Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
2218 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
2219 rnbitsize, rnmode and rinner.
2220 (make_range): Initialize type.
2221 (fold): Initialize arg0, arg1 and varop.
2223 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
2225 (expand_function_start): Initialize last_ptr.
2227 * stor-layout.c (layout_record): Initialize desired_align.
2228 (get_best_mode): Initialize unit.
2230 * tree.c (copy_node): Initialize length.
2232 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
2234 * caller-save.c (insert_save_restore): Initialize pat, code and
2237 * emit-rtl.c (push_to_sequence): Initialize top.
2238 (push_topmost_sequence): Likewise.
2240 * genattrtab.c (simplify_by_exploding): Initialize defval.
2242 * profile.c (branch_prob): Initialize dest.
2244 * rtl.h (note_stores): Remove duplicate prototype.
2245 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
2247 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
2248 strings that are not actually lengths.
2250 * genattrtab.c: Make generated file use system.h, instead of
2251 including stdio.h, etc directly.
2252 * genextract.c, genopinit.c, genoutput.c: Likewise.
2253 * genpeep.c, genrecog.c: Likewise
2255 * genoutput.c (process_template): Mark operands in the generated
2256 function as potentially unused if compiling with GNU CC.
2258 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
2260 * pa.md (reload peepholes): Remove unused variable "mode".
2262 Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
2264 * config/arm/thumb.h: Add super interworking support.
2265 * config/arm/thumb.c: Add super interworking support.
2266 * config/arm/thumb.md: Add super interworking support.
2267 * config/arm/lib1funcs.asm: Add interworking support.
2268 * config/arm/lib1thumb.asm: Add super interworking support.
2269 * config/arm/t-semi: Add interworking support.
2270 * config/arm/t-thumb: Add interworking support.
2271 * config/arm/README-interworking: New file.
2273 Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
2275 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
2276 (MD_STARTFILE_PREFIX): Unset.
2278 1998-04-01 Mark Mitchell <mmitchell@usa.net>
2280 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
2281 entity in a local scope.
2283 * fold-const.c (fold): Call truthvalue_conversion for values which
2284 are folded to boolean type.
2286 Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
2288 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
2289 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
2290 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
2291 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
2292 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
2293 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
2294 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
2295 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
2296 * md.texi: Likewise.
2298 Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
2300 * fixincludes (limits.h): Fix nested comments in Motorola's
2301 limits.h and sys/limits.h.
2303 Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
2305 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
2306 as dest of expand_binop call.
2308 * alpha.md (extzv): Correct check for valid operand[2] values.
2310 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
2313 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
2315 Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
2317 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
2318 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
2320 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
2321 cygwin32 can override this to allow both unix and win32 style PATHs.
2323 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
2324 style environment paths.
2326 Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2328 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
2329 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
2330 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
2333 * cpphash.c: Include config.h.
2334 * cppalloc.c: Include system.h. Add parameters to various
2335 function prototypes.
2336 * cpperror.c: Likewise.
2337 * cppexp.c: Likewise.
2338 * cpphash.c: Likewise.
2339 * cpplib.c: Likewise.
2340 * cppmain.c: Likewise.
2341 * fix-header.c: Likewise.
2343 * gen-protos.c: Likewise.
2344 * gengenrtl.c: Likewise.
2345 * halfpic.c: Likewise.
2347 * scan-decls.c: Likewise.
2350 Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
2352 * README.gnat: Add lang_print_xnode definition.
2354 Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2356 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
2357 fmovecr on the 68060.
2359 Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
2361 * genemit.c (DONE): Rework so that it works in the true arm if
2362 an if-else conditional.
2365 Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
2367 * rs6000.c: Do not include stdioh or ctype.h anymore.
2369 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
2371 (stor-layout.o): Likewise.
2372 * c-typeck.c: Include rtl.h and expr.h.
2373 * stor-layout.c: Likewise.
2375 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
2376 All callers changed.
2377 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
2378 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
2379 All callers changed.
2381 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
2383 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
2385 * tree.h (lang_print_xnode): Provide prototype.
2387 Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
2389 * version.c: Bump for snapshot.
2391 Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
2393 * objc/sendmsg.c (__objc_block_forward): Add braces for return
2394 value if INVISIBLE_STRUCT_RETURN.
2396 * pa.c (arith_double_operand): Fix parens.
2398 * haifa-sched.c (print_pattern): Correct arg to sprintf.
2400 * Makefile.in (libgcc1.null): Make return type for __foo void.
2402 Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
2404 * pa.h: Add declarations for many functions defined in pa.c.
2406 * genpeep.c (main): Remove unused variable 'i' from the generated
2409 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
2410 (gen_split): Likewise.
2411 (main): Rework generated definitions of DONE and FAIL so that they
2412 no longer use gotos. Avoids warnings about unused labels.
2414 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
2415 unused "junk" variable.
2417 * genattrtab.c (write_complex_function): Add a default case in
2418 generated switch statement to keep -W -Wall quiet.
2420 Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
2422 * invoke.texi: Document more ARM and Thumb command line options.
2424 * config/arm/xm-thumb.h: New file.
2426 Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
2428 * stmt.c (expand_expr_stmt): Must generate code for
2429 statements within an expression (gcc's `({ ... )}')
2430 even if -fsyntax-only.
2432 Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2433 Jeffrey A Law (law@cygnus.com)
2435 * basic-block.h (basic_block_computed_jump_target): Declare.
2436 * flags.h: (current_function_has_computed_jump): Declare.
2437 * flow.c: (basic_block_computed_jump_target): Define.
2438 (flow_analysis): Allocate it. Set current_function_has_computed_jump
2440 (find_basic_blocks): Set current_function_has_computed_jump and
2441 elements of basic_block_computed_jump_target to 1 as appropriate.
2442 * function.c: (current_function_has_computed_jump): Define.
2443 * global.c (global_conflicts): Don't allocate pseudos into stack regs
2444 at the start of a block that is reachable by a computed jump.
2445 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
2447 (subst_stack_regs): Undo change from Sep 4 1997.
2448 (uses_reg_or_mem): Now unused, deleted.
2449 * stupid.c (stupid_life_analysis): Compute
2450 current_function_has_computed_jump.
2451 (stupid_find_reg): Don't allocate stack regs if the function has a
2453 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
2454 the current function has a computed jump. Use the global value
2457 Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
2459 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
2460 (DWARF2_UNWIND_INFO): Define to zero.
2462 Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
2464 * gcc.c (set_std_prefix): Add declaration.
2465 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
2466 suffix, and update the standard prefix prefix.c uses.
2468 * prefix.c (std_prefix): New global to hold default prefix value.
2469 (get_key_value): Change to use std_prefix instead of PREFIX.
2470 (translate_name): Ditto.
2471 (update_path): Ditto.
2472 (get_key_value): Release allocated scratch storage.
2473 (set_std_prefix): New function to reset the standard prefix.
2475 Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2477 * sh.c (find_barrier): Fix calculations for alignment increase.
2479 Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
2481 * Makefile.in (stmp-fixinc): If we're actually fixing include
2482 files, copy gcc's assert.h into the fixed include dir.
2483 * fixincludes (assert.h): Avoid any attempts to fix a probably
2484 broken system specific assert.h file.
2485 * fixproto (stdlib.h): Make sure, it'll contain a definition of
2488 Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
2490 * regclass.c (reg_scan_mark_refs): Be more selective about
2491 when we mark a register with REGNO_POINTER_FLAG.
2493 Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2495 reload inheritance improvement:
2496 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
2497 Change meaning: index is now hard reg number.
2498 (reg_reloaded_valid, reg_reloaded_dead): New variables.
2499 (reload_spill_index): Content is now a hard reg number.
2500 (reload_as_needed): Change to fit new variable meaning.
2501 (forget_old_reloads_1, allocate_reload_reg): Likewise.
2502 (choose_reload_regs, emit_reload_insns): Likewise.
2504 Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2506 * regclass.c (record_reg_classes): '?' increases cost by two.
2508 * reload.c (find_reloads): Double previous costs. Output
2509 reloads cost one unit extra.
2511 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
2512 boiled down to && ! 0.
2514 * reload.c (find_equiv_reg): Also consider a goal offset from the
2515 frame pointer to be constant.
2517 Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2519 * sh.h (OPTIMIZATION_OPTIONS): Define.
2521 Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
2523 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
2525 Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
2527 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
2529 Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
2531 * c-common.c (check_format_info): Initialize type, is_type. New local
2532 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
2533 when pedantic if used with integral format specifier.
2535 Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
2537 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
2539 (function_arg_padding): Declare.
2541 * rs6000.c: Include system.h.
2542 (function_arg_padding): Change return type to int, cast enum's to
2545 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
2546 * collect2.c (scan_prog_file): Add explicit braces to avoid
2549 * dbxout.c (dbxout_type_fields): Add braces around empty body in
2551 (dbxout_type): Likewise.
2553 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
2554 `ptt_size' from int to size_t.
2555 (rs6000_file_start): Likewise for `i'.
2556 (rs6000_replace_regno): Add default case in enumeration switch.
2557 (output_epilog): Remove unused variable `i'.
2558 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
2561 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
2563 (get_issue_rate, non_logical_cint_operand): Add prototype.
2564 (rs6000_output_load_toc_table): Ditto.
2566 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
2569 Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
2571 * config/arm/thumb.c: New File. Support for ARM's Thumb
2573 * config/arm/thumb.h: New File. Thumb definitions.
2574 * config/arm/thumb.md: New File. Thumb machine description.
2575 * config/arm/tcoff.h: New File. Thumb COFF support.
2576 * config/arm/t-thumb: New File. Thumb makefile fragment.
2577 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
2579 * configure.in: Add Thumb-coff target.
2580 * configure: Add Thumb-coff target.
2581 * config.sub: Add Thumb-coff target.
2583 Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
2585 * loop.c (scan_loop): Initialize move_insn_first to zero.
2587 Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
2589 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
2590 * config/i386/rtems.h: Likewise.
2591 * config/i960/rtems.h: Likewise.
2592 * config/m68k/rtems.h: Likewise.
2593 * config/mips/rtems64.h: Likewise.
2594 * config/pa/rtems.h: Likewise.
2595 * config/rs6000/rtems.h: Likewise.
2596 * config/sh/rtems.h: Likewise.
2597 * config/sparc/rtems.h: Likewise.
2599 Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2601 * pa.c (emit_move_sequence): If in reload, call find_replacement.
2603 Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
2605 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
2607 * collect2.c (find_a_file): Add debugging.
2608 (find_a_file): Test for win32 style absolute paths if
2609 DIR_SERPARATOR is defined.
2610 (prefix_from_string): Add debugging.
2611 (main): Test for debug command line switch at start of program
2613 (main): Use GET_ENVIRONMENT rather than getenv().
2614 (prefix_from_env): Use GET_ENVIRONMENT.
2616 1998-03-24 Mark Mitchell <mmitchell@usa.net>
2618 * cplus-dem.c (optable): Add sizeof.
2619 (demangle_template_value_parm): New function containing code
2620 previously found in demangle_template.
2621 (demangle_integral_value): New function which handles complicated
2622 integral expressions.
2623 (demangle_template): Use them.
2625 Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2627 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
2628 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
2629 genattrtab.o, genoutput.o): Depend on system.h.
2631 * genattr.c: Include system.h. Add arguments to various function
2632 prototypes. Remove redundant prototype of read_rtx().
2633 * genattrtab.c: Likewise.
2634 * gencodes.c: Likewise.
2635 * genconfig.c: Likewise.
2636 * genemit.c: Likewise.
2637 * genextract.c: Likewise.
2638 * genflags.c: Likewise.
2639 * genopinit.c: Likewise.
2640 * genoutput.c: Likewise.
2641 * genpeep.c: Likewise.
2642 * genrecog.c: Likewise.
2644 1998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
2646 * c-lang.c (lang_print_xnode): New function.
2647 * objc/objc-act.c (lang_print_xnode): Likewise.
2648 * print-tree.c (print_node): Call it
2650 Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
2652 * c-parse.in: Recognize protocol qualifiers in class
2653 definitions for objc.
2655 (yyerror): Remove redundant decl.
2656 (yyprint): Fix prototype.
2658 Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
2660 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
2662 * stmt.c (unroll_block_trees): Free block_vector if needed.
2664 Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
2666 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
2667 (zero_extendsidi2): Avoid useless copy.
2668 (iordi_zext): New pattern.
2669 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
2671 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
2673 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
2674 (ashldi3): Allow constant shift count in range ]32,63].
2675 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
2677 1998-03-22 Mark Mitchell <mmitchell@usa.net>
2679 * tree.h (IS_EXPR_CODE_CLASS): New macro.
2681 Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
2683 * h8300.h (CONST_COSTS): Remove definition.
2684 (DEFAULT_RTX_COSTS): Define.
2686 Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
2688 * config/sh/rtems.h: Switched from ELF to COFF.
2690 Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2692 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
2694 Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
2696 * version.c: Bump for snapshot.
2698 Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
2699 Geoff Noer <noer@cygnus.com>
2701 * Makefile.in: Various fixes for building cygwin32 native toolchains.
2703 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
2704 * objc/Make-lang.in: Likewise.
2706 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
2708 Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
2710 * configure.in: Handle with-PACKAGE=no correctly
2712 Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2714 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
2715 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
2716 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
2717 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
2718 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
2719 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
2720 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
2721 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
2722 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
2723 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
2726 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
2727 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
2728 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
2729 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
2730 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
2731 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
2732 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
2733 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
2734 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
2735 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
2736 xcoffout.c: Include system.h. Organize include ordering so
2737 that stdarg/varargs comes before other system headers. Remove
2738 spurious casts of functions assured of a prototype in system.h.
2740 Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
2742 * reg-stack.c (pop_stack): Define. Pops any register on the
2743 regstack and adjusts regstack.
2744 (compare_for_stack_reg): Use pop_stack.
2746 Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
2748 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
2751 Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
2753 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
2755 * fold-const.c (fold): Replace sign-extension of a zero extended
2756 value by a single zero extension.
2758 Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
2760 * except.c (init_eh): Do nothing.
2761 (save_eh_status): Call init_eh_for_function, not init_eh.
2762 * function.c (push_function_context_to): Don't call init_emit.
2764 Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
2766 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
2769 Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2771 * final.c (shorten_branches): Add parentheses around +/- in
2774 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
2776 Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
2778 * regclass.c (memory_move_secondary_cost): Wrap uses of
2779 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
2782 Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2784 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
2786 * flow.c (life_analysis): #include <sys/types.h> to make sure
2788 * cplus-dem.c (demangle_function_name): Likewise.
2790 Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
2792 * final.c (insn_noperands): Change type to unsigned int.
2793 (final_scan_insn): Likewise for noperands;
2794 properly check operand number boundaries.
2796 Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
2798 * alpha.md (extzv): Don't reject register operands. Fix
2801 Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
2803 * dbxout.c (dbxout_function_end): Fix last change. The correct
2804 predicate is ASM_OUTPUT_SECTION_NAME.
2806 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2808 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
2809 (ashlsi): Use match_dup 1 instead of match_operand 2.
2811 Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2813 * fold-const.c (operand_equal_for_comparison_p): See if equal
2814 when nop conversions are removed.
2816 Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2818 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
2819 don't use ORIGINAL_TARGET unless REG.
2821 Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2823 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
2825 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2827 * loop.c (struct movable): New field move_insn_first.
2828 (scan_loop): In consec sets code, set it. Clear it otherwise.
2829 (move_movables): In consec sets code, use it. Copy REG_NOTES from
2830 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
2833 Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
2835 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
2836 is large, and the system doesn't provide atoll or atoq.
2839 * alpha/xm-vms.h (HAVE_ATOLL): Define.
2840 Reported by Klaus Kaempf <kkaempf@progis.de>.
2842 Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2844 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
2845 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
2847 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
2848 test !ACCUMULATE_OUTGOING_ARGS.
2850 * collect2.c (write_c_file_glob): Wrap function definition in
2851 macro test !LD_INIT_SWITCH.
2853 * combine.c (try_combine): Wrap variables `cc_use' and
2854 `compare_mode' in macro test EXTRA_CC_MODES.
2856 * cpplib.c (do_ident): Remove unused variable `len'.
2857 (skip_if_group): Remove unused variables `at_beg_of_line' and
2859 (cpp_get_token): Remove unused variable `dummy'.
2861 * dbxout.c (scope_labelno): Move static variable definition inside
2862 the one function scope where it is used.
2863 (dbxout_function_end): Wrap prototype and definition in
2864 macro test !NO_DBX_FUNCTION_END.
2866 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
2867 in macro test !MIPS_DEBUGGING_INFO.
2869 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
2870 into the scope where it is used. Wrap empty else-statement body
2873 * fix-header.c: Fix typo in comment.
2874 (inf_skip_spaces): Cast results of INF_UNGET to (void).
2875 (check_protection, main): Likewise.
2877 * flow.c (find_basic_blocks_1): Remove dangling comment text.
2879 * function.c (contains): Wrap prototype and definition in macro
2880 test HAVE_prologue || HAVE_epilogue.
2881 (fixup_var_refs_1): Remove unused variable `width'.
2883 * gen-protos.c (main): Remove unused variable `optr'.
2885 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
2887 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
2888 (__sjpopnthrow): Remove unused variable `jmpbuf'.
2889 (__throw): Remove unused variable `val'.
2891 * protoize.c: Check for a previously existing definition before
2892 defining *_OK macros.
2894 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
2896 Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2898 * vax.h (ADDR_VEC_ALIGN): Define.
2900 Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
2902 * gcc.c (default_arg): Don't wander off the end of allocated
2905 (From Geoffrey Keating <geoffk@ozemail.com.au>)
2906 * rs6000.c (small_data_operand): Ensure that any address
2907 referenced relative to the small data area is inside the SDA.
2909 Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
2911 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
2913 Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2915 * except.h (in_same_eh_region): New prototype.
2916 (free_insn_eh_region, init_insn_eh_region): New prototypes.
2917 * except.c (insn_eh_region, maximum_uid): New static variables.
2918 (set_insn_eh_region): New static function to set region numbers.
2919 (free_insn_eh_region): New function to free EH region table.
2920 (init_insn_eh_region): New function to initialize EH region table.
2921 (in_same_eh_region): New function used to determine if two rtl
2922 instructions are in the same exception region or not.
2923 * final.c (final): Initialize the table indicating which instructions
2924 belong in which exception region.
2925 * genpeep.c (main): Add "except.h" to include file list in generated
2927 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
2928 peepholes involving calls and unconditional branches.
2930 Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
2932 * README.gnat: New file.
2934 Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2936 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
2937 "recog.h" for offsettable_memref_p.
2938 (legitimize_pic_address): Remove unused variable `offset'.
2939 (notice_update_cc): Change return type to void. Add default label
2941 (standard_68881_constant_p): Remove unused variable mode.
2942 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
2943 (const_int_cost): Explicitly declare as returning int.
2944 (output_dbcc_and_branch): Change return type to void.
2946 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
2947 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
2948 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
2950 Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
2952 * version.c: Bump for snapshot.
2954 Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2956 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
2957 check for 'M' constraint.
2959 Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
2961 * cccp.c (create_definition): If pedantic, call pedwarn for macro
2964 Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2966 * i386.c (ix86_logical_operator): New function.
2967 (split_di): Ensure that when a MEM is split, the resulting MEMs have
2969 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
2972 Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2973 Richard Earnshaw <rearnsha@arm.com>
2974 Nick Clifton <nickc@cygnus.com>
2976 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
2978 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
2980 * cse.c (rtx_cost): Provide a default case in an enumeration
2981 switch, and call DEFAULT_RTX_COSTS if it's defined.
2983 Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
2985 * basic-block.h (compute_preds_succs): Change return type in
2987 * flow.c (compute_preds_succs): Likewise in function definition.
2989 * regmove.c (find_matches): Cast char used as array index to unsigned char
2992 Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
2994 * i386.h (RTX_COSTS): Insert braces around nested if.
2995 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
2998 * gcc.c (default_compilers): Properly put brackets around array elements in
3001 * getopt.c (_getopt_internal): Add explicit braces around nested if;
3004 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
3005 (record_reg_life_pat): Add explicit parens around && and || in expression.
3006 (stack_reg_life_analysis): Add parens around assignment used as expression.
3007 (convert_regs): Likewise.
3009 Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
3011 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
3012 change callers accordingly.
3014 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
3015 and definition; change all callers accordingly.
3017 * except.c (init_eh): Avoid assignment of unused return value of
3018 build_pointer_type; cast it to void, instead, and remove unused
3021 * gcc.c (lang_specific_driver): Define prototype only #ifdef
3022 LANG_SPECIFIC_DRIVER.
3023 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
3025 * genoutput.c (output_epilogue): Initialize next_name to 0.
3027 * real.c (efrexp): #if 0 prototype and function definition.
3028 (eremain): Likewise.
3035 * reload.c (push_secondary_reload): Define prototype only
3036 #ifdef HAVE_SECONDARY_RELOADS.
3038 * varasm.c (assemble_static_space): Define rounded only
3039 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
3041 Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
3043 * i386.md (andsi): Add default case in enumeration switch.
3048 Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
3050 * c-decl (finish_struct): Change type of min_align to unsigned.
3052 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
3053 remove unused variable len.
3055 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
3056 comment indicating this is proper behaviour.
3057 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
3059 (based_loc_descr): Likewise.
3061 * enquire.c (bitpattern): Change type of variable i to unsigned.
3063 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
3065 * flow.c (life_analysis): Change type of variable i to size_t;
3066 remove unused variable insn.
3068 * gcc.c (translate_options): Change type of variables optlen, arglen and
3070 (input_filename_length): Change type to size_t.
3071 (do_spec_1): Change type of variable bufsize to size_t.
3072 (main): Change type of variables i and j to size_t;
3073 remove subblock local definition of variable i.
3074 (lookup_compiler): Change type of second argument to size_t;
3075 change type of variable i to size_t.
3077 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
3079 * genopinit.c (get_insn): Change type of variable pindex to size_t.
3081 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
3083 * global.c (global_alloc): Change type of variable i to size_t.
3085 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
3087 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
3088 (expand_end_case): Change type of variable count to size_t.
3090 * toplev.c (main): Change type of variable j to size_t.
3091 (set_target_switch): Change type of variable j to size_t.
3092 (print_switch_values): Change type of variable j to size_t;
3093 remove unused variable flags.
3095 * varasm.c (assemble_variable): Change type of variable align to size_t.
3096 (const_hash_rtx): Change type of variable i to size_t.
3098 1998-03-11 Mark Mitchell <mmitchell@usa.net>
3100 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
3101 TREE_VEC if that's what it really is.
3103 Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
3105 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
3108 Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
3110 * gthr.h: Changed the comment about return values.
3111 * gthr-solaris.h (__gthread_once): Do not use errno; return the
3112 error number instead of -1.
3113 (__gthread_key_create): Any non-zero return value is an error.
3114 * libgcc2.c (eh_context_initialize): Check for non-zero return
3115 value from __gthread_once.
3116 Check that the value of get_eh_context was really changed.
3118 Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3120 * sh.h (LOOP_ALIGN): Only align when optimizing.
3121 * sh.c (find_barrier): Clear inc for CODE_LABELs.
3122 When not optimizing, calculate alignment for BARRIERs directly.
3124 Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3126 * final.c (shorten_branches): Remove conditionalizing on
3127 SHORTEN_WITH_ADJUST_INSN_LENGTH
3128 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
3130 Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
3132 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
3133 an unconditional jump around deleted blocks.
3135 Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
3137 * profile.c (branch_prob): If see computed goto, call fatal instead of
3140 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
3142 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
3143 Patch from Bruno Haible.
3145 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
3146 (assign_parms): Set aggregate if hide_last_arg and last_named.
3148 Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3150 * final.c (shorten_branches): Initialize insn_addresses.
3152 Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3154 * sh.h (MUST_PASS_IN_STACK): Define.
3156 Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
3158 * final.c (shorten_branches): Fix minor logic error in
3159 ADDR_DIFF_VEC shortening support.
3161 Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
3163 * version.c: Bump for snapshot.
3165 Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
3167 * haifa-sched.c (is_cfg_nonregular): Change return type to
3168 an int. No longer compute "estimated" number of edges. Use
3169 computed_jump_p instead of duplicating the code. Fixup/add
3171 (build_control_flow): Returns a value indicating an irregularity
3172 in the cfg was detected. Count the number of edges in the cfg.
3173 allocate various edge tables.
3174 (find_rgns): No longer look for unreachable blocks.
3175 (schedule_insns): Do not allocate memory for edge tables here.
3176 Free memory for edge tables before returning. Do not perform
3177 cross block scheduling if build_control_flow returns nonzero.
3178 * flow.c (compute_preds_succs): More accurately determine when
3181 * basic-block.h (free_basic_block_vargs): Provide prototype.
3183 * cccp.c (main): Fix dumb mistakes in last change.
3185 Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3187 * rtl.h (addr_diff_vec_flags): New typedef.
3188 (union rtunion_def): New member rt_addr_diff_vec_flags.
3189 (ADDR_DIFF_VEC_FLAGS): New macro.
3191 * sh.c (output_branch): Fix offset overflow problems.
3193 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
3194 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
3195 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
3196 * stmt.c (expand_end_case): Supply new arguments to
3197 gen_rtx_ADDR_DIFF_VEC.
3198 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
3199 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
3200 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
3201 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
3202 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
3203 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
3204 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
3205 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
3206 * i386/freebsd.h, i386/linux.h : Likewise.
3207 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
3208 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
3209 * m68k/mot3300.h, m68k/sgs.h : Likewise.
3210 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
3211 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
3212 (CASE_VECTOR_SHORTEN_MODE): Define.
3213 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
3214 (med_branch_p, braf_branch_p): Don't declare.
3215 (mdep_reorg_phase, barrier_align): Declare.
3216 (ADJUST_INSN_LENGTH): Remove alignment handling.
3217 * sh.c (uid_align, uid_align_max): Deleted.
3218 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
3219 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
3220 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
3221 (output_far_jump): Don't use braf_branch_p.
3222 (output_branchy_insn): Don't use branch_offset.
3223 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
3224 Remove paired barrier stuff.
3225 Don't use cache_align_p.
3226 Take alignment insns into account.
3227 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
3229 (barrier_align, branch_dest): New function.
3230 (machine_dependent_reorg, split_branches): Remove infrastructure
3231 for branch shortening that is now provided in the backend.
3232 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
3233 (braf_branch_p, braf_cbranch_p): Likewise.
3234 (attribute length): Use new attributes.
3235 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
3236 (addr_diff_vec_adjust): Delete.
3237 (align_2): Now a define_expand.
3238 (align_log): Now length 0.
3240 Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
3242 * m32r.md (right): Correctly check for length == 2, not 1.
3244 Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3246 * mips/mips.h: Prototype `machine_dependent_reorg'.
3247 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
3249 Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
3251 * final.c (shorten_branches): Restore accidentally removed code.
3253 Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3255 * configure.in: Remove duplicate uses of AC_PROG_CC and
3258 Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
3260 * configure.in (target_cpu_default2): Correct typo for alphapca56.
3262 Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
3263 Doug Evans (devans@cygnus.com)
3265 * haifa-sched.c (build_jmp_edges): Delete dead function.
3266 (build_control_flow): Use cfg routines from flow.c
3267 (schedule_insns): Remove debugging code accidentally checked
3270 * basic-block.h: Add external integer list structures, typdefs,
3271 accessor macros and function declarations. Simlarly for
3272 basic block pred/succ support and simple bitmap stuff.
3273 * flow.c: Add functions for integer list, basic block pred/succ
3274 support and simple bitmap support.
3275 (compute_dominators): New function to compute dominators and
3277 (find_basic_blocks): Split into two functions.
3278 (life_analysis): Likewise.
3279 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
3280 the life_analysis from toplev.c
3281 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
3282 life_analysis instead of flow_analysis.
3284 Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3286 * jump.c (jump_optimize): Call mark_jump_label also for deleted
3288 (mark_jump_label): Don't increment ref counts for deleted insns.
3290 Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3292 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
3294 * mips/mips.c: Include stdlib.h and unistd.h.
3295 (mips_asm_file_end): Add braces around empty body in an if-statement.
3296 (function_prologue): Wrap variable `fnname' in
3297 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
3298 (mips_select_rtx_section, mips_select_section): Declare as void.
3300 * mips/mips.h: Add prototypes for extern functions in mips.c.
3301 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
3302 (ENCODE_SECTION_INFO): Add braces around empty body in an
3305 * mips/mips.md (movdi): Add parentheses around && within ||.
3306 (movsf, movdf): Likewise.
3307 (branch_zero, branch_zero_di): Add default case in
3311 Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
3313 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
3314 real constants, since they can't be changed.
3315 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3316 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
3317 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3318 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3319 * alpha/vms.h (TARGET_OPEN_VMS): New.
3320 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
3322 Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
3324 * reload.c (find_reloads): Always force (subreg (mem)) to be
3325 reloaded if WORD_REGISTER_OPERATIONS.
3327 Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
3329 * haifa-sched.c (free_list): Rename from free_pnd_lst.
3330 (free_pending_lists): Rename free_pnd_lst uses.
3331 (remove_dependence): Place expunged element on unused_insn_list.
3332 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
3333 gen_rtx_*_LIST and alloc_rtx to use them.
3334 (compute_block_backward_dependences): Free the reg_last_* lists.
3336 Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
3338 * cccp.c (main): Avoid undefined behavior when setting pend_includes
3341 Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
3343 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
3344 USE_GNULIBC_1 is defined
3345 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
3346 includes the t-linux-gnulibc1 fragment
3348 Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
3350 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
3352 Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3354 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
3356 Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3358 * final.c (shorten_branches): Tag the loop alignment onto the
3359 first label after NOTE_INSN_LOOP_BEG even if there is an
3362 Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3364 * final.c (insn_current_reference_address):
3365 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
3366 proper alignment chain.
3368 * final.c (max_labelno): New static variable.
3369 (final_scan_insn): Check max_labelno before outputting an
3370 alignment for a label.
3371 (shorten_branches): Remove unused variable length_align.
3373 Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3375 * sparc.c (ultrasparc_adjust_cost): Add default case in
3378 * sparc.h: Add prototypes for extern functions defined in
3381 Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
3383 * toplev.c: Only generate <name>.dbr file when dumping RTL if
3384 DEALY_SLOTS is defined.
3386 Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
3388 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
3389 in call to fill_slots_from_thread.
3391 Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
3393 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
3394 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
3396 Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3398 * final.c (insn_last_address, insn_current_align, uid_align):
3400 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
3401 (insn_current_reference_address): Likewise.
3402 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
3403 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
3404 (label_to_alignment): New function.
3405 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
3406 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
3407 insn_current_reference_address instead of insn_current_address.
3408 (or_attr_value, write_length_unit_log): New functions.
3409 (main): Call write_length_unit_log.
3410 (write_const_num_delay_slots): Output extra '\n'.
3411 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
3413 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
3414 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
3415 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
3417 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
3418 (LABEL_ALIGN_AFTER_BARRIER).
3419 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
3420 * ns32k/tek6000.h: Likewise.
3421 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
3422 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
3423 ASM_OUTPUT_ALIGN_CODE.
3425 Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
3427 * version.c: Bump for snapshot.
3429 Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
3431 * version.c: Bump for snapshot.
3433 Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
3435 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
3436 if condition code of jump conflicts with opposite_needed.
3438 * reorg.c (fill_slots_from_thread): Mark resources referenced in
3439 opposite_needed thread. Return delay_list even when cannot get
3440 any more delay insns from end of subroutine.
3442 Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
3444 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
3445 All callers changed.
3447 Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3449 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
3450 end_fde_sort): New functions for fast sorting of an FDE array.
3451 (fde_insert): Simplified.
3452 (add_fdes): Change argument list.
3453 (frame_init): Use the new functions.
3455 Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
3457 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
3459 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
3461 * fold-const.c (fold_range_test): Always return a value.
3463 Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
3465 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
3466 data in the text section unless READONLY_DATA_SECTION is defined.
3468 Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
3470 * c-parse.in (undeclared variable error): Tweak error message to
3473 Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
3475 * version.c: Bump for snapshot.
3477 1998-02-28 Mark Mitchell <mmitchell@usa.net>
3479 * final.c (final_scan_insn): Undo overzealous removal of `set'.
3481 Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3483 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
3484 case, add parentheses to specify the proper order of precedence in
3488 * c-aux-info.c: Include string.h/strings.h.
3490 * pa.c: Include stdlib.h.
3491 (pa_combine_instructions): Prototype the function.
3492 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
3493 (reloc_needed): Add default case for enumeration switch.
3494 (remove_useless_addtr_insns): Remove unused variable `all'.
3495 (hppa_expand_prologue): Add explicit braces to avoid
3497 (output_function_epilogue): Remove unused variable `i'.
3498 (output_millicode_call): Remove unused variable `link'.
3499 (shadd_constant_p, forward_branch_p): Make the function static.
3500 (following_call): Explicitly declare to return int.
3501 (pa_reorg): Declare as void.
3502 (pa_combine_instructions): Declare as static void. Add
3503 parentheses around && within ||.
3505 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
3506 following_call, function_label_operand, lhs_lshift_cint_operand
3509 * pa.md: Add parentheses around && within ||.
3511 * cppalloc.c: Include stdlib.h.
3513 * cpperror.c (cpp_print_containing_files): Remove unused variable
3514 `i'. Fix format specifier in fprintf.
3516 * cse.c (cse_around_loop): Add explicit braces to avoid
3518 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
3520 * expr.c (expand_expr): Add parentheses around && within ||.
3522 * final.c (app_enable): Replace fprintf with fputs where there are
3523 no format specifiers and no trailing argument after the string.
3524 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
3525 (app_disable): Likewise.
3526 (final_end_function): Likewise.
3527 (final_scan_insn): Likewise. Remove unused variable `set'.
3528 (profile_function): Wrap empty if-statement body in {} brackets.
3530 * function.c: Include stdlib.h.
3531 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
3532 (reposition_prologue_and_epilogue_notes): Add parentheses
3533 around assignment used as truth value.
3535 * integrate.c (expand_inline_function): Wrap variable
3536 `cc0_insn' in macro HAVE_cc0.
3538 * jump.c (jump_optimize): Wrap variable `q' in macro
3539 HAVE_cc0. Remove unused variable `prev1'.
3541 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
3542 within ||. Fix format specifier in fprintf.
3543 (__bb_init_prg): Add parentheses around assignment used as
3546 * local-alloc.c: Include stdlib.h.
3547 (requires_inout): Add parentheses around assignment used
3550 * loop.c (analyze_loop_iterations): Wrap prototype and definition
3551 in macro HAVE_decrement_and_branch_on_count.
3552 (insert_bct, instrument_loop_bct): Likewise.
3553 (move_movables): Add parentheses around assignment used as
3555 (consec_sets_invariant_p): Likewise.
3556 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
3558 * objc/objc-act.c: Include stdlib.h.
3559 (lookup_method_in_protocol_list): Wrap empty else-statement body
3561 (lookup_protocol_in_reflist): Likewise.
3562 (objc_add_static_instance): Remove unused variables `decl_expr'
3564 (get_objc_string_decl): Remove unused variable `decl'.
3565 (generate_static_references): Remove unused variables `idecl' and
3567 (check_protocols): Wrap empty else-statement body in braces.
3569 * protoize.c: Include stdlib.h.
3570 (substr): Add parentheses around assignment used as truth value.
3571 (abspath): Likewise.
3572 (shortpath): Likewise.
3574 * regmove.c (fixup_match_1): Add parentheses around assignment
3575 used as truth value.
3577 * reload.c (push_secondary_reload): Remove unused variable `i'.
3578 (find_reloads): Add parentheses around assignment used as truth
3581 * reload1.c: Include stdlib.h.
3583 * rtl.h: Correct typo in prototype of offsettable_memref_p.
3585 * stmt.c (add_case_node): Add parentheses around assignment used
3587 (case_tree2list): Likewise.
3589 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
3590 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
3591 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
3592 (merge_attributes): Add explicit braces to avoid ambiguous
3595 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
3598 * varasm.c: Include stdlib.h.
3601 * system.h: Remove sys/stat.h.
3602 * gcc.c: Add sys/stat.h.
3604 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
3605 * genattrtab.c: Likewise.
3606 * genconfig.c: Likewise.
3607 * genemit.c: Likewise.
3608 * genextract.c: Likewise.
3609 * genflags.c: Likewise.
3610 * genopinit.c: Likewise.
3611 * genoutput.c: Likewise.
3612 * genpeep.c: Likewise.
3613 * genrecog.c: Likewise.
3614 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
3616 Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3618 * invoke.texi: Use @itemx for a secondary item in a @table.
3620 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
3623 Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
3625 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3627 Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
3629 * i386.c (struct machine_function): Add new fields for PIC stuff.
3630 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
3632 (restore_386_machine_status): Corresponding changes.
3633 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
3635 Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
3637 * c-parse.y (undeclared variable error): Tweak error message
3640 Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
3642 * flags.h (g_switch_value, g_switch_set): Declare.
3643 * alpha.c (override_options): Set g_switch_value=8 if not set.
3644 * alpha/elf.h (CC1_SPEC): New.
3646 (LINK_SPEC): Pass along the -G value we were given.
3647 (LOCAL_ASM_OP): Remove.
3648 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
3649 (MAX_OFILE_ALIGNMENT): New.
3650 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
3651 (EXTRA_SECTIONS): Add sbss and sdata.
3652 (SECTION_FUNCTION_TEMPLATE): New.
3653 (EXTRA_SECTION_FUNCTIONS): Use it.
3654 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
3655 (SELECT_SECTION): Use sdata when small enough.
3656 * alpha/linux.h (ASM_SPEC): Remove.
3659 Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3660 * config.sub (sco5): Fix typo.
3662 Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
3664 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
3666 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
3667 * config/alpha/t-linux: Remove file.
3668 * config/sparc/t-linux: Remove file.
3669 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
3670 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
3671 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
3673 (alpha*-*-linux-gnu*): Likewise.
3674 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
3675 (sparc-*-linux-gnu*): Likewise.
3677 Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
3678 * collect2.c (ldd_file_name): Bracket declaration with same
3680 (full_real_ld_suffix): Deleted. Variable was calloced and
3681 written into, but never read.
3683 1998-02-23 Mike Stump <mrs@wrs.com>
3685 * configure.in: Add support for i386-wrs-vxworks configuration.
3686 * i386/vxi386.h: New file.
3688 Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3690 * tree.c (contains_placeholder_p): Ensure function always returns
3692 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
3693 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
3695 Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
3697 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
3699 1998-02-22 Paul Eggert <eggert@twinsun.com>
3701 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
3702 Define this new symbol.
3703 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
3704 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
3705 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
3707 Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
3709 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
3710 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
3712 Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
3714 * objc/Object.m (-error): Call objc_verror with our va_list.
3716 Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3718 * collect2.c (scan_prog_file): Completely cover uses of variable
3719 `exports' with macro COLLECT_EXPORT_LIST.
3721 Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
3723 * version.c: Bump for snapshot.
3725 Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
3727 * sched.c (schedule_block): Remove code to get arguments from hard
3728 regs into pseudos early. Same as Aug 25, 1997 change to
3731 1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
3733 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
3735 1998-02-16 Mark Mitchell <mmitchell@usa.net>
3737 * toplev.c (rest_of_compilation): Do not defer the output of a
3740 Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
3742 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
3743 continuation character (line 243).
3745 Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3747 * genrecog.c (main): Remove duplicated sentence in emitted comment.
3749 Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
3750 David Edelsohn <edelsohn@mhpcc.edu>
3752 * collect2.c (XCOFF_SCAN_LIBS): Remove.
3753 (export_flag): New variable.
3754 (export_file): #ifdef COLLECT_EXPORT_LIST.
3755 (import_file, exports, imports, undefined): New variables.
3756 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
3757 (dump_list, dump_prefix_list, is_in_list): New functions.
3758 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
3759 (write_import_file, resolve_lib_name): New functions.
3760 (use_import_list, ignore_library): Same.
3761 (collect_exit): maybe_unlink import_file and #ifdef.
3763 (main): New variable importf, #ifdef exportf. Move parsing of
3764 -shared before general argument parsing. Resolve AIX library
3765 paths and import libgcc.a symbols. Treat .so shared libraries the
3766 same as objects and .a libraries. Create alias for object_lst and
3767 increment it instead of original pointer. Scan AIX libraries as
3768 objects earlier instead of using scan_libraries. Perform AIX
3769 tlink later to resolve templates instead of forking ld.
3770 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
3771 (GCC_UNDEF_SYMBOL): New macro.
3772 (scan_prog_file): Loop for members of AIX libraries. Handle
3773 export/import of ctors/dtors.
3774 (aix_std_libs): New variable.
3775 (scan_libraries, XCOFF): Delete.
3777 Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
3779 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
3781 1998-02-19 Mike Stump <mrs@wrs.com>
3783 * Makefile.in: Use $tooldir for sys-include to match toplevel
3786 Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
3787 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3789 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
3791 * emit-rtl.c (hard-reg-set.h): Include.
3792 (get_lowpart_common): Don't make new REG for hard reg in a
3793 class that cannot change size.
3794 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
3796 * combine.c: Revert previous patch.
3798 1998-02-19 Paul Eggert <eggert@twinsun.com>
3800 * config/sparc/sol2-sld.h: New file.
3801 * configure.in (sparc-*-solaris2*): Use it when using the
3804 Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
3806 * loop.c (force_movables): Fix typo.
3808 Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
3810 * m88k.h: Change file pattern to match reality.
3812 Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
3814 * varasm.c (output_constant_pool): Fix dumb thinko in last
3817 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
3818 a function name to a section name.
3820 1998-02-18 Doug Evans <devans@cygnus.com>
3822 * tree.h (merge_machine_{type,decl}_attributes): Declare.
3823 (split_specs_attrs, strip_attrs): Add prototypes.
3824 * tree.c (merge_machine_{type,decl}_attributes): New functions.
3825 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
3826 Update olddecl's attributes too.
3827 * c-common.c (strip_attrs): New function.
3828 * c-typeck.c (common_type): Call merge_machine_type_attributes.
3829 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
3830 (make_decl_rtl): Likewise.
3832 1998-02-18 Jim Wilson <wilson@cygnus.com>
3834 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
3836 Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
3838 Remove this change until we can fix it correctly.
3839 * collect2.c: Bracket declaration of 'exportf' and
3840 'full_real_ld_suffix'.
3842 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3844 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
3846 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3848 * c-common.c (c_expand_start_cond, c_expand_end_cond,
3849 c_expand_start_else): Don't warn about non-ambiguous else even if
3852 Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
3854 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3855 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
3858 Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
3860 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
3861 simplifying a subreg of a hard reg.
3862 (expand_compound_operation): Likewise.
3863 (force_to_mode): Likewise.
3865 Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3867 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
3868 (lshift_double): Add parentheses around + or - inside shift.
3869 (rshift_double): Likewise.
3870 (size_int_wide): Explicitly set type of `bit_p' to `int'.
3872 * Makefile.in (fold-const.o): Depend on system.h.
3874 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
3877 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
3878 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
3879 (sched_note_set): Remove unused parameter `b', all callers changed.
3880 (schedule_block): Likewise for `rgn'.
3881 (split_hard_reg_notes): Likewise for `orig_insn'.
3882 (check_live): Likewise for `trg'.
3883 (update_live): Likewise.
3884 (check_live_1): Explcitly declare variable `i' as int.
3885 (update_live_1): Likewise.
3886 (insn_issue_delay): Remove unused variable `link'.
3887 (sched_analyze_2): Add default case in enumeration switch.
3888 (schedule_insns): Remove unused variable `i'.
3890 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
3892 Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
3894 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
3895 a dangling else clause.
3897 Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
3899 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
3900 pointer for the stack pointer in MIPS16 and 64BIT.
3902 Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3904 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
3905 * emit-rtl.c (force_line_numbers, restore_line_number_status):
3907 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
3908 (expand_start_case): Adjust to this change.
3909 (check_seenlabel): New function.
3910 (pushcase, pushcase_range, expand_endcase): Use it.
3912 Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3914 * i386.md (adddi3): Add =!r,0,0,X alternative.
3916 Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
3918 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
3919 * x-aix31 (INSTALL): Delete.
3921 Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
3923 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
3924 tsize changes to something other than zero.
3926 Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
3928 * ginclude/va-mips.h: Replace casts of pointers to int with
3929 casts of pointers to __PTRDIFF_TYPE__.
3931 Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
3933 * loop.c (strength_reduce, record_biv, record_giv): Use
3934 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
3936 1998-02-16 Jason Merrill <jason@yorick.cygnus.com>
3938 * tree.c (first_rtl_op): New fn.
3939 (unsave_expr_now): Use it.
3940 * print-tree.c (print_node): Likewise.
3941 * tree.c (has_cleanups): New fn.
3942 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
3943 conservative about pushing the cleanup point down.
3944 * tree.h: Declare them.
3946 Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
3948 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
3949 (flag_schedule_reverse_after_reload): Likewise.
3950 (f_options): Remove reverse scheduling support.
3951 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
3952 (flag_schedule_reverse_after_reload): Likewise.
3953 * haifa-sched.c (rank_for_schedule): Remove support for reverse
3956 Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3958 * gcc.c: Get system includes, prototypes and macros via "system.h"
3959 instead of doing it manually. Change all calls of the ctype
3960 macros to custom versions defined in "system.h".
3962 * system.h: Fix return type of bcmp prototype from `void' to `int'.
3963 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
3964 Add a prototype for getenv.
3966 Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
3968 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
3970 Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
3972 * alias.c: Include <stdlib.h> and <string.h>.
3973 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
3975 Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
3977 * version.c: Bump for snapshot.
3979 Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
3981 * arm.md (movsfcc): Also validate operands[3] when compiling hard
3983 (movdfcc): Only accept fpu_add_operand for operands[3].
3985 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
3986 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
3988 Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
3990 * varasm.c (output_constant_pool): Bring back 'done' label inside
3991 an appropriate #ifdef.
3993 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
3995 (bitmap_copy, bitmap_operation): Likewise.
3996 * combine.c (combinable_i3pat): Similarly for 'src'.
3997 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
3998 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
3999 * regclass.c (copy_cost): Similarly for 'secondary_class'.
4000 * reload.c (make_memloc): Simliarly for 'i'.
4001 (find_reloads_address_1): Similarly for 'link'.
4002 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
4003 (emit_reload_insns): Similarly for 'second_reloadreg'.
4004 * unroll.c (iteration_info): Similarly for 'v'.
4006 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
4007 * calls.c (expand_call): Similarly for 'i'.
4008 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
4009 * fold-const.c (strip_compund_expr): Similarly for 'type'.
4010 * function.c (fixup_var_refs_1): Similarly for 'width'.
4011 (fixup_memory_subreg): Similarly for 'saved'.
4012 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
4013 (setjmp_protect): Similarly for 'sub'.
4014 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
4015 * loop.c (record_giv): Similarly for 'p'.
4016 (combine_givs): Similarly for 'temp_iv'.
4017 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
4018 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
4019 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
4020 * unroll.c (unroll_loop): Similarly for 'copy'.
4021 (iteration_info): Similarly for 'b'.
4022 * varasm.c (assemble_string): Similarly for 'i'.
4023 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
4025 1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
4027 * c-lang.c (lang_print_xnode): New function.
4028 * objc/objc-act.c (lang_print_xnode): Likewise.
4029 * print-tree.c (print_node): Call it
4031 Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
4033 * dwarf2out.c (decl_scope_node): New type.
4034 (decl_scope_table): Change type to use it.
4035 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
4036 (push_decl_scope): Use new type. New locals containing_scope, i.
4037 Add code to handle setting previous field.
4038 (scope_die_for): Change type of local i to int. Add code to use
4040 (dwarf2out_init): Use new type.
4042 1998-02-13 Jason Merrill <jason@yorick.cygnus.com>
4044 * except.c (emit_throw): Lose throw_used.
4046 Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4048 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
4050 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
4052 Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
4054 * genextract.c (main): Fix typo.
4056 Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
4058 * c-lang.c (finish_file): Bracket declaration of static_ctors,
4061 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
4062 'old_stack_arg_under_construction'
4063 (emit_library_call): Bracket declaration of 'upper_bound',
4064 'lower_bound', 'i', 'reg_parm_stack_space'
4065 (emit_library_call_value): Likewise.
4068 * collect2.c: include <unistd.h> when appropriate.
4069 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
4071 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
4073 * explow.c (plus_constant_for_output_wide): Remove unused variable
4075 (memory_address): Remove unused variable 'orig_x'.
4077 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
4078 (write_const_num_delay_slots): Remove unused variable 'i'.
4080 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
4081 (gen_insn): Remove unused variable 'obstack_ptr'.
4083 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
4085 (__bb_exit_trace_func): Remove unused variable 'e'.
4087 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
4089 (expand_unop): Remove unused variable 'funexp'.
4090 (expand_complex_abs): Remove unused variable 'funexp'.
4091 (init_optabs): Bracket declaration of 'j'.
4092 (init_complex_libfuncs): Deleted. Dead static function.
4094 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
4096 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
4097 (reg_to_stack): 'initialized', 'before_function_beg'
4098 explictly type as ints instead of defaulting.
4099 (emit_swap_insn): Remove unused variable 'i2'.
4100 (compare_for_stack_reg): Remove unused variable 'src_note'.
4102 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
4104 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
4106 * stmt.c (add_case_node): Add parens for assignment used as truth.
4107 (all_cases_count): Remove unused variable 'count_high'.
4108 (mark_seen_cases): Remove unused variable 'i'.
4109 (check_for_full_enumeration_handling): Remove unused variable 't'.
4110 Bracket declaration of 'all_values', 'l'.
4112 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
4114 * varasm.c (assemble_string): Remove unused variable 'i'.
4115 (immed_double_const): Remove unused variable 'in_current_obstack'.
4116 (immed_real_const_1): Likewise.
4117 (output_constant_pool): Remove unreferenced label 'done'.
4118 (output_constant): Remove unused variable 'x'.
4120 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
4123 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
4126 Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4128 * combine.c (can_combine_p): Handle USEs in PARALLELs.
4130 Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
4132 * config/linux.h (LIB_SPEC): Add -lc for -shared if
4133 USE_GNULIBC_1 is not defined.
4134 * config/sparc/linux.h; Ditto.
4136 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
4138 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
4139 USE_GNULIBC_1 is not defined.
4141 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4143 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
4146 Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4148 * system.h: New file to get common systems includes and various
4149 definitions and declarations based on autoconf macros.
4151 Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
4153 * cccp.c (new_include_prefix): Correctly handle -I./.
4155 Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
4157 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
4159 Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
4161 * expr.c (expand_assignment): Correct typo exposed by -Wall.
4162 offset should have been a truth value, not an assignment.
4164 Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
4166 * cse.c (delete_dead_from_cse): If a libcall produces a constant
4167 result and that result can be substituted into SET_SRC of the
4168 insn with the REG_RETVAL note, then perform the substitution
4169 and delete the libcall.
4171 Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
4173 * mips.md (trucndihi2,truncdiqi2): Change these to support
4176 Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
4178 * mips/mips.c (movdi_operand): Direct referances to symbols
4179 that arn't mips16 consts in mips16 mode arn't valid operands.
4181 * mips/mips.c (mips_move_2words): Add gprel handling.
4183 Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
4185 * mips.md (extendsidi2): Allow extension to/from a non-mips16
4188 Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
4190 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
4193 Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4195 * Makefile.in (WARN_CFLAGS): New variable.
4196 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
4198 1998-02-11 Mark Mitchell <mmitchell@usa.net>
4200 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
4201 falling through default case in switch.
4202 (i386_aligned_p): Likewise.
4204 Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
4206 * mips/mips.h (mips_abi_string): Correct typo in comment.
4208 Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
4210 * mips/mips.md (movdi): These PLUS's need to be Pmode.
4212 Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4214 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
4215 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
4216 indirectly via expr.h.
4218 Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
4220 * stor-layout.c (layout_type): Do upper - lower in the native type,
4221 so as to properly handle negative indices.
4223 Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
4225 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
4226 (expand_eh_region_start_tree): Remove unused variable 'note'.
4227 (exception_optimize): Remove unused variable 'regions'.
4228 (expand_builtin_eh_stub): Remove unused variable 'temp'.
4229 (copy_eh_entry): Deleted. Dead function.
4231 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
4232 'last' with same #if HAVE_load_multiple as use of it.
4233 (move_block_from_reg): Likewise.
4234 (emit_move_insn_1): Remove unused variable 'insns'.
4235 (store_constructor): Bracket declaration of startb, endb with
4236 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
4237 'target', and 'xtarget'.
4238 (expand_builtin_setjmp): Remove unused variables 'op0',
4239 'next_arg_reg', 'old_inhibit_defer_pop'.
4240 (expand_builtin): Remove unused variable 'offset'.
4241 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
4242 (emit_queue): Add parens for assignment used as conditional.
4243 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
4245 Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
4247 * i386.c: Added include for recog.h.
4248 (override_options): Removed unused variable p. Initialized regno to
4250 (order_regs_for_local_alloc): Initialized regno to avoid warning.
4251 (legitimize_address): Likewise for 'other'.
4252 (i386_aligned_reg_p): Added default case with abort ().
4253 (print_operand): Likewise.
4254 (reg_mentioned_in_mem): Likewise.
4255 (ix86_expand_binary_operator): Removed unused variables i & insn.
4256 (ix86_expand_unary_operator): Removed unused variable insn.
4257 (output_fp_cc0_set): Removed unused variable unordered_label.
4259 Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
4261 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
4262 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
4263 and format string match.
4265 Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
4267 * flow.c (life_analysis): Do not conside the stack pointer live at
4268 the end of a function if the fucntio ncalls alloca.
4269 (mark_used_regs): Similarly.
4271 1998-02-10 John F Carr <jfc@mit.edu>
4273 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
4274 1, fzero on alternative 8.
4276 Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4278 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
4280 Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4282 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
4283 SUBREGs of CONST_INTs.
4285 Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
4287 * mips.c (print_operand, function_prologue): Make printf format
4288 match argument type.
4290 Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4292 * alpha.c (alpha_return_addr): Remove unused variable `first'.
4293 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
4294 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
4296 Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4298 * loop.c (strength_reduce): When placing increment for auto-inc
4299 case, do comparison in loop order.
4301 Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
4303 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
4304 not a HOST_WIDE_INT.
4306 * calls.c (expand_call): Change test of expand_inline_function
4307 return value to stop compiler warning.
4309 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
4311 Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
4312 Jeff Law (law@cygnus.com)
4314 * regmove.c: Fix various minor formatting problems.
4315 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
4316 is true. Make end of basic block tests consistent through regmove.c.
4317 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
4318 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
4320 Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4322 * gansidecl.h: Check for a conflicting macro definition before
4323 attempting to prototype bcopy, bcmp or bzero.
4325 Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
4327 * expr.c (clear_pending_stack_adjust): Handle case where a function
4328 calls alloca, but the user has specified -fomit-fframe-pointer.
4330 * function.c (assign_parms): Fix typo in last change.
4332 Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
4334 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
4336 (free_path_suffix): Remove unreferenced static function.
4337 (process_command): Remove unused variable temp.
4338 (default_arg): Remove unused variable i.
4339 (do_spec_1): Add parens for assignment used as truth value.
4341 (validate_all_switches): Likewise.
4342 (main): Remove unused variables i, first_time>
4344 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
4346 * calls.c (expand_call): Remove unused variables funtree,
4347 n_regs, and tmpmode.
4349 * dbxout.c, except.c: Include <string.h>/<strings.h>.
4351 * explow.c: (plus_constant_for_output_wide) Removed unused
4352 variable all_constant.
4354 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
4355 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
4356 genrecog.c, global.c, integrate.c , stupid.c : Include
4359 * genextract.c: (walk_rtx) Remove unused variable link.
4361 * genrecog.c: (concat) Remove unreferenced static function.
4363 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
4365 * stmt.c: Include <stdlib.h>.
4366 (expand_asm_operands): Remove unused variable val1.
4367 (expand_return): Remove unused variable block.
4368 (pushcase): Remove unused variables l and n.
4369 (pushcaserange): Likewise.
4371 * unroll.c (unroll_loop): Remove unused variable temp.
4373 Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
4375 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
4377 Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4379 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
4380 functions for whether they support the %p format specifier.
4381 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
4382 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
4383 * configure, config.in: Rebuild.
4385 Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
4387 * function.c (assign_parms): New variable named_arg, with value
4388 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
4390 Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
4392 * mips/t-r3900: New - same as t-ecoff but eliminate
4393 multilibs: mips1 and mips3.
4394 * configure.in (tx39*): Use new mips/t-r3900.
4395 * configure: Rebuild.
4396 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
4398 1998-02-06 Jason Merrill <jason@yorick.cygnus.com>
4400 * dwarf2out.c: Add old_args_size.
4401 (dwarf2out_args_size): Use it.
4402 (dwarf2out_begin_prologue): Initialize it.
4403 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
4404 pushed args until we see a call.
4405 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
4406 before outputting them.
4408 1998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
4410 * cplus-dem.c (demangle_template_template_parm): New function.
4411 (demangle_template): Handle template template parameters.
4413 1998-02-02 Mark Mitchell <mmitchell@usa.net>
4415 * calls.c (expand_call): Don't confuse member functions named
4416 realloc, setjmp, and so forth with the standard library
4417 functions of the same names.
4419 Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
4421 * stmt.c (expand_asm_operands): Correctly identify asm statements
4424 Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
4426 * c-common.c (decl_attributes): Flag unrecognized attribute
4427 functions as warnings instead of as errors.
4429 1998-02-05 Marc Lehmann <pcg@goof.com>
4431 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
4432 when -Os is specified.
4433 * toplev.c (main): Don't disable flag_inline_functions anymore when
4436 Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4438 * regmove.c: Update.
4439 * flags.h (flag_regmove): Declare.
4440 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
4441 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
4442 Moved into regmove; changed caller.
4443 * toplev.c (rest_of_compilation): Call regmove_optimize also for
4444 expensive_optimizations.
4446 Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
4448 * version.c: Bump for snapshot.
4450 Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4451 Undo this change (the problem was actually in reload):
4452 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4454 * sh.md (movqi_i+1): New peephole.
4456 Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
4458 * jump.c (jump_optimize): Lose calls to modified_in_p they are
4459 not needed anymore due to changes elsewhere in jump.c.
4461 * jump.c (jump_optimize): Fix first arg to modified_in_p in
4464 Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
4466 * expr.c (expand_builtin_setjmp): Accept two new arguments for
4467 the labels to branch to on first and subsequent executions. Don't
4468 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
4469 and provide it with the jmp_buf. Use only one of
4470 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
4471 and provide the former with the target label.
4472 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
4473 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
4474 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
4475 insn to replace all of the normal nonlocal_goto code. Don't play
4476 with __dummy. Correct arguments to nonlocal_goto.
4477 * expr.h (expand_builtin_setjmp): Update prototype.
4478 * except.c (start_dynamic_handler): When using builtin_setjmp,
4479 generate more accurate flow information.
4481 * alpha.md (nonlocal_goto_receiver_osf): Delete.
4482 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
4483 (builtin_longjmp, builtin_setjmp_receiver): New.
4484 * sparc.md (update_return): Disambiguate unspec number.
4485 (nonlocal_goto): Rearrange arguments to match caller in except.c.
4486 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
4488 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
4489 (builtin_setjmp_setup*, builtin_longjmp): New.
4491 Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
4493 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
4495 Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
4497 * vmsconfig.com: Remove bytecode references.
4499 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4501 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
4502 -fno-sjlj-exceptions works for a target that defines
4503 DWARF2_UNWIND_INFO as zero.
4505 * regmove.c (fixup_match_1): Undo last change which removed some
4506 "useless" code, and add a comment explaining this.
4508 Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
4510 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
4513 Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
4515 * makefile.vms: Remove bytecode references.
4516 Create genrtl files.
4518 Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
4520 * jump.c (jump_optimize): Allow conditional loading of floating point
4521 constants and constants from memory. Reinstalled modified_in_p tests.
4523 Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4525 * loop.c (get_condition): Handle sign-extended constants.
4527 Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
4529 * expr.c (emit_push_insn): Add code to use movstrti if present.
4531 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
4532 and movstrqi as in emit_block_move ().
4534 Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
4536 * config/m68k/x-next: Remove /NextDeveloper/Headers from
4537 the directories to fixinclude - /usr/include is a link
4538 to it and hence its contents are fixed by default.
4540 Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4542 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
4544 Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
4546 * cccp.c (main): Predefine __VMS_VER on VMS.
4548 Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4550 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
4551 * fold-const.c (size_int): Replace with
4553 (make_bit_field_ref): Use bitsize_int for bit position.
4554 * stor-layout.c (sizetype): Delete.
4555 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
4556 (layout_record, layout_union, layout_type):
4557 Use bitsize_int for bit size.
4558 (set_sizetype): New function.
4559 (make_signed_type, make_unsigned_type): Use it.
4560 * c-decl.c (init_decl_processing): Likewise.
4561 * tree.h (size_int): Don't delcare, #define.
4562 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
4563 (set_sizetype): Declare.
4564 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
4566 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
4567 Convert result to sizetype.
4568 (really_start_incremental_init, push_init_level):
4569 Set type of constructor_bit_index to sbitsizetype.
4570 (push_init_level): Use unsigned arithmetic to determine padding.
4571 (output_init_element): Likewise.
4573 Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
4575 * combine.c (simplify_shift_const): Fix typo in last change.
4577 Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
4579 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
4580 is (truncate (lshiftrt)).
4582 Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
4584 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
4585 Make sure result winds up in TGT.
4586 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
4587 src to be other than DImode.
4588 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
4589 (alpha_expand_unaligned_store_words): Likewise.
4590 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
4591 that source and destination are separately optimized for alignment.
4592 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
4594 Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
4596 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
4597 with handling of -32768.
4599 Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4601 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
4602 shell variable argument instead of only hard coded functions.
4603 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
4605 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
4606 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
4607 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
4608 declarations for bcopy, bcmp and bzero.
4610 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
4612 * gansidecl.h: If we have bcopy but don't declare it, then do so.
4613 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
4614 bzero, index and rindex if they aren't already present.
4616 Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
4618 * toplev.c (close_dump_file): Wrap function prototype for
4619 argument "func" in PROTO.
4620 (dump_rtl): Likewise.
4622 Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
4624 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
4626 (output_function_epilogue): Omit epilogue if nothing drops through.
4627 (output_move_double): Supress int ldd usage on ultrasparc and v9.
4628 (registers_ok_for_ldd_peep): Likewise.
4629 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
4630 (ultrasparc_adjust_cost): New function.
4631 (sparc_issue_rate): New function.
4632 * sparc.h (MASK_VIS, TARGET_VIS): New
4633 (MASK_V8PLUS, TARGET_V8PLUS): New.
4634 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
4635 (TARGET_SWITCHES): Add vis and v8plus.
4636 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
4637 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
4638 (RTX_COSTS): Use TARGET_HARD_MUL
4639 (ADJUST_COST): Call ultrasparc_adjust_cost.
4641 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
4642 of load & fp appropritely.
4643 (supersparc function units): Adjust for Haifa.
4644 (ultrasparc function units): Likewise.
4645 (get_pc_via_rdpc): All v9, not just arch64.
4646 (movdi_v8plus, movdi_v8plus+1): New.
4647 (adddi3_sp32+1): New.
4648 (subdi3_sp32+1): New.
4649 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
4650 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
4651 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
4652 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
4653 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
4654 (ldd peepholes): Suppress for v9.
4655 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
4656 (return_subsi): Revmove.
4658 Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
4660 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
4661 save/restore MEM rtl.
4663 Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
4665 * configure.in: Check for declaration of abort.
4666 * acconfig.h: Corresponding changes.
4667 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
4670 Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
4672 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
4675 Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
4677 * version.c: Bump for snapshot.
4679 Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
4681 * configure.in: Check for atoq and atoll.
4682 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
4683 proper routine for converting ascii into long long values.
4685 Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
4687 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
4689 * vmsconfig.com: Remove bytecode references.
4691 * alpha/vms.h (PREFIX): Define.
4693 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
4695 * am-alpha.h: Don't include alloca for OPEN_VMS.
4697 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
4699 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
4700 (GCC_INCLUDE_DIR): Define
4702 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
4703 * makefile.vms: New file.
4705 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
4707 * alpha.c (output_prolog): Output '.name' directive
4708 for minimal traceback information.
4710 * alpha.c (output_prolog): Don't prepend entry point symbols
4711 with '$' on OPEN_VMS.
4713 Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
4714 Jeffrey A Law (law@cygnus.com)
4716 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
4719 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
4721 * genemit.c (gen_exp): Likewise.
4722 * genpeep.c (match_rtx): Likewise.
4723 * genrecog.c (write_tree_1): Likewise.
4725 * c-lex.c (yyprint): Use proper format string based upon
4726 disposition of HOST_BITS_PER_WIDE_INT.
4727 (yylex): Put casts in right place for args to build_int_2.
4729 Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
4731 * combine.c: Fix typos in Jan27 changes.
4733 Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
4735 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
4736 (LINK_SPEC): Likewise.
4737 (STARTFILE_SPEC): Likewise.
4739 1998-01-28 Mike Stump <mrs@wrs.com>
4741 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
4743 * genattrtab.c (reload_completed): Define.
4745 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
4748 Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4750 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
4751 SUBREG_REG if the word count is unchanged, also in the input reload
4752 case. Disable non-applicable sanity checks.
4754 Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
4756 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
4758 Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
4760 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
4762 Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
4764 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
4765 is a TREE_VEC before trying to use it for baseclasses.
4766 (Chill uses the same field for a different purpose.)
4768 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
4770 Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
4772 * config.sub: More accurate determination of HP processor types.
4774 Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4776 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
4777 prototype for `handle_sysv_pragma', and make it static. Add
4778 parentheses around assignment used as truth value.
4780 * combine.c (combine_instructions): Protect variable `prev' with
4782 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
4783 (extract_left_shift): Add parentheses around operand of &.
4784 (merge_outer_ops): Avoid an empty body in an else-statement.
4785 (gen_rtx_combine): Remove unused variable `i'.
4787 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
4788 function monstartup `void'. Likewise for internal_mcount. Add
4789 `static void' prototype for moncontrol. Reconcile sprintf format
4792 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
4793 Make return type of function_arg_slotno explicitly `int'.
4794 (reg_unused_after): Add parentheses around assignment used as
4796 (save_regs): Add explicit braces to avoid ambiguous `else'.
4797 (function_arg_slotno): Add parentheses around && within ||.
4798 (function_arg_pass_by_reference): Likewise.
4799 (sparc_flat_output_function_prologue): Reconcile fprintf format
4802 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
4803 assignment used as truth value.
4805 * cplus-dem.c: Include <stdlib.h>.
4806 (demangle_signature): Avoid an empty body in an else-statement.
4807 (do_type): Remove unused variable `lvl'.
4809 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
4810 Include <string.h>/<strings.h>.
4811 (cpp_lex): Remove unused variable `namelen'.
4812 (cpp_lex): Explicitly declare `num_chars' as an int.
4814 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
4815 <unistd.h> instead. Explicitly declare is_system_include
4817 (make_assertion): Remove unused variable `kt'.
4818 (cpp_expand_to_buffer): Hide variable `obuf'.
4819 (output_line_command): Remove unused variables, `line_end',
4820 `line_cmd_buf' and `len'.
4821 (macarg): Remove unused variable `arg_start'.
4822 (special_symbol): Remove unused variable `i'. Add parentheses
4823 around assignment used as truth value.
4824 (do_include): Remove unused variables `pcfname' and `retried',
4825 hide `pcf' and `pcfbuflimit'.
4826 (do_line): Remove unused variable `i'.
4827 (finclude): Hide variable `missing_newline'.
4828 (cpp_handle_options): Remove unused variable `j'.
4829 (read_token_list): Remove unused variable `eofp'.
4830 (cpp_error_with_line): Remove unused variable `i'.
4831 (cpp_warning_with_line): Likewise.
4832 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
4833 (cpp_error_from_errno): Remove unused variable `i'.
4835 * cse.c (invalidate): Add parentheses around assignment used as
4837 (find_best_addr): Move declaration of variable `our_cost' inside
4838 the conditional macro where its used.
4839 (fold_rtx): Avoid an empty body in an if-statement.
4840 (cse_insn): Wrap variables `this_insn_cc0_mode' and
4841 `this_insn_cc0' in macro HAVE_cc0.
4843 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
4844 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
4845 (output_uleb128): Likewise.
4846 (output_sleb128): Likewise.
4847 (output_cfi): Likewise.
4848 (output_call_frame_info): Remove unused variables `j', `fde_size'
4850 (comp_unit_has_inlines): Hide declaration as per rest of file.
4851 (size_of_line_prolog): Correct typo in prototype.
4852 (add_arange): Likewise.
4853 (output_aranges): Likewise.
4854 (add_name_and_src_coords_attributes): Likewise.
4855 (gen_array_type_die): Likewise.
4856 (gen_inlined_subroutine_die): Likewise.
4857 (equate_decl_number_to_die): Remove unused variable `i'.
4858 (print_die): Reconcile format vs. args in fprintf's.
4859 (print_dwarf_line_table): Likewise.
4860 (output_die): Likewise.
4861 (output_line_info): Likewise.
4862 (add_subscript_info): Avoid an empty body in an else-statement.
4863 (gen_subprogram_die): Remove unused variable `fp_loc'.
4865 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
4866 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
4867 macro. Protect `src_coords_attribute' prototype with
4868 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
4869 prototype as in the rest of the file. Likewise for
4870 `output_pointer_type_die' and `output_reference_type_die'. Remove
4871 prototype for `type_of_for_scope'.
4872 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
4873 (type_attribute): Add explicit braces to avoid ambiguous `else'.
4875 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
4876 (shorten_branches): Protect declaration of tmp_length with
4877 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
4878 (profile_function): Protect declaration of `sval' and `cxt'
4879 variables with appropriate macros.
4880 (final_scan_insn): Likewise for `note' variable. Add explicit
4881 braces to avoid empty body in an if-statement.
4882 (output_asm_insn): Move variable `i' inside macro conditional
4883 where it is used. Add parentheses around assignment used as truth
4885 (asm_fprintf) Likewise, likewise.
4887 * fix-header.c (main): Remove unused variable `done'. Protect
4888 declaration of `i' with FIXPROTO_IGNORE_LIST.
4890 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
4892 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
4895 * profile.c: Include <string.h>/<strings.h>.
4896 (instrument_arcs): Remove unused variables `note', `inverted',
4897 `zero' and `neg_one'.
4898 (branch_prob): Avoid empty body in an if-statement.
4900 * regclass.c: Include <stdlib.h>.
4901 (reg_alternate_class): Explicitly declare parameter `regno'.
4903 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
4904 parentheses around assignment used as truth value.
4905 (find_matches): Remove unused variables `output_operand' and
4907 (fixup_match_1): Remove statement with no effect: "if (0) ;".
4909 * scan.c (sstring_append): Explicitly declare `count' as int.
4910 (scan_string): Explicitly declare parameter `init' as int.
4912 * sched.c: Include <stdlib.h>.
4913 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
4914 (rank_for_schedule): Add parentheses around assignment used as
4916 (schedule_block): Likewise.
4917 (regno_use_in): Likewise.
4918 (schedule_insns): Remove unused variable `i'.
4920 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
4921 (v_message_with_decl): Remove unused variable `n'.
4922 (botch): Explicitly declare parameter `s' as char *.
4923 (main): Add parentheses around assignment used as truth value.
4925 * tree.c (make_node): Protect the variable `kind' with the
4926 GATHER_STATISTICS macro.
4927 (real_value_from_int_cst): Move variable `e' inside conditional
4928 macro area where it is used.
4929 (tree_last): Add parentheses around assignment used as truth value.
4930 (build1): Protect the variable `kind' with the GATHER_STATISTICS
4932 (print_obstack_statistics): Reconcile format vs. args in fprintf.
4933 Protect variables `i', `total_nodes', and `total_bytes' with the
4934 GATHER_STATISTICS macro.
4936 Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
4938 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
4939 some comments regarding use of dead_or_set_p.
4941 Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
4943 * fixincludes: Tweak fix for struct exception in math.h
4945 Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
4947 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
4948 Change mode of registers used to add/sub from
4949 hard_frame_pointer_rtx from word_mode to Pmode.
4951 Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
4953 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
4954 asm_output_aligned_bss() instead of asm_output_bss().
4956 * toplev.c (rest_of_compilation): Replace references to
4957 stack_reg_dump_file and dbr_sched_dump_file with references to
4960 Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
4962 * tlink.c (scan_linker_output): Call fclose() for opened files.
4964 Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
4966 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
4967 compiling with -fpic -- we want to be able to override symbols
4969 (alpha_expand_block_move): Fix thinko in last change.
4971 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
4972 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
4973 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
4975 Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
4977 * alpha.md (abssf, absdf): Revert last change.
4979 Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
4981 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
4982 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
4984 Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
4986 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
4987 a CONST_INT into SFmode.
4989 Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
4991 * flags.h: New flag (optimize_size).
4992 * toplev.c (main): Parse -Os option and set optimize_space
4994 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
4995 __OPTIMIZE_SIZE__ when compiling with -Os.
4996 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
4997 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
4998 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
5000 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
5002 Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
5004 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
5005 stuff only if MCT_TEXT is #define'd.
5007 Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
5009 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
5012 Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
5014 * toplev.c: Add -dM command line option to dump RTL after the
5015 machine dependent reorganisation pass, if there is one.
5016 Reorganise RTL dump code, so that only one file handle is
5019 Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
5021 * except.c (check_exception_handler_labels): Disable warning when
5024 Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
5026 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
5028 Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5030 * c-decl.c (grokdeclarator): Get parameter tags from
5031 last_function_parm_tags.
5032 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
5033 traversing the parameter types.
5034 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
5036 Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
5038 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
5040 (get_shift_alg): Fix typo.
5042 Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
5044 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
5046 Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
5048 * toplev.c (get_run_time): Make sure each case gets its variables.
5050 Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
5052 * configure.in (build_xm_file): Add auto-config.h if host=build.
5053 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
5054 (build_xm_file_list): Likewise.
5055 * configure: Rebuild.
5057 Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
5059 * recog.c (validate_replace_rtx_1): Only perform substitutions
5060 of arguments to commutative and comparison operators once.
5062 Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5064 * sparc.c (output_cbranch): Add default case in
5067 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
5068 (emit_delay_sequence): Eliminate unused parameter, all callers
5070 (fill_simple_delay_slots): Likewise.
5071 (fill_slots_from_thread): Likewise.
5072 (fill_eager_delay_slots): Likewise.
5073 (mark_referenced_resources): Add default case in enumeration switch.
5074 (mark_set_resources): Likewise.
5075 (rare_destination): Likewise.
5076 (mostly_true_jump): Likewise.
5077 (find_dead_or_set_registers): Likewise.
5078 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
5079 (update_reg_unused_notes): Remove unused variable `p'.
5080 (mark_target_live_regs): Remove unused variables `next' and
5082 (fill_simple_delay_slots): Remove unused variable `j'.
5083 (fill_slots_from_thread): Add parentheses around assignment used
5085 (dbr_schedule): Likewise.
5087 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
5088 (objc.stage2, objc.stage3, objc.stage4): Likewise.
5090 Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
5092 * cse.c (simplify_ternary_operation): Don't try to simplify
5093 IF_THEN_ELSE expressions (created by combine) that don't use
5094 relational operators.
5096 Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
5098 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
5101 * crtstuff.c (init_dummy): Keep the epilogue in the init
5102 section for non-ELF systems.
5104 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5106 * sh.md (movqi_i+1): New peephole.
5108 Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
5110 * Makefile.in: Remove remaining bytecode stuff.
5111 * emit-rtl.c, expr.c: Likewise.
5113 Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
5115 * toplev.c (lang_options): Add unknown-pragma options.
5117 Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
5119 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
5120 special (and incomplete) handling for Chill arrays.
5122 Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
5124 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
5127 Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
5129 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
5131 1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
5133 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
5134 .frame directive instead of FRAME_POINTER_REGNUM.
5136 Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
5138 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
5139 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
5140 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
5141 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
5142 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
5143 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
5144 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
5145 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
5147 * longlong.h: Replace __mc68332__ with __mcpu32__.
5149 Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
5151 * version.c: Bump for snapshot.
5153 Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
5155 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
5156 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
5157 * reload1.c (eliminate_regs): Likewise.
5159 Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
5161 * regmove.c (find_matches): Initialize matches->earlyclobber too.
5163 Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
5165 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
5166 (negsf2, negdf2): Use proper subtract in IEEE mode.
5168 Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
5170 * Makefile.in: Remove more bytecode stuff.
5171 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
5172 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
5173 * f/install.texi, objc/Make-lang.in: Likewise.
5175 * Makefile.in: Remove all bytecode support.
5176 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
5177 * emit-rtl.c: Remove all bytecode support.
5178 * expr.c, expr.h function.c, integrate.c: Likewise.
5179 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
5180 * tree.h, varasm.c: Likewise.
5181 * config/m68k/m68k.h: Likewise.
5182 * bi-*, bc-*, bytecode*: Delete bytecode related files.
5183 * modemap.def: Likewise.
5185 Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
5187 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
5188 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
5190 Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
5192 * i386.md (push): Prohibit symbolic constants if flag_pic.
5193 (movsi+1): Likewise for move to non-register.
5195 Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
5197 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
5198 (print_operand): Handle 0xffffffff on 32 bit host.
5200 * configure.in (thread_file): Rename uses before main loop to
5201 target_thread_file. Initialize to empty in main loop. Set thread_file
5202 to target_thread_file after main loop if not set.
5203 * configure: Rebuild.
5205 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
5206 (add_values_to_cover): Revert last change (which had no ChangeLog
5208 (simplify_with_current_value_aux): Handle CONST_INT.
5210 Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5212 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
5214 Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
5216 * configure.in: Add cpp stringify test.
5217 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
5218 * gengenrtl.c: Use it.
5219 * configure, config.in: Rebuild.
5221 Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5223 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
5225 Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
5227 * configure.in: Find declaration for sbrk.
5228 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
5229 * config.in, configure: Rebuild.
5230 * mips-tfile.c: Properly protect declaration of sbrk and free.
5231 * toplev.c: Properly protect declaration of sbrk.
5233 Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
5235 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
5237 Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
5239 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
5241 Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
5243 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
5245 Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
5247 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
5248 constant offset computations from objects with known alignment in
5249 the presence of STACK_BIAS.
5251 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
5253 (const_hash): Hash val is unsigned long.
5254 (SYMHASH): Likewise.
5256 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
5258 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
5259 char pointer, not HOST_WIDE_INT.
5260 (print_node): Likewise. Also hash is unsigned long not
5263 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
5265 * explow.c (optimize_save_area_alloca): New function for targets
5266 where SETJMP_VIA_SAVE_AREA is true.
5267 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
5268 compute the amount of stack space needed should we find later that
5269 setjmp is never called by this function, stuff rtl for this inside
5270 a REG_NOTE of the final SET of stack_pointer_rtx.
5271 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
5272 current_function_calls_alloca, call optimize_save_area_alloca.
5274 Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
5276 * i386.md: Remove redundant integer push patterns.
5277 Don't bother checking for TARGET_PUSH_MEMORY when
5278 pushing constants or registers.
5280 Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5281 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
5283 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5284 (pwait): New function for mingw32.
5286 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
5287 pipe support is broken for now.
5289 1998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
5291 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
5292 between frame_pointer_rtx, hard_frame_pointer_rtx, and
5293 arg_pointer_rtx is respected in initialization.
5294 (init_emit_once): Use gen_rtx_raw_REG() to create
5295 return_address_pointer_rtx.
5297 * reorg.c: #include "expr.h" for rtx prototypes.
5298 * Makefile.in (reorg.o): Depend on expr.h
5300 Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
5302 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
5303 local_prefix to sub-make invocations.
5305 Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
5307 * objc-parse.c: Recognize protocol qualifiers in class definitions.
5309 Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
5313 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
5314 * configure.in: Check for atol.
5315 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
5317 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
5319 * loop.c (find_and_verify_loops): When attempting to move insns from
5320 inside the loop outside the loop, create a BARRIER if no suitable
5323 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
5324 favor of an equivalent change from gcc-2.8.
5326 * i386/x-sco5 (CC): Remove trailing whitespace.
5328 Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5330 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
5331 (accessor_from_format): Likewise.
5332 (xmalloc): New function for use when linking with alloca.o.
5334 Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5336 * frame.c (find_fde): Correct FDE's upper bound.
5338 Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
5340 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
5342 Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
5344 * calls.c (expand_call): Move #ifdef code out of macro argument
5346 (emit_library_call, emit_library_call_value): Likewise.
5348 Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
5350 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
5352 Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
5354 * version.c: Bump for snapshot.
5356 Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
5358 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
5359 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
5360 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
5361 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
5362 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
5363 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
5364 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
5365 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
5366 * unroll.c, varasm.c: Likewise.
5367 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
5369 Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
5371 * mips.h: Fix some type-o's from a previous change.
5373 Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
5375 * loop.c (check_dbra_loop): Make sure initial value is a
5376 CONST_INT before trying to normalize it.
5378 Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
5380 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
5382 Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
5384 * cppexp.c: Include gansidecl.h
5386 Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
5388 * svr4.h (LINK_SPEC): Never specify -h.
5389 * ptx4.h (LINK_SPEC): Likewise.
5390 * rs6000/sysv4.h (LINK_SPEC): Likewise.
5391 * sparc/sol2.h (LINK_SPEC): Likewise.
5393 Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
5395 * c-typeck.c (comptypes): Exit early on NULL input.
5397 * haifa-sched.c (schedule_insns): Correctly remove inter-block
5398 dependencies after reload.
5400 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
5402 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
5404 Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
5406 * alpha/vms.h (DIR_SEPARATOR): define
5408 Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5410 * Makefile.in (stamp-proto): Remove.
5411 (protoize.o, unprotoize.o): Straightforward compile.
5412 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
5414 Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5416 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
5417 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
5419 Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
5421 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
5422 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
5423 * sparc/netbsd.h, vax/netbsd.h: Likewise.
5425 Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
5427 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
5429 Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
5431 * configure.in (target_cpu_default, target_cpu_default2): Use double
5432 quotes around them when testing their value.
5433 * configure: Rebuilt.
5435 Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
5437 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
5439 (gendef): Call obstack_alloc_rtx.
5441 Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
5443 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
5446 Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
5448 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
5449 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
5450 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
5452 Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
5454 * mips.md (return_internal): Change mode from SImode to VOIDmode.
5456 Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
5458 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
5461 Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
5463 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
5464 suffix from operand 3.
5466 Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5467 Jeffrey A Law (law@cygnus.com)
5469 * regmove.c: New implementation of regmove pass.
5470 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
5471 decls, make them have external linkage. Return a value from
5472 optimize_reg_copy_1.
5473 * reload.h (count_occurrences): Add decl.
5474 * reload1.c (count_occurrences): Delete decl, make it have external
5476 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
5478 Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
5480 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
5481 if it is not defined.
5483 Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
5485 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
5486 * emit-rtl.c (gen_rtx): Move special code to ...
5487 (gen_rtx_CONST_INT): New function.
5488 (gen_rtx_REG): New function.
5489 (*): Update all calls to gen_rtx.
5490 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
5491 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
5492 (GEN_INT): Call gen_rtx_CONST_INT.
5493 * gengenrtl.c: New file.
5495 Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
5497 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
5498 (base_alias_check): If no base found for address call canon_rtx and
5501 Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
5503 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
5504 arguments for mips16.
5505 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
5506 Don't lose if tsize is zero after handling large stack for mips16.
5507 * mips.md (return): For trivial return, return address is in $31.
5509 Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
5511 * mips/mips16.S: Various changes to make it work with -msingle-float
5514 Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
5515 Ian Lance Taylor <ian@cygnus.com>
5516 Jeff Law <law@cygnus.com>
5518 * mips.c, mips.h, mips.md: First cut at merging in mips16
5519 support. Major modifications throughout all three files.
5521 Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
5523 * configure.in: Make gthr-default.h a forwarding header instead of
5526 Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5528 * gcov-io.h: Include sys/types.h to ensure we get size_t.
5530 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
5532 Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
5533 Jeffrey A Law (law@cygnus.com)
5535 * crtstuff.c (__frame_dummy): New function for irix6.
5536 (__do_global_ctors): Call __frame_dummy for irix6.
5537 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
5539 Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
5541 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
5543 Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
5545 * c-decl.c (init_decl_processing): Provide proper fallback symbol
5546 for __builtin_memset.
5547 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
5548 not INTEGER_CST. Assert arg 3 is a constant.
5550 * alpha.c (mode_width_operand): Accept 64-bit modes.
5551 (mode_mask_operand): Likewise.
5552 (print_operand): Likewise for 'M' and 'U' codes.
5553 (alpha_expand_unaligned_load): New function.
5554 (alpha_expand_unaligned_store): Likewise.
5555 (alpha_expand_unaligned_load_words): Likewise.
5556 (alpha_expand_unaligned_store_words): Likewise.
5557 (alpha_expand_block_move): Likewise.
5558 (alpha_expand_block_clear): Likewise.
5559 * alpha.h (MOVE_RATIO): New define.
5560 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
5561 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
5563 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
5564 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
5566 Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
5568 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
5569 * configure: Update.
5571 Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
5573 * emit-rtl.c (operand_subword): Correctly handle extracting a word
5574 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
5576 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
5579 Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
5581 * configure.in: Set and subsitute host_exeext. Use it when creating
5582 the assembler and linker symlinks.
5583 * configure: Rebuild.
5584 * Makefile.in (exeext): Set to @host_exeext@.
5585 (build_exeext): New variable, set to @build_exeext@.
5586 (FLAGS_TO_PASS): Pass down build_exeext.
5587 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
5590 Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
5592 * mn10200.md (addsi3, subsi3): Fix thinkos.
5594 Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
5596 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
5597 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
5598 unix always, since we want to be able to thunk to functions in a
5599 shared library from an application.
5601 Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
5603 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
5604 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
5606 Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
5608 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
5609 offset's mode is not ptr_mode, convert it.
5611 Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
5613 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
5614 compiling if it was already defined.
5616 Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
5618 * flow.c (find_basic_blocks): Don't create a new basic block
5619 for calls in a LIBCALL block.
5621 Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
5623 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
5625 Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
5627 * cse.c (rtx_cost): Remove conflicting default case.
5629 Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
5631 * configure.in: Move default enabling of Haifa out of for loop.
5632 * configure: Rebuild.
5634 Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
5636 * version.c: Bump for snapshot.
5638 1997-12-25 Teemu Torma <tot@trema.com>
5640 * Makefile.in (GTHREAD_FLAGS): New var.
5641 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
5642 (distclean): Remove gthr-default.h.
5644 * configure.in: Accept dce as a thread package.
5645 Check for thread.h and pthread.h.
5646 Link gthr-default.h to appropriate thread file and set
5648 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
5649 include multilib definitions from pa/t-dce-thr.
5650 (sparc-*-solaris2*): Enable threads by default, if thread.h or
5651 pthread.h is found, preferring posix threads over solaris ones.
5653 * config/pa/t-dce-thr: New file.
5654 * config/pa/t-pa: Removed multilibs.
5655 * config/sparc/t-sol2: Ditto.
5658 * gthr-single.h: New file.
5659 * gthr-posix.h: New file.
5660 * gthr-solaris.h: New file.
5661 * gthr-dce.h: New file.
5662 * libgcc-thr.h: Removed.
5663 * objc/thr-dce.c: New file copied from thr-decosf1.c.
5665 * frame.c: Include gthr.h instead of libgcc-thr.h.
5666 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
5667 (eh_context_initialize): If __gthread_once fails, use static eh
5669 (eh_context_free): Call __gthread_key_dtor.
5671 Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
5673 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
5675 Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
5677 * cse.c (max_insn_uid): New variable.
5678 (cse_around_loop): Use max_insn_uid.
5679 (cse_main): Set max_insn_uid.
5681 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
5682 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
5683 -mlong64, and -mgp{32,64} options.
5684 * mips.c (mips_abi): Change type to int.
5685 * mips.h (enum mips_abi_type): Delete.
5686 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
5687 (mips_abi): Change type to int.
5689 Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
5691 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
5692 optimization is now always enabled.
5694 * calls.c (expand_call): Recognize C++ operator new as malloc-like
5697 * alias.c (memrefs_conflict_p): Eliminate tests now done by
5699 (*_dependence): Call canon_rtx before base_alias_check.
5700 (init_alias_once): New function to precompute set of registers which
5701 can hold Pmode function arguments.
5703 * rtl.h: Declare init_alias_once.
5705 * toplev.c (compile_file): Call init_alias_once.
5707 Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
5709 * tree.c (restore_tree_status): Do not dereference a null pointer.
5711 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
5713 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
5714 RLIMIT_STACK. This maintains consistency with the recent, similar
5715 patch to cccp.c and toplev.c.
5717 Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
5719 * genattrtab.c (expand_units): For large nr opclasses, expand
5720 function_units_used with ORX to prevent blowups. Tag with FFS.
5721 (num_unit_opclasses): New variable.
5722 (gen_unit): Update it.
5723 (enum operator): Add ORX_OP.
5724 (operate_exp): Treat ORX as or, except don't expand across an if.
5725 Reuse number rtx's after operating on them.
5726 (check_attr_value): Accept IOR, AND, & FFS.
5727 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
5728 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
5729 (write_expr_attr_cache, write_toplevel_expr): New functions.
5730 (write_attr_get): Handle FFS-tagged expressions.
5731 (make_canonical): Don't expand const attributes.
5732 (convert_const_symbol_ref): Dike out.
5733 (evaluate_eq_attr): Handle SYMBOL_REF.
5734 (main): Don't emit get_attr_foo for const attributes.
5736 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
5737 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
5738 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
5739 * alpha.md: Redo all of the scheduling, adding EV6 support, and
5740 combining function units where possible.
5741 (attr "type"): Split loads, stores, cmov into int/fp. Combine
5742 multiplies and divides. Add EV6 sqrt, ftoi, itof.
5743 (attr "opsize"): New attribute.
5744 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
5745 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
5746 to control register allocation.
5747 (movsi2-1, movdi2-1): Likewise.
5749 Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
5751 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
5752 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
5753 Move OSF/1 specific defines out.
5754 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
5755 Move Linux specific defines out.
5756 (LINK_SPEC): Genericize.
5757 (ASM_FILE_START): Emit .arch if using more than the base insn set.
5758 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
5759 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
5760 (HANDLE_SYSV_PRAGMA): Define.
5761 * alpha/osf.h: New file.
5762 * alpha/linux.h: Split. Retain file-format independant defines.
5763 Import Linux bits from elf.h.
5764 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
5765 (FUNCTION_PROFILER): _mcount takes its address in $28.
5766 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
5767 * alpha/linux-ecoff.h: New file.
5768 * alpha/linux-elf.h: New file.
5769 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
5770 * alpha/win-nt.h (TARGET_DEFAULT): Define.
5771 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
5772 Add new headers as appropriate.
5774 * configure.in (alpha*): Enable Haifa by default.
5775 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
5776 * configure: Rebuild.
5778 Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
5780 * Makefile.in (clean): Remove the stages with their objects here ...
5781 (distclean): ... instead of here.
5783 Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5785 * cse.c (rtx_cost): Add default case in enumeration switch.
5786 * fix-header.c (recognized_macro): Likewise.
5787 (recognized_extern): Likewise.
5788 (write_rbrac): Likewise.
5789 * objc/objc-act.c (encode_aggregate): Likewise.
5790 (gen_declarator): Likewise.
5791 (gen_declspecs): Likewise.
5793 Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
5795 * haifa-sched.c (create_reg_dead_note): Detect and handle another
5796 case where we kill more regs after sched than were killed before
5798 * sched.c (create_reg_dead_note): Similarly.
5800 Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
5802 * c-pragma.c: Include flags.h.
5804 Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
5806 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
5807 about system headers.
5808 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
5809 and also to resolve symbols in prefix.c.
5811 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
5812 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
5813 when the definitions in auto-config.h is not visible.
5814 (HAVE_BZERO): Likewise.
5815 (HAVE_BCMP): Likewise.
5816 (HAVE_RINDEX): Likewise.
5817 (HAVE_INDEX): Likewise.
5819 Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
5821 * pa.c (emit_move_sequence): Handle a function label source
5824 Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
5826 * c-pragma.c (handle_pragma_token): Generate warning messages
5827 about unknown pragmas if warn_unknown_pragmas is set.
5829 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
5830 line option to set variable: warn_unknown_pragmas.
5832 Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
5834 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
5836 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
5838 Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
5840 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
5841 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
5842 generate more fine grained floating point emulation libraries.
5843 * config/fp-bit.c: Add protecting #ifdef to all functions so
5844 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
5845 then compile all suitable functions.
5846 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
5847 underscores to avoid namespace pollution.
5848 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
5850 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
5854 Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5855 Jeff Law <law@cygnus.com>
5857 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
5859 * c-decl.c (finish_decl): Use parentheses around && within ||.
5860 * rtl.c: Include stdlib.h.
5861 (read_skip_spaces): Add parentheses around assignments used as
5863 (read_rtx): Initialize list_rtx.
5864 * cppexp.c (parse_number): Use || when operands are truth values.
5865 * alias.c (find_base_value): Add default case.
5866 (memrefs_conflict): Likewise.
5867 * combine.c (sets_function_arg_p): Likewise.
5868 * genemit.c (gen_exp): Likewise.
5869 * local-alloc.c (contains_replace_regs): Likewise.
5870 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
5871 * fold-const.c (fold_convert): Use "&&" for truth values.
5872 (fold): Add default case.
5873 * sdbout.c (sdbout_field_types): Fix typo in declaration.
5874 (sdbout_one_type): Add default case.
5875 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
5876 (some_operand): Add default case.
5877 (input_operand): Likewise.
5878 (signed_comparison_operator): Likewise.
5879 (divmod_operator): Likewise.
5880 (alpha_set_memflags_1): Likewise.
5881 * reload1.c (reload_cse_simplify_operands): Ensure function
5882 always returns a value.
5883 * scan-decls.c (scan_decls): Likewise.
5884 * c-lex.c (skip_white_space): Fix typo in declaraion.
5885 * c-typeck.c (comp_target_types): Add parentheses around assignment
5886 used as truth value.
5887 (print_spelling): Likewise.
5888 (constructor_implicit, constructor_result): Remove unused variables.
5889 * collect2.c (scan_library): Protect prototype with
5890 #ifdef SCAN_LIBRARIES.
5891 * emit-rtl.c (find_line_note): Fix typo in declaration.
5892 * final.c (asm_insn_count): Protect prototype with
5893 #ifdef HAVE_ATTR_length.
5894 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
5895 (try_pre_increment_1, try_pre_increment): Likewise.
5896 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
5897 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
5898 * gcov-io.h (__store_long, __write_long, __read_long): Fix
5899 unsigned/signed comparisons.
5900 * gcov.c (read_files): Remove unused "first_type" variable.
5901 (scan _for_source_files): Initialize s_ptr.
5902 (function_summary): Eliminate "%lf" formatting, use %ld for
5904 (output_data): Initialize branch_probs and last_line_num.
5905 Eliminate "%lf" formatting, use "%ld" for longs.
5907 Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
5909 * mips16.S: New file.
5911 * libgcc2.c (varargs): Handle mips16.
5913 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
5915 * stmt.c (expand_end_case): Likewise.
5916 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
5917 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
5918 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
5920 Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5922 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
5923 the build directory.
5924 (libobjc.a): Update dependency list.
5925 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
5927 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
5928 (objc.mostlyclean): Remove runtime-info.h.
5930 Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
5932 * tree.c (build_range_type): Allow creation of ranges with no maximum.
5933 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
5934 * dwarf2out.c (add_subscript_info): Likewise.
5935 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
5936 * sdbout.c (plain_type_1): Likewise.
5937 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
5939 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
5942 Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5944 * mips.c (fatal): Remove declaration.
5946 1997-12-18 Mark Mitchell <mmitchell@usa.net>
5948 * integrate.c (get_label_from_map): New function.
5949 (expand_inline_function): Use it. Initialize the label_map to
5950 NULL_RTX instead of gen_label_rtx.
5951 (copy_rtx_and_substitute): Use get_label_from_map.
5952 * integrate.h (get_label_from_map): New function.
5953 (set_label_from_map): New macro.
5954 * unroll.c (unroll_loop): Use them.
5955 (copy_loop_body): Ditto.
5957 Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
5959 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
5960 (INIT_TARGET_OPTABS): Define.
5961 * mips/ecoff.h: Include gofast.h before mips.h.
5962 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
5963 * mips/elf64.h: Likewise.
5964 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
5966 Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
5968 * except.c: Remove register_exception_table{,_p}.
5970 Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
5972 * unroll.c (calculate_giv_inc): Handle constant increment found in
5973 a MEM with an appropriate REG_EQUAL note.
5975 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
5977 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
5978 frame pointer in the prologue.
5980 Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
5982 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
5983 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
5985 Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
5987 * config/m68k/m68k.c (output_function_prologue): Typecast
5988 dwarf2out_cfi_label to (char *).
5989 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
5991 Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
5993 * sparc.md (jump): Don't use the annul bit around an empty loop.
5994 Patch from Kevin.Kelly@East.Sun.COM.
5996 Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
5998 * jump.c: (jump_optimize): Don't use the return register as a
5999 source1 of a conditional move.
6001 Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
6003 * sparc.c (DF_MODES): Or the mask not the bit number.
6004 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
6006 Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
6008 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
6010 Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
6012 * fixincludes (size_t): Add support for Motorola's stdlib.h
6013 which fails to provide a definition for size_t.
6014 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
6015 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
6016 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
6018 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
6019 prevent unresolved externals in libio.
6020 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
6022 Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
6024 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
6025 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
6026 (LIB_SPEC): Updated for glibc 2.
6028 Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
6030 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
6031 * ginclude/varargs.h: Likewise.
6033 Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
6035 * version.c: Bump for snapshot.
6037 Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
6039 * frame.h (__register_frame, __register_frame_table,
6040 __deregister_frame): New.
6041 * frame.c (__register_frame, __register_frame_table,
6042 __deregister_frame): New.
6043 * frame.c (__deregister_frame_info): Return void *.
6044 * frame.h (__deregister_frame_info): Ditto.
6045 * collect2.c (__deregister_frame_info): Ditto.
6047 Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
6049 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
6051 Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
6053 * alpha.c (alpha_cpu_name): New variable.
6054 (alpha_mlat_string): Likewise.
6055 (alpha_memory_latency): Likewise.
6056 (override_options): Handle -mmemory-latency.
6057 (alpha_adjust_cost): Adjust load cost for latency.
6058 * alpha.h (TARGET_OPTIONS): Add meory-latency.
6059 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
6060 TARGET_CIX into account.
6061 (MEMORY_MOVE_COST): Define in terms of memory_latency.
6062 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
6064 * alpha.h (ASM_COMMENT_START): New macro.
6066 Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
6068 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
6069 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
6071 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
6072 SUBREG_REG if the word count is unchanged.
6073 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
6074 subregs of identical word size for push_reload.
6076 Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
6078 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
6079 if all we're doing is dealing with -Wreturn-type.
6081 Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
6083 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
6084 Use and 255 instead of zapnot 1, since it schedules better.
6086 Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
6088 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
6091 Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
6093 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
6094 dependency we delete. Properly update prev for multiple consecutive
6096 (priority): Skip deleted dependence.
6098 Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
6100 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
6102 Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6104 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
6105 determining when a new basic block starts.
6107 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
6109 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
6110 * pa.md (iorsi3): Add missing args to *_operand calls.
6112 * except.c (call_get_eh_context): Don't mess with sequences.
6113 (emit_eh_context): Include the call in the sequence here.
6115 1997-12-11 Paul Eggert <eggert@twinsun.com>
6117 * collect2.c (write_c_file_glob): Allocate initial frame object
6118 in static storage and pass its address.
6120 Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6122 * except.c (call_get_eh_context): Don't take a parm.
6123 Put the call at the top of the function.
6124 (emit_eh_context): Adjust.
6125 (get_eh_context): Replace with former use_eh_context.
6126 (get_eh_context_once, get_saved_pc_ref): Remove.
6127 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
6129 * integrate.c (expand_inline_function): Adjust.
6130 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
6132 Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
6134 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
6135 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
6137 Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
6139 * fixincludes (strlen,strspn,strcspn return value): Handle different
6141 (hypot): Provide a fake for hypot which is broken on
6142 m88k-motorola-sysv3.
6144 Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
6146 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
6147 tree_code_name from pointers to arrays.
6148 * tree.c: Remove standard_tree_code_* variables, no longer used.
6149 * print-tree.c: Remove declaration of tree_code_name.
6151 * cp/lex.c (init_lex): Update for tree_code_* changes.
6152 * objc/objc-act.c (init_objc): Likewise.
6154 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
6157 Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
6159 * config.sub: Add support for BeOS target.
6160 * configure.in: Likewise.
6161 * ginclude/stdarg.h: Likewise.
6162 * ginclude/stddef.h: Likewise.
6163 * ginclude/varargs.h: Likewise.
6164 * rs6000/beos.h: New file for BeOS.
6165 * rs6000/t-beos: Likewise.
6166 * rs6000/x-beos: Likewise.
6167 * rs6000/xm-beos.h: Likewise.
6168 * toplev.c (get_run_time): Just return 0 on BeOS.
6170 Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
6171 Toon Moene (toon@moene.indiv.nluug.nl)
6173 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
6174 old and broken Sun3 assemblers. Newer versions handle large
6175 offsets correctly as does the GNU assembler.
6177 Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
6179 * objc/objc-act.c (lang_report_error_function): Disable.
6180 * objc/objc-parse.y: Include "output.h".
6181 (yyerror): Remove redundant decl.
6182 (yyprint): Fix prototype.
6183 (apply_args_register_offset): Remove redundant decl.
6184 (get_file_function_name): Likewise.
6186 Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
6188 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
6190 (find_basic_blocks_1): Likewise.
6192 Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6194 * except.c (use_eh_context): Don't copy_rtx a REG.
6195 (emit_throw): Lose old unwinder support.
6196 (expand_internal_throw): Likewise.
6197 * libgcc2.c (struct eh_context): Likewise.
6198 (new_eh_context): Likewise.
6199 (__get_eh_info): Lose redundant cast.
6200 (__get_dynamic_handler_chain): Likewise.
6201 (__get_saved_pc): Lose.
6202 Lose all old unwinder support code.
6204 Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
6206 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
6208 * integrate.c (expand_inline_function): If the inline fn uses eh
6209 context, make sure that the current fn has one.
6210 * toplev.c (rest_of_compilation): Call emit_eh_context.
6211 * except.c (use_eh_context): New fn.
6212 (get_eh_context_once): New fn.
6213 (call_get_eh_context): New fn.
6214 (emit_eh_context): New fn.
6215 (get_eh_context): Call either get_eh_context_once or
6216 call_get_eh_context, depending on what we have.
6217 (get_dynamic_handler_chain): Call get_eh_context_once.
6218 * except.h: Prototypes for fns above.
6219 * optabs.c (get_eh_context_libfunc): Removed.
6220 (init_optabs): Don't initialize it.
6221 * expr.h (get_eh_context_libfunc): Removed.
6222 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
6223 * config/pa/pa.h (CPP_SPEC): Support for -threads.
6224 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
6225 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
6226 New multilib for -threads.
6227 * config/sparc/t-sol2: Added multilibs for -threads and
6228 made -pthreads alias to it.
6229 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
6230 Added -threads and -pthreads options.
6231 * libgcc-thr.h: New file.
6232 * libgcc2.c: (__get_cpp_eh_context): Removed.
6233 (struct cpp_eh_context): Removed.
6234 (struct eh_context): Replaced cpp_eh_context with generic language
6236 (__get_eh_info): New function.
6237 (__throw): Check eh_context::info.
6239 * libgcc2.c: Include libgcc-thr.h.
6240 (new_eh_context, __get_eh_context,
6241 eh_pthread_initialize, eh_context_initialize, eh_context_static,
6242 eh_context_specific, eh_context_free): New functions.
6243 (get_eh_context, eh_context_key): New variables.
6244 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
6245 get_eh_context to get the context.
6246 (longjmp): Move the declaration inside
6247 #ifdef DONT_USE_BUILTIN_SETJMP.
6248 * frame.c: Include libgcc-thr.h.
6249 (object_mutex): Mutex to protect the object list.
6250 (find_fde, __register_frame, __register_frame_table,
6251 __deregister_frame): Hold the lock while accessing objects.
6252 * except.h (get_eh_context): Declare.
6253 * except.c (current_function_ehc): Define.
6254 (current_function_dhc, current_function_dcc): Removed.
6255 (get_eh_context): New function.
6256 (get_dynamic_handler_chain): Use get_eh_context.
6257 (get_saved_pc_ref): Ditto.
6258 (get_dynamic_cleanup_chain): Removed references to
6259 current_function_dcc.
6260 (save_eh_status, restore_eh_status): Save and restore
6261 current_function_ehc instead.
6262 * optabs.c (get_eh_context_libfunc): New variable.
6263 (init_optabs): Initialize it.
6264 * expr.h: Declare get_eh_context_libfunc.
6265 * function.h (struct function): Replaced dhc and dcc with ehc.
6266 * except.c (get_saved_pc_ref): New functions.
6267 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
6268 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
6270 (end_eh_unwinder): Likewise.
6271 (init_eh): Remove initialization of eh_saved_pc.
6272 * optabs.c (get_saved_pc_libfunc): New variable.
6273 (init_optabs): Initialize it.
6274 * expr.h: Declare get_saved_pc_libfunc.
6275 * except.h (eh_saved_pc_rtx): Deleted.
6276 (get_saved_pc_ref): Declared.
6278 From Scott Snyder <snyder@d0sgif.fnal.gov>:
6279 * libgcc2.c (__get_saved_pc): New.
6280 (__eh_type, __eh_pc): Deleted.
6281 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
6282 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
6285 Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
6287 * sparc/sol2.h: Use 64 bit multiply and divide functions in
6288 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
6291 * rtl.h (global_rtl): New variable, replacing separate variables for
6293 (const_int_rtx): Now array of rtx_def, not rtx.
6294 * emit-rtl.c: Update for new rtl data structures.
6295 * genattrtab.c: Define global_rtl.
6297 Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
6299 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
6302 Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
6304 * crtstuff.c (__do_global_ctors): Fix typo.
6306 Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
6308 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6309 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6311 Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
6313 * rs6000.h (FUNCTION_ARG_PADDING): Define.
6314 * rs6000.c (function_arg_padding): New function.
6316 Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
6318 * m68k.c: Include tree.h only once.
6320 Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6322 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
6324 Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
6326 * Partially cleaned up prototyping code from HJ.
6327 * tree.h: Add many prototypes.
6328 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
6329 All references changed.
6330 * rtl.h: Protect from multiple inclusions. Add many prototypes.
6332 Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
6334 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
6335 string functions like strlen.
6337 Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
6339 * configure.in: Check for functions getrlimit and setrlimit.
6340 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6341 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6343 Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
6345 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
6347 Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
6349 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
6352 * alpha.c (override_options): Don't know about scheduling for EV6.
6353 * alpha.md (ev5 function units): Don't overload as ev6.
6355 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
6356 * alpha.md (define_attr type): Add mvi.
6357 (ev5_e0): Define sceduling parameters for it.
6358 (TARGET_MAX insns): Type is mvi not shift.
6360 Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
6362 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
6364 Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6366 * cstamp-h, auto-config.h: Delete.
6368 Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
6370 * version.c: Bump for snapshot.
6372 Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
6374 * cccp.c: Fix typo brought over in merge.
6376 * Merge in changes from gcc-2.8.
6378 Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
6380 * m68k.c: Include tree.h for dwarf2out_cfi_label.
6382 * gcc.c (process_command): Do not take address of function fatal when
6383 calling lang_specific_driver.
6385 Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
6387 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
6388 doesn't work with it yet, so set it to 0.
6389 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
6391 Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
6393 * cse.c (cse_insn): Check for invalid entries when taking references.
6395 Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6397 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
6398 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
6399 * toplev.c (rest_of_compilation): Pass it. Remove code to
6400 save / clear / restore flag_unroll_{,all_}loops.
6402 Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6404 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
6406 Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
6408 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
6410 Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
6412 * except.c (get_dynamic_handler_chain): Only make the call once per
6415 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
6417 Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6419 * sh.c (final_prescan_insn): Use local label prefix
6420 when emitting .uses pseudo-ops.
6422 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6424 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
6425 * except.c: Lose outer_context_label_stack.
6426 (expand_eh_region_end): Rethrow from outer_context here.
6427 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
6428 (expand_internal_throw): Take no args.
6429 (expand_internal_throw_indirect): Lose.
6430 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
6431 (expand_start_all_catch): Start a rethrow region.
6432 (expand_end_all_catch): End it.
6433 (expand_rethrow): New fn.
6434 * except.h: Reflect above changes.
6435 * flow.c: Revert change of Nov 27.
6437 Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
6439 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
6441 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6443 * except.c (expand_fixup_region_end): New fn.
6444 (expand_fixup_region_start): Likewise.
6445 (expand_eh_region_start_tree): Store cleanup into finalization here.
6446 * stmt.c (expand_cleanups): Use them to protect fixups.
6448 Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
6450 * mips/mips.md (muldi3_r4000): Broaden the output template
6451 and attribute assignments to handle three operand dmult;
6452 rename to muldi3_internal2.
6453 (muldi3): Call the new muldi3_internal2 for R4000, and
6454 any GENERATE_MULT3 chip.
6456 Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
6458 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
6460 Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
6462 * unroll.c (find_splittable_givs): Remove last change. Handle givs
6463 with a dest_reg that was created by loop.
6465 Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
6467 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
6469 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
6471 Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
6473 * configure.in: Fix NCR entries.
6475 Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
6477 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
6478 nested exceptions correctly.
6480 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
6481 that was created by loop.
6483 Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
6485 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
6487 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
6489 Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
6491 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
6492 (print_operand): Use SMALL_DATA_REG for the register involved in
6493 small data relocations.
6494 (print_operand_address): Ditto.
6496 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
6497 -dynamic linker is not used.
6499 * rs6000.md (call insns): For local calls, use @local suffix under
6500 System V. Don't use @plt under Solaris.
6502 * rs6000.c (output_function_profiler): Put label address in r0, and
6503 store LR in 4(sp) for System V/eabi.
6505 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
6506 byte boundary, and maintain stack backchain.
6508 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6510 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6511 fix_truncsfdi2): Change *.
6513 Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
6515 * toplev.c (main): Complain about -gdwarfn.
6517 Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
6519 * dwarfout.c (output_type): If finalizing, write out nested types
6520 of types we've already written.
6522 Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
6524 (patches originally from Geoffrey Keating)
6525 * rs6000.c (function_arg): Excess floating point arguments don't
6526 go into GPR registers after exhausting FP registers under the
6528 (function_arg_partial_nregs): Ditto.
6530 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
6533 Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
6535 * integrate.c (output_inline_function): Just unset DECL_INLINE.
6537 Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
6539 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
6542 * libgcc2.c (__throw): Initialize HANDLER.
6544 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6546 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6547 fix_truncsfdi2): Change *X to ?*X.
6549 Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
6551 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
6553 Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
6555 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
6557 Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
6559 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
6561 Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
6563 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
6564 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
6567 Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
6569 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
6570 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
6571 gas and not using the new HP assembler.
6573 Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
6575 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
6576 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
6578 Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
6580 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
6581 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
6584 Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6586 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
6588 Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
6590 * except.h: Add outer_context_label_stack.
6591 * except.c: Likewise.
6592 (expand_start_all_catch): Push the outer_context for the try block
6593 onto outer_context_label_stack.
6594 (expand_end_all_catch): Use it and pop it.
6596 Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
6598 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
6600 Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
6602 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
6604 Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
6606 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
6607 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6609 Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
6611 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
6612 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
6613 __builtin_delete, and __builtin_vec_delete.
6615 * except.c (output_exception_table): Don't bother with
6618 Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
6620 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
6621 is an in/out operand.
6622 (zero extended variants of stwm/stwm patterns): Similarly.
6624 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
6626 Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
6628 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
6630 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
6631 (output_call_frame_info): Emit a \n after using it.
6633 Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
6635 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
6637 Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
6639 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
6640 (ASM_OUTPUT_DWARF_VALUE4): New macro.
6641 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
6643 (output_call_frame_info): Do not output forward label differences
6644 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
6645 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
6647 Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6649 * sh.md (attribute "type"): Add nil.
6650 (movsi_ie): y/y alternative is type nil.
6651 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
6653 (movsf_ie+1): Delete.
6655 Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
6657 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
6658 large_int, emit two insns instead of one splitable insn.
6659 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
6660 from cfa_temp_value, use cfa_offset. Add assert checking that
6663 Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
6665 * cccp.c (deps_output): Properly quote file names for make.
6667 Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
6669 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
6671 Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
6673 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
6675 Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
6677 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
6679 (cse_end_of_basic_block): Similarly.
6681 Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
6683 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
6684 (SELECT_RTX_SECTION): Define.
6685 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
6687 Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
6689 * Makefile.in (compare, compare-lean): Define $stage for each
6691 (gnucompare, gnucompare-lean): Likewise.
6693 Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
6695 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
6697 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
6698 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6700 Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
6702 * dwarfout.c (byte_size_attribute): Add local var upper_bound
6703 and add case to handle STRING_TYPE.
6704 * dwarfout.c (output_string_type_die): Fix code to generate
6705 correct string length attribute for fixed length strings.
6706 Still needs support for varying length strings.
6708 Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
6710 * toplev.c (get_run_time): Do something sensible for cygwin32.
6712 Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
6714 * expr.c (expand_builtin_setjmp): Set
6715 current_function_has_nonlocal_label.
6716 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
6717 call-saved registers across calls.
6719 * alpha.md (exception_receiver): Remove.
6720 (nonlocal_goto_receiver_osf): New
6721 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
6722 (nonlocal_goto_receiver): New, select _osf or _vms.
6724 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
6725 keep them from being propogated to the object file.
6726 (alpha_write_linkage): Likewise.
6727 * alpha.md (call_vms): Likewise.
6728 (call_value_vms): Likewise.
6729 (unnamed osf call insns): Likewise.
6731 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
6732 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6734 * alpha.c (call_operand): Any reg is valid for WinNT.
6735 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
6736 (anon nt calls): Add 'R' alternative.
6737 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
6738 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
6740 Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
6742 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
6744 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
6745 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6746 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6748 Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
6750 * reload1.c (new_spill_reg): Improve fixed or forbidden register
6751 spill error message.
6753 Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6755 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
6756 use varargs.h. Wrap header with <>, not "".
6758 Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
6760 * integrate.c (save_for_inline_copying): Add return value from
6763 Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
6765 * fixincludes: Be a little more restrictive on what we will
6766 substitute to replace definitions of MAXINT for HPUX.
6768 Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
6770 * dbxout.c (dbxout_symbol_location): Don't assume that variables
6771 whose address is the stack or argument pointers are indirect
6774 1997-11-13 Paul Eggert <eggert@twinsun.com>
6776 * cccp.c, cpplib.c (compare_defs):
6777 Don't complain about arg name respellings unless pedantic.
6778 * cpplib.c (compare_defs): Accept pfile as new arg.
6779 All callers changed.
6781 Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6783 * fold-const.c (fold_truthop): Fix bug in last change.
6785 1997-11-13 Paul Eggert <eggert@twinsun.com>
6787 Fix some confusion with IEEE minus zero.
6789 * real.h (REAL_VALUES_IDENTICAL): New macro.
6791 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
6792 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
6794 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
6795 same tree structure as 0.0.
6797 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
6798 macro instead of doing it by hand.
6800 Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
6802 * v850/lib1funcs.asm: Minor whitespace changes.
6803 * v850.c: Fix minor formatting problems in many places.
6804 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
6806 Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
6808 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
6809 xplus1 when xplus0 is not a register.
6811 Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
6813 * flow.c (find_basic_blocks): During marking phase, if we encounter
6814 an insn with a REG_LABEL note, make the target block live and
6815 create an edge from the insn to the target block. Do not make
6816 edges from all blocks to the target block.
6818 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
6820 * confiugre.in: Tweak NCR entries.
6821 * configure: Rebuilt.
6823 Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
6825 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
6826 pick apart floating point values, instead of using CONST_DOUBLE_LOW
6827 and CONST_DOUBLE_HIGH.
6829 * rs6000.md (define_splits for DF constants): Use the appropriate
6830 REAL_VALUE_* interface to pick apart DF floating point constants in
6831 a machine independent fashion.
6833 Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6835 * fold-const.c (fold_truthop): When changing a one-bit comparison
6836 against zero into a comparison against mask, do a proper sign
6839 Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
6841 * except.c: Do not include "assert.h".
6842 (save_eh_status): Turn asserts into conditional aborts.
6843 (restore_eh_status, scan_region): Likewise.
6844 * dwarfout.c: Do not include "assert.h".
6845 (bit_offset_attribute): Turn asserts into conditional aborts.
6846 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
6847 (output_inlined_structure_type_die): Likewise.
6848 (output_inlined_union_type_die): Likewise
6849 (output_tagged_type_instantiation): Likewise.
6850 (dwarfout_file_scope_decl): Likewise.
6851 * dwarf2out.c: Do not include "assert.h"
6852 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
6853 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
6854 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
6855 (add_bit_size_attribute, scope_die_for): Likewise.
6856 (output_pending_types_for_scope): Likewise.
6857 (get_inlined_enumeration_type_die): Likewise.
6858 (get_inlined_structure_type_die): Likewise.
6859 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
6860 (gen_tagged_type_instantiation_die): Likewise.
6862 * flow.c (find_basic_blocks): Refine further to get a more correct
6863 cfg, especially in the presense of exception handling, computed
6864 gotos, and other non-trivial cases. Call abort if an inaccuracy
6865 is detected in the cfg.
6867 Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6869 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
6871 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
6872 (skip_white_space): Use whitespace_cr.
6873 (check_newline): Handle whitespace more consistently.
6875 Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
6877 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
6878 * i386/xm-cygwin32.h (POSIX): Define.
6880 Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
6882 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
6883 is available elsewhere.
6885 Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
6887 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
6888 what the instruction can handle.
6890 Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
6892 * stmt.c (expand_decl_cleanup_no_eh): New fn.
6894 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
6896 Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
6898 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
6899 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
6901 Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
6903 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
6904 swap instruction order.
6906 Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
6908 * fixinc.svr4 (__STDC__): Add another case.
6910 Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6912 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
6913 addresses in the epilogue delay slot.
6915 Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
6917 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
6918 in generated `specs' file.
6920 Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
6922 * flags.h (flag_rerun_loop_opt): Declare.
6923 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
6924 * toplev.c (flag_rerum_loop_opt): Delete static.
6926 Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6928 Bring over from FSF:
6930 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6932 * va-sh.h (__va_arg_sh1): Define.
6934 SH3E doesn't use any integer registers for subsequent arguments
6935 once a non-float value was passed in the stack.
6936 * sh.c (machine_dependent_reorg): If optimizing, put explicit
6937 alignment in front label for ADDR_DIFF_VEC.
6938 * sh.h (PASS_IN_REG_P): Fix SH3E case.
6939 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
6941 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6943 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
6946 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6948 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
6949 put an use_sfunc_addr before each sfunc.
6950 * sh.md (use_sfunc_addr, dummy_jump): New insns.
6951 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
6953 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6955 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
6957 Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
6959 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
6962 Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
6964 * alias.c (find_base_value): Only return the known base value for
6967 Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
6969 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
6970 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
6972 (prologue_get_pc_and_set_got): New pattern.
6974 Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
6976 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
6977 for SUBREG, just fall through.
6979 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
6981 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
6983 Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
6985 * fixincludes: Fix "hypot" prototype in NeXT math.h.
6987 * Makefile.in (USE_ALLOCA): Always include alloca.o.
6988 (USE_HOST_ALLOCA): Likewise.
6990 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
6991 and LABEL_REFS fields.
6992 * rtl.h (LABEL_REFS): Update.
6994 Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
6996 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
6997 sets i2dest. When calling distribute_notes for i3dest_killed, pass
6998 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
7001 * mips.md (insv, extzv, extv): Add change_address call.
7002 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
7004 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
7006 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
7008 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
7009 save_restore_insns if no FP and GP will be restored.
7011 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
7012 Convert CCmode to word_mode before calling GET_MODE_SIZE.
7014 * acconfig.h (HAVE_INTTYPES_H): Undef.
7015 * configure.in (inttypes.h): Check for conflicts between sys/types.h
7016 and inttypes.h, and verify that intmax_t is defined.
7017 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
7018 * config/mips/x-iris3: Likewise.
7020 Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
7022 * alias.c (find_base_value): When copying arguments, return the
7023 tenative value for a hard register.
7025 Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
7027 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
7028 (yylex): Record wide strings using target endianness, not host.
7030 Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
7032 * mn10200.h (ASM_OUTPUT_BSS): Delete.
7033 (ASM_OUTPUT_ALIGNED_BSS): New macro
7034 * mn10300.h (ASM_OUTPUT_BSS): Delete.
7035 (ASM_OUTPUT_ALIGNED_BSS): New macro.
7036 * v850.h (ASM_OUTPUT_BSS): Delete.
7037 (ASM_OUTPUT_ALIGNED_BSS): New macro.
7039 Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7041 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
7043 Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
7045 * configure.in (sco5): Use cpio to install header files.
7047 Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
7049 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
7051 * configure: Rebuild.
7053 Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
7055 * i386/sco5.h: enable -gstabs once again.
7057 Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
7059 * arm.c (output_move_double): Allocate 3 entries in otherops array.
7061 Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
7063 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
7064 notes for sjlj exceptions too.
7065 (expand_eh_region_end): Similarly for EH_REGION_END notes.
7066 (exception_optimize): Optimize EH regions for sjlj exceptions too.
7067 * final.c (final_scan_insn): Don't output labels for EH REGION
7068 notes if doing sjlj exceptions.
7070 Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
7072 * alias.c (init_alias_analysis): Handle -fno-alias-check when
7073 optimizing correctly.
7075 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
7076 or set current_function_calls_setjmp anymore.
7078 * flow.c (find_basic_blocks): If we delete the label for an
7079 exception handler, remove it from the EH label list and remove
7080 the EH_BEGIN/EH_END notes for that EH region.
7082 Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
7084 * flow.c (find_basic_blocks): Generate correct flow control
7085 information when exception handling notes are present.
7087 Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
7089 * dwarf2out.c (output_call_frame_info): Fix length argument
7090 to ASM_OUTPUT_ASCII.
7091 (output_die, output_pubnames, output_line_info): Likewise.
7093 Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
7095 * version.c: Bump for snapshot.
7097 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
7098 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
7099 flag_debug_asm is on.
7100 (output_die, output_pubnames, output_line_info): Likewise.
7102 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
7103 and static_chain_rtx into the potential base values array if
7106 * alias.c (new_reg_base_value): New array of potential base values.
7107 (unique_id): Now file scoped static.
7108 (find_base_value, case REG): Return the value in reg_base_value
7109 array for the REG if it exists. Else, return the value from
7110 new_reg_base_value if copying args and REG is a hard register.
7111 (find_base_value, case PLUS): If either operand of the PLUS is
7112 a REG, try to get its base value. Handle base + index and
7114 (record_set): Use new_reg_base_value instead of reg_base_value.
7115 (init_alias_analysis): Allocate space for new_reg_base_value too.
7116 Rework code to iterate over the insns propagating base value
7117 information until nothing changes.
7119 * global.c (global_alloc): Free the conflict matrix after
7120 reload has finished.
7122 Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
7124 * libgcc2.c (L_eh): Define __eh_pc.
7125 Replace __eh_type with generic pointer __eh_info.
7127 Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
7129 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
7130 use copy_to_reg if address is not a general_operand.
7132 Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7134 * profile.c (output_func_start_profiler): Clear flag_inline_functions
7135 for the duration of the call to rest_of_compilation.
7137 Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
7139 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
7141 (sparc*-*-*): Recognize --with-cpu=v9.
7142 * sparc/elf.h: New file.
7143 * sparc/t-elf: New file.
7145 Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
7147 * mn10300.c (const_8bit_operand): New function.
7148 (mask_ok_for_mem_btst): New funtion.
7149 * mn10300.md (btst patterns with mem operands): Use new functions
7150 to avoid creating btst instructions with invalid operands.
7152 Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
7154 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
7155 are running on PowerPC Linux.
7157 Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
7159 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
7160 if not previously defined.
7162 Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
7164 * function.c (assign_parms): Correct mode of stack_parm if
7165 entry_parm underwent a mode conversion.
7167 1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
7169 * global.c (global_alloc): Use xmalloc instead of alloca for
7170 CONFLICTS, since max_allocno * allocno_row_words alone can be more
7171 than 2.5Mb sometimes.
7173 Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
7175 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
7176 DEST for the spill, adjust mode of SRC to compensate.
7178 Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
7180 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
7181 since any_memory_operand() allows pseudos during reload.
7182 (reload_inhi, reload_outqi, reload_outhi): Likewise.
7184 Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
7186 * m68k.md (btst patterns): Add 5200 support.
7188 Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7190 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
7191 optimizations, look inside dividend to determine if the expression
7192 can be simplified by using EXACT_DIV_EXPR.
7194 Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
7197 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
7199 Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
7201 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
7203 Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
7205 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
7208 Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
7210 * alpha.md (movqi, movhi): Make sure new insns created during reload
7211 won't need reloading themselves.
7212 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
7214 Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
7216 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
7218 Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
7220 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
7221 Patch from Klaus Kaempf <kkaempf@progis.de>.
7223 Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
7225 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
7226 to an element in a constant string.
7228 Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
7230 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
7231 bit PC-relative offset. The exception range table pointer is now in
7233 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
7234 (count_fdes, add_fdes, get_cie): Adjust.
7235 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
7238 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
7240 Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
7242 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
7243 like stack_pointer_rtx.
7245 Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
7247 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
7248 targets using "$@" to provide support for similar but not identical
7249 targets without having to duplicate code.
7250 (bootstrap4): New goal.
7252 * Makefile.in (compare, compare-lean, compare3): Combined to one
7253 ruleset determining actions to be performed via $@.
7254 (compare4, compare4-lean): New targets.
7255 (gnucompare, gnucompare3): Combined to one ruleset determining
7256 actions to be performed via $@. Also, note which files failed
7257 the comparison test in .bad_compare.
7258 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
7260 Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7262 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
7263 if the dividend is a multiple of the divisor.
7265 Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
7267 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
7269 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
7272 * alias.c (true_dependence): Fix typo.
7274 * toplev.c (flag_rerun_loop_opt): New variable.
7275 (f_options): Handle -frerun-loop-opt.
7276 (rest_of_compilation): If -frerun-loop-opt, then run the loop
7278 (main): Enable -frerun-loop-opt by default for -O2 or greater.
7280 * loop.c (simplify_giv_expr): Adding two invariants results
7283 Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
7285 * expr.c (get_inner_reference): Remove the array bias after
7286 converting the index to Pmode.
7288 Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
7290 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
7291 (TARGET_MULT_BUG): Define.
7292 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
7293 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
7295 Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
7297 * mn10200.c (indirect_memory_operand): Delete unused function.
7298 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
7299 * mn10200.md (bset, bclr insns): Handle output in a reg too.
7301 Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
7303 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
7304 the callee's ldgp, we must do it ourselves, and we use the jsr tag
7305 for more than scheduling.
7307 Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
7309 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
7311 Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
7313 * mn10300.c (symbolic_operand, legitimize_address): New functions.
7314 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
7315 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
7317 Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
7319 * version.c: Bump for snapshot.
7321 Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7323 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
7326 Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
7328 * toplev.c (flag_exceptions): Default value is 2.
7329 (compile_file): If flag_exceptions still has the value 2, then
7332 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
7333 (rs6000_save_machine_status): Save pic_offset_table_rtx.
7334 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
7336 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
7339 * rs6000.md (*movsi_got_internal_mem): New pattern.
7340 (*movsi_got_internal_mem splitter): New define_split.
7342 Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
7344 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
7346 Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7348 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
7349 only need to save LR.
7351 Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
7353 * mn10300.md (movqi, movhi): Avoid using address registers as
7354 destinations unless absolutely necessary.
7356 * mn10200.c (expand_prologue): Fix typo.
7358 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
7360 * mn10200.md (neghi2): Provide an alternative which works if
7361 the input and output register are the same.
7363 * mn10300.c (print_operand): Handle 'S'.
7364 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
7365 shift amount in last alternative
7367 * mn10300.c (expand_epilogue): Rework to handle register restores
7368 in "ret" and "retf" instructions correctly.
7370 Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
7372 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
7373 extzv for memory operands.
7375 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
7376 redundant conditional moves to single operand.
7378 Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
7380 * v850.h: Move define of __v850__ from CPP_PREDEFINES
7383 * xm-v850.h: Use __v850 rather than __v850__ to
7386 Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
7388 * mips/mips.c (compute_frame_size): Not a leaf function if
7391 Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7393 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
7395 Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
7397 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
7398 (DEFAULT_ARCH32_P): New macro.
7399 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
7400 (enum cmodel): Declare.
7401 (sparc_cmodel_string,sparc_cmodel): Declare.
7402 (SPARC_DEFAULT_CMODEL): Provide default.
7403 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
7404 (TARGET_FULLANY): Deleted.
7405 (TARGET_CM_MEDMID): New macro.
7406 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
7407 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7408 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
7409 (CPP_SPEC): Rewrite.
7410 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7411 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
7412 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7413 (ASM_SPEC): Add %(asm_arch).
7414 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
7415 Rename asm_default to asm_cpu_default.
7416 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
7417 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
7418 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
7419 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
7420 (MASK_INT64,MASK_LONG64): Delete.
7421 (MASK_ARCH64): Renamed to MASK_64BIT.
7422 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
7423 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
7424 (TARGET_SWITCHES): Always provide 64 bit options.
7425 (ARCH64_SWITCHES): Delete.
7426 (TARGET_OPTIONS): New option -mcmodel=.
7427 (INT_TYPE_SIZE): Always 32.
7428 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
7429 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
7430 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
7431 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
7432 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
7434 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7435 * sparc/linux.h: Likewise.
7436 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
7437 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7438 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
7439 (SPARC_DEFAULT_CMODEL): Define.
7440 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7441 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7442 (LONG_DOUBLE_TYPE_SIZE): Define.
7443 (ASM_SPEC): Add %(asm_arch).
7444 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7445 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7446 (TARGET_CPU_DEFAULT): Add ultrasparc case.
7447 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
7448 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
7449 (SPARC_DEFAULT_CMODEL): Define.
7450 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
7451 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
7452 MASK_LONG64, MASK_MEDANY.
7453 (SPARC_DEFAULT_CMODEL): Define.
7454 (CPP_PREDEFINES): Delete.
7455 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7456 (ASM_SPEC): Add %(asm_arch).
7457 (LONG_DOUBLE_TYPE_SIZE): Define.
7458 (DWARF2_DEBUGGING_INFO): Define.
7459 * sparc/splet.h (CPP_SPEC): Delete.
7460 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7461 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
7462 (BLOCK_PROFILER): Likewise.
7463 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
7464 (sparc_override_options): Handle code model selection.
7465 (sparc_init_expanders): Renamed from sparc64_init_expanders.
7466 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
7467 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
7468 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
7469 (sethi_di_fullany): Delete.
7471 Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
7472 Jeff Law <law@cygnus.com>
7473 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7475 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
7476 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
7477 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
7478 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
7479 * alpha/alpha.md (arg_home): Likewise.
7481 * alpha/alpha.c (vmskrunch): Delete
7482 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
7483 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
7484 truncate to 64 characters.
7486 * make-l2.com: Support openVMS/Alpha.
7488 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
7490 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7492 * longlong.h (count_leading_zeros): Add missing casts to USItype.
7494 Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
7496 * i386/bsd386.h (ASM_COMMENT_START): Define.
7498 Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
7500 * tree.c (restore_tree_status): Also free up temporary storage
7501 when we finish a toplevel function.
7502 (dump_tree_statistics): Print stats for backend obstacks.
7504 Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
7506 * expr.c (use_group_regs): Don't call use_reg for MEMs.
7508 Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
7510 * libgcc2.c (__throw): Don't copy the return address.
7511 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
7513 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
7514 * toplev.c (main): Initialize exceptions_via_longjmp.
7516 * tree.c: Add extra_inline_obstacks.
7517 (save_tree_status): Use it.
7518 (restore_tree_status): If this is a toplevel inline obstack and we
7519 didn't want to save anything on it, recycle it.
7520 (print_inline_obstack_statistics): New fn.
7521 * function.c (pop_function_context_from): Pass context to
7522 restore_tree_status.
7523 * obstack.h (obstack_empty_p): New macro.
7525 Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
7527 * i386/freebsd.h (ASM_COMMENT_START): Fix.
7529 Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
7531 * v850.c (ep_memory_offset): New function.
7532 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
7534 * v850.h (CONST_OK_FOR_*): Add and correct comments.
7535 (CONSTANT_ADDRESS_P): Add comment.
7536 (EXTRA_CONSTRAINT): Define 'U'.
7537 * v850.md: Add comments on bit field instructions.
7538 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
7539 (lshrsi3): Use N not J constraint.
7541 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
7543 * v850.c (reg_or_0_operand): Call register_operand.
7544 (reg_or_int5_operand): Likewise.
7545 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
7546 (TARGET_SWITCHES): Add "big-switch".
7547 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
7548 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
7549 (CASE_DROPS_THROUGH): Comment out.
7550 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
7551 * v850.md (cmpsi): Delete compare mode.
7552 (casesi): New pattern.
7554 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
7555 * v850.md (ashlsi3): Use SImode not QImode for shift count.
7556 (lshrsi3): Likewise.
7558 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
7559 unreachable switch statement after 'b' support. Remove "b" from
7560 strings for 'b' support.
7561 * v850.md (branch_normal, branch_invert): Change %b to b%b.
7563 Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
7565 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
7566 empty line if @inhibit_libc@ is empty.
7568 Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
7570 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
7571 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
7572 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7573 (DWARF2_UNWIND_INFO): Let this track object file format.
7574 (EXTRA_SECTIONS): Add in_eh.
7575 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
7576 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7578 Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
7580 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
7581 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
7583 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
7584 (output_double_int): Output DI mode values correctly when
7585 HOST_BITS_PER_WIDE_INT is 64.
7586 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
7587 fmovd so it works if a quad float ends up in one of the upper 32
7589 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
7590 necessary for PIC support on sparc64.
7592 Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
7594 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
7595 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
7596 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
7597 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
7598 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
7599 (SPARC_FP_ARG_FIRST): New macro.
7600 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
7601 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
7602 (NPARM_REGS): There are 32 fp argument registers now.
7603 (FUNCTION_ARG_REGNO_P): Likewise.
7604 (FIRST_PARM_OFFSET): Update to new v9 abi.
7605 (REG_PARM_STACK_SPACE): Define for arch64.
7606 (enum sparc_arg_class): Delete.
7607 (sparc_arg_count,sparc_n_named_args): Delete.
7608 (struct sparc_args): Redefine and use for arch32 as well as arch64.
7609 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
7610 (FUNCTION_ARG_ADVANCE): Rewrite.
7611 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
7612 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
7613 (FUNCTION_ARG_CALLEE_COPIES): Delete.
7614 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
7615 (STRICT_ARGUMENT_NAMING): Define.
7616 (doublemove_string): Declare.
7617 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
7618 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
7619 (doublemove_string): New function.
7620 (output_move_quad): Clean up some of the arch64 support.
7621 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
7622 Don't add 8 bytes of reserved space if arch64.
7623 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
7624 (init_cumulative_args): New function.
7625 (function_arg_slotno): New static function.
7626 (function_arg,function_arg_partial_nregs): New functions.
7627 (function_arg_{pass_by_reference,advance}): New functions.
7628 (function_arg_padding): New function.
7629 * ginclude/va-sparc.h: Rewrite v9 support.
7631 Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
7633 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
7634 for hard regs to determine base and index registers.
7636 * reload.c (debug_reload_to_stream): New function. Specify stream
7637 into which to write debug info.
7638 (debug_reload): Modify to call debug_reload_to_stream with stderr.
7640 Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
7642 * combine.c (can_combine_p): Don't combine with an asm whose
7643 output is a hard register.
7645 Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
7647 * c-decl.c (start_struct): Ensure that structs with forward
7648 declarations are in fact packed when -fpack-struct is given.
7650 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
7651 we are packing a structure. This allows a structure with only
7652 bytes to be aligned on a byte boundary and have no padding on a
7655 Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7657 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
7659 Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
7661 * alpha.c (alpha_return_addr_rtx): New variable.
7662 (alpha_save_machine_status): New; save it.
7663 (alpha_restore_machine_status): New; restore it.
7664 (alpha_init_expanders): New; clear it.
7665 (alpha_return_addr): New; set it.
7666 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
7667 is overly conservative, so search the insns explicitly.
7668 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
7669 (alpha_sa_size [VMS && !VMS]): Likewise.
7670 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
7671 (INIT_EXPANDERS): New definition.
7673 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
7674 (output_prolog [!VMS]): Use them.
7676 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
7677 (alpha_does_function_need_gp): ... a new function. Refine the
7678 CALL_INSN test to just TYPE_JSR.
7679 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
7681 Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
7683 * version.c: Bump for snapshot.
7685 Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7687 * pa.c (move_operand): Respect -mdisable-indexing.
7688 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
7690 Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
7692 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
7694 (umulsidi3,umulsi3_highpart): Ditto.
7695 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
7697 Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
7699 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
7700 (alpha_handle_trap_shadows): ... a new function. Handle the entire
7701 function in one go. Emit RTL for trapb, instead of printf directly.
7702 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
7703 (trap_pending): Kill global variable.
7704 (output_epilog): Don't call final_prescan_insn.
7705 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
7706 * alpha.h (FINAL_PRESCAN_INSN): Remove.
7707 (MACHINE_DEPENENT_REORG): Define.
7708 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
7711 Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
7713 Tune Haifa scheduler for Alpha:
7714 * alpha.h (ISSUE_RATE): Define.
7715 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
7716 EV4 adjustments to EV5.
7717 * alpha.md: Remove all scaling from function unit delays. Rework
7718 EV5 function units to match the CPU.
7719 (umuldi3_highpart): EV5 added the IMULH insn class.
7721 Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
7723 * pa.c (following_call): Fail if the CALL_INSN is an indirect
7726 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
7728 * cplus-dem.c (demangle_signature): Don't look for return types on
7729 constructors. Handle member template constructors.
7731 Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
7733 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
7734 * tree.h: Declare them.
7736 Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
7738 * configure.in: Handle --with-newlib.
7739 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
7741 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
7743 Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
7745 * config/ptx4.h: Fix typo.
7747 Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
7749 * version.c: Bump for snapshot.
7751 Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
7753 * aclocal.m4: Substitute INSTALL.
7754 * configure: Re-built.
7756 Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
7758 * integrate.c (save_for_inline_copying): Avoid undefined pointer
7760 (expand_inline_function): Likewise.
7762 * dwarf2out.c (output_call_frame_info): Reinstate last change
7763 using flag_debug_asm check instead of flag_verbose_asm.
7765 Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
7767 * dwarf2out.c (output_call_frame_info): Remove last change.
7769 1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7771 * frame.c (__frame_state_for): Execute the FDE insns until the
7772 current pc value is strictly bigger than the target pc value.
7774 Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
7776 * regclass.c (init_reg_modes): If we can't find a mode for the
7777 register, use the previous one.
7779 Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
7781 * haifa-sched.c (print_block_visualization): Call fprintf directly,
7782 don't sprintf through an alloca'ed buffer.
7784 Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
7786 * reload.c (decompose): Always initialize val.base.
7788 Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7790 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
7791 instead of aborting.
7792 * dwarf2out.c (output_call_frame_info): Call app_enable and
7793 app_disable to let GNU as accept the generated comments.
7795 Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
7797 * tree.h (get_file_function_name): Add declaration.
7798 * dwarf2out.c (output_call_frame_info): No need to cast
7799 get_file_function_name call anymore.
7800 * profile.c (toplevel): Remove get_file_function_name
7802 * c-lang.c (finish_file): Ditto.
7804 Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
7806 * Makefile.in (program_transform_name): Let autoconf substitute
7809 Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
7811 * haifa-sched.c (schedule_block): If the first real insn in a
7812 block has any special notes attached to it, remove them.
7814 Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
7816 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
7818 Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7820 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
7822 Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
7824 * Makefile.in (check-g77): New test target.
7825 (CHECK-TARGETS): Add check-g77.
7827 Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
7829 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
7831 Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
7833 * flow.c (print_rtl_with_bb): Cast alloca return value for
7836 Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
7838 * i386.h (RETURN_ADDR_RTX): New definition that works for
7839 __builtin_return_address(0) and -fomit-frame-pointer.
7841 Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
7843 Bring over from FSF.
7844 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
7846 * mips.c (function_arg): Handle passing a struct
7847 containing a double in a DFmode register without the PARALLEL.
7849 Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
7851 * pexecute.c: Use spawn if __CYGWIN32__.
7853 * pexecute.c: Include "config.h" first, as per autoconf manual
7854 (from Paul Eggert <eggert@twinsun.com>).
7856 Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7858 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
7859 optimisation for f/expr.o and f/stb.o.
7861 Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
7863 * cse.c (this_insn_cc0_mode): Initialize.
7865 Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
7867 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
7869 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
7871 Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
7873 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
7874 that pair will dual-issue on the 21164 and plus+beq won't.
7875 (bne): Likewise for cmpeq+beq.
7877 Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
7879 * except.c (find_exception_handler_labels): Correct argument to free.
7881 Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
7883 * except.c (find_exception_handler_labels): Free LABELS when we're
7886 Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
7888 * version.c: Bump for snapshot.
7890 Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
7892 * flow.c (find_basic_blocks): Mark calls as potentially jumping
7895 Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
7897 * configure.in: Substitute for "install" too.
7898 * configure: Rebuilt.
7900 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
7902 * Makefile.in (bootstrap-lean, compare-lean): New targets.
7904 Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
7906 * alias.c (base_alias_check): Two symbols can conflict if they
7907 are accessed via AND.
7908 (memrefs_conflict_p): Likewise.
7910 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
7911 after flushing argument registers to the stack.
7913 * Makefile.in (mostlyclean): Remove .regmove files.
7915 Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
7917 * libgcc2.c (__throw): Fix thinko.
7919 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
7921 * cplus-dem.c (demangle_template): Add new parameter. Handle new
7922 template-function mangling.
7923 (consume_count_with_underscores): New function.
7924 (demangle_signature): Handle new name-mangling scheme.
7926 Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7928 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
7931 Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
7933 * frame.c: Remove last change.
7934 * dwarf2.h: Remove last change.
7935 * tree.h: Add declarations of DWARF2 unwind info support
7938 Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
7940 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
7941 * tree.h (built_in_function): Likewise.
7942 * expr.c (expand_builtin): Likewise.
7943 * except.h: Likewise.
7944 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
7945 * libgcc2.c (copy_reg): New fn.
7948 Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
7950 * c-typeck.c (build_binary_op): Warn about comparing signed vs
7951 unsigned if -W is specified and -Wno-sign-compare is not.
7952 * c-decl.c (warn_sign_compare): Initialize to -1.
7953 (c_decode_option): -Wall no longer implies -Wsign-compare.
7955 Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7957 * frame.c: Include gansidecl.h for PROTO.
7958 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
7959 defined. Don't declare dwarf2out_cfi_label here.
7960 * dwarf2.h: Add declarations of DWARF2 unwind info support
7962 * m68k.c: Include dwarf2.h.
7963 (output_function_prologue): Add dwarf2 support.
7964 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
7965 (INCOMING_FRAME_SP_OFFSET): Likewise.
7967 * integrate.c (expand_inline_function): Make sure there is at
7968 least one insn that can be used as an insertion point.
7970 Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
7972 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
7974 Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
7976 * version.c: Bump for snapshot.
7978 Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
7980 Bring over from FSF.
7982 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
7984 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
7985 (get_pc_via_rdpc): Renamed from get_pc_sp64.
7986 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
7988 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
7990 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
7991 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
7993 (sparc_align_{loops,jumps,funcs}_string): Declare.
7994 (sparc_align_{loops,jumps,funcs}): Declare.
7995 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
7996 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
7997 (STACK_BIAS): Define.
7998 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
8000 (SPARC_SETHI_P): New macro.
8001 (CONST_OK_FOR_LETTER_P): Use it.
8002 (ASM_OUTPUT_ALIGN_CODE): Define.
8003 (ASM_OUTPUT_LOOP_ALIGN): Define.
8004 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
8005 (sparc_align_{loops,jumps,funcs}): New globals.
8006 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
8008 (move_operand): Use SPARC_SETHI_P.
8009 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
8011 (arith11_double_operand): Likewise.
8012 (arith10_double_operand): Likewise.
8013 (finalize_pic): Finish sparc64 support.
8014 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
8015 64 bit constants if able.
8016 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
8017 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
8019 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
8020 (get_pc_sp32): Use for sparc64 as well.
8021 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
8022 (sethi_di_sp64_const): Likewise.
8023 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
8024 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
8025 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
8027 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
8029 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
8030 * sparc/linux.h (COMMENT_BEGIN): Likewise.
8031 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
8033 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
8035 Add sparc64 linux support.
8036 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
8037 to xm_file list on 32-bit sparc-linux.
8038 * sparc/xm-sp64.h: New file.
8039 * sparc/linux64.h: New file.
8040 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
8041 Don't include xm-sparc.h.
8042 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
8043 * glimits.h (LONG_MAX): Handle sparc64.
8045 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
8047 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
8048 * sparc.h (ASM_COMMENT_START): Define.
8049 * sparc.c (output_function_prologue): Use it.
8050 (sparc_flat_output_function_{epi,pro}logue): Likewise.
8052 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
8054 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
8055 use sparc.h's copies.
8056 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
8059 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8061 * sparc.c (dwarf2out_cfi_label): Add declaration.
8062 (save_regs, output_function_prologue): Remove cast for it.
8063 (sparc_flat_{save_restore,output_function_prologue): Likewise.
8064 ({save,restore}_regs): No longer inline.
8066 Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8068 * fold-const.c (make_range): Correctly handle cases of converting
8069 from unsigned to signed type.
8071 Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8073 * fold-const.c (merge_ranges): Make sure that if one range is subset
8074 of another, it will always be the second range. Correct (+,-) case to
8077 Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
8079 * final.c (final_end_function): Also do dwarf2 thing if
8080 DWARF2_DEBUGGING_INFO.
8081 (final_start_function): Likewise.
8083 Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
8085 * expmed.c (expand_divmod): If compute_mode is not the same as
8086 mode, handle the case where convert_modes() causes op1 to no
8087 longer be a CONST_INT.
8089 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
8090 note holding get_jump_flags() calculation to all JUMP_INSNs.
8091 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
8092 * rtl.c (reg_note_name): Add new note types.
8094 Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
8096 * rtlanal.c (computed_jump_p): Fix typo in last change.
8098 Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8100 * loop.c (indirect_jump_in_function_p): Return 0
8103 Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
8105 * rs6000/xm-rs6000.h: Fix thinko in last change.
8106 * rs6000/xm-sysv4.h: Likewise.
8108 Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
8110 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
8112 Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
8114 * reg-stack.c (find_blocks): Fix thinko in last change.
8116 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8118 * m68k.c (output_function_prologue): Add dwarf2 support.
8120 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
8121 INCOMING_FRAME_SP_OFFSET): New definitions.
8123 Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
8125 * combine.c (try_combine): Use NULL_RTX instead of '0' where
8126 appropriate in calls to gen_rtx().
8127 * cse.c (cse_main): Likewise.
8128 * emit-rtl.c (gen_label_rtx): Likewise.
8129 * expr.c (init_expr_once): Likewise.
8130 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
8131 sched_analyze, init_rgn_data_dependences,
8132 compute_block_backward_dependences): Likewise.
8133 * sched.c (schedule_insns): Likewise.
8134 * varasm.c (immed_double_const): Likewise.
8136 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
8137 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
8139 Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
8141 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
8142 (MULTILIB_DEFAULTS): Define.
8143 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
8144 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
8145 (LIBGCC_SPEC): Likewise.
8146 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
8147 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
8148 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
8149 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
8150 (EXTRA_PARTS, TAROUTOPTS): Delete.
8151 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
8152 (MULTILIB_OPTIONS): Define.
8153 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
8154 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
8156 Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
8158 * version.c: Bump for snapshot.
8160 Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
8162 * loop.c (loop_number): Delete function. Change all references
8163 to use uid_loop_num array.
8164 * loop.h (loop_number): Delete declaration.
8165 * unroll.c (unroll_loop): Change "loop_number" references to
8166 use uid_loop_num instead.
8168 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
8170 (loop_unroll_iter): Remove unused variable and all references.
8171 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
8172 (insert_bct): Fix minor formatting problems.
8173 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
8174 (loop_unroll_iter): Removed unused decl.
8175 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
8176 Always record the unrolling factor.
8178 * cse.c (simplify_relational_operation): Set h0u just like h0s.
8179 Similarly for h1u and h1s.
8181 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
8182 (find_basic_blocks): Use computed_jump_p to determine if a
8183 particular JUMP_INSN is a computed jump.
8184 * reg-stack.c (find_blocks): Use computed_jump_p to determine
8185 if a particular JUMP_INSN is a computed jump.
8186 * rtlanal.c (jmp_uses_reg_or_mem): New function.
8187 (computed_jump_p): Likewise.
8188 * rtl.h (computed_jump_p): Declare.
8189 * genattrtab.c (pc_rtx): Define and initialize.
8190 * loop.c (loop_optimize): Always determine if the current
8191 function has a computed jump.
8192 (indirect_jump_in_function_p): Use computed_jump_p to determine
8193 if a particular JUMP_INSN is a computed jump.
8195 * loop.c (fix_bct_param): Delete unused function.
8196 (check_bct_param): Likewise.
8198 Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
8200 * frame.c (__deregister_frame): Check properly for initialized object.
8202 Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8204 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
8206 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8208 * jump.c (thread_jumps): check can_reverse_comparison_p before
8209 threading a reversed-condition jump.
8211 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
8212 * haifa-sched.c (update_flow_info): Likewise.
8214 Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
8216 * Makefile.in (BOOT_CFLAGS): Use -O2.
8218 * configure.in (strtoul, bsearch): Have autoconf check for these
8220 * configure, config.in: Rebuilt.
8222 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
8223 * mips/mips.h (alloca): Likewise.
8224 * rs6000/xm-rs6000.h (alloca): Likewise.
8225 * rs6000/xm-sysv4.h: Likewise.
8227 Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
8229 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
8230 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
8231 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
8233 * except.c (end_eh_unwinder): Subtract 1 from return address.
8234 * libgcc2.c (__throw): Likewise.
8235 (find_exception_handler): Don't change PC here. Compare end with >.
8237 Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
8239 * v850.c (compute_register_save_size): Correct register
8241 * v850.md (save_interrupt, return_interrupt): Correct
8243 * v850/lib1funcs.asm (save_interrupt): Correct register number.
8244 (return_interrupt): Use stack pointer, not element pointer.
8246 1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
8248 * configure.in, configure: Make sure to create the stage* and include
8249 symbolic links in each subdirectory.
8251 Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
8253 * pa.md (reload_peepholes): Don't allow addresses with side
8254 effects for the memory operand.
8256 Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
8258 * libgcc2.c (find_exception_handler): Subtract one from our PC when
8259 looking for a handler, to avoid hitting the beginning of the next
8262 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
8264 Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
8266 * mips/abi64.h (LONG_MAX_SPEC): Define.
8267 * mips.h (LONG_MAX_SPEC): Define.
8268 (CPP_SPEC): Include long_max_spec.
8269 (EXTRA_SPECS): Include long_max_spec.
8271 Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
8273 * v850.c (construct_save_jarl): Fix thinko in last change.
8275 Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
8277 * version.c: Bump for snapshot.
8279 Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
8281 * libgcc2.c (find_exception_handler): Not found is -1.
8283 * integrate.c (expand_inline_function): Move expand_start_bindings
8284 after expanding the arguments.
8286 Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
8288 * expr.c (expand_expr): Remove previous incorrect change.
8289 If target and slot has no DECL_RTL, then call mark_addressable
8290 again for the slot after we give it RTL.
8292 Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
8294 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
8295 again for the slot after we give it RTL.
8297 Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
8299 * v850.c (register_is_ok_for_epilogue,
8300 pattern_is_ok_for_epilogue, construct_restore_jr,
8301 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
8303 * v850.h (pattern_is_ok_for_prologue,
8304 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
8307 * v850.md: Replace prologue and epilogue patterns with a
8308 match_parallel pattern.
8310 Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
8312 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
8313 * configure.in: Use EGCS_PROG_INSTALL.
8315 Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
8317 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
8318 extern inline function.
8320 Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
8322 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
8323 (concat_loc_descriptor): New function.
8324 (loc_descriptor): Call it.
8325 (add_AT_location_description): Also elide the descriptor if both
8326 halves of a CONCAT are pseudos.
8327 (add_location_or_const_value_attribute): Recognize CONCAT too.
8329 Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
8331 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
8333 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
8334 out-or-range reg_offset.
8335 (output_epilog): Likewise.
8337 Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
8339 * cse.c (simplify_relational_operation): If MODE specifies a
8340 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
8341 is derived from the sign bit of the low word.
8343 Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8345 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
8347 * dwarf2.h: Add DW_CFA_GNU_args_size.
8348 * frame.c (execute_cfa_insn): Likewise.
8349 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
8350 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
8351 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
8352 insn, hand it off to dwarf2out_stack_adjust.
8353 (dwarf2out_begin_prologue): Initialize args_size.
8354 * frame.h (struct frame_state): Add args_size.
8355 * libgcc2.c (__throw): Use args_size.
8356 * final.c (final_scan_insn): If we push args, hand off all insns
8357 to dwarf2out_frame_debug.
8358 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
8360 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
8361 Handle epilogue restore of SP from FP.
8362 * emit-rtl.c (gen_sequence): Still generate a sequence if the
8363 lone insn has RTX_FRAME_RELATED_P set.
8365 * frame.c (extract_cie_info): Handle "e" augmentation.
8366 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
8367 absence of UNALIGNED_*_ASM_OP.
8368 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
8369 (output_call_frame_info): Use "e" instead of "z" for augmentation.
8370 Don't emit augmentation fields length.
8371 (dwarf2out_do_frame): Move outside of #ifdefs.
8372 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
8375 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
8376 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
8377 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
8378 * sparc/sun4gas.h: New file.
8379 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
8381 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
8382 __register_frame_table and __deregister_frame.
8384 1997-09-15 Brendan Kehoe <brendan@cygnus.com>
8386 * except.c (find_exception_handler_labels): Use xmalloc instead of
8387 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
8390 Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
8392 * Makefile.in: Various changes to build info files
8393 in the object tree rather than the source tree.
8395 Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
8397 * fixinc.math: New file to fix math.h on some systems.
8398 * configure.in (freebsd, netbsd): Use fixinc.math on these
8400 * configure: Rebuilt.
8402 Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
8404 * regmove.c (regmove_optimize): If we end up moving the
8405 original insn due to lifetime overlaps, make sure to move
8408 Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
8410 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
8412 Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
8414 * haifa-sched.c (add_branch_dependences): Make each insn in
8415 a SCHED_GROUP_P block explicitly depend on the previous insn.
8417 Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8419 * except.h: Prototype dwarf2 hooks.
8422 Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
8424 * configure.in (native_prefix): Delete.
8425 (mips-dec-netbsd): Don't set prefix.
8426 (*linux*): Don't set prefix.
8428 Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
8430 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
8431 defined. If not defined, include <sys/varargs.h> if
8432 HAVE_SYS_VARARGS_H is defined.
8433 * configure.in: Test for varargs.h and sys/varargs.h.
8434 * configure: Regenerate with autoconf.
8435 * config.in: Regenerate with autoheader.
8437 * cpplib.c (quote_string): Cast first arg of sprintf call
8438 from "unsigned char *" to "char *".
8439 (output_line_command): Ditto.
8440 (macroexpand): Ditto.
8441 (do_line): Cast atoi arg from "unsigned char *" to "char *".
8443 Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
8445 * version.c: Bump for snapshot.
8447 * Makefile.in (compare): Exit with nonzero status if there
8448 are comparison failures. Note which files failed the
8449 comparison test in .bad_compare.
8451 Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8453 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
8455 Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
8457 * Makefile.in (LN, LN_S): New macros, use where appropriate.
8458 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
8459 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
8460 * configure: Regenerated.
8462 Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
8464 * loop.c (strength_reduce): Fix typo.
8466 Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
8468 * m88k/m88k.c (struct option): Rename to struct options.
8469 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
8470 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
8471 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
8472 __DOLPHIN__ or sysV88.
8474 Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
8476 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
8479 Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
8481 * config.sub: Accept 'amigados' for backward compatability.
8483 Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8485 * Makefile.in (testsuite/site.exp): New target.
8486 (check-gcc, check-g++): Depend on testsuite/site.exp.
8487 Don't stop for failure.
8489 Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
8491 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
8492 if DWARF2_UNWIND_INFO.
8494 Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
8496 Add support for exception handling using DWARF 2 frame unwind info.
8497 Currently works on SPARC and MIPS, and almost on x86.
8499 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
8500 next_stack_level, in_reg_window): Helper fns.
8501 (__throw): Implement for DWARF2_UNWIND_INFO.
8503 * expr.c (expand_builtin): Handle builtins used by __throw.
8504 * tree.h (enum built_in_function): Add builtins used by __throw.
8505 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
8506 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
8507 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
8508 (expand_builtin_extract_return_addr): Likewise.
8509 (expand_builtin_frob_return_addr): Likewise.
8510 (expand_builtin_set_return_addr_reg): Likewise.
8511 (expand_builtin_eh_stub): Likewise.
8512 (expand_builtin_set_eh_regs): Likewise.
8513 (eh_regs): Choose two call-clobbered registers for passing back values.
8515 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
8516 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
8517 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
8518 (stmp-multilib): Likewise.
8519 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
8521 * except.c: #include "defaults.h".
8522 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
8523 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
8524 (register_exception_table_p): New fn.
8525 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
8526 (end_eh_unwinder): Likewise.
8528 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
8529 call __register_frame and __deregister_frame as needed.
8530 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
8531 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
8532 EH_FRAME_SECTION_ASM_OP.
8533 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
8534 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
8535 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
8537 * dwarf2out.c (output_call_frame_info): If no support for
8538 EXCEPTION_SECTION, mark the start of the frame info with a
8540 * collect2.c (frame_tables): New list.
8541 (is_ctor_dtor): Recognise frame entries.
8542 (scan_prog_file): Likewise.
8543 (main): Pass -fno-exceptions to sub-compile. Also do collection
8544 if there are any frame entries.
8545 (write_c_file_stat): Call __register_frame_table and
8546 __deregister_frame as needed.
8547 (write_c_file_glob): Likewise.
8549 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
8550 Also require unaligned reloc support.
8551 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8552 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
8553 * sparc/sysv4.h: Not here.
8555 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
8556 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
8557 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
8559 * libgcc2.c (L_eh): Reorganize, moving code shared by different
8560 EH implementations to the top.
8561 (find_exception_handler): Split out. Start from 0. Compare against
8563 (__find_first_exception_table_match): Use it.
8564 * except.c (output_exception_table): Don't do anything if there's
8565 no table. Don't output a first entry of zeroes.
8566 (eh_outer_context): Adjust properly.
8567 (add_eh_table_entry): Use xrealloc.
8568 * toplev.c (compile_file): Just call output_exception_table.
8570 Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
8572 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
8574 Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
8576 * except.c (eh_outer_context): Do masking using expand_and.
8578 Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
8580 Add port done awhile ago for the ARC cpu.
8581 * arc/arc.h: New file.
8582 * arc/arc.c: New file.
8583 * arc/arc.md: New file.
8584 * arc/initfini.c: New file.
8585 * arc/lib1funcs.asm: New file.
8586 * arc/t-arc: New file.
8587 * arc/xm-arc.h: New file.
8588 * ginclude/va-arc.h: New file.
8589 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
8590 * ginclude/varargs.h: Likewise.
8591 * Makefile.in (USER_H): Add va-arc.h.
8592 * configure.in (arc-*-elf*): Recognize.
8593 * longlong.h: Add ARC support.
8595 Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
8597 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
8598 when clearing non-BLKmode data.
8600 Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
8602 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
8603 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
8605 * xm-m88k.h (USG): Only define if it hasn't already been defined.
8607 * Makefile.in (risky-stage1): Delete gratutious whitespace.
8609 * Makefile.in (clean): Delete libgcc1-test.
8611 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
8613 Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
8615 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
8618 Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8620 * dwarf2out.c (output_call_frame_info): Call named_section.
8622 Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
8624 * haifa-sched.c (print_value): Fix last change.
8626 Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
8628 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
8631 Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
8633 * mips.c (function_prologue): Set up the CFA when ABI_32.
8635 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
8636 for dwarf2 unwind info.
8637 (output_function_prologue, sparc_flat_output_function_prologue): Same.
8639 * final.c (final_end_function): Check dwarf2out_do_frame instead
8640 of DWARF2_DEBUG for dwarf2 unwind info.
8641 (final_scan_insn): Likewise.
8642 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
8645 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
8648 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
8650 Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
8652 * v850.h (ASM_SPEC): Pass on target processor.
8653 (CPP_PREDEFINES): Only define if not already specified.
8654 (TARGET_VERSION): Only define if not already specified.
8655 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
8657 (EXTRA_SWITCHES): Extra entries in the switches array.
8658 (TARGET_DEFAULT): Set default target processor.
8660 Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
8662 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
8663 cases, add %# and %/, and add : to make them into extended asms.
8665 Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
8667 * alias.c (init_alias_analysis): Clean up incompatible pointer
8668 type warning in bzero.
8669 * regmove.c (regmove_optimize): Ditto.
8670 * haifa-sched.c (find_rgns): Ditto.
8672 * haifa-sched.c (print_value): Clean up ptr->int cast
8675 Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
8677 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
8678 * install.texi (Configurations): Ditto.
8679 * config.sub: Ditto.
8681 Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
8683 * Makefile.in (sdbout.o): Depend on insn-config.h.
8685 Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
8687 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
8688 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
8690 Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
8692 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
8693 prologue insn, only the first elt is significant.
8694 (output_call_frame_info): For exception handling, always use 4-byte
8695 fields as specified by the dwarf2 spec.
8696 Don't skip trivial FDEs.
8698 Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
8700 * version.c: Bump for snapshot.
8702 Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
8704 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
8705 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
8708 Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
8710 * final.c (shorten_branches): During first pass, assume worst
8711 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
8713 * Makefile.in (distclean): Remove various things left around
8714 by running the testsuite.
8716 Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
8718 * configure.in (out_file): Emit definition to config.status in order
8719 to have a defined value for configure.lang.
8720 * configure: Re-built.
8722 Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
8724 * configure.in: Make symlink to as-new rather than as.new. Similarly
8726 * configure: Rebuilt.
8728 Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
8730 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
8732 Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
8734 * sparc/sparc.md: Add ultrasparc scheduling support.
8735 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
8737 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8739 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
8740 as initial value for real_label_map.
8741 (copy_for_inline): Likewise.
8743 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8745 * sched.c (update_flow_info) When looking if to set found_split_dest
8746 or found_orig_dest, look at all parts of a PARALLEL.
8747 * haifa-sched.c (update_flow_info): Likewise.
8749 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
8751 * v850: New directory for v850 port.
8752 * v850/lib1funcs.asm: New file.
8753 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
8754 * ginclude/va-v850.h: New file.
8755 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
8756 * configure.in (mn10200-*-*): New target.
8757 * configure: Rebuilt.
8758 * config.sub: Handle v850-elf.
8759 * Makefile.in (USER_H): Add va-mn10200.h.
8760 * invoke.texi: Document v850 stuff.
8762 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
8764 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
8765 has integer TYPE_{MAX,MIN}_VALUE before using them.
8767 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
8768 __HPUX_ASM__ versions.
8770 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
8772 * install.sh: Delete duplicate install script.
8774 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
8776 * reg-stack.c (subst_stack_regs): Pop the stack register for a
8777 computed goto which sets the same stack register.
8779 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
8780 destination are both on the regstack.
8781 (subst_stack_regs_pat): Put the destination at the top of the regstack.
8783 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
8785 * mips.md (nonlocal_goto_receiver): Define.
8787 * profile.c (output_arc_profiler): Check next_insert_after for non
8788 NULL before deferencing it.
8790 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
8792 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
8794 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
8796 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
8798 * toplev.c (rest_of_compilation): For passes starting with
8799 flow_analysis, use print_rtl_with_bb instead of print_rtl.
8801 * print-rtl.c (print_rtl_single): Print a single rtl value to a
8804 * flow.c (print_rtl_with_bb): Print which insns start and end
8805 basic blocks. For the start of a basic block, also print the live
8808 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
8810 * toplev.c (main): Change #elif to #else/#ifdef
8812 * tlink.c: Include ctype.h.
8813 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
8815 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
8817 * bitmap.c: Conditionally include stdlib.h.
8818 (free): Provide a declaration if NEED_DECLARATION_FREE.
8820 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
8822 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
8824 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
8826 * profile.c (output_arc_profiler): Verify next_insert_after is an
8827 INSN before and after skipping a stack pop.
8829 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8831 * final.c (shorten_branches): Don't count the lengths of deleted
8834 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
8836 * version.c: Bump for snapshot.
8838 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
8840 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
8841 two bitmaps ANDed together.
8842 (bitmap_print): Declare.
8844 * bitmap.c (function_obstack): Don't declare any more.
8845 (bitmap_obstack): Obstack for allocating links from.
8846 (bitmap_obstack_init): New static to say whether to initialize
8848 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
8849 (bitmap_release_memory): Free all memory allocated from
8852 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
8853 EXECUTE_IF_AND_IN_BITMAP.
8855 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
8857 * alias.c (true_dependence): Address with AND can alias scalars.
8858 (anti_dependence, output_dependence): Likewise.
8860 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
8862 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
8864 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
8865 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
8866 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
8867 definitions. Use -qrtems instead of -mrtems.
8869 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
8871 * xm-sco5.h (sys_siglist): Define.
8872 (SYS_SIGLIST_DECLARED): Likewise.
8874 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
8876 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
8878 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
8880 * except.c (eh_outer_context): Expand masking operation using
8883 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
8885 * alpha.md (floatdisf2-1): New pattern.
8887 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
8889 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
8890 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
8891 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
8892 * gcc.texi: Note that if you define sys_siglist that you should
8893 also define SYS_SIGLIST_DECLARED.
8895 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
8896 are relative to the next instruction, not the current instruction.
8898 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
8900 * local-alloc.c (contains_replace_regs): New function.
8901 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
8902 verify that there is no existing REG_EQUIV note, and add a call to
8903 contains_place_regs.
8905 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8907 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
8908 (STARTFILE_SPEC): Always use crtbegin.o%s
8909 (ENDFILE_SPEC): Always use crtend.o%s.
8911 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
8913 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
8915 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
8916 SFmode for 64 bit hosts.
8918 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
8920 * fixincludes: Permits spaces between # and define. Discard C++
8921 comments in sys/pci.h on HP/UX 10.20.
8923 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
8925 * version.c: Bump for snapshot.
8927 * pa.c (restore_unscaled_index_insn_codes): New function.
8928 (record_unscaled_index_insn_codes): Likewise.
8929 (output_function_prologue): Call restore_unscaled_index_insn_codes.
8930 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
8931 (pa_reorg): Call record_unscaled_index_insn_codes.
8933 * haifa-sched.c (move_insn): Handle notes correctly for insns
8934 with SCHED_GROUP_P set.
8936 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8938 * alpha/xm-linux.h (USE_BFD): Undef before define.
8940 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
8942 * cse.c (cse_insn): Don't record BLKmode values.
8944 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
8946 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
8948 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
8950 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
8951 * collect2.c (sys_errlist): Likewise.
8952 * cpplib.c (sys_errlist): Likewise.
8953 * gcc.c (sys_errlist): Likewise.
8954 * protoize (sys_errlist): Likewise.
8955 * configure.in: Check for strerror.
8956 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
8957 * xm-gnu.h (HAVE_STRERROR): Likewise.
8958 * xm-linux.h (HAVE_STRERROR): Likewise.
8959 * xm-netbsd.h (HAVE_STRERROR): Likewise.
8960 * xm-bsd386.h (HAVE_STRERROR): Likewise.
8961 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
8962 * xm-dos.h (HAVE_STRERROR): Likewise.
8963 * xm-mingw32.h (HAVE_STRERROR): Likewise.
8964 * xm-pa.h (HAVE_STRERROR): Likewise.
8965 * xm-papro.h (HAVE_STRERROR): Likewise.
8966 * xm-sysv4.h (HAVE_STRERROR): Likewise.
8967 * configure, config.in: Rebuilt.
8969 * Makefile.in: Add several missing "else true" clauses.
8971 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
8972 * mips-tfile.c: Likewise.
8973 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
8974 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
8975 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
8976 * configure.in: Check for sys_siglist declaration.
8977 * configure, config.in: Rebuilt.
8979 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
8981 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
8982 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
8983 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
8984 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
8985 * rs6000/sysv4.h (extra_subtarget_switches): Added new
8986 macro EXTRA_SUBTARGET_SWITCHES.
8987 * configure.in (sh*-*-rtems*): New target.
8988 * sh/rtems.h: New file.
8989 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
8990 * configure: Rebuilt.
8992 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
8994 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
8996 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
8998 * rs6000.md: Make DF fused-add operations pay attention to
9001 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
9003 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
9005 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
9007 * pa.md (reload_peepholes): Make sure operand is a REG before
9008 examining REGNO. Allow general registers too.
9010 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
9012 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
9014 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
9016 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
9017 to reallocate abbrev_die_table.
9019 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
9021 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
9023 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9025 * Makefile.in (config.status): Depend on version.c
9027 * expr.h (insn_gen_function): Reenable prototype.
9029 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
9032 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
9034 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
9036 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
9038 * version.c: Bump for latest snapshot.
9040 * bc-optab.c: Conditionally include stdlib.h.
9041 (free): Provide a declaration if NEED_DECLARATION_FREE.
9042 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
9043 * rtl.h (free): Remove declaration.
9044 * tree.h (free): Remvoe declaration.
9046 * configure: Rebuilt.
9048 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
9050 * flags.h (flag_move_all_movables): Declare.
9051 (flag_reduce_all_givs): Likewise.
9052 * loop.c (move_movables): Handle flag_move_all_movables.
9053 (strength_reduce): Handle flag_reduce_all_givs.
9054 * toplev.c (flag_move_all_movables): Define.
9055 (flag_reduce_all_givs): Likewise.
9056 (f_options): Add -fmove-all-movables and -freduce-all-givs.
9057 * invoke.texi: Document new options, including alias stuff that
9058 wasn't included last time.
9060 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
9062 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
9065 * t-vxworks68: Ditto.
9066 * t-vxworks960: Ditto.
9069 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
9071 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
9072 if not already defined, and USE_C_ALLOCA not defined.
9074 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
9076 * config.guess: Replace with script that uses ../config.guess.
9078 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
9079 if USE_GNULIBC_1 is not defined.
9081 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
9083 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
9084 * config.guess: Recognize alpha-linux-gnulibc1.
9085 * configure.in (alpha-*-linux-gnulibc1): New target.
9086 (alpha-*-linux-gnu*): Don't build crtbegin/end.
9088 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
9090 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
9093 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
9095 * loop.c (combine_movables): Earlier insns don't match later ones.
9097 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9099 * config/linux.h (CC1_SPEC): Define it only if not defined.
9101 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
9104 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
9105 USE_GNULIBC_1 is not defined.
9107 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
9109 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
9110 as 1 if USE_GNULIBC_1 is not defined.
9112 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
9114 * reorg.c (dbr_schedule): Allow current_function_return_rtx
9115 to be something other than a REG.
9116 * function.c (expand_function_end): Fix current_function_return_rtx
9119 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
9120 * x-netbsd: Likewise
9121 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
9122 (INSTALL_HEADERS): Delete.
9123 * x-dguxbcs: Likewise.
9124 * x-hp3bsd44: Likewise
9127 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9129 * i386.md (pop): pop increments the stack pointer.
9130 (prologue_set_stack_ptr): New pattern.
9131 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
9134 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
9136 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
9137 address where an offsettable address is required.
9139 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
9141 * loop.c (check_final_value): Don't miss a biv increment in a
9144 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
9146 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
9147 TYPE_DECL_IS_STUB instead of DECL_NAME.
9149 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9151 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
9153 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
9155 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
9157 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
9159 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
9160 (find_post_sched_live): Likewise.
9162 * haifa-sched.c (schedule_block): Remove old code to get arguments
9163 from hard regs into pseudos early.
9165 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
9167 * version.c: Bump for new snapshot.
9169 * local-alloc.c (update_equiv_regs): All the target to reject
9170 promotion of some REG_EQUAL to REG_EQUIV notes.
9171 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
9173 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
9176 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
9177 store of the argument registers.
9179 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
9181 * fold-const.c (multiple_of_p): New function.
9182 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
9184 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
9186 * expr.h (insn_gen_function): Temporarily remove prototype.
9188 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
9190 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
9191 filenames. Use sed to extract base filename for install.
9193 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
9195 * unroll.c (find_splittable_givs): Only share if two givs have the
9196 same add and multiply values.
9198 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
9200 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
9201 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
9203 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
9205 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
9206 around branch tables.
9207 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
9208 and .end_brtab directives if TARGET_GAS.
9210 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
9212 * alias.c (true_dependence): Pass x_addr not x to varies.
9214 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
9215 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
9216 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
9218 * config.in, configure: Regenerate.
9220 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
9222 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
9224 (record_set): Handle LO_SUM like PLUS.
9225 (init_alias_analysis): When following chains of base addresses,
9226 do not stop on reaching a hard register.
9228 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
9230 * version.c: Bump for new snapshot.
9232 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
9234 * alpha.h (ARCH_ASM_FILE_START): Define.
9235 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
9236 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
9238 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
9240 * Makefile.in (install-common): Put gcov comment at start of line.
9242 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
9244 * alias.c (init_alias_analysis): When simplifying the reg_base_value
9245 array, simplify entries for hard registers too.
9247 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
9249 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
9252 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
9254 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
9255 block_stack before dereferencing it.
9257 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
9259 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
9261 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
9263 * cplus-dem.c: Add 'extern' to prepends_underscore.
9265 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
9267 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
9268 (get_issue_rate): Delete.
9269 * pa.h (ISSUE_RATE): Define.
9271 * configure.in: Turn on haifa by default for the PA.
9272 * configure: Rebuilt.
9273 * pa.c (override_options): Accept -mschedule=7200 option.
9274 (pa_adjust_cost): No longer need to scale costs for newer
9276 * pa.h (enum processor_type): Add PROCESSOR_7200.
9277 * pa.md: Revamp scheduling parameters to work better with
9278 haifa. Add scheduling parameters for the 7200.
9280 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
9282 (schedule_block): When adjusting basic_block_{head,end}, account
9283 for movement of SCHED_GROUP_P insns too.
9285 * haifa-sched.c (debug_dependencies): Fix thinko.
9287 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
9288 (site.exp, check, check-g++, check-gcc): New targets.
9290 * haifa-sched.c: Make lots of variables static.
9292 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9294 * expr.h, real.h: Finish prototyping.
9296 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
9298 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
9299 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
9300 * reload1.c: Undo bugfix from Aug 11.
9302 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
9304 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
9305 quotes around the name.
9306 * configure: Regenerate.
9308 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
9310 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
9312 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
9314 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
9315 to sub-makes to avoid building more passes than the user might have
9316 requested on the command line.
9318 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
9320 * configure.in: Expurgate `broken_install' (install is
9323 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
9326 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
9328 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
9329 functions and declarations.
9330 (analyze_loop_iterations): Use condjump_p.
9331 (insert_bct): Likewise. Use exact_log2.
9333 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
9335 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
9336 (schedule_region): Likewise.
9337 (schedule_insns): Likewise.
9339 * PROJECTS: Update with Haifa stuff.
9341 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
9343 * version.c: Change the version string to look like:
9344 egcs-2.90.00 970814 (gcc2-970802 experimental).
9346 * loop.c (is_conditional_branch): Make definition match declaration.
9348 * gcc.c: Take out experimental snapshot warning message.
9350 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
9352 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
9353 print out the names of the notes. Print out the name of the insn
9354 that is not a note, and not an {,CALL_,JUMP_}INSN.
9356 Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
9358 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
9359 again for the slot after we give it RTL.
9361 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
9363 * configure.in (haifa configury): Fix typo.
9364 * configure: Regenerate.
9366 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
9368 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
9370 * gcc.info*: Rebuilt.
9372 * COPYING.g77, README.g77: New files.
9373 * real.c (ereal_unto_float, ereal_unto_double): New functions.
9374 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
9375 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
9377 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
9379 * Integrate Haifa instruction scheduler.
9380 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
9381 to sched with $(SCHED_CFLAGS.
9382 * configure.in: Handle --enable-haifa.
9383 * configure: Rebuilt.
9384 * flags.h: Add new flags for haifa instruction scheduler.
9385 * genattrtab.c (expand_units): For haifa, don't subtract one
9386 when computing blockage.
9387 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
9388 (flag_schedule_speculative): Ditto.
9389 (flag_schedule_speculative_load): Ditto.
9390 (flag_schedule_speculative_load_dangerous): Ditto.
9391 (flag_schedule_reverse_before_reload): Ditto.
9392 (flag_schedule_reverse_after_reload): Ditto.
9393 (flag_branch_on_count_reg): Ditto.
9394 (f_options): Add Haifa switches.
9395 (main): Turn off some Haifa options if appropriate macro is
9396 defined. Process Haifa switches.
9397 * unroll.c (iteration_info): No longer static, since Haifa
9399 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
9400 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
9401 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
9402 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
9403 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
9404 storage for the Haifa scheduler.
9405 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
9407 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
9408 are defined, call analyze_loop_iterations and insert_bct to use
9410 (record_giv): Refine test for jumps out of loops if HAIFA is
9412 (analyze_loop_iterations): New function to identify if we can use
9414 (insert_bct): Insert countdown loop.
9415 (instrument_loop_bct): Low level code to insert countdown loop.
9416 (loop_number): Calculate UID of loop.
9417 (indirect_jump_in_function_p): Return true if an indirect jump is
9419 (is_power_of_2): Return true if value is a power of 2.
9420 (is_conditional_branch): Return true if insn is a conditional
9422 (fix_bct_param): Process -fbct-{min,max}-N switches.
9423 (check_bct_param): Return true if loop should be instrumented.
9424 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
9425 (loop_optimize): Initialize.
9426 (get_condition_for_loop): Ditto.
9427 * loop.c (strength_reduce): Inside of code that uses #ifdef
9428 HAVE_decrement_and_branch_on_count code, test it to make sure the
9430 (instrument_loop_bct): Ditto.
9431 * haifa-sched.c: New file.
9434 * Integrate regmove pass.
9435 * Makefile.in (OBJS): Add regmove.o
9436 (regmove.o): Add dependencies.
9437 * flow.c (find_use_as_address): No longer static.
9438 * rtl.h (find_use_as_address): Declare.
9439 * toplev.c (regmove_dump, flag_regmove): Define.
9440 (f_options): Add -fregmove.
9441 (regmove_dump_file, regmove_time): Define.
9442 (fatal_insn): Close the regmove dump file.
9443 (compile_file): Initialize regmove_time; open/close the regmove dump
9444 file as needed. Print regmove time as needed.
9445 (rest_of_compilation): Run regmove pass if requested, dump
9446 RTL after regmove if requested.
9447 (main): If -O2 or more, turn on regmove. Handle dump switches.
9448 * regmove.c: New file.
9450 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
9452 * Integrate tlink patch from jason@cygnus.com
9453 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
9454 (process_command): Increment n_switches for them. Don't discard
9455 their args. Validate them.
9456 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
9458 (process_command): Set include_prefixes from COMPILER_PATH.
9459 (main): Set COLLECT_GCC_OPTIONS sooner.
9460 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
9461 * tlink.c, hash.c, hash.h: New files.
9462 * Makefile.in (USE_COLLECT2): Always use collect2.
9463 (collect2): Depend on and link in hash.o and tlink.o.
9464 (tlink.o, hash.o): Add dependencies.
9466 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
9468 * Integrate alias analysis changes from jfc@mit.edu
9469 * Makefile.in (OBJS): Add alias.o
9470 (alias.o): Add dependencies.
9471 * alias.c: New file.
9472 * sched.c: Remove alias analysis code. It lives in alias.c now.
9473 (sched_analyze_2): Add new arguments to true_dependence.
9474 (schedule_insns): Always call init_alias_analysis.
9475 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
9476 mark return value from such functions as a pointer and keep track of
9477 them for alias analysis. If a return value from a function is a
9478 pointer, mark it as such.
9479 * combine.c (distribute_notes): Handle REG_NOALIAS.
9480 * cse.c (struct write_data): Delete. No longer needed.
9481 (invalidate): Don't call set_nonvarying_address_components anymore.
9482 Use true_dependence to decide if an entry should be removed from
9484 (invalidate_memory): Remove WRITES argument, simplify appropriately.
9486 (note_mem_written): Similarly for WRITE_PTR argument.
9487 (invalidate_from_clobbers): Similarly for W argument.
9488 (invalidate_for_call): Remove memory elements from the hash table.
9489 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
9490 (cse_rtx_varies_p): New function. Derived from old
9491 cse_rtx_addr_varies_p.
9492 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
9493 Don't call note_mem_written anymore. Stack pushes invalidate the stack
9494 pointer if PUSH_ROUNDING is defined. No longer need to call
9495 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
9496 (skipped_writes_memory): Remove variable.
9497 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
9498 (invalidate_skipped_block): Simplify for new alias analysis code.
9499 (cse_set_around_loop): Likewise.
9500 (cse_main): Call init_alias_analysis.
9501 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
9502 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
9503 (f_options): Add new alias checking arguments.
9504 (main): Set flag_alias_check when optimizing.
9505 * local_alloc (validate_equiv_mem_from_store): Add new arguments
9507 (memref_referenced_p): Likewise.
9508 * loop.c (NUM_STORES): Increase to 30.
9509 (prescan_loop): Only non-constant calls set unknown_address_altered.
9510 (invariant_p): Add new arguments to true_dependence.
9511 (record_giv): Initialize unrolled and shared fields.
9512 (emit_iv_add_mult): Call record_base_value as needed.
9513 * loop.h (struct induction): Add unrolled and shared fields.
9514 * unroll.c (unroll_loop): Call record_base_value as needed.
9515 (copy_loop_body): Likewise.
9516 (final_biv_value): Likewise.
9517 (final_giv_value): Likewise.
9518 (find_splittable_regs): Likewise. Only create one new pseudo
9519 if we have multiple address GIVs that were combined with the same
9520 dst_reg GIV. Note when a new register is created due to unrolling.
9521 * rtl.c (reg_note_name): Add REG_NOALIAS.
9522 * rtl.h (enum reg_note): Similarly.
9523 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
9524 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
9525 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
9526 (true_dependence, read_dependence, anti_dependence): Likewise.
9527 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
9528 (mark_user_reg, mark_reg_pointer): Likewise.
9531 * Integrate reload bugfix from Wilon which enables the PA port
9533 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
9534 OPERAND_ADDRESS when computing how many registers an insn needs.
9535 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
9537 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
9539 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
9540 in reload_reg_use_in_op_addr do not reach the end.
9541 do not reach the end.
9542 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
9543 RELOAD_FOR_OPERAND_ADDRESS.
9545 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
9547 * egcs project officially starts.
9550 add-log-time-format: current-time-string