1 Tue May 19 11:08:52 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3 * Makefile.in (print-rtl.o): Depend on bitmap.h.
4 (dbxout.o): Depend on toplev.h.
5 ($(SCHED_PREFIX)sched.o): Likewise.
6 ($(out_object_file)): Likewise for system.h and toplev.h.
7 (cppmain.o): Depend on gansidecl.h.
9 (cpperror.o): Likewise.
11 (cpphash.o): Likewise.
12 (cppalloc.o): Likewise.
13 (fix-header.o): Depend on cpplib.h and cpphash.h.
14 (scan-decls.o): Depend on gansidecl.h.
16 * basic-block.h (free_regset_vector): Add prototype.
18 * cccp.c (check_precompiled): Mark parameter `fname' with
20 (do_assert): Likewise for `op' and `keyword'.
21 (do_unassert): Likewise.
22 (do_line): Likewise for `keyword'.
23 (do_error): Likewise for `op' and `keyword'.
24 (do_warning): Likewise.
25 (do_ident): Likewise for `keyword'.
26 (do_pragma): Likewise for `limit', `op' and `keyword'.
28 (do_if): Likewise for `keyword'.
33 * collect2.c (getenv): Remove redundant prototype.
34 (collect_exit, collect_execute, dump_file): Likewise.
35 (dump_list): Wrap prototype and definition in COLLECT_EXPORT_LIST.
36 (dump_prefix_list): Hide prototype and definition.
38 * sparc.c: Include toplev.h.
39 (intreg_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED.
40 (symbolic_memory_operand): Likewise.
41 (sp64_medium_pic_operand): Likewise.
42 (data_segment_operand): Likewise.
43 (text_segment_operand): Likewise.
44 (splittable_symbolic_memory_operand): Likewise.
45 (splittable_immediate_memory_operand): Likewise.
46 (eq_or_neq): Likewise.
47 (normal_comp_operator): Likewise.
48 (noov_compare_op): Likewise.
49 (v9_regcmp_op): Likewise.
50 (v8plus_regcmp_op): Likewise.
51 (extend_op): Likewise.
52 (cc_arithop): Likewise.
53 (cc_arithopn): Likewise.
54 (small_int): Likewise.
55 (uns_small_int): Likewise.
56 (clobbered_register): Likewise.
57 (legitimize_pic_address): Likewise.
58 (delay_operand): Likewise.
59 (sparc_builtin_saveregs): Remove unused variable `stdarg'.
61 * sparc.h (order_regs_for_local_alloc, eligible_for_return_delay,
62 sparc_issue_rate, v8plus_regcmp_p): Add prototypes.
64 * sparc.md (cmpdi_v8plus): Add abort for default case in switch.
66 * cppalloc.c: Include gansidecl.h.
68 * cpperror.c: Include stdarg.h/varargs.h and gansidecl.h.
69 (cpp_file_line_for_message): Mark parameter `pfile' with
71 (v_cpp_message): New function.
72 (cpp_message): Use it. Also convert to variable arguments.
73 (cpp_fatal): Likewise.
74 (cpp_pfatal_with_name): Constify parameter `name'.
76 * cppexp.c: Move gansidecl.h before cpplib.h.
77 * cpphash.c: Likewise.
78 * cpphash.h (hashf, delete_macro): Add prototypes.
80 * cpplib.c: Include stdarg.h/varargs.h and move gansidecl.h before
81 cpplib.h. Don't include errno.h.
82 (update_path): Add arguments to prototype.
83 (cpp_fatal, cpp_file_line_for_message, cpp_message, delete_macro,
84 cpp_print_containing_files): Remove redundant prototypes.
85 (cpp_hash_cleanup, add_import, append_include_chain,
86 make_assertion, path_include, initialize_builtins,
87 initialize_char_syntax, finclude, validate_else, comp_def_part,
88 lookup_import, redundant_include_p, is_system_include,
89 read_name_map, read_filename_string, open_include_file,
90 check_macro_name, compare_defs, compare_token_lists,
91 eval_if_expression, change_newlines): Add prototype arguments.
92 (hashf): Remove redundant prototype.
93 (read_token_list, free_token_list, safe_read, xcalloc, savestring,
94 conditional_skip, skip_if_group): Add prototype arguments.
95 (fdopen): Remove redundant prototype.
96 (do_define, do_line, do_include, do_undef, do_error, do_pragma,
97 do_ident, do_if, do_xifdef, do_else, do_elif, do_endif, do_sccs,
98 do_once, do_assert, do_unassert, do_warning): Add prototype arguments.
99 (struct directive): Add prototype arguments to function pointer
101 (handle_directive): Add missing arguments to call to `do_line'.
102 (do_include): Mark parameters `unused1' and `unused2' with
104 (do_line): Likewise for `keyword' and new parameters `unused1' and
106 (do_error): Likewise for `keyword'.
107 (do_warning): Likewise. Also add missing argument `pfile' in call
109 (do_once): Mark parameter `keyword', `unused1' and `unused2' with
111 (do_ident): Likewise for `keyword', `buf' and `limit'.
112 (do_pragma): Likewise. Also add missing arguments in call to do_once.
113 (do_sccs): Mark parameter `keyword', `buf' and `limit' with
115 (do_if): Likewise for `keyword'.
117 (eval_if_expression): Likewise for `buf' and `length'.
118 (do_xifdef): Likewise for `unused1' and `unused2'.
119 (do_else): Likewise for `keyword', `buf' and `limit'.
120 (do_endif): Likewise.
121 (parse_name): Add missing argument `pfile' in call to cpp_pedwarn.
122 (cpp_handle_options): Remove superfluous NULL argument in call to
124 (cpp_handle_options): Likewise.
125 (do_assert): Mark parameter `keyword', `buf' and `limit' with
127 (do_unassert): Likewise.
128 (cpp_print_file_and_line): Add missing argument `pfile' in call to
129 cpp_file_line_for_message.
130 (v_cpp_error): New function.
131 (cpp_error): Use it. Also accept variable arguments.
132 (v_cpp_warning): New function.
133 (cpp_warning): Use it. Also accept variable arguments.
134 (cpp_pedwarn): Accept variable arguments.
135 (v_cpp_error_with_line): New function
136 (cpp_error_with_line): Use it. Accept variable arguments.
137 (v_cpp_warning_with_line): New function.
138 (cpp_warning_with_line): Use it. Accept variable arguments. Hide
140 (cpp_pedwarn_with_line): Accept variable arguments.
141 (cpp_pedwarn_with_file_and_line): Likewise.
142 (cpp_error_from_errno): Constify parameter `name'. Add missing
143 argument `pfile' in call to cpp_file_line_for_message.
144 (cpp_perror_with_name): Constify parameter `name'.
146 * cpplib.h: Define PARAMS() in terms of PROTO().
147 (fatal): Remove redundant prototype.
148 (cpp_error, cpp_warning, cpp_pedwarn, cpp_error_with_line,
149 cpp_pedwarn_with_line, cpp_pedwarn_with_file_and_line,
150 cpp_error_from_errno, cpp_perror_with_name, cpp_pfatal_with_name,
151 cpp_fatal, cpp_message, cpp_pfatal_with_name,
152 cpp_file_line_for_message, cpp_print_containing_files): Add
153 arguments to prototypes.
154 (scan_decls, cpp_finish): Add prototypes.
156 * cppmain.c: Include gansidecl.h.
157 (main): Remove unused variable `i'.
159 * dbxout.c: Include toplev.h.
161 * demangle.h (do_tlink, collect_execute, collect_exit,
162 collect_wait, dump_file, file_exists): Add prototype.
164 * dwarf2out.c (dwarf_type_encoding_name, decl_start_label): Hide
165 prototype and definition.
166 (gen_unspecified_parameters_die): Don't assign results of call to
167 function new_die() to unused variable `parm_die'.
168 (dwarf2out_line): Mark parameter `filename' with ATTRIBUTE_UNUSED.
169 (dwarf2out_define): Likewise for `lineno' and `buffer'.
171 * dwarfout.c (output_unsigned_leb128, output_signed_leb128): Hide
172 prototype and definition.
173 (output_die): Add prototype arguments to function pointer arg.
174 (output_unspecified_parameters_die): Mark parameter `arg' with
177 * except.c (output_exception_table_entry): Remove unused variable
180 * except.h (expand_fixup_region_start, expand_fixup_region_end):
183 * expr.c (do_jump_by_parts_equality_rtx): Remove prototype.
185 * expr.h (do_jump_by_parts_equality_rtx): Add prototype.
187 * fix-header.c: Include stdarg.h/varargs.h, move gansidecl.h
188 before cpplib.h, include cpphash.h, remove redundant prototype of
189 cpp_fatal, don't define `const', add a prototype for `fatal'.
190 (cpp_file_line_for_message): Add missing arguments `pfile'.
191 (v_cpp_message): New function.
192 (cpp_message): Use it.
193 (v_fatal): New function.
194 (fatal, cpp_fatal): Use it.
195 (cpp_pfatal_with_name): Constify parameter `name'.
197 * flow.c (free_regset_vector): Remove redundant prototype.
199 * function.c (round_down): Wrap prototype and definition with
200 macro ARGS_GROW_DOWNWARD.
201 (record_insns): Wrap prototype and definition with
202 defined (HAVE_prologue) || defined (HAVE_epilogue).
204 * gansidecl.h (ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5): New macros.
206 * gen-protos.c: Include gansidecl.h.
207 (hashf): Don't make it static, constify parameter `name'.
209 * genattrtab.c (check_attr_test): Change XEXP() to XSTR() to match
210 specifier %s in calls to function `fatal'.
212 * haifa-sched.c: Include toplev.h.
213 (find_rgns): Remove unused variable `j'.
215 * integrate.c (note_modified_parmregs): Mark parameter `x' with
217 (mark_stores): Likewise.
219 * jump.c (mark_modified_reg): Likewise.
221 * output.h (insn_current_reference_address): Add prototype.
222 (eh_frame_section): Likewise.
224 * print-rtl.c: Include bitmap.h.
226 * reload1.c (reload): Wrap variables `note' and `next' in macro
227 PRESERVE_DEATH_INFO_REGNO_P.
228 (forget_old_reloads_1): Mark parameter `ignored' with
230 (choose_reload_regs): Remove unused variable `in'.
231 (reload_cse_invalidate_mem): Mark parameter `ignore' with
233 (reload_cse_check_clobber): Likewise.
235 * rtl.h (expand_null_return, reg_classes_intersect_p): Add prototype.
236 (mark_elimination): Fix typo in prototype.
238 * scan-decls.c: Include gansidecl.h.
240 * tree.h (using_eh_for_cleanups, supports_one_only): Add prototype.
242 Mon May 18 22:37:33 1998 Jeffrey A Law (law@cygnus.com)
244 * function.c (identify_blocks): Fix thinko when setting the
245 block number for NOTE_INSN_BLOCK_END.
247 Mon May 18 15:30:42 1998 Nick Clifton <nickc@cygnus.com>
249 * config/v850/lib1funcs.asm: Add .text pseudo op to start of
252 * config/v850/lib1funcs.asm: Fix .size pseudo ops to use three
253 underscores for the prefixes to the names of the maths functions.
255 * dbxout.c (dbxout_parms): Revert to using DECL_ARG_TYPE. Add
256 comment explaining why.
258 Mon May 18 13:20:23 1998 Richard Henderson <rth@cygnus.com>
260 * tree.h (TYPE_SIZE_UNIT): New.
261 (struct tree_type): Add size_unit member.
262 * stor-layout.c (layout_type): Initialize it.
263 * expr.c (get_inner_reference) [ARRAY_REF]: Use it.
264 * tree.c (size_in_bytes, int_size_in_bytes): Likewise.
266 Mon May 18 12:07:37 1998 Richard Earnshaw (rearnsha@arm.com)
268 * stor-layout.c (layout_record): Fix off-by-one error when checking
269 length of the TYPE_BINFO vector.
271 Mon May 18 10:59:23 1998 Nick Clifton <nickc@cygnus.com>
273 * dbxout.c (dbxout_parms): Use TREE_ARG to compute the type of a
274 function parameter passed in memory.
276 Mon May 18 09:02:09 1998 Robert Lipe <robertl@dgii.com>
278 * dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files.
279 Prototypes for externally used functions in respective C files.
280 * dwarfout.c, dbxout.c, dwarf2out.c, sdbout.c, toplev,c,
281 final.c: Include above files.
282 * Makefile.in (toplev.o): Add dependency for above four headers.
284 (dwarfout.o, dbxout.o, dwarf2out.o, sdbout.o): Depend on four
285 respective header files.
287 Mon May 18 01:23:33 1998 Jeffrey A Law (law@cygnus.com)
289 * Makefile.in (TARGET_TOOLPREFIX): No longer define.
290 (AR_FOR_TARGET, RANLIB_FOR_TARGET): Define to use versions in
291 the build tree if they exist.
292 (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Update
294 (objdir): Let configure substitute value.
295 (FLOAT_H): Let configure select a pre-built version from the
297 * build-make (INSTALL_TARGET, ALL): Disable, no longer needed.
298 * configure.in: Substitute for objdir.
300 * Makefile.in (build_canonical, host_canonical): Let configure
301 substitute values for these variables.
302 * configure.in: Substitute for build_canonical, host_canonical
303 and target_subdir in generated Makefile.
305 * output.h (find_basic_blocks): Declare.
306 (free_basic_block_vars, set_block_num, life_analysis): Likewise.
308 * Makefile.in (BISON): Use bison from the build tree if it exists.
311 Mon May 18 00:08:19 1998 Nick Clifton <nickc@cygnus.com>
313 * gcc.c (SWITCH_CURTAILS_COMPILATION): Definition.
314 (DEFAULT_SWITCH_CURTAILS_COMPILATION): True for options -S and -c.
315 (process_command): If HAVE_EXECUTABLE_SUFFIX is defined then scan
316 command line arguments to see if an executable is not being
317 created, and if so - do not append the suffix.
319 * tm.texi (SWITCH_CURTAILS_COMPILATION): Add description of new
322 Sun May 17 23:59:45 1998 John Wehle (john@feith.com)
324 * i386.h (ALIGN_DFmode): Delete.
325 (CONSTANT_ALIGNMENT): Define.
326 * varasm.c (force_const_mem): Use it.
328 Sun May 17 19:31:05 1998 Richard Henderson <rth@cygnus.com>
330 * alpha.c (alpha_emit_conditional_branch): Clear cmp_code after
331 using it with swap_condition, not before.
333 Sun May 17 13:44:32 1998 Jim Wilson <wilson@cygnus.com>
335 * alias.c (mode_alias_check): Delete.
336 (true_dependence, anti_dependence, output_dependence): Revert April 21
339 Sun May 17 08:45:21 1998 Krister Walfridsson <cato@df.lth.se>
341 * toplev.c (output_lang_identify): Enable prototype and definition.
343 Sun May 17 01:12:27 PDT 1998 Jeff Law (law@cygnus.com)
345 * version.c: Bump for snapshot.
347 Sat May 16 23:20:32 1998 Richard Henderson <rth@cygnus.com>
349 * alpha/osf.h (HAVE_STAMP_H): Define.
351 * alpha/netbsd.h, alpha/netbsd-elf.h: New files.
352 * configure.in (alpha*-*-netbsd*): New.
353 Based on patches from Paul H. Anderson <pha@pdq.com>.
355 * configure.in (alpha*-*-linux-*): Kill xm_defines.
356 (alpha*-*-linux-gnulibc1*) [fixincludes]: Define.
357 * alpha/xm-linux.h: Remove file.
359 Sat May 16 18:32:45 1998 Doug Evans <devans@canuck.cygnus.com>
361 * dbxout.c (dbxout_parms): If mode of type of parameter living
362 in memory doesn't match mode of DECL_RTL, make big endian correction.
364 Fri May 15 21:40:06 1998 John Wehle (john@feith.com)
366 * i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
368 Fri May 15 18:55:22 1998 Jason Merrill <jason@yorick.cygnus.com>
370 * tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
371 * stor-layout.c (layout_record): Set it.
373 Fri May 15 18:49:30 1998 Mark Mitchell <mmitchell@usa.net>
375 * toplev.c (rest_of_compilation): Don't defer nested functions.
377 Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
379 * config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
380 to an 8-byte boundary if info_ptr->fpmem_p.
382 Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
384 * loop.c (basic_induction_var): Added test preventing
385 CCmode parameter passed to convert_modes().
387 Fri May 15 17:26:18 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
389 * expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
390 input_filename and lineno around expand_expr call. Set them to values
391 in WFL before expand_expr call.
393 Fri May 15 12:44:57 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
395 * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
397 Fri May 15 07:20:03 1998 Mark Mitchell <mmitchell@usa.net>
399 * fold-const.c (constant_boolean_node): New function.
402 Fri May 15 11:21:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
404 * sh.c (gen_shl_and): Don't sign extend constant for kind two.
405 Abort if trying to split kind 3 or 4 outside of combine.
407 Fri May 15 01:47:37 1998 Jeffrey A Law (law@cygnus.com)
409 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
411 Fri May 15 01:42:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
413 * objc/Make-lang.in (OBJC_O): Add missing exeext.
414 (libobjc.a, runtime-info.h): Likewise.
416 Fri May 15 01:29:39 1998 John Wehle (john@feith.com)
418 * i386.h (DATA_ALIGNMENT): Define.
420 Fri May 15 05:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
422 * reload1.c (delete_output_reload): Ignore single USE that
423 was emitted for the pseudo use of this INSN.
424 If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
425 remains, we can always delete OUTPUT_RELOAD_INSN.
427 Thu May 14 18:38:50 1998 Jim Wilson <wilson@cygnus.com>
429 * reload.c (find_reloads): Don't penalize SCRATCH output reload.
431 Thu May 14 15:10:30 1998 Jeffrey A Law (law@cygnus.com)
433 * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.
435 Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
437 * eh-common.h: New file for basic EH data structures.
438 * except.h: Various prototypes and structures for NEW_EH_MODEL
439 * function.h (struct function): Add a struct eh_stack for the catch
441 * except.c (gen_exception_label): New function to generate an
443 (push_eh_entry): Use gen_exception_label() and init 'label_used' field.
444 (push_entry): New function to push an existing entry onto a stack.
445 (receive_exception_label): New function to emit the code required
446 at the start of all catch blocks.
447 (struct func_eh_entry): New structure for maintaining handlers
448 associated with EH regions.
449 (new_eh_region_entry): New function to register an EH region.
450 (add_new_handler): New function to register a handler with a region.
451 (get_new_handler): Creates anew handler entry for registering.
452 (find_func_region): New function to convert a NOTE eh region number
453 to an Eh region index.
454 (get_first_handler): New function to get the first handler in a region.
455 (clear_function_eh_region): New function to release memory.
456 (duplicate_handlers): New function to duplicate a list of handlers.
457 (expand_eh_region_end): Create a new region entry node as well.
458 (expand_leftover_cleanups): Call receive_exception_label() and
459 register the cleanup as a handler to the current region.
460 (expand_start_catch): New function to start a catch clause.
461 (expand_end_catch): New function to end a catch clause.
462 (expand_start_all_catch): restructure to not do the equivilent of
463 what expand_start_catch() does now. Push the exception region being
464 handled onto the catch stack.
465 (output_exception_table_entry): Issue an entry for each handler
466 associated with a region.
467 (set_exception_lang_code): New function for setting the language code.
468 (set_exception_version_code): New function to set the version number.
469 (output_exception_table): Output version and language codes.
470 (find_exception_handler_labels): Find handler labels using new scheme.
471 (is_exception_handler_label): New function, returns 1 if label is
472 present as a handler in some exception region.
473 (check_exception_handler_labels): Use the new scheme.
474 (init_eh_for_function): Initialize the catch stack.
475 (save_eh_status): Save the catch stack.
476 (restore_eh_status): Restore the catch stack.
477 (scan_region): Don't remove unreferenced handler label. Flow does it.
478 (get_reg_for_handler): New function to get the eh_context pointer
480 (expand_builtin_eh_stub): Changes required for NEW_EH_MODEL only.
481 * final.c (final_scan_insn): With NEW_EH_MODEL, add EH table
482 entry when processing END region rather that START region.
483 * flow.c (find_basic_blocks_1): Find all potential handler regions
484 now that we don't automatically know what the labels might be.
485 Let scan_region() remove unreferenced EH BEGIN/END labels.
486 * integrate.c (get_label_from_map): Put inlined labels onto the
487 permanent obstack since we dont know which ones might be exception
489 (save_for_inline_copying): Make new copies of all the handlers.
490 (expand_inline_function): Make new copies of all the handlers.
491 * libgcc2.c: Remove local struct decls, and include eh-common.h.
492 (find_exception_handler): With NEW_EH_MODEL the first matching
493 region we find is the right one. Add eh_info as a new parameter.
494 (__throw): Pass eh_info to find_exception_handler. Set handler
495 and pass use different regs under NEW_EH_MODEL.
497 Thu May 14 12:58:21 1998 Jim Wilson <wilson@cygnus.com>
499 * i960.h (hard_regno_mode_ok): Changed to function from array of
501 (HARD_REGNO_MODE_OK): Call function instead of testing bit.
502 * i960.c (hard_regno_mode_ok): Changed to function from array of
505 Thu May 14 08:41:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
507 * reload.c (remove_replacements): New function.
508 * reload.h (remove_replacements): Declare.
509 * reload1.c (choose_reload_regs): Disable some reloads that
510 belong to inherited reloads.
512 Thu May 14 02:17:17 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
514 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
516 * reload1.c (merge_assigned_reloads): When merging, reset
517 reload_spill_index for the eliminated reload.
519 Wed May 13 17:51:13 1998 Jeffrey A Law (law@cygnus.com)
521 * haifa-sched.c (schedule_insns): Fix merge goof.
523 1998-05-13 Jim Wilson <wilson@cygnus.com>
525 * varasm.c (make_decl_rtl): Revert April 1 change.
526 * alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
527 m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
528 Get function name from the SYMBOL_REF in the DECL_RTL, not from
530 * i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
533 Wed May 13 13:09:19 1998 Jim Wilson <wilson@cygnus.com>
535 * i386.c (notice_update_cc, output_float_compare): Disable
536 TARGET_CMOVE support.
538 Wed May 13 15:28:59 1998 Michael Meissner <meissner@cygnus.com>
539 Jeff Law <law@cygnus.com>
541 * rtlanal.c (find_reg_note): Ignore notes that are not on on
543 (find_regno_note): Likewise.
545 * Makefile.in (stor-layout.o): Depend on except.h
546 (varasm.o, function.o): Likewise.
547 (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
549 * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
550 (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
551 ($(HOST_PREFIX_1)rtl.o): Likewise.
552 ($(HOST_PREFIX_1)bitmap.o): New host object.
553 * emit-rtl.c (toplevel): Include bitmap.h.
554 (gen_rtx): Handle 't' and 'b' nodes.
555 * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
556 Print block number for block begin/end notes. Print 't' type
557 nodes as a pointer. Know that the 3rd argument of live range
558 start/stop notes is really a range_info rtx. If type is 'b', print
559 out argument as a bitmap.
560 * rtl.c: Include bitmap.c.
561 (copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
562 (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
563 * rtl.def (RANGE_LIVE): New node to hold live information while we
564 recalculate the basic blocks.
565 (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
566 (RANGE_VAR): New node, to hold information saved in symbol node for New
567 communicating live range information to the debug output functions.
568 * rtl.h (rtunion_def): Add rttree and rtbit fields.
569 (XBITMAP, XTREE): New accessor macros.
570 (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
571 (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
572 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
573 (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
574 (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
575 (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
576 (RANGE_INFO_*): Likewise.
577 * sched.c (sched_analyze): Keep live range start/stop notes.
578 (unlink_other_notes): Likewise.
579 * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
580 (unlink_other_notes): Likewise.
581 * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
582 (BLOCK_LIVE_RANGE_FLAG): Likewise.
583 (DECL_LIVE_RANGE_RTL): Likewise.
584 (struct tree_block): Add live_range_flag, live_range_var_flag,
585 live_range_start and live_range_end.
586 (struct tree_decl): Add live_range_rtl field.
587 * gengenrtl.c (type_from_format): Handle 'b' and 't'.
588 (accessor_from_format): Likewise.
590 * haifa-sched.c (schedule_block): Make verbose output line up.
591 Also add a blank line in printing the individual ready lists.
593 Wed May 13 15:43:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
595 * Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
596 (c-lex.o): Depend on output.h.
597 (c-common.o): Likewise.
600 (integrate.o): Depend on toplev.h.
601 (regclass.o): Depend on output.h.
602 (final.o): Depend on reload.h.
604 * c-common.c: Include output.h.
605 (check_format_info): Remove unused variable `integral_format'.
607 * c-decl.c (print_lang_decl): Mark parameters `file', `node' and
608 `indent' with ATTRIBUTE_UNUSED.
609 (print_lang_type): Likewise.
610 (maybe_build_cleanup): Likewise for parameter `decl'.
611 (copy_lang_decl): Likewise for parameter `node'.
613 * c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
614 (lang_print_xnode): Mark parameters `file', `node' and `indent'
615 with ATTRIBUTE_UNUSED.
616 (lookup_interface): Likewise for parameter `arg'.
617 (is_class_name): Likewise.
618 (maybe_objc_check_decl): Likewise for parameter `decl'.
619 (maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
621 (maybe_objc_method_name): Likewise for parameter `decl'.
622 (build_objc_string): Likewise for parameters `len' and `str'.
624 * c-lex.c: Include output.h.
626 * c-lex.h (position_after_white_space): Correct typo in prototype.
628 * c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
629 c_expand_end_cond, init_iterators): Add prototypes.
631 * caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
632 with ATTRIBUTE_UNUSED.
634 * calls.c: Include output.h.
636 * cccp.c (pipe_closed): Mark parameter `signo' with
639 * combine.c: Move inclusion of expr.h to after insn-config.h.
641 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
642 as empty, rather define as ((void)0).
644 * sparc.c (sparc_check_64): Add braces around ambiguous `else'.
645 Add parentheses around assignment used as truth value.
647 * cplus-dem.c (squangle_mop_up): Change return type to void.
648 (internal_cplus_demangle): Remove unused parameter `options'.
650 (cplus_demangle_opname): Remove function wide variable `int i' and
651 replace with `size_t i' at each location where it is used.
652 (cplus_demangle_opname): change type of `i' from int to size_t.
654 * cppexp.c (right_shift): Mark parameter `pfile' with
657 * cpphash.c (cpp_lookup): Likewise.
658 (cpp_hash_cleanup): Likewise.
660 * cpplib.c (parse_name): Add a prototype and make it static.
661 (null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
662 (null_cleanup): Likewise for parameters `pbuf' and `pfile'.
663 (macro_cleanup): Likewise for parameter `pfile'.
664 (file_cleanup): Likewise.
666 * cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
667 cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
669 * crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
670 __DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
672 * cse.c (cse_check_loop_start): Mark parameter `set' with
675 * dbxout.c (flag_minimal_debug, have_used_extensions,
676 source_label_number): Move inside macro wrapper check against
677 defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
679 * dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
681 * except.h (doing_eh): Provide prototype.
683 * expr.c: Move inclusion of expr.h to after insn-config.h.
685 * final.c: Include reload.h.
686 (shorten_branches): Cast the first argument of bzero to char *.
688 * fix-header.c (cpp_print_containing_files): Mark parameter
689 `pfile' with ATTRIBUTE_UNUSED.
690 (cpp_fatal): Likewise.
692 * flow.c (find_basic_blocks_1): Cast the first argument of bzero
695 * genattrtab.c (make_length_attrs): Change the type of variable
696 `i' from int to size_t.
697 (zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
700 * genextract.c (main): When generating insn-extract.c, mark
701 variable `junk' with ATTRIBUTE_UNUSED.
703 * gengenrtl.c (gencode): When generating genrtl.c, cast the first
704 argument of bzero to char*.
706 * integrate.c: Include toplev.h.
708 * libgcc2.c: Wrap `struct exception_table' and
709 `find_exception_handler' in macro DWARF2_UNWIND_INFO.
711 * objc/Make-lang.in (objc-act.o): Depend on toplev.h.
713 * objc/objc-act.c: Include toplev.h.
714 (lang_print_xnode): Mark parameters `file', `node' and `indent'
715 with ATTRIBUTE_UNUSED.
716 (finish_protocol): Likewise for parameter `protocol'.
718 * output.h (declare_weak): Add prototype.
719 (decode_reg_name): Don't wrap with TREE_CODE macro.
720 (assemble_alias): Add prototype.
722 * regclass.c: Include output.h.
724 * reload.h (reloads_conflict): Add prototype.
726 * rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
727 output_func_start_profiler): Add prototypes.
729 * rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
732 * scan-decls.c: Include scan.h.
734 * scan.h (recognized_function, recognized_extern): Add prototypes.
736 * stmt.c: Include output.h.
738 * toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
739 (output_lang_identify): Hide prototype and definition.
740 (float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
741 (pipe_closed): Likewise.
743 * toplev.h (count_error, strip_off_ending, error_for_asm,
744 warning_for_asm): Add prototypes.
746 Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
748 * toplev.c (rest_of_compilation): "Charge" final for any time
749 doing various cleanup operations after finishing compilation
752 * flow.c (dump_flow_info): Also print number of sets and
753 whether or not the pseudo is a user variable.
755 * flow.c (reg_n_max): New global variable.
756 * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
757 Delete regno_max variable.
758 * regs.h (REG_N_CHECK): Define.
759 (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
760 (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
761 (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
763 Wed May 13 12:54:19 1998 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
765 * acconfig.h (ENABLE_CHECKING): Undefine.
766 * configure.in (--enable-checking): New option.
768 Wed May 13 08:52:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
770 * reload1.c (merge_assigned_reloads): Can merge
771 RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
772 if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
774 Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
776 * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
778 Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
780 * reload1.c (gen_reload): Create REG_EQUIV notes.
782 Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
784 * reload1.c (reload): Fix check for USEs to use code of pattern.
785 (choose_reload_regs): Remove dead variable use_insn.
787 Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
789 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
791 Tue May 12 15:16:02 1998 Michael Meissner <meissner@cygnus.com>
793 * haifa-sched.c (HAIFA_INLINE): Define to be __inline unless
795 (find_insn_{,mem_}list): Use HAIFA_INLINE, not __inline.
796 (insn_{unit,issue_delay}): Ditto.
797 (blockage_range): Ditto.
798 (actual_hazard{,_this_instance}): Ditto.
799 (schedule_unit): Ditto.
800 (potential_hazard): Ditto.
804 (birthing_insn_p): Ditto.
805 (adjust_priority): Ditto.
806 (get_block_head_tail): Ditto.
807 (init_rgn_data_dependences): Ditto.
809 Tue May 12 10:27:54 1998 Klaus Kaempf <kkaempf@progis.de>
811 * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
813 Tue May 12 11:44:14 1998 Gavin Koch <gavin@cygnus.com>
815 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
817 Tue May 12 11:38:31 1998 Gavin Koch <gavin@cygnus.com>
819 * config/mips/mips.md (dslot): Move after definition of "cpu"
820 attribute. Handle r3900 case.
822 Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
824 * system.h: Define the STRINGIFY macro here.
825 * protoize.c: Not here.
826 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
828 Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
830 * varasm.c (assemble_variable): Compute the alignment of the data
831 earlier so that both initialized and uninitialized variables are
832 effected by DATA_ALIGNMENT.
833 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
835 Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
837 * mips.c: Prototype static functions.
839 Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
841 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
842 Add explanatory comments.
844 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
846 Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
848 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
850 Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
852 * varasm.c (make_decl_rtl): Disable April 1 change.
854 Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
856 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
858 Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
860 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
861 * alpha.c (print_operand): Handle it.
862 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
863 related define_splits. Also add peepholes for SImode reload
864 plus sign_extend lossage.
866 Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
868 * genattr.c: Include stdarg.h/varargs.h. Change function
869 `fatal' to use variable arguments instead of faking it with
870 integer parameters. Provide a prototype which also
871 checks the format specifiers using ATTRIBUTE_PRINTF_1.
873 * genattrtab.c: Likewise.
874 * gencodes.c: Likewise.
875 * genconfig.c: Likewise.
876 * genemit.c: Likewise.
877 * genextract.c: Likewise.
878 * genflags.c: Likewise.
879 * genopinit.c: Likewise.
880 * genpeep.c: Likewise.
881 * genrecog.c: Likewise.
882 * genoutput.c: Likewise. Similarly for function `error'.
884 Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
886 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
887 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
888 * configure.in: Use GCC_C_VOLATILE.
889 * system.h (volatile): Define as empty if no volatile support is
892 Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
894 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
897 Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
899 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
900 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
901 the body of beq; additionally set the mode of the branch to CCmode for
902 FP compares and not fast_math.
903 (alpha_emit_conditional_move): Always use a compare insn for FP
904 when not fast_math, as well as setting CCmode on the cmov.
905 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
907 * machmode.h (COMPLEX_MODE_P): New macro.
909 Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
911 * haifa-sched.c (print_exp): Fix typo.
913 Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
915 * version.c: Bump for snapshot.
917 Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
919 * final.c (final_scan_insn): Call fatal_insn instead of abort if
920 we could not split an insn when required to.
922 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
924 (peepholes): Disable peepholes that call dead_or_set_p.
925 (movsi): Rewrite to handle addresses better after last change.
926 Add define_split to split load of addresses in large/medium modes.
927 (prologue): Call m32r_expand_prologue.
928 (movsi_{push,pop}): Generators for push/pop.
929 (movsi): Support PRE_{INC,DEC}, POST_INC.
930 (mov{di,df}): Rewrite. Always split the insns.
931 (movsf): Add define_split to get register load in correct mode.
932 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
933 (attributes): Rewrite attributes so that type indicates both the
934 type and the length of the insn directly.
935 (all insns): Change to use new type attributes.
936 (debug): New attribute to convey whether -mdebug was used.
937 (opt_space): New attribute to convey whether -Os was used.
938 (function units): Loads are 3 cycles, not 2. Better classify all
939 insns into short/long.
940 (load/store/extend insns): Add separate case for load/store
941 indirect operations without an offset.
942 (divsi3): Division is a long operation, not short.
944 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
946 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
947 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
948 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
949 operands with PRE_{INC,DEC}, POST_INC.
950 (FUNCTION_PROFILER): Call abort instead of doing nothing.
951 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
953 (gen_split_move_double): Declare.
954 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
956 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
957 emit_move_insn, build up SET's directly.
958 (toplevel): Include system.h, not stdio.h.
959 (move_double_src_operand): Allow any DF or DI mode constant.
960 (gen_split_move_double): Split moves of DI or DF values into the
961 appropriate moves, loads, or stores. Don't handle use of auto
962 inc/dec if using dead index. Do handle overlapping moves, etc.
963 (m32r_frame_info): Remove prologue_size field.
964 (m32r_compute_frame_size): Don't calculate prologue size.
965 (m32r_output_function_prologue): Change to pretty much a NOP.
966 (m32r_expand_prologue): Expand prologue as a series of INSNs.
967 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
968 (m32r_print_operand_address): Ditto.
970 Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
972 * reload1.c (emit_reload_insns): When performing expensive
973 optimizations, do not output the last reload insn if OLD is
974 not the dest of NSN and is in the src and is clobbered by INSN.
976 Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
978 * Makefile.in (genrtl.o): Depend on system.h.
979 * gengenrtl.c (gencode): When creating genrtl.c, have it
982 Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
984 * config/m68k/t-linux: Remove extra stuff already included in
987 Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
989 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
990 curses.h if it contains `typedef char bool;', as suggested by
991 Manfred Hollstein <manfred@s-direktnet.de>.
993 * configure.in: Rename fixinc.math to fixinc.wrap.
995 Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
997 * gcc.c (read_specs): Handle missing blank line at end of specs file.
999 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
1000 movdfcc_1): Disable.
1002 Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
1004 * configure.in (enable_threads): Rename to enable_threads_flag before
1005 main loop. Set enable_threads to enable_threads_flag inside main
1008 Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
1010 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
1013 Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1015 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
1017 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
1018 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
1019 (AC_CHECK_FUNCS): Remove unused check for vprintf.
1021 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
1022 (cccp.o): Depend on gansidecl.h.
1025 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
1026 per the rest of gcc source.
1027 * cexp.y: Likewise. Include gansidecl.h and remove all code made
1030 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
1031 used when vfprintf is missing.
1034 * genattrtab.c: Likewise.
1035 * mips-tfile.c: Likewise.
1036 * toplev.c: Likewise.
1038 * vfprintf.c: New file.
1039 * doprint.c: New file.
1041 Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
1043 * config/linux.h (ASM_COMMENT_START): Remove from here,
1044 * config/linux-aout.h (ASM_COMMENT_START): and here,
1045 * config/i386/linux.h (ASM_COMMENT_START): to here,
1046 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
1047 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
1050 Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1052 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
1055 Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
1057 * Makefile.in (dwarfout.o) Add toplev.h dependency.
1058 * dwarfout.c, i386.c: Include toplev.h
1059 * toplev.h: (pfatal_with_name) Add prototype.
1061 Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
1063 * Makefile.in: Fix .SUFFIXES.
1065 Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1067 * config/linux.h (ASM_COMMENT_START): Define as "#".
1068 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
1070 Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
1072 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
1073 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
1075 * toplev.c: Include toplev.h.
1076 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
1077 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
1078 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
1079 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
1080 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
1081 toplev.h dependency.
1083 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
1084 HARD_FRAME_POINTER_REGNUM.
1086 * expr.c (target_temp_slot_level): Delete duplicate definition.
1088 Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
1090 * stmt.c (mark_seen_cases): Make it have external linkage again.
1091 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
1094 * haifa-sched.c (print_value, case SUBREG): Fix typo.
1096 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
1097 * i386.h (REG_CLASS_CONTENTS): Similarly.
1099 * toplev.c (-fsched-max): Delete flag.
1100 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
1101 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
1102 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
1105 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
1106 inner loops which are not reducible.
1108 * loop.c (regs_match_p): Fix typo in prototype.
1110 * regmove.c (try_auto_increment): Wrap declaration inside an
1111 #ifdef AUTO_INC_DEC.
1113 Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
1115 * final.c (output_operand_lossage): Call fatal with the operand
1116 lossage message instead of calling abort.
1118 Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1120 * c-common.c: Convert to using ctype macros defined in system.h.
1121 * c-lex.c: Likewise.
1123 * collect2.c: Likewise.
1124 * rs6000.c: Likewise.
1125 * cpplib.c: Likewise.
1126 * fix-header.c: Likewise.
1128 * gen-protos.c: Likewise.
1129 * pexecute.c: Likewise.
1130 * protoize.c: Likewise.
1134 * tlink.c: Likewise.
1135 * toplev.c: Likewise.
1137 Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
1139 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
1140 Replace -gdwarf-2 with -g0.
1142 Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1144 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
1145 * mips-tdump.c: Include system.h, remove redundant headers.
1146 * mips-tfile.c: Likewise. Also, convert all ctype function calls
1147 to calls of the macro versions defined in system.h.
1149 * objc/Make-lang.in (objc-act.o): Depend on system.h.
1150 * objc/objc-act.c: Include system.h, remove redundant headers.
1152 Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1154 * configure.in (AC_CHECK_FUNCS): Add isascii.
1155 (GCC_NEED_DECLARATIONS): Add atof.
1157 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
1158 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
1160 Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1162 * system.h: Wrap time.h and sys/file.h in autoconf checks.
1163 Provide default definitions for O_RDONLY and O_WRONLY here.
1165 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
1167 1998-05-06 Mark Mitchell <mmitchell@usa.net>
1169 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
1171 Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
1173 * toplev.h: New file. Protypes for functions in toplev.c.
1174 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
1175 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
1176 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
1177 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
1178 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
1179 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
1180 varasm.c: include it.
1182 Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
1183 Jim Wilson (wilson@cygnus.com)
1185 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
1186 blocks. Check for 1 successor which is the EXIT_BLOCK.
1188 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
1189 unreachable loops with more than one block.
1191 Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
1193 * fix-header.c (write_rbrac): Add "abort" to functions which need to
1196 Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
1198 * Check in merge from gcc2. See ChangeLog.12 for details.
1200 Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
1202 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
1203 accept 'a' flag. 'S' does accept 'a' flag.
1204 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
1207 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
1209 Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1211 * config/m68k/m68k.h: Declare functions from m68k.c used in
1212 macros and machine description.
1213 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
1215 (ASM_OUTPUT_FLOAT): Likewise.
1216 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
1218 Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
1220 * tree.def: Add NAMESPACE_DECL.
1221 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
1222 * dwarf2out.c (push_decl_scope): Likewise.
1223 (scope_die_for): Likewise.
1224 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
1225 how to get next context level.
1227 Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
1229 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
1232 Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
1234 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
1236 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
1237 for any insns skipped at the start of a block because they were
1240 Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
1242 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
1244 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
1246 * c-common.c (format_char_info): Add new field hhlen.
1247 (print_char_table, scan_char_table, time_char_table): Initialize
1248 hhlen field appropriately.
1249 (char_format_info): Recognize hh modifier and lookup correct char
1252 Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
1254 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
1255 reference if this is a store.
1257 Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
1259 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
1261 Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
1263 Make UnixWare 7 bootstrap support work with final shipping product.
1264 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
1265 Pick up xm-siglist and xm-alloca.
1266 (xm_defines): Add USG so dbxout will build.
1267 * configure: Regenerate.
1269 Sun May 3 13:51:34 PDT 1998 Richard Henerson <rth@cygnus.com>
1271 Support for official Sparc V9 ABI:
1272 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
1273 Care for flag_pcc_struct_return default.
1274 (output_move_quad): Rewrite to move by halves on v9 and in the
1276 (move_quad_direction): New function.
1277 (output_fp_move_quad): Use it to determine the direction of copy.
1278 (function_arg_slotno): Return -1 for FP reg overflow as well.
1279 (function_arg_record_value*): New functions.
1280 (function_arg): Use them. Streamline unprototyped parameter passing.
1281 (function_arg_pass_by_reference): Pass TCmode by reference.
1282 (function_value): New function.
1283 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
1284 long long in 64-bit mode.
1285 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
1286 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
1287 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
1288 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
1289 (BASE_INCOMING_ARG_REG): Likewise.
1290 (FUNCTION_VALUE): Call function_value.
1291 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
1292 * sparc.md (movdi_sp32_v9): Disable for arch64.
1293 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
1294 (call_value_address_sp64): Remove register class constraints.
1295 (call_value_symbolic_sp64): Likewise.
1296 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
1297 v9 case to 32-bit constants.
1298 (goto_handler_and_restore_v9): Provide a version for arch64.
1299 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
1300 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
1301 (CPP_PREDEFINES): New.
1302 * sparc/sp64-elf.h: Likewise.
1303 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
1304 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
1305 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
1307 Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
1309 * version.c: Bump for snapshot.
1311 Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1313 * reload.c (find_reloads): Emit USEs to mark where a pseudo
1314 is reloaded with the MEM of its stack slot.
1315 * reload1.c (cannot_omit_stores): Delete.
1316 (reload): Don't initialize it.
1317 Don't apply avoid_return_reg logic to USEs.
1318 When done, remove USEs that have a REG_EQUAL note on them.
1319 (emit_reload_insns): Handle case where we have inherited a MEM.
1320 (choose_reload_regs): Likewise.
1321 (delete_output_reload): Don't use cannot_omit_stores.
1323 Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
1325 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
1327 Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
1329 * haifa-sched.c (print_{exp,value}): Various changes to make the
1330 debug output easier to read. Also, use only one buffer, and make
1331 sure the buffer we are passed in doesn't overflow.
1332 (safe_concat): Concatenate to a buffer without overflow.
1334 Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1336 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
1339 Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1341 * sched.c (new_insn_dead_notes): Check if the register was
1342 used in the original instruction.
1343 * haifa-sched.c (new_insn_dead_notes): Likewise.
1345 Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
1347 * dwarf2out.c (scope_die_for): If could not find proper scope,
1348 check for and handle tagged type with incorrect TYPE_CONTEXT.
1350 Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
1352 * calls.c (expand_call): Fix recognition of C++ operator new.
1354 * alias.c (mode_alias_check): Disable type based alias detection.
1356 Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
1358 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
1359 ASM_OUTPUT_WEAK_ALIAS): Define.
1360 * config/mips/elf64.h: Same.
1361 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
1362 ASM_WEAKEN_LABEL): Removed.
1364 Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1366 * calls.c (expand_call): Bump the length limit on the specially
1367 recognized function names to 17.
1369 Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
1371 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
1372 when undefining macros at the end.
1374 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
1375 val or len has TREE_SIDE_EFFECTS set.
1377 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
1378 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
1379 (smuldi3_highpart): Call const v8plus routine.
1380 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
1381 (const_smulsi3_highpart_v8plus): New pattern.
1382 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
1383 (umulsidi3): Call const v8plus routine.
1384 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
1386 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
1387 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
1389 Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
1391 * m32r.c (*_oper{and|ator}): Change enum arguments and return
1392 values to int, so they can be prototyped even in files that don't
1394 ({small,large}_insn_p): Ditto.
1395 (m32r_select_cc_mode): Ditto.
1396 (gen_compare): Ditto.
1397 (function_arg_partial_nregs): Ditto.
1398 (m32r_setup_incoming_varargs): Ditto.
1399 (init_reg_tables): Add prototype.
1400 (m32r_frame_info): Add prolog_size field.
1401 (m32r_compute_frame_size): Calculate the size of the prologue.
1402 (m32r_first_insn_address): Return prologue size.
1403 (m32r_output_function_prologue): Calculate frame size before
1404 printing out information. Print out the prologue size.
1406 * m32r.h: Prototype all functions in m32r.c.
1407 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
1409 * m32r.md (bcc functions): Cast enum's to int.
1411 * m32r.c (conditional_move_operand): Silence a debug message.
1412 ({small,long}_insn): New predicates.
1414 * m32r.h (TARGET_M32R): New macro.
1415 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
1416 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
1418 (ISSUE_RATE): Define as 2.
1420 * m32r.md (insn_size): New attribute.
1421 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
1423 (m32r): New attribute.
1425 * configure.in (enable_haifa): Switch m32r to Haifa by default.
1426 * configure: Regenerate.
1428 (Changes from Nick Clifton <nickc@cygnus.com>)
1429 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
1430 the equivalent of a negated 'I' constraint.
1431 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
1432 optimisation to work.
1434 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
1435 than 'I' since the value is negated.
1436 (peephole): Add peephole optimisation to cope with optimization of
1437 divide and subtracts of the same operands.
1439 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
1443 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
1446 Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
1448 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
1450 Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
1452 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
1453 frame_pointer_rtx not FRAME_POINTER_REGNUM.
1455 Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
1457 * reg-stack.c: Revert last patch (Apr 20).
1458 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
1460 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
1462 * loop.c (check_dbra_loop): New locals jump, first_compare, and
1463 compare_and_branch. Call get_condition to set first_compare.
1464 Set compare_and_branch to number of compare/branch instructions.
1465 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
1466 Replace '2' with compare_and_branch.
1468 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1470 * cplus-dem.c (demangle_qualified): Replace missing else.
1472 Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1474 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
1476 Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1478 * sh.c (sh_expand_prologue, sh_expand_epilogue):
1479 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
1480 * sh.h (STACK_BOUNDARY): Likewise.
1482 Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1484 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1486 Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
1488 * system.h (abort): If abort is not defined, and neither is
1489 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
1490 reporting the line and filename of the error.
1492 * .gdbinit: Add breakpoints on exit and fancy_abort.
1494 * final.c (split_double): Avoid a compiler warning if
1495 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
1497 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
1498 for calling jump_optimize.
1500 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
1501 macros, rather than 0/1's.
1503 Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
1505 * alpha.h (CONST_COSTS): Zero is always free.
1506 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
1508 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1510 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
1511 length in the name of a virtual table.
1513 Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
1515 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
1517 Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
1519 * version.c: Bump for snapshot.
1521 Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
1523 * fold-const.c (fold_convert): Fix typo.
1525 Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
1527 * alias.c (alias_invariant): New variable.
1528 (record_base_value): New argument INVARIANT.
1529 (memrefs_conflict_p): If a register has an entry in the alias_invariant
1530 array, try substituting that value for the register.
1532 * rtl.h: Declare record_base_value.
1534 * loop.c, unroll.c: Update callers of record_base_value.
1536 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
1537 ZERO_EXTEND do not affect base values.
1539 Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
1541 * dbxout.c (dbxout_type): Fix typo.
1542 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
1544 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
1546 Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
1548 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
1549 if the argument is the address of a structure or array.
1551 * configure.in: Enable Haifa scheduler by default for SPARC.
1553 Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1555 * cse.c (cse_set_around_loop): Don't do optimization when
1556 new pseudos are created.
1558 Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
1560 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
1562 (dbxout_type_method_1, dbxout_type): Likewise.
1563 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
1564 (dbxout_type): Fix check for when to print a type range in
1567 Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1569 * (gen_shl_and, in case 1): Fix comparison with mask.
1571 Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
1573 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
1574 pointer as second register in REG+REG pair.
1576 Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1578 * c-common.c (check_format_info): Don't check for the 'x' format
1579 character twice, instead check for 'x' and 'X'
1581 Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
1583 * Makefile.in (libgcc2.ready): Add explicit dependancy from
1584 $(STMP_FIXPROTO) to ensure all necessary include files have
1585 been created and to guarantee proper parallel builds.
1587 Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1589 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
1590 register for stdarg functions.
1591 * sh.h (current_function_varargs): Declare.
1592 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
1594 1998-04-23 Jim Wilson <wilson@cygnus.com>
1596 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
1597 inhibit_libc is defined.
1599 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
1601 Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
1603 * profile.c (tablejump_entry_p): New function.
1604 (branch_prob): Add code to recognize MIPS tablejump entry branch.
1605 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
1607 Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
1609 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
1610 found, rather than at end of the loop, after the insn has been
1613 Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1615 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
1616 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
1618 Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
1620 * loop.c (note_addr_stored): Correct function to take 2 arguments,
1623 * rtl.def (MATCH_INSN2): Add new matching pattern.
1624 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
1626 Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
1628 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
1629 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
1631 * final.c (split_double): Sign extend both halves of a split CONST_INT.
1633 Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
1635 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
1637 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1639 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
1640 (cplus_demangle_opname): Call mop_up_squangle.
1641 (cplus_demangle): Initialize squangle info, then call
1642 internal_cplus_demangle. (Most code moved there as well)
1643 (internal_cplus_demangle): New function, performs most of what use
1644 to be done in cplus_demangle, but is only called with this file.
1645 (squangle_mop_up): New function to clean up B and K code data.
1646 (mop_up): set pointers to NULL after freeing.
1647 (demangle_signature, demangle_template, demangle_class): Add
1648 switch elements to handle K and B codes.
1649 (demangle_prefix, gnu_special, demangle_qualified): Add
1650 code to handle K and B codes.
1651 (do_type, demangle_fund_type): Handle B and K codes.
1652 (remember_Ktype): New function to store K info.
1653 (register_Btype, remember_Btype): New functions for B codes.
1654 (forget_B_and_K_types): New function to destroy B and K info.
1656 1998-04-21 Jim Wilson <wilson@cygnus.com>
1658 * stmt.c (check_seenlabel): When search for line number note for
1659 warning, handle case where there is no such note.
1661 Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
1663 * genemit.c (gen_exp): Allow machine description to set mode of
1666 Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
1668 * alias.c (mode_alias_check): New function.
1669 (true_dependence, anti_dependence, output_dependence): Call
1672 Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
1674 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
1675 (MIPS_STACK_ALIGN): Similarly.
1677 * c-common.c (type_for_mode): Handle TI types.
1678 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
1679 (init_decl_processing): Handle TI types.
1680 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
1682 * mips.c (block_move_loop): Test Pmode == DImode instead of
1684 (expand_block_move, save_restore_insns): Likewise.
1685 (function_prologue, mips_expand_prologue): Likewise.
1686 (mips_expand_epilogue): Likewise.
1687 * mips.h (POINTER_SIZE): Allow specific targets to override.
1688 (Pmode): Allow specific targets to override.
1689 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
1690 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
1691 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
1692 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
1693 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
1694 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1695 * mips.md (indirect, tablejump & casesi support): Test for
1696 Pmode == DImode instead of TARGET_MIPS64.
1697 (call patterns): Likewise.
1699 Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1701 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
1702 for gen_rtx(MEM, ...).
1704 Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
1706 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
1707 to not be so gross, and to properly function with PIC.
1709 Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
1711 * frame.c (heapsort): Rename to frame_heapsort.
1713 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
1715 Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
1717 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
1719 Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
1721 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
1722 operands during and after reload.
1724 Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1726 * final.c (shorten_branches, init_insn_lengths): Move code
1727 to free label_align, uid_shuid, insn_lengths, insn_addresses
1728 and uid_align from the former function into the latter one;
1729 Add code to clear these variables.
1730 * sh.h (label_align): Remove declaration.
1732 Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
1734 * gcc.c (lang_specific_driver): Declare prototype properly so
1735 fatal can be passed to it without error.
1737 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
1738 * configure: Regenerate.
1739 * config.in: Add #undef's for strchr and strrchr.
1741 * protoize.c (toplevel): If we have rindex, but not strrchr, map
1743 (file_could_be_converted): Use strrchr, not rindex since rindex is
1744 not defined on Linux systems when _POSIX_SOURCE is defined.
1745 (file_normally_convertible): Ditto.
1746 (process_aux_info_file): Ditto.
1749 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
1750 a constant to an integer register, don't split the insns that do
1751 the simple AND and OR operations, rather just split each word, and
1752 let the normal movsi define split handle it further.
1754 Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1756 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
1757 (split_branches): Call init_insn_lengths.
1759 Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
1761 * i386.c: Include expr.h to get the change_address prototype
1764 Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
1766 * reg-stack.c (subst_asm_stack_regs): Change to return the last
1767 new insn generated by this function.
1768 (subst_stack_regs): Likewise.
1769 (convert_regs): Record the last newly generated insn and use
1770 it for change_stack () instead of INSN.
1772 Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
1774 * fix-header.c (enum special_file): Undefine enumerators if they
1775 are already defined by include files.
1776 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
1777 macro with '__' to not pollute user namespace.
1779 Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
1781 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
1783 Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
1785 * version.c: Bump for snapshot.
1787 Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
1789 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
1791 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
1792 Add missing -Dpentium* options.
1793 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
1794 instead of CPP_CPU_DEFAULT.
1795 (EXTRA_SPECS): Add entry for cpp_cpu_default.
1797 Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
1799 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
1800 negative in a stackless frame.
1801 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
1802 in stackless frame size. Support 64-bit stackless frame size.
1803 Combine fpmem offset calculations and don't add total_size to
1804 offset if not pushing a stack frame.
1806 Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
1808 * regmove.c (fixup_match_1): In three places, in flag_exceptions
1809 check, change p to q.
1811 Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
1813 * gcc.c (lang_specific_driver): Add new parm type to prototype.
1814 (added_libraries): New file scope static variable.
1815 (process_command): Initialize added_libraries. Pass it to
1816 lang_specific_driver.
1817 (main): Use added_libraries in check for no input files.
1819 Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
1821 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
1822 code generation. Use 64 bit instructions in 32 bit mode when
1823 possible. Use V9 return instruction. UltraSPARC optimizations.
1825 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
1827 Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
1829 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
1830 just pass zero. That will work regardless of the size of HARD_REG_SET.
1832 * libgcc2.c (__floatdisf): Fix a couple typos.
1834 Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
1836 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
1838 Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
1840 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
1842 Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
1844 * emit-rtl.c (operand_subword_force): If a register can not be
1845 accessed by words, copy it to a pseudo register.
1847 Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
1849 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
1851 Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
1853 * tree.h (mark_seen_cases): Delete declaration.
1855 Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
1857 * stmt.c (mark_seen_cases): Make static and add prototype.
1859 Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1861 * frame.c: Include stdlib.h and unistd.h to possibly get various
1862 function prototypes. The fixproto script guarantees these header
1863 files exist on the target system.
1864 * libgcc2.c: Likewise.
1866 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
1867 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
1868 function parameters.
1869 * libgcc2.c (__udiv_w_sdiv): Likewise.
1871 Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
1873 * varasm.c (asm_output_bss): Add prototype.
1874 (asm_output_aligned_bss): Likewise.
1876 * unroll.c (verify_addresses): Add prototype.
1878 * toplev.c: Add many prototypes. Too many to mention here.
1880 * stmt.c (check_seenlabel): Add prototype.
1882 * rtlanal.c (reg_set_p_1): Add prototype.
1883 (reg_set_last_1): Likewise.
1885 * reorg.c (find_dead_or_set_registers): Add prototype.
1887 * regmove (try_auto_increment): Add prototype.
1889 * reg-stack.c (pop_stack): Add prototype.
1891 * recog.c (validate_replace_rtx_1): Add prototype.
1892 (find_cosntant_term_loc): Likewise.
1894 * loop.c (regs_patch_p): Add prototype.
1895 (add_label_notes, count_nonfixed_reads): Likewise.
1896 (find_single_use_in_loop): Likewise.
1897 (express_from): Surround prototype with #ifdef.
1898 (giv_sort): Similarly.
1900 * jump.c (mark_modified_reg): Add prototype.
1902 * haifa-sched.c (is_prisky): Add prototype.
1903 (queue_to_ready): Likewise.
1905 * genextract.c (gen_insn): Add prototype.
1907 * genemit.c (max_operand_1): Add prototype.
1908 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
1909 (gen_expand, gen_explit, output_add_clobbers): Likewise.
1910 (output_init_mov_optab): Likewise.
1912 * genattrtab.c (attr_hash_add_rtx): Add prototype.
1913 (attr_hash_add_string, write_length_unit_log): Likewise.
1915 * genattr.c (init_range): Add prototype.
1917 * combine.c (sets_function_arg_p): Add prototype.
1919 * expr.c (store_constructor_field): Add prototype.
1920 (get_memory_usage_from_modifier): Likewise
1922 * expmed.c (synth_mult): Add prototype.
1923 (choose_multiplier, invert_mod2n): Likewise.
1925 * except.c (push_eh_entry): Add prototype.
1926 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
1927 (call_get_eh_context, start_dynamic_cleanup): Likewise.
1928 (start_dynamic_handler, can_throw): Likewise.
1929 (output_exception_table_entry, scan_region): Likewise.
1930 (eh_regs, set_insn_eh_region): Likewise.
1932 * dwarfout.c (decl_class_context): Add prototype.
1933 (output_inheritance_die, type_ok_for_scope): Likewise.
1935 * c-lex.c (skip_white_space_on_line): Add prototype.
1937 * alias.c (record_set): Add prototype.
1938 (find_base_term, base_alias_check): Likewise.
1940 * function.c (assign_outer_stack_local): Make static and add prototype.
1942 * haifa-sched.c (build_control_flow): Accept raw data as inputs
1943 instead of computing it locally. Callers changed.
1944 (find_rgns): Several new arguments. Callers changed.
1945 Generally clean up and comment better. Use dominators to
1946 identify reducible loops. Convert some flag arrays to bitmaps.
1947 Convert most of the code to work on pred/succ lists instead of
1948 an edge table. Add comments for future improvements.
1949 (schedule_insns): Allocate temporary tables for flow data, call
1950 routines to compute flow data and pass it along to children as
1952 (debug_control_flow): Delete. Use dump_bb_data instead.
1954 * basic-block.h (compute_dominators): Declare.
1956 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
1958 * basic-block.h: Declare them.
1960 Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
1962 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
1965 Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
1967 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
1968 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
1969 node is non NULL. Cache last file name and file name identifier node.
1971 1998-04-15 Mark Mitchell <mmitchell@usa.net>
1973 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
1974 the length of an array, not TREE_TYPE.
1976 Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
1978 * flow.c (sbitmap_union_of_successors): New function.
1979 * basic-block.h (sbitmap_union_of_successors): Declare it.
1981 Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
1983 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
1984 Set gnu_ld to gnu_ld_flag inside main loop.
1987 Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
1989 * toplev.c (compile_file): Call init_parse using new interface.
1990 (init_lex): Remove declaration.
1992 * c-lex.c (init_parse): Now returns char* containing filename.
1994 Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
1996 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
1998 Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
2000 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
2001 (gen{extract,peep,opinit,output}): Ditto.
2003 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
2004 global definition so print-rtl.o can be linked in.
2005 * gen{peep,recog}.c (insn_attr_name): Ditto.
2007 Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
2009 * fixincludes: discard empty C++ comments, as found in sys/time.h
2012 Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2014 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
2017 Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
2019 * emit-rtl.c (operand_subword): Rework slightly to avoid
2020 bogus warning from previous change.
2022 Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
2024 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
2025 Nov 8 find_replacement change. Move decls of get_unaligned_address
2026 * alpha.h: ... here.
2028 Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
2030 * function.c (assign_parms): Initialize unsignedp before passing
2031 its pointer to promote_mode.
2033 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
2034 (write_test_expr): Allow MATCH_INSN.
2036 Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
2038 * install.texi: Update section on warnings that can be safely ignored.
2040 Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
2042 * mips.md (reload_outdi): Change the scratch mode from DImode to
2043 TImode. New variable scratch, used instead of operand[2] in template.
2044 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
2046 Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
2048 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
2050 Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
2052 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
2054 Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
2056 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
2057 (ASM_FINISH_DECLARE_OBJECT): Likewise.
2059 * Idea and part of the patch from HJ.
2060 * Makefile.in: auto-host.h renamed from auto-config.h. All references
2062 (distclean): Remove auto-build.h too.
2063 * configure.in: Rename host autoconf generated file to auto-host.h.
2064 If host != build, then run autoconf to generate auto-build.h for
2065 the build machine and include it in build_xm_files.
2066 Check for wait.h and sys/wait.h.
2068 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
2069 TRULY_NOOP_TRUNCATION.
2071 Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
2073 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
2075 Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
2077 * invoke.texi (ld options) Include memset requirements
2078 for options -nodstdlib and -nodefaultlibs.
2080 1998-04-12 Paul Eggert <eggert@twinsun.com>
2082 This change is from an idea suggested by Arthur David Olson.
2084 * c-common.c (decl_attributes, record_function_format,
2085 check_format_info, init_function_format_info):
2086 Add support for strftime format checking.
2087 (enum format_type): New type.
2088 (record_function_format): Now static, and takes value of type
2089 enum format_type instead of int.
2090 (time_char_table): New constant.
2091 (struct function_format_info): format_type member renamed from is_scan.
2092 (check_format_info): Use `warning' rather than sprintf followed by
2093 `warning', to avoid mishandling `%' in warnings.
2094 Change `pedwarn' to `warning', since these warnings do not necessarily
2095 mean the program does not conform to the C Standard, as the code
2096 need not be executed.
2098 * c-tree.h (record_function_format): Remove decl; no longer extern.
2100 * extend.texi: Add documentation for strftime format checking.
2102 Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
2104 * mips/ecoffl.h: Do not include mips.h.
2105 * mips/elf.h: Likewise.
2107 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
2108 * mips/ecoff.h: Include "mips/mips.h".
2110 Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
2112 * version.c: Bump for snapshot.
2114 Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
2116 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
2117 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
2118 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
2119 between loop optimization passes.
2120 * rtl.h: Updated appropriately.
2122 Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
2124 Reinstall this patch from Jason.
2125 * function.c (push_function_context_to): Don't call init_emit.
2127 Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
2129 * rtl.c (read_skip_spaces): Prevent infinite loops upon
2130 encountering unterminated comments.
2132 Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
2134 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
2137 * configure.in: Handle --with-fast-fixincludes.
2138 (fixincludes): If --with-fast-fixincludes, then use a different
2139 fixincludes program by default.
2140 * Makefile.in (fixinc.sh): New rule.
2142 Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
2144 * i386.md (movqi+1): Handle invalid QI register.
2145 (movsf_push-1): Likewise.
2147 Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
2149 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
2151 symbolic_memort_operand(), call32_operand(), int8_operand(),
2152 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
2154 uint16_operand(): Made static.
2156 Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
2158 * calls.c (expand_call): Fix typo.
2160 Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
2162 * c-lex.c (finput): New global.
2163 (init_parse): Always included. Handle !USE_CPPLIB using
2164 code originally in compile_file.
2165 (finish_parse): Update for CPPLIB.
2166 * toplev.c (init_parse, finish_parse): Declare.
2167 (finput): Delete variable. Now in front-ends.
2168 (compile_file): Remove code which is now handled by init_parse
2169 which is unconditionally called. Similarly for finish_parse.
2171 Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
2173 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
2174 ASM_WEAKEN_LABEL): Add.
2176 Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
2178 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
2179 * configure.in (alpha-*-linux*): Use them.
2181 Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
2183 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
2184 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
2185 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
2186 (build_expr_wfl): New prototype declaration.
2187 * tree.c (build_expr_wfl): New function, to build
2188 EXPR_WITH_FILE_LOCATION nodes.
2189 (copy_node): Don't zero TREE_CHAIN if copying a
2190 EXPR_WITH_FILE_LOCATION node.
2191 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
2192 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
2194 Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
2196 * configure.in (v850): Use t-v850.
2197 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
2199 * protoize.c (creat, read, write): Do not declare.
2201 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
2202 refer to the CODE_LABEL before a dispatch table.
2204 * invoke.texi: Add ARC options.
2206 * gcc.c (proces_command): Improve error message for -o with
2209 * i386/x-cygwin32 (CLIB): Link in advapi32.
2211 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
2212 (ASM_IDENTIFY_LANGUAGE): Likewise.
2214 * i386.md (movqi recognizer): Don't perfom byte increment into
2217 * configure.in (x86-dg-dgux): Run fixinc.dgux.
2219 * i370.h: Fix typo in GEN_INT changes.
2221 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
2222 of an empty arglist in prototype.
2224 * Makefile.in: Remove bytecode crud that crept back in after the
2227 1998-04-08 Brendan Kehoe <brendan@cygnus.com>
2229 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
2230 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
2232 Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
2234 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
2236 Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
2238 * c-lex.c (is_class_name): Delete declaration.
2239 (whitespace_cr): Make static and add prototype.
2240 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
2241 yylex, get_directive_line): Turn declarations into prototypes.
2242 (position_after_whitespace, check_newline, yyerror,, is_class_name,
2243 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
2245 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
2247 * gencodes.c (gen_insn): Add prototype.
2248 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
2249 gen_peephole): Add prototypes.
2250 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
2252 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
2253 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
2254 genheader, gencode): Add prototypes.
2255 * genopinit.c (gen_insn): Add prototype.
2256 * genoutput.c (output_prologue, output_epilogue, scan_operands,
2257 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
2258 gen_expand, gen_split, n_occurrences): Add prototypes.
2259 * genpeep.c (gen_peephole): Add prototype.
2260 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
2261 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
2262 labels_in_range_p, count_loop_regs_set, note_addr_stored,
2263 loop_reg_used_before_p, scan_loop, replace_call_address,
2264 skip_consec_insns, libcall_benefit, ignore_some_movables,
2265 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
2266 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
2267 check_final_value, record_giv, update_giv_derive, basic_induction_var,
2268 simplify_giv_expr, general_induction_var, consec_sets_giv,
2269 check_dbra_loop, express_from, combine_givs_p, combine_givs,
2270 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
2271 last_use_this_basic_block, record_initial, update_reg_last_use,
2272 iteration_info, analyze_loop_iterations, insert_bct,
2273 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
2276 Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
2278 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
2280 1998-04-07 Ken Raeburn <raeburn@cygnus.com>
2282 * config/mips/mips.c (siginfo): Deleted.
2283 (override_options): Don't install SIGINFO signal handler.
2285 Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
2287 * loop.c (check_dbra_loop): When normalize comparison_val, add check
2288 to verify it is non-negative.
2290 Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
2292 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
2293 (alpha_expand_block_clear): Likewise.
2295 Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
2297 * tree.h (sizetype_tab): Fix previous change for K&R.
2299 Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
2301 * version.c: Bump for snapshot.
2303 Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
2305 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
2306 Add USG and POSIX to xm_defines.
2308 Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
2310 * gcc.c: Add linker spec.
2311 (link_command_spec): Use %(linker) instead of ld.
2312 (main): If collect2 is requested as the linker, see if it exists;
2313 if not, use ld instead.
2315 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
2317 (install-collect2): Install as collect2, not ld.
2319 * configure.in(will_use_collect2): It's named collect2 now.
2321 * collect2: Remove checks to see if we were invoked recursively.
2322 (collect_execute): Use _spawnvp under cygwin32.
2324 Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
2326 * haifa-sched.c (build_control_flow): Set unreachable for block whose
2327 only predecessor is itself.
2329 Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2331 * c-parse.in: Include system.h, and remove stuff now made redundant.
2334 * protoize.c: Likewise. Properly check for cpp stringification.
2336 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
2339 * objc/Make-lang.in (objc-parse.o): Likewise.
2341 Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2343 * gansidecl.h: Check if compiler supports __attribute__. Provide
2344 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
2345 __attribute__ when its available. Also provide definitions for
2346 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
2347 terms of ATTRIBUTE_PRINTF.
2349 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
2352 Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
2354 * combine.c (can_combine_p): Include successor in volatile test.
2356 Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2358 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
2361 Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
2363 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
2364 in prototype and definition.
2366 Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
2368 * version.c: Bump for snapshot.
2370 Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
2372 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
2373 alpha_expand_unaligned_store_words.
2375 Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
2377 * i386.md (movsf_push, movsf_mem): Remove.
2378 (movsf_push): Rename from movsf_push_nomove and move in front of
2379 movsf. Use nonmemory_operand predicate and don't bother checking
2381 (movsf_push_memory): New pattern.
2382 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
2383 both operands refer to memory then force operand[1] into a register.
2384 (movsf_normal): Change to unnamed pattern.
2385 Likewise for movdf, movxf, and friends.
2387 Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
2389 * version.c: Bump for snapshot.
2391 Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
2393 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
2395 Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
2397 * configure.in (mips-wrs-vxworks): New target.
2399 Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
2401 * expmed.c (synth_mult): The value -1, has no zeros, so it can
2402 never have the form ...011.
2404 * version.c: Bump for snapshot.
2406 Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
2408 * i386.c (asm_output_function_prefix, load_pic_register):
2409 Use ASM_GENERATE_INTERNAL_LABEL properly.
2410 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
2411 (print_operand): Ignore it.
2412 (load_pic_register): Use it for the got load call.
2413 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
2414 (prologue_get_pc_and_set_got): Likewise.
2415 * i386.h: Update print_operand docs.
2417 Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
2419 * i386.md (ffssi, ffshi): Rewrite as define_expands.
2420 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
2421 * i386.c (notice_update_cc): Recognize unspec 5.
2423 Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
2425 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
2426 * alpha.c (print_operand): Handle it.
2427 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
2429 (fix_truncdfdi2): Likewise.
2431 Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
2433 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
2434 of these into a single struct, with additional [us]sizetype entries.
2435 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
2436 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
2439 Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
2441 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
2443 Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
2445 * haifa-sched.c (split_block_insns): Don't supress insn splitting
2446 on subsequent passes.
2448 * alpha.c (hard_fp_register_operand): New function.
2449 * alpha.h (PREDICATE_CODES): Add it.
2450 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
2451 f<-m case and accompanying define_split.
2452 (trapb): Use a unique unspec_volatile number.
2454 Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
2456 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
2459 Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
2461 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
2464 * haifa-sched.c: Mirror recent changes from gcc2.
2466 Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
2468 * Makefile.in (insn*.o): Depend on system.h.
2470 * pa.c (output_global_address): Initialize base.
2471 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
2473 1998-04-03 Mike Stump <mrs@wrs.com>
2475 * gthr.h: Support systems that don't have weak, but have threads.
2476 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
2477 * gthr-vxworks.h: New file.
2478 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
2480 Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
2482 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
2484 1998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
2486 * ginclude/va-i960.h (va_end): Change void * to void.
2488 Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2490 * Makefile.in (choose-temp.o): Depend on system.h.
2492 * choose-temp.c: Include system.h when IN_GCC.
2494 Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
2495 Richard Henderson <rth@cygnus.com>
2497 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
2498 (move_replacements): New function.
2499 * reload.h: Prototype it.
2501 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
2503 Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
2505 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
2508 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
2509 (gen_highpart): Likewise.
2510 * final.c (alter_subreg): Allow the target to hook by-mode subreg
2511 hard register number changes.
2513 Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
2515 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
2516 rnbitsize, rnmode and rinner.
2517 (make_range): Initialize type.
2518 (fold): Initialize arg0, arg1 and varop.
2520 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
2522 (expand_function_start): Initialize last_ptr.
2524 * stor-layout.c (layout_record): Initialize desired_align.
2525 (get_best_mode): Initialize unit.
2527 * tree.c (copy_node): Initialize length.
2529 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
2531 * caller-save.c (insert_save_restore): Initialize pat, code and
2534 * emit-rtl.c (push_to_sequence): Initialize top.
2535 (push_topmost_sequence): Likewise.
2537 * genattrtab.c (simplify_by_exploding): Initialize defval.
2539 * profile.c (branch_prob): Initialize dest.
2541 * rtl.h (note_stores): Remove duplicate prototype.
2542 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
2544 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
2545 strings that are not actually lengths.
2547 * genattrtab.c: Make generated file use system.h, instead of
2548 including stdio.h, etc directly.
2549 * genextract.c, genopinit.c, genoutput.c: Likewise.
2550 * genpeep.c, genrecog.c: Likewise
2552 * genoutput.c (process_template): Mark operands in the generated
2553 function as potentially unused if compiling with GNU CC.
2555 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
2557 * pa.md (reload peepholes): Remove unused variable "mode".
2559 Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
2561 * config/arm/thumb.h: Add super interworking support.
2562 * config/arm/thumb.c: Add super interworking support.
2563 * config/arm/thumb.md: Add super interworking support.
2564 * config/arm/lib1funcs.asm: Add interworking support.
2565 * config/arm/lib1thumb.asm: Add super interworking support.
2566 * config/arm/t-semi: Add interworking support.
2567 * config/arm/t-thumb: Add interworking support.
2568 * config/arm/README-interworking: New file.
2570 Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
2572 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
2573 (MD_STARTFILE_PREFIX): Unset.
2575 1998-04-01 Mark Mitchell <mmitchell@usa.net>
2577 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
2578 entity in a local scope.
2580 * fold-const.c (fold): Call truthvalue_conversion for values which
2581 are folded to boolean type.
2583 Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
2585 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
2586 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
2587 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
2588 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
2589 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
2590 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
2591 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
2592 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
2593 * md.texi: Likewise.
2595 Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
2597 * fixincludes (limits.h): Fix nested comments in Motorola's
2598 limits.h and sys/limits.h.
2600 Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
2602 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
2603 as dest of expand_binop call.
2605 * alpha.md (extzv): Correct check for valid operand[2] values.
2607 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
2610 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
2612 Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
2614 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
2615 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
2617 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
2618 cygwin32 can override this to allow both unix and win32 style PATHs.
2620 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
2621 style environment paths.
2623 Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2625 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
2626 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
2627 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
2630 * cpphash.c: Include config.h.
2631 * cppalloc.c: Include system.h. Add parameters to various
2632 function prototypes.
2633 * cpperror.c: Likewise.
2634 * cppexp.c: Likewise.
2635 * cpphash.c: Likewise.
2636 * cpplib.c: Likewise.
2637 * cppmain.c: Likewise.
2638 * fix-header.c: Likewise.
2640 * gen-protos.c: Likewise.
2641 * gengenrtl.c: Likewise.
2642 * halfpic.c: Likewise.
2644 * scan-decls.c: Likewise.
2647 Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
2649 * README.gnat: Add lang_print_xnode definition.
2651 Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2653 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
2654 fmovecr on the 68060.
2656 Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
2658 * genemit.c (DONE): Rework so that it works in the true arm if
2659 an if-else conditional.
2662 Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
2664 * rs6000.c: Do not include stdioh or ctype.h anymore.
2666 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
2668 (stor-layout.o): Likewise.
2669 * c-typeck.c: Include rtl.h and expr.h.
2670 * stor-layout.c: Likewise.
2672 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
2673 All callers changed.
2674 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
2675 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
2676 All callers changed.
2678 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
2680 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
2682 * tree.h (lang_print_xnode): Provide prototype.
2684 Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
2686 * version.c: Bump for snapshot.
2688 Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
2690 * objc/sendmsg.c (__objc_block_forward): Add braces for return
2691 value if INVISIBLE_STRUCT_RETURN.
2693 * pa.c (arith_double_operand): Fix parens.
2695 * haifa-sched.c (print_pattern): Correct arg to sprintf.
2697 * Makefile.in (libgcc1.null): Make return type for __foo void.
2699 Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
2701 * pa.h: Add declarations for many functions defined in pa.c.
2703 * genpeep.c (main): Remove unused variable 'i' from the generated
2706 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
2707 (gen_split): Likewise.
2708 (main): Rework generated definitions of DONE and FAIL so that they
2709 no longer use gotos. Avoids warnings about unused labels.
2711 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
2712 unused "junk" variable.
2714 * genattrtab.c (write_complex_function): Add a default case in
2715 generated switch statement to keep -W -Wall quiet.
2717 Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
2719 * invoke.texi: Document more ARM and Thumb command line options.
2721 * config/arm/xm-thumb.h: New file.
2723 Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
2725 * stmt.c (expand_expr_stmt): Must generate code for
2726 statements within an expression (gcc's `({ ... )}')
2727 even if -fsyntax-only.
2729 Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2730 Jeffrey A Law (law@cygnus.com)
2732 * basic-block.h (basic_block_computed_jump_target): Declare.
2733 * flags.h: (current_function_has_computed_jump): Declare.
2734 * flow.c: (basic_block_computed_jump_target): Define.
2735 (flow_analysis): Allocate it. Set current_function_has_computed_jump
2737 (find_basic_blocks): Set current_function_has_computed_jump and
2738 elements of basic_block_computed_jump_target to 1 as appropriate.
2739 * function.c: (current_function_has_computed_jump): Define.
2740 * global.c (global_conflicts): Don't allocate pseudos into stack regs
2741 at the start of a block that is reachable by a computed jump.
2742 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
2744 (subst_stack_regs): Undo change from Sep 4 1997.
2745 (uses_reg_or_mem): Now unused, deleted.
2746 * stupid.c (stupid_life_analysis): Compute
2747 current_function_has_computed_jump.
2748 (stupid_find_reg): Don't allocate stack regs if the function has a
2750 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
2751 the current function has a computed jump. Use the global value
2754 Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
2756 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
2757 (DWARF2_UNWIND_INFO): Define to zero.
2759 Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
2761 * gcc.c (set_std_prefix): Add declaration.
2762 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
2763 suffix, and update the standard prefix prefix.c uses.
2765 * prefix.c (std_prefix): New global to hold default prefix value.
2766 (get_key_value): Change to use std_prefix instead of PREFIX.
2767 (translate_name): Ditto.
2768 (update_path): Ditto.
2769 (get_key_value): Release allocated scratch storage.
2770 (set_std_prefix): New function to reset the standard prefix.
2772 Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2774 * sh.c (find_barrier): Fix calculations for alignment increase.
2776 Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
2778 * Makefile.in (stmp-fixinc): If we're actually fixing include
2779 files, copy gcc's assert.h into the fixed include dir.
2780 * fixincludes (assert.h): Avoid any attempts to fix a probably
2781 broken system specific assert.h file.
2782 * fixproto (stdlib.h): Make sure, it'll contain a definition of
2785 Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
2787 * regclass.c (reg_scan_mark_refs): Be more selective about
2788 when we mark a register with REGNO_POINTER_FLAG.
2790 Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2792 reload inheritance improvement:
2793 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
2794 Change meaning: index is now hard reg number.
2795 (reg_reloaded_valid, reg_reloaded_dead): New variables.
2796 (reload_spill_index): Content is now a hard reg number.
2797 (reload_as_needed): Change to fit new variable meaning.
2798 (forget_old_reloads_1, allocate_reload_reg): Likewise.
2799 (choose_reload_regs, emit_reload_insns): Likewise.
2801 Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2803 * regclass.c (record_reg_classes): '?' increases cost by two.
2805 * reload.c (find_reloads): Double previous costs. Output
2806 reloads cost one unit extra.
2808 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
2809 boiled down to && ! 0.
2811 * reload.c (find_equiv_reg): Also consider a goal offset from the
2812 frame pointer to be constant.
2814 Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2816 * sh.h (OPTIMIZATION_OPTIONS): Define.
2818 Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
2820 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
2822 Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
2824 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
2826 Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
2828 * c-common.c (check_format_info): Initialize type, is_type. New local
2829 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
2830 when pedantic if used with integral format specifier.
2832 Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
2834 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
2836 (function_arg_padding): Declare.
2838 * rs6000.c: Include system.h.
2839 (function_arg_padding): Change return type to int, cast enum's to
2842 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
2843 * collect2.c (scan_prog_file): Add explicit braces to avoid
2846 * dbxout.c (dbxout_type_fields): Add braces around empty body in
2848 (dbxout_type): Likewise.
2850 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
2851 `ptt_size' from int to size_t.
2852 (rs6000_file_start): Likewise for `i'.
2853 (rs6000_replace_regno): Add default case in enumeration switch.
2854 (output_epilog): Remove unused variable `i'.
2855 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
2858 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
2860 (get_issue_rate, non_logical_cint_operand): Add prototype.
2861 (rs6000_output_load_toc_table): Ditto.
2863 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
2866 Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
2868 * config/arm/thumb.c: New File. Support for ARM's Thumb
2870 * config/arm/thumb.h: New File. Thumb definitions.
2871 * config/arm/thumb.md: New File. Thumb machine description.
2872 * config/arm/tcoff.h: New File. Thumb COFF support.
2873 * config/arm/t-thumb: New File. Thumb makefile fragment.
2874 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
2876 * configure.in: Add Thumb-coff target.
2877 * configure: Add Thumb-coff target.
2878 * config.sub: Add Thumb-coff target.
2880 Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
2882 * loop.c (scan_loop): Initialize move_insn_first to zero.
2884 Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
2886 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
2887 * config/i386/rtems.h: Likewise.
2888 * config/i960/rtems.h: Likewise.
2889 * config/m68k/rtems.h: Likewise.
2890 * config/mips/rtems64.h: Likewise.
2891 * config/pa/rtems.h: Likewise.
2892 * config/rs6000/rtems.h: Likewise.
2893 * config/sh/rtems.h: Likewise.
2894 * config/sparc/rtems.h: Likewise.
2896 Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2898 * pa.c (emit_move_sequence): If in reload, call find_replacement.
2900 Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
2902 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
2904 * collect2.c (find_a_file): Add debugging.
2905 (find_a_file): Test for win32 style absolute paths if
2906 DIR_SERPARATOR is defined.
2907 (prefix_from_string): Add debugging.
2908 (main): Test for debug command line switch at start of program
2910 (main): Use GET_ENVIRONMENT rather than getenv().
2911 (prefix_from_env): Use GET_ENVIRONMENT.
2913 1998-03-24 Mark Mitchell <mmitchell@usa.net>
2915 * cplus-dem.c (optable): Add sizeof.
2916 (demangle_template_value_parm): New function containing code
2917 previously found in demangle_template.
2918 (demangle_integral_value): New function which handles complicated
2919 integral expressions.
2920 (demangle_template): Use them.
2922 Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2924 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
2925 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
2926 genattrtab.o, genoutput.o): Depend on system.h.
2928 * genattr.c: Include system.h. Add arguments to various function
2929 prototypes. Remove redundant prototype of read_rtx().
2930 * genattrtab.c: Likewise.
2931 * gencodes.c: Likewise.
2932 * genconfig.c: Likewise.
2933 * genemit.c: Likewise.
2934 * genextract.c: Likewise.
2935 * genflags.c: Likewise.
2936 * genopinit.c: Likewise.
2937 * genoutput.c: Likewise.
2938 * genpeep.c: Likewise.
2939 * genrecog.c: Likewise.
2941 1998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
2943 * c-lang.c (lang_print_xnode): New function.
2944 * objc/objc-act.c (lang_print_xnode): Likewise.
2945 * print-tree.c (print_node): Call it
2947 Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
2949 * c-parse.in: Recognize protocol qualifiers in class
2950 definitions for objc.
2952 (yyerror): Remove redundant decl.
2953 (yyprint): Fix prototype.
2955 Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
2957 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
2959 * stmt.c (unroll_block_trees): Free block_vector if needed.
2961 Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
2963 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
2964 (zero_extendsidi2): Avoid useless copy.
2965 (iordi_zext): New pattern.
2966 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
2968 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
2970 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
2971 (ashldi3): Allow constant shift count in range ]32,63].
2972 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
2974 1998-03-22 Mark Mitchell <mmitchell@usa.net>
2976 * tree.h (IS_EXPR_CODE_CLASS): New macro.
2978 Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
2980 * h8300.h (CONST_COSTS): Remove definition.
2981 (DEFAULT_RTX_COSTS): Define.
2983 Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
2985 * config/sh/rtems.h: Switched from ELF to COFF.
2987 Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2989 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
2991 Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
2993 * version.c: Bump for snapshot.
2995 Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
2996 Geoff Noer <noer@cygnus.com>
2998 * Makefile.in: Various fixes for building cygwin32 native toolchains.
3000 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
3001 * objc/Make-lang.in: Likewise.
3003 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
3005 Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
3007 * configure.in: Handle with-PACKAGE=no correctly
3009 Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3011 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
3012 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
3013 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
3014 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
3015 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
3016 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
3017 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
3018 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
3019 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
3020 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
3023 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
3024 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
3025 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
3026 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
3027 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
3028 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
3029 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
3030 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
3031 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
3032 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
3033 xcoffout.c: Include system.h. Organize include ordering so
3034 that stdarg/varargs comes before other system headers. Remove
3035 spurious casts of functions assured of a prototype in system.h.
3037 Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
3039 * reg-stack.c (pop_stack): Define. Pops any register on the
3040 regstack and adjusts regstack.
3041 (compare_for_stack_reg): Use pop_stack.
3043 Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
3045 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
3048 Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
3050 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
3052 * fold-const.c (fold): Replace sign-extension of a zero extended
3053 value by a single zero extension.
3055 Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
3057 * except.c (init_eh): Do nothing.
3058 (save_eh_status): Call init_eh_for_function, not init_eh.
3059 * function.c (push_function_context_to): Don't call init_emit.
3061 Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
3063 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
3066 Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3068 * final.c (shorten_branches): Add parentheses around +/- in
3071 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
3073 Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
3075 * regclass.c (memory_move_secondary_cost): Wrap uses of
3076 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
3079 Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
3081 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
3083 * flow.c (life_analysis): #include <sys/types.h> to make sure
3085 * cplus-dem.c (demangle_function_name): Likewise.
3087 Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
3089 * final.c (insn_noperands): Change type to unsigned int.
3090 (final_scan_insn): Likewise for noperands;
3091 properly check operand number boundaries.
3093 Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
3095 * alpha.md (extzv): Don't reject register operands. Fix
3098 Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
3100 * dbxout.c (dbxout_function_end): Fix last change. The correct
3101 predicate is ASM_OUTPUT_SECTION_NAME.
3103 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
3105 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
3106 (ashlsi): Use match_dup 1 instead of match_operand 2.
3108 Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3110 * fold-const.c (operand_equal_for_comparison_p): See if equal
3111 when nop conversions are removed.
3113 Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3115 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
3116 don't use ORIGINAL_TARGET unless REG.
3118 Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3120 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
3122 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
3124 * loop.c (struct movable): New field move_insn_first.
3125 (scan_loop): In consec sets code, set it. Clear it otherwise.
3126 (move_movables): In consec sets code, use it. Copy REG_NOTES from
3127 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
3130 Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
3132 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
3133 is large, and the system doesn't provide atoll or atoq.
3136 * alpha/xm-vms.h (HAVE_ATOLL): Define.
3137 Reported by Klaus Kaempf <kkaempf@progis.de>.
3139 Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3141 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
3142 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
3144 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
3145 test !ACCUMULATE_OUTGOING_ARGS.
3147 * collect2.c (write_c_file_glob): Wrap function definition in
3148 macro test !LD_INIT_SWITCH.
3150 * combine.c (try_combine): Wrap variables `cc_use' and
3151 `compare_mode' in macro test EXTRA_CC_MODES.
3153 * cpplib.c (do_ident): Remove unused variable `len'.
3154 (skip_if_group): Remove unused variables `at_beg_of_line' and
3156 (cpp_get_token): Remove unused variable `dummy'.
3158 * dbxout.c (scope_labelno): Move static variable definition inside
3159 the one function scope where it is used.
3160 (dbxout_function_end): Wrap prototype and definition in
3161 macro test !NO_DBX_FUNCTION_END.
3163 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
3164 in macro test !MIPS_DEBUGGING_INFO.
3166 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
3167 into the scope where it is used. Wrap empty else-statement body
3170 * fix-header.c: Fix typo in comment.
3171 (inf_skip_spaces): Cast results of INF_UNGET to (void).
3172 (check_protection, main): Likewise.
3174 * flow.c (find_basic_blocks_1): Remove dangling comment text.
3176 * function.c (contains): Wrap prototype and definition in macro
3177 test HAVE_prologue || HAVE_epilogue.
3178 (fixup_var_refs_1): Remove unused variable `width'.
3180 * gen-protos.c (main): Remove unused variable `optr'.
3182 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
3184 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
3185 (__sjpopnthrow): Remove unused variable `jmpbuf'.
3186 (__throw): Remove unused variable `val'.
3188 * protoize.c: Check for a previously existing definition before
3189 defining *_OK macros.
3191 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
3193 Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3195 * vax.h (ADDR_VEC_ALIGN): Define.
3197 Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
3199 * gcc.c (default_arg): Don't wander off the end of allocated
3202 (From Geoffrey Keating <geoffk@ozemail.com.au>)
3203 * rs6000.c (small_data_operand): Ensure that any address
3204 referenced relative to the small data area is inside the SDA.
3206 Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
3208 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
3210 Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
3212 * except.h (in_same_eh_region): New prototype.
3213 (free_insn_eh_region, init_insn_eh_region): New prototypes.
3214 * except.c (insn_eh_region, maximum_uid): New static variables.
3215 (set_insn_eh_region): New static function to set region numbers.
3216 (free_insn_eh_region): New function to free EH region table.
3217 (init_insn_eh_region): New function to initialize EH region table.
3218 (in_same_eh_region): New function used to determine if two rtl
3219 instructions are in the same exception region or not.
3220 * final.c (final): Initialize the table indicating which instructions
3221 belong in which exception region.
3222 * genpeep.c (main): Add "except.h" to include file list in generated
3224 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
3225 peepholes involving calls and unconditional branches.
3227 Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
3229 * README.gnat: New file.
3231 Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3233 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
3234 "recog.h" for offsettable_memref_p.
3235 (legitimize_pic_address): Remove unused variable `offset'.
3236 (notice_update_cc): Change return type to void. Add default label
3238 (standard_68881_constant_p): Remove unused variable mode.
3239 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
3240 (const_int_cost): Explicitly declare as returning int.
3241 (output_dbcc_and_branch): Change return type to void.
3243 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
3244 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
3245 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
3247 Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
3249 * version.c: Bump for snapshot.
3251 Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3253 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
3254 check for 'M' constraint.
3256 Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
3258 * cccp.c (create_definition): If pedantic, call pedwarn for macro
3261 Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3263 * i386.c (ix86_logical_operator): New function.
3264 (split_di): Ensure that when a MEM is split, the resulting MEMs have
3266 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
3269 Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3270 Richard Earnshaw <rearnsha@arm.com>
3271 Nick Clifton <nickc@cygnus.com>
3273 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
3275 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
3277 * cse.c (rtx_cost): Provide a default case in an enumeration
3278 switch, and call DEFAULT_RTX_COSTS if it's defined.
3280 Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
3282 * basic-block.h (compute_preds_succs): Change return type in
3284 * flow.c (compute_preds_succs): Likewise in function definition.
3286 * regmove.c (find_matches): Cast char used as array index to unsigned char
3289 Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
3291 * i386.h (RTX_COSTS): Insert braces around nested if.
3292 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
3295 * gcc.c (default_compilers): Properly put brackets around array elements in
3298 * getopt.c (_getopt_internal): Add explicit braces around nested if;
3301 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
3302 (record_reg_life_pat): Add explicit parens around && and || in expression.
3303 (stack_reg_life_analysis): Add parens around assignment used as expression.
3304 (convert_regs): Likewise.
3306 Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
3308 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
3309 change callers accordingly.
3311 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
3312 and definition; change all callers accordingly.
3314 * except.c (init_eh): Avoid assignment of unused return value of
3315 build_pointer_type; cast it to void, instead, and remove unused
3318 * gcc.c (lang_specific_driver): Define prototype only #ifdef
3319 LANG_SPECIFIC_DRIVER.
3320 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
3322 * genoutput.c (output_epilogue): Initialize next_name to 0.
3324 * real.c (efrexp): #if 0 prototype and function definition.
3325 (eremain): Likewise.
3332 * reload.c (push_secondary_reload): Define prototype only
3333 #ifdef HAVE_SECONDARY_RELOADS.
3335 * varasm.c (assemble_static_space): Define rounded only
3336 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
3338 Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
3340 * i386.md (andsi): Add default case in enumeration switch.
3345 Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
3347 * c-decl (finish_struct): Change type of min_align to unsigned.
3349 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
3350 remove unused variable len.
3352 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
3353 comment indicating this is proper behaviour.
3354 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
3356 (based_loc_descr): Likewise.
3358 * enquire.c (bitpattern): Change type of variable i to unsigned.
3360 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
3362 * flow.c (life_analysis): Change type of variable i to size_t;
3363 remove unused variable insn.
3365 * gcc.c (translate_options): Change type of variables optlen, arglen and
3367 (input_filename_length): Change type to size_t.
3368 (do_spec_1): Change type of variable bufsize to size_t.
3369 (main): Change type of variables i and j to size_t;
3370 remove subblock local definition of variable i.
3371 (lookup_compiler): Change type of second argument to size_t;
3372 change type of variable i to size_t.
3374 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
3376 * genopinit.c (get_insn): Change type of variable pindex to size_t.
3378 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
3380 * global.c (global_alloc): Change type of variable i to size_t.
3382 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
3384 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
3385 (expand_end_case): Change type of variable count to size_t.
3387 * toplev.c (main): Change type of variable j to size_t.
3388 (set_target_switch): Change type of variable j to size_t.
3389 (print_switch_values): Change type of variable j to size_t;
3390 remove unused variable flags.
3392 * varasm.c (assemble_variable): Change type of variable align to size_t.
3393 (const_hash_rtx): Change type of variable i to size_t.
3395 1998-03-11 Mark Mitchell <mmitchell@usa.net>
3397 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
3398 TREE_VEC if that's what it really is.
3400 Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
3402 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
3405 Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
3407 * gthr.h: Changed the comment about return values.
3408 * gthr-solaris.h (__gthread_once): Do not use errno; return the
3409 error number instead of -1.
3410 (__gthread_key_create): Any non-zero return value is an error.
3411 * libgcc2.c (eh_context_initialize): Check for non-zero return
3412 value from __gthread_once.
3413 Check that the value of get_eh_context was really changed.
3415 Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3417 * sh.h (LOOP_ALIGN): Only align when optimizing.
3418 * sh.c (find_barrier): Clear inc for CODE_LABELs.
3419 When not optimizing, calculate alignment for BARRIERs directly.
3421 Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3423 * final.c (shorten_branches): Remove conditionalizing on
3424 SHORTEN_WITH_ADJUST_INSN_LENGTH
3425 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
3427 Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
3429 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
3430 an unconditional jump around deleted blocks.
3432 Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
3434 * profile.c (branch_prob): If see computed goto, call fatal instead of
3437 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
3439 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
3440 Patch from Bruno Haible.
3442 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
3443 (assign_parms): Set aggregate if hide_last_arg and last_named.
3445 Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3447 * final.c (shorten_branches): Initialize insn_addresses.
3449 Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3451 * sh.h (MUST_PASS_IN_STACK): Define.
3453 Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
3455 * final.c (shorten_branches): Fix minor logic error in
3456 ADDR_DIFF_VEC shortening support.
3458 Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
3460 * version.c: Bump for snapshot.
3462 Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
3464 * haifa-sched.c (is_cfg_nonregular): Change return type to
3465 an int. No longer compute "estimated" number of edges. Use
3466 computed_jump_p instead of duplicating the code. Fixup/add
3468 (build_control_flow): Returns a value indicating an irregularity
3469 in the cfg was detected. Count the number of edges in the cfg.
3470 allocate various edge tables.
3471 (find_rgns): No longer look for unreachable blocks.
3472 (schedule_insns): Do not allocate memory for edge tables here.
3473 Free memory for edge tables before returning. Do not perform
3474 cross block scheduling if build_control_flow returns nonzero.
3475 * flow.c (compute_preds_succs): More accurately determine when
3478 * basic-block.h (free_basic_block_vargs): Provide prototype.
3480 * cccp.c (main): Fix dumb mistakes in last change.
3482 Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3484 * rtl.h (addr_diff_vec_flags): New typedef.
3485 (union rtunion_def): New member rt_addr_diff_vec_flags.
3486 (ADDR_DIFF_VEC_FLAGS): New macro.
3488 * sh.c (output_branch): Fix offset overflow problems.
3490 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
3491 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
3492 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
3493 * stmt.c (expand_end_case): Supply new arguments to
3494 gen_rtx_ADDR_DIFF_VEC.
3495 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
3496 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
3497 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
3498 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
3499 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
3500 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
3501 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
3502 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
3503 * i386/freebsd.h, i386/linux.h : Likewise.
3504 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
3505 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
3506 * m68k/mot3300.h, m68k/sgs.h : Likewise.
3507 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
3508 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
3509 (CASE_VECTOR_SHORTEN_MODE): Define.
3510 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
3511 (med_branch_p, braf_branch_p): Don't declare.
3512 (mdep_reorg_phase, barrier_align): Declare.
3513 (ADJUST_INSN_LENGTH): Remove alignment handling.
3514 * sh.c (uid_align, uid_align_max): Deleted.
3515 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
3516 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
3517 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
3518 (output_far_jump): Don't use braf_branch_p.
3519 (output_branchy_insn): Don't use branch_offset.
3520 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
3521 Remove paired barrier stuff.
3522 Don't use cache_align_p.
3523 Take alignment insns into account.
3524 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
3526 (barrier_align, branch_dest): New function.
3527 (machine_dependent_reorg, split_branches): Remove infrastructure
3528 for branch shortening that is now provided in the backend.
3529 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
3530 (braf_branch_p, braf_cbranch_p): Likewise.
3531 (attribute length): Use new attributes.
3532 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
3533 (addr_diff_vec_adjust): Delete.
3534 (align_2): Now a define_expand.
3535 (align_log): Now length 0.
3537 Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
3539 * m32r.md (right): Correctly check for length == 2, not 1.
3541 Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3543 * mips/mips.h: Prototype `machine_dependent_reorg'.
3544 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
3546 Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
3548 * final.c (shorten_branches): Restore accidentally removed code.
3550 Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3552 * configure.in: Remove duplicate uses of AC_PROG_CC and
3555 Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
3557 * configure.in (target_cpu_default2): Correct typo for alphapca56.
3559 Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
3560 Doug Evans (devans@cygnus.com)
3562 * haifa-sched.c (build_jmp_edges): Delete dead function.
3563 (build_control_flow): Use cfg routines from flow.c
3564 (schedule_insns): Remove debugging code accidentally checked
3567 * basic-block.h: Add external integer list structures, typdefs,
3568 accessor macros and function declarations. Simlarly for
3569 basic block pred/succ support and simple bitmap stuff.
3570 * flow.c: Add functions for integer list, basic block pred/succ
3571 support and simple bitmap support.
3572 (compute_dominators): New function to compute dominators and
3574 (find_basic_blocks): Split into two functions.
3575 (life_analysis): Likewise.
3576 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
3577 the life_analysis from toplev.c
3578 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
3579 life_analysis instead of flow_analysis.
3581 Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3583 * jump.c (jump_optimize): Call mark_jump_label also for deleted
3585 (mark_jump_label): Don't increment ref counts for deleted insns.
3587 Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3589 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
3591 * mips/mips.c: Include stdlib.h and unistd.h.
3592 (mips_asm_file_end): Add braces around empty body in an if-statement.
3593 (function_prologue): Wrap variable `fnname' in
3594 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
3595 (mips_select_rtx_section, mips_select_section): Declare as void.
3597 * mips/mips.h: Add prototypes for extern functions in mips.c.
3598 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
3599 (ENCODE_SECTION_INFO): Add braces around empty body in an
3602 * mips/mips.md (movdi): Add parentheses around && within ||.
3603 (movsf, movdf): Likewise.
3604 (branch_zero, branch_zero_di): Add default case in
3608 Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
3610 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
3611 real constants, since they can't be changed.
3612 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3613 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
3614 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3615 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3616 * alpha/vms.h (TARGET_OPEN_VMS): New.
3617 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
3619 Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
3621 * reload.c (find_reloads): Always force (subreg (mem)) to be
3622 reloaded if WORD_REGISTER_OPERATIONS.
3624 Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
3626 * haifa-sched.c (free_list): Rename from free_pnd_lst.
3627 (free_pending_lists): Rename free_pnd_lst uses.
3628 (remove_dependence): Place expunged element on unused_insn_list.
3629 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
3630 gen_rtx_*_LIST and alloc_rtx to use them.
3631 (compute_block_backward_dependences): Free the reg_last_* lists.
3633 Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
3635 * cccp.c (main): Avoid undefined behavior when setting pend_includes
3638 Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
3640 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
3641 USE_GNULIBC_1 is defined
3642 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
3643 includes the t-linux-gnulibc1 fragment
3645 Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
3647 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
3649 Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3651 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
3653 Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3655 * final.c (shorten_branches): Tag the loop alignment onto the
3656 first label after NOTE_INSN_LOOP_BEG even if there is an
3659 Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3661 * final.c (insn_current_reference_address):
3662 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
3663 proper alignment chain.
3665 * final.c (max_labelno): New static variable.
3666 (final_scan_insn): Check max_labelno before outputting an
3667 alignment for a label.
3668 (shorten_branches): Remove unused variable length_align.
3670 Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3672 * sparc.c (ultrasparc_adjust_cost): Add default case in
3675 * sparc.h: Add prototypes for extern functions defined in
3678 Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
3680 * toplev.c: Only generate <name>.dbr file when dumping RTL if
3681 DEALY_SLOTS is defined.
3683 Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
3685 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
3686 in call to fill_slots_from_thread.
3688 Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
3690 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
3691 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
3693 Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3695 * final.c (insn_last_address, insn_current_align, uid_align):
3697 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
3698 (insn_current_reference_address): Likewise.
3699 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
3700 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
3701 (label_to_alignment): New function.
3702 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
3703 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
3704 insn_current_reference_address instead of insn_current_address.
3705 (or_attr_value, write_length_unit_log): New functions.
3706 (main): Call write_length_unit_log.
3707 (write_const_num_delay_slots): Output extra '\n'.
3708 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
3710 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
3711 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
3712 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
3714 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
3715 (LABEL_ALIGN_AFTER_BARRIER).
3716 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
3717 * ns32k/tek6000.h: Likewise.
3718 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
3719 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
3720 ASM_OUTPUT_ALIGN_CODE.
3722 Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
3724 * version.c: Bump for snapshot.
3726 Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
3728 * version.c: Bump for snapshot.
3730 Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
3732 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
3733 if condition code of jump conflicts with opposite_needed.
3735 * reorg.c (fill_slots_from_thread): Mark resources referenced in
3736 opposite_needed thread. Return delay_list even when cannot get
3737 any more delay insns from end of subroutine.
3739 Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
3741 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
3742 All callers changed.
3744 Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3746 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
3747 end_fde_sort): New functions for fast sorting of an FDE array.
3748 (fde_insert): Simplified.
3749 (add_fdes): Change argument list.
3750 (frame_init): Use the new functions.
3752 Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
3754 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
3756 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
3758 * fold-const.c (fold_range_test): Always return a value.
3760 Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
3762 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
3763 data in the text section unless READONLY_DATA_SECTION is defined.
3765 Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
3767 * c-parse.in (undeclared variable error): Tweak error message to
3770 Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
3772 * version.c: Bump for snapshot.
3774 1998-02-28 Mark Mitchell <mmitchell@usa.net>
3776 * final.c (final_scan_insn): Undo overzealous removal of `set'.
3778 Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3780 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
3781 case, add parentheses to specify the proper order of precedence in
3785 * c-aux-info.c: Include string.h/strings.h.
3787 * pa.c: Include stdlib.h.
3788 (pa_combine_instructions): Prototype the function.
3789 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
3790 (reloc_needed): Add default case for enumeration switch.
3791 (remove_useless_addtr_insns): Remove unused variable `all'.
3792 (hppa_expand_prologue): Add explicit braces to avoid
3794 (output_function_epilogue): Remove unused variable `i'.
3795 (output_millicode_call): Remove unused variable `link'.
3796 (shadd_constant_p, forward_branch_p): Make the function static.
3797 (following_call): Explicitly declare to return int.
3798 (pa_reorg): Declare as void.
3799 (pa_combine_instructions): Declare as static void. Add
3800 parentheses around && within ||.
3802 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
3803 following_call, function_label_operand, lhs_lshift_cint_operand
3806 * pa.md: Add parentheses around && within ||.
3808 * cppalloc.c: Include stdlib.h.
3810 * cpperror.c (cpp_print_containing_files): Remove unused variable
3811 `i'. Fix format specifier in fprintf.
3813 * cse.c (cse_around_loop): Add explicit braces to avoid
3815 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
3817 * expr.c (expand_expr): Add parentheses around && within ||.
3819 * final.c (app_enable): Replace fprintf with fputs where there are
3820 no format specifiers and no trailing argument after the string.
3821 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
3822 (app_disable): Likewise.
3823 (final_end_function): Likewise.
3824 (final_scan_insn): Likewise. Remove unused variable `set'.
3825 (profile_function): Wrap empty if-statement body in {} brackets.
3827 * function.c: Include stdlib.h.
3828 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
3829 (reposition_prologue_and_epilogue_notes): Add parentheses
3830 around assignment used as truth value.
3832 * integrate.c (expand_inline_function): Wrap variable
3833 `cc0_insn' in macro HAVE_cc0.
3835 * jump.c (jump_optimize): Wrap variable `q' in macro
3836 HAVE_cc0. Remove unused variable `prev1'.
3838 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
3839 within ||. Fix format specifier in fprintf.
3840 (__bb_init_prg): Add parentheses around assignment used as
3843 * local-alloc.c: Include stdlib.h.
3844 (requires_inout): Add parentheses around assignment used
3847 * loop.c (analyze_loop_iterations): Wrap prototype and definition
3848 in macro HAVE_decrement_and_branch_on_count.
3849 (insert_bct, instrument_loop_bct): Likewise.
3850 (move_movables): Add parentheses around assignment used as
3852 (consec_sets_invariant_p): Likewise.
3853 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
3855 * objc/objc-act.c: Include stdlib.h.
3856 (lookup_method_in_protocol_list): Wrap empty else-statement body
3858 (lookup_protocol_in_reflist): Likewise.
3859 (objc_add_static_instance): Remove unused variables `decl_expr'
3861 (get_objc_string_decl): Remove unused variable `decl'.
3862 (generate_static_references): Remove unused variables `idecl' and
3864 (check_protocols): Wrap empty else-statement body in braces.
3866 * protoize.c: Include stdlib.h.
3867 (substr): Add parentheses around assignment used as truth value.
3868 (abspath): Likewise.
3869 (shortpath): Likewise.
3871 * regmove.c (fixup_match_1): Add parentheses around assignment
3872 used as truth value.
3874 * reload.c (push_secondary_reload): Remove unused variable `i'.
3875 (find_reloads): Add parentheses around assignment used as truth
3878 * reload1.c: Include stdlib.h.
3880 * rtl.h: Correct typo in prototype of offsettable_memref_p.
3882 * stmt.c (add_case_node): Add parentheses around assignment used
3884 (case_tree2list): Likewise.
3886 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
3887 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
3888 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
3889 (merge_attributes): Add explicit braces to avoid ambiguous
3892 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
3895 * varasm.c: Include stdlib.h.
3898 * system.h: Remove sys/stat.h.
3899 * gcc.c: Add sys/stat.h.
3901 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
3902 * genattrtab.c: Likewise.
3903 * genconfig.c: Likewise.
3904 * genemit.c: Likewise.
3905 * genextract.c: Likewise.
3906 * genflags.c: Likewise.
3907 * genopinit.c: Likewise.
3908 * genoutput.c: Likewise.
3909 * genpeep.c: Likewise.
3910 * genrecog.c: Likewise.
3911 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
3913 Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3915 * invoke.texi: Use @itemx for a secondary item in a @table.
3917 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
3920 Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
3922 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3924 Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
3926 * i386.c (struct machine_function): Add new fields for PIC stuff.
3927 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
3929 (restore_386_machine_status): Corresponding changes.
3930 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
3932 Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
3934 * c-parse.y (undeclared variable error): Tweak error message
3937 Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
3939 * flags.h (g_switch_value, g_switch_set): Declare.
3940 * alpha.c (override_options): Set g_switch_value=8 if not set.
3941 * alpha/elf.h (CC1_SPEC): New.
3943 (LINK_SPEC): Pass along the -G value we were given.
3944 (LOCAL_ASM_OP): Remove.
3945 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
3946 (MAX_OFILE_ALIGNMENT): New.
3947 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
3948 (EXTRA_SECTIONS): Add sbss and sdata.
3949 (SECTION_FUNCTION_TEMPLATE): New.
3950 (EXTRA_SECTION_FUNCTIONS): Use it.
3951 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
3952 (SELECT_SECTION): Use sdata when small enough.
3953 * alpha/linux.h (ASM_SPEC): Remove.
3956 Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3957 * config.sub (sco5): Fix typo.
3959 Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
3961 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
3963 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
3964 * config/alpha/t-linux: Remove file.
3965 * config/sparc/t-linux: Remove file.
3966 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
3967 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
3968 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
3970 (alpha*-*-linux-gnu*): Likewise.
3971 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
3972 (sparc-*-linux-gnu*): Likewise.
3974 Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
3975 * collect2.c (ldd_file_name): Bracket declaration with same
3977 (full_real_ld_suffix): Deleted. Variable was calloced and
3978 written into, but never read.
3980 1998-02-23 Mike Stump <mrs@wrs.com>
3982 * configure.in: Add support for i386-wrs-vxworks configuration.
3983 * i386/vxi386.h: New file.
3985 Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3987 * tree.c (contains_placeholder_p): Ensure function always returns
3989 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
3990 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
3992 Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
3994 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
3996 1998-02-22 Paul Eggert <eggert@twinsun.com>
3998 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
3999 Define this new symbol.
4000 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
4001 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
4002 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
4004 Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
4006 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
4007 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
4009 Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
4011 * objc/Object.m (-error): Call objc_verror with our va_list.
4013 Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4015 * collect2.c (scan_prog_file): Completely cover uses of variable
4016 `exports' with macro COLLECT_EXPORT_LIST.
4018 Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
4020 * version.c: Bump for snapshot.
4022 Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
4024 * sched.c (schedule_block): Remove code to get arguments from hard
4025 regs into pseudos early. Same as Aug 25, 1997 change to
4028 1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
4030 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
4032 1998-02-16 Mark Mitchell <mmitchell@usa.net>
4034 * toplev.c (rest_of_compilation): Do not defer the output of a
4037 Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
4039 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
4040 continuation character (line 243).
4042 Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4044 * genrecog.c (main): Remove duplicated sentence in emitted comment.
4046 Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
4047 David Edelsohn <edelsohn@mhpcc.edu>
4049 * collect2.c (XCOFF_SCAN_LIBS): Remove.
4050 (export_flag): New variable.
4051 (export_file): #ifdef COLLECT_EXPORT_LIST.
4052 (import_file, exports, imports, undefined): New variables.
4053 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
4054 (dump_list, dump_prefix_list, is_in_list): New functions.
4055 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
4056 (write_import_file, resolve_lib_name): New functions.
4057 (use_import_list, ignore_library): Same.
4058 (collect_exit): maybe_unlink import_file and #ifdef.
4060 (main): New variable importf, #ifdef exportf. Move parsing of
4061 -shared before general argument parsing. Resolve AIX library
4062 paths and import libgcc.a symbols. Treat .so shared libraries the
4063 same as objects and .a libraries. Create alias for object_lst and
4064 increment it instead of original pointer. Scan AIX libraries as
4065 objects earlier instead of using scan_libraries. Perform AIX
4066 tlink later to resolve templates instead of forking ld.
4067 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
4068 (GCC_UNDEF_SYMBOL): New macro.
4069 (scan_prog_file): Loop for members of AIX libraries. Handle
4070 export/import of ctors/dtors.
4071 (aix_std_libs): New variable.
4072 (scan_libraries, XCOFF): Delete.
4074 Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
4076 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
4078 1998-02-19 Mike Stump <mrs@wrs.com>
4080 * Makefile.in: Use $tooldir for sys-include to match toplevel
4083 Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
4084 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4086 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
4088 * emit-rtl.c (hard-reg-set.h): Include.
4089 (get_lowpart_common): Don't make new REG for hard reg in a
4090 class that cannot change size.
4091 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
4093 * combine.c: Revert previous patch.
4095 1998-02-19 Paul Eggert <eggert@twinsun.com>
4097 * config/sparc/sol2-sld.h: New file.
4098 * configure.in (sparc-*-solaris2*): Use it when using the
4101 Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
4103 * loop.c (force_movables): Fix typo.
4105 Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
4107 * m88k.h: Change file pattern to match reality.
4109 Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
4111 * varasm.c (output_constant_pool): Fix dumb thinko in last
4114 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
4115 a function name to a section name.
4117 1998-02-18 Doug Evans <devans@cygnus.com>
4119 * tree.h (merge_machine_{type,decl}_attributes): Declare.
4120 (split_specs_attrs, strip_attrs): Add prototypes.
4121 * tree.c (merge_machine_{type,decl}_attributes): New functions.
4122 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
4123 Update olddecl's attributes too.
4124 * c-common.c (strip_attrs): New function.
4125 * c-typeck.c (common_type): Call merge_machine_type_attributes.
4126 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
4127 (make_decl_rtl): Likewise.
4129 1998-02-18 Jim Wilson <wilson@cygnus.com>
4131 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
4133 Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
4135 Remove this change until we can fix it correctly.
4136 * collect2.c: Bracket declaration of 'exportf' and
4137 'full_real_ld_suffix'.
4139 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
4141 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
4143 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
4145 * c-common.c (c_expand_start_cond, c_expand_end_cond,
4146 c_expand_start_else): Don't warn about non-ambiguous else even if
4149 Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
4151 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
4152 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
4155 Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
4157 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
4158 simplifying a subreg of a hard reg.
4159 (expand_compound_operation): Likewise.
4160 (force_to_mode): Likewise.
4162 Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4164 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
4165 (lshift_double): Add parentheses around + or - inside shift.
4166 (rshift_double): Likewise.
4167 (size_int_wide): Explicitly set type of `bit_p' to `int'.
4169 * Makefile.in (fold-const.o): Depend on system.h.
4171 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
4174 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
4175 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
4176 (sched_note_set): Remove unused parameter `b', all callers changed.
4177 (schedule_block): Likewise for `rgn'.
4178 (split_hard_reg_notes): Likewise for `orig_insn'.
4179 (check_live): Likewise for `trg'.
4180 (update_live): Likewise.
4181 (check_live_1): Explcitly declare variable `i' as int.
4182 (update_live_1): Likewise.
4183 (insn_issue_delay): Remove unused variable `link'.
4184 (sched_analyze_2): Add default case in enumeration switch.
4185 (schedule_insns): Remove unused variable `i'.
4187 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
4189 Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
4191 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
4192 a dangling else clause.
4194 Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
4196 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
4197 pointer for the stack pointer in MIPS16 and 64BIT.
4199 Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4201 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
4202 * emit-rtl.c (force_line_numbers, restore_line_number_status):
4204 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
4205 (expand_start_case): Adjust to this change.
4206 (check_seenlabel): New function.
4207 (pushcase, pushcase_range, expand_endcase): Use it.
4209 Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4211 * i386.md (adddi3): Add =!r,0,0,X alternative.
4213 Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
4215 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
4216 * x-aix31 (INSTALL): Delete.
4218 Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
4220 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
4221 tsize changes to something other than zero.
4223 Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
4225 * ginclude/va-mips.h: Replace casts of pointers to int with
4226 casts of pointers to __PTRDIFF_TYPE__.
4228 Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
4230 * loop.c (strength_reduce, record_biv, record_giv): Use
4231 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
4233 1998-02-16 Jason Merrill <jason@yorick.cygnus.com>
4235 * tree.c (first_rtl_op): New fn.
4236 (unsave_expr_now): Use it.
4237 * print-tree.c (print_node): Likewise.
4238 * tree.c (has_cleanups): New fn.
4239 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
4240 conservative about pushing the cleanup point down.
4241 * tree.h: Declare them.
4243 Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
4245 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
4246 (flag_schedule_reverse_after_reload): Likewise.
4247 (f_options): Remove reverse scheduling support.
4248 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
4249 (flag_schedule_reverse_after_reload): Likewise.
4250 * haifa-sched.c (rank_for_schedule): Remove support for reverse
4253 Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4255 * gcc.c: Get system includes, prototypes and macros via "system.h"
4256 instead of doing it manually. Change all calls of the ctype
4257 macros to custom versions defined in "system.h".
4259 * system.h: Fix return type of bcmp prototype from `void' to `int'.
4260 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
4261 Add a prototype for getenv.
4263 Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
4265 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
4267 Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
4269 * alias.c: Include <stdlib.h> and <string.h>.
4270 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
4272 Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
4274 * version.c: Bump for snapshot.
4276 Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
4278 * arm.md (movsfcc): Also validate operands[3] when compiling hard
4280 (movdfcc): Only accept fpu_add_operand for operands[3].
4282 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
4283 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
4285 Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
4287 * varasm.c (output_constant_pool): Bring back 'done' label inside
4288 an appropriate #ifdef.
4290 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
4292 (bitmap_copy, bitmap_operation): Likewise.
4293 * combine.c (combinable_i3pat): Similarly for 'src'.
4294 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
4295 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
4296 * regclass.c (copy_cost): Similarly for 'secondary_class'.
4297 * reload.c (make_memloc): Simliarly for 'i'.
4298 (find_reloads_address_1): Similarly for 'link'.
4299 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
4300 (emit_reload_insns): Similarly for 'second_reloadreg'.
4301 * unroll.c (iteration_info): Similarly for 'v'.
4303 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
4304 * calls.c (expand_call): Similarly for 'i'.
4305 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
4306 * fold-const.c (strip_compund_expr): Similarly for 'type'.
4307 * function.c (fixup_var_refs_1): Similarly for 'width'.
4308 (fixup_memory_subreg): Similarly for 'saved'.
4309 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
4310 (setjmp_protect): Similarly for 'sub'.
4311 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
4312 * loop.c (record_giv): Similarly for 'p'.
4313 (combine_givs): Similarly for 'temp_iv'.
4314 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
4315 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
4316 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
4317 * unroll.c (unroll_loop): Similarly for 'copy'.
4318 (iteration_info): Similarly for 'b'.
4319 * varasm.c (assemble_string): Similarly for 'i'.
4320 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
4322 1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
4324 * c-lang.c (lang_print_xnode): New function.
4325 * objc/objc-act.c (lang_print_xnode): Likewise.
4326 * print-tree.c (print_node): Call it
4328 Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
4330 * dwarf2out.c (decl_scope_node): New type.
4331 (decl_scope_table): Change type to use it.
4332 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
4333 (push_decl_scope): Use new type. New locals containing_scope, i.
4334 Add code to handle setting previous field.
4335 (scope_die_for): Change type of local i to int. Add code to use
4337 (dwarf2out_init): Use new type.
4339 1998-02-13 Jason Merrill <jason@yorick.cygnus.com>
4341 * except.c (emit_throw): Lose throw_used.
4343 Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4345 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
4347 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
4349 Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
4351 * genextract.c (main): Fix typo.
4353 Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
4355 * c-lang.c (finish_file): Bracket declaration of static_ctors,
4358 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
4359 'old_stack_arg_under_construction'
4360 (emit_library_call): Bracket declaration of 'upper_bound',
4361 'lower_bound', 'i', 'reg_parm_stack_space'
4362 (emit_library_call_value): Likewise.
4365 * collect2.c: include <unistd.h> when appropriate.
4366 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
4368 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
4370 * explow.c (plus_constant_for_output_wide): Remove unused variable
4372 (memory_address): Remove unused variable 'orig_x'.
4374 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
4375 (write_const_num_delay_slots): Remove unused variable 'i'.
4377 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
4378 (gen_insn): Remove unused variable 'obstack_ptr'.
4380 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
4382 (__bb_exit_trace_func): Remove unused variable 'e'.
4384 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
4386 (expand_unop): Remove unused variable 'funexp'.
4387 (expand_complex_abs): Remove unused variable 'funexp'.
4388 (init_optabs): Bracket declaration of 'j'.
4389 (init_complex_libfuncs): Deleted. Dead static function.
4391 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
4393 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
4394 (reg_to_stack): 'initialized', 'before_function_beg'
4395 explictly type as ints instead of defaulting.
4396 (emit_swap_insn): Remove unused variable 'i2'.
4397 (compare_for_stack_reg): Remove unused variable 'src_note'.
4399 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
4401 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
4403 * stmt.c (add_case_node): Add parens for assignment used as truth.
4404 (all_cases_count): Remove unused variable 'count_high'.
4405 (mark_seen_cases): Remove unused variable 'i'.
4406 (check_for_full_enumeration_handling): Remove unused variable 't'.
4407 Bracket declaration of 'all_values', 'l'.
4409 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
4411 * varasm.c (assemble_string): Remove unused variable 'i'.
4412 (immed_double_const): Remove unused variable 'in_current_obstack'.
4413 (immed_real_const_1): Likewise.
4414 (output_constant_pool): Remove unreferenced label 'done'.
4415 (output_constant): Remove unused variable 'x'.
4417 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
4420 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
4423 Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4425 * combine.c (can_combine_p): Handle USEs in PARALLELs.
4427 Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
4429 * config/linux.h (LIB_SPEC): Add -lc for -shared if
4430 USE_GNULIBC_1 is not defined.
4431 * config/sparc/linux.h; Ditto.
4433 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
4435 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
4436 USE_GNULIBC_1 is not defined.
4438 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4440 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
4443 Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4445 * system.h: New file to get common systems includes and various
4446 definitions and declarations based on autoconf macros.
4448 Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
4450 * cccp.c (new_include_prefix): Correctly handle -I./.
4452 Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
4454 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
4456 Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
4458 * expr.c (expand_assignment): Correct typo exposed by -Wall.
4459 offset should have been a truth value, not an assignment.
4461 Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
4463 * cse.c (delete_dead_from_cse): If a libcall produces a constant
4464 result and that result can be substituted into SET_SRC of the
4465 insn with the REG_RETVAL note, then perform the substitution
4466 and delete the libcall.
4468 Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
4470 * mips.md (trucndihi2,truncdiqi2): Change these to support
4473 Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
4475 * mips/mips.c (movdi_operand): Direct referances to symbols
4476 that arn't mips16 consts in mips16 mode arn't valid operands.
4478 * mips/mips.c (mips_move_2words): Add gprel handling.
4480 Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
4482 * mips.md (extendsidi2): Allow extension to/from a non-mips16
4485 Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
4487 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
4490 Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4492 * Makefile.in (WARN_CFLAGS): New variable.
4493 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
4495 1998-02-11 Mark Mitchell <mmitchell@usa.net>
4497 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
4498 falling through default case in switch.
4499 (i386_aligned_p): Likewise.
4501 Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
4503 * mips/mips.h (mips_abi_string): Correct typo in comment.
4505 Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
4507 * mips/mips.md (movdi): These PLUS's need to be Pmode.
4509 Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4511 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
4512 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
4513 indirectly via expr.h.
4515 Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
4517 * stor-layout.c (layout_type): Do upper - lower in the native type,
4518 so as to properly handle negative indices.
4520 Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
4522 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
4523 (expand_eh_region_start_tree): Remove unused variable 'note'.
4524 (exception_optimize): Remove unused variable 'regions'.
4525 (expand_builtin_eh_stub): Remove unused variable 'temp'.
4526 (copy_eh_entry): Deleted. Dead function.
4528 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
4529 'last' with same #if HAVE_load_multiple as use of it.
4530 (move_block_from_reg): Likewise.
4531 (emit_move_insn_1): Remove unused variable 'insns'.
4532 (store_constructor): Bracket declaration of startb, endb with
4533 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
4534 'target', and 'xtarget'.
4535 (expand_builtin_setjmp): Remove unused variables 'op0',
4536 'next_arg_reg', 'old_inhibit_defer_pop'.
4537 (expand_builtin): Remove unused variable 'offset'.
4538 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
4539 (emit_queue): Add parens for assignment used as conditional.
4540 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
4542 Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
4544 * i386.c: Added include for recog.h.
4545 (override_options): Removed unused variable p. Initialized regno to
4547 (order_regs_for_local_alloc): Initialized regno to avoid warning.
4548 (legitimize_address): Likewise for 'other'.
4549 (i386_aligned_reg_p): Added default case with abort ().
4550 (print_operand): Likewise.
4551 (reg_mentioned_in_mem): Likewise.
4552 (ix86_expand_binary_operator): Removed unused variables i & insn.
4553 (ix86_expand_unary_operator): Removed unused variable insn.
4554 (output_fp_cc0_set): Removed unused variable unordered_label.
4556 Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
4558 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
4559 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
4560 and format string match.
4562 Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
4564 * flow.c (life_analysis): Do not conside the stack pointer live at
4565 the end of a function if the fucntio ncalls alloca.
4566 (mark_used_regs): Similarly.
4568 1998-02-10 John F Carr <jfc@mit.edu>
4570 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
4571 1, fzero on alternative 8.
4573 Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4575 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
4577 Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4579 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
4580 SUBREGs of CONST_INTs.
4582 Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
4584 * mips.c (print_operand, function_prologue): Make printf format
4585 match argument type.
4587 Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4589 * alpha.c (alpha_return_addr): Remove unused variable `first'.
4590 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
4591 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
4593 Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4595 * loop.c (strength_reduce): When placing increment for auto-inc
4596 case, do comparison in loop order.
4598 Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
4600 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
4601 not a HOST_WIDE_INT.
4603 * calls.c (expand_call): Change test of expand_inline_function
4604 return value to stop compiler warning.
4606 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
4608 Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
4609 Jeff Law (law@cygnus.com)
4611 * regmove.c: Fix various minor formatting problems.
4612 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
4613 is true. Make end of basic block tests consistent through regmove.c.
4614 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
4615 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
4617 Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4619 * gansidecl.h: Check for a conflicting macro definition before
4620 attempting to prototype bcopy, bcmp or bzero.
4622 Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
4624 * expr.c (clear_pending_stack_adjust): Handle case where a function
4625 calls alloca, but the user has specified -fomit-fframe-pointer.
4627 * function.c (assign_parms): Fix typo in last change.
4629 Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
4631 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
4633 (free_path_suffix): Remove unreferenced static function.
4634 (process_command): Remove unused variable temp.
4635 (default_arg): Remove unused variable i.
4636 (do_spec_1): Add parens for assignment used as truth value.
4638 (validate_all_switches): Likewise.
4639 (main): Remove unused variables i, first_time>
4641 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
4643 * calls.c (expand_call): Remove unused variables funtree,
4644 n_regs, and tmpmode.
4646 * dbxout.c, except.c: Include <string.h>/<strings.h>.
4648 * explow.c: (plus_constant_for_output_wide) Removed unused
4649 variable all_constant.
4651 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
4652 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
4653 genrecog.c, global.c, integrate.c , stupid.c : Include
4656 * genextract.c: (walk_rtx) Remove unused variable link.
4658 * genrecog.c: (concat) Remove unreferenced static function.
4660 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
4662 * stmt.c: Include <stdlib.h>.
4663 (expand_asm_operands): Remove unused variable val1.
4664 (expand_return): Remove unused variable block.
4665 (pushcase): Remove unused variables l and n.
4666 (pushcaserange): Likewise.
4668 * unroll.c (unroll_loop): Remove unused variable temp.
4670 Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
4672 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
4674 Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4676 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
4677 functions for whether they support the %p format specifier.
4678 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
4679 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
4680 * configure, config.in: Rebuild.
4682 Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
4684 * function.c (assign_parms): New variable named_arg, with value
4685 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
4687 Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
4689 * mips/t-r3900: New - same as t-ecoff but eliminate
4690 multilibs: mips1 and mips3.
4691 * configure.in (tx39*): Use new mips/t-r3900.
4692 * configure: Rebuild.
4693 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
4695 1998-02-06 Jason Merrill <jason@yorick.cygnus.com>
4697 * dwarf2out.c: Add old_args_size.
4698 (dwarf2out_args_size): Use it.
4699 (dwarf2out_begin_prologue): Initialize it.
4700 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
4701 pushed args until we see a call.
4702 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
4703 before outputting them.
4705 1998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
4707 * cplus-dem.c (demangle_template_template_parm): New function.
4708 (demangle_template): Handle template template parameters.
4710 1998-02-02 Mark Mitchell <mmitchell@usa.net>
4712 * calls.c (expand_call): Don't confuse member functions named
4713 realloc, setjmp, and so forth with the standard library
4714 functions of the same names.
4716 Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
4718 * stmt.c (expand_asm_operands): Correctly identify asm statements
4721 Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
4723 * c-common.c (decl_attributes): Flag unrecognized attribute
4724 functions as warnings instead of as errors.
4726 1998-02-05 Marc Lehmann <pcg@goof.com>
4728 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
4729 when -Os is specified.
4730 * toplev.c (main): Don't disable flag_inline_functions anymore when
4733 Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4735 * regmove.c: Update.
4736 * flags.h (flag_regmove): Declare.
4737 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
4738 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
4739 Moved into regmove; changed caller.
4740 * toplev.c (rest_of_compilation): Call regmove_optimize also for
4741 expensive_optimizations.
4743 Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
4745 * version.c: Bump for snapshot.
4747 Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4748 Undo this change (the problem was actually in reload):
4749 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4751 * sh.md (movqi_i+1): New peephole.
4753 Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
4755 * jump.c (jump_optimize): Lose calls to modified_in_p they are
4756 not needed anymore due to changes elsewhere in jump.c.
4758 * jump.c (jump_optimize): Fix first arg to modified_in_p in
4761 Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
4763 * expr.c (expand_builtin_setjmp): Accept two new arguments for
4764 the labels to branch to on first and subsequent executions. Don't
4765 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
4766 and provide it with the jmp_buf. Use only one of
4767 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
4768 and provide the former with the target label.
4769 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
4770 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
4771 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
4772 insn to replace all of the normal nonlocal_goto code. Don't play
4773 with __dummy. Correct arguments to nonlocal_goto.
4774 * expr.h (expand_builtin_setjmp): Update prototype.
4775 * except.c (start_dynamic_handler): When using builtin_setjmp,
4776 generate more accurate flow information.
4778 * alpha.md (nonlocal_goto_receiver_osf): Delete.
4779 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
4780 (builtin_longjmp, builtin_setjmp_receiver): New.
4781 * sparc.md (update_return): Disambiguate unspec number.
4782 (nonlocal_goto): Rearrange arguments to match caller in except.c.
4783 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
4785 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
4786 (builtin_setjmp_setup*, builtin_longjmp): New.
4788 Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
4790 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
4792 Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
4794 * vmsconfig.com: Remove bytecode references.
4796 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4798 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
4799 -fno-sjlj-exceptions works for a target that defines
4800 DWARF2_UNWIND_INFO as zero.
4802 * regmove.c (fixup_match_1): Undo last change which removed some
4803 "useless" code, and add a comment explaining this.
4805 Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
4807 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
4810 Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
4812 * makefile.vms: Remove bytecode references.
4813 Create genrtl files.
4815 Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
4817 * jump.c (jump_optimize): Allow conditional loading of floating point
4818 constants and constants from memory. Reinstalled modified_in_p tests.
4820 Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4822 * loop.c (get_condition): Handle sign-extended constants.
4824 Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
4826 * expr.c (emit_push_insn): Add code to use movstrti if present.
4828 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
4829 and movstrqi as in emit_block_move ().
4831 Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
4833 * config/m68k/x-next: Remove /NextDeveloper/Headers from
4834 the directories to fixinclude - /usr/include is a link
4835 to it and hence its contents are fixed by default.
4837 Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4839 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
4841 Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
4843 * cccp.c (main): Predefine __VMS_VER on VMS.
4845 Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4847 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
4848 * fold-const.c (size_int): Replace with
4850 (make_bit_field_ref): Use bitsize_int for bit position.
4851 * stor-layout.c (sizetype): Delete.
4852 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
4853 (layout_record, layout_union, layout_type):
4854 Use bitsize_int for bit size.
4855 (set_sizetype): New function.
4856 (make_signed_type, make_unsigned_type): Use it.
4857 * c-decl.c (init_decl_processing): Likewise.
4858 * tree.h (size_int): Don't delcare, #define.
4859 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
4860 (set_sizetype): Declare.
4861 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
4863 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
4864 Convert result to sizetype.
4865 (really_start_incremental_init, push_init_level):
4866 Set type of constructor_bit_index to sbitsizetype.
4867 (push_init_level): Use unsigned arithmetic to determine padding.
4868 (output_init_element): Likewise.
4870 Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
4872 * combine.c (simplify_shift_const): Fix typo in last change.
4874 Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
4876 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
4877 is (truncate (lshiftrt)).
4879 Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
4881 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
4882 Make sure result winds up in TGT.
4883 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
4884 src to be other than DImode.
4885 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
4886 (alpha_expand_unaligned_store_words): Likewise.
4887 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
4888 that source and destination are separately optimized for alignment.
4889 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
4891 Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
4893 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
4894 with handling of -32768.
4896 Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4898 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
4899 shell variable argument instead of only hard coded functions.
4900 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
4902 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
4903 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
4904 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
4905 declarations for bcopy, bcmp and bzero.
4907 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
4909 * gansidecl.h: If we have bcopy but don't declare it, then do so.
4910 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
4911 bzero, index and rindex if they aren't already present.
4913 Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
4915 * toplev.c (close_dump_file): Wrap function prototype for
4916 argument "func" in PROTO.
4917 (dump_rtl): Likewise.
4919 Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
4921 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
4923 (output_function_epilogue): Omit epilogue if nothing drops through.
4924 (output_move_double): Supress int ldd usage on ultrasparc and v9.
4925 (registers_ok_for_ldd_peep): Likewise.
4926 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
4927 (ultrasparc_adjust_cost): New function.
4928 (sparc_issue_rate): New function.
4929 * sparc.h (MASK_VIS, TARGET_VIS): New
4930 (MASK_V8PLUS, TARGET_V8PLUS): New.
4931 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
4932 (TARGET_SWITCHES): Add vis and v8plus.
4933 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
4934 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
4935 (RTX_COSTS): Use TARGET_HARD_MUL
4936 (ADJUST_COST): Call ultrasparc_adjust_cost.
4938 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
4939 of load & fp appropritely.
4940 (supersparc function units): Adjust for Haifa.
4941 (ultrasparc function units): Likewise.
4942 (get_pc_via_rdpc): All v9, not just arch64.
4943 (movdi_v8plus, movdi_v8plus+1): New.
4944 (adddi3_sp32+1): New.
4945 (subdi3_sp32+1): New.
4946 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
4947 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
4948 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
4949 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
4950 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
4951 (ldd peepholes): Suppress for v9.
4952 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
4953 (return_subsi): Revmove.
4955 Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
4957 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
4958 save/restore MEM rtl.
4960 Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
4962 * configure.in: Check for declaration of abort.
4963 * acconfig.h: Corresponding changes.
4964 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
4967 Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
4969 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
4972 Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
4974 * version.c: Bump for snapshot.
4976 Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
4978 * configure.in: Check for atoq and atoll.
4979 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
4980 proper routine for converting ascii into long long values.
4982 Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
4984 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
4986 * vmsconfig.com: Remove bytecode references.
4988 * alpha/vms.h (PREFIX): Define.
4990 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
4992 * am-alpha.h: Don't include alloca for OPEN_VMS.
4994 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
4996 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
4997 (GCC_INCLUDE_DIR): Define
4999 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
5000 * makefile.vms: New file.
5002 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
5004 * alpha.c (output_prolog): Output '.name' directive
5005 for minimal traceback information.
5007 * alpha.c (output_prolog): Don't prepend entry point symbols
5008 with '$' on OPEN_VMS.
5010 Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
5011 Jeffrey A Law (law@cygnus.com)
5013 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
5016 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
5018 * genemit.c (gen_exp): Likewise.
5019 * genpeep.c (match_rtx): Likewise.
5020 * genrecog.c (write_tree_1): Likewise.
5022 * c-lex.c (yyprint): Use proper format string based upon
5023 disposition of HOST_BITS_PER_WIDE_INT.
5024 (yylex): Put casts in right place for args to build_int_2.
5026 Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
5028 * combine.c: Fix typos in Jan27 changes.
5030 Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
5032 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
5033 (LINK_SPEC): Likewise.
5034 (STARTFILE_SPEC): Likewise.
5036 1998-01-28 Mike Stump <mrs@wrs.com>
5038 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
5040 * genattrtab.c (reload_completed): Define.
5042 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
5045 Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5047 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
5048 SUBREG_REG if the word count is unchanged, also in the input reload
5049 case. Disable non-applicable sanity checks.
5051 Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
5053 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
5055 Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
5057 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
5059 Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
5061 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
5062 is a TREE_VEC before trying to use it for baseclasses.
5063 (Chill uses the same field for a different purpose.)
5065 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
5067 Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
5069 * config.sub: More accurate determination of HP processor types.
5071 Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5073 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
5074 prototype for `handle_sysv_pragma', and make it static. Add
5075 parentheses around assignment used as truth value.
5077 * combine.c (combine_instructions): Protect variable `prev' with
5079 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
5080 (extract_left_shift): Add parentheses around operand of &.
5081 (merge_outer_ops): Avoid an empty body in an else-statement.
5082 (gen_rtx_combine): Remove unused variable `i'.
5084 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
5085 function monstartup `void'. Likewise for internal_mcount. Add
5086 `static void' prototype for moncontrol. Reconcile sprintf format
5089 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
5090 Make return type of function_arg_slotno explicitly `int'.
5091 (reg_unused_after): Add parentheses around assignment used as
5093 (save_regs): Add explicit braces to avoid ambiguous `else'.
5094 (function_arg_slotno): Add parentheses around && within ||.
5095 (function_arg_pass_by_reference): Likewise.
5096 (sparc_flat_output_function_prologue): Reconcile fprintf format
5099 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
5100 assignment used as truth value.
5102 * cplus-dem.c: Include <stdlib.h>.
5103 (demangle_signature): Avoid an empty body in an else-statement.
5104 (do_type): Remove unused variable `lvl'.
5106 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
5107 Include <string.h>/<strings.h>.
5108 (cpp_lex): Remove unused variable `namelen'.
5109 (cpp_lex): Explicitly declare `num_chars' as an int.
5111 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
5112 <unistd.h> instead. Explicitly declare is_system_include
5114 (make_assertion): Remove unused variable `kt'.
5115 (cpp_expand_to_buffer): Hide variable `obuf'.
5116 (output_line_command): Remove unused variables, `line_end',
5117 `line_cmd_buf' and `len'.
5118 (macarg): Remove unused variable `arg_start'.
5119 (special_symbol): Remove unused variable `i'. Add parentheses
5120 around assignment used as truth value.
5121 (do_include): Remove unused variables `pcfname' and `retried',
5122 hide `pcf' and `pcfbuflimit'.
5123 (do_line): Remove unused variable `i'.
5124 (finclude): Hide variable `missing_newline'.
5125 (cpp_handle_options): Remove unused variable `j'.
5126 (read_token_list): Remove unused variable `eofp'.
5127 (cpp_error_with_line): Remove unused variable `i'.
5128 (cpp_warning_with_line): Likewise.
5129 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
5130 (cpp_error_from_errno): Remove unused variable `i'.
5132 * cse.c (invalidate): Add parentheses around assignment used as
5134 (find_best_addr): Move declaration of variable `our_cost' inside
5135 the conditional macro where its used.
5136 (fold_rtx): Avoid an empty body in an if-statement.
5137 (cse_insn): Wrap variables `this_insn_cc0_mode' and
5138 `this_insn_cc0' in macro HAVE_cc0.
5140 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
5141 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
5142 (output_uleb128): Likewise.
5143 (output_sleb128): Likewise.
5144 (output_cfi): Likewise.
5145 (output_call_frame_info): Remove unused variables `j', `fde_size'
5147 (comp_unit_has_inlines): Hide declaration as per rest of file.
5148 (size_of_line_prolog): Correct typo in prototype.
5149 (add_arange): Likewise.
5150 (output_aranges): Likewise.
5151 (add_name_and_src_coords_attributes): Likewise.
5152 (gen_array_type_die): Likewise.
5153 (gen_inlined_subroutine_die): Likewise.
5154 (equate_decl_number_to_die): Remove unused variable `i'.
5155 (print_die): Reconcile format vs. args in fprintf's.
5156 (print_dwarf_line_table): Likewise.
5157 (output_die): Likewise.
5158 (output_line_info): Likewise.
5159 (add_subscript_info): Avoid an empty body in an else-statement.
5160 (gen_subprogram_die): Remove unused variable `fp_loc'.
5162 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
5163 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
5164 macro. Protect `src_coords_attribute' prototype with
5165 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
5166 prototype as in the rest of the file. Likewise for
5167 `output_pointer_type_die' and `output_reference_type_die'. Remove
5168 prototype for `type_of_for_scope'.
5169 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
5170 (type_attribute): Add explicit braces to avoid ambiguous `else'.
5172 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
5173 (shorten_branches): Protect declaration of tmp_length with
5174 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
5175 (profile_function): Protect declaration of `sval' and `cxt'
5176 variables with appropriate macros.
5177 (final_scan_insn): Likewise for `note' variable. Add explicit
5178 braces to avoid empty body in an if-statement.
5179 (output_asm_insn): Move variable `i' inside macro conditional
5180 where it is used. Add parentheses around assignment used as truth
5182 (asm_fprintf) Likewise, likewise.
5184 * fix-header.c (main): Remove unused variable `done'. Protect
5185 declaration of `i' with FIXPROTO_IGNORE_LIST.
5187 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
5189 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
5192 * profile.c: Include <string.h>/<strings.h>.
5193 (instrument_arcs): Remove unused variables `note', `inverted',
5194 `zero' and `neg_one'.
5195 (branch_prob): Avoid empty body in an if-statement.
5197 * regclass.c: Include <stdlib.h>.
5198 (reg_alternate_class): Explicitly declare parameter `regno'.
5200 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
5201 parentheses around assignment used as truth value.
5202 (find_matches): Remove unused variables `output_operand' and
5204 (fixup_match_1): Remove statement with no effect: "if (0) ;".
5206 * scan.c (sstring_append): Explicitly declare `count' as int.
5207 (scan_string): Explicitly declare parameter `init' as int.
5209 * sched.c: Include <stdlib.h>.
5210 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
5211 (rank_for_schedule): Add parentheses around assignment used as
5213 (schedule_block): Likewise.
5214 (regno_use_in): Likewise.
5215 (schedule_insns): Remove unused variable `i'.
5217 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
5218 (v_message_with_decl): Remove unused variable `n'.
5219 (botch): Explicitly declare parameter `s' as char *.
5220 (main): Add parentheses around assignment used as truth value.
5222 * tree.c (make_node): Protect the variable `kind' with the
5223 GATHER_STATISTICS macro.
5224 (real_value_from_int_cst): Move variable `e' inside conditional
5225 macro area where it is used.
5226 (tree_last): Add parentheses around assignment used as truth value.
5227 (build1): Protect the variable `kind' with the GATHER_STATISTICS
5229 (print_obstack_statistics): Reconcile format vs. args in fprintf.
5230 Protect variables `i', `total_nodes', and `total_bytes' with the
5231 GATHER_STATISTICS macro.
5233 Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
5235 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
5236 some comments regarding use of dead_or_set_p.
5238 Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
5240 * fixincludes: Tweak fix for struct exception in math.h
5242 Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
5244 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
5245 Change mode of registers used to add/sub from
5246 hard_frame_pointer_rtx from word_mode to Pmode.
5248 Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
5250 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
5251 asm_output_aligned_bss() instead of asm_output_bss().
5253 * toplev.c (rest_of_compilation): Replace references to
5254 stack_reg_dump_file and dbr_sched_dump_file with references to
5257 Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
5259 * tlink.c (scan_linker_output): Call fclose() for opened files.
5261 Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
5263 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
5264 compiling with -fpic -- we want to be able to override symbols
5266 (alpha_expand_block_move): Fix thinko in last change.
5268 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
5269 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
5270 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
5272 Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
5274 * alpha.md (abssf, absdf): Revert last change.
5276 Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
5278 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
5279 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
5281 Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
5283 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
5284 a CONST_INT into SFmode.
5286 Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
5288 * flags.h: New flag (optimize_size).
5289 * toplev.c (main): Parse -Os option and set optimize_space
5291 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
5292 __OPTIMIZE_SIZE__ when compiling with -Os.
5293 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
5294 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
5295 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
5297 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
5299 Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
5301 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
5302 stuff only if MCT_TEXT is #define'd.
5304 Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
5306 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
5309 Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
5311 * toplev.c: Add -dM command line option to dump RTL after the
5312 machine dependent reorganisation pass, if there is one.
5313 Reorganise RTL dump code, so that only one file handle is
5316 Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
5318 * except.c (check_exception_handler_labels): Disable warning when
5321 Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
5323 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
5325 Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5327 * c-decl.c (grokdeclarator): Get parameter tags from
5328 last_function_parm_tags.
5329 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
5330 traversing the parameter types.
5331 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
5333 Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
5335 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
5337 (get_shift_alg): Fix typo.
5339 Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
5341 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
5343 Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
5345 * toplev.c (get_run_time): Make sure each case gets its variables.
5347 Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
5349 * configure.in (build_xm_file): Add auto-config.h if host=build.
5350 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
5351 (build_xm_file_list): Likewise.
5352 * configure: Rebuild.
5354 Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
5356 * recog.c (validate_replace_rtx_1): Only perform substitutions
5357 of arguments to commutative and comparison operators once.
5359 Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5361 * sparc.c (output_cbranch): Add default case in
5364 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
5365 (emit_delay_sequence): Eliminate unused parameter, all callers
5367 (fill_simple_delay_slots): Likewise.
5368 (fill_slots_from_thread): Likewise.
5369 (fill_eager_delay_slots): Likewise.
5370 (mark_referenced_resources): Add default case in enumeration switch.
5371 (mark_set_resources): Likewise.
5372 (rare_destination): Likewise.
5373 (mostly_true_jump): Likewise.
5374 (find_dead_or_set_registers): Likewise.
5375 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
5376 (update_reg_unused_notes): Remove unused variable `p'.
5377 (mark_target_live_regs): Remove unused variables `next' and
5379 (fill_simple_delay_slots): Remove unused variable `j'.
5380 (fill_slots_from_thread): Add parentheses around assignment used
5382 (dbr_schedule): Likewise.
5384 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
5385 (objc.stage2, objc.stage3, objc.stage4): Likewise.
5387 Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
5389 * cse.c (simplify_ternary_operation): Don't try to simplify
5390 IF_THEN_ELSE expressions (created by combine) that don't use
5391 relational operators.
5393 Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
5395 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
5398 * crtstuff.c (init_dummy): Keep the epilogue in the init
5399 section for non-ELF systems.
5401 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5403 * sh.md (movqi_i+1): New peephole.
5405 Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
5407 * Makefile.in: Remove remaining bytecode stuff.
5408 * emit-rtl.c, expr.c: Likewise.
5410 Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
5412 * toplev.c (lang_options): Add unknown-pragma options.
5414 Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
5416 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
5417 special (and incomplete) handling for Chill arrays.
5419 Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
5421 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
5424 Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
5426 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
5428 1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
5430 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
5431 .frame directive instead of FRAME_POINTER_REGNUM.
5433 Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
5435 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
5436 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
5437 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
5438 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
5439 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
5440 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
5441 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
5442 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
5444 * longlong.h: Replace __mc68332__ with __mcpu32__.
5446 Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
5448 * version.c: Bump for snapshot.
5450 Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
5452 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
5453 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
5454 * reload1.c (eliminate_regs): Likewise.
5456 Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
5458 * regmove.c (find_matches): Initialize matches->earlyclobber too.
5460 Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
5462 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
5463 (negsf2, negdf2): Use proper subtract in IEEE mode.
5465 Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
5467 * Makefile.in: Remove more bytecode stuff.
5468 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
5469 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
5470 * f/install.texi, objc/Make-lang.in: Likewise.
5472 * Makefile.in: Remove all bytecode support.
5473 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
5474 * emit-rtl.c: Remove all bytecode support.
5475 * expr.c, expr.h function.c, integrate.c: Likewise.
5476 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
5477 * tree.h, varasm.c: Likewise.
5478 * config/m68k/m68k.h: Likewise.
5479 * bi-*, bc-*, bytecode*: Delete bytecode related files.
5480 * modemap.def: Likewise.
5482 Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
5484 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
5485 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
5487 Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
5489 * i386.md (push): Prohibit symbolic constants if flag_pic.
5490 (movsi+1): Likewise for move to non-register.
5492 Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
5494 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
5495 (print_operand): Handle 0xffffffff on 32 bit host.
5497 * configure.in (thread_file): Rename uses before main loop to
5498 target_thread_file. Initialize to empty in main loop. Set thread_file
5499 to target_thread_file after main loop if not set.
5500 * configure: Rebuild.
5502 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
5503 (add_values_to_cover): Revert last change (which had no ChangeLog
5505 (simplify_with_current_value_aux): Handle CONST_INT.
5507 Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5509 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
5511 Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
5513 * configure.in: Add cpp stringify test.
5514 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
5515 * gengenrtl.c: Use it.
5516 * configure, config.in: Rebuild.
5518 Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5520 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
5522 Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
5524 * configure.in: Find declaration for sbrk.
5525 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
5526 * config.in, configure: Rebuild.
5527 * mips-tfile.c: Properly protect declaration of sbrk and free.
5528 * toplev.c: Properly protect declaration of sbrk.
5530 Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
5532 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
5534 Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
5536 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
5538 Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
5540 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
5542 Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
5544 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
5545 constant offset computations from objects with known alignment in
5546 the presence of STACK_BIAS.
5548 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
5550 (const_hash): Hash val is unsigned long.
5551 (SYMHASH): Likewise.
5553 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
5555 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
5556 char pointer, not HOST_WIDE_INT.
5557 (print_node): Likewise. Also hash is unsigned long not
5560 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
5562 * explow.c (optimize_save_area_alloca): New function for targets
5563 where SETJMP_VIA_SAVE_AREA is true.
5564 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
5565 compute the amount of stack space needed should we find later that
5566 setjmp is never called by this function, stuff rtl for this inside
5567 a REG_NOTE of the final SET of stack_pointer_rtx.
5568 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
5569 current_function_calls_alloca, call optimize_save_area_alloca.
5571 Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
5573 * i386.md: Remove redundant integer push patterns.
5574 Don't bother checking for TARGET_PUSH_MEMORY when
5575 pushing constants or registers.
5577 Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5578 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
5580 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5581 (pwait): New function for mingw32.
5583 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
5584 pipe support is broken for now.
5586 1998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
5588 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
5589 between frame_pointer_rtx, hard_frame_pointer_rtx, and
5590 arg_pointer_rtx is respected in initialization.
5591 (init_emit_once): Use gen_rtx_raw_REG() to create
5592 return_address_pointer_rtx.
5594 * reorg.c: #include "expr.h" for rtx prototypes.
5595 * Makefile.in (reorg.o): Depend on expr.h
5597 Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
5599 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
5600 local_prefix to sub-make invocations.
5602 Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
5604 * objc-parse.c: Recognize protocol qualifiers in class definitions.
5606 Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
5610 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
5611 * configure.in: Check for atol.
5612 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
5614 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
5616 * loop.c (find_and_verify_loops): When attempting to move insns from
5617 inside the loop outside the loop, create a BARRIER if no suitable
5620 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
5621 favor of an equivalent change from gcc-2.8.
5623 * i386/x-sco5 (CC): Remove trailing whitespace.
5625 Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5627 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
5628 (accessor_from_format): Likewise.
5629 (xmalloc): New function for use when linking with alloca.o.
5631 Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5633 * frame.c (find_fde): Correct FDE's upper bound.
5635 Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
5637 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
5639 Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
5641 * calls.c (expand_call): Move #ifdef code out of macro argument
5643 (emit_library_call, emit_library_call_value): Likewise.
5645 Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
5647 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
5649 Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
5651 * version.c: Bump for snapshot.
5653 Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
5655 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
5656 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
5657 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
5658 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
5659 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
5660 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
5661 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
5662 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
5663 * unroll.c, varasm.c: Likewise.
5664 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
5666 Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
5668 * mips.h: Fix some type-o's from a previous change.
5670 Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
5672 * loop.c (check_dbra_loop): Make sure initial value is a
5673 CONST_INT before trying to normalize it.
5675 Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
5677 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
5679 Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
5681 * cppexp.c: Include gansidecl.h
5683 Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
5685 * svr4.h (LINK_SPEC): Never specify -h.
5686 * ptx4.h (LINK_SPEC): Likewise.
5687 * rs6000/sysv4.h (LINK_SPEC): Likewise.
5688 * sparc/sol2.h (LINK_SPEC): Likewise.
5690 Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
5692 * c-typeck.c (comptypes): Exit early on NULL input.
5694 * haifa-sched.c (schedule_insns): Correctly remove inter-block
5695 dependencies after reload.
5697 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
5699 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
5701 Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
5703 * alpha/vms.h (DIR_SEPARATOR): define
5705 Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5707 * Makefile.in (stamp-proto): Remove.
5708 (protoize.o, unprotoize.o): Straightforward compile.
5709 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
5711 Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5713 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
5714 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
5716 Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
5718 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
5719 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
5720 * sparc/netbsd.h, vax/netbsd.h: Likewise.
5722 Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
5724 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
5726 Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
5728 * configure.in (target_cpu_default, target_cpu_default2): Use double
5729 quotes around them when testing their value.
5730 * configure: Rebuilt.
5732 Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
5734 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
5736 (gendef): Call obstack_alloc_rtx.
5738 Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
5740 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
5743 Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
5745 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
5746 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
5747 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
5749 Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
5751 * mips.md (return_internal): Change mode from SImode to VOIDmode.
5753 Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
5755 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
5758 Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
5760 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
5761 suffix from operand 3.
5763 Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5764 Jeffrey A Law (law@cygnus.com)
5766 * regmove.c: New implementation of regmove pass.
5767 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
5768 decls, make them have external linkage. Return a value from
5769 optimize_reg_copy_1.
5770 * reload.h (count_occurrences): Add decl.
5771 * reload1.c (count_occurrences): Delete decl, make it have external
5773 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
5775 Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
5777 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
5778 if it is not defined.
5780 Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
5782 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
5783 * emit-rtl.c (gen_rtx): Move special code to ...
5784 (gen_rtx_CONST_INT): New function.
5785 (gen_rtx_REG): New function.
5786 (*): Update all calls to gen_rtx.
5787 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
5788 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
5789 (GEN_INT): Call gen_rtx_CONST_INT.
5790 * gengenrtl.c: New file.
5792 Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
5794 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
5795 (base_alias_check): If no base found for address call canon_rtx and
5798 Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
5800 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
5801 arguments for mips16.
5802 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
5803 Don't lose if tsize is zero after handling large stack for mips16.
5804 * mips.md (return): For trivial return, return address is in $31.
5806 Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
5808 * mips/mips16.S: Various changes to make it work with -msingle-float
5811 Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
5812 Ian Lance Taylor <ian@cygnus.com>
5813 Jeff Law <law@cygnus.com>
5815 * mips.c, mips.h, mips.md: First cut at merging in mips16
5816 support. Major modifications throughout all three files.
5818 Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
5820 * configure.in: Make gthr-default.h a forwarding header instead of
5823 Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5825 * gcov-io.h: Include sys/types.h to ensure we get size_t.
5827 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
5829 Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
5830 Jeffrey A Law (law@cygnus.com)
5832 * crtstuff.c (__frame_dummy): New function for irix6.
5833 (__do_global_ctors): Call __frame_dummy for irix6.
5834 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
5836 Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
5838 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
5840 Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
5842 * c-decl.c (init_decl_processing): Provide proper fallback symbol
5843 for __builtin_memset.
5844 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
5845 not INTEGER_CST. Assert arg 3 is a constant.
5847 * alpha.c (mode_width_operand): Accept 64-bit modes.
5848 (mode_mask_operand): Likewise.
5849 (print_operand): Likewise for 'M' and 'U' codes.
5850 (alpha_expand_unaligned_load): New function.
5851 (alpha_expand_unaligned_store): Likewise.
5852 (alpha_expand_unaligned_load_words): Likewise.
5853 (alpha_expand_unaligned_store_words): Likewise.
5854 (alpha_expand_block_move): Likewise.
5855 (alpha_expand_block_clear): Likewise.
5856 * alpha.h (MOVE_RATIO): New define.
5857 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
5858 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
5860 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
5861 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
5863 Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
5865 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
5866 * configure: Update.
5868 Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
5870 * emit-rtl.c (operand_subword): Correctly handle extracting a word
5871 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
5873 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
5876 Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
5878 * configure.in: Set and subsitute host_exeext. Use it when creating
5879 the assembler and linker symlinks.
5880 * configure: Rebuild.
5881 * Makefile.in (exeext): Set to @host_exeext@.
5882 (build_exeext): New variable, set to @build_exeext@.
5883 (FLAGS_TO_PASS): Pass down build_exeext.
5884 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
5887 Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
5889 * mn10200.md (addsi3, subsi3): Fix thinkos.
5891 Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
5893 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
5894 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
5895 unix always, since we want to be able to thunk to functions in a
5896 shared library from an application.
5898 Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
5900 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
5901 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
5903 Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
5905 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
5906 offset's mode is not ptr_mode, convert it.
5908 Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
5910 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
5911 compiling if it was already defined.
5913 Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
5915 * flow.c (find_basic_blocks): Don't create a new basic block
5916 for calls in a LIBCALL block.
5918 Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
5920 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
5922 Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
5924 * cse.c (rtx_cost): Remove conflicting default case.
5926 Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
5928 * configure.in: Move default enabling of Haifa out of for loop.
5929 * configure: Rebuild.
5931 Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
5933 * version.c: Bump for snapshot.
5935 1997-12-25 Teemu Torma <tot@trema.com>
5937 * Makefile.in (GTHREAD_FLAGS): New var.
5938 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
5939 (distclean): Remove gthr-default.h.
5941 * configure.in: Accept dce as a thread package.
5942 Check for thread.h and pthread.h.
5943 Link gthr-default.h to appropriate thread file and set
5945 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
5946 include multilib definitions from pa/t-dce-thr.
5947 (sparc-*-solaris2*): Enable threads by default, if thread.h or
5948 pthread.h is found, preferring posix threads over solaris ones.
5950 * config/pa/t-dce-thr: New file.
5951 * config/pa/t-pa: Removed multilibs.
5952 * config/sparc/t-sol2: Ditto.
5955 * gthr-single.h: New file.
5956 * gthr-posix.h: New file.
5957 * gthr-solaris.h: New file.
5958 * gthr-dce.h: New file.
5959 * libgcc-thr.h: Removed.
5960 * objc/thr-dce.c: New file copied from thr-decosf1.c.
5962 * frame.c: Include gthr.h instead of libgcc-thr.h.
5963 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
5964 (eh_context_initialize): If __gthread_once fails, use static eh
5966 (eh_context_free): Call __gthread_key_dtor.
5968 Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
5970 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
5972 Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
5974 * cse.c (max_insn_uid): New variable.
5975 (cse_around_loop): Use max_insn_uid.
5976 (cse_main): Set max_insn_uid.
5978 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
5979 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
5980 -mlong64, and -mgp{32,64} options.
5981 * mips.c (mips_abi): Change type to int.
5982 * mips.h (enum mips_abi_type): Delete.
5983 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
5984 (mips_abi): Change type to int.
5986 Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
5988 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
5989 optimization is now always enabled.
5991 * calls.c (expand_call): Recognize C++ operator new as malloc-like
5994 * alias.c (memrefs_conflict_p): Eliminate tests now done by
5996 (*_dependence): Call canon_rtx before base_alias_check.
5997 (init_alias_once): New function to precompute set of registers which
5998 can hold Pmode function arguments.
6000 * rtl.h: Declare init_alias_once.
6002 * toplev.c (compile_file): Call init_alias_once.
6004 Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
6006 * tree.c (restore_tree_status): Do not dereference a null pointer.
6008 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
6010 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
6011 RLIMIT_STACK. This maintains consistency with the recent, similar
6012 patch to cccp.c and toplev.c.
6014 Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
6016 * genattrtab.c (expand_units): For large nr opclasses, expand
6017 function_units_used with ORX to prevent blowups. Tag with FFS.
6018 (num_unit_opclasses): New variable.
6019 (gen_unit): Update it.
6020 (enum operator): Add ORX_OP.
6021 (operate_exp): Treat ORX as or, except don't expand across an if.
6022 Reuse number rtx's after operating on them.
6023 (check_attr_value): Accept IOR, AND, & FFS.
6024 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
6025 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
6026 (write_expr_attr_cache, write_toplevel_expr): New functions.
6027 (write_attr_get): Handle FFS-tagged expressions.
6028 (make_canonical): Don't expand const attributes.
6029 (convert_const_symbol_ref): Dike out.
6030 (evaluate_eq_attr): Handle SYMBOL_REF.
6031 (main): Don't emit get_attr_foo for const attributes.
6033 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
6034 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
6035 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
6036 * alpha.md: Redo all of the scheduling, adding EV6 support, and
6037 combining function units where possible.
6038 (attr "type"): Split loads, stores, cmov into int/fp. Combine
6039 multiplies and divides. Add EV6 sqrt, ftoi, itof.
6040 (attr "opsize"): New attribute.
6041 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
6042 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
6043 to control register allocation.
6044 (movsi2-1, movdi2-1): Likewise.
6046 Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
6048 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
6049 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
6050 Move OSF/1 specific defines out.
6051 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
6052 Move Linux specific defines out.
6053 (LINK_SPEC): Genericize.
6054 (ASM_FILE_START): Emit .arch if using more than the base insn set.
6055 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
6056 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
6057 (HANDLE_SYSV_PRAGMA): Define.
6058 * alpha/osf.h: New file.
6059 * alpha/linux.h: Split. Retain file-format independant defines.
6060 Import Linux bits from elf.h.
6061 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
6062 (FUNCTION_PROFILER): _mcount takes its address in $28.
6063 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
6064 * alpha/linux-ecoff.h: New file.
6065 * alpha/linux-elf.h: New file.
6066 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
6067 * alpha/win-nt.h (TARGET_DEFAULT): Define.
6068 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
6069 Add new headers as appropriate.
6071 * configure.in (alpha*): Enable Haifa by default.
6072 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
6073 * configure: Rebuild.
6075 Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
6077 * Makefile.in (clean): Remove the stages with their objects here ...
6078 (distclean): ... instead of here.
6080 Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6082 * cse.c (rtx_cost): Add default case in enumeration switch.
6083 * fix-header.c (recognized_macro): Likewise.
6084 (recognized_extern): Likewise.
6085 (write_rbrac): Likewise.
6086 * objc/objc-act.c (encode_aggregate): Likewise.
6087 (gen_declarator): Likewise.
6088 (gen_declspecs): Likewise.
6090 Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
6092 * haifa-sched.c (create_reg_dead_note): Detect and handle another
6093 case where we kill more regs after sched than were killed before
6095 * sched.c (create_reg_dead_note): Similarly.
6097 Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
6099 * c-pragma.c: Include flags.h.
6101 Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
6103 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
6104 about system headers.
6105 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
6106 and also to resolve symbols in prefix.c.
6108 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
6109 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
6110 when the definitions in auto-config.h is not visible.
6111 (HAVE_BZERO): Likewise.
6112 (HAVE_BCMP): Likewise.
6113 (HAVE_RINDEX): Likewise.
6114 (HAVE_INDEX): Likewise.
6116 Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
6118 * pa.c (emit_move_sequence): Handle a function label source
6121 Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
6123 * c-pragma.c (handle_pragma_token): Generate warning messages
6124 about unknown pragmas if warn_unknown_pragmas is set.
6126 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
6127 line option to set variable: warn_unknown_pragmas.
6129 Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
6131 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
6133 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
6135 Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
6137 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
6138 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
6139 generate more fine grained floating point emulation libraries.
6140 * config/fp-bit.c: Add protecting #ifdef to all functions so
6141 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
6142 then compile all suitable functions.
6143 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
6144 underscores to avoid namespace pollution.
6145 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
6147 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
6151 Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6152 Jeff Law <law@cygnus.com>
6154 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
6156 * c-decl.c (finish_decl): Use parentheses around && within ||.
6157 * rtl.c: Include stdlib.h.
6158 (read_skip_spaces): Add parentheses around assignments used as
6160 (read_rtx): Initialize list_rtx.
6161 * cppexp.c (parse_number): Use || when operands are truth values.
6162 * alias.c (find_base_value): Add default case.
6163 (memrefs_conflict): Likewise.
6164 * combine.c (sets_function_arg_p): Likewise.
6165 * genemit.c (gen_exp): Likewise.
6166 * local-alloc.c (contains_replace_regs): Likewise.
6167 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
6168 * fold-const.c (fold_convert): Use "&&" for truth values.
6169 (fold): Add default case.
6170 * sdbout.c (sdbout_field_types): Fix typo in declaration.
6171 (sdbout_one_type): Add default case.
6172 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
6173 (some_operand): Add default case.
6174 (input_operand): Likewise.
6175 (signed_comparison_operator): Likewise.
6176 (divmod_operator): Likewise.
6177 (alpha_set_memflags_1): Likewise.
6178 * reload1.c (reload_cse_simplify_operands): Ensure function
6179 always returns a value.
6180 * scan-decls.c (scan_decls): Likewise.
6181 * c-lex.c (skip_white_space): Fix typo in declaraion.
6182 * c-typeck.c (comp_target_types): Add parentheses around assignment
6183 used as truth value.
6184 (print_spelling): Likewise.
6185 (constructor_implicit, constructor_result): Remove unused variables.
6186 * collect2.c (scan_library): Protect prototype with
6187 #ifdef SCAN_LIBRARIES.
6188 * emit-rtl.c (find_line_note): Fix typo in declaration.
6189 * final.c (asm_insn_count): Protect prototype with
6190 #ifdef HAVE_ATTR_length.
6191 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
6192 (try_pre_increment_1, try_pre_increment): Likewise.
6193 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
6194 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
6195 * gcov-io.h (__store_long, __write_long, __read_long): Fix
6196 unsigned/signed comparisons.
6197 * gcov.c (read_files): Remove unused "first_type" variable.
6198 (scan _for_source_files): Initialize s_ptr.
6199 (function_summary): Eliminate "%lf" formatting, use %ld for
6201 (output_data): Initialize branch_probs and last_line_num.
6202 Eliminate "%lf" formatting, use "%ld" for longs.
6204 Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
6206 * mips16.S: New file.
6208 * libgcc2.c (varargs): Handle mips16.
6210 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
6212 * stmt.c (expand_end_case): Likewise.
6213 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
6214 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
6215 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
6217 Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6219 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
6220 the build directory.
6221 (libobjc.a): Update dependency list.
6222 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
6224 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
6225 (objc.mostlyclean): Remove runtime-info.h.
6227 Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
6229 * tree.c (build_range_type): Allow creation of ranges with no maximum.
6230 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
6231 * dwarf2out.c (add_subscript_info): Likewise.
6232 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
6233 * sdbout.c (plain_type_1): Likewise.
6234 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
6236 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
6239 Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6241 * mips.c (fatal): Remove declaration.
6243 1997-12-18 Mark Mitchell <mmitchell@usa.net>
6245 * integrate.c (get_label_from_map): New function.
6246 (expand_inline_function): Use it. Initialize the label_map to
6247 NULL_RTX instead of gen_label_rtx.
6248 (copy_rtx_and_substitute): Use get_label_from_map.
6249 * integrate.h (get_label_from_map): New function.
6250 (set_label_from_map): New macro.
6251 * unroll.c (unroll_loop): Use them.
6252 (copy_loop_body): Ditto.
6254 Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
6256 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
6257 (INIT_TARGET_OPTABS): Define.
6258 * mips/ecoff.h: Include gofast.h before mips.h.
6259 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
6260 * mips/elf64.h: Likewise.
6261 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
6263 Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
6265 * except.c: Remove register_exception_table{,_p}.
6267 Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
6269 * unroll.c (calculate_giv_inc): Handle constant increment found in
6270 a MEM with an appropriate REG_EQUAL note.
6272 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
6274 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
6275 frame pointer in the prologue.
6277 Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
6279 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
6280 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
6282 Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
6284 * config/m68k/m68k.c (output_function_prologue): Typecast
6285 dwarf2out_cfi_label to (char *).
6286 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
6288 Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
6290 * sparc.md (jump): Don't use the annul bit around an empty loop.
6291 Patch from Kevin.Kelly@East.Sun.COM.
6293 Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
6295 * jump.c: (jump_optimize): Don't use the return register as a
6296 source1 of a conditional move.
6298 Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
6300 * sparc.c (DF_MODES): Or the mask not the bit number.
6301 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
6303 Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
6305 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
6307 Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
6309 * fixincludes (size_t): Add support for Motorola's stdlib.h
6310 which fails to provide a definition for size_t.
6311 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
6312 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
6313 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
6315 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
6316 prevent unresolved externals in libio.
6317 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
6319 Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
6321 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
6322 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
6323 (LIB_SPEC): Updated for glibc 2.
6325 Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
6327 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
6328 * ginclude/varargs.h: Likewise.
6330 Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
6332 * version.c: Bump for snapshot.
6334 Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
6336 * frame.h (__register_frame, __register_frame_table,
6337 __deregister_frame): New.
6338 * frame.c (__register_frame, __register_frame_table,
6339 __deregister_frame): New.
6340 * frame.c (__deregister_frame_info): Return void *.
6341 * frame.h (__deregister_frame_info): Ditto.
6342 * collect2.c (__deregister_frame_info): Ditto.
6344 Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
6346 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
6348 Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
6350 * alpha.c (alpha_cpu_name): New variable.
6351 (alpha_mlat_string): Likewise.
6352 (alpha_memory_latency): Likewise.
6353 (override_options): Handle -mmemory-latency.
6354 (alpha_adjust_cost): Adjust load cost for latency.
6355 * alpha.h (TARGET_OPTIONS): Add meory-latency.
6356 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
6357 TARGET_CIX into account.
6358 (MEMORY_MOVE_COST): Define in terms of memory_latency.
6359 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
6361 * alpha.h (ASM_COMMENT_START): New macro.
6363 Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
6365 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
6366 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
6368 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
6369 SUBREG_REG if the word count is unchanged.
6370 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
6371 subregs of identical word size for push_reload.
6373 Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
6375 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
6376 if all we're doing is dealing with -Wreturn-type.
6378 Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
6380 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
6381 Use and 255 instead of zapnot 1, since it schedules better.
6383 Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
6385 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
6388 Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
6390 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
6391 dependency we delete. Properly update prev for multiple consecutive
6393 (priority): Skip deleted dependence.
6395 Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
6397 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
6399 Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6401 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
6402 determining when a new basic block starts.
6404 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
6406 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
6407 * pa.md (iorsi3): Add missing args to *_operand calls.
6409 * except.c (call_get_eh_context): Don't mess with sequences.
6410 (emit_eh_context): Include the call in the sequence here.
6412 1997-12-11 Paul Eggert <eggert@twinsun.com>
6414 * collect2.c (write_c_file_glob): Allocate initial frame object
6415 in static storage and pass its address.
6417 Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6419 * except.c (call_get_eh_context): Don't take a parm.
6420 Put the call at the top of the function.
6421 (emit_eh_context): Adjust.
6422 (get_eh_context): Replace with former use_eh_context.
6423 (get_eh_context_once, get_saved_pc_ref): Remove.
6424 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
6426 * integrate.c (expand_inline_function): Adjust.
6427 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
6429 Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
6431 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
6432 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
6434 Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
6436 * fixincludes (strlen,strspn,strcspn return value): Handle different
6438 (hypot): Provide a fake for hypot which is broken on
6439 m88k-motorola-sysv3.
6441 Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
6443 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
6444 tree_code_name from pointers to arrays.
6445 * tree.c: Remove standard_tree_code_* variables, no longer used.
6446 * print-tree.c: Remove declaration of tree_code_name.
6448 * cp/lex.c (init_lex): Update for tree_code_* changes.
6449 * objc/objc-act.c (init_objc): Likewise.
6451 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
6454 Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
6456 * config.sub: Add support for BeOS target.
6457 * configure.in: Likewise.
6458 * ginclude/stdarg.h: Likewise.
6459 * ginclude/stddef.h: Likewise.
6460 * ginclude/varargs.h: Likewise.
6461 * rs6000/beos.h: New file for BeOS.
6462 * rs6000/t-beos: Likewise.
6463 * rs6000/x-beos: Likewise.
6464 * rs6000/xm-beos.h: Likewise.
6465 * toplev.c (get_run_time): Just return 0 on BeOS.
6467 Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
6468 Toon Moene (toon@moene.indiv.nluug.nl)
6470 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
6471 old and broken Sun3 assemblers. Newer versions handle large
6472 offsets correctly as does the GNU assembler.
6474 Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
6476 * objc/objc-act.c (lang_report_error_function): Disable.
6477 * objc/objc-parse.y: Include "output.h".
6478 (yyerror): Remove redundant decl.
6479 (yyprint): Fix prototype.
6480 (apply_args_register_offset): Remove redundant decl.
6481 (get_file_function_name): Likewise.
6483 Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
6485 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
6487 (find_basic_blocks_1): Likewise.
6489 Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6491 * except.c (use_eh_context): Don't copy_rtx a REG.
6492 (emit_throw): Lose old unwinder support.
6493 (expand_internal_throw): Likewise.
6494 * libgcc2.c (struct eh_context): Likewise.
6495 (new_eh_context): Likewise.
6496 (__get_eh_info): Lose redundant cast.
6497 (__get_dynamic_handler_chain): Likewise.
6498 (__get_saved_pc): Lose.
6499 Lose all old unwinder support code.
6501 Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
6503 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
6505 * integrate.c (expand_inline_function): If the inline fn uses eh
6506 context, make sure that the current fn has one.
6507 * toplev.c (rest_of_compilation): Call emit_eh_context.
6508 * except.c (use_eh_context): New fn.
6509 (get_eh_context_once): New fn.
6510 (call_get_eh_context): New fn.
6511 (emit_eh_context): New fn.
6512 (get_eh_context): Call either get_eh_context_once or
6513 call_get_eh_context, depending on what we have.
6514 (get_dynamic_handler_chain): Call get_eh_context_once.
6515 * except.h: Prototypes for fns above.
6516 * optabs.c (get_eh_context_libfunc): Removed.
6517 (init_optabs): Don't initialize it.
6518 * expr.h (get_eh_context_libfunc): Removed.
6519 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
6520 * config/pa/pa.h (CPP_SPEC): Support for -threads.
6521 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
6522 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
6523 New multilib for -threads.
6524 * config/sparc/t-sol2: Added multilibs for -threads and
6525 made -pthreads alias to it.
6526 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
6527 Added -threads and -pthreads options.
6528 * libgcc-thr.h: New file.
6529 * libgcc2.c: (__get_cpp_eh_context): Removed.
6530 (struct cpp_eh_context): Removed.
6531 (struct eh_context): Replaced cpp_eh_context with generic language
6533 (__get_eh_info): New function.
6534 (__throw): Check eh_context::info.
6536 * libgcc2.c: Include libgcc-thr.h.
6537 (new_eh_context, __get_eh_context,
6538 eh_pthread_initialize, eh_context_initialize, eh_context_static,
6539 eh_context_specific, eh_context_free): New functions.
6540 (get_eh_context, eh_context_key): New variables.
6541 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
6542 get_eh_context to get the context.
6543 (longjmp): Move the declaration inside
6544 #ifdef DONT_USE_BUILTIN_SETJMP.
6545 * frame.c: Include libgcc-thr.h.
6546 (object_mutex): Mutex to protect the object list.
6547 (find_fde, __register_frame, __register_frame_table,
6548 __deregister_frame): Hold the lock while accessing objects.
6549 * except.h (get_eh_context): Declare.
6550 * except.c (current_function_ehc): Define.
6551 (current_function_dhc, current_function_dcc): Removed.
6552 (get_eh_context): New function.
6553 (get_dynamic_handler_chain): Use get_eh_context.
6554 (get_saved_pc_ref): Ditto.
6555 (get_dynamic_cleanup_chain): Removed references to
6556 current_function_dcc.
6557 (save_eh_status, restore_eh_status): Save and restore
6558 current_function_ehc instead.
6559 * optabs.c (get_eh_context_libfunc): New variable.
6560 (init_optabs): Initialize it.
6561 * expr.h: Declare get_eh_context_libfunc.
6562 * function.h (struct function): Replaced dhc and dcc with ehc.
6563 * except.c (get_saved_pc_ref): New functions.
6564 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
6565 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
6567 (end_eh_unwinder): Likewise.
6568 (init_eh): Remove initialization of eh_saved_pc.
6569 * optabs.c (get_saved_pc_libfunc): New variable.
6570 (init_optabs): Initialize it.
6571 * expr.h: Declare get_saved_pc_libfunc.
6572 * except.h (eh_saved_pc_rtx): Deleted.
6573 (get_saved_pc_ref): Declared.
6575 From Scott Snyder <snyder@d0sgif.fnal.gov>:
6576 * libgcc2.c (__get_saved_pc): New.
6577 (__eh_type, __eh_pc): Deleted.
6578 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
6579 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
6582 Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
6584 * sparc/sol2.h: Use 64 bit multiply and divide functions in
6585 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
6588 * rtl.h (global_rtl): New variable, replacing separate variables for
6590 (const_int_rtx): Now array of rtx_def, not rtx.
6591 * emit-rtl.c: Update for new rtl data structures.
6592 * genattrtab.c: Define global_rtl.
6594 Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
6596 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
6599 Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
6601 * crtstuff.c (__do_global_ctors): Fix typo.
6603 Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
6605 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6606 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6608 Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
6610 * rs6000.h (FUNCTION_ARG_PADDING): Define.
6611 * rs6000.c (function_arg_padding): New function.
6613 Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
6615 * m68k.c: Include tree.h only once.
6617 Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6619 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
6621 Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
6623 * Partially cleaned up prototyping code from HJ.
6624 * tree.h: Add many prototypes.
6625 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
6626 All references changed.
6627 * rtl.h: Protect from multiple inclusions. Add many prototypes.
6629 Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
6631 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
6632 string functions like strlen.
6634 Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
6636 * configure.in: Check for functions getrlimit and setrlimit.
6637 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6638 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6640 Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
6642 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
6644 Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
6646 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
6649 * alpha.c (override_options): Don't know about scheduling for EV6.
6650 * alpha.md (ev5 function units): Don't overload as ev6.
6652 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
6653 * alpha.md (define_attr type): Add mvi.
6654 (ev5_e0): Define sceduling parameters for it.
6655 (TARGET_MAX insns): Type is mvi not shift.
6657 Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
6659 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
6661 Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6663 * cstamp-h, auto-config.h: Delete.
6665 Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
6667 * version.c: Bump for snapshot.
6669 Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
6671 * cccp.c: Fix typo brought over in merge.
6673 * Merge in changes from gcc-2.8.
6675 Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
6677 * m68k.c: Include tree.h for dwarf2out_cfi_label.
6679 * gcc.c (process_command): Do not take address of function fatal when
6680 calling lang_specific_driver.
6682 Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
6684 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
6685 doesn't work with it yet, so set it to 0.
6686 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
6688 Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
6690 * cse.c (cse_insn): Check for invalid entries when taking references.
6692 Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6694 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
6695 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
6696 * toplev.c (rest_of_compilation): Pass it. Remove code to
6697 save / clear / restore flag_unroll_{,all_}loops.
6699 Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6701 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
6703 Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
6705 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
6707 Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
6709 * except.c (get_dynamic_handler_chain): Only make the call once per
6712 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
6714 Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6716 * sh.c (final_prescan_insn): Use local label prefix
6717 when emitting .uses pseudo-ops.
6719 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6721 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
6722 * except.c: Lose outer_context_label_stack.
6723 (expand_eh_region_end): Rethrow from outer_context here.
6724 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
6725 (expand_internal_throw): Take no args.
6726 (expand_internal_throw_indirect): Lose.
6727 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
6728 (expand_start_all_catch): Start a rethrow region.
6729 (expand_end_all_catch): End it.
6730 (expand_rethrow): New fn.
6731 * except.h: Reflect above changes.
6732 * flow.c: Revert change of Nov 27.
6734 Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
6736 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
6738 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6740 * except.c (expand_fixup_region_end): New fn.
6741 (expand_fixup_region_start): Likewise.
6742 (expand_eh_region_start_tree): Store cleanup into finalization here.
6743 * stmt.c (expand_cleanups): Use them to protect fixups.
6745 Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
6747 * mips/mips.md (muldi3_r4000): Broaden the output template
6748 and attribute assignments to handle three operand dmult;
6749 rename to muldi3_internal2.
6750 (muldi3): Call the new muldi3_internal2 for R4000, and
6751 any GENERATE_MULT3 chip.
6753 Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
6755 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
6757 Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
6759 * unroll.c (find_splittable_givs): Remove last change. Handle givs
6760 with a dest_reg that was created by loop.
6762 Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
6764 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
6766 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
6768 Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
6770 * configure.in: Fix NCR entries.
6772 Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
6774 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
6775 nested exceptions correctly.
6777 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
6778 that was created by loop.
6780 Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
6782 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
6784 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
6786 Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
6788 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
6789 (print_operand): Use SMALL_DATA_REG for the register involved in
6790 small data relocations.
6791 (print_operand_address): Ditto.
6793 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
6794 -dynamic linker is not used.
6796 * rs6000.md (call insns): For local calls, use @local suffix under
6797 System V. Don't use @plt under Solaris.
6799 * rs6000.c (output_function_profiler): Put label address in r0, and
6800 store LR in 4(sp) for System V/eabi.
6802 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
6803 byte boundary, and maintain stack backchain.
6805 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6807 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6808 fix_truncsfdi2): Change *.
6810 Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
6812 * toplev.c (main): Complain about -gdwarfn.
6814 Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
6816 * dwarfout.c (output_type): If finalizing, write out nested types
6817 of types we've already written.
6819 Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
6821 (patches originally from Geoffrey Keating)
6822 * rs6000.c (function_arg): Excess floating point arguments don't
6823 go into GPR registers after exhausting FP registers under the
6825 (function_arg_partial_nregs): Ditto.
6827 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
6830 Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
6832 * integrate.c (output_inline_function): Just unset DECL_INLINE.
6834 Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
6836 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
6839 * libgcc2.c (__throw): Initialize HANDLER.
6841 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6843 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6844 fix_truncsfdi2): Change *X to ?*X.
6846 Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
6848 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
6850 Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
6852 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
6854 Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
6856 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
6858 Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
6860 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
6861 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
6864 Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
6866 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
6867 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
6868 gas and not using the new HP assembler.
6870 Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
6872 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
6873 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
6875 Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
6877 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
6878 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
6881 Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6883 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
6885 Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
6887 * except.h: Add outer_context_label_stack.
6888 * except.c: Likewise.
6889 (expand_start_all_catch): Push the outer_context for the try block
6890 onto outer_context_label_stack.
6891 (expand_end_all_catch): Use it and pop it.
6893 Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
6895 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
6897 Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
6899 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
6901 Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
6903 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
6904 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6906 Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
6908 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
6909 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
6910 __builtin_delete, and __builtin_vec_delete.
6912 * except.c (output_exception_table): Don't bother with
6915 Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
6917 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
6918 is an in/out operand.
6919 (zero extended variants of stwm/stwm patterns): Similarly.
6921 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
6923 Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
6925 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
6927 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
6928 (output_call_frame_info): Emit a \n after using it.
6930 Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
6932 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
6934 Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
6936 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
6937 (ASM_OUTPUT_DWARF_VALUE4): New macro.
6938 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
6940 (output_call_frame_info): Do not output forward label differences
6941 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
6942 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
6944 Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6946 * sh.md (attribute "type"): Add nil.
6947 (movsi_ie): y/y alternative is type nil.
6948 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
6950 (movsf_ie+1): Delete.
6952 Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
6954 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
6955 large_int, emit two insns instead of one splitable insn.
6956 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
6957 from cfa_temp_value, use cfa_offset. Add assert checking that
6960 Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
6962 * cccp.c (deps_output): Properly quote file names for make.
6964 Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
6966 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
6968 Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
6970 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
6972 Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
6974 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
6976 (cse_end_of_basic_block): Similarly.
6978 Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
6980 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
6981 (SELECT_RTX_SECTION): Define.
6982 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
6984 Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
6986 * Makefile.in (compare, compare-lean): Define $stage for each
6988 (gnucompare, gnucompare-lean): Likewise.
6990 Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
6992 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
6994 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
6995 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6997 Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
6999 * dwarfout.c (byte_size_attribute): Add local var upper_bound
7000 and add case to handle STRING_TYPE.
7001 * dwarfout.c (output_string_type_die): Fix code to generate
7002 correct string length attribute for fixed length strings.
7003 Still needs support for varying length strings.
7005 Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
7007 * toplev.c (get_run_time): Do something sensible for cygwin32.
7009 Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
7011 * expr.c (expand_builtin_setjmp): Set
7012 current_function_has_nonlocal_label.
7013 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
7014 call-saved registers across calls.
7016 * alpha.md (exception_receiver): Remove.
7017 (nonlocal_goto_receiver_osf): New
7018 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
7019 (nonlocal_goto_receiver): New, select _osf or _vms.
7021 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
7022 keep them from being propogated to the object file.
7023 (alpha_write_linkage): Likewise.
7024 * alpha.md (call_vms): Likewise.
7025 (call_value_vms): Likewise.
7026 (unnamed osf call insns): Likewise.
7028 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
7029 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
7031 * alpha.c (call_operand): Any reg is valid for WinNT.
7032 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
7033 (anon nt calls): Add 'R' alternative.
7034 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
7035 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
7037 Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
7039 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
7041 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
7042 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
7043 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
7045 Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
7047 * reload1.c (new_spill_reg): Improve fixed or forbidden register
7048 spill error message.
7050 Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7052 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
7053 use varargs.h. Wrap header with <>, not "".
7055 Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
7057 * integrate.c (save_for_inline_copying): Add return value from
7060 Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
7062 * fixincludes: Be a little more restrictive on what we will
7063 substitute to replace definitions of MAXINT for HPUX.
7065 Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
7067 * dbxout.c (dbxout_symbol_location): Don't assume that variables
7068 whose address is the stack or argument pointers are indirect
7071 1997-11-13 Paul Eggert <eggert@twinsun.com>
7073 * cccp.c, cpplib.c (compare_defs):
7074 Don't complain about arg name respellings unless pedantic.
7075 * cpplib.c (compare_defs): Accept pfile as new arg.
7076 All callers changed.
7078 Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7080 * fold-const.c (fold_truthop): Fix bug in last change.
7082 1997-11-13 Paul Eggert <eggert@twinsun.com>
7084 Fix some confusion with IEEE minus zero.
7086 * real.h (REAL_VALUES_IDENTICAL): New macro.
7088 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
7089 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
7091 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
7092 same tree structure as 0.0.
7094 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
7095 macro instead of doing it by hand.
7097 Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
7099 * v850/lib1funcs.asm: Minor whitespace changes.
7100 * v850.c: Fix minor formatting problems in many places.
7101 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
7103 Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
7105 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
7106 xplus1 when xplus0 is not a register.
7108 Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
7110 * flow.c (find_basic_blocks): During marking phase, if we encounter
7111 an insn with a REG_LABEL note, make the target block live and
7112 create an edge from the insn to the target block. Do not make
7113 edges from all blocks to the target block.
7115 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
7117 * confiugre.in: Tweak NCR entries.
7118 * configure: Rebuilt.
7120 Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
7122 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
7123 pick apart floating point values, instead of using CONST_DOUBLE_LOW
7124 and CONST_DOUBLE_HIGH.
7126 * rs6000.md (define_splits for DF constants): Use the appropriate
7127 REAL_VALUE_* interface to pick apart DF floating point constants in
7128 a machine independent fashion.
7130 Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7132 * fold-const.c (fold_truthop): When changing a one-bit comparison
7133 against zero into a comparison against mask, do a proper sign
7136 Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
7138 * except.c: Do not include "assert.h".
7139 (save_eh_status): Turn asserts into conditional aborts.
7140 (restore_eh_status, scan_region): Likewise.
7141 * dwarfout.c: Do not include "assert.h".
7142 (bit_offset_attribute): Turn asserts into conditional aborts.
7143 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
7144 (output_inlined_structure_type_die): Likewise.
7145 (output_inlined_union_type_die): Likewise
7146 (output_tagged_type_instantiation): Likewise.
7147 (dwarfout_file_scope_decl): Likewise.
7148 * dwarf2out.c: Do not include "assert.h"
7149 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
7150 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
7151 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
7152 (add_bit_size_attribute, scope_die_for): Likewise.
7153 (output_pending_types_for_scope): Likewise.
7154 (get_inlined_enumeration_type_die): Likewise.
7155 (get_inlined_structure_type_die): Likewise.
7156 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
7157 (gen_tagged_type_instantiation_die): Likewise.
7159 * flow.c (find_basic_blocks): Refine further to get a more correct
7160 cfg, especially in the presense of exception handling, computed
7161 gotos, and other non-trivial cases. Call abort if an inaccuracy
7162 is detected in the cfg.
7164 Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7166 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
7168 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
7169 (skip_white_space): Use whitespace_cr.
7170 (check_newline): Handle whitespace more consistently.
7172 Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
7174 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
7175 * i386/xm-cygwin32.h (POSIX): Define.
7177 Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
7179 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
7180 is available elsewhere.
7182 Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
7184 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
7185 what the instruction can handle.
7187 Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
7189 * stmt.c (expand_decl_cleanup_no_eh): New fn.
7191 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
7193 Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
7195 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
7196 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
7198 Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
7200 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
7201 swap instruction order.
7203 Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
7205 * fixinc.svr4 (__STDC__): Add another case.
7207 Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7209 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
7210 addresses in the epilogue delay slot.
7212 Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
7214 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
7215 in generated `specs' file.
7217 Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
7219 * flags.h (flag_rerun_loop_opt): Declare.
7220 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
7221 * toplev.c (flag_rerum_loop_opt): Delete static.
7223 Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7225 Bring over from FSF:
7227 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7229 * va-sh.h (__va_arg_sh1): Define.
7231 SH3E doesn't use any integer registers for subsequent arguments
7232 once a non-float value was passed in the stack.
7233 * sh.c (machine_dependent_reorg): If optimizing, put explicit
7234 alignment in front label for ADDR_DIFF_VEC.
7235 * sh.h (PASS_IN_REG_P): Fix SH3E case.
7236 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
7238 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7240 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
7243 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7245 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
7246 put an use_sfunc_addr before each sfunc.
7247 * sh.md (use_sfunc_addr, dummy_jump): New insns.
7248 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
7250 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7252 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
7254 Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
7256 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
7259 Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
7261 * alias.c (find_base_value): Only return the known base value for
7264 Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
7266 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
7267 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
7269 (prologue_get_pc_and_set_got): New pattern.
7271 Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
7273 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
7274 for SUBREG, just fall through.
7276 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
7278 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
7280 Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
7282 * fixincludes: Fix "hypot" prototype in NeXT math.h.
7284 * Makefile.in (USE_ALLOCA): Always include alloca.o.
7285 (USE_HOST_ALLOCA): Likewise.
7287 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
7288 and LABEL_REFS fields.
7289 * rtl.h (LABEL_REFS): Update.
7291 Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
7293 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
7294 sets i2dest. When calling distribute_notes for i3dest_killed, pass
7295 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
7298 * mips.md (insv, extzv, extv): Add change_address call.
7299 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
7301 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
7303 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
7305 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
7306 save_restore_insns if no FP and GP will be restored.
7308 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
7309 Convert CCmode to word_mode before calling GET_MODE_SIZE.
7311 * acconfig.h (HAVE_INTTYPES_H): Undef.
7312 * configure.in (inttypes.h): Check for conflicts between sys/types.h
7313 and inttypes.h, and verify that intmax_t is defined.
7314 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
7315 * config/mips/x-iris3: Likewise.
7317 Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
7319 * alias.c (find_base_value): When copying arguments, return the
7320 tenative value for a hard register.
7322 Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
7324 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
7325 (yylex): Record wide strings using target endianness, not host.
7327 Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
7329 * mn10200.h (ASM_OUTPUT_BSS): Delete.
7330 (ASM_OUTPUT_ALIGNED_BSS): New macro
7331 * mn10300.h (ASM_OUTPUT_BSS): Delete.
7332 (ASM_OUTPUT_ALIGNED_BSS): New macro.
7333 * v850.h (ASM_OUTPUT_BSS): Delete.
7334 (ASM_OUTPUT_ALIGNED_BSS): New macro.
7336 Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7338 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
7340 Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
7342 * configure.in (sco5): Use cpio to install header files.
7344 Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
7346 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
7348 * configure: Rebuild.
7350 Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
7352 * i386/sco5.h: enable -gstabs once again.
7354 Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
7356 * arm.c (output_move_double): Allocate 3 entries in otherops array.
7358 Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
7360 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
7361 notes for sjlj exceptions too.
7362 (expand_eh_region_end): Similarly for EH_REGION_END notes.
7363 (exception_optimize): Optimize EH regions for sjlj exceptions too.
7364 * final.c (final_scan_insn): Don't output labels for EH REGION
7365 notes if doing sjlj exceptions.
7367 Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
7369 * alias.c (init_alias_analysis): Handle -fno-alias-check when
7370 optimizing correctly.
7372 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
7373 or set current_function_calls_setjmp anymore.
7375 * flow.c (find_basic_blocks): If we delete the label for an
7376 exception handler, remove it from the EH label list and remove
7377 the EH_BEGIN/EH_END notes for that EH region.
7379 Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
7381 * flow.c (find_basic_blocks): Generate correct flow control
7382 information when exception handling notes are present.
7384 Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
7386 * dwarf2out.c (output_call_frame_info): Fix length argument
7387 to ASM_OUTPUT_ASCII.
7388 (output_die, output_pubnames, output_line_info): Likewise.
7390 Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
7392 * version.c: Bump for snapshot.
7394 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
7395 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
7396 flag_debug_asm is on.
7397 (output_die, output_pubnames, output_line_info): Likewise.
7399 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
7400 and static_chain_rtx into the potential base values array if
7403 * alias.c (new_reg_base_value): New array of potential base values.
7404 (unique_id): Now file scoped static.
7405 (find_base_value, case REG): Return the value in reg_base_value
7406 array for the REG if it exists. Else, return the value from
7407 new_reg_base_value if copying args and REG is a hard register.
7408 (find_base_value, case PLUS): If either operand of the PLUS is
7409 a REG, try to get its base value. Handle base + index and
7411 (record_set): Use new_reg_base_value instead of reg_base_value.
7412 (init_alias_analysis): Allocate space for new_reg_base_value too.
7413 Rework code to iterate over the insns propagating base value
7414 information until nothing changes.
7416 * global.c (global_alloc): Free the conflict matrix after
7417 reload has finished.
7419 Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
7421 * libgcc2.c (L_eh): Define __eh_pc.
7422 Replace __eh_type with generic pointer __eh_info.
7424 Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
7426 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
7427 use copy_to_reg if address is not a general_operand.
7429 Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7431 * profile.c (output_func_start_profiler): Clear flag_inline_functions
7432 for the duration of the call to rest_of_compilation.
7434 Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
7436 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
7438 (sparc*-*-*): Recognize --with-cpu=v9.
7439 * sparc/elf.h: New file.
7440 * sparc/t-elf: New file.
7442 Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
7444 * mn10300.c (const_8bit_operand): New function.
7445 (mask_ok_for_mem_btst): New funtion.
7446 * mn10300.md (btst patterns with mem operands): Use new functions
7447 to avoid creating btst instructions with invalid operands.
7449 Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
7451 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
7452 are running on PowerPC Linux.
7454 Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
7456 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
7457 if not previously defined.
7459 Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
7461 * function.c (assign_parms): Correct mode of stack_parm if
7462 entry_parm underwent a mode conversion.
7464 1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
7466 * global.c (global_alloc): Use xmalloc instead of alloca for
7467 CONFLICTS, since max_allocno * allocno_row_words alone can be more
7468 than 2.5Mb sometimes.
7470 Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
7472 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
7473 DEST for the spill, adjust mode of SRC to compensate.
7475 Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
7477 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
7478 since any_memory_operand() allows pseudos during reload.
7479 (reload_inhi, reload_outqi, reload_outhi): Likewise.
7481 Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
7483 * m68k.md (btst patterns): Add 5200 support.
7485 Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7487 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
7488 optimizations, look inside dividend to determine if the expression
7489 can be simplified by using EXACT_DIV_EXPR.
7491 Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
7494 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
7496 Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
7498 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
7500 Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
7502 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
7505 Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
7507 * alpha.md (movqi, movhi): Make sure new insns created during reload
7508 won't need reloading themselves.
7509 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
7511 Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
7513 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
7515 Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
7517 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
7518 Patch from Klaus Kaempf <kkaempf@progis.de>.
7520 Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
7522 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
7523 to an element in a constant string.
7525 Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
7527 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
7528 bit PC-relative offset. The exception range table pointer is now in
7530 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
7531 (count_fdes, add_fdes, get_cie): Adjust.
7532 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
7535 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
7537 Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
7539 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
7540 like stack_pointer_rtx.
7542 Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
7544 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
7545 targets using "$@" to provide support for similar but not identical
7546 targets without having to duplicate code.
7547 (bootstrap4): New goal.
7549 * Makefile.in (compare, compare-lean, compare3): Combined to one
7550 ruleset determining actions to be performed via $@.
7551 (compare4, compare4-lean): New targets.
7552 (gnucompare, gnucompare3): Combined to one ruleset determining
7553 actions to be performed via $@. Also, note which files failed
7554 the comparison test in .bad_compare.
7555 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
7557 Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7559 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
7560 if the dividend is a multiple of the divisor.
7562 Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
7564 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
7566 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
7569 * alias.c (true_dependence): Fix typo.
7571 * toplev.c (flag_rerun_loop_opt): New variable.
7572 (f_options): Handle -frerun-loop-opt.
7573 (rest_of_compilation): If -frerun-loop-opt, then run the loop
7575 (main): Enable -frerun-loop-opt by default for -O2 or greater.
7577 * loop.c (simplify_giv_expr): Adding two invariants results
7580 Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
7582 * expr.c (get_inner_reference): Remove the array bias after
7583 converting the index to Pmode.
7585 Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
7587 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
7588 (TARGET_MULT_BUG): Define.
7589 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
7590 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
7592 Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
7594 * mn10200.c (indirect_memory_operand): Delete unused function.
7595 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
7596 * mn10200.md (bset, bclr insns): Handle output in a reg too.
7598 Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
7600 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
7601 the callee's ldgp, we must do it ourselves, and we use the jsr tag
7602 for more than scheduling.
7604 Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
7606 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
7608 Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
7610 * mn10300.c (symbolic_operand, legitimize_address): New functions.
7611 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
7612 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
7614 Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
7616 * version.c: Bump for snapshot.
7618 Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7620 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
7623 Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
7625 * toplev.c (flag_exceptions): Default value is 2.
7626 (compile_file): If flag_exceptions still has the value 2, then
7629 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
7630 (rs6000_save_machine_status): Save pic_offset_table_rtx.
7631 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
7633 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
7636 * rs6000.md (*movsi_got_internal_mem): New pattern.
7637 (*movsi_got_internal_mem splitter): New define_split.
7639 Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
7641 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
7643 Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7645 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
7646 only need to save LR.
7648 Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
7650 * mn10300.md (movqi, movhi): Avoid using address registers as
7651 destinations unless absolutely necessary.
7653 * mn10200.c (expand_prologue): Fix typo.
7655 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
7657 * mn10200.md (neghi2): Provide an alternative which works if
7658 the input and output register are the same.
7660 * mn10300.c (print_operand): Handle 'S'.
7661 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
7662 shift amount in last alternative
7664 * mn10300.c (expand_epilogue): Rework to handle register restores
7665 in "ret" and "retf" instructions correctly.
7667 Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
7669 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
7670 extzv for memory operands.
7672 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
7673 redundant conditional moves to single operand.
7675 Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
7677 * v850.h: Move define of __v850__ from CPP_PREDEFINES
7680 * xm-v850.h: Use __v850 rather than __v850__ to
7683 Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
7685 * mips/mips.c (compute_frame_size): Not a leaf function if
7688 Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7690 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
7692 Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
7694 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
7695 (DEFAULT_ARCH32_P): New macro.
7696 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
7697 (enum cmodel): Declare.
7698 (sparc_cmodel_string,sparc_cmodel): Declare.
7699 (SPARC_DEFAULT_CMODEL): Provide default.
7700 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
7701 (TARGET_FULLANY): Deleted.
7702 (TARGET_CM_MEDMID): New macro.
7703 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
7704 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7705 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
7706 (CPP_SPEC): Rewrite.
7707 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7708 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
7709 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7710 (ASM_SPEC): Add %(asm_arch).
7711 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
7712 Rename asm_default to asm_cpu_default.
7713 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
7714 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
7715 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
7716 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
7717 (MASK_INT64,MASK_LONG64): Delete.
7718 (MASK_ARCH64): Renamed to MASK_64BIT.
7719 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
7720 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
7721 (TARGET_SWITCHES): Always provide 64 bit options.
7722 (ARCH64_SWITCHES): Delete.
7723 (TARGET_OPTIONS): New option -mcmodel=.
7724 (INT_TYPE_SIZE): Always 32.
7725 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
7726 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
7727 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
7728 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
7729 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
7731 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7732 * sparc/linux.h: Likewise.
7733 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
7734 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7735 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
7736 (SPARC_DEFAULT_CMODEL): Define.
7737 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7738 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7739 (LONG_DOUBLE_TYPE_SIZE): Define.
7740 (ASM_SPEC): Add %(asm_arch).
7741 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7742 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7743 (TARGET_CPU_DEFAULT): Add ultrasparc case.
7744 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
7745 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
7746 (SPARC_DEFAULT_CMODEL): Define.
7747 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
7748 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
7749 MASK_LONG64, MASK_MEDANY.
7750 (SPARC_DEFAULT_CMODEL): Define.
7751 (CPP_PREDEFINES): Delete.
7752 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7753 (ASM_SPEC): Add %(asm_arch).
7754 (LONG_DOUBLE_TYPE_SIZE): Define.
7755 (DWARF2_DEBUGGING_INFO): Define.
7756 * sparc/splet.h (CPP_SPEC): Delete.
7757 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7758 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
7759 (BLOCK_PROFILER): Likewise.
7760 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
7761 (sparc_override_options): Handle code model selection.
7762 (sparc_init_expanders): Renamed from sparc64_init_expanders.
7763 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
7764 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
7765 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
7766 (sethi_di_fullany): Delete.
7768 Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
7769 Jeff Law <law@cygnus.com>
7770 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7772 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
7773 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
7774 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
7775 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
7776 * alpha/alpha.md (arg_home): Likewise.
7778 * alpha/alpha.c (vmskrunch): Delete
7779 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
7780 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
7781 truncate to 64 characters.
7783 * make-l2.com: Support openVMS/Alpha.
7785 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
7787 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7789 * longlong.h (count_leading_zeros): Add missing casts to USItype.
7791 Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
7793 * i386/bsd386.h (ASM_COMMENT_START): Define.
7795 Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
7797 * tree.c (restore_tree_status): Also free up temporary storage
7798 when we finish a toplevel function.
7799 (dump_tree_statistics): Print stats for backend obstacks.
7801 Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
7803 * expr.c (use_group_regs): Don't call use_reg for MEMs.
7805 Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
7807 * libgcc2.c (__throw): Don't copy the return address.
7808 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
7810 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
7811 * toplev.c (main): Initialize exceptions_via_longjmp.
7813 * tree.c: Add extra_inline_obstacks.
7814 (save_tree_status): Use it.
7815 (restore_tree_status): If this is a toplevel inline obstack and we
7816 didn't want to save anything on it, recycle it.
7817 (print_inline_obstack_statistics): New fn.
7818 * function.c (pop_function_context_from): Pass context to
7819 restore_tree_status.
7820 * obstack.h (obstack_empty_p): New macro.
7822 Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
7824 * i386/freebsd.h (ASM_COMMENT_START): Fix.
7826 Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
7828 * v850.c (ep_memory_offset): New function.
7829 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
7831 * v850.h (CONST_OK_FOR_*): Add and correct comments.
7832 (CONSTANT_ADDRESS_P): Add comment.
7833 (EXTRA_CONSTRAINT): Define 'U'.
7834 * v850.md: Add comments on bit field instructions.
7835 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
7836 (lshrsi3): Use N not J constraint.
7838 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
7840 * v850.c (reg_or_0_operand): Call register_operand.
7841 (reg_or_int5_operand): Likewise.
7842 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
7843 (TARGET_SWITCHES): Add "big-switch".
7844 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
7845 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
7846 (CASE_DROPS_THROUGH): Comment out.
7847 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
7848 * v850.md (cmpsi): Delete compare mode.
7849 (casesi): New pattern.
7851 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
7852 * v850.md (ashlsi3): Use SImode not QImode for shift count.
7853 (lshrsi3): Likewise.
7855 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
7856 unreachable switch statement after 'b' support. Remove "b" from
7857 strings for 'b' support.
7858 * v850.md (branch_normal, branch_invert): Change %b to b%b.
7860 Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
7862 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
7863 empty line if @inhibit_libc@ is empty.
7865 Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
7867 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
7868 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
7869 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7870 (DWARF2_UNWIND_INFO): Let this track object file format.
7871 (EXTRA_SECTIONS): Add in_eh.
7872 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
7873 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7875 Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
7877 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
7878 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
7880 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
7881 (output_double_int): Output DI mode values correctly when
7882 HOST_BITS_PER_WIDE_INT is 64.
7883 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
7884 fmovd so it works if a quad float ends up in one of the upper 32
7886 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
7887 necessary for PIC support on sparc64.
7889 Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
7891 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
7892 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
7893 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
7894 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
7895 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
7896 (SPARC_FP_ARG_FIRST): New macro.
7897 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
7898 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
7899 (NPARM_REGS): There are 32 fp argument registers now.
7900 (FUNCTION_ARG_REGNO_P): Likewise.
7901 (FIRST_PARM_OFFSET): Update to new v9 abi.
7902 (REG_PARM_STACK_SPACE): Define for arch64.
7903 (enum sparc_arg_class): Delete.
7904 (sparc_arg_count,sparc_n_named_args): Delete.
7905 (struct sparc_args): Redefine and use for arch32 as well as arch64.
7906 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
7907 (FUNCTION_ARG_ADVANCE): Rewrite.
7908 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
7909 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
7910 (FUNCTION_ARG_CALLEE_COPIES): Delete.
7911 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
7912 (STRICT_ARGUMENT_NAMING): Define.
7913 (doublemove_string): Declare.
7914 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
7915 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
7916 (doublemove_string): New function.
7917 (output_move_quad): Clean up some of the arch64 support.
7918 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
7919 Don't add 8 bytes of reserved space if arch64.
7920 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
7921 (init_cumulative_args): New function.
7922 (function_arg_slotno): New static function.
7923 (function_arg,function_arg_partial_nregs): New functions.
7924 (function_arg_{pass_by_reference,advance}): New functions.
7925 (function_arg_padding): New function.
7926 * ginclude/va-sparc.h: Rewrite v9 support.
7928 Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
7930 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
7931 for hard regs to determine base and index registers.
7933 * reload.c (debug_reload_to_stream): New function. Specify stream
7934 into which to write debug info.
7935 (debug_reload): Modify to call debug_reload_to_stream with stderr.
7937 Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
7939 * combine.c (can_combine_p): Don't combine with an asm whose
7940 output is a hard register.
7942 Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
7944 * c-decl.c (start_struct): Ensure that structs with forward
7945 declarations are in fact packed when -fpack-struct is given.
7947 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
7948 we are packing a structure. This allows a structure with only
7949 bytes to be aligned on a byte boundary and have no padding on a
7952 Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7954 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
7956 Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
7958 * alpha.c (alpha_return_addr_rtx): New variable.
7959 (alpha_save_machine_status): New; save it.
7960 (alpha_restore_machine_status): New; restore it.
7961 (alpha_init_expanders): New; clear it.
7962 (alpha_return_addr): New; set it.
7963 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
7964 is overly conservative, so search the insns explicitly.
7965 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
7966 (alpha_sa_size [VMS && !VMS]): Likewise.
7967 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
7968 (INIT_EXPANDERS): New definition.
7970 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
7971 (output_prolog [!VMS]): Use them.
7973 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
7974 (alpha_does_function_need_gp): ... a new function. Refine the
7975 CALL_INSN test to just TYPE_JSR.
7976 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
7978 Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
7980 * version.c: Bump for snapshot.
7982 Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7984 * pa.c (move_operand): Respect -mdisable-indexing.
7985 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
7987 Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
7989 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
7991 (umulsidi3,umulsi3_highpart): Ditto.
7992 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
7994 Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
7996 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
7997 (alpha_handle_trap_shadows): ... a new function. Handle the entire
7998 function in one go. Emit RTL for trapb, instead of printf directly.
7999 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
8000 (trap_pending): Kill global variable.
8001 (output_epilog): Don't call final_prescan_insn.
8002 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
8003 * alpha.h (FINAL_PRESCAN_INSN): Remove.
8004 (MACHINE_DEPENENT_REORG): Define.
8005 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
8008 Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
8010 Tune Haifa scheduler for Alpha:
8011 * alpha.h (ISSUE_RATE): Define.
8012 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
8013 EV4 adjustments to EV5.
8014 * alpha.md: Remove all scaling from function unit delays. Rework
8015 EV5 function units to match the CPU.
8016 (umuldi3_highpart): EV5 added the IMULH insn class.
8018 Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
8020 * pa.c (following_call): Fail if the CALL_INSN is an indirect
8023 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
8025 * cplus-dem.c (demangle_signature): Don't look for return types on
8026 constructors. Handle member template constructors.
8028 Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
8030 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
8031 * tree.h: Declare them.
8033 Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
8035 * configure.in: Handle --with-newlib.
8036 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
8038 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
8040 Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
8042 * config/ptx4.h: Fix typo.
8044 Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
8046 * version.c: Bump for snapshot.
8048 Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
8050 * aclocal.m4: Substitute INSTALL.
8051 * configure: Re-built.
8053 Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
8055 * integrate.c (save_for_inline_copying): Avoid undefined pointer
8057 (expand_inline_function): Likewise.
8059 * dwarf2out.c (output_call_frame_info): Reinstate last change
8060 using flag_debug_asm check instead of flag_verbose_asm.
8062 Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
8064 * dwarf2out.c (output_call_frame_info): Remove last change.
8066 1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8068 * frame.c (__frame_state_for): Execute the FDE insns until the
8069 current pc value is strictly bigger than the target pc value.
8071 Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
8073 * regclass.c (init_reg_modes): If we can't find a mode for the
8074 register, use the previous one.
8076 Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
8078 * haifa-sched.c (print_block_visualization): Call fprintf directly,
8079 don't sprintf through an alloca'ed buffer.
8081 Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
8083 * reload.c (decompose): Always initialize val.base.
8085 Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
8087 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
8088 instead of aborting.
8089 * dwarf2out.c (output_call_frame_info): Call app_enable and
8090 app_disable to let GNU as accept the generated comments.
8092 Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
8094 * tree.h (get_file_function_name): Add declaration.
8095 * dwarf2out.c (output_call_frame_info): No need to cast
8096 get_file_function_name call anymore.
8097 * profile.c (toplevel): Remove get_file_function_name
8099 * c-lang.c (finish_file): Ditto.
8101 Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
8103 * Makefile.in (program_transform_name): Let autoconf substitute
8106 Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
8108 * haifa-sched.c (schedule_block): If the first real insn in a
8109 block has any special notes attached to it, remove them.
8111 Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
8113 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
8115 Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
8117 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
8119 Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
8121 * Makefile.in (check-g77): New test target.
8122 (CHECK-TARGETS): Add check-g77.
8124 Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
8126 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
8128 Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
8130 * flow.c (print_rtl_with_bb): Cast alloca return value for
8133 Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
8135 * i386.h (RETURN_ADDR_RTX): New definition that works for
8136 __builtin_return_address(0) and -fomit-frame-pointer.
8138 Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
8140 Bring over from FSF.
8141 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
8143 * mips.c (function_arg): Handle passing a struct
8144 containing a double in a DFmode register without the PARALLEL.
8146 Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
8148 * pexecute.c: Use spawn if __CYGWIN32__.
8150 * pexecute.c: Include "config.h" first, as per autoconf manual
8151 (from Paul Eggert <eggert@twinsun.com>).
8153 Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8155 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
8156 optimisation for f/expr.o and f/stb.o.
8158 Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
8160 * cse.c (this_insn_cc0_mode): Initialize.
8162 Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
8164 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
8166 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
8168 Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
8170 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
8171 that pair will dual-issue on the 21164 and plus+beq won't.
8172 (bne): Likewise for cmpeq+beq.
8174 Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
8176 * except.c (find_exception_handler_labels): Correct argument to free.
8178 Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
8180 * except.c (find_exception_handler_labels): Free LABELS when we're
8183 Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
8185 * version.c: Bump for snapshot.
8187 Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
8189 * flow.c (find_basic_blocks): Mark calls as potentially jumping
8192 Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
8194 * configure.in: Substitute for "install" too.
8195 * configure: Rebuilt.
8197 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
8199 * Makefile.in (bootstrap-lean, compare-lean): New targets.
8201 Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
8203 * alias.c (base_alias_check): Two symbols can conflict if they
8204 are accessed via AND.
8205 (memrefs_conflict_p): Likewise.
8207 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
8208 after flushing argument registers to the stack.
8210 * Makefile.in (mostlyclean): Remove .regmove files.
8212 Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8214 * libgcc2.c (__throw): Fix thinko.
8216 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
8218 * cplus-dem.c (demangle_template): Add new parameter. Handle new
8219 template-function mangling.
8220 (consume_count_with_underscores): New function.
8221 (demangle_signature): Handle new name-mangling scheme.
8223 Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8225 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
8228 Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
8230 * frame.c: Remove last change.
8231 * dwarf2.h: Remove last change.
8232 * tree.h: Add declarations of DWARF2 unwind info support
8235 Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8237 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
8238 * tree.h (built_in_function): Likewise.
8239 * expr.c (expand_builtin): Likewise.
8240 * except.h: Likewise.
8241 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
8242 * libgcc2.c (copy_reg): New fn.
8245 Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
8247 * c-typeck.c (build_binary_op): Warn about comparing signed vs
8248 unsigned if -W is specified and -Wno-sign-compare is not.
8249 * c-decl.c (warn_sign_compare): Initialize to -1.
8250 (c_decode_option): -Wall no longer implies -Wsign-compare.
8252 Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8254 * frame.c: Include gansidecl.h for PROTO.
8255 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
8256 defined. Don't declare dwarf2out_cfi_label here.
8257 * dwarf2.h: Add declarations of DWARF2 unwind info support
8259 * m68k.c: Include dwarf2.h.
8260 (output_function_prologue): Add dwarf2 support.
8261 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
8262 (INCOMING_FRAME_SP_OFFSET): Likewise.
8264 * integrate.c (expand_inline_function): Make sure there is at
8265 least one insn that can be used as an insertion point.
8267 Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
8269 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
8271 Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
8273 * version.c: Bump for snapshot.
8275 Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
8277 Bring over from FSF.
8279 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
8281 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
8282 (get_pc_via_rdpc): Renamed from get_pc_sp64.
8283 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
8285 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
8287 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
8288 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
8290 (sparc_align_{loops,jumps,funcs}_string): Declare.
8291 (sparc_align_{loops,jumps,funcs}): Declare.
8292 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
8293 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
8294 (STACK_BIAS): Define.
8295 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
8297 (SPARC_SETHI_P): New macro.
8298 (CONST_OK_FOR_LETTER_P): Use it.
8299 (ASM_OUTPUT_ALIGN_CODE): Define.
8300 (ASM_OUTPUT_LOOP_ALIGN): Define.
8301 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
8302 (sparc_align_{loops,jumps,funcs}): New globals.
8303 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
8305 (move_operand): Use SPARC_SETHI_P.
8306 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
8308 (arith11_double_operand): Likewise.
8309 (arith10_double_operand): Likewise.
8310 (finalize_pic): Finish sparc64 support.
8311 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
8312 64 bit constants if able.
8313 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
8314 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
8316 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
8317 (get_pc_sp32): Use for sparc64 as well.
8318 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
8319 (sethi_di_sp64_const): Likewise.
8320 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
8321 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
8322 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
8324 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
8326 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
8327 * sparc/linux.h (COMMENT_BEGIN): Likewise.
8328 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
8330 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
8332 Add sparc64 linux support.
8333 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
8334 to xm_file list on 32-bit sparc-linux.
8335 * sparc/xm-sp64.h: New file.
8336 * sparc/linux64.h: New file.
8337 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
8338 Don't include xm-sparc.h.
8339 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
8340 * glimits.h (LONG_MAX): Handle sparc64.
8342 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
8344 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
8345 * sparc.h (ASM_COMMENT_START): Define.
8346 * sparc.c (output_function_prologue): Use it.
8347 (sparc_flat_output_function_{epi,pro}logue): Likewise.
8349 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
8351 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
8352 use sparc.h's copies.
8353 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
8356 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8358 * sparc.c (dwarf2out_cfi_label): Add declaration.
8359 (save_regs, output_function_prologue): Remove cast for it.
8360 (sparc_flat_{save_restore,output_function_prologue): Likewise.
8361 ({save,restore}_regs): No longer inline.
8363 Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8365 * fold-const.c (make_range): Correctly handle cases of converting
8366 from unsigned to signed type.
8368 Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8370 * fold-const.c (merge_ranges): Make sure that if one range is subset
8371 of another, it will always be the second range. Correct (+,-) case to
8374 Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
8376 * final.c (final_end_function): Also do dwarf2 thing if
8377 DWARF2_DEBUGGING_INFO.
8378 (final_start_function): Likewise.
8380 Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
8382 * expmed.c (expand_divmod): If compute_mode is not the same as
8383 mode, handle the case where convert_modes() causes op1 to no
8384 longer be a CONST_INT.
8386 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
8387 note holding get_jump_flags() calculation to all JUMP_INSNs.
8388 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
8389 * rtl.c (reg_note_name): Add new note types.
8391 Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
8393 * rtlanal.c (computed_jump_p): Fix typo in last change.
8395 Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8397 * loop.c (indirect_jump_in_function_p): Return 0
8400 Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
8402 * rs6000/xm-rs6000.h: Fix thinko in last change.
8403 * rs6000/xm-sysv4.h: Likewise.
8405 Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
8407 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
8409 Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
8411 * reg-stack.c (find_blocks): Fix thinko in last change.
8413 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8415 * m68k.c (output_function_prologue): Add dwarf2 support.
8417 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
8418 INCOMING_FRAME_SP_OFFSET): New definitions.
8420 Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
8422 * combine.c (try_combine): Use NULL_RTX instead of '0' where
8423 appropriate in calls to gen_rtx().
8424 * cse.c (cse_main): Likewise.
8425 * emit-rtl.c (gen_label_rtx): Likewise.
8426 * expr.c (init_expr_once): Likewise.
8427 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
8428 sched_analyze, init_rgn_data_dependences,
8429 compute_block_backward_dependences): Likewise.
8430 * sched.c (schedule_insns): Likewise.
8431 * varasm.c (immed_double_const): Likewise.
8433 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
8434 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
8436 Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
8438 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
8439 (MULTILIB_DEFAULTS): Define.
8440 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
8441 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
8442 (LIBGCC_SPEC): Likewise.
8443 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
8444 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
8445 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
8446 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
8447 (EXTRA_PARTS, TAROUTOPTS): Delete.
8448 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
8449 (MULTILIB_OPTIONS): Define.
8450 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
8451 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
8453 Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
8455 * version.c: Bump for snapshot.
8457 Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
8459 * loop.c (loop_number): Delete function. Change all references
8460 to use uid_loop_num array.
8461 * loop.h (loop_number): Delete declaration.
8462 * unroll.c (unroll_loop): Change "loop_number" references to
8463 use uid_loop_num instead.
8465 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
8467 (loop_unroll_iter): Remove unused variable and all references.
8468 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
8469 (insert_bct): Fix minor formatting problems.
8470 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
8471 (loop_unroll_iter): Removed unused decl.
8472 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
8473 Always record the unrolling factor.
8475 * cse.c (simplify_relational_operation): Set h0u just like h0s.
8476 Similarly for h1u and h1s.
8478 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
8479 (find_basic_blocks): Use computed_jump_p to determine if a
8480 particular JUMP_INSN is a computed jump.
8481 * reg-stack.c (find_blocks): Use computed_jump_p to determine
8482 if a particular JUMP_INSN is a computed jump.
8483 * rtlanal.c (jmp_uses_reg_or_mem): New function.
8484 (computed_jump_p): Likewise.
8485 * rtl.h (computed_jump_p): Declare.
8486 * genattrtab.c (pc_rtx): Define and initialize.
8487 * loop.c (loop_optimize): Always determine if the current
8488 function has a computed jump.
8489 (indirect_jump_in_function_p): Use computed_jump_p to determine
8490 if a particular JUMP_INSN is a computed jump.
8492 * loop.c (fix_bct_param): Delete unused function.
8493 (check_bct_param): Likewise.
8495 Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
8497 * frame.c (__deregister_frame): Check properly for initialized object.
8499 Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8501 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
8503 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8505 * jump.c (thread_jumps): check can_reverse_comparison_p before
8506 threading a reversed-condition jump.
8508 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
8509 * haifa-sched.c (update_flow_info): Likewise.
8511 Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
8513 * Makefile.in (BOOT_CFLAGS): Use -O2.
8515 * configure.in (strtoul, bsearch): Have autoconf check for these
8517 * configure, config.in: Rebuilt.
8519 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
8520 * mips/mips.h (alloca): Likewise.
8521 * rs6000/xm-rs6000.h (alloca): Likewise.
8522 * rs6000/xm-sysv4.h: Likewise.
8524 Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
8526 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
8527 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
8528 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
8530 * except.c (end_eh_unwinder): Subtract 1 from return address.
8531 * libgcc2.c (__throw): Likewise.
8532 (find_exception_handler): Don't change PC here. Compare end with >.
8534 Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
8536 * v850.c (compute_register_save_size): Correct register
8538 * v850.md (save_interrupt, return_interrupt): Correct
8540 * v850/lib1funcs.asm (save_interrupt): Correct register number.
8541 (return_interrupt): Use stack pointer, not element pointer.
8543 1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
8545 * configure.in, configure: Make sure to create the stage* and include
8546 symbolic links in each subdirectory.
8548 Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
8550 * pa.md (reload_peepholes): Don't allow addresses with side
8551 effects for the memory operand.
8553 Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
8555 * libgcc2.c (find_exception_handler): Subtract one from our PC when
8556 looking for a handler, to avoid hitting the beginning of the next
8559 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
8561 Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
8563 * mips/abi64.h (LONG_MAX_SPEC): Define.
8564 * mips.h (LONG_MAX_SPEC): Define.
8565 (CPP_SPEC): Include long_max_spec.
8566 (EXTRA_SPECS): Include long_max_spec.
8568 Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
8570 * v850.c (construct_save_jarl): Fix thinko in last change.
8572 Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
8574 * version.c: Bump for snapshot.
8576 Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
8578 * libgcc2.c (find_exception_handler): Not found is -1.
8580 * integrate.c (expand_inline_function): Move expand_start_bindings
8581 after expanding the arguments.
8583 Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
8585 * expr.c (expand_expr): Remove previous incorrect change.
8586 If target and slot has no DECL_RTL, then call mark_addressable
8587 again for the slot after we give it RTL.
8589 Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
8591 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
8592 again for the slot after we give it RTL.
8594 Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
8596 * v850.c (register_is_ok_for_epilogue,
8597 pattern_is_ok_for_epilogue, construct_restore_jr,
8598 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
8600 * v850.h (pattern_is_ok_for_prologue,
8601 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
8604 * v850.md: Replace prologue and epilogue patterns with a
8605 match_parallel pattern.
8607 Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
8609 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
8610 * configure.in: Use EGCS_PROG_INSTALL.
8612 Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
8614 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
8615 extern inline function.
8617 Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
8619 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
8620 (concat_loc_descriptor): New function.
8621 (loc_descriptor): Call it.
8622 (add_AT_location_description): Also elide the descriptor if both
8623 halves of a CONCAT are pseudos.
8624 (add_location_or_const_value_attribute): Recognize CONCAT too.
8626 Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
8628 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
8630 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
8631 out-or-range reg_offset.
8632 (output_epilog): Likewise.
8634 Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
8636 * cse.c (simplify_relational_operation): If MODE specifies a
8637 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
8638 is derived from the sign bit of the low word.
8640 Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8642 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
8644 * dwarf2.h: Add DW_CFA_GNU_args_size.
8645 * frame.c (execute_cfa_insn): Likewise.
8646 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
8647 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
8648 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
8649 insn, hand it off to dwarf2out_stack_adjust.
8650 (dwarf2out_begin_prologue): Initialize args_size.
8651 * frame.h (struct frame_state): Add args_size.
8652 * libgcc2.c (__throw): Use args_size.
8653 * final.c (final_scan_insn): If we push args, hand off all insns
8654 to dwarf2out_frame_debug.
8655 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
8657 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
8658 Handle epilogue restore of SP from FP.
8659 * emit-rtl.c (gen_sequence): Still generate a sequence if the
8660 lone insn has RTX_FRAME_RELATED_P set.
8662 * frame.c (extract_cie_info): Handle "e" augmentation.
8663 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
8664 absence of UNALIGNED_*_ASM_OP.
8665 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
8666 (output_call_frame_info): Use "e" instead of "z" for augmentation.
8667 Don't emit augmentation fields length.
8668 (dwarf2out_do_frame): Move outside of #ifdefs.
8669 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
8672 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
8673 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
8674 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
8675 * sparc/sun4gas.h: New file.
8676 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
8678 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
8679 __register_frame_table and __deregister_frame.
8681 1997-09-15 Brendan Kehoe <brendan@cygnus.com>
8683 * except.c (find_exception_handler_labels): Use xmalloc instead of
8684 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
8687 Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
8689 * Makefile.in: Various changes to build info files
8690 in the object tree rather than the source tree.
8692 Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
8694 * fixinc.math: New file to fix math.h on some systems.
8695 * configure.in (freebsd, netbsd): Use fixinc.math on these
8697 * configure: Rebuilt.
8699 Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
8701 * regmove.c (regmove_optimize): If we end up moving the
8702 original insn due to lifetime overlaps, make sure to move
8705 Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
8707 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
8709 Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
8711 * haifa-sched.c (add_branch_dependences): Make each insn in
8712 a SCHED_GROUP_P block explicitly depend on the previous insn.
8714 Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8716 * except.h: Prototype dwarf2 hooks.
8719 Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
8721 * configure.in (native_prefix): Delete.
8722 (mips-dec-netbsd): Don't set prefix.
8723 (*linux*): Don't set prefix.
8725 Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
8727 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
8728 defined. If not defined, include <sys/varargs.h> if
8729 HAVE_SYS_VARARGS_H is defined.
8730 * configure.in: Test for varargs.h and sys/varargs.h.
8731 * configure: Regenerate with autoconf.
8732 * config.in: Regenerate with autoheader.
8734 * cpplib.c (quote_string): Cast first arg of sprintf call
8735 from "unsigned char *" to "char *".
8736 (output_line_command): Ditto.
8737 (macroexpand): Ditto.
8738 (do_line): Cast atoi arg from "unsigned char *" to "char *".
8740 Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
8742 * version.c: Bump for snapshot.
8744 * Makefile.in (compare): Exit with nonzero status if there
8745 are comparison failures. Note which files failed the
8746 comparison test in .bad_compare.
8748 Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8750 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
8752 Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
8754 * Makefile.in (LN, LN_S): New macros, use where appropriate.
8755 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
8756 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
8757 * configure: Regenerated.
8759 Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
8761 * loop.c (strength_reduce): Fix typo.
8763 Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
8765 * m88k/m88k.c (struct option): Rename to struct options.
8766 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
8767 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
8768 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
8769 __DOLPHIN__ or sysV88.
8771 Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
8773 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
8776 Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
8778 * config.sub: Accept 'amigados' for backward compatability.
8780 Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8782 * Makefile.in (testsuite/site.exp): New target.
8783 (check-gcc, check-g++): Depend on testsuite/site.exp.
8784 Don't stop for failure.
8786 Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
8788 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
8789 if DWARF2_UNWIND_INFO.
8791 Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
8793 Add support for exception handling using DWARF 2 frame unwind info.
8794 Currently works on SPARC and MIPS, and almost on x86.
8796 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
8797 next_stack_level, in_reg_window): Helper fns.
8798 (__throw): Implement for DWARF2_UNWIND_INFO.
8800 * expr.c (expand_builtin): Handle builtins used by __throw.
8801 * tree.h (enum built_in_function): Add builtins used by __throw.
8802 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
8803 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
8804 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
8805 (expand_builtin_extract_return_addr): Likewise.
8806 (expand_builtin_frob_return_addr): Likewise.
8807 (expand_builtin_set_return_addr_reg): Likewise.
8808 (expand_builtin_eh_stub): Likewise.
8809 (expand_builtin_set_eh_regs): Likewise.
8810 (eh_regs): Choose two call-clobbered registers for passing back values.
8812 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
8813 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
8814 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
8815 (stmp-multilib): Likewise.
8816 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
8818 * except.c: #include "defaults.h".
8819 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
8820 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
8821 (register_exception_table_p): New fn.
8822 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
8823 (end_eh_unwinder): Likewise.
8825 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
8826 call __register_frame and __deregister_frame as needed.
8827 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
8828 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
8829 EH_FRAME_SECTION_ASM_OP.
8830 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
8831 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
8832 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
8834 * dwarf2out.c (output_call_frame_info): If no support for
8835 EXCEPTION_SECTION, mark the start of the frame info with a
8837 * collect2.c (frame_tables): New list.
8838 (is_ctor_dtor): Recognise frame entries.
8839 (scan_prog_file): Likewise.
8840 (main): Pass -fno-exceptions to sub-compile. Also do collection
8841 if there are any frame entries.
8842 (write_c_file_stat): Call __register_frame_table and
8843 __deregister_frame as needed.
8844 (write_c_file_glob): Likewise.
8846 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
8847 Also require unaligned reloc support.
8848 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8849 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
8850 * sparc/sysv4.h: Not here.
8852 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
8853 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
8854 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
8856 * libgcc2.c (L_eh): Reorganize, moving code shared by different
8857 EH implementations to the top.
8858 (find_exception_handler): Split out. Start from 0. Compare against
8860 (__find_first_exception_table_match): Use it.
8861 * except.c (output_exception_table): Don't do anything if there's
8862 no table. Don't output a first entry of zeroes.
8863 (eh_outer_context): Adjust properly.
8864 (add_eh_table_entry): Use xrealloc.
8865 * toplev.c (compile_file): Just call output_exception_table.
8867 Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
8869 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
8871 Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
8873 * except.c (eh_outer_context): Do masking using expand_and.
8875 Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
8877 Add port done awhile ago for the ARC cpu.
8878 * arc/arc.h: New file.
8879 * arc/arc.c: New file.
8880 * arc/arc.md: New file.
8881 * arc/initfini.c: New file.
8882 * arc/lib1funcs.asm: New file.
8883 * arc/t-arc: New file.
8884 * arc/xm-arc.h: New file.
8885 * ginclude/va-arc.h: New file.
8886 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
8887 * ginclude/varargs.h: Likewise.
8888 * Makefile.in (USER_H): Add va-arc.h.
8889 * configure.in (arc-*-elf*): Recognize.
8890 * longlong.h: Add ARC support.
8892 Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
8894 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
8895 when clearing non-BLKmode data.
8897 Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
8899 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
8900 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
8902 * xm-m88k.h (USG): Only define if it hasn't already been defined.
8904 * Makefile.in (risky-stage1): Delete gratutious whitespace.
8906 * Makefile.in (clean): Delete libgcc1-test.
8908 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
8910 Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
8912 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
8915 Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8917 * dwarf2out.c (output_call_frame_info): Call named_section.
8919 Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
8921 * haifa-sched.c (print_value): Fix last change.
8923 Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
8925 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
8928 Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
8930 * mips.c (function_prologue): Set up the CFA when ABI_32.
8932 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
8933 for dwarf2 unwind info.
8934 (output_function_prologue, sparc_flat_output_function_prologue): Same.
8936 * final.c (final_end_function): Check dwarf2out_do_frame instead
8937 of DWARF2_DEBUG for dwarf2 unwind info.
8938 (final_scan_insn): Likewise.
8939 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
8942 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
8945 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
8947 Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
8949 * v850.h (ASM_SPEC): Pass on target processor.
8950 (CPP_PREDEFINES): Only define if not already specified.
8951 (TARGET_VERSION): Only define if not already specified.
8952 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
8954 (EXTRA_SWITCHES): Extra entries in the switches array.
8955 (TARGET_DEFAULT): Set default target processor.
8957 Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
8959 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
8960 cases, add %# and %/, and add : to make them into extended asms.
8962 Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
8964 * alias.c (init_alias_analysis): Clean up incompatible pointer
8965 type warning in bzero.
8966 * regmove.c (regmove_optimize): Ditto.
8967 * haifa-sched.c (find_rgns): Ditto.
8969 * haifa-sched.c (print_value): Clean up ptr->int cast
8972 Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
8974 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
8975 * install.texi (Configurations): Ditto.
8976 * config.sub: Ditto.
8978 Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
8980 * Makefile.in (sdbout.o): Depend on insn-config.h.
8982 Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
8984 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
8985 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
8987 Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
8989 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
8990 prologue insn, only the first elt is significant.
8991 (output_call_frame_info): For exception handling, always use 4-byte
8992 fields as specified by the dwarf2 spec.
8993 Don't skip trivial FDEs.
8995 Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
8997 * version.c: Bump for snapshot.
8999 Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
9001 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
9002 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
9005 Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
9007 * final.c (shorten_branches): During first pass, assume worst
9008 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
9010 * Makefile.in (distclean): Remove various things left around
9011 by running the testsuite.
9013 Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
9015 * configure.in (out_file): Emit definition to config.status in order
9016 to have a defined value for configure.lang.
9017 * configure: Re-built.
9019 Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
9021 * configure.in: Make symlink to as-new rather than as.new. Similarly
9023 * configure: Rebuilt.
9025 Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
9027 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
9029 Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
9031 * sparc/sparc.md: Add ultrasparc scheduling support.
9032 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
9034 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
9036 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
9037 as initial value for real_label_map.
9038 (copy_for_inline): Likewise.
9040 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9042 * sched.c (update_flow_info) When looking if to set found_split_dest
9043 or found_orig_dest, look at all parts of a PARALLEL.
9044 * haifa-sched.c (update_flow_info): Likewise.
9046 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
9048 * v850: New directory for v850 port.
9049 * v850/lib1funcs.asm: New file.
9050 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
9051 * ginclude/va-v850.h: New file.
9052 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
9053 * configure.in (mn10200-*-*): New target.
9054 * configure: Rebuilt.
9055 * config.sub: Handle v850-elf.
9056 * Makefile.in (USER_H): Add va-mn10200.h.
9057 * invoke.texi: Document v850 stuff.
9059 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
9061 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
9062 has integer TYPE_{MAX,MIN}_VALUE before using them.
9064 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
9065 __HPUX_ASM__ versions.
9067 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
9069 * install.sh: Delete duplicate install script.
9071 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
9073 * reg-stack.c (subst_stack_regs): Pop the stack register for a
9074 computed goto which sets the same stack register.
9076 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
9077 destination are both on the regstack.
9078 (subst_stack_regs_pat): Put the destination at the top of the regstack.
9080 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
9082 * mips.md (nonlocal_goto_receiver): Define.
9084 * profile.c (output_arc_profiler): Check next_insert_after for non
9085 NULL before deferencing it.
9087 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
9089 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
9091 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
9093 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
9095 * toplev.c (rest_of_compilation): For passes starting with
9096 flow_analysis, use print_rtl_with_bb instead of print_rtl.
9098 * print-rtl.c (print_rtl_single): Print a single rtl value to a
9101 * flow.c (print_rtl_with_bb): Print which insns start and end
9102 basic blocks. For the start of a basic block, also print the live
9105 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
9107 * toplev.c (main): Change #elif to #else/#ifdef
9109 * tlink.c: Include ctype.h.
9110 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
9112 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
9114 * bitmap.c: Conditionally include stdlib.h.
9115 (free): Provide a declaration if NEED_DECLARATION_FREE.
9117 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
9119 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
9121 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
9123 * profile.c (output_arc_profiler): Verify next_insert_after is an
9124 INSN before and after skipping a stack pop.
9126 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9128 * final.c (shorten_branches): Don't count the lengths of deleted
9131 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
9133 * version.c: Bump for snapshot.
9135 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
9137 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
9138 two bitmaps ANDed together.
9139 (bitmap_print): Declare.
9141 * bitmap.c (function_obstack): Don't declare any more.
9142 (bitmap_obstack): Obstack for allocating links from.
9143 (bitmap_obstack_init): New static to say whether to initialize
9145 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
9146 (bitmap_release_memory): Free all memory allocated from
9149 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
9150 EXECUTE_IF_AND_IN_BITMAP.
9152 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
9154 * alias.c (true_dependence): Address with AND can alias scalars.
9155 (anti_dependence, output_dependence): Likewise.
9157 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
9159 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
9161 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
9162 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
9163 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
9164 definitions. Use -qrtems instead of -mrtems.
9166 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
9168 * xm-sco5.h (sys_siglist): Define.
9169 (SYS_SIGLIST_DECLARED): Likewise.
9171 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
9173 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
9175 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
9177 * except.c (eh_outer_context): Expand masking operation using
9180 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
9182 * alpha.md (floatdisf2-1): New pattern.
9184 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
9186 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
9187 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
9188 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
9189 * gcc.texi: Note that if you define sys_siglist that you should
9190 also define SYS_SIGLIST_DECLARED.
9192 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
9193 are relative to the next instruction, not the current instruction.
9195 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
9197 * local-alloc.c (contains_replace_regs): New function.
9198 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
9199 verify that there is no existing REG_EQUIV note, and add a call to
9200 contains_place_regs.
9202 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9204 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
9205 (STARTFILE_SPEC): Always use crtbegin.o%s
9206 (ENDFILE_SPEC): Always use crtend.o%s.
9208 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
9210 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
9212 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
9213 SFmode for 64 bit hosts.
9215 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
9217 * fixincludes: Permits spaces between # and define. Discard C++
9218 comments in sys/pci.h on HP/UX 10.20.
9220 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
9222 * version.c: Bump for snapshot.
9224 * pa.c (restore_unscaled_index_insn_codes): New function.
9225 (record_unscaled_index_insn_codes): Likewise.
9226 (output_function_prologue): Call restore_unscaled_index_insn_codes.
9227 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
9228 (pa_reorg): Call record_unscaled_index_insn_codes.
9230 * haifa-sched.c (move_insn): Handle notes correctly for insns
9231 with SCHED_GROUP_P set.
9233 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9235 * alpha/xm-linux.h (USE_BFD): Undef before define.
9237 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
9239 * cse.c (cse_insn): Don't record BLKmode values.
9241 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
9243 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
9245 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
9247 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
9248 * collect2.c (sys_errlist): Likewise.
9249 * cpplib.c (sys_errlist): Likewise.
9250 * gcc.c (sys_errlist): Likewise.
9251 * protoize (sys_errlist): Likewise.
9252 * configure.in: Check for strerror.
9253 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
9254 * xm-gnu.h (HAVE_STRERROR): Likewise.
9255 * xm-linux.h (HAVE_STRERROR): Likewise.
9256 * xm-netbsd.h (HAVE_STRERROR): Likewise.
9257 * xm-bsd386.h (HAVE_STRERROR): Likewise.
9258 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
9259 * xm-dos.h (HAVE_STRERROR): Likewise.
9260 * xm-mingw32.h (HAVE_STRERROR): Likewise.
9261 * xm-pa.h (HAVE_STRERROR): Likewise.
9262 * xm-papro.h (HAVE_STRERROR): Likewise.
9263 * xm-sysv4.h (HAVE_STRERROR): Likewise.
9264 * configure, config.in: Rebuilt.
9266 * Makefile.in: Add several missing "else true" clauses.
9268 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
9269 * mips-tfile.c: Likewise.
9270 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
9271 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
9272 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
9273 * configure.in: Check for sys_siglist declaration.
9274 * configure, config.in: Rebuilt.
9276 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
9278 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
9279 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
9280 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
9281 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
9282 * rs6000/sysv4.h (extra_subtarget_switches): Added new
9283 macro EXTRA_SUBTARGET_SWITCHES.
9284 * configure.in (sh*-*-rtems*): New target.
9285 * sh/rtems.h: New file.
9286 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
9287 * configure: Rebuilt.
9289 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
9291 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
9293 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
9295 * rs6000.md: Make DF fused-add operations pay attention to
9298 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
9300 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
9302 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
9304 * pa.md (reload_peepholes): Make sure operand is a REG before
9305 examining REGNO. Allow general registers too.
9307 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
9309 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
9311 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
9313 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
9314 to reallocate abbrev_die_table.
9316 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
9318 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
9320 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9322 * Makefile.in (config.status): Depend on version.c
9324 * expr.h (insn_gen_function): Reenable prototype.
9326 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
9329 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
9331 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
9333 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
9335 * version.c: Bump for latest snapshot.
9337 * bc-optab.c: Conditionally include stdlib.h.
9338 (free): Provide a declaration if NEED_DECLARATION_FREE.
9339 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
9340 * rtl.h (free): Remove declaration.
9341 * tree.h (free): Remvoe declaration.
9343 * configure: Rebuilt.
9345 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
9347 * flags.h (flag_move_all_movables): Declare.
9348 (flag_reduce_all_givs): Likewise.
9349 * loop.c (move_movables): Handle flag_move_all_movables.
9350 (strength_reduce): Handle flag_reduce_all_givs.
9351 * toplev.c (flag_move_all_movables): Define.
9352 (flag_reduce_all_givs): Likewise.
9353 (f_options): Add -fmove-all-movables and -freduce-all-givs.
9354 * invoke.texi: Document new options, including alias stuff that
9355 wasn't included last time.
9357 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
9359 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
9362 * t-vxworks68: Ditto.
9363 * t-vxworks960: Ditto.
9366 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
9368 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
9369 if not already defined, and USE_C_ALLOCA not defined.
9371 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
9373 * config.guess: Replace with script that uses ../config.guess.
9375 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
9376 if USE_GNULIBC_1 is not defined.
9378 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
9380 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
9381 * config.guess: Recognize alpha-linux-gnulibc1.
9382 * configure.in (alpha-*-linux-gnulibc1): New target.
9383 (alpha-*-linux-gnu*): Don't build crtbegin/end.
9385 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
9387 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
9390 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
9392 * loop.c (combine_movables): Earlier insns don't match later ones.
9394 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9396 * config/linux.h (CC1_SPEC): Define it only if not defined.
9398 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
9401 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
9402 USE_GNULIBC_1 is not defined.
9404 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
9406 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
9407 as 1 if USE_GNULIBC_1 is not defined.
9409 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
9411 * reorg.c (dbr_schedule): Allow current_function_return_rtx
9412 to be something other than a REG.
9413 * function.c (expand_function_end): Fix current_function_return_rtx
9416 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
9417 * x-netbsd: Likewise
9418 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
9419 (INSTALL_HEADERS): Delete.
9420 * x-dguxbcs: Likewise.
9421 * x-hp3bsd44: Likewise
9424 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9426 * i386.md (pop): pop increments the stack pointer.
9427 (prologue_set_stack_ptr): New pattern.
9428 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
9431 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
9433 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
9434 address where an offsettable address is required.
9436 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
9438 * loop.c (check_final_value): Don't miss a biv increment in a
9441 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
9443 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
9444 TYPE_DECL_IS_STUB instead of DECL_NAME.
9446 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9448 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
9450 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
9452 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
9454 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
9456 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
9457 (find_post_sched_live): Likewise.
9459 * haifa-sched.c (schedule_block): Remove old code to get arguments
9460 from hard regs into pseudos early.
9462 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
9464 * version.c: Bump for new snapshot.
9466 * local-alloc.c (update_equiv_regs): All the target to reject
9467 promotion of some REG_EQUAL to REG_EQUIV notes.
9468 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
9470 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
9473 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
9474 store of the argument registers.
9476 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
9478 * fold-const.c (multiple_of_p): New function.
9479 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
9481 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
9483 * expr.h (insn_gen_function): Temporarily remove prototype.
9485 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
9487 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
9488 filenames. Use sed to extract base filename for install.
9490 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
9492 * unroll.c (find_splittable_givs): Only share if two givs have the
9493 same add and multiply values.
9495 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
9497 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
9498 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
9500 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
9502 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
9503 around branch tables.
9504 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
9505 and .end_brtab directives if TARGET_GAS.
9507 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
9509 * alias.c (true_dependence): Pass x_addr not x to varies.
9511 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
9512 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
9513 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
9515 * config.in, configure: Regenerate.
9517 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
9519 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
9521 (record_set): Handle LO_SUM like PLUS.
9522 (init_alias_analysis): When following chains of base addresses,
9523 do not stop on reaching a hard register.
9525 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
9527 * version.c: Bump for new snapshot.
9529 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
9531 * alpha.h (ARCH_ASM_FILE_START): Define.
9532 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
9533 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
9535 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
9537 * Makefile.in (install-common): Put gcov comment at start of line.
9539 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
9541 * alias.c (init_alias_analysis): When simplifying the reg_base_value
9542 array, simplify entries for hard registers too.
9544 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
9546 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
9549 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
9551 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
9552 block_stack before dereferencing it.
9554 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
9556 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
9558 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
9560 * cplus-dem.c: Add 'extern' to prepends_underscore.
9562 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
9564 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
9565 (get_issue_rate): Delete.
9566 * pa.h (ISSUE_RATE): Define.
9568 * configure.in: Turn on haifa by default for the PA.
9569 * configure: Rebuilt.
9570 * pa.c (override_options): Accept -mschedule=7200 option.
9571 (pa_adjust_cost): No longer need to scale costs for newer
9573 * pa.h (enum processor_type): Add PROCESSOR_7200.
9574 * pa.md: Revamp scheduling parameters to work better with
9575 haifa. Add scheduling parameters for the 7200.
9577 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
9579 (schedule_block): When adjusting basic_block_{head,end}, account
9580 for movement of SCHED_GROUP_P insns too.
9582 * haifa-sched.c (debug_dependencies): Fix thinko.
9584 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
9585 (site.exp, check, check-g++, check-gcc): New targets.
9587 * haifa-sched.c: Make lots of variables static.
9589 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9591 * expr.h, real.h: Finish prototyping.
9593 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
9595 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
9596 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
9597 * reload1.c: Undo bugfix from Aug 11.
9599 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
9601 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
9602 quotes around the name.
9603 * configure: Regenerate.
9605 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
9607 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
9609 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
9611 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
9612 to sub-makes to avoid building more passes than the user might have
9613 requested on the command line.
9615 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
9617 * configure.in: Expurgate `broken_install' (install is
9620 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
9623 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
9625 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
9626 functions and declarations.
9627 (analyze_loop_iterations): Use condjump_p.
9628 (insert_bct): Likewise. Use exact_log2.
9630 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
9632 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
9633 (schedule_region): Likewise.
9634 (schedule_insns): Likewise.
9636 * PROJECTS: Update with Haifa stuff.
9638 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
9640 * version.c: Change the version string to look like:
9641 egcs-2.90.00 970814 (gcc2-970802 experimental).
9643 * loop.c (is_conditional_branch): Make definition match declaration.
9645 * gcc.c: Take out experimental snapshot warning message.
9647 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
9649 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
9650 print out the names of the notes. Print out the name of the insn
9651 that is not a note, and not an {,CALL_,JUMP_}INSN.
9653 Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
9655 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
9656 again for the slot after we give it RTL.
9658 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
9660 * configure.in (haifa configury): Fix typo.
9661 * configure: Regenerate.
9663 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
9665 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
9667 * gcc.info*: Rebuilt.
9669 * COPYING.g77, README.g77: New files.
9670 * real.c (ereal_unto_float, ereal_unto_double): New functions.
9671 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
9672 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
9674 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
9676 * Integrate Haifa instruction scheduler.
9677 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
9678 to sched with $(SCHED_CFLAGS.
9679 * configure.in: Handle --enable-haifa.
9680 * configure: Rebuilt.
9681 * flags.h: Add new flags for haifa instruction scheduler.
9682 * genattrtab.c (expand_units): For haifa, don't subtract one
9683 when computing blockage.
9684 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
9685 (flag_schedule_speculative): Ditto.
9686 (flag_schedule_speculative_load): Ditto.
9687 (flag_schedule_speculative_load_dangerous): Ditto.
9688 (flag_schedule_reverse_before_reload): Ditto.
9689 (flag_schedule_reverse_after_reload): Ditto.
9690 (flag_branch_on_count_reg): Ditto.
9691 (f_options): Add Haifa switches.
9692 (main): Turn off some Haifa options if appropriate macro is
9693 defined. Process Haifa switches.
9694 * unroll.c (iteration_info): No longer static, since Haifa
9696 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
9697 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
9698 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
9699 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
9700 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
9701 storage for the Haifa scheduler.
9702 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
9704 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
9705 are defined, call analyze_loop_iterations and insert_bct to use
9707 (record_giv): Refine test for jumps out of loops if HAIFA is
9709 (analyze_loop_iterations): New function to identify if we can use
9711 (insert_bct): Insert countdown loop.
9712 (instrument_loop_bct): Low level code to insert countdown loop.
9713 (loop_number): Calculate UID of loop.
9714 (indirect_jump_in_function_p): Return true if an indirect jump is
9716 (is_power_of_2): Return true if value is a power of 2.
9717 (is_conditional_branch): Return true if insn is a conditional
9719 (fix_bct_param): Process -fbct-{min,max}-N switches.
9720 (check_bct_param): Return true if loop should be instrumented.
9721 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
9722 (loop_optimize): Initialize.
9723 (get_condition_for_loop): Ditto.
9724 * loop.c (strength_reduce): Inside of code that uses #ifdef
9725 HAVE_decrement_and_branch_on_count code, test it to make sure the
9727 (instrument_loop_bct): Ditto.
9728 * haifa-sched.c: New file.
9731 * Integrate regmove pass.
9732 * Makefile.in (OBJS): Add regmove.o
9733 (regmove.o): Add dependencies.
9734 * flow.c (find_use_as_address): No longer static.
9735 * rtl.h (find_use_as_address): Declare.
9736 * toplev.c (regmove_dump, flag_regmove): Define.
9737 (f_options): Add -fregmove.
9738 (regmove_dump_file, regmove_time): Define.
9739 (fatal_insn): Close the regmove dump file.
9740 (compile_file): Initialize regmove_time; open/close the regmove dump
9741 file as needed. Print regmove time as needed.
9742 (rest_of_compilation): Run regmove pass if requested, dump
9743 RTL after regmove if requested.
9744 (main): If -O2 or more, turn on regmove. Handle dump switches.
9745 * regmove.c: New file.
9747 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
9749 * Integrate tlink patch from jason@cygnus.com
9750 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
9751 (process_command): Increment n_switches for them. Don't discard
9752 their args. Validate them.
9753 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
9755 (process_command): Set include_prefixes from COMPILER_PATH.
9756 (main): Set COLLECT_GCC_OPTIONS sooner.
9757 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
9758 * tlink.c, hash.c, hash.h: New files.
9759 * Makefile.in (USE_COLLECT2): Always use collect2.
9760 (collect2): Depend on and link in hash.o and tlink.o.
9761 (tlink.o, hash.o): Add dependencies.
9763 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
9765 * Integrate alias analysis changes from jfc@mit.edu
9766 * Makefile.in (OBJS): Add alias.o
9767 (alias.o): Add dependencies.
9768 * alias.c: New file.
9769 * sched.c: Remove alias analysis code. It lives in alias.c now.
9770 (sched_analyze_2): Add new arguments to true_dependence.
9771 (schedule_insns): Always call init_alias_analysis.
9772 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
9773 mark return value from such functions as a pointer and keep track of
9774 them for alias analysis. If a return value from a function is a
9775 pointer, mark it as such.
9776 * combine.c (distribute_notes): Handle REG_NOALIAS.
9777 * cse.c (struct write_data): Delete. No longer needed.
9778 (invalidate): Don't call set_nonvarying_address_components anymore.
9779 Use true_dependence to decide if an entry should be removed from
9781 (invalidate_memory): Remove WRITES argument, simplify appropriately.
9783 (note_mem_written): Similarly for WRITE_PTR argument.
9784 (invalidate_from_clobbers): Similarly for W argument.
9785 (invalidate_for_call): Remove memory elements from the hash table.
9786 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
9787 (cse_rtx_varies_p): New function. Derived from old
9788 cse_rtx_addr_varies_p.
9789 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
9790 Don't call note_mem_written anymore. Stack pushes invalidate the stack
9791 pointer if PUSH_ROUNDING is defined. No longer need to call
9792 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
9793 (skipped_writes_memory): Remove variable.
9794 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
9795 (invalidate_skipped_block): Simplify for new alias analysis code.
9796 (cse_set_around_loop): Likewise.
9797 (cse_main): Call init_alias_analysis.
9798 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
9799 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
9800 (f_options): Add new alias checking arguments.
9801 (main): Set flag_alias_check when optimizing.
9802 * local_alloc (validate_equiv_mem_from_store): Add new arguments
9804 (memref_referenced_p): Likewise.
9805 * loop.c (NUM_STORES): Increase to 30.
9806 (prescan_loop): Only non-constant calls set unknown_address_altered.
9807 (invariant_p): Add new arguments to true_dependence.
9808 (record_giv): Initialize unrolled and shared fields.
9809 (emit_iv_add_mult): Call record_base_value as needed.
9810 * loop.h (struct induction): Add unrolled and shared fields.
9811 * unroll.c (unroll_loop): Call record_base_value as needed.
9812 (copy_loop_body): Likewise.
9813 (final_biv_value): Likewise.
9814 (final_giv_value): Likewise.
9815 (find_splittable_regs): Likewise. Only create one new pseudo
9816 if we have multiple address GIVs that were combined with the same
9817 dst_reg GIV. Note when a new register is created due to unrolling.
9818 * rtl.c (reg_note_name): Add REG_NOALIAS.
9819 * rtl.h (enum reg_note): Similarly.
9820 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
9821 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
9822 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
9823 (true_dependence, read_dependence, anti_dependence): Likewise.
9824 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
9825 (mark_user_reg, mark_reg_pointer): Likewise.
9828 * Integrate reload bugfix from Wilon which enables the PA port
9830 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
9831 OPERAND_ADDRESS when computing how many registers an insn needs.
9832 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
9834 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
9836 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
9837 in reload_reg_use_in_op_addr do not reach the end.
9838 do not reach the end.
9839 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
9840 RELOAD_FOR_OPERAND_ADDRESS.
9842 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
9844 * egcs project officially starts.
9847 add-log-time-format: current-time-string