]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
[multiple changes]
[gcc.git] / gcc / ChangeLog
1 Thu Jun 25 16:59:18 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
2
3 * except.h (CATCH_ALL_TYPE): Definition moved to eh-common.h.
4 (find_all_handler_type_matches): Add function prototype.
5 * eh-common.h (CATCH_ALL_TYPE): Definition added.
6 * except.c (find_all_handler_type_matches): Add function to find all
7 runtime type info in the exception table.
8 (output_exception_table_entry): Special case for CATCH_ALL_TYPE.
9
10 Thu Jun 25 15:47:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11
12 * Makefile.in (xcoffout.o): Depend on toplev.h, output.h and dbxout.h.
13
14 * config/fp-bit.c (_fpmul_parts): Move variables `x', `ylow',
15 `yhigh' and `bit' into the scope in which they are used.
16 (_fpdiv_parts): Remove unused variables `low', `high', `r0', `r1',
17 `y0', `y1', `q', `remainder', `carry', `d0' and `d1'.
18
19 * rs6000.c: Move include of output.h below tree.h. Include toplev.h.
20 (any_operand): Mark unused parameters `op' and `mode' with
21 ATTRIBUTE_UNUSED.
22 (count_register_operand): Likewise for parameter `mode'.
23 (fpmem_operand): Likewise.
24 (short_cint_operand): Likewise.
25 (u_short_cint_operand): Likewise.
26 (non_short_cint_operand): Likewise.
27 (got_operand): Likewise.
28 (got_no_const_operand): Likewise.
29 (non_add_cint_operand): Likewise.
30 (non_logical_cint_operand): Likewise.
31 (mask_operand): Likewise.
32 (current_file_function_operand): Likewise.
33 (small_data_operand): Likewise for parameters `op' and `mode' but
34 only when !TARGET_ELF.
35 (init_cumulative_args): Mark parameters `libname' with
36 ATTRIBUTE_UNUSED.
37 (function_arg_pass_by_reference): Likewise for parameters `cum',
38 `mode' and `named'.
39 (expand_builtin_saveregs): Likewise for parameter `args'.
40 (load_multiple_operation): Likewise for parameter `mode'.
41 (store_multiple_operation): Likewise.
42 (branch_comparison_operator): Likewise.
43 (secondary_reload_class): Likewise.
44 (print_operand): Add parentheses around & operation.
45 (output_prolog): Mark parameter `size' with ATTRIBUTE_UNUSED.
46 (output_epilog): Likewise. Cast argument to fprintf to int.
47 (rs6000_adjust_cost): Mark parameter `dep_insn' with ATTRIBUTE_UNUSED.
48 (rs6000_valid_decl_attribute_p): Likewise for parameters `decl',
49 `attributes', `identifier' and `args'.
50 (rs6000_valid_type_attribute_p): Likewise for parameter `attributes'.
51 (rs6000_comp_type_attributes): Likewise for parameters `type1' and
52 `type2'.
53 (rs6000_set_default_type_attributes): Likewise for parameter `type'.
54
55 * rs6000.h (RTX_COSTS): Add parentheses around & operation.
56 (toc_section, private_data_section, trap_comparison_operator): Add
57 prototypes.
58
59 * dbxout.h (dbxout_parms, dbxout_reg_parms, dbxout_syms): Add
60 prototypes.
61
62 * xcoffout.c: Include toplev.h, outout.h and dbxout.h.
63
64 * xcoffout.h (stab_to_sclass, xcoffout_begin_function,
65 xcoffout_begin_block, xcoffout_end_epilogue,
66 xcoffout_end_function, xcoffout_end_block,
67 xcoff_output_standard_types, xcoffout_declare_function,
68 xcoffout_source_line): Add prototypes.
69
70 Thu Jun 25 09:54:55 1998 Nick Clifton <nickc@cygnus.com>
71
72 * config/arm/arm.h (REG_ALLOC_ORDER): Add ARG_POINTER_REGNUM,
73 noticed by grahams@rcp.co.uk.
74
75 Thu Jun 25 11:12:29 1998 Dave Brolley <brolley@cygnus.com>
76
77 * gcc.c (default_compilers): Use new | syntax to eliminate
78 string concatenation.
79
80 Thu Jun 25 01:00:48 1998 Richard Henderson <rth@cygnus.com>
81
82 * alpha.c (alpha_function_name): Delete.
83 (alpha_ra_ever_killed): Notice current_function_is_thunk.
84 (alpha_sa_mask, alpha_sa_size, alpha_does_function_need_gp): Likewise.
85 (alpha_start_function): Reorg from output_prologue.
86 (alpha_end_function): Reorg from output_epilogue.
87 * alpha.h (ASM_DECLARE_FUNCTION_NAME): Call alpha_start_function.
88 (ASM_DECLARE_FUNCTION_SIZE): New.
89 (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
90 (PROFILE_BEFORE_PROLOGUE): Set.
91 (ASM_OUTPUT_MI_THUNK): Remove bits now output by start/end_function.
92 * alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): Likewise.
93
94 Thu Jun 25 01:18:47 1998 John Wehle (john@feith.com)
95
96 * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
97
98 1998-06-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
99
100 * expr.c (expand_assignment): Rework address calculation for structure
101 field members to expose more invariant computations to the loop
102 optimizer.
103 (expand_expr): Likewise.
104
105 Wed Jun 24 22:44:22 1998 Jeffrey A Law (law@cygnus.com)
106
107 * local-alloc.c (block_alloc): Do not try to avoid false dependencies
108 when SMALL_REGISTER_CLASSES is nonzero.
109
110 Wed Jun 24 17:55:15 1998 Klaus Kaempf <kkaempf@progis.de>
111
112 * alpha.md (call_vms, call_value_vms): Strip leading * from symbol.
113
114 Wed Jun 24 16:27:23 1998 John Carr <jfc@mit.edu>
115
116 * expr.c (get_memory_rtx): New function.
117 (expand_builtin): Call get_memory_rtx for MEM arguments to builtin
118 string functions.
119
120 * expmed.c (init_expmed): Initialize all elements of *_cost arrays.
121
122 * optabs.c: Use gen_rtx_FOO (...) instead of gen_rtx (FOO, ...).
123 * expr.c: Likewise.
124 * explow.c: Likewise.
125 * combine.c: Likewise.
126 * reload1.c: Likewise.
127 * gcse.c: Likewise.
128
129 Wed Jun 24 15:13:01 1998 Dave Brolley <brolley@cygnus.com>
130
131 * README.gnat: Add patch for new lang_decode_options interface.
132
133 Wed Jun 24 09:14:04 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
134
135 * except.c (start_catch_handler): Do nothing if EH is not on.
136
137 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de>
138
139 * configure.in (gxx_include_dir): Initialize default value depending on
140 new flag --enable-version-specific-runtime-libs; remove superfluous default
141 initialization afterwards.
142 * configure: Regenerate.
143
144 Wed Jun 24 01:32:12 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
145
146 * toplev.c (rest_of_compilation): Revert May 15 change.
147
148 Tue Jun 23 21:27:27 1998 Ken Raeburn <raeburn@cygnus.com>
149
150 * reload.c (find_reloads): Fix check for failure to match any
151 alternative, to account for Mar 26 change in initial "best" cost.
152
153 Tue Jun 23 16:44:21 1998 Dave Brolley <brolley@cygnus.com>
154
155 * cpplib.c (do_line): Typo broke #line directive.
156 (cpp_message_from_errno): New function.
157 (cpp_error_from_errno): Call cpp_message_from_errno.
158 * cpplib.h (cpp_message_from_errno): New function.
159
160 Tue Jun 23 13:38:18 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
161
162 * libgcc2.c (__get_eh_table_version, __get_eh_table_language): New
163 functions to return exception descriptor information.
164 (find_exception_handler): Pass match_info field to runtime matcher,
165 not a descriptor table entry.
166
167 Tue Jun 23 09:30:58 1998 Dave Love <d.love@dl.ac.uk>
168
169 * cpp.texi, gcc.texi: Add @dircategory, @direntry meant to
170 accompany previous Makefile.in (install-info) change.
171
172 Tue Jun 23 10:06:07 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
173
174 * eh-common.h (struct __eh_info): Remove coerced value field.
175 * libgcc2.c (find_exception_handler): Don't set coerced_value field.
176 * except.c (get_dynamic_handler_chain, get_dynamic_cleanup_chain): Use
177 POINTER_SIZE instead of Pmode.
178 (expand_start_all_catch): Call start_catch_handler() if we are not
179 using new style exceptions.
180
181 Tue Jun 23 06:45:00 1998 Catherine Moore <clm@cygnus.com>
182
183 * varasm.c (assemble_variable): Remove reference to warn_bss_align.
184
185 Mon Jun 22 23:57:31 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
186
187 * config/sparc/sparc.md (zero_extendhidi2, extendhisi2,
188 extendqihi2, extendqisi2, extendqidi2, extendhidi2, adddi3,
189 subdi3, negdi2, call, call_value, untyped_return, nonlocal_goto,
190 splits and peepholes): Change remaining generic gen_rtx calls to
191 specific genrtl ones.
192 * config/sparc/sparc.c: Likewise.
193
194 Mon Jun 22 22:21:46 1998 Richard Henderson <rth@cygnus.com>
195
196 * gcc.c (handle_braces): Recognize | between options as an or.
197
198 Mon Jun 22 23:13:47 1998 John Wehle (john@feith.com)
199
200 * i386/freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
201 * i386/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
202
203 * i386.md (exception_receiver): Define.
204
205 Mon Jun 22 12:01:48 1998 Jim Wilson <wilson@cygnus.com>
206
207 * Makefile.in (PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME,
208 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): New variables.
209 (install-common): Use them.
210
211 * gcse.c (add_label_notes): New function.
212 (pre_insert_insn): Call it.
213 * unroll.c (unroll_loop): Look for insns with a REG_LABEL note, and
214 pass the label to set_label_in_map.
215
216 Mon Jun 22 19:01:14 1998 Dave Love <d.love@dl.ac.uk>
217
218 * Makefile.in (install-info): Fix typpo in previous change.
219
220 Mon Jun 22 11:10:00 1998 Catherine Moore <clm@cygnus.com>
221
222 * varasm.c (assemble_variable): Emit alignment warning.
223
224 Mon Jun 22 08:18:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
225
226 * Makefile.in (varasm.o): Depend on sdbout.h.
227 (sdbout.o): Depend on toplev.h.
228
229 * collect2.c (scan_prog_file): Cast fprintf argument to `long' and
230 use %ld specifier.
231
232 * final.c (shorten_branches): Cast first arg of `bzero' to char *.
233
234 * genextract.c (main): When creating insn-extract.c, mark variable
235 `i' with ATTRIBUTE_UNUSED.
236
237 * genpeep.c (main): When creating insn-peep.c, mark variables
238 `insn', `x' and `pat' with ATTRIBUTE_UNUSED.
239
240 * objc/init.c (__objc_tree_print): Wrap function definition in
241 macro `DEBUG'.
242
243 * objc/objc-act.c (encode_array): Cast sprintf argument to `long'
244 and use %ld specifier.
245 (adorn_decl): Likewise, twice.
246
247 * reload1.c (reload_cse_regs): Cast first arg of `bzero' to char *.
248
249 * sdbout.c: Include output.h and toplev.h.
250 (PUT_SDB_INT_VAL): Use HOST_WIDE_INT_PRINT_DEV to print argument
251 `a'. Cast `a' to HOST_WIDE_INT to force it to always be so.
252 (PUT_SDB_SIZE): Likewise.
253
254 * sdbout.h (sdbout_mark_begin_function): Add prototype.
255
256 * stmt.c (check_for_full_enumeration_handling): Cast argument of
257 `warning' to long and use %ld specifier.
258
259 * toplev.c (main): Likewise for `fprintf'.
260
261 * toplev.h (output_file_directive): Add prototype.
262
263 * unroll.c (unroll_loop): Use HOST_WIDE_INT_PRINT_DEC specifier in
264 call to `fprintf'.
265 (precondition_loop_p): Likewise.
266
267 * varasm.c Include sdbout.h.
268 (assemble_static_space): Move sometimes-unused variable `rounded'
269 into the scope in which it is used.
270
271 * mips.c (gpr_mode): Don't say `static' twice.
272
273 * cpplib.c (cpp_handle_option): Don't pass unneeded NULL to cpp_fatal.
274
275 * objc/objc-act.c (init_selector): Hide prototype and definition.
276
277 * optabs.c (gen_cond_trap): Remove unused variable `icode'.
278
279 * regmove.c (copy_src_to_dest): Likewise for `i'.
280
281 * mips-tfile.c (add_local_symbol): Cast width format specifier to int.
282 (add_ext_symbol): Likewise.
283 (add_file): Likewise.
284 (parse_def): Likewise.
285 (write_varray): Use HOST_PTR_PRINTF to print a pointer. Fix
286 remaining format specifiers and arguments.
287 (write_object): Likewise, several times.
288 (read_seek): Likewise.
289 (out_of_bounds): Likewise.
290 (allocate_cluster): Likewise.
291 (xmalloc): Likewise.
292 (xcalloc): Likewise.
293 (xrealloc): Likewise.
294 (xfree): Likewise.
295
296 * mips-tdump.c (print_symbol): Likewise.
297
298 Sun Jun 21 17:05:34 1998 Dave Love <d.love@dl.ac.uk>
299
300 * Makefile.in (install-info): Use install-info program if
301 available, per GNU standard.
302
303 Sun Jun 21 18:56:44 1998 Jeffrey A Law (law@cygnus.com)
304
305 * invoke.texi: Document -mrelax for the mn10300 and mn10200.
306
307 * basic-block.h (init_regset_vector): Delete declaration.
308 * flow.c (init_regset_vector): Make it static and add a prototype.
309
310 * bitmap.h (debug_bitmap): Declare.
311
312 * haifa-sched.c (debug_ready_list): Make static.
313
314 * toplev.h (fancy_abort): Declare.
315
316 Sun Jun 21 18:30:13 1998 H.J. Lu (hjl@gnu.org)
317
318 * basic-block.h (init_regset_vector): New declaration.
319
320 * Makefile.in (sdbout.o): Add insn-codes.h to dependency.
321
322 * global.c: Include machmode.h amd move hard-reg-set.h before
323 rtl.h.
324
325 * haifa-sched.c (insn_issue_delay, birthing_insn_p,
326 adjust_priority, print_insn_chaino): New declaration.
327 (schedule_insns): Remove declaration.
328 (init_target_units, get_visual_tbl_length,
329 init_block_visualization): Add prototype.
330
331 * integrate.c (pushdecl, poplevel): Remove declaration.
332
333 * rtl.h (expand_expr): Remove declaration.
334
335 * loop.c (oballoc): Remove declaration.
336 (replace_call_address): Add prototype.
337
338 Sun Jun 21 01:08:17 PDT 1998 Jeff Law (law@cygnus.com)
339
340 * version.c: Bump for snapshot.
341
342 Sun Jun 21 01:16:38 1998 John Wehle (john@feith.com)
343
344 * i386.c (output_fp_conditional_move): Don't bother handling
345 (cc_prev_status.flags && CC_NO_OVERFLOW) since the INSN patterns
346 prevent this from happening.
347
348 * i386.md (nonlocal_goto_receiver): Delete.
349
350 Sun Jun 21 00:42:20 1998 H.J. Lu (hjl@gnu.org)
351
352 * Makefile.in (crtbeginS.o, crtendS.o): Add -fno-exceptions and
353 -DCRTSTUFFS_O.
354 (INSTALL): cd $(srcdir) before make.
355
356 * flow.c (allocate_for_life_analysis, init_regset_vector):
357 Remove declaration.
358
359 * function.h (get_first_block_beg): New declaration.
360
361 * gbl-ctors.h (__do_global_dtors): Add prototype.
362
363 * gcov-io.h (__fetch_long): New declaration.
364 (__store_long): Likewise.
365 (__read_long): Likewise.
366 (__write_long): Likewise.
367
368 * gcov.c (print_usage): New declaration.
369
370 * Makefile.in (c-iterate.o): Depend on insn-codes.h too.
371
372 Sat Jun 20 00:36:16 1998 Jeffrey A Law (law@cygnus.com)
373
374 * calls.c (expand_call): Initialize "src" and "dest".
375 * stmt.c (expand_return): Likewise.
376 * expmed.c (extract_split_bit_field): Similarly for "result"
377 * gcse.c (compute_hash_table): Mark first arg as unused.
378 * jump.c (jump_optimize): Initialize reversep.
379 * tree.c (make_node): Initialize length.
380
381 * c-common.c (check_format_info): Initialize length_char and
382 fci to keep -Wall quiet.
383
384 * except.c (jumpif_rtx): Put declaration and definition
385 inside a suitable #ifdef.
386 (jumpifnot_rtx): Delete dead function.
387
388 * i386.h (output_int_conditional_move): Declare.
389 (output_fp_conditional_move): Likewise.
390 (ix86_can_use_return_insn_p): Likewise.
391
392 * optabs.c (init_traps): Put prototype inside a suitable #ifdef.
393
394 Sat Jun 20 00:27:40 1998 Graham <grahams@rcp.co.uk>
395
396 * alias.c: Include toplev.h
397 * caller-save.c: Include toplev.h
398 * combine.c: Include toplev.h
399 * flow.c Include toplev.h
400 * global.c: Include toplev.h
401 * jump.c: Include toplev.h
402 * local-alloc.c: Include toplev.h
403 * loop.c: Include toplev.h
404 * regmove.c: Include toplev.h
405 * stupid.c: Include toplev.h
406 * unroll.c: Include toplev.h
407 * Makefile.in: Add toplev.h dependencies.
408
409 Fri Jun 19 22:40:25 1998 Jason Merrill <jason@yorick.cygnus.com>
410
411 * regmove.c (copy_src_to_dest): Add decl for loop_depth.
412
413 * svr4.h (ASM_GENERATE_INTERNAL_LABEL): Cast arg to unsigned.
414 * dwarf2out.c (ASM_OUTPUT_DWARF_DATA1): Likewise.
415 Add parens to various macros.
416
417 Fri Jun 19 23:22:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
418
419 * c-typeck.c (pop_init_level): Warn about implicit zero initialization
420 of struct members.
421
422 Fri Jun 19 23:06:33 1998 Jason Merrill <jason@yorick.cygnus.com>
423
424 * varasm.c (assemble_start_function): Add weak_global_object_name.
425 * tree.c (get_file_function_name): Use it.
426
427 Fri Jun 19 22:55:14 1998 Jeffrey A Law (law@cygnus.com)
428
429 * except.c (jumpif_rtx): Make static and add prototype.
430 (jumpifnot_rtx): Likewise.
431
432 * README.gnat: Add a build patch from Fred Fish.
433
434 * c-lang.c (GNU_xref_begin, GNU_xref_end): Deleted.
435
436 * Makefile.in (c-iterate.o): Depend on expr.h.
437
438 Fri Jun 19 20:38:34 1998 H.J. Lu (hjl@gnu.org)
439
440 * except.h (emit_unwinder, end_eh_unwinder): Removed.
441
442 * dwarfout.c (getpwd): Add prototype.
443 (is_pseudo_reg, type_main_variant, is_tagged_type,
444 is_redundant_typedef): New declaration.
445 (output_decl): Add prototype for FUNC.
446 (type_main_variant): Make it static.
447 (is_tagged_type): Likewise.
448 (is_redundant_typedef): Likewise.
449
450 * expr.c (do_jump_by_parts_greater_rtx): Removed.
451 (truthvalue_conversion): Likewise.
452
453 * c-iterate.c: Include "expr.h".
454 (expand_expr): Use proper values when calling the function.
455
456 * explow.c (emit_stack_save): Add prototype for FCN.
457 (emit_stack_restore): Likewise.
458
459 * dwarf2out.c (getpwd): Add prototype.
460
461 * dwarf2out.h (debug_dwarf, debug_dwarf_die): New declarations.
462
463 * c-typeck.c (c_expand_asm_operands): Use proper values when calling
464 expand_expr.
465
466 * c-lex.c (yyprint): Add prototype.
467 (check_newline, build_objc_string): Remove declaration.
468
469 * c-tree.h (comptypes_record_hook): Removed.
470 (finish_incomplete_decl): New prototype.
471
472 * alias.c (find_base_value): Add prototype.
473 (true_dependence): Add prototype for function argument.
474
475 * c-aux-info.c (xmalloc): Remove declaration.
476
477 Fri Jun 19 20:23:05 1998 Robert Lipe <robertl@dgii.com>
478
479 * i386.c: Include system.h. Remove redundant includes.
480 (optimization_options): Mark param 'size' with ATTRIBUTE_UNUSED.
481 (i386_cc_probably_useless_p): Likewise for 'decl', 'attributes',
482 'identifier', 'args'.
483 (i386_valid_type_attribute_p): Likewise for 'attributes'.
484 (i386_comp_type_attribute_p): Likewise for 'type1', 'type2'.
485 (function_arg_partial_nregs): Likewise for 'cum', 'mode', 'type',
486 and 'named'.
487 (symbolic_operand): Likewise for 'mode'.
488 (call_insn_operand): Likewise.
489 (expander_call_insn_operand): Likewise.
490 (ix86_logical_operator): Likewise.
491 (ix86_binary_operator_ok): Likewise.
492 (emit_pic_move): Likewise.
493 (VOIDmode_compare_op): Likewise.
494 (is_mul): Likewise.
495 (str_immediate_operand): Likewise.
496 (ix86_uary_operator_ok): Likewise for 'code', 'mode', and 'operands'.yy
497 (asm_output_function_prefix): Likewise for 'name'.
498 (function_prologue): Likewise for 'file', and 'size'.
499 (function_epilogue): Likewise.
500
501 1998-06-19 Jim Wilson <wilson@cygnus.com>
502
503 * loop.h (struct induction): Clarify comment for unrolled field.
504 * unroll.c (find_splittable_givs): Move set of unrolled field
505 after address validity check.
506
507 Fri Jun 19 18:38:04 1998 Michael Meissner <meissner@cygnus.com>
508
509 * config/fp-bit.c (INLINE): Only define if not already defined.
510
511 1998-06-19 Manfred Hollstein <manfred@s-direktnet.de>
512
513 * Makefile.in (installdirs): Loop over directories in $(libsubdir)
514 creating probably missing ones, instead of single if statements.
515
516 Fri Jun 19 10:43:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
517
518 * c-common.c (truthvalue_conversion): Protect side effects in the
519 expression when splitting a complex value.
520 * fold-const.c (fold): Likewise.
521
522 Fri Jun 19 02:31:16 1998 Klaus Kaempf (kkaempf@progis.de)
523
524 * cccp.c (hack_vms_include_specification): rewrite to handle
525 '#include <dir/file.h>' correctly.
526
527 Fri Jun 19 02:24:11 1998 H.J. Lu (hjl@gnu.org)
528
529 * config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Defined.
530
531 Fri Jun 19 02:10:10 1998 John Wehle (john@feith.com)
532
533 * i386.c (notice_update_cc): Integer conditional moves don't
534 affect cc0.
535
536 * i386.md (movsfcc, movdfcc, movxfcc): Use emit_store_flag
537 to support LT, LE, GE, and GT signed integer comparisons.
538 (movsfcc+1, movsfcc+2, movdfcc+1, movdfcc+2,
539 movxfcc+1, movxfcc+2): Pattern doesn't match if the comparison
540 is LT, LE, GE, or GT.
541 (movdicc): Remove code resulting from an earlier patch which
542 didn't apply correctly.
543
544 Fri Jun 19 02:00:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
545
546 * reload1.c (reload_cse_regno_equal_p): If -ffloat-store, don't
547 consider a MEM in FP mode as equal.
548
549 Fri Jun 19 01:02:17 1998 Jeffrey A Law (law@cygnus.com)
550
551 * c-decl.c (duplicate_decls): Avoid setting TREE_ASM_WRITTEN for
552 duplicate declarations of a function.
553
554 Fri Jun 19 00:33:33 1998 H.J. Lu (hjl@gnu.org)
555
556 * config/float-i386.h: New.
557
558 * configure.in (i[34567]86-*-linux-*): Set float_format to i386.
559
560 Thu Jun 18 20:11:00 1998 Jim Wilson <wilson@cygnus.com>
561
562 * sched.c (schedule_insns): Use xmalloc not alloca for max_uid
563 indexed arrays. Call free at the end of the function for them.
564 * haifa-sched.c (schedule_insns): Likewise.
565
566 Thu Jun 18 18:16:01 1998 Jim Wilson <wilson@cygnus.com>
567
568 * dwarf2out.c (size_of_string): Do count backslashes.
569
570 Thu Jun 18 11:43:54 1998 Nick Clifton <nickc@cygnus.com>
571
572 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow REG+REG
573 addressing when one register is the frame pointer or stack
574 pointer. Disallow REG+CONST addressing in HI mode.
575
576 Thu Jun 18 17:30:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
577
578 * reload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to
579 RELOAD_FOR_INSN.
580
581 Thu Jun 18 09:36:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
582
583 * Makefile.in (c-lang.o): Depend on output.h.
584
585 * c-lang.c: Include output.h.
586
587 * sparc.c (sparc_builtin_saveregs): Remove unused variable `fntype'.
588
589 * except.c (expand_builtin_eh_stub): Likewise for variable `jump_to'.
590
591 * genrecog.c (write_subroutine): When writing insn-recog.c, mark
592 variables `insn', `pnum_clobbers', `x[0 .. max_depth]' and `tem'
593 with ATTRIBUTE_UNUSED.
594
595 * regmove.c (copy_src_to_dest): Make function static to match its
596 prototype.
597
598 * reload1.c Include hard-reg-set.h before rtl.h to get macro
599 HARD_CONST. Include machmode.h before hard-reg-set.h.
600
601 * rtl.h: Prototype `retry_global_alloc' and wrap with macro
602 HARD_CONST to protect usage of typedef HARD_REG_SET.
603
604 * tree.c: Prototype `_obstack_allocated_p'.
605
606 * varasm.c: Wrap prototype of `asm_output_aligned_bss' in macro
607 BSS_SECTION_ASM_OP.
608
609 Thu Jun 18 09:20:47 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
610
611 * pa.c: Include system.h and toplev.h. Remove redundant code.
612 (call_operand_address): Mark parameter `mode' with ATTRIBUTE_UNUSED.
613 (symbolic_operand): Likewise.
614 (symbolic_memory_operand): Likewise.
615 (pic_label_operand): Likewise.
616 (fp_reg_operand): Likewise.
617 (pre_cint_operand): Likewise.
618 (post_cint_operand): Likewise.
619 (ireg_or_int5_operand): Likewise.
620 (int5_operand): Likewise.
621 (uint5_operand): Likewise.
622 (int11_operand): Likewise.
623 (uint32_operand): Likewise.
624 (ior_operand): Likewise.
625 (lhs_lshift_cint_operand): Likewise.
626 (pc_or_label_operand): Likewise.
627 (legitimize_pic_address): Likewise.
628 (hppa_legitimize_address): Likewise for parameter `old'.
629 (output_block_move): Likewise for parameter `size_is_constant'.
630 (output_function_prologue): Likewise for parameter `size'.
631 (output_function_epilogue): Likewise.
632 (return_addr_rtx): Likewise for parameter `count'.
633 (output_mul_insn): Likewise for parameter `unsignedp'.
634 (hppa_builtin_saveregs): Likewise for parameter `arglist'.
635 (output_bb): Likewise for parameter `operands'.
636 (output_bvb): Likewise.
637 (function_label_operand): Likewise for parameter `mode'.
638 (plus_xor_ior_operator): Likewise.
639 (shadd_operand): Likewise.
640 (non_hard_reg_operand): Likewise.
641 (eq_neq_comparison_operator): Likewise.
642 (movb_comparison_operator): Likewise.
643 (pa_combine_instructions): Likewise for parameter `insns'.
644
645 * pa.h: Add prototypes for functions `output_deferred_plabels',
646 `override_options', `output_ascii', `output_function_prologue',
647 `output_function_epilogue', `print_operand',
648 `symbolic_expression_p', `reloc_needed', `compute_frame_size',
649 `hppa_address_cost', `and_mask_p', `symbolic_memory_operand',
650 `pa_adjust_cost', `pa_adjust_insn_length' and
651 `secondary_reload_class'.
652
653 Wed Jun 17 22:28:48 1998 Jason Merrill <jason@yorick.cygnus.com>
654
655 * configure.in: Don't turn on collect2 unconditionally.
656
657 Wed Jun 17 20:20:48 1998 Mark Mitchell <mark@markmitchell.com>
658
659 * cse.c (cse_basic_block): Don't include NOTE insns in the count
660 that is used to decide whether or not it is time to erase the
661 equivalence table.
662
663 Wed Jun 17 18:30:43 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
664
665 * rs6000/linux.h (JUMP_TABLES_IN_TEXT_SECTION): Define to zero.
666
667 Wed Jun 17 19:05:03 1998 John Carr <jfc@mit.edu>
668
669 * haifa-sched.c (haifa_classify_insn): TRAP_IF is risky.
670 (sched_analyze_2): Allow scheduling TRAP_IF.
671
672 * reorg.c (mark_referenced_resources): Examine operands of TRAP_IF.
673
674 * rtl.h (TRAP_CODE): New macro.
675
676 * rtl.def (TRAP_IF): Change second operand type to rtx.
677
678 * optabs.c (gen_cond_trap): New function.
679 (init_traps): New function.
680 (init_optabs): Call init_traps.
681 * expr.h: Declare gen_cond_trap.
682
683 * jump.c (jump_optimize): Optimize jumps to and around traps.
684
685 * sparc.md: Define trap instructions.
686
687 * rs6000.md: Define trap instructions.
688 * rs6000.c (print_operand): New code 'V' for trap condition.
689 (trap_comparison_operator): New function.
690
691 * m88k.md: Update use of TRAP_IF.
692
693 * tree.h (enum built_in_function): New function code BUILT_IN_TRAP.
694 * c-decl.c (init_decl_processing): New builtin __builtin_trap.
695 * expr.c (expand_builtin): Handle BUILT_IN_TRAP.
696
697 * expr.c (expand_builtin): Error if __builtin_longjmp second argument
698 is not 1.
699
700 Wed Jun 17 15:20:00 PDT 1998 Catherine Moore <clm@cygnus.com>
701
702 * reload1.c (spill_hard_reg): Check mode of register when
703 spilling from scratch_list.
704
705 Wed Jun 17 16:25:38 EDT 1998 Andrew MacLeod (amacleod@cygnus.com)
706
707 * except.c (add_new_handler): fix bug in finding last region handler.
708 * libgcc2.c (find_exception_handler): Pass exception table pointer
709 to runtime type matcher, not the match info field.
710
711 Wed Jun 17 15:57:48 EDT 1998 Andrew MacLeod (amacleod@cygnus.com)
712
713 * eh-common.h (struct eh_context): Add comment for hidden use of
714 field dynamic_handler_chain.
715 * except.c (get_dynamic_handler_chain): Comment on, and use the
716 correct offset of the dynamic_handler_chain field.
717
718 1998-06-17 12:46:56 1998 Jim Wilson <wilson@cygnus.com>
719
720 * mips/iris6.h (LINK_SPEC): Add -woff 131.
721
722 1998-06-17 Jason Merrill <jason@yorick.cygnus.com>
723
724 * dwarf2out.c: Disable EH_FRAME_SECTION if we don't have .init.
725
726 * configure.in: Don't disable collect2 when we have GNU ld.
727
728 Wed Jun 17 08:38:13 1998 Jeffrey A Law (law@cygnus.com)
729
730 * fold-const.c (make_range): Do not widen the type of the expression.
731
732 * expr.c (check_max_integer_computation_mode): New function.
733 (expand_expr): Avoid integer computations in modes wider than
734 MAX_INTEGER_COMPUTATION_MODE.
735 * fold-const.c (fold): Likewise.
736 * tree.h (check_max_integer_computation_mode): Declare.
737 * tm.texi (MAX_INTEGER_COMPUTATION_MODE): Document it.
738
739 * configure.in (nm): Make a link to "nm" in the build tree too.
740
741 * mn10300.md (andsi3): Fix typo.
742
743 Tue Jun 16 22:58:40 1998 Richard Henderson <rth@cygnus.com>
744
745 * reload1.c (reload_cse_regs): Call bzero instead of looping.
746
747 Tue Jun 16 18:30:35 1998 Jim Wilson <wilson@cygnus.com>
748
749 * dwarf2out.c (stripattributes): Prepend '*' to the section name.
750
751 Tue Jun 16 16:49:26 1998 Richard Henderson <rth@cygnus.com>
752
753 * alpha.c (alpha_expand_prologue, alpha_expand_epilogue): New fns.
754 (output_prologue, output_epilogue): Merge VMS and OSF versions;
755 Remove anything related to the actual code generation.
756 (output_end_prologue): New function.
757 (alpha_sa_mask, alpha_sa_size): Merge VMS and OSF versions.
758 (alpha_does_function_need_gp): Return false for VMS.
759 (alpha_function_needs_gp): Make static.
760 (add_long_const): Delete.
761 (summarize_insn): Don't assume a SUBREG is of a REG.
762 Prototype all static functions. Rename VMS-specific global
763 variables vms_*.
764 * alpha.h (TARGET_CAN_FAULT_IN_PROLOGUE): Default to 0.
765 (FUNCTION_BOUNDARY): Align to cache line.
766 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER): Align to octaword.
767 (FUNCTION_END_PROLOGUE): New macro.
768 * alpha.md (attribute length): New. Mark all insns.
769 (return_internal, prologue_stack_probe_loop) New patterns.
770 (prologue, init_fp, epilogue): New patterns.
771 Disable peepholes.
772 * linux.h (TARGET_CAN_FAULT_IN_PROLOGUE): Define.
773
774 Tue Jun 16 17:36:35 1998 Dave Brolley <brolley@cygnus.com>
775
776 * toplev.c (lang_options): Add -trigraphs option for cpplib.
777
778 Tue Jun 16 23:33:24 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
779
780 * reload1.c (reload_reg_free_before_p): RELOAD_FOR_OUTADDR_ADDRESS
781 is earlier than RELOAD_FOR_OUTPUT_ADDRESS; RELOAD_FOR_INPADDR_ADDRESS
782 is earlier than RELOAD_FOR_INPUT_ADDRESS.
783
784 Tue Jun 16 13:15:16 1998 Jim Wilson <wilson@cygnus.com>
785
786 * libgcc1-test.c (memcpy): Define.
787
788 Tue Jun 16 13:44:02 1998 Michael Meissner <meissner@cygnus.com>
789
790 * genattrtab.c (struct attr_desc): Change int flags to bit
791 fields. Add bit fields for this being function_units_used
792 or *_blockage_range attributes.
793 (write_unit_name): New function to print a function unit name
794 given unit #.
795 (expand_units): Indicate whether this is function_units_used or
796 *_blockage_range attributes.
797 (write_toplevel_expr): Print function_units_used and
798 *_blockage_range attributes in a more friendly fashion.
799 (make_internal_attr): Indicate whether this attribute is either
800 function_units_used or *_blockage_range.
801
802 Mon Jun 15 17:06:43 1998 Michael Meissner <meissner@cygnus.com>
803 Jim Wilson <wilson@cygnus.com>
804
805 * regmove.c (copy_src_to_dest): Do not copy src to dest if either
806 the source or destination is special.
807
808 Mon Jun 15 13:20:33 1998 Jim Wilson <wilson@cygnus.com>
809
810 * c-decl.c (shadow_tag_warned): Use specs not declspecs in for loop.
811
812 Mon Jun 15 07:16:29 PDT 1998 Jeff Law (law@cygnus.com)
813
814 * version.c: Bump for snapshot.
815
816 Sat Jun 13 13:10:40 1998 Krister Walfridsson <cato@df.lth.se>
817
818 * config/sparc/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Undefine before
819 redefining it.
820
821 Fri Jun 12 18:06:45 1998 Doug Evans <devans@egcs.cygnus.com>
822
823 * m32r/m32r.h (STARTFILE_SPEC): Delete crtsysc.o.
824 (ENDFILE_SPEC): Add -lgloss.
825
826 Fri Jun 12 14:57:59 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
827
828 * mips.c (small_int): Mark parameter `mode' with ATTRIBUTE_UNUSED.
829 (large_int): Likewise.
830 (pc_or_label_operand): Likewise.
831 (call_insn_operand): Likewise.
832 (consttable_operand): Likewise.
833 (m16_uimm3_b): Likewise.
834 (m16_simm4_1): Likewise.
835 (m16_nsimm4_1): Likewise.
836 (m16_simm5_1): Likewise.
837 (m16_nsimm5_1): Likewise.
838 (m16_uimm5_4): Likewise.
839 (m16_nuimm5_4): Likewise.
840 (m16_simm8_1): Likewise.
841 (m16_nsimm8_1): Likewise.
842 (m16_uimm8_1): Likewise.
843 (m16_nuimm8_1): Likewise.
844 (m16_uimm8_m1_1): Likewise.
845 (m16_uimm8_4): Likewise.
846 (m16_nuimm8_4): Likewise.
847 (m16_simm8_8): Likewise.
848 (m16_nsimm8_8): Likewise.
849 (m16_usym8_4): Likewise.
850 (m16_usym5_4): Likewise.
851 (mips_move_1word): Change type of variable `i' from int to size_t.
852 (mips_move_2words): Likewise.
853 (output_block_move): Mark parameter `libname' with ATTRIBUTE_UNUSED.
854 (function_arg_advance): Use HOST_PTR_PRINTF to print an address.
855 (function_arg): Likewise.
856 (function_arg_partial_nregs): Mark parameter `named' with
857 ATTRIBUTE_UNUSED.
858 (override_options): Use ISDIGIT instead of isdigit.
859 (mips_output_external): Mark parameter `file' with ATTRIBUTE_UNUSED.
860 (final_prescan_insn): Likewise for parameters `opvec' and `noperands'.
861 (save_restore_insns): Cast HOST_WIDE_INT arguments passed to
862 function `fatal' to long before printing. Use
863 HOST_WIDE_INT_PRINT_DEC in fprintf. Both changes done several
864 times in this function.
865 (function_prologue): Mark parameter `size' with ATTRIBUTE_UNUSED.
866 (function_epilogue): Likewise for parameters `file' and `size'.
867 Print an int with "%d" not "%ld".
868 (mips_select_rtx_section): Mark parameter `x' with ATTRIBUTE_UNUSED.
869 (mips_function_value): Likewise for parameter `func'.
870 (function_arg_pass_by_reference): Likewise for parameters `cum'
871 and `named'.
872 (extend_operator): Likewise for parameter `mode'
873 (highpart_shift_operator): Likewise.
874
875 * mips.md (mul_acc_si): Remove unused variable `macc'.
876
877 Fri Jun 12 09:33:44 1998 Richard Henderson <rth@cygnus.com>
878
879 * fold-const.c (fold): Revert last change. It breaks constant
880 expressions somehow.
881
882 Fri Jun 12 10:23:36 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
883
884 * expr.c (do_jump, case EQ_EXPR, NE_EXPR): When comparing complex
885 prevent operands from being evaluated twice.
886
887 Fri Jun 12 00:50:27 1998 Sergey Okhapkin <sos@prospect.com.ru>
888
889 * toplev.c (lang_options): Add -remap as a preprocessor option.
890
891 Fri Jun 12 00:30:32 1998 John Wehle (john@feith.com)
892
893 * i386.md (cmpsi_1, cmphi_1, cmpqi_1): Remove code
894 which set CC_REVERSED since reload should ensure that
895 the operands are already the correct type.
896
897 Thu Jun 11 17:14:15 1998 Jim Wilson <wilson@cygnus.com>
898
899 * except.c (expand_builtin_eh_stub): Call emit_move_insn rather than
900 calling gen_rtx_SET.
901
902 Thu Jun 11 18:45:49 1998 David Edelsohn <edelsohn@mhpcc.edu>
903
904 * config/rs6000/x-aix43 (AR): Delete.
905 (AR_FOR_TARGET_FLAGS): Add -X32_64 here.
906
907 Thu Jun 11 16:19:17 1998 David W. Schuler <schuld@btv.ibm.com>
908
909 * config/i386/aix386ng.h (CPP_SPEC): Remove extraneous quote.
910
911 Thu Jun 11 12:40:27 1998 Jim Wilson <wilson@cygnus.com>
912
913 * mips.c (override_options): Replace word_mode with explicit
914 TARGET_64BIT check.
915
916 Thu Jun 11 14:50:02 1998 Michael Meissner <meissner@cygnus.com>
917
918 * regmove.c (regmove_optimize): If we can't replace the
919 destination in an insn that sets the source, generate an explicit
920 move of the source to the destination.
921 (copy_src_to_dest): New function.
922 (toplevel): Include basic-block.h
923
924 * Makefile.in (regmove.o): Add basic-block.h dependencies.
925
926 Thu Jun 11 10:30:09 1998 Dave Brolley <brolley@cygnus.com>
927
928 * toplev.c (lang_options): Add missing options (nostdinc, idirafter).
929
930 Wed Jun 10 23:39:32 1998 Mark Mitchell <mark@markmitchell.com>
931
932 * rtl.h (rtx_def): Improve documentation.
933 (MEM_IN_STRUCT_P): Likewise.
934
935 Wed Jun 10 23:23:17 1998 Graham <grahams@rcp.co.uk>
936
937 * c-decl.c (start_decl): Correct test for -Wmain.
938
939 * c-decl.c (grokdeclarator): Remove unused variable "last".
940
941 Wed Jun 10 14:52:27 1998 Jim Wilson <wilson@cygnus.com>
942
943 * expr.c (expand_builtin_setjmp): Store const1_rtx in target.
944 (expand_builtin_longjmp): Abort if value isn't const1_rtx.
945 Delete code storing value in static_chain_rtx.
946 (expand_builtin, case BUILT_IN_LONGJMP): Pass NULL_RTX for target
947 to second expand_expr call.
948
949 Wed Jun 10 13:08:41 1998 Mark Mitchell <mark@markmitchell.com>
950
951 * mips/mips.c: Remove -mabi=o32 and -mabi=n64.
952
953 Wed Jun 10 13:41:23 1998 Dave Brolley <brolley@cygnus.com>
954
955 * cppmain.c (fatal): New function.
956 * configure.in (cpp_main): New configuration variable.
957 * configure: Regenerated.
958 * Makefile.in (CCCP): Use a configuration variable to select basex
959 for cccp.
960 (cppmain$(exeext)): Add @extra_cpp_objs@.
961
962 Wed Jun 10 13:07:02 1998 Dave Brolley <brolley@cygnus.com>
963
964 * objc/objc-act.c: Add cpplib declarations.
965 (lang_decode_option): Initialize cpplib if necessary.
966 (lang_decode_option): New argc/argv interface.
967 * tree.h (lang_decode_option): New argc/argv interface.
968 * toplev.c (lang_options): Add cpp options.
969 (main): New interface for lang_decode_option.
970 * gcc.c (default_compilers): Don't call cpp for a cpplib-enabled C compiler
971 unless -E, -M or -MM is specified.
972 * cpplib.h (cpp_handle_option): New function.
973 * cpplib.c (cpp_handle_option): New function.
974 (cpp_handle_options): Now calls cpp_handle_option.
975 * c-tree.h (c_decode_option): New argc/argv interface.
976 * c-lex.c (init_parse): cpplib now initialized in c_decode_option.
977 * c-lang.c (lang_decode_option): New argc/argv interface.
978 * c-decl.c: Add cpplib declarations.
979 (c_decode_option): New argc/argv interface.
980 (c_decode_option): Call cpp_handle_option.
981 (c_decode_option): Now returns number of strings processed.
982
983 Wed Jun 10 09:47:13 1998 Richard Earnshaw (rearnsha@arm.com)
984
985 * unroll.c (verify_addresses): Use validate_replace_rtx to undo the
986 changes. Abort if the undo fails.
987
988 1998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com>
989
990 * config/rs6000/rs6000.c (output_prolog): Change locations and
991 directions of saving and restoring arguments of main on the stack.
992
993 Wed Jun 10 08:56:27 1998 John Carr <jfc@mit.edu>
994
995 * reload1.c (reload_cse_simplify_operands): Do not call gen_rtx_REG
996 for each alternative. Do not replace a CONST_INT with a REG unless
997 the reg is cheaper.
998
999 Wed Jun 10 02:11:55 1998 Jeffrey A Law (law@cygnus.com)
1000
1001 * decl.c (init_decl_processing): Fix typo.
1002
1003 * mips.c (gpr_mode): New variable.
1004 (override_options): Initialize gpr_mode.
1005 (compute_frame_size): Use "gpr_mode" instead of "word_mode" to
1006 determine size and offset of general purpose registers save slots.
1007 (save_restore_insns, mips_expand_prologue): Similarly.
1008
1009 * reload.c (find_reloads_toplev): Use gen_lowpart common to convert
1010 between constant representations when we have (SUBREG (REG)) with
1011 REG equivalent to a constant.
1012
1013 Wed Jun 10 01:39:00 1998 Juha Sarlin <juha@c3l.tyreso.se>
1014
1015 * h8300.c (get_shift_alg): Add special cases for shifts of 8 and 24.
1016
1017 Tue Jun 9 22:05:34 1998 Richard Henderson <rth@cygnus.com>
1018
1019 * fold-const.c (fold): Even with otherwise constant trees, look for
1020 opportunities to combine integer constants.
1021
1022 Wed Jun 3 23:41:24 EDT 1998 John Wehle (john@feith.com)
1023
1024 * i386.c (notice_update_cc): Clear cc_status.value2 in the
1025 case of UNSPEC 5 (bsf).
1026
1027 * i386.md (movsfcc, movdfcc, movxfcc): The floating point
1028 conditional move instructions don't support signed integer
1029 comparisons.
1030
1031 Tue Jun 9 14:31:19 1998 Nick Clifton <nickc@cygnus.com>
1032
1033 * config/v850/t-v850 (TCFLAGS): Add assembler options to warn of
1034 overlfows.
1035
1036 * config/v850/lib1funcs.asm (__return_interrupt): Use 'addi
1037 16,sp,sp' ratehr than 'add 16,sp'. Patch courtesy of Biomedin
1038 <glctr@abc.it>.
1039
1040 Tue Jun 9 16:23:13 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1041
1042 * except.c (expand_start_catch): Rename to start_catch_handler.
1043 (expand_end_catch): Delete function.
1044 (expand_end_all_catch): Remove catch status that expand_end_catch
1045 use to do.
1046 * except.h (expand_start_catch): Rename prototype.
1047 (expand_end_catch): Delete prototype.
1048
1049 Tue Jun 9 12:57:32 1998 Mark Mitchell <mark@markmitchell.com>
1050
1051 * invoke.texi: Add documentation for -mips4 and -mabi=*.
1052
1053 Tue Jun 9 12:12:34 1998 Klaus Kaempf (kkaempf@progis.de)
1054
1055 * alpha/vms.h (EXTRA_SECTIONS): Add in_ctors and in_dtors.
1056 (EXTRA_SECTION_FUNCTIONS): Add ctors_section and dtors_section.
1057 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define.
1058
1059 Tue Jun 9 12:10:27 1998 John Carr <jfc@mit.edu>
1060
1061 * haifa-sched.c (update_flow_info): Use UNITS_PER_WORD, not MOVE_MAX,
1062 as the threshold to permit splitting memory operations.
1063
1064 Tue Jun 9 12:36:16 1998 Jeffrey A Law (law@cygnus.com)
1065
1066 * mips.c (gpr_mode): New variable.
1067 (override_options): Initialize gpr_mode.
1068 (compute_frame_size): Use "gpr_mode" instead of "word_mode" to
1069 determine size and offset of general purpose registers save slots.
1070 (save_restore_insns, mips_expand_prologue): Similarly.
1071
1072 * Makefile.in (LIB2FUNCS_EH): Define. Just "_eh" for now.
1073 (LIBGCC2_CFLAGS): Remove -fexceptions.
1074 (LIB2FUNCS): Remove "_eh".
1075 (libgcc2.a): Iterate over LIB2FUNCS_EH and build everything in
1076 it with -fexceptions.
1077
1078 * Makefile.in (local-alloc.o): Depend on insn-attr.h.
1079 * local-alloc.c (block_alloc): Avoid creating false
1080 dependencies for targets which use instruction scheduling.
1081
1082 Tue Jun 9 02:40:49 1998 Richard Henderson <rth@cygnus.com>
1083
1084 * mips/elf.h (ASM_DECLARE_OBJECT_NAME): Define.
1085 (ASM_FINISH_DECLARE_OBJECT): Define;
1086 * mips/elf64.h: Likewise.
1087
1088 Tue Jun 9 01:08:47 1998 Richard Henderson <rth@cygnus.com>
1089
1090 * toplev.c (flag_new_exceptions): Remove extraneous `extern'.
1091
1092 Mon Jun 8 23:24:48 PDT 1998 Jeff Law (law@cygnus.com)
1093
1094 * version.c: Bump for snapshot.
1095
1096 Mon Jun 8 23:24:58 1998 David Edelsohn <edelsohn@mhpcc.edu>
1097
1098 * rs6000.md (mulsidi3): Add !TARGET_POWERPC64 constraint.
1099 (mulsidi3_ppc64): Delete.
1100
1101 Mon Jun 8 20:57:40 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1102
1103 * Makefile.in (varasm.o): Depend on dbxout.h.
1104 (cse.o): Depend on toplev.h and output.h.
1105 (gcse.o): Depend on output.h.
1106
1107 * mips.c: Include system.h and toplev.h and remove redundant code.
1108 Include output.h after tree.h so all its prototypes get activated.
1109 * mips.md (table_jump): Remove unused variable `dest'.
1110
1111 * sparc.h: Add prototype for `v8plus_regcmp_op'.
1112
1113 * crtstuff.c (fini_dummy, init_dummy): Mark function definitions
1114 with __attribute__ ((__unused__)).
1115 (__frame_dummy): Provide prototype before use, wrap it with
1116 EH_FRAME_SECTION_ASM_OP.
1117
1118 * cse.c: Move inclusion of <setjmp.h> above local headers.
1119 Include toplev.h and output.h.
1120
1121 * dbxout.h: Add prototype for `dbxout_begin_function'.
1122
1123 * final.c (final_scan_insn): Wrap variable `max_skip' in macro
1124 ASM_OUTPUT_MAX_SKIP_ALIGN.
1125
1126 * gcse.c: Include system.h and output.h.
1127 (dump_cuid_table, dump_rd_table, dump_cprop_data, dump_pre_data):
1128 Make extern instead of static.
1129 (compute_can_copy): Only declare variables `reg' and `insn' when
1130 AVOID_CCMODE_COPIES is not defined.
1131 (record_set_info): Mark parameter `setter' with ATTRIBUTE_UNUSED.
1132 (hash_scan_clobber): Likewise for `x' and `insn'.
1133 (hash_scan_call): Likewise.
1134 (record_last_set_info): Likewise for `setter'.
1135 (mark_call): Likewise for `pat'.
1136 (pre_insert_insn): Wrap variable `note' in macro HAVE_cc0.
1137
1138 * libgcc2.c (__bb_init_prg): Replace bzero with memset and fix the
1139 length parameter so that it multiplies the number of elements by
1140 the sizeof(element).
1141
1142 * output.h: Add prototype for `weak_finish'.
1143
1144 * recog.h: Likewise for `validate_replace_src'.
1145
1146 * rtl.h: Likewise for `optimize_save_area_alloca',
1147 `fix_sched_param', `purge_addressof', `gcse_main',
1148 `regmove_optimize', `dbr_schedule', `branch_prob' and
1149 `end_branch_prob'.
1150
1151 * toplev.h: Likewise for `set_float_handler' and
1152 `output_quoted_string'.
1153
1154 * varasm.c: Include dbxout.h.
1155
1156 Mon Jun 8 18:12:06 1998 Jim Wilson <wilson@cygnus.com>
1157
1158 * mips.c (mips_secondary_reload_class): Use gp_reg_p instead of
1159 GP_REG_P. Use gr_regs instead of GR_REGS.
1160
1161 Mon Jun 8 16:54:12 1998 Ken Raeburn <raeburn@cygnus.com>
1162 Jeff Law <law@cygnus.com>
1163
1164 * Revamped multiply support for MIPS chips.
1165 * mips.c (extend_operator): New function.
1166 (highpart_shift_operator): Likewise.
1167 * mips.h: Declare new functions.
1168 (PREDICATE_CODES): Add support for new predicates.
1169 * mips.md (mulsi3 expander): Simplify.
1170 (mulsi_mult3): Add another constraint alternative. Support
1171 3 operand multiply instructions as found on various mips
1172 parts.
1173 (mulsi3_r4650): Delete pattern, now handled by mulsi_mult3.
1174 (mul_acc_si): New pattern and associated splitters.
1175 (mulsidi3 expander): Rework to use mulsidi3_64bit and
1176 mulsidi3_internal.
1177 (umulsidi3): New expander.
1178 (mulsidi3_internal): Accept either sign or zero extended
1179 operands and generate code as appropriate appropriately.
1180 (mulsidi3_64bit): Similarly.
1181 (smulsi3_highpart): Turn into an expander and generate code
1182 to match new patterns.
1183 (umulsi3_highpart): Likewise.
1184 (xmulsi3_highpart_internal): New pattern.
1185 (maddi patterns): Delete. Replace with:
1186 (mul_acc_di, mul-acc_64bit_di): New patterns.
1187
1188 Mon Jun 8 14:16:15 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1189
1190 * eh-common.h: Remove NEW_EH_MODEL compile time flag, and replace with
1191 flag_new_exceptions runtime flag.
1192 (struct old_exception_table): New struct which represents what
1193 the exception table looks like without the new model.
1194 (NEW_EH_RUNTIME): New value used as a tag in the exception table to
1195 flag that this is a new style table.
1196 * except.h: Remove compile time flag NEW_EH_MODEL.
1197 (expand_builtin_eh_stub_old): New prototype.
1198 * tree.h (enum built_in_function): Add BUILT_IN_EH_STUB_OLD.
1199 * expr.c (expand_builtin): New builtin func BUILT_IN_EH_STUB_OLD.
1200 * c-decl.c (init_decl_processing): Add new builtin function
1201 __builtin_eh_stub_old.
1202 * final.c (final_scan_insn): Replace compile time flag NEW_EH_MODEL.
1203 * flags.h (flag_new_exceptions): New runtime flag.
1204 * toplev.c (flag_new_exceptions): Initialize default to 0,
1205 -fnew-exceptions sets to 1.
1206 * except.c (output_exception_table_entry): Output New style exception
1207 identifier into table, and replace compile time flag NEW_EH_MODEL
1208 with runtime flag flag_new_exceptions.
1209 (output_exception_table): Replace compile time flag NEW_EH_MODEL.
1210 (expand_builtin_eh_stub_old): Duplicates original functionality of
1211 expand_builtin_eh_stub.
1212 (expand_builtin_eh_stub): Replace compile time flag NEW_EH_MODEL.
1213 * libgcc2.c (find_exception_handler): Remove NEW_EH_MODEL #ifdefs.
1214 (old_find_exception_handler): New func, same as find_exception_handler
1215 except it works on the old style exception table.
1216 (__throw): Replace NEW_EH_MODEL. Detect new model based on presence
1217 of identifier in the exception table, and call appropriate routines.
1218
1219 Mon Jun 8 01:21:13 1998 Jason Merrill <jason@yorick.cygnus.com>
1220
1221 * function.c: Define current_function_cannot_inline.
1222 (push_function_context_to): Save it.
1223 (pop_function_context_from): Restore it.
1224 * function.h (struct function): Provide it a home.
1225 * output.h: Declare it.
1226 * integrate.c (function_cannot_inline_p): Check it.
1227
1228 Mon Jun 8 10:43:15 1998 Richard Henderson <rth@cygnus.com>
1229
1230 * expr.c (force_operand): Detect PIC address loads before
1231 splitting arithmetic.
1232
1233 Mon Jun 8 09:22:38 PDT 1998 Jeff Law (law@cygnus.com)
1234
1235 * version.c: Bump for snapshot.
1236
1237 Mon Jun 8 02:55:56 1998 Graham <grahams@rcp.co.uk>
1238
1239 * tree.c (tree_class_check): Add braces to eliminate ambigious
1240 else warning.
1241 (tree_check): Likewise.
1242
1243 Mon Jun 8 02:49:23 1998 H.J. Lu (hjl@gnu.org)
1244
1245 * reg-stack.c (subst_stack_regs_pat): Make sure the top of
1246 stack is the destination for conditional move insn.
1247
1248 Mon Jun 8 01:21:13 1998 Jason Merrill <jason@yorick.cygnus.com>
1249
1250 * tree.h (TREE_VEC_END): Cast unused value to void.
1251
1252 * i386.c (print_operand): Use %lx for long operand.
1253
1254 Mon Jun 8 00:04:07 1998 Richard Henderson <rth@cygnus.com>
1255
1256 * alpha.c (summarize_insn): Ignore rtl slot format 'i'.
1257
1258 Sun Jun 7 14:15:45 1998 John Carr <jfc@mit.edu>
1259
1260 * sol2.h (INIT_SUBTARGET_OPTABS): Use Solaris libc float/long long
1261 conversion functions.
1262
1263 Sun Jun 7 14:02:58 1998 Richard Henderson <rth@cygnus.com>
1264
1265 * toplev.c (flag_exceptions): Default to 0.
1266 (compile_file): Remove flag_exceptions == 2 hack.
1267 (main): Call lang_init_options.
1268 * tree.h: Declare it.
1269 * c-lang.c: Implement it.
1270 * objc/objc-act.c: Likewise.
1271
1272 Sun Jun 7 12:27:30 1998 David Edelsohn <edelsohn@mhpcc.edu>
1273
1274 * rs6000.md (restore_stack_block): Generate MEM and specify mode.
1275 * rs6000.h (STACK_SAVEAREA_MODE): SAVE_FUNCTION is VOIDmode.
1276 * rs6000.c (rs6000_output_load_toc_table): Use fputs.
1277 (output_function_profiler): Use asm_fprintf and fputs.
1278
1279 Sat Jun 6 12:17:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1280
1281 * gencheck.c: Remove redundant stdio.h include. Add a definition
1282 of xmalloc for when we are forced to link with alloca.o.
1283
1284 * reload1.c (reload_reg_free_for_value_p): Use `(unsigned)1'
1285 instead of `1U'.
1286
1287 * fold-const.c (constant_boolean_node): Make definition static to
1288 match the prototype.
1289
1290 Fri Jun 5 15:53:17 1998 Per Bothner <bothner@cygnus.com>
1291
1292 * gcc.c (lang_specific_pre_link): New LANG_SPECIFIC_DRIVER function.
1293 (lang_specific_extra_outfiles): New LANG_SPECIFIC_DRIVER variable.
1294 (do_spec, input_filename, input_filename_length): Make public.
1295 (main): Adjust outfiles allocation by lang_specific_extra_outfiles.
1296 Call lang_specific_pre_link befor elinking.
1297
1298 Fri Jun 5 12:29:28 1998 Jeffrey A Law (law@cygnus.com)
1299
1300 * haifa-sched.c (rank_for_schedule): For "equally good insns", prefer
1301 the insn which has the most insns dependent on it.
1302
1303 Fri Jun 5 09:03:22 1998 John Carr <jfc@mit.edu>
1304
1305 * alias.c (find_base_value): Avoid reading past end of reg_base_value.
1306
1307 Fri Jun 5 03:05:34 1998 Richard Henderson <rth@cygnus.com>
1308
1309 * alpha.md (insxh-1): New insxl pattern for combine.
1310
1311 Fri Jun 5 01:12:15 1998 H.J. Lu (hjl@gnu.org)
1312
1313 * i386/i386.c (output_fp_conditional_move): New function
1314 to output floating point conditional move.
1315 (output_int_conditional_move): New function to output integer
1316 conditional move.
1317
1318 * i386/i386.md (movsicci+5, movhicc+5, movdicc+5): Call
1319 output_int_conditional_move () to output int conditional move.
1320 (movsfcc+5, movdfcc+5, movxfcc+5): Call
1321 output_fp_conditional_move () to output floating point
1322 conditional move.
1323
1324 * i386/i386.c (put_condition_code): In INT mode, check
1325 cc_prev_status.flags & CC_NO_OVERFLOW for GE and LT.
1326
1327 Thu Jun 4 16:09:51 1998 Dave Brolley <brolley@cygnus.com>
1328
1329 * dbxout.c (dbxout_type): Output arrays of bits as if
1330 they were bitstrings for Chill
1331
1332 Thu Jun 4 14:35:27 1998 David Edelsohn <edelsohn@mhpcc.edu>
1333
1334 * tree.c (get_inner_array_type): New function.
1335 * tree.h (get_inner_array_type): Prototype.
1336 * expr.h (STACK_SAVEAREA_MODE): New macro.
1337 * expr.c (expand_builtin_setjmp): Initialize sa_mode using
1338 STACK_SAVEAREA_MODE.
1339 (expand_builtin_longjmp): Likewise.
1340 * explow.c (emit_stack_save): Likewise.
1341 (allocate_dynamic_stack_space): Use Pmode not insn_operand_mode.
1342
1343 * rs6000/aix41.h (ASM_CPU_SPEC): Define relative to ASM_DEFAULT_SPEC.
1344 (CPP_CPU_SPEC): Define relative to CPU_DEFAULT_SPEC.
1345 * rs6000/aix43.h: New file.
1346 * rs6000/t-aix43: New file.
1347 * rs6000/x-aix41: New file.
1348 * rs6000/x-aix43: New file.
1349 * configure.in (rs6000-ibm-aix*): Use them.
1350 * rs6000/powerpc.h: Delete.
1351 * rs6000/sysv4.h: Move necessary powerpc.h definitions to here.
1352 * rs6000/netware.h: and here.
1353 * rs6000/win-nt.h: and here.
1354
1355 * rs6000/rs6000.c (processor_target_table, 620): Do not affect
1356 MASK_POWERPC64.
1357 (rs6000_override_options): Ignore flag_pic for AIX.
1358 (rs6000_immed_double_const): Delete.
1359 (u_short_cint_operand): Don't assume 32-bit CONST_INT.
1360 (reg_or_u_short_operand): Don't assume 32-bit CONST_INT.
1361 (num_insns_constant): mask64_operand() is 2 insns.
1362 (logical_operand): Don't assume 32-bit CONST_INT.
1363 (non_logical_cint_operand): Don't assume 32-bit CONST_INT.
1364 (easy_fp_constant): Any CONST_DOUBLE_HIGH is okay for 64-bit.
1365 (mask_constant): HOST_WIDE_INT parameter.
1366 (non_and_cint_operand): Delete.
1367 (mask64_operand): New function.
1368 (and64_operand): New function.
1369 (function_arg_advance): DImode arguments do not need special
1370 alignment when 64-bit.
1371 (function_arg): Likewise.
1372 (setup_incoming_varargs): Reverse reg_size assignment.
1373 (print_operand): HOST_WIDE_INT second parameter.
1374 (print_operand, 'B'): New case.
1375 (print_operand, 'M'): Fix typo in lossage string.
1376 (print_operandm 'S'): New case.
1377 (rs6000_stack_info): Reverse reg_size assignment. Use total_raw_size
1378 to compute AIX push_p. Use reg_size to compute {cr,lr}_save_offset.
1379 (rs6000_output_load_toc_table): Reverse init_ptr assignment. Use
1380 TARGET_64BIT not TARGET_POWERPC64. Convert fprintf to fputs.
1381 Load GOT highpart, don't add it. Add lowpart with {cal|la}.
1382 (rs6000_allocate_stack_space): Use {cal|la}.
1383 (output_epilog): Use {cal|la}
1384 (output_function_profiler): Add call glue to mcount call.
1385 Load GOT highpart, don't add it. Add lowpart with {cal|la}.
1386
1387 * rs6000/rs6000.h (TARGET_SWITCHES): Add powerpc64.
1388 (STACK_BOUNDARY): Depend on TARGET_32BIT.
1389 (ADJUST_FIELD_ALIGN): Calculate array alignment using innermost type.
1390 (CONST_OK_FOR_LETTER_P): Don't assume 32-bit CONST_INT.
1391 (EXTRA_CONSTRAINTS): Remove NT 'S' and 'T'. Replace 'S' with
1392 64-bit mask operand.
1393 (RS6000_SAVE_TOC): Depend on TARGET_32BIT.
1394 (STACK_SAVEAREA_MODE): New macro.
1395 (LEGITIMATE_CONSTANT_P): DImode okay for 64bit.
1396 (LEGITIMIZE_RELOAD_ADDRESS): New macro.
1397 (RTX_COSTS, AND/IOR/XOR): Reflect current machine description.
1398 (ASM_FILE_START): Emit 64-bit ABI directive.
1399 (ASM_DECLARE_FUNCTION_NAME): Align CSECT on doubleword in 64-bit mode.
1400 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): DImode okay for 64-bit.
1401 (PREDICATE_CODES): Add "and64_operand" and "mask64_operand".
1402 Delete "non_and_cint_operand". "input_operand" includes CONST_DOUBLE.
1403
1404 * rs6000/rs6000.md (iorsi3, xorsi3): Use HOST_WIDE_INT for mask.
1405 Restore define_splits.
1406 (floatsidf2, floatunssidf2): Remove !TARGET_POWERPC64 final constraint.
1407 (floatsidf2_internal, floatunssidf2_internal2): Likewise.
1408 Do not specify base register operand mode.
1409 (floatsidf2_loadaddr): Do not specify base register operand mode.
1410 (floatsidf2_store1, floatsidf2_store2): Operand 1 must be base
1411 register; do not specify mode. Remove !TARGET_POWERPC64 final
1412 constraint.
1413 (floatsidf2_load): Do not specify base register operand mode. Remove
1414 !TARGET_POWERPC64 final constraint.
1415 (fix_truncdfsi2_internal, fix_truncdfsi2_{store,load}): Do not specify
1416 base register operand mode.
1417 (adddi3): Split large constants early.
1418 (absdi3): Shift by 63, not 31.
1419 (*mulsidi3_ppc64): New pattern.
1420 (rotldi3): Add masking combiner patterns.
1421 (anddi3): Add rldic{r,l} masking. Remove split of large constants
1422 because PPC insns zero-extend.
1423 (iordi3, xordi3): Split large constants early.
1424 (movsi matcher): Remove S and T constraints.
1425 (movsf const_double): create SImode constant from TARGET_DOUBLE.
1426 (movdf_hardfloat32): Add default abort() case.
1427 (movdf easy_fp_const): create DImode constant from TARGET_DOUBLE.
1428 (movdi): Remove 64-bit constant generator. Try to convert
1429 CONST_DOUBLE to CONST_INT. Handle TOC memory constants.
1430 (movdi_32): Add default abort() case.
1431 (movdi_64): Add numerous ways to split 64-bit constants.
1432 Make catch-all define_split more optimal and never FAIL.
1433 (movti_ppc64): Add default abort() case.
1434 (allocate_stack): Remove operand modes. Use Pmode.
1435 (restore_stack_block): Remove operand modes. Generate Pmode
1436 temporary.
1437 (save_stack_nonlocal, restore_stack_nonlocal): Generate Pmode
1438 temporary. Save area is double Pmode.
1439 (call_indirect_aix64, call_value_indirect_aix64): New patterns.
1440 (call, call_value): Do not specify address operand mode. Choose
1441 appropriate AIX ABI.
1442 (*call_local64, *ret_call_local64): New patterns.
1443 (*call_nonlocal_aix64, *ret_call_nonlocal_aix64): New patterns.
1444 (*ret_call_nonlocal_aix32): Use call_value_indirect for REG.
1445 (compare): Materialize DImode truthvalues.
1446
1447 Thu Jun 4 01:26:57 1998 Craig Burley <burley@gnu.org>
1448
1449 * expr.c (safe_from_p): Avoid combinatorial explosion
1450 over duplicate SAVE_EXPRs by ensuring we never recurse
1451 on one that has already been visited.
1452
1453 Thu Jun 4 00:54:21 1998 Graham <grahams@rcp.co.uk>
1454
1455 * loop.c (check_dbra_loop): Initialise final_value before
1456 normalizing the loop.
1457
1458 Wed Jun 3 20:00:04 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1459
1460 * reload1.c (reload_reg_free_for_value_p): New arguments out and
1461 reloadnum. Changed all callers.
1462
1463 1998-06-03 Ulrich Drepper <drepper@cygnus.com>
1464
1465 * system.h: Add _() and N_() macros in preparation for gettext.
1466
1467 Wed Jun 3 11:02:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1468
1469 * c-common.c (check_format_info): Put back check for C9x `hh'
1470 length modifier. Warn about %n format writing into const. Remove
1471 obsolete comment.
1472 (format_char_info): Fix comments.
1473
1474 * configure.in: Set float_format to m68k for all m68k targets that
1475 do not override LONG_DOUBLE_TYPE_SIZE.
1476 * config/float-m68k.h: New file.
1477
1478 Tue Jun 2 23:14:01 1998 Richard Henderson <rth@cygnus.com>
1479
1480 * jump.c (jump_optimize): Remove debug messages accidentally left in
1481 with the previous change.
1482
1483 Tue Jun 2 22:46:08 1998 Richard Henderson <rth@cygnus.com>
1484
1485 * expr.c (store_expr): Revert stray patch associated with
1486 1998-05-23 commit.
1487
1488 Tue Jun 2 21:59:01 1998 Richard Henderson <rth@cygnus.com>
1489
1490 * jump.c (rtx_unsafe_p): New function.
1491 (jump_optimize): Use it on if/then/else transformations and
1492 conditional move transformations.
1493
1494 Tue Jun 2 22:50:10 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1495
1496 * fold-const.c (fold, case EQ_EXPR): When folding VAR++ == CONST
1497 or VAR-- == CONST construct a proper mask if VAR is a bitfield.
1498 Cope with CONST being out of range for the bitfield.
1499
1500 Tue Jun 2 22:28:31 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
1501
1502 * expr.c (emit_move_insn_1): When moving complex values in several
1503 steps, emit a CLOBBER to show the destination dies.
1504
1505 Tue Jun 2 22:17:26 1998 Jeffrey A Law (law@cygnus.com)
1506
1507 * Makefile.in (site.exp): Use the object testsuite directory as
1508 the temporary directory.
1509
1510 * expr.c (expand_expr, case ADDR_EXPR): Handle taking the
1511 address of an ADDRESSOF rtx.
1512
1513 1998-06-02 Mike Stump <mrs@wrs.com>
1514
1515 * expr.c (expand_builtin_setjmp): Handle BUILTIN_SETJMP_FRAME_VALUE.
1516 * i960.h (SETUP_FRAME_ADDRESSES, BUILTIN_SETJMP_FRAME_VALUE): Define.
1517 * i960.md (ret, flush_register_windows): Define.
1518 (nonlocal_goto): Likewise. Nested function nonlocal gotos don't
1519 work yet.
1520 * tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Document new macro.
1521
1522 Tue Jun 2 14:02:38 1998 Richard Henderson <rth@cygnus.com>
1523
1524 * alpha.md (divsi3, udivsi3, modsi3, umodsi3): Enable, and work
1525 around an OSF/1 library bug wrt sign-extension of inputs.
1526
1527 Tue Jun 2 13:02:44 1998 Richard Henderson <rth@cygnus.com>
1528
1529 * vax/netbsd.h (DWARF2_UNWIND_INFO): Must be undef, not defined 0.
1530
1531 Mon Jun 1 03:44:03 1998 Catherine Moore <clm@cygnus.com>
1532
1533 * config/sh/sh.h (MAX_OFILE_ALIGNMENT): Define.
1534
1535 * varasm.c (assemble_variable): Augment alignment warning.
1536
1537 Mon Jun 1 12:14:28 1998 Michael Meissner <meissner@cygnus.com>
1538
1539 * config/fp-bit.c (_fp{add,div}_parts): Return correct IEEE result
1540 in the presence of IEEE negative 0's.
1541
1542 Sun May 31 16:11:41 1998 John Wehle (john@feith.com)
1543
1544 * reload.c (find_reloads): Record the existing mode if
1545 operand_mode == VOIDmode before replacing a register with
1546 a constant.
1547 * i386.md (tstsi, tsthi, tstqi, tstsf, tstdf, tstxf): Set
1548 i386_compare_op1 to const0_rtx for the benefit of the
1549 conditional move patterns.
1550 (movsicc, movhicc, movsfcc, movdfcc, movxfcc, movdicc): Rewrite
1551 based on suggestions from Jim Wilson.
1552
1553 Sun May 31 00:44:02 PDT 1998 Jeff Law (law@cygnus.com)
1554
1555 * version.c: Bump for snapshot.
1556
1557 Sun May 31 00:34:17 1998 Bruce Korb <korbb@datadesign.com>
1558
1559 * Makefile.in (fixinc.sh): Update rules again.
1560
1561 Sun May 31 00:27:47 1998 Jeffrey A Law (law@cygnus.com)
1562
1563 * extend.texi: Bring back reference to trampoline paper.
1564
1565 Sun May 31 00:22:34 1998 Ulrich Drepper <drepper@cygnus.com>
1566
1567 * Makefile.in (USER_H): Add stdbool.h.
1568 * ginclude/stdbool.h: New file.
1569
1570 Fri May 29 01:48:25 1998 Jeffrey A Law (law@cygnus.com)
1571
1572 * jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER
1573 of a non-note insn.
1574
1575 * gcse.c (pre_delete): Fix code to determine the mode of
1576 the reaching pseudo register.
1577
1578 Fri May 29 01:07:28 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1579
1580 * Makefile.in (GEN): Add gencheck
1581 (STAGESTUFF): Add tree-check.h and gencheck.
1582
1583 Fri May 29 00:57:37 1998 Bruce Korb <korbb@datadesign.com>
1584
1585 * Makefile.in (cstamp-h.in): Remove before trying to recreate.
1586 (fixinc.sh): Set some additional environment variables before
1587 calling mkfixinc.sh.
1588
1589 Thu May 28 12:57:05 1998 Jeffrey A Law (law@cygnus.com)
1590
1591 * reload.c (find_reloads): Do not force a reloads of match_operators.
1592
1593 Thu May 28 10:22:22 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1594
1595 * except.h (remove_handler): Add new prototype.
1596 * except.c (remove_handler): New function to remove handlers
1597 from an exception region.
1598 * flow.c (find_basic_blocks_1): Remove handlers from regions when
1599 handler label is deleted; remove exception regions with no handlers.
1600
1601 Thu May 28 09:36:39 1998 Michael Meissner <meissner@cygnus.com>
1602
1603 * except.h (rtx): Define rtx type correctly if needed.
1604 * function.h (rtx): Ditto.
1605 (tree): Define tree type correctly if needed.
1606
1607 * c-pragma.c (toplevel): Include rtl.h.
1608
1609 * stor-layout.c (toplevel): Move include of rtl.h before
1610 except.h.
1611
1612 * Makefile.in (c-pragma.o): Add except.h, rtl.h dependencies.
1613 (tree.o): Add except.h dependency.
1614
1615 Wed May 27 22:02:40 1998 Jeffrey A Law (law@cygnus.com)
1616
1617 * reload1.c: Revert accidental checkin.
1618
1619 * configure.lang: Fix thinko when adding a definition for
1620 target_alias to the Makefile.
1621
1622 Wed May 27 02:50:00 1998 Catherine Moore (clm@cygnus.com)
1623
1624 * config/sparc/lb1spc.asm (.rem and .urem): Replace
1625 routines.
1626
1627 Wed May 27 02:48:31 1998 Richard Earnshaw (rearnsha@arm.com)
1628
1629 * arm.c (arm_gen_constant): Rework to eliminate uninitialized
1630 variable warnings. Don't generate scratch registers if only
1631 counting insns.
1632 (find_barrier): Eliminate unused variable SRC.
1633
1634 1998-05-27 Manfred Hollstein <manfred@s-direktnet.de>
1635
1636 * toplev.h (rtx_def): Provide global declaration to avoid
1637 `limited scope' warnings.
1638
1639 Tue May 26 23:47:52 1998 Mumit Khan <khan@xraylith.wisc.edu>
1640
1641 * Makefile.in (gencheck.o): Use HOST_CC.
1642 * i386/t-mingw32: New file.
1643 * configure.in (i386-*-mingw32*): Use.
1644
1645 Tue May 26 07:31:04 1998 Richard Earnshaw (rearnsha@arm.com)
1646
1647 * arm.c (bad_signed_byte_operand): New predicate function.
1648 * arm.h (PREDICATE_CODES): Add it to the list.
1649 * arm.md (*extendqi[sh]i_insn): Split any addresses that ldrsb
1650 can't handle.
1651 (define_split): Two new splits for above insns.
1652
1653 * arm.c: Include toplev.h.
1654 (arm_override_options): Add parentheses around use of tune_flags.
1655 (arm_split_constant): Remove unused variable.
1656 (arm_gen_constant, arm_gen_movstrqi, add_constant): Likewise.
1657 (output_func_prologue, arm_expand_prologue): Likewise.
1658 (arm_canonicalize_comparison): Make I unsigned; rework constants
1659 accordignly. Add missing paratheses around << operation.
1660 (arm_rtx_costs): Correctly parenthesise MULT costs. Add a DEFAULT
1661 clause.
1662 ({load,store}_multiple_sequence): Initialize BASE_REG.
1663 (select_dominance_cc_mode): Add DEFAULT clauses.
1664 (broken_move): Return zero if the destination is not a register.
1665 (arm_reorg): Move unused REGNO declaration into the dead code.
1666 * arm.h (CANONICALIZE_COMPARISON): Ensure OP1 is updated.
1667
1668 Mon May 25 22:49:56 PDT 1998 Jeff Law (law@cygnus.com)
1669
1670 * version.c: Bump for snapshot.
1671
1672 Mon May 25 11:56:24 PDT 1998 Jeff Law (law@cygnus.com)
1673
1674 * version.c: Bump for snapshot.
1675
1676 Mon May 25 14:00:13 1998 Dave Brolley <brolley@cygnus.com>
1677
1678 * cpperror.c (v_cpp_message): Remove static prototype.
1679 * cpplib.c (v_cpp_message): Move prototype to cpplib.h.
1680 * cpplib.h (v_cpp_message): Add protoptype.
1681 (stdarg.h,varargs.h): Needed for v_cpp_message prototype.
1682
1683 Sun May 24 20:36:15 PDT 1998 Jeff Law (law@cygnus.com)
1684
1685 * version.c: Bump for snapshot.
1686
1687 Sun May 24 02:08:57 PDT 1998 Jeff Law (law@cygnus.com)
1688
1689 * version.c: Bump for snapshot.
1690
1691 1998-05-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1692
1693 * m68k.h: Declare more functions used in macros.
1694 (REG_CLASS_CONTENTS): Completely embrace initializer.
1695 * m68k.md (adddi3, subdi3): Add abort call to avoid warning
1696 about returning no value.
1697 * cse.c (find_best_addr): Declare p and found_better only if
1698 needed.
1699 * dbxout.c (dbxout_continue): Define only if DBX_CONTIN_LENGTH > 0.
1700 * dwarfout.c (string_length_attribute): #if 0 away.
1701 * function.c (expand_function_end): Define varible blktramp only
1702 if needed.
1703 * jump.c (find_insert_position): Define only if !HAVE_cc0.
1704 * loop.c (combine_givs_p): Define variable tem only if needed.
1705 * real.c: Comment out unused functions eabs, eround,
1706 e{24,53,64,113}toasc and eiinfin.
1707
1708
1709 Sat May 23 23:44:53 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
1710
1711 * Makefile.in (boostrap2-lean, bootstrap3-lean,
1712 bootstrap4-lean): New targets.
1713
1714 Sat May 23 23:35:14 1998 Jeffrey A Law (law@cygnus.com)
1715
1716 * warn_summary, test_summary: Moved into the contrib directory.
1717
1718 1998-05-23 Manfred Hollstein <manfred@s-direktnet.de>
1719
1720 * Makefile.in (ENQUIRE_CFLAGS, ENQUIRE_LDFLAGS): Move down to the end
1721 of the Makefile.
1722 (FLOAT_H_TEST): Likewise.
1723 (ENQUIRE): Likewise.
1724 (float.h-nat): Likewise.
1725 (float.h-cross): Likewise.
1726 (enquire): Likewise.
1727 (enquire.o): Likewise.
1728 (stmp-int-hdrs): Fix comment about enquire; depend upon gfloat.h.
1729 (stmp-headers): Move actions to stmp-int-hdrs, retaining only a
1730 no-op.
1731 (FLOAT_H): Remove old float.h-nat version; move current definition
1732 to CROSS_FLOAT_H location.
1733 (all.cross): Remove comments about enquire stuff.
1734
1735 * Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
1736 (rest.encap): Likewise.
1737 (libgcc2.ready): Depend upon $(STMP_FIXPROTO)
1738
1739 * toplev.h (tree_node): Provide global declaration to avoid
1740 `limited scope' warnings.
1741
1742 Sat May 23 23:23:35 1998 Robert Lipe <robertl@dgii.com>
1743
1744 * test_summary: Display section breaks for each entry
1745 in a multilibbed target's output.
1746
1747 1998-05-23 Richard Henderson <rth@cygnus.com>
1748
1749 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
1750 offset's mode is not ptr_mode, convert it.
1751
1752 1998-05-22 Jason Merrill <jason@yorick.cygnus.com>
1753
1754 * fold-const.c (ssize_binop): New fn.
1755 * tree.h: Declare it.
1756
1757 Fri May 22 03:42:05 1998 Richard Earnshaw (rearnsha@arm.com)
1758
1759 * genextract.c (print_path): Handle zero-length path as a special
1760 case.
1761
1762 Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
1763
1764 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
1765
1766 Fri May 22 00:57:00 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
1767
1768 * final.c (JUMP_TABLES_IN_TEXT_SECTION): Provide a default value.
1769 (shorten_branches, final_scan_insn): Test value of
1770 JUMP_TABLES_IN_TEXT_SECTION instead of just testing whether it
1771 is defined.
1772 * tm.texi (JUMP_TABLES_IN_TEXT_SECTION): Corresponding changes.
1773 * arm/coff.h: Define JUMP_TABLES_IN_TEXT_SECTION to 1.
1774 * arm/tcoff.h: Likewise.
1775 * i386/386bsd.h: Likewise.
1776 * i386/freebsd-elf.h: Likewise.
1777 * i386/freebsd.h: Likewise.
1778 * i386/netbsd.h: Likewise.
1779 * i386/ptx4-i.h: Likewise.
1780 * i386/sysv4.h: Likewise.
1781 * pa/pa.h: Likewise.
1782 * rs6000/linux.h: Likewise.
1783 * rs6000/rs6000.h: Likewise.
1784 * sh/sh.h: Likewise.
1785 * sparc/sp64-elf.h: Likewise.
1786 * v850/v850.h: Likewise.
1787 * rs6000/sysv4.h: Define JUMP_TABLES_IN_TEXT_SECTION to 0.
1788 * i386/linux.h: Define JUMP_TABLES_IN_TEXT_SECTION to (flag_pic).
1789
1790 Thu May 21 19:50:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1791
1792 * regmove.c (gen_add3_insn): New function.
1793 (fixup_match_2): Use it instead of calling gen_addsi3.
1794
1795 Thu May 21 23:09:50 1998 Jeffrey A Law (law@cygnus.com)
1796
1797 * Makefile.in (gencheck): Depend on HOST_LIBDEPS.
1798
1799 * alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory
1800 address.
1801
1802 Thu May 21 20:18:13 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
1803
1804 * Makefile.in (TREE_H): Add tree-check.h.
1805 (tree-check.h, gencheck): New targets.
1806 * gencheck.c: New file.
1807 * tree.c (tree_check, tree_class_check): New functions.
1808 * tree.h (TREE_CHECK, TREE_CLASS_CHECK): Define.
1809 (TYPE_CHECK, DECL_CHECK): Define.
1810 Modify all access macros to use generated checking macros.
1811
1812 Wed May 20 23:44:28 EDT 1998 John Wehle (john@feith.com)
1813
1814 * acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.
1815 * configure.in: Check for it.
1816 * i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Use it.
1817 * final.c (uid_align, uid_shuid, label_align): Make static.
1818 (label_align): Change type to struct label_alignment pointer.
1819 (LABEL_TO_ALIGNMENT, shorten_branches): Update due to type change.
1820 (LABEL_TO_MAX_SKIP): Define.
1821 (LABEL_ALIGN_MAX_SKIP, LOOP_ALIGN_MAX_SKIP,
1822 LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Provide defaults.
1823 (shorten_branches): Record the maximum bytes to skip when
1824 aligning a label.
1825 (final_scan_insn): Use the maximum bytes to skip when aligning a label
1826 if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
1827 * i386.h (LOOP_ALIGN_MAX_SKIP,
1828 LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define.
1829 * i386.c (override_options): i386_align_jumps and i386_align_loops
1830 default to 4 if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
1831 * invoke.texi: Document new i386 align-loops and align-jumps behavior.
1832
1833 1998-05-21 Mark Mitchell <mmitchell@usa.net>
1834
1835 * cplus-dem.c (do_type): Handle volatile qualification.
1836
1837 Thu May 21 12:23:17 1998 Per Bothner <bothner@cygnus.com>
1838
1839 * function.c (init_function_start): Don't call emit_line_note if
1840 lineno is 0. (Can happen when compiling Java .class files.)
1841
1842 Thu May 21 19:50:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1843
1844 * reload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT
1845 end of lifetime and RELOAD_FOR_OUTPUT start of lifetime.
1846
1847 Thu May 21 19:32:27 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1848
1849 * combine.c (nonzero_bits): For paradoxical subregs, take
1850 LOAD_EXTENDED_OP into account.
1851
1852 Thu May 21 11:51:15 1998 Dave Brolley <brolley@cygnus.com>
1853
1854 * configure.in (extra_c_objs): add prefix.o.
1855 (extra_cxx_objs): extra objects for C++ with cpplib.
1856 * configure: Regenerate.
1857
1858 * c-tree.h: (get_directive_line): Different prototype for cpplib.
1859 (GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line.
1860
1861 * c-lex.h: (get_directive_line): Not needed here for cpplib.
1862
1863 * c-lex.c: (yy_cur,yy_lim,yy_get_token): Move to c-common.c.
1864 (GET_DIRECTIVE_LINE): Move to c-common.c and rename to get_directive_line.
1865
1866 * c-common.c (parse_in,parse_options,cpp_token): Declare for cpplib.
1867 (yy_cur,yy_lim,yy_get_token,get_directive,line): Moved here from c-lex.c
1868
1869 Thu May 21 09:04:42 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1870
1871 * gengenrtl.c (type_from_format, accessor_from_format): Change
1872 type of parameter `c' from `char' to `int'.
1873
1874 Wed May 20 22:28:34 1998 Jeffrey A Law (law@cygnus.com)
1875
1876 * warn_summary, test_summary: New scripts from
1877 Kaveh Ghazi and Alexandre Oliva respectively.
1878
1879 * gcse.c (current_function_calls_longjmp): Declare.
1880
1881 1998-05-20 Jason Merrill <jason@yorick.cygnus.com>
1882
1883 * dwarf2out.c (base_type_die): Use int_size_in_bytes.
1884
1885 Wed May 20 01:11:02 1998 Doug Evans (devans@cygnus.com)
1886 Jeff Law (law@cygnus.com)
1887
1888 * Global CSE and constant/copy propagation.
1889 * Makefile.in (OBJS): Add gcse.o
1890 (STAGESTUFF): Add *.gcse.
1891 (gcse.o): Add dependencies.
1892 (mostlyclean): Remove *.gcse and */*.gcse.
1893 * gcse.c: New file.
1894 * loop.c (loop_optimize): Move call to init_alias_analysis.
1895 * recog.c (validate_replace_src): New function.
1896 * toplev.c (gcse_dump): New global variable.
1897 (flag_gcse, gcse_time): Likewise.
1898 (compile_file): Initialize gcse_time and clean out the gcse dump
1899 file if necessary.
1900 (rest_of_compilation): Call gcse_main as requested. Dump RTL
1901 after gcse if requested.
1902 (main): Enable gcse for -O2 and above. Handle -dG. Enable gcse
1903 dumps for -da.
1904 * gcc.texi: Add gcse related internal documentation.
1905 * invoke.texi: Note new command line options for gcse.
1906 * tm.texi: Document AVOID_CCMODE_COPIES.
1907 * mips.h (AVOID_CCMODE_COPIES): Define.
1908
1909 Tue May 19 22:31:20 1998 Jeffrey A Law (law@cygnus.com)
1910
1911 * Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
1912 exists.
1913 (stmp-fixproto): Simlarly for running fixproto.
1914 * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.
1915
1916 Tue May 19 19:08:52 1998 Jim Wilson <wilson@cygnus.com>
1917
1918 * config/mips/mips.c (double_memory_operand): Accept any MEM during
1919 reload when TARGET_64BIT.
1920
1921 Tue May 19 18:21:25 1998 Jim Wilson <wilson@cygnus.com>
1922
1923 Finish incomplete change started by Kenner.
1924 * configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines.
1925 (powerpcle-*-cygwin32): Delete xm_defines.
1926 * final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use
1927 HAVE_STAB_H instead of NO_STAB_H.
1928 * config/xm-linux.h (NO_STAB_H): Delete.
1929 (HAVE_STAB_H): Undefine.
1930 * config/i386/xm-go32.h (NO_STAB_H): Delete.
1931
1932 1998-05-19 Jim Wilson <wilson@cygnus.com>
1933
1934 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore
1935 LANG_TYPE trees with DECL_SOURCE_LINE of 0.
1936
1937 Tue May 19 15:07:54 1998 Todd Vierling <tv@netbsd.org>
1938
1939 * arm/netbsd.h: Ensure DWARF2_UNWIND_INFO is undefined.
1940
1941 Tue May 19 17:19:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1942
1943 * reload1.c (reload_reg_free_for_value_p): New function.
1944 (allocate_reload_reg, choose_reload_regs): Use it.
1945
1946 Tue May 19 11:51:00 EDT 1998 Andrew MacLeod (amacleod@cygnus.com)
1947
1948 * except.c (expand_start_catch): Correct logic for when to
1949 generate a new handler label, and when to use the old one.
1950
1951 Tue May 19 11:08:52 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1952
1953 * Makefile.in (print-rtl.o): Depend on bitmap.h.
1954 (dbxout.o): Depend on toplev.h.
1955 ($(SCHED_PREFIX)sched.o): Likewise.
1956 ($(out_object_file)): Likewise for system.h and toplev.h.
1957 (cppmain.o): Depend on gansidecl.h.
1958 (cpplib.o): Likewise.
1959 (cpperror.o): Likewise.
1960 (cppexp.o): Likewise.
1961 (cpphash.o): Likewise.
1962 (cppalloc.o): Likewise.
1963 (fix-header.o): Depend on cpplib.h and cpphash.h.
1964 (scan-decls.o): Depend on gansidecl.h.
1965
1966 * basic-block.h (free_regset_vector): Add prototype.
1967
1968 * cccp.c (check_precompiled): Mark parameter `fname' with
1969 ATTRIBUTE_UNUSED.
1970 (do_assert): Likewise for `op' and `keyword'.
1971 (do_unassert): Likewise.
1972 (do_line): Likewise for `keyword'.
1973 (do_error): Likewise for `op' and `keyword'.
1974 (do_warning): Likewise.
1975 (do_ident): Likewise for `keyword'.
1976 (do_pragma): Likewise for `limit', `op' and `keyword'.
1977 (do_sccs): Likewise.
1978 (do_if): Likewise for `keyword'.
1979 (do_elif): Likewise.
1980 (do_else): Likewise.
1981 (do_endif): Likewise.
1982
1983 * collect2.c (getenv): Remove redundant prototype.
1984 (collect_exit, collect_execute, dump_file): Likewise.
1985 (dump_list): Wrap prototype and definition in COLLECT_EXPORT_LIST.
1986 (dump_prefix_list): Hide prototype and definition.
1987
1988 * sparc.c: Include toplev.h.
1989 (intreg_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED.
1990 (symbolic_memory_operand): Likewise.
1991 (sp64_medium_pic_operand): Likewise.
1992 (data_segment_operand): Likewise.
1993 (text_segment_operand): Likewise.
1994 (splittable_symbolic_memory_operand): Likewise.
1995 (splittable_immediate_memory_operand): Likewise.
1996 (eq_or_neq): Likewise.
1997 (normal_comp_operator): Likewise.
1998 (noov_compare_op): Likewise.
1999 (v9_regcmp_op): Likewise.
2000 (v8plus_regcmp_op): Likewise.
2001 (extend_op): Likewise.
2002 (cc_arithop): Likewise.
2003 (cc_arithopn): Likewise.
2004 (small_int): Likewise.
2005 (uns_small_int): Likewise.
2006 (clobbered_register): Likewise.
2007 (legitimize_pic_address): Likewise.
2008 (delay_operand): Likewise.
2009 (sparc_builtin_saveregs): Remove unused variable `stdarg'.
2010
2011 * sparc.h (order_regs_for_local_alloc, eligible_for_return_delay,
2012 sparc_issue_rate, v8plus_regcmp_p): Add prototypes.
2013
2014 * sparc.md (cmpdi_v8plus): Add abort for default case in switch.
2015
2016 * cppalloc.c: Include gansidecl.h.
2017
2018 * cpperror.c: Include stdarg.h/varargs.h and gansidecl.h.
2019 (cpp_file_line_for_message): Mark parameter `pfile' with
2020 ATTRIBUTE_UNUSED.
2021 (v_cpp_message): New function.
2022 (cpp_message): Use it. Also convert to variable arguments.
2023 (cpp_fatal): Likewise.
2024 (cpp_pfatal_with_name): Constify parameter `name'.
2025
2026 * cppexp.c: Move gansidecl.h before cpplib.h.
2027 * cpphash.c: Likewise.
2028 * cpphash.h (hashf, delete_macro): Add prototypes.
2029
2030 * cpplib.c: Include stdarg.h/varargs.h and move gansidecl.h before
2031 cpplib.h. Don't include errno.h.
2032 (update_path): Add arguments to prototype.
2033 (cpp_fatal, cpp_file_line_for_message, cpp_message, delete_macro,
2034 cpp_print_containing_files): Remove redundant prototypes.
2035 (cpp_hash_cleanup, add_import, append_include_chain,
2036 make_assertion, path_include, initialize_builtins,
2037 initialize_char_syntax, finclude, validate_else, comp_def_part,
2038 lookup_import, redundant_include_p, is_system_include,
2039 read_name_map, read_filename_string, open_include_file,
2040 check_macro_name, compare_defs, compare_token_lists,
2041 eval_if_expression, change_newlines): Add prototype arguments.
2042 (hashf): Remove redundant prototype.
2043 (read_token_list, free_token_list, safe_read, xcalloc, savestring,
2044 conditional_skip, skip_if_group): Add prototype arguments.
2045 (fdopen): Remove redundant prototype.
2046 (do_define, do_line, do_include, do_undef, do_error, do_pragma,
2047 do_ident, do_if, do_xifdef, do_else, do_elif, do_endif, do_sccs,
2048 do_once, do_assert, do_unassert, do_warning): Add prototype arguments.
2049 (struct directive): Add prototype arguments to function pointer
2050 member `func'.
2051 (handle_directive): Add missing arguments to call to `do_line'.
2052 (do_include): Mark parameters `unused1' and `unused2' with
2053 ATTRIBUTE_UNUSED.
2054 (do_line): Likewise for `keyword' and new parameters `unused1' and
2055 `unused2'.
2056 (do_error): Likewise for `keyword'.
2057 (do_warning): Likewise. Also add missing argument `pfile' in call
2058 to cpp_pedwarn.
2059 (do_once): Mark parameter `keyword', `unused1' and `unused2' with
2060 ATTRIBUTE_UNUSED.
2061 (do_ident): Likewise for `keyword', `buf' and `limit'.
2062 (do_pragma): Likewise. Also add missing arguments in call to do_once.
2063 (do_sccs): Mark parameter `keyword', `buf' and `limit' with
2064 ATTRIBUTE_UNUSED.
2065 (do_if): Likewise for `keyword'.
2066 (do_elif): Likewise.
2067 (eval_if_expression): Likewise for `buf' and `length'.
2068 (do_xifdef): Likewise for `unused1' and `unused2'.
2069 (do_else): Likewise for `keyword', `buf' and `limit'.
2070 (do_endif): Likewise.
2071 (parse_name): Add missing argument `pfile' in call to cpp_pedwarn.
2072 (cpp_handle_options): Remove superfluous NULL argument in call to
2073 cpp_fatal.
2074 (cpp_handle_options): Likewise.
2075 (do_assert): Mark parameter `keyword', `buf' and `limit' with
2076 ATTRIBUTE_UNUSED.
2077 (do_unassert): Likewise.
2078 (cpp_print_file_and_line): Add missing argument `pfile' in call to
2079 cpp_file_line_for_message.
2080 (v_cpp_error): New function.
2081 (cpp_error): Use it. Also accept variable arguments.
2082 (v_cpp_warning): New function.
2083 (cpp_warning): Use it. Also accept variable arguments.
2084 (cpp_pedwarn): Accept variable arguments.
2085 (v_cpp_error_with_line): New function
2086 (cpp_error_with_line): Use it. Accept variable arguments.
2087 (v_cpp_warning_with_line): New function.
2088 (cpp_warning_with_line): Use it. Accept variable arguments. Hide
2089 definition.
2090 (cpp_pedwarn_with_line): Accept variable arguments.
2091 (cpp_pedwarn_with_file_and_line): Likewise.
2092 (cpp_error_from_errno): Constify parameter `name'. Add missing
2093 argument `pfile' in call to cpp_file_line_for_message.
2094 (cpp_perror_with_name): Constify parameter `name'.
2095
2096 * cpplib.h: Define PARAMS() in terms of PROTO().
2097 (fatal): Remove redundant prototype.
2098 (cpp_error, cpp_warning, cpp_pedwarn, cpp_error_with_line,
2099 cpp_pedwarn_with_line, cpp_pedwarn_with_file_and_line,
2100 cpp_error_from_errno, cpp_perror_with_name, cpp_pfatal_with_name,
2101 cpp_fatal, cpp_message, cpp_pfatal_with_name,
2102 cpp_file_line_for_message, cpp_print_containing_files): Add
2103 arguments to prototypes.
2104 (scan_decls, cpp_finish): Add prototypes.
2105
2106 * cppmain.c: Include gansidecl.h.
2107 (main): Remove unused variable `i'.
2108
2109 * dbxout.c: Include toplev.h.
2110
2111 * demangle.h (do_tlink, collect_execute, collect_exit,
2112 collect_wait, dump_file, file_exists): Add prototype.
2113
2114 * dwarf2out.c (dwarf_type_encoding_name, decl_start_label): Hide
2115 prototype and definition.
2116 (gen_unspecified_parameters_die): Don't assign results of call to
2117 function new_die() to unused variable `parm_die'.
2118 (dwarf2out_line): Mark parameter `filename' with ATTRIBUTE_UNUSED.
2119 (dwarf2out_define): Likewise for `lineno' and `buffer'.
2120
2121 * dwarfout.c (output_unsigned_leb128, output_signed_leb128): Hide
2122 prototype and definition.
2123 (output_die): Add prototype arguments to function pointer arg.
2124 (output_unspecified_parameters_die): Mark parameter `arg' with
2125 ATTRIBUTE_UNUSED.
2126
2127 * except.c (output_exception_table_entry): Remove unused variable
2128 `eh_entry'.
2129
2130 * except.h (expand_fixup_region_start, expand_fixup_region_end):
2131 Add prototypes.
2132
2133 * expr.c (do_jump_by_parts_equality_rtx): Remove prototype.
2134
2135 * expr.h (do_jump_by_parts_equality_rtx): Add prototype.
2136
2137 * fix-header.c: Include stdarg.h/varargs.h, move gansidecl.h
2138 before cpplib.h, include cpphash.h, remove redundant prototype of
2139 cpp_fatal, don't define `const', add a prototype for `fatal'.
2140 (cpp_file_line_for_message): Add missing arguments `pfile'.
2141 (v_cpp_message): New function.
2142 (cpp_message): Use it.
2143 (v_fatal): New function.
2144 (fatal, cpp_fatal): Use it.
2145 (cpp_pfatal_with_name): Constify parameter `name'.
2146
2147 * flow.c (free_regset_vector): Remove redundant prototype.
2148
2149 * function.c (round_down): Wrap prototype and definition with
2150 macro ARGS_GROW_DOWNWARD.
2151 (record_insns): Wrap prototype and definition with
2152 defined (HAVE_prologue) || defined (HAVE_epilogue).
2153
2154 * gansidecl.h (ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5): New macros.
2155
2156 * gen-protos.c: Include gansidecl.h.
2157 (hashf): Don't make it static, constify parameter `name'.
2158
2159 * genattrtab.c (check_attr_test): Change XEXP() to XSTR() to match
2160 specifier %s in calls to function `fatal'.
2161
2162 * haifa-sched.c: Include toplev.h.
2163 (find_rgns): Remove unused variable `j'.
2164
2165 * integrate.c (note_modified_parmregs): Mark parameter `x' with
2166 ATTRIBUTE_UNUSED.
2167 (mark_stores): Likewise.
2168
2169 * jump.c (mark_modified_reg): Likewise.
2170
2171 * output.h (insn_current_reference_address): Add prototype.
2172 (eh_frame_section): Likewise.
2173
2174 * print-rtl.c: Include bitmap.h.
2175
2176 * reload1.c (reload): Wrap variables `note' and `next' in macro
2177 PRESERVE_DEATH_INFO_REGNO_P.
2178 (forget_old_reloads_1): Mark parameter `ignored' with
2179 ATTRIBUTE_UNUSED.
2180 (choose_reload_regs): Remove unused variable `in'.
2181 (reload_cse_invalidate_mem): Mark parameter `ignore' with
2182 ATTRIBUTE_UNUSED.
2183 (reload_cse_check_clobber): Likewise.
2184
2185 * rtl.h (expand_null_return, reg_classes_intersect_p): Add prototype.
2186 (mark_elimination): Fix typo in prototype.
2187
2188 * scan-decls.c: Include gansidecl.h.
2189
2190 * tree.h (using_eh_for_cleanups, supports_one_only): Add prototype.
2191
2192 Mon May 18 22:37:33 1998 Jeffrey A Law (law@cygnus.com)
2193
2194 * function.c (identify_blocks): Fix thinko when setting the
2195 block number for NOTE_INSN_BLOCK_END.
2196
2197 Mon May 18 15:30:42 1998 Nick Clifton <nickc@cygnus.com>
2198
2199 * config/v850/lib1funcs.asm: Add .text pseudo op to start of
2200 ___udivsi3.
2201
2202 * config/v850/lib1funcs.asm: Fix .size pseudo ops to use three
2203 underscores for the prefixes to the names of the maths functions.
2204
2205 * dbxout.c (dbxout_parms): Revert to using DECL_ARG_TYPE. Add
2206 comment explaining why.
2207
2208 Mon May 18 13:20:23 1998 Richard Henderson <rth@cygnus.com>
2209
2210 * tree.h (TYPE_SIZE_UNIT): New.
2211 (struct tree_type): Add size_unit member.
2212 * stor-layout.c (layout_type): Initialize it.
2213 * expr.c (get_inner_reference) [ARRAY_REF]: Use it.
2214 * tree.c (size_in_bytes, int_size_in_bytes): Likewise.
2215
2216 Mon May 18 12:07:37 1998 Richard Earnshaw (rearnsha@arm.com)
2217
2218 * stor-layout.c (layout_record): Fix off-by-one error when checking
2219 length of the TYPE_BINFO vector.
2220
2221 Mon May 18 10:59:23 1998 Nick Clifton <nickc@cygnus.com>
2222
2223 * dbxout.c (dbxout_parms): Use TREE_ARG to compute the type of a
2224 function parameter passed in memory.
2225
2226 Mon May 18 09:02:09 1998 Robert Lipe <robertl@dgii.com>
2227
2228 * dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files.
2229 Prototypes for externally used functions in respective C files.
2230 * dwarfout.c, dbxout.c, dwarf2out.c, sdbout.c, toplev,c,
2231 final.c: Include above files.
2232 * Makefile.in (toplev.o): Add dependency for above four headers.
2233 (final.o): Likewise.
2234 (dwarfout.o, dbxout.o, dwarf2out.o, sdbout.o): Depend on four
2235 respective header files.
2236
2237 Mon May 18 01:23:33 1998 Jeffrey A Law (law@cygnus.com)
2238
2239 * Makefile.in (TARGET_TOOLPREFIX): No longer define.
2240 (AR_FOR_TARGET, RANLIB_FOR_TARGET): Define to use versions in
2241 the build tree if they exist.
2242 (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Update
2243 appropriately.
2244 (objdir): Let configure substitute value.
2245 (FLOAT_H): Let configure select a pre-built version from the
2246 config subdir.
2247 * build-make (INSTALL_TARGET, ALL): Disable, no longer needed.
2248 * configure.in: Substitute for objdir.
2249
2250 * Makefile.in (build_canonical, host_canonical): Let configure
2251 substitute values for these variables.
2252 * configure.in: Substitute for build_canonical, host_canonical
2253 and target_subdir in generated Makefile.
2254
2255 * output.h (find_basic_blocks): Declare.
2256 (free_basic_block_vars, set_block_num, life_analysis): Likewise.
2257
2258 * Makefile.in (BISON): Use bison from the build tree if it exists.
2259 (FLEX): Similarly.
2260
2261 Mon May 18 00:08:19 1998 Nick Clifton <nickc@cygnus.com>
2262
2263 * gcc.c (SWITCH_CURTAILS_COMPILATION): Definition.
2264 (DEFAULT_SWITCH_CURTAILS_COMPILATION): True for options -S and -c.
2265 (process_command): If HAVE_EXECUTABLE_SUFFIX is defined then scan
2266 command line arguments to see if an executable is not being
2267 created, and if so - do not append the suffix.
2268
2269 * tm.texi (SWITCH_CURTAILS_COMPILATION): Add description of new
2270 driver macro.
2271
2272 Sun May 17 23:59:45 1998 John Wehle (john@feith.com)
2273
2274 * i386.h (ALIGN_DFmode): Delete.
2275 (CONSTANT_ALIGNMENT): Define.
2276 * varasm.c (force_const_mem): Use it.
2277
2278 Sun May 17 19:31:05 1998 Richard Henderson <rth@cygnus.com>
2279
2280 * alpha.c (alpha_emit_conditional_branch): Clear cmp_code after
2281 using it with swap_condition, not before.
2282
2283 Sun May 17 13:44:32 1998 Jim Wilson <wilson@cygnus.com>
2284
2285 * alias.c (mode_alias_check): Delete.
2286 (true_dependence, anti_dependence, output_dependence): Revert April 21
2287 change.
2288
2289 Sun May 17 08:45:21 1998 Krister Walfridsson <cato@df.lth.se>
2290
2291 * toplev.c (output_lang_identify): Enable prototype and definition.
2292
2293 Sun May 17 01:12:27 PDT 1998 Jeff Law (law@cygnus.com)
2294
2295 * version.c: Bump for snapshot.
2296
2297 Sat May 16 23:20:32 1998 Richard Henderson <rth@cygnus.com>
2298
2299 * alpha/osf.h (HAVE_STAMP_H): Define.
2300 * alpha.c: Use it.
2301 * alpha/netbsd.h, alpha/netbsd-elf.h: New files.
2302 * configure.in (alpha*-*-netbsd*): New.
2303 Based on patches from Paul H. Anderson <pha@pdq.com>.
2304
2305 * configure.in (alpha*-*-linux-*): Kill xm_defines.
2306 (alpha*-*-linux-gnulibc1*) [fixincludes]: Define.
2307 * alpha/xm-linux.h: Remove file.
2308
2309 Sat May 16 18:32:45 1998 Doug Evans <devans@canuck.cygnus.com>
2310
2311 * dbxout.c (dbxout_parms): If mode of type of parameter living
2312 in memory doesn't match mode of DECL_RTL, make big endian correction.
2313
2314 Fri May 15 21:40:06 1998 John Wehle (john@feith.com)
2315
2316 * i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
2317
2318 Fri May 15 18:55:22 1998 Jason Merrill <jason@yorick.cygnus.com>
2319
2320 * tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
2321 * stor-layout.c (layout_record): Set it.
2322
2323 Fri May 15 18:49:30 1998 Mark Mitchell <mmitchell@usa.net>
2324
2325 * toplev.c (rest_of_compilation): Don't defer nested functions.
2326
2327 Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
2328
2329 * config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
2330 to an 8-byte boundary if info_ptr->fpmem_p.
2331
2332 Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
2333
2334 * loop.c (basic_induction_var): Added test preventing
2335 CCmode parameter passed to convert_modes().
2336
2337 Fri May 15 17:26:18 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
2338
2339 * expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
2340 input_filename and lineno around expand_expr call. Set them to values
2341 in WFL before expand_expr call.
2342
2343 Fri May 15 12:44:57 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
2344
2345 * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
2346
2347 Fri May 15 07:20:03 1998 Mark Mitchell <mmitchell@usa.net>
2348
2349 * fold-const.c (constant_boolean_node): New function.
2350 (fold): Use it.
2351
2352 Fri May 15 11:21:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2353
2354 * sh.c (gen_shl_and): Don't sign extend constant for kind two.
2355 Abort if trying to split kind 3 or 4 outside of combine.
2356
2357 Fri May 15 01:47:37 1998 Jeffrey A Law (law@cygnus.com)
2358
2359 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
2360
2361 Fri May 15 01:42:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
2362
2363 * objc/Make-lang.in (OBJC_O): Add missing exeext.
2364 (libobjc.a, runtime-info.h): Likewise.
2365
2366 Fri May 15 01:29:39 1998 John Wehle (john@feith.com)
2367
2368 * i386.h (DATA_ALIGNMENT): Define.
2369
2370 Fri May 15 05:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2371
2372 * reload1.c (delete_output_reload): Ignore single USE that
2373 was emitted for the pseudo use of this INSN.
2374 If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
2375 remains, we can always delete OUTPUT_RELOAD_INSN.
2376
2377 Thu May 14 18:38:50 1998 Jim Wilson <wilson@cygnus.com>
2378
2379 * reload.c (find_reloads): Don't penalize SCRATCH output reload.
2380
2381 Thu May 14 15:10:30 1998 Jeffrey A Law (law@cygnus.com)
2382
2383 * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.
2384
2385 Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
2386
2387 * eh-common.h: New file for basic EH data structures.
2388 * except.h: Various prototypes and structures for NEW_EH_MODEL
2389 * function.h (struct function): Add a struct eh_stack for the catch
2390 clause stack.
2391 * except.c (gen_exception_label): New function to generate an
2392 exception label.
2393 (push_eh_entry): Use gen_exception_label() and init 'label_used' field.
2394 (push_entry): New function to push an existing entry onto a stack.
2395 (receive_exception_label): New function to emit the code required
2396 at the start of all catch blocks.
2397 (struct func_eh_entry): New structure for maintaining handlers
2398 associated with EH regions.
2399 (new_eh_region_entry): New function to register an EH region.
2400 (add_new_handler): New function to register a handler with a region.
2401 (get_new_handler): Creates anew handler entry for registering.
2402 (find_func_region): New function to convert a NOTE eh region number
2403 to an Eh region index.
2404 (get_first_handler): New function to get the first handler in a region.
2405 (clear_function_eh_region): New function to release memory.
2406 (duplicate_handlers): New function to duplicate a list of handlers.
2407 (expand_eh_region_end): Create a new region entry node as well.
2408 (expand_leftover_cleanups): Call receive_exception_label() and
2409 register the cleanup as a handler to the current region.
2410 (expand_start_catch): New function to start a catch clause.
2411 (expand_end_catch): New function to end a catch clause.
2412 (expand_start_all_catch): restructure to not do the equivilent of
2413 what expand_start_catch() does now. Push the exception region being
2414 handled onto the catch stack.
2415 (output_exception_table_entry): Issue an entry for each handler
2416 associated with a region.
2417 (set_exception_lang_code): New function for setting the language code.
2418 (set_exception_version_code): New function to set the version number.
2419 (output_exception_table): Output version and language codes.
2420 (find_exception_handler_labels): Find handler labels using new scheme.
2421 (is_exception_handler_label): New function, returns 1 if label is
2422 present as a handler in some exception region.
2423 (check_exception_handler_labels): Use the new scheme.
2424 (init_eh_for_function): Initialize the catch stack.
2425 (save_eh_status): Save the catch stack.
2426 (restore_eh_status): Restore the catch stack.
2427 (scan_region): Don't remove unreferenced handler label. Flow does it.
2428 (get_reg_for_handler): New function to get the eh_context pointer
2429 passed by __throw.
2430 (expand_builtin_eh_stub): Changes required for NEW_EH_MODEL only.
2431 * final.c (final_scan_insn): With NEW_EH_MODEL, add EH table
2432 entry when processing END region rather that START region.
2433 * flow.c (find_basic_blocks_1): Find all potential handler regions
2434 now that we don't automatically know what the labels might be.
2435 Let scan_region() remove unreferenced EH BEGIN/END labels.
2436 * integrate.c (get_label_from_map): Put inlined labels onto the
2437 permanent obstack since we dont know which ones might be exception
2438 labels.
2439 (save_for_inline_copying): Make new copies of all the handlers.
2440 (expand_inline_function): Make new copies of all the handlers.
2441 * libgcc2.c: Remove local struct decls, and include eh-common.h.
2442 (find_exception_handler): With NEW_EH_MODEL the first matching
2443 region we find is the right one. Add eh_info as a new parameter.
2444 (__throw): Pass eh_info to find_exception_handler. Set handler
2445 and pass use different regs under NEW_EH_MODEL.
2446
2447 Thu May 14 12:58:21 1998 Jim Wilson <wilson@cygnus.com>
2448
2449 * i960.h (hard_regno_mode_ok): Changed to function from array of
2450 unsigned.
2451 (HARD_REGNO_MODE_OK): Call function instead of testing bit.
2452 * i960.c (hard_regno_mode_ok): Changed to function from array of
2453 unsigned.
2454
2455 Thu May 14 08:41:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2456
2457 * reload.c (remove_replacements): New function.
2458 * reload.h (remove_replacements): Declare.
2459 * reload1.c (choose_reload_regs): Disable some reloads that
2460 belong to inherited reloads.
2461
2462 Thu May 14 02:17:17 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2463
2464 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
2465
2466 * reload1.c (merge_assigned_reloads): When merging, reset
2467 reload_spill_index for the eliminated reload.
2468
2469 Wed May 13 17:51:13 1998 Jeffrey A Law (law@cygnus.com)
2470
2471 * haifa-sched.c (schedule_insns): Fix merge goof.
2472
2473 1998-05-13 Jim Wilson <wilson@cygnus.com>
2474
2475 * varasm.c (make_decl_rtl): Revert April 1 change.
2476 * alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
2477 m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
2478 Get function name from the SYMBOL_REF in the DECL_RTL, not from
2479 DECL_ASSEMBLER_NAME.
2480 * i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
2481 DECL_ASSEMBLER_NAME.
2482
2483 Wed May 13 13:09:19 1998 Jim Wilson <wilson@cygnus.com>
2484
2485 * i386.c (notice_update_cc, output_float_compare): Disable
2486 TARGET_CMOVE support.
2487
2488 Wed May 13 15:28:59 1998 Michael Meissner <meissner@cygnus.com>
2489 Jeff Law <law@cygnus.com>
2490
2491 * rtlanal.c (find_reg_note): Ignore notes that are not on on
2492 insns of class 'i'.
2493 (find_regno_note): Likewise.
2494
2495 * Makefile.in (stor-layout.o): Depend on except.h
2496 (varasm.o, function.o): Likewise.
2497 (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
2498
2499 * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
2500 (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
2501 ($(HOST_PREFIX_1)rtl.o): Likewise.
2502 ($(HOST_PREFIX_1)bitmap.o): New host object.
2503 * emit-rtl.c (toplevel): Include bitmap.h.
2504 (gen_rtx): Handle 't' and 'b' nodes.
2505 * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
2506 Print block number for block begin/end notes. Print 't' type
2507 nodes as a pointer. Know that the 3rd argument of live range
2508 start/stop notes is really a range_info rtx. If type is 'b', print
2509 out argument as a bitmap.
2510 * rtl.c: Include bitmap.c.
2511 (copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
2512 (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
2513 * rtl.def (RANGE_LIVE): New node to hold live information while we
2514 recalculate the basic blocks.
2515 (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
2516 (RANGE_VAR): New node, to hold information saved in symbol node for New
2517 communicating live range information to the debug output functions.
2518 * rtl.h (rtunion_def): Add rttree and rtbit fields.
2519 (XBITMAP, XTREE): New accessor macros.
2520 (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
2521 (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
2522 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
2523 (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
2524 (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
2525 (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
2526 (RANGE_INFO_*): Likewise.
2527 * sched.c (sched_analyze): Keep live range start/stop notes.
2528 (unlink_other_notes): Likewise.
2529 * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
2530 (unlink_other_notes): Likewise.
2531 * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
2532 (BLOCK_LIVE_RANGE_FLAG): Likewise.
2533 (DECL_LIVE_RANGE_RTL): Likewise.
2534 (struct tree_block): Add live_range_flag, live_range_var_flag,
2535 live_range_start and live_range_end.
2536 (struct tree_decl): Add live_range_rtl field.
2537 * gengenrtl.c (type_from_format): Handle 'b' and 't'.
2538 (accessor_from_format): Likewise.
2539
2540 * haifa-sched.c (schedule_block): Make verbose output line up.
2541 Also add a blank line in printing the individual ready lists.
2542
2543 Wed May 13 15:43:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2544
2545 * Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
2546 (c-lex.o): Depend on output.h.
2547 (c-common.o): Likewise.
2548 (stmt.o): Likewise.
2549 (calls.o): Likewise.
2550 (integrate.o): Depend on toplev.h.
2551 (regclass.o): Depend on output.h.
2552 (final.o): Depend on reload.h.
2553
2554 * c-common.c: Include output.h.
2555 (check_format_info): Remove unused variable `integral_format'.
2556
2557 * c-decl.c (print_lang_decl): Mark parameters `file', `node' and
2558 `indent' with ATTRIBUTE_UNUSED.
2559 (print_lang_type): Likewise.
2560 (maybe_build_cleanup): Likewise for parameter `decl'.
2561 (copy_lang_decl): Likewise for parameter `node'.
2562
2563 * c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
2564 (lang_print_xnode): Mark parameters `file', `node' and `indent'
2565 with ATTRIBUTE_UNUSED.
2566 (lookup_interface): Likewise for parameter `arg'.
2567 (is_class_name): Likewise.
2568 (maybe_objc_check_decl): Likewise for parameter `decl'.
2569 (maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
2570 `reflexive'.
2571 (maybe_objc_method_name): Likewise for parameter `decl'.
2572 (build_objc_string): Likewise for parameters `len' and `str'.
2573
2574 * c-lex.c: Include output.h.
2575
2576 * c-lex.h (position_after_white_space): Correct typo in prototype.
2577
2578 * c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
2579 c_expand_end_cond, init_iterators): Add prototypes.
2580
2581 * caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
2582 with ATTRIBUTE_UNUSED.
2583
2584 * calls.c: Include output.h.
2585
2586 * cccp.c (pipe_closed): Mark parameter `signo' with
2587 ATTRIBUTE_UNUSED.
2588
2589 * combine.c: Move inclusion of expr.h to after insn-config.h.
2590
2591 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
2592 as empty, rather define as ((void)0).
2593
2594 * sparc.c (sparc_check_64): Add braces around ambiguous `else'.
2595 Add parentheses around assignment used as truth value.
2596
2597 * cplus-dem.c (squangle_mop_up): Change return type to void.
2598 (internal_cplus_demangle): Remove unused parameter `options'.
2599 All callers changed.
2600 (cplus_demangle_opname): Remove function wide variable `int i' and
2601 replace with `size_t i' at each location where it is used.
2602 (cplus_demangle_opname): change type of `i' from int to size_t.
2603
2604 * cppexp.c (right_shift): Mark parameter `pfile' with
2605 ATTRIBUTE_UNUSED.
2606
2607 * cpphash.c (cpp_lookup): Likewise.
2608 (cpp_hash_cleanup): Likewise.
2609
2610 * cpplib.c (parse_name): Add a prototype and make it static.
2611 (null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
2612 (null_cleanup): Likewise for parameters `pbuf' and `pfile'.
2613 (macro_cleanup): Likewise for parameter `pfile'.
2614 (file_cleanup): Likewise.
2615
2616 * cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
2617 cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
2618
2619 * crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
2620 __DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
2621
2622 * cse.c (cse_check_loop_start): Mark parameter `set' with
2623 ATTRIBUTE_UNUSED.
2624
2625 * dbxout.c (flag_minimal_debug, have_used_extensions,
2626 source_label_number): Move inside macro wrapper check against
2627 defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
2628
2629 * dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
2630
2631 * except.h (doing_eh): Provide prototype.
2632
2633 * expr.c: Move inclusion of expr.h to after insn-config.h.
2634
2635 * final.c: Include reload.h.
2636 (shorten_branches): Cast the first argument of bzero to char *.
2637
2638 * fix-header.c (cpp_print_containing_files): Mark parameter
2639 `pfile' with ATTRIBUTE_UNUSED.
2640 (cpp_fatal): Likewise.
2641
2642 * flow.c (find_basic_blocks_1): Cast the first argument of bzero
2643 to char *.
2644
2645 * genattrtab.c (make_length_attrs): Change the type of variable
2646 `i' from int to size_t.
2647 (zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
2648 (one_fn): Likewise.
2649
2650 * genextract.c (main): When generating insn-extract.c, mark
2651 variable `junk' with ATTRIBUTE_UNUSED.
2652
2653 * gengenrtl.c (gencode): When generating genrtl.c, cast the first
2654 argument of bzero to char*.
2655
2656 * integrate.c: Include toplev.h.
2657
2658 * libgcc2.c: Wrap `struct exception_table' and
2659 `find_exception_handler' in macro DWARF2_UNWIND_INFO.
2660
2661 * objc/Make-lang.in (objc-act.o): Depend on toplev.h.
2662
2663 * objc/objc-act.c: Include toplev.h.
2664 (lang_print_xnode): Mark parameters `file', `node' and `indent'
2665 with ATTRIBUTE_UNUSED.
2666 (finish_protocol): Likewise for parameter `protocol'.
2667
2668 * output.h (declare_weak): Add prototype.
2669 (decode_reg_name): Don't wrap with TREE_CODE macro.
2670 (assemble_alias): Add prototype.
2671
2672 * regclass.c: Include output.h.
2673
2674 * reload.h (reloads_conflict): Add prototype.
2675
2676 * rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
2677 output_func_start_profiler): Add prototypes.
2678
2679 * rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
2680 ATTRIBUTE_UNUSED.
2681
2682 * scan-decls.c: Include scan.h.
2683
2684 * scan.h (recognized_function, recognized_extern): Add prototypes.
2685
2686 * stmt.c: Include output.h.
2687
2688 * toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
2689 (output_lang_identify): Hide prototype and definition.
2690 (float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
2691 (pipe_closed): Likewise.
2692
2693 * toplev.h (count_error, strip_off_ending, error_for_asm,
2694 warning_for_asm): Add prototypes.
2695
2696 Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
2697
2698 * toplev.c (rest_of_compilation): "Charge" final for any time
2699 doing various cleanup operations after finishing compilation
2700 of a function.
2701
2702 * flow.c (dump_flow_info): Also print number of sets and
2703 whether or not the pseudo is a user variable.
2704
2705 * flow.c (reg_n_max): New global variable.
2706 * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
2707 Delete regno_max variable.
2708 * regs.h (REG_N_CHECK): Define.
2709 (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
2710 (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
2711 (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
2712
2713 Wed May 13 12:54:19 1998 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
2714
2715 * acconfig.h (ENABLE_CHECKING): Undefine.
2716 * configure.in (--enable-checking): New option.
2717
2718 Wed May 13 08:52:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2719
2720 * reload1.c (merge_assigned_reloads): Can merge
2721 RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
2722 if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
2723
2724 Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
2725
2726 * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
2727
2728 Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2729
2730 * reload1.c (gen_reload): Create REG_EQUIV notes.
2731
2732 Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2733
2734 * reload1.c (reload): Fix check for USEs to use code of pattern.
2735 (choose_reload_regs): Remove dead variable use_insn.
2736
2737 Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
2738
2739 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
2740
2741 Tue May 12 15:16:02 1998 Michael Meissner <meissner@cygnus.com>
2742
2743 * haifa-sched.c (HAIFA_INLINE): Define to be __inline unless
2744 already defined.
2745 (find_insn_{,mem_}list): Use HAIFA_INLINE, not __inline.
2746 (insn_{unit,issue_delay}): Ditto.
2747 (blockage_range): Ditto.
2748 (actual_hazard{,_this_instance}): Ditto.
2749 (schedule_unit): Ditto.
2750 (potential_hazard): Ditto.
2751 (insn_cost): Ditto.
2752 (swap_sort): Ditto.
2753 (queue_insn): Ditto.
2754 (birthing_insn_p): Ditto.
2755 (adjust_priority): Ditto.
2756 (get_block_head_tail): Ditto.
2757 (init_rgn_data_dependences): Ditto.
2758
2759 Tue May 12 10:27:54 1998 Klaus Kaempf <kkaempf@progis.de>
2760
2761 * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
2762
2763 Tue May 12 11:44:14 1998 Gavin Koch <gavin@cygnus.com>
2764
2765 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
2766
2767 Tue May 12 11:38:31 1998 Gavin Koch <gavin@cygnus.com>
2768
2769 * config/mips/mips.md (dslot): Move after definition of "cpu"
2770 attribute. Handle r3900 case.
2771
2772 Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2773
2774 * system.h: Define the STRINGIFY macro here.
2775 * protoize.c: Not here.
2776 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
2777
2778 Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
2779
2780 * varasm.c (assemble_variable): Compute the alignment of the data
2781 earlier so that both initialized and uninitialized variables are
2782 effected by DATA_ALIGNMENT.
2783 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
2784
2785 Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
2786
2787 * mips.c: Prototype static functions.
2788
2789 Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
2790
2791 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
2792 Add explanatory comments.
2793
2794 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
2795
2796 Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
2797
2798 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
2799
2800 Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
2801
2802 * varasm.c (make_decl_rtl): Disable April 1 change.
2803
2804 Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
2805
2806 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
2807
2808 Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
2809
2810 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
2811 * alpha.c (print_operand): Handle it.
2812 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
2813 related define_splits. Also add peepholes for SImode reload
2814 plus sign_extend lossage.
2815
2816 Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2817
2818 * genattr.c: Include stdarg.h/varargs.h. Change function
2819 `fatal' to use variable arguments instead of faking it with
2820 integer parameters. Provide a prototype which also
2821 checks the format specifiers using ATTRIBUTE_PRINTF_1.
2822
2823 * genattrtab.c: Likewise.
2824 * gencodes.c: Likewise.
2825 * genconfig.c: Likewise.
2826 * genemit.c: Likewise.
2827 * genextract.c: Likewise.
2828 * genflags.c: Likewise.
2829 * genopinit.c: Likewise.
2830 * genpeep.c: Likewise.
2831 * genrecog.c: Likewise.
2832 * genoutput.c: Likewise. Similarly for function `error'.
2833
2834 Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2835
2836 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
2837 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
2838 * configure.in: Use GCC_C_VOLATILE.
2839 * system.h (volatile): Define as empty if no volatile support is
2840 available.
2841
2842 Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
2843
2844 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
2845 generated fucntion.
2846
2847 Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
2848
2849 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
2850 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
2851 the body of beq; additionally set the mode of the branch to CCmode for
2852 FP compares and not fast_math.
2853 (alpha_emit_conditional_move): Always use a compare insn for FP
2854 when not fast_math, as well as setting CCmode on the cmov.
2855 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
2856
2857 * machmode.h (COMPLEX_MODE_P): New macro.
2858
2859 Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
2860
2861 * haifa-sched.c (print_exp): Fix typo.
2862
2863 Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
2864
2865 * version.c: Bump for snapshot.
2866
2867 Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
2868
2869 * final.c (final_scan_insn): Call fatal_insn instead of abort if
2870 we could not split an insn when required to.
2871
2872 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
2873 level insns.
2874 (peepholes): Disable peepholes that call dead_or_set_p.
2875 (movsi): Rewrite to handle addresses better after last change.
2876 Add define_split to split load of addresses in large/medium modes.
2877 (prologue): Call m32r_expand_prologue.
2878 (movsi_{push,pop}): Generators for push/pop.
2879 (movsi): Support PRE_{INC,DEC}, POST_INC.
2880 (mov{di,df}): Rewrite. Always split the insns.
2881 (movsf): Add define_split to get register load in correct mode.
2882 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
2883 (attributes): Rewrite attributes so that type indicates both the
2884 type and the length of the insn directly.
2885 (all insns): Change to use new type attributes.
2886 (debug): New attribute to convey whether -mdebug was used.
2887 (opt_space): New attribute to convey whether -Os was used.
2888 (function units): Loads are 3 cycles, not 2. Better classify all
2889 insns into short/long.
2890 (load/store/extend insns): Add separate case for load/store
2891 indirect operations without an offset.
2892 (divsi3): Division is a long operation, not short.
2893
2894 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
2895 modes > 1 word.
2896 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
2897 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
2898 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
2899 operands with PRE_{INC,DEC}, POST_INC.
2900 (FUNCTION_PROFILER): Call abort instead of doing nothing.
2901 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
2902 SImode variables.
2903 (gen_split_move_double): Declare.
2904 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
2905
2906 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
2907 emit_move_insn, build up SET's directly.
2908 (toplevel): Include system.h, not stdio.h.
2909 (move_double_src_operand): Allow any DF or DI mode constant.
2910 (gen_split_move_double): Split moves of DI or DF values into the
2911 appropriate moves, loads, or stores. Don't handle use of auto
2912 inc/dec if using dead index. Do handle overlapping moves, etc.
2913 (m32r_frame_info): Remove prologue_size field.
2914 (m32r_compute_frame_size): Don't calculate prologue size.
2915 (m32r_output_function_prologue): Change to pretty much a NOP.
2916 (m32r_expand_prologue): Expand prologue as a series of INSNs.
2917 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
2918 (m32r_print_operand_address): Ditto.
2919
2920 Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
2921
2922 * reload1.c (emit_reload_insns): When performing expensive
2923 optimizations, do not output the last reload insn if OLD is
2924 not the dest of NSN and is in the src and is clobbered by INSN.
2925
2926 Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2927
2928 * Makefile.in (genrtl.o): Depend on system.h.
2929 * gengenrtl.c (gencode): When creating genrtl.c, have it
2930 include system.h.
2931
2932 Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2933
2934 * config/m68k/t-linux: Remove extra stuff already included in
2935 config/t-linux.
2936
2937 Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
2938
2939 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
2940 curses.h if it contains `typedef char bool;', as suggested by
2941 Manfred Hollstein <manfred@s-direktnet.de>.
2942
2943 * configure.in: Rename fixinc.math to fixinc.wrap.
2944
2945 Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
2946
2947 * gcc.c (read_specs): Handle missing blank line at end of specs file.
2948
2949 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
2950 movdfcc_1): Disable.
2951
2952 Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
2953
2954 * configure.in (enable_threads): Rename to enable_threads_flag before
2955 main loop. Set enable_threads to enable_threads_flag inside main
2956 loop.
2957
2958 Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
2959
2960 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
2961 multiple times.
2962
2963 Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2964
2965 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
2966
2967 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
2968 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
2969 (AC_CHECK_FUNCS): Remove unused check for vprintf.
2970
2971 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
2972 (cccp.o): Depend on gansidecl.h.
2973 (cexp.o): Likewise.
2974
2975 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
2976 per the rest of gcc source.
2977 * cexp.y: Likewise. Include gansidecl.h and remove all code made
2978 redundant.
2979
2980 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
2981 used when vfprintf is missing.
2982 * cexp.y: Likewise.
2983 * gcc.c: Likewise.
2984 * genattrtab.c: Likewise.
2985 * mips-tfile.c: Likewise.
2986 * toplev.c: Likewise.
2987
2988 * vfprintf.c: New file.
2989 * doprint.c: New file.
2990
2991 Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
2992
2993 * config/linux.h (ASM_COMMENT_START): Remove from here,
2994 * config/linux-aout.h (ASM_COMMENT_START): and here,
2995 * config/i386/linux.h (ASM_COMMENT_START): to here,
2996 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
2997 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
2998 here as '#' too.
2999
3000 Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3001
3002 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
3003 constant.
3004
3005 Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
3006
3007 * Makefile.in (dwarfout.o) Add toplev.h dependency.
3008 * dwarfout.c, i386.c: Include toplev.h
3009 * toplev.h: (pfatal_with_name) Add prototype.
3010
3011 Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
3012
3013 * Makefile.in: Fix .SUFFIXES.
3014
3015 Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3016
3017 * config/linux.h (ASM_COMMENT_START): Define as "#".
3018 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
3019
3020 Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
3021
3022 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
3023 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
3024
3025 * toplev.c: Include toplev.h.
3026 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
3027 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
3028 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
3029 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
3030 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
3031 toplev.h dependency.
3032
3033 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
3034 HARD_FRAME_POINTER_REGNUM.
3035
3036 * expr.c (target_temp_slot_level): Delete duplicate definition.
3037
3038 Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
3039
3040 * stmt.c (mark_seen_cases): Make it have external linkage again.
3041 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
3042 has been included.
3043
3044 * haifa-sched.c (print_value, case SUBREG): Fix typo.
3045
3046 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
3047 * i386.h (REG_CLASS_CONTENTS): Similarly.
3048
3049 * toplev.c (-fsched-max): Delete flag.
3050 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
3051 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
3052 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
3053 conditionals.
3054
3055 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
3056 inner loops which are not reducible.
3057
3058 * loop.c (regs_match_p): Fix typo in prototype.
3059
3060 * regmove.c (try_auto_increment): Wrap declaration inside an
3061 #ifdef AUTO_INC_DEC.
3062
3063 Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
3064
3065 * final.c (output_operand_lossage): Call fatal with the operand
3066 lossage message instead of calling abort.
3067
3068 Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3069
3070 * c-common.c: Convert to using ctype macros defined in system.h.
3071 * c-lex.c: Likewise.
3072 * cccp.c: Likewise.
3073 * collect2.c: Likewise.
3074 * rs6000.c: Likewise.
3075 * cpplib.c: Likewise.
3076 * fix-header.c: Likewise.
3077 * gcc.c: Likewise.
3078 * gen-protos.c: Likewise.
3079 * pexecute.c: Likewise.
3080 * protoize.c: Likewise.
3081 * rtl.c: Likewise.
3082 * scan.c: Likewise.
3083 * stmt.c: Likewise.
3084 * tlink.c: Likewise.
3085 * toplev.c: Likewise.
3086
3087 Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
3088
3089 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
3090 Replace -gdwarf-2 with -g0.
3091
3092 Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3093
3094 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
3095 * mips-tdump.c: Include system.h, remove redundant headers.
3096 * mips-tfile.c: Likewise. Also, convert all ctype function calls
3097 to calls of the macro versions defined in system.h.
3098
3099 * objc/Make-lang.in (objc-act.o): Depend on system.h.
3100 * objc/objc-act.c: Include system.h, remove redundant headers.
3101
3102 Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3103
3104 * configure.in (AC_CHECK_FUNCS): Add isascii.
3105 (GCC_NEED_DECLARATIONS): Add atof.
3106
3107 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
3108 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
3109
3110 Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3111
3112 * system.h: Wrap time.h and sys/file.h in autoconf checks.
3113 Provide default definitions for O_RDONLY and O_WRONLY here.
3114
3115 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
3116
3117 1998-05-06 Mark Mitchell <mmitchell@usa.net>
3118
3119 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
3120
3121 Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
3122
3123 * toplev.h: New file. Protypes for functions in toplev.c.
3124 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
3125 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
3126 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
3127 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
3128 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
3129 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
3130 varasm.c: include it.
3131
3132 Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
3133 Jim Wilson (wilson@cygnus.com)
3134
3135 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
3136 blocks. Check for 1 successor which is the EXIT_BLOCK.
3137
3138 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
3139 unreachable loops with more than one block.
3140
3141 Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
3142
3143 * fix-header.c (write_rbrac): Add "abort" to functions which need to
3144 be protected.
3145
3146 Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
3147
3148 * Check in merge from gcc2. See ChangeLog.12 for details.
3149
3150 Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
3151
3152 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
3153 accept 'a' flag. 'S' does accept 'a' flag.
3154 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
3155 and `a' flag.
3156
3157 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
3158
3159 Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3160
3161 * config/m68k/m68k.h: Declare functions from m68k.c used in
3162 macros and machine description.
3163 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
3164 long values.
3165 (ASM_OUTPUT_FLOAT): Likewise.
3166 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3167
3168 Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
3169
3170 * tree.def: Add NAMESPACE_DECL.
3171 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
3172 * dwarf2out.c (push_decl_scope): Likewise.
3173 (scope_die_for): Likewise.
3174 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
3175 how to get next context level.
3176
3177 Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
3178
3179 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
3180 case.
3181
3182 Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
3183
3184 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
3185
3186 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
3187 for any insns skipped at the start of a block because they were
3188 redundant.
3189
3190 Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
3191
3192 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
3193
3194 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
3195
3196 * c-common.c (format_char_info): Add new field hhlen.
3197 (print_char_table, scan_char_table, time_char_table): Initialize
3198 hhlen field appropriately.
3199 (char_format_info): Recognize hh modifier and lookup correct char
3200 table entry.
3201
3202 Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
3203
3204 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
3205 reference if this is a store.
3206
3207 Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
3208
3209 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
3210
3211 Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
3212
3213 Make UnixWare 7 bootstrap support work with final shipping product.
3214 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
3215 Pick up xm-siglist and xm-alloca.
3216 (xm_defines): Add USG so dbxout will build.
3217 * configure: Regenerate.
3218
3219 Sun May 3 13:51:34 PDT 1998 Richard Henderson <rth@cygnus.com>
3220
3221 Support for official Sparc V9 ABI:
3222 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
3223 Care for flag_pcc_struct_return default.
3224 (output_move_quad): Rewrite to move by halves on v9 and in the
3225 proper direction.
3226 (move_quad_direction): New function.
3227 (output_fp_move_quad): Use it to determine the direction of copy.
3228 (function_arg_slotno): Return -1 for FP reg overflow as well.
3229 (function_arg_record_value*): New functions.
3230 (function_arg): Use them. Streamline unprototyped parameter passing.
3231 (function_arg_pass_by_reference): Pass TCmode by reference.
3232 (function_value): New function.
3233 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
3234 long long in 64-bit mode.
3235 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
3236 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
3237 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
3238 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
3239 (BASE_INCOMING_ARG_REG): Likewise.
3240 (FUNCTION_VALUE): Call function_value.
3241 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
3242 * sparc.md (movdi_sp32_v9): Disable for arch64.
3243 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
3244 (call_value_address_sp64): Remove register class constraints.
3245 (call_value_symbolic_sp64): Likewise.
3246 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
3247 v9 case to 32-bit constants.
3248 (goto_handler_and_restore_v9): Provide a version for arch64.
3249 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
3250 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
3251 (CPP_PREDEFINES): New.
3252 * sparc/sp64-elf.h: Likewise.
3253 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
3254 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
3255 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
3256
3257 Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
3258
3259 * version.c: Bump for snapshot.
3260
3261 Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3262
3263 * reload.c (find_reloads): Emit USEs to mark where a pseudo
3264 is reloaded with the MEM of its stack slot.
3265 * reload1.c (cannot_omit_stores): Delete.
3266 (reload): Don't initialize it.
3267 Don't apply avoid_return_reg logic to USEs.
3268 When done, remove USEs that have a REG_EQUAL note on them.
3269 (emit_reload_insns): Handle case where we have inherited a MEM.
3270 (choose_reload_regs): Likewise.
3271 (delete_output_reload): Don't use cannot_omit_stores.
3272
3273 Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
3274
3275 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
3276
3277 Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
3278
3279 * haifa-sched.c (print_{exp,value}): Various changes to make the
3280 debug output easier to read. Also, use only one buffer, and make
3281 sure the buffer we are passed in doesn't overflow.
3282 (safe_concat): Concatenate to a buffer without overflow.
3283
3284 Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3285
3286 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
3287 with the prototype.
3288
3289 Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3290
3291 * sched.c (new_insn_dead_notes): Check if the register was
3292 used in the original instruction.
3293 * haifa-sched.c (new_insn_dead_notes): Likewise.
3294
3295 Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
3296
3297 * dwarf2out.c (scope_die_for): If could not find proper scope,
3298 check for and handle tagged type with incorrect TYPE_CONTEXT.
3299
3300 Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
3301
3302 * calls.c (expand_call): Fix recognition of C++ operator new.
3303
3304 * alias.c (mode_alias_check): Disable type based alias detection.
3305
3306 Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
3307
3308 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
3309 ASM_OUTPUT_WEAK_ALIAS): Define.
3310 * config/mips/elf64.h: Same.
3311 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
3312 ASM_WEAKEN_LABEL): Removed.
3313
3314 Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3315
3316 * calls.c (expand_call): Bump the length limit on the specially
3317 recognized function names to 17.
3318
3319 Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
3320
3321 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
3322 when undefining macros at the end.
3323
3324 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
3325 val or len has TREE_SIDE_EFFECTS set.
3326
3327 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
3328 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
3329 (smuldi3_highpart): Call const v8plus routine.
3330 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
3331 (const_smulsi3_highpart_v8plus): New pattern.
3332 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
3333 (umulsidi3): Call const v8plus routine.
3334 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
3335 routine.
3336 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
3337 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
3338
3339 Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
3340
3341 * m32r.c (*_oper{and|ator}): Change enum arguments and return
3342 values to int, so they can be prototyped even in files that don't
3343 include rtl.h.
3344 ({small,large}_insn_p): Ditto.
3345 (m32r_select_cc_mode): Ditto.
3346 (gen_compare): Ditto.
3347 (function_arg_partial_nregs): Ditto.
3348 (m32r_setup_incoming_varargs): Ditto.
3349 (init_reg_tables): Add prototype.
3350 (m32r_frame_info): Add prolog_size field.
3351 (m32r_compute_frame_size): Calculate the size of the prologue.
3352 (m32r_first_insn_address): Return prologue size.
3353 (m32r_output_function_prologue): Calculate frame size before
3354 printing out information. Print out the prologue size.
3355
3356 * m32r.h: Prototype all functions in m32r.c.
3357 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
3358
3359 * m32r.md (bcc functions): Cast enum's to int.
3360
3361 * m32r.c (conditional_move_operand): Silence a debug message.
3362 ({small,long}_insn): New predicates.
3363
3364 * m32r.h (TARGET_M32R): New macro.
3365 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
3366 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
3367 was selected.
3368 (ISSUE_RATE): Define as 2.
3369
3370 * m32r.md (insn_size): New attribute.
3371 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
3372 short.
3373 (m32r): New attribute.
3374
3375 * configure.in (enable_haifa): Switch m32r to Haifa by default.
3376 * configure: Regenerate.
3377
3378 (Changes from Nick Clifton <nickc@cygnus.com>)
3379 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
3380 the equivalent of a negated 'I' constraint.
3381 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
3382 optimisation to work.
3383
3384 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
3385 than 'I' since the value is negated.
3386 (peephole): Add peephole optimisation to cope with optimization of
3387 divide and subtracts of the same operands.
3388
3389 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
3390 * m32r.h: Ditto.
3391 * m32r.md: Ditto.
3392
3393 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
3394 predicates.
3395
3396 Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
3397
3398 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
3399
3400 Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
3401
3402 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
3403 frame_pointer_rtx not FRAME_POINTER_REGNUM.
3404
3405 Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
3406
3407 * reg-stack.c: Revert last patch (Apr 20).
3408 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
3409
3410 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
3411
3412 * loop.c (check_dbra_loop): New locals jump, first_compare, and
3413 compare_and_branch. Call get_condition to set first_compare.
3414 Set compare_and_branch to number of compare/branch instructions.
3415 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
3416 Replace '2' with compare_and_branch.
3417
3418 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
3419
3420 * cplus-dem.c (demangle_qualified): Replace missing else.
3421
3422 Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3423
3424 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
3425
3426 Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3427
3428 * sh.c (sh_expand_prologue, sh_expand_epilogue):
3429 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
3430 * sh.h (STACK_BOUNDARY): Likewise.
3431
3432 Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3433
3434 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
3435
3436 Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
3437
3438 * system.h (abort): If abort is not defined, and neither is
3439 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
3440 reporting the line and filename of the error.
3441
3442 * .gdbinit: Add breakpoints on exit and fancy_abort.
3443
3444 * final.c (split_double): Avoid a compiler warning if
3445 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
3446
3447 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
3448 for calling jump_optimize.
3449
3450 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
3451 macros, rather than 0/1's.
3452
3453 Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
3454
3455 * alpha.h (CONST_COSTS): Zero is always free.
3456 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
3457
3458 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3459
3460 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
3461 length in the name of a virtual table.
3462
3463 Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
3464
3465 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
3466
3467 Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
3468
3469 * version.c: Bump for snapshot.
3470
3471 Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
3472
3473 * fold-const.c (fold_convert): Fix typo.
3474
3475 Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
3476
3477 * alias.c (alias_invariant): New variable.
3478 (record_base_value): New argument INVARIANT.
3479 (memrefs_conflict_p): If a register has an entry in the alias_invariant
3480 array, try substituting that value for the register.
3481
3482 * rtl.h: Declare record_base_value.
3483
3484 * loop.c, unroll.c: Update callers of record_base_value.
3485
3486 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
3487 ZERO_EXTEND do not affect base values.
3488
3489 Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
3490
3491 * dbxout.c (dbxout_type): Fix typo.
3492 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
3493
3494 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
3495
3496 Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
3497
3498 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
3499 if the argument is the address of a structure or array.
3500
3501 * configure.in: Enable Haifa scheduler by default for SPARC.
3502
3503 Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3504
3505 * cse.c (cse_set_around_loop): Don't do optimization when
3506 new pseudos are created.
3507
3508 Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
3509
3510 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
3511 appropriately.
3512 (dbxout_type_method_1, dbxout_type): Likewise.
3513 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
3514 (dbxout_type): Fix check for when to print a type range in
3515 octal vs decimal.
3516
3517 Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3518
3519 * (gen_shl_and, in case 1): Fix comparison with mask.
3520
3521 Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
3522
3523 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
3524 pointer as second register in REG+REG pair.
3525
3526 Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3527
3528 * c-common.c (check_format_info): Don't check for the 'x' format
3529 character twice, instead check for 'x' and 'X'
3530
3531 Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
3532
3533 * Makefile.in (libgcc2.ready): Add explicit dependancy from
3534 $(STMP_FIXPROTO) to ensure all necessary include files have
3535 been created and to guarantee proper parallel builds.
3536
3537 Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3538
3539 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
3540 register for stdarg functions.
3541 * sh.h (current_function_varargs): Declare.
3542 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
3543
3544 1998-04-23 Jim Wilson <wilson@cygnus.com>
3545
3546 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
3547 inhibit_libc is defined.
3548
3549 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
3550
3551 Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
3552
3553 * profile.c (tablejump_entry_p): New function.
3554 (branch_prob): Add code to recognize MIPS tablejump entry branch.
3555 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
3556
3557 Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
3558
3559 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
3560 found, rather than at end of the loop, after the insn has been
3561 changed.
3562
3563 Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3564
3565 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
3566 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
3567
3568 Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
3569
3570 * loop.c (note_addr_stored): Correct function to take 2 arguments,
3571 instead of 1.
3572
3573 * rtl.def (MATCH_INSN2): Add new matching pattern.
3574 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
3575
3576 Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
3577
3578 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
3579 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
3580
3581 * final.c (split_double): Sign extend both halves of a split CONST_INT.
3582
3583 Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
3584
3585 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
3586
3587 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
3588
3589 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
3590 (cplus_demangle_opname): Call mop_up_squangle.
3591 (cplus_demangle): Initialize squangle info, then call
3592 internal_cplus_demangle. (Most code moved there as well)
3593 (internal_cplus_demangle): New function, performs most of what use
3594 to be done in cplus_demangle, but is only called with this file.
3595 (squangle_mop_up): New function to clean up B and K code data.
3596 (mop_up): set pointers to NULL after freeing.
3597 (demangle_signature, demangle_template, demangle_class): Add
3598 switch elements to handle K and B codes.
3599 (demangle_prefix, gnu_special, demangle_qualified): Add
3600 code to handle K and B codes.
3601 (do_type, demangle_fund_type): Handle B and K codes.
3602 (remember_Ktype): New function to store K info.
3603 (register_Btype, remember_Btype): New functions for B codes.
3604 (forget_B_and_K_types): New function to destroy B and K info.
3605
3606 1998-04-21 Jim Wilson <wilson@cygnus.com>
3607
3608 * stmt.c (check_seenlabel): When search for line number note for
3609 warning, handle case where there is no such note.
3610
3611 Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
3612
3613 * genemit.c (gen_exp): Allow machine description to set mode of
3614 MATCH_OP_DUP.
3615
3616 Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
3617
3618 * alias.c (mode_alias_check): New function.
3619 (true_dependence, anti_dependence, output_dependence): Call
3620 mode_alias_check.
3621
3622 Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
3623
3624 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
3625 (MIPS_STACK_ALIGN): Similarly.
3626
3627 * c-common.c (type_for_mode): Handle TI types.
3628 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
3629 (init_decl_processing): Handle TI types.
3630 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
3631
3632 * mips.c (block_move_loop): Test Pmode == DImode instead of
3633 TARGET_MIPS64.
3634 (expand_block_move, save_restore_insns): Likewise.
3635 (function_prologue, mips_expand_prologue): Likewise.
3636 (mips_expand_epilogue): Likewise.
3637 * mips.h (POINTER_SIZE): Allow specific targets to override.
3638 (Pmode): Allow specific targets to override.
3639 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
3640 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
3641 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
3642 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
3643 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3644 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
3645 * mips.md (indirect, tablejump & casesi support): Test for
3646 Pmode == DImode instead of TARGET_MIPS64.
3647 (call patterns): Likewise.
3648
3649 Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3650
3651 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
3652 for gen_rtx(MEM, ...).
3653
3654 Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
3655
3656 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
3657 to not be so gross, and to properly function with PIC.
3658
3659 Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
3660
3661 * frame.c (heapsort): Rename to frame_heapsort.
3662
3663 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
3664
3665 Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
3666
3667 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
3668
3669 Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
3670
3671 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
3672 operands during and after reload.
3673
3674 Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3675
3676 * final.c (shorten_branches, init_insn_lengths): Move code
3677 to free label_align, uid_shuid, insn_lengths, insn_addresses
3678 and uid_align from the former function into the latter one;
3679 Add code to clear these variables.
3680 * sh.h (label_align): Remove declaration.
3681
3682 Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
3683
3684 * gcc.c (lang_specific_driver): Declare prototype properly so
3685 fatal can be passed to it without error.
3686
3687 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
3688 * configure: Regenerate.
3689 * config.in: Add #undef's for strchr and strrchr.
3690
3691 * protoize.c (toplevel): If we have rindex, but not strrchr, map
3692 rindex to strrchr.
3693 (file_could_be_converted): Use strrchr, not rindex since rindex is
3694 not defined on Linux systems when _POSIX_SOURCE is defined.
3695 (file_normally_convertible): Ditto.
3696 (process_aux_info_file): Ditto.
3697 (main): Ditto.
3698
3699 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
3700 a constant to an integer register, don't split the insns that do
3701 the simple AND and OR operations, rather just split each word, and
3702 let the normal movsi define split handle it further.
3703
3704 Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3705
3706 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
3707 (split_branches): Call init_insn_lengths.
3708
3709 Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
3710
3711 * i386.c: Include expr.h to get the change_address prototype
3712 declared.
3713
3714 Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
3715
3716 * reg-stack.c (subst_asm_stack_regs): Change to return the last
3717 new insn generated by this function.
3718 (subst_stack_regs): Likewise.
3719 (convert_regs): Record the last newly generated insn and use
3720 it for change_stack () instead of INSN.
3721
3722 Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
3723
3724 * fix-header.c (enum special_file): Undefine enumerators if they
3725 are already defined by include files.
3726 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
3727 macro with '__' to not pollute user namespace.
3728
3729 Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
3730
3731 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
3732
3733 Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
3734
3735 * version.c: Bump for snapshot.
3736
3737 Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
3738
3739 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
3740
3741 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
3742 Add missing -Dpentium* options.
3743 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
3744 instead of CPP_CPU_DEFAULT.
3745 (EXTRA_SPECS): Add entry for cpp_cpu_default.
3746
3747 Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
3748
3749 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
3750 negative in a stackless frame.
3751 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
3752 in stackless frame size. Support 64-bit stackless frame size.
3753 Combine fpmem offset calculations and don't add total_size to
3754 offset if not pushing a stack frame.
3755
3756 Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
3757
3758 * regmove.c (fixup_match_1): In three places, in flag_exceptions
3759 check, change p to q.
3760
3761 Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
3762
3763 * gcc.c (lang_specific_driver): Add new parm type to prototype.
3764 (added_libraries): New file scope static variable.
3765 (process_command): Initialize added_libraries. Pass it to
3766 lang_specific_driver.
3767 (main): Use added_libraries in check for no input files.
3768
3769 Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
3770
3771 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
3772 code generation. Use 64 bit instructions in 32 bit mode when
3773 possible. Use V9 return instruction. UltraSPARC optimizations.
3774
3775 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
3776
3777 Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
3778
3779 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
3780 just pass zero. That will work regardless of the size of HARD_REG_SET.
3781
3782 * libgcc2.c (__floatdisf): Fix a couple typos.
3783
3784 Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
3785
3786 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
3787
3788 Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
3789
3790 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
3791
3792 Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
3793
3794 * emit-rtl.c (operand_subword_force): If a register can not be
3795 accessed by words, copy it to a pseudo register.
3796
3797 Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
3798
3799 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
3800
3801 Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
3802
3803 * tree.h (mark_seen_cases): Delete declaration.
3804
3805 Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
3806
3807 * stmt.c (mark_seen_cases): Make static and add prototype.
3808
3809 Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3810
3811 * frame.c: Include stdlib.h and unistd.h to possibly get various
3812 function prototypes. The fixproto script guarantees these header
3813 files exist on the target system.
3814 * libgcc2.c: Likewise.
3815
3816 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
3817 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
3818 function parameters.
3819 * libgcc2.c (__udiv_w_sdiv): Likewise.
3820
3821 Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
3822
3823 * varasm.c (asm_output_bss): Add prototype.
3824 (asm_output_aligned_bss): Likewise.
3825
3826 * unroll.c (verify_addresses): Add prototype.
3827
3828 * toplev.c: Add many prototypes. Too many to mention here.
3829
3830 * stmt.c (check_seenlabel): Add prototype.
3831
3832 * rtlanal.c (reg_set_p_1): Add prototype.
3833 (reg_set_last_1): Likewise.
3834
3835 * reorg.c (find_dead_or_set_registers): Add prototype.
3836
3837 * regmove (try_auto_increment): Add prototype.
3838
3839 * reg-stack.c (pop_stack): Add prototype.
3840
3841 * recog.c (validate_replace_rtx_1): Add prototype.
3842 (find_cosntant_term_loc): Likewise.
3843
3844 * loop.c (regs_patch_p): Add prototype.
3845 (add_label_notes, count_nonfixed_reads): Likewise.
3846 (find_single_use_in_loop): Likewise.
3847 (express_from): Surround prototype with #ifdef.
3848 (giv_sort): Similarly.
3849
3850 * jump.c (mark_modified_reg): Add prototype.
3851
3852 * haifa-sched.c (is_prisky): Add prototype.
3853 (queue_to_ready): Likewise.
3854
3855 * genextract.c (gen_insn): Add prototype.
3856
3857 * genemit.c (max_operand_1): Add prototype.
3858 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
3859 (gen_expand, gen_explit, output_add_clobbers): Likewise.
3860 (output_init_mov_optab): Likewise.
3861
3862 * genattrtab.c (attr_hash_add_rtx): Add prototype.
3863 (attr_hash_add_string, write_length_unit_log): Likewise.
3864
3865 * genattr.c (init_range): Add prototype.
3866
3867 * combine.c (sets_function_arg_p): Add prototype.
3868
3869 * expr.c (store_constructor_field): Add prototype.
3870 (get_memory_usage_from_modifier): Likewise
3871
3872 * expmed.c (synth_mult): Add prototype.
3873 (choose_multiplier, invert_mod2n): Likewise.
3874
3875 * except.c (push_eh_entry): Add prototype.
3876 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
3877 (call_get_eh_context, start_dynamic_cleanup): Likewise.
3878 (start_dynamic_handler, can_throw): Likewise.
3879 (output_exception_table_entry, scan_region): Likewise.
3880 (eh_regs, set_insn_eh_region): Likewise.
3881
3882 * dwarfout.c (decl_class_context): Add prototype.
3883 (output_inheritance_die, type_ok_for_scope): Likewise.
3884
3885 * c-lex.c (skip_white_space_on_line): Add prototype.
3886
3887 * alias.c (record_set): Add prototype.
3888 (find_base_term, base_alias_check): Likewise.
3889
3890 * function.c (assign_outer_stack_local): Make static and add prototype.
3891
3892 * haifa-sched.c (build_control_flow): Accept raw data as inputs
3893 instead of computing it locally. Callers changed.
3894 (find_rgns): Several new arguments. Callers changed.
3895 Generally clean up and comment better. Use dominators to
3896 identify reducible loops. Convert some flag arrays to bitmaps.
3897 Convert most of the code to work on pred/succ lists instead of
3898 an edge table. Add comments for future improvements.
3899 (schedule_insns): Allocate temporary tables for flow data, call
3900 routines to compute flow data and pass it along to children as
3901 arguments.
3902 (debug_control_flow): Delete. Use dump_bb_data instead.
3903
3904 * basic-block.h (compute_dominators): Declare.
3905
3906 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
3907 functions.
3908 * basic-block.h: Declare them.
3909
3910 Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
3911
3912 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
3913 no operands.
3914
3915 Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
3916
3917 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
3918 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
3919 node is non NULL. Cache last file name and file name identifier node.
3920
3921 1998-04-15 Mark Mitchell <mmitchell@usa.net>
3922
3923 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
3924 the length of an array, not TREE_TYPE.
3925
3926 Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
3927
3928 * flow.c (sbitmap_union_of_successors): New function.
3929 * basic-block.h (sbitmap_union_of_successors): Declare it.
3930
3931 Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
3932
3933 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
3934 Set gnu_ld to gnu_ld_flag inside main loop.
3935 (gas): Likewise.
3936
3937 Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
3938
3939 * toplev.c (compile_file): Call init_parse using new interface.
3940 (init_lex): Remove declaration.
3941
3942 * c-lex.c (init_parse): Now returns char* containing filename.
3943
3944 Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
3945
3946 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
3947
3948 Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
3949
3950 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
3951 (gen{extract,peep,opinit,output}): Ditto.
3952
3953 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
3954 global definition so print-rtl.o can be linked in.
3955 * gen{peep,recog}.c (insn_attr_name): Ditto.
3956
3957 Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
3958
3959 * fixincludes: discard empty C++ comments, as found in sys/time.h
3960 on hpux-11.0.
3961
3962 Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3963
3964 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
3965 operand.
3966
3967 Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
3968
3969 * emit-rtl.c (operand_subword): Rework slightly to avoid
3970 bogus warning from previous change.
3971
3972 Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
3973
3974 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
3975 Nov 8 find_replacement change. Move decls of get_unaligned_address
3976 * alpha.h: ... here.
3977
3978 Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
3979
3980 * function.c (assign_parms): Initialize unsignedp before passing
3981 its pointer to promote_mode.
3982
3983 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
3984 (write_test_expr): Allow MATCH_INSN.
3985
3986 Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
3987
3988 * install.texi: Update section on warnings that can be safely ignored.
3989
3990 Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
3991
3992 * mips.md (reload_outdi): Change the scratch mode from DImode to
3993 TImode. New variable scratch, used instead of operand[2] in template.
3994 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
3995
3996 Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
3997
3998 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
3999
4000 Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
4001
4002 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
4003
4004 Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
4005
4006 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
4007 (ASM_FINISH_DECLARE_OBJECT): Likewise.
4008
4009 * Idea and part of the patch from HJ.
4010 * Makefile.in: auto-host.h renamed from auto-config.h. All references
4011 changed.
4012 (distclean): Remove auto-build.h too.
4013 * configure.in: Rename host autoconf generated file to auto-host.h.
4014 If host != build, then run autoconf to generate auto-build.h for
4015 the build machine and include it in build_xm_files.
4016 Check for wait.h and sys/wait.h.
4017
4018 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
4019 TRULY_NOOP_TRUNCATION.
4020
4021 Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
4022
4023 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
4024
4025 Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
4026
4027 * invoke.texi (ld options) Include memset requirements
4028 for options -nodstdlib and -nodefaultlibs.
4029
4030 1998-04-12 Paul Eggert <eggert@twinsun.com>
4031
4032 This change is from an idea suggested by Arthur David Olson.
4033
4034 * c-common.c (decl_attributes, record_function_format,
4035 check_format_info, init_function_format_info):
4036 Add support for strftime format checking.
4037 (enum format_type): New type.
4038 (record_function_format): Now static, and takes value of type
4039 enum format_type instead of int.
4040 (time_char_table): New constant.
4041 (struct function_format_info): format_type member renamed from is_scan.
4042 (check_format_info): Use `warning' rather than sprintf followed by
4043 `warning', to avoid mishandling `%' in warnings.
4044 Change `pedwarn' to `warning', since these warnings do not necessarily
4045 mean the program does not conform to the C Standard, as the code
4046 need not be executed.
4047
4048 * c-tree.h (record_function_format): Remove decl; no longer extern.
4049
4050 * extend.texi: Add documentation for strftime format checking.
4051
4052 Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
4053
4054 * mips/ecoffl.h: Do not include mips.h.
4055 * mips/elf.h: Likewise.
4056
4057 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
4058 * mips/ecoff.h: Include "mips/mips.h".
4059
4060 Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
4061
4062 * version.c: Bump for snapshot.
4063
4064 Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
4065
4066 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
4067 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
4068 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
4069 between loop optimization passes.
4070 * rtl.h: Updated appropriately.
4071
4072 Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
4073
4074 Reinstall this patch from Jason.
4075 * function.c (push_function_context_to): Don't call init_emit.
4076
4077 Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
4078
4079 * rtl.c (read_skip_spaces): Prevent infinite loops upon
4080 encountering unterminated comments.
4081
4082 Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
4083
4084 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
4085 64x32 cross builds.
4086
4087 * configure.in: Handle --with-fast-fixincludes.
4088 (fixincludes): If --with-fast-fixincludes, then use a different
4089 fixincludes program by default.
4090 * Makefile.in (fixinc.sh): New rule.
4091
4092 Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
4093
4094 * i386.md (movqi+1): Handle invalid QI register.
4095 (movsf_push-1): Likewise.
4096
4097 Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
4098
4099 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
4100 addresses.
4101 symbolic_memort_operand(), call32_operand(), int8_operand(),
4102 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
4103 Not used.
4104 uint16_operand(): Made static.
4105
4106 Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
4107
4108 * calls.c (expand_call): Fix typo.
4109
4110 Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
4111
4112 * c-lex.c (finput): New global.
4113 (init_parse): Always included. Handle !USE_CPPLIB using
4114 code originally in compile_file.
4115 (finish_parse): Update for CPPLIB.
4116 * toplev.c (init_parse, finish_parse): Declare.
4117 (finput): Delete variable. Now in front-ends.
4118 (compile_file): Remove code which is now handled by init_parse
4119 which is unconditionally called. Similarly for finish_parse.
4120
4121 Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
4122
4123 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
4124 ASM_WEAKEN_LABEL): Add.
4125
4126 Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
4127
4128 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
4129 * configure.in (alpha-*-linux*): Use them.
4130
4131 Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
4132
4133 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
4134 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
4135 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
4136 (build_expr_wfl): New prototype declaration.
4137 * tree.c (build_expr_wfl): New function, to build
4138 EXPR_WITH_FILE_LOCATION nodes.
4139 (copy_node): Don't zero TREE_CHAIN if copying a
4140 EXPR_WITH_FILE_LOCATION node.
4141 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
4142 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
4143
4144 Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
4145
4146 * configure.in (v850): Use t-v850.
4147 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
4148
4149 * protoize.c (creat, read, write): Do not declare.
4150
4151 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
4152 refer to the CODE_LABEL before a dispatch table.
4153
4154 * invoke.texi: Add ARC options.
4155
4156 * gcc.c (proces_command): Improve error message for -o with
4157 either -c or -S.
4158
4159 * i386/x-cygwin32 (CLIB): Link in advapi32.
4160
4161 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
4162 (ASM_IDENTIFY_LANGUAGE): Likewise.
4163
4164 * i386.md (movqi recognizer): Don't perfom byte increment into
4165 a NON_QI_REG_P.
4166
4167 * configure.in (x86-dg-dgux): Run fixinc.dgux.
4168
4169 * i370.h: Fix typo in GEN_INT changes.
4170
4171 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
4172 of an empty arglist in prototype.
4173
4174 * Makefile.in: Remove bytecode crud that crept back in after the
4175 gcc2 merge.
4176
4177 1998-04-08 Brendan Kehoe <brendan@cygnus.com>
4178
4179 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
4180 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
4181
4182 Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
4183
4184 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
4185
4186 Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
4187
4188 * c-lex.c (is_class_name): Delete declaration.
4189 (whitespace_cr): Make static and add prototype.
4190 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
4191 yylex, get_directive_line): Turn declarations into prototypes.
4192 (position_after_whitespace, check_newline, yyerror,, is_class_name,
4193 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
4194 prototypes.
4195 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
4196 prototypes.
4197 * gencodes.c (gen_insn): Add prototype.
4198 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
4199 gen_peephole): Add prototypes.
4200 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
4201 prototypes.
4202 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
4203 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
4204 genheader, gencode): Add prototypes.
4205 * genopinit.c (gen_insn): Add prototype.
4206 * genoutput.c (output_prologue, output_epilogue, scan_operands,
4207 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
4208 gen_expand, gen_split, n_occurrences): Add prototypes.
4209 * genpeep.c (gen_peephole): Add prototype.
4210 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
4211 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
4212 labels_in_range_p, count_loop_regs_set, note_addr_stored,
4213 loop_reg_used_before_p, scan_loop, replace_call_address,
4214 skip_consec_insns, libcall_benefit, ignore_some_movables,
4215 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
4216 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
4217 check_final_value, record_giv, update_giv_derive, basic_induction_var,
4218 simplify_giv_expr, general_induction_var, consec_sets_giv,
4219 check_dbra_loop, express_from, combine_givs_p, combine_givs,
4220 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
4221 last_use_this_basic_block, record_initial, update_reg_last_use,
4222 iteration_info, analyze_loop_iterations, insert_bct,
4223 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
4224 into prototypes.
4225
4226 Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
4227
4228 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
4229
4230 1998-04-07 Ken Raeburn <raeburn@cygnus.com>
4231
4232 * config/mips/mips.c (siginfo): Deleted.
4233 (override_options): Don't install SIGINFO signal handler.
4234
4235 Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
4236
4237 * loop.c (check_dbra_loop): When normalize comparison_val, add check
4238 to verify it is non-negative.
4239
4240 Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
4241
4242 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
4243 (alpha_expand_block_clear): Likewise.
4244
4245 Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
4246
4247 * tree.h (sizetype_tab): Fix previous change for K&R.
4248
4249 Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
4250
4251 * version.c: Bump for snapshot.
4252
4253 Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
4254
4255 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
4256 Add USG and POSIX to xm_defines.
4257
4258 Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
4259
4260 * gcc.c: Add linker spec.
4261 (link_command_spec): Use %(linker) instead of ld.
4262 (main): If collect2 is requested as the linker, see if it exists;
4263 if not, use ld instead.
4264
4265 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
4266 (ld:) Deleted.
4267 (install-collect2): Install as collect2, not ld.
4268
4269 * configure.in(will_use_collect2): It's named collect2 now.
4270
4271 * collect2: Remove checks to see if we were invoked recursively.
4272 (collect_execute): Use _spawnvp under cygwin32.
4273
4274 Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
4275
4276 * haifa-sched.c (build_control_flow): Set unreachable for block whose
4277 only predecessor is itself.
4278
4279 Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4280
4281 * c-parse.in: Include system.h, and remove stuff now made redundant.
4282 * cccp.c: Likewise.
4283 * cexp.y: Likewise.
4284 * protoize.c: Likewise. Properly check for cpp stringification.
4285
4286 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
4287 Depend on system.h.
4288
4289 * objc/Make-lang.in (objc-parse.o): Likewise.
4290
4291 Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4292
4293 * gansidecl.h: Check if compiler supports __attribute__. Provide
4294 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
4295 __attribute__ when its available. Also provide definitions for
4296 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
4297 terms of ATTRIBUTE_PRINTF.
4298
4299 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
4300 of __attribute__.
4301
4302 Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
4303
4304 * combine.c (can_combine_p): Include successor in volatile test.
4305
4306 Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4307
4308 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
4309 offset_unsigned.
4310
4311 Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
4312
4313 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
4314 in prototype and definition.
4315
4316 Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
4317
4318 * version.c: Bump for snapshot.
4319
4320 Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
4321
4322 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
4323 alpha_expand_unaligned_store_words.
4324
4325 Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
4326
4327 * i386.md (movsf_push, movsf_mem): Remove.
4328 (movsf_push): Rename from movsf_push_nomove and move in front of
4329 movsf. Use nonmemory_operand predicate and don't bother checking
4330 TARGET_MOVE.
4331 (movsf_push_memory): New pattern.
4332 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
4333 both operands refer to memory then force operand[1] into a register.
4334 (movsf_normal): Change to unnamed pattern.
4335 Likewise for movdf, movxf, and friends.
4336
4337 Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
4338
4339 * version.c: Bump for snapshot.
4340
4341 Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
4342
4343 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
4344
4345 Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
4346
4347 * configure.in (mips-wrs-vxworks): New target.
4348
4349 Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
4350
4351 * expmed.c (synth_mult): The value -1, has no zeros, so it can
4352 never have the form ...011.
4353
4354 * version.c: Bump for snapshot.
4355
4356 Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
4357
4358 * i386.c (asm_output_function_prefix, load_pic_register):
4359 Use ASM_GENERATE_INTERNAL_LABEL properly.
4360 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
4361 (print_operand): Ignore it.
4362 (load_pic_register): Use it for the got load call.
4363 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
4364 (prologue_get_pc_and_set_got): Likewise.
4365 * i386.h: Update print_operand docs.
4366
4367 Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
4368
4369 * i386.md (ffssi, ffshi): Rewrite as define_expands.
4370 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
4371 * i386.c (notice_update_cc): Recognize unspec 5.
4372
4373 Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
4374
4375 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
4376 * alpha.c (print_operand): Handle it.
4377 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
4378 for ALPHA_TP_INSN.
4379 (fix_truncdfdi2): Likewise.
4380
4381 Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
4382
4383 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
4384 of these into a single struct, with additional [us]sizetype entries.
4385 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
4386 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
4387 an array.
4388
4389 Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
4390
4391 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
4392
4393 Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
4394
4395 * haifa-sched.c (split_block_insns): Don't supress insn splitting
4396 on subsequent passes.
4397
4398 * alpha.c (hard_fp_register_operand): New function.
4399 * alpha.h (PREDICATE_CODES): Add it.
4400 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
4401 f<-m case and accompanying define_split.
4402 (trapb): Use a unique unspec_volatile number.
4403
4404 Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
4405
4406 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
4407 from gcc2 merge.
4408
4409 Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
4410
4411 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
4412 for details.
4413
4414 * haifa-sched.c: Mirror recent changes from gcc2.
4415
4416 Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
4417
4418 * Makefile.in (insn*.o): Depend on system.h.
4419
4420 * pa.c (output_global_address): Initialize base.
4421 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
4422
4423 1998-04-03 Mike Stump <mrs@wrs.com>
4424
4425 * gthr.h: Support systems that don't have weak, but have threads.
4426 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
4427 * gthr-vxworks.h: New file.
4428 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
4429
4430 Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
4431
4432 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
4433
4434 1998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
4435
4436 * ginclude/va-i960.h (va_end): Change void * to void.
4437
4438 Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4439
4440 * Makefile.in (choose-temp.o): Depend on system.h.
4441
4442 * choose-temp.c: Include system.h when IN_GCC.
4443
4444 Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
4445 Richard Henderson <rth@cygnus.com>
4446
4447 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
4448 (move_replacements): New function.
4449 * reload.h: Prototype it.
4450
4451 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
4452
4453 Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
4454
4455 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
4456 Run fixincludes.
4457
4458 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
4459 (gen_highpart): Likewise.
4460 * final.c (alter_subreg): Allow the target to hook by-mode subreg
4461 hard register number changes.
4462
4463 Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
4464
4465 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
4466 rnbitsize, rnmode and rinner.
4467 (make_range): Initialize type.
4468 (fold): Initialize arg0, arg1 and varop.
4469
4470 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
4471 and regnor.
4472 (expand_function_start): Initialize last_ptr.
4473
4474 * stor-layout.c (layout_record): Initialize desired_align.
4475 (get_best_mode): Initialize unit.
4476
4477 * tree.c (copy_node): Initialize length.
4478
4479 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
4480
4481 * caller-save.c (insert_save_restore): Initialize pat, code and
4482 numregs.
4483
4484 * emit-rtl.c (push_to_sequence): Initialize top.
4485 (push_topmost_sequence): Likewise.
4486
4487 * genattrtab.c (simplify_by_exploding): Initialize defval.
4488
4489 * profile.c (branch_prob): Initialize dest.
4490
4491 * rtl.h (note_stores): Remove duplicate prototype.
4492 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
4493
4494 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
4495 strings that are not actually lengths.
4496
4497 * genattrtab.c: Make generated file use system.h, instead of
4498 including stdio.h, etc directly.
4499 * genextract.c, genopinit.c, genoutput.c: Likewise.
4500 * genpeep.c, genrecog.c: Likewise
4501
4502 * genoutput.c (process_template): Mark operands in the generated
4503 function as potentially unused if compiling with GNU CC.
4504
4505 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
4506
4507 * pa.md (reload peepholes): Remove unused variable "mode".
4508
4509 Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
4510
4511 * config/arm/thumb.h: Add super interworking support.
4512 * config/arm/thumb.c: Add super interworking support.
4513 * config/arm/thumb.md: Add super interworking support.
4514 * config/arm/lib1funcs.asm: Add interworking support.
4515 * config/arm/lib1thumb.asm: Add super interworking support.
4516 * config/arm/t-semi: Add interworking support.
4517 * config/arm/t-thumb: Add interworking support.
4518 * config/arm/README-interworking: New file.
4519
4520 Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
4521
4522 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
4523 (MD_STARTFILE_PREFIX): Unset.
4524
4525 1998-04-01 Mark Mitchell <mmitchell@usa.net>
4526
4527 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
4528 entity in a local scope.
4529
4530 * fold-const.c (fold): Call truthvalue_conversion for values which
4531 are folded to boolean type.
4532
4533 Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
4534
4535 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
4536 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
4537 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
4538 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
4539 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
4540 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
4541 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
4542 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
4543 * md.texi: Likewise.
4544
4545 Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
4546
4547 * fixincludes (limits.h): Fix nested comments in Motorola's
4548 limits.h and sys/limits.h.
4549
4550 Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
4551
4552 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
4553 as dest of expand_binop call.
4554
4555 * alpha.md (extzv): Correct check for valid operand[2] values.
4556
4557 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
4558 branch.
4559
4560 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
4561
4562 Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
4563
4564 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
4565 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
4566
4567 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
4568 cygwin32 can override this to allow both unix and win32 style PATHs.
4569
4570 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
4571 style environment paths.
4572
4573 Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4574
4575 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
4576 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
4577 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
4578 system.h.
4579
4580 * cpphash.c: Include config.h.
4581 * cppalloc.c: Include system.h. Add parameters to various
4582 function prototypes.
4583 * cpperror.c: Likewise.
4584 * cppexp.c: Likewise.
4585 * cpphash.c: Likewise.
4586 * cpplib.c: Likewise.
4587 * cppmain.c: Likewise.
4588 * fix-header.c: Likewise.
4589 * gcov.c: Likewise.
4590 * gen-protos.c: Likewise.
4591 * gengenrtl.c: Likewise.
4592 * halfpic.c: Likewise.
4593 * hash.c: Likewise.
4594 * scan-decls.c: Likewise.
4595 * scan.c: Likewise.
4596
4597 Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
4598
4599 * README.gnat: Add lang_print_xnode definition.
4600
4601 Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4602
4603 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
4604 fmovecr on the 68060.
4605
4606 Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
4607
4608 * genemit.c (DONE): Rework so that it works in the true arm if
4609 an if-else conditional.
4610 (FAIL): Likewise.
4611
4612 Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
4613
4614 * rs6000.c: Do not include stdioh or ctype.h anymore.
4615
4616 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
4617 $(RTL_H).
4618 (stor-layout.o): Likewise.
4619 * c-typeck.c: Include rtl.h and expr.h.
4620 * stor-layout.c: Likewise.
4621
4622 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
4623 All callers changed.
4624 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
4625 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
4626 All callers changed.
4627
4628 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
4629
4630 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
4631
4632 * tree.h (lang_print_xnode): Provide prototype.
4633
4634 Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
4635
4636 * version.c: Bump for snapshot.
4637
4638 Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
4639
4640 * objc/sendmsg.c (__objc_block_forward): Add braces for return
4641 value if INVISIBLE_STRUCT_RETURN.
4642
4643 * pa.c (arith_double_operand): Fix parens.
4644
4645 * haifa-sched.c (print_pattern): Correct arg to sprintf.
4646
4647 * Makefile.in (libgcc1.null): Make return type for __foo void.
4648
4649 Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
4650
4651 * pa.h: Add declarations for many functions defined in pa.c.
4652
4653 * genpeep.c (main): Remove unused variable 'i' from the generated
4654 file.
4655
4656 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
4657 (gen_split): Likewise.
4658 (main): Rework generated definitions of DONE and FAIL so that they
4659 no longer use gotos. Avoids warnings about unused labels.
4660
4661 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
4662 unused "junk" variable.
4663
4664 * genattrtab.c (write_complex_function): Add a default case in
4665 generated switch statement to keep -W -Wall quiet.
4666
4667 Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
4668
4669 * invoke.texi: Document more ARM and Thumb command line options.
4670
4671 * config/arm/xm-thumb.h: New file.
4672
4673 Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
4674
4675 * stmt.c (expand_expr_stmt): Must generate code for
4676 statements within an expression (gcc's `({ ... )}')
4677 even if -fsyntax-only.
4678
4679 Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
4680 Jeffrey A Law (law@cygnus.com)
4681
4682 * basic-block.h (basic_block_computed_jump_target): Declare.
4683 * flags.h: (current_function_has_computed_jump): Declare.
4684 * flow.c: (basic_block_computed_jump_target): Define.
4685 (flow_analysis): Allocate it. Set current_function_has_computed_jump
4686 to 0.
4687 (find_basic_blocks): Set current_function_has_computed_jump and
4688 elements of basic_block_computed_jump_target to 1 as appropriate.
4689 * function.c: (current_function_has_computed_jump): Define.
4690 * global.c (global_conflicts): Don't allocate pseudos into stack regs
4691 at the start of a block that is reachable by a computed jump.
4692 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
4693 immediately.
4694 (subst_stack_regs): Undo change from Sep 4 1997.
4695 (uses_reg_or_mem): Now unused, deleted.
4696 * stupid.c (stupid_life_analysis): Compute
4697 current_function_has_computed_jump.
4698 (stupid_find_reg): Don't allocate stack regs if the function has a
4699 computed goto.
4700 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
4701 the current function has a computed jump. Use the global value
4702 instead.
4703
4704 Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
4705
4706 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
4707 (DWARF2_UNWIND_INFO): Define to zero.
4708
4709 Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
4710
4711 * gcc.c (set_std_prefix): Add declaration.
4712 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
4713 suffix, and update the standard prefix prefix.c uses.
4714
4715 * prefix.c (std_prefix): New global to hold default prefix value.
4716 (get_key_value): Change to use std_prefix instead of PREFIX.
4717 (translate_name): Ditto.
4718 (update_path): Ditto.
4719 (get_key_value): Release allocated scratch storage.
4720 (set_std_prefix): New function to reset the standard prefix.
4721
4722 Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4723
4724 * sh.c (find_barrier): Fix calculations for alignment increase.
4725
4726 Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
4727
4728 * Makefile.in (stmp-fixinc): If we're actually fixing include
4729 files, copy gcc's assert.h into the fixed include dir.
4730 * fixincludes (assert.h): Avoid any attempts to fix a probably
4731 broken system specific assert.h file.
4732 * fixproto (stdlib.h): Make sure, it'll contain a definition of
4733 size_t.
4734
4735 Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
4736
4737 * regclass.c (reg_scan_mark_refs): Be more selective about
4738 when we mark a register with REGNO_POINTER_FLAG.
4739
4740 Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4741
4742 reload inheritance improvement:
4743 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
4744 Change meaning: index is now hard reg number.
4745 (reg_reloaded_valid, reg_reloaded_dead): New variables.
4746 (reload_spill_index): Content is now a hard reg number.
4747 (reload_as_needed): Change to fit new variable meaning.
4748 (forget_old_reloads_1, allocate_reload_reg): Likewise.
4749 (choose_reload_regs, emit_reload_insns): Likewise.
4750
4751 Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4752
4753 * regclass.c (record_reg_classes): '?' increases cost by two.
4754
4755 * reload.c (find_reloads): Double previous costs. Output
4756 reloads cost one unit extra.
4757
4758 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
4759 boiled down to && ! 0.
4760
4761 * reload.c (find_equiv_reg): Also consider a goal offset from the
4762 frame pointer to be constant.
4763
4764 Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4765
4766 * sh.h (OPTIMIZATION_OPTIONS): Define.
4767
4768 Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
4769
4770 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
4771
4772 Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
4773
4774 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
4775
4776 Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
4777
4778 * c-common.c (check_format_info): Initialize type, is_type. New local
4779 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
4780 when pedantic if used with integral format specifier.
4781
4782 Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
4783
4784 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
4785 direction.
4786 (function_arg_padding): Declare.
4787
4788 * rs6000.c: Include system.h.
4789 (function_arg_padding): Change return type to int, cast enum's to
4790 int.
4791
4792 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
4793 * collect2.c (scan_prog_file): Add explicit braces to avoid
4794 ambiguous `else'.
4795
4796 * dbxout.c (dbxout_type_fields): Add braces around empty body in
4797 an if-statement.
4798 (dbxout_type): Likewise.
4799
4800 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
4801 `ptt_size' from int to size_t.
4802 (rs6000_file_start): Likewise for `i'.
4803 (rs6000_replace_regno): Add default case in enumeration switch.
4804 (output_epilog): Remove unused variable `i'.
4805 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
4806 and `reg2'.
4807
4808 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
4809 initializer.
4810 (get_issue_rate, non_logical_cint_operand): Add prototype.
4811 (rs6000_output_load_toc_table): Ditto.
4812
4813 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
4814 `else'.
4815
4816 Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
4817
4818 * config/arm/thumb.c: New File. Support for ARM's Thumb
4819 instruction set.
4820 * config/arm/thumb.h: New File. Thumb definitions.
4821 * config/arm/thumb.md: New File. Thumb machine description.
4822 * config/arm/tcoff.h: New File. Thumb COFF support.
4823 * config/arm/t-thumb: New File. Thumb makefile fragment.
4824 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
4825
4826 * configure.in: Add Thumb-coff target.
4827 * configure: Add Thumb-coff target.
4828 * config.sub: Add Thumb-coff target.
4829
4830 Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
4831
4832 * loop.c (scan_loop): Initialize move_insn_first to zero.
4833
4834 Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
4835
4836 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
4837 * config/i386/rtems.h: Likewise.
4838 * config/i960/rtems.h: Likewise.
4839 * config/m68k/rtems.h: Likewise.
4840 * config/mips/rtems64.h: Likewise.
4841 * config/pa/rtems.h: Likewise.
4842 * config/rs6000/rtems.h: Likewise.
4843 * config/sh/rtems.h: Likewise.
4844 * config/sparc/rtems.h: Likewise.
4845
4846 Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4847
4848 * pa.c (emit_move_sequence): If in reload, call find_replacement.
4849
4850 Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
4851
4852 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
4853
4854 * collect2.c (find_a_file): Add debugging.
4855 (find_a_file): Test for win32 style absolute paths if
4856 DIR_SERPARATOR is defined.
4857 (prefix_from_string): Add debugging.
4858 (main): Test for debug command line switch at start of program
4859 execution.
4860 (main): Use GET_ENVIRONMENT rather than getenv().
4861 (prefix_from_env): Use GET_ENVIRONMENT.
4862
4863 1998-03-24 Mark Mitchell <mmitchell@usa.net>
4864
4865 * cplus-dem.c (optable): Add sizeof.
4866 (demangle_template_value_parm): New function containing code
4867 previously found in demangle_template.
4868 (demangle_integral_value): New function which handles complicated
4869 integral expressions.
4870 (demangle_template): Use them.
4871
4872 Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4873
4874 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
4875 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
4876 genattrtab.o, genoutput.o): Depend on system.h.
4877
4878 * genattr.c: Include system.h. Add arguments to various function
4879 prototypes. Remove redundant prototype of read_rtx().
4880 * genattrtab.c: Likewise.
4881 * gencodes.c: Likewise.
4882 * genconfig.c: Likewise.
4883 * genemit.c: Likewise.
4884 * genextract.c: Likewise.
4885 * genflags.c: Likewise.
4886 * genopinit.c: Likewise.
4887 * genoutput.c: Likewise.
4888 * genpeep.c: Likewise.
4889 * genrecog.c: Likewise.
4890
4891 1998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
4892
4893 * c-lang.c (lang_print_xnode): New function.
4894 * objc/objc-act.c (lang_print_xnode): Likewise.
4895 * print-tree.c (print_node): Call it
4896
4897 Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
4898
4899 * c-parse.in: Recognize protocol qualifiers in class
4900 definitions for objc.
4901 Include "output.h".
4902 (yyerror): Remove redundant decl.
4903 (yyprint): Fix prototype.
4904
4905 Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
4906
4907 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
4908
4909 * stmt.c (unroll_block_trees): Free block_vector if needed.
4910
4911 Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
4912
4913 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
4914 (zero_extendsidi2): Avoid useless copy.
4915 (iordi_zext): New pattern.
4916 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
4917 operand 2.
4918 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
4919
4920 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
4921 (ashldi3): Allow constant shift count in range ]32,63].
4922 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
4923
4924 1998-03-22 Mark Mitchell <mmitchell@usa.net>
4925
4926 * tree.h (IS_EXPR_CODE_CLASS): New macro.
4927
4928 Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
4929
4930 * h8300.h (CONST_COSTS): Remove definition.
4931 (DEFAULT_RTX_COSTS): Define.
4932
4933 Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
4934
4935 * config/sh/rtems.h: Switched from ELF to COFF.
4936
4937 Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4938
4939 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
4940
4941 Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
4942
4943 * version.c: Bump for snapshot.
4944
4945 Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
4946 Geoff Noer <noer@cygnus.com>
4947
4948 * Makefile.in: Various fixes for building cygwin32 native toolchains.
4949
4950 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
4951 * objc/Make-lang.in: Likewise.
4952
4953 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
4954
4955 Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
4956
4957 * configure.in: Handle with-PACKAGE=no correctly
4958
4959 Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4960
4961 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
4962 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
4963 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
4964 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
4965 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
4966 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
4967 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
4968 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
4969 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
4970 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
4971 on system.h.
4972
4973 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
4974 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
4975 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
4976 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
4977 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
4978 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
4979 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
4980 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
4981 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
4982 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
4983 xcoffout.c: Include system.h. Organize include ordering so
4984 that stdarg/varargs comes before other system headers. Remove
4985 spurious casts of functions assured of a prototype in system.h.
4986
4987 Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
4988
4989 * reg-stack.c (pop_stack): Define. Pops any register on the
4990 regstack and adjusts regstack.
4991 (compare_for_stack_reg): Use pop_stack.
4992
4993 Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
4994
4995 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
4996 config too.
4997
4998 Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
4999
5000 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
5001
5002 * fold-const.c (fold): Replace sign-extension of a zero extended
5003 value by a single zero extension.
5004
5005 Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
5006
5007 * except.c (init_eh): Do nothing.
5008 (save_eh_status): Call init_eh_for_function, not init_eh.
5009 * function.c (push_function_context_to): Don't call init_emit.
5010
5011 Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
5012
5013 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
5014 and EABI.
5015
5016 Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5017
5018 * final.c (shorten_branches): Add parentheses around +/- in
5019 operand of &.
5020
5021 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
5022
5023 Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
5024
5025 * regclass.c (memory_move_secondary_cost): Wrap uses of
5026 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
5027 with #ifdef tests.
5028
5029 Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
5030
5031 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
5032
5033 * flow.c (life_analysis): #include <sys/types.h> to make sure
5034 size_t is defined.
5035 * cplus-dem.c (demangle_function_name): Likewise.
5036
5037 Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
5038
5039 * final.c (insn_noperands): Change type to unsigned int.
5040 (final_scan_insn): Likewise for noperands;
5041 properly check operand number boundaries.
5042
5043 Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
5044
5045 * alpha.md (extzv): Don't reject register operands. Fix
5046 mode of operand 1.
5047
5048 Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
5049
5050 * dbxout.c (dbxout_function_end): Fix last change. The correct
5051 predicate is ASM_OUTPUT_SECTION_NAME.
5052
5053 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
5054
5055 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
5056 (ashlsi): Use match_dup 1 instead of match_operand 2.
5057
5058 Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5059
5060 * fold-const.c (operand_equal_for_comparison_p): See if equal
5061 when nop conversions are removed.
5062
5063 Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5064
5065 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
5066 don't use ORIGINAL_TARGET unless REG.
5067
5068 Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5069
5070 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
5071
5072 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
5073
5074 * loop.c (struct movable): New field move_insn_first.
5075 (scan_loop): In consec sets code, set it. Clear it otherwise.
5076 (move_movables): In consec sets code, use it. Copy REG_NOTES from
5077 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
5078 out code.
5079
5080 Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
5081
5082 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
5083 is large, and the system doesn't provide atoll or atoq.
5084 (atoll): New.
5085
5086 * alpha/xm-vms.h (HAVE_ATOLL): Define.
5087 Reported by Klaus Kaempf <kkaempf@progis.de>.
5088
5089 Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5090
5091 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
5092 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
5093
5094 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
5095 test !ACCUMULATE_OUTGOING_ARGS.
5096
5097 * collect2.c (write_c_file_glob): Wrap function definition in
5098 macro test !LD_INIT_SWITCH.
5099
5100 * combine.c (try_combine): Wrap variables `cc_use' and
5101 `compare_mode' in macro test EXTRA_CC_MODES.
5102
5103 * cpplib.c (do_ident): Remove unused variable `len'.
5104 (skip_if_group): Remove unused variables `at_beg_of_line' and
5105 `after_ident'.
5106 (cpp_get_token): Remove unused variable `dummy'.
5107
5108 * dbxout.c (scope_labelno): Move static variable definition inside
5109 the one function scope where it is used.
5110 (dbxout_function_end): Wrap prototype and definition in
5111 macro test !NO_DBX_FUNCTION_END.
5112
5113 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
5114 in macro test !MIPS_DEBUGGING_INFO.
5115
5116 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
5117 into the scope where it is used. Wrap empty else-statement body
5118 in braces.
5119
5120 * fix-header.c: Fix typo in comment.
5121 (inf_skip_spaces): Cast results of INF_UNGET to (void).
5122 (check_protection, main): Likewise.
5123
5124 * flow.c (find_basic_blocks_1): Remove dangling comment text.
5125
5126 * function.c (contains): Wrap prototype and definition in macro
5127 test HAVE_prologue || HAVE_epilogue.
5128 (fixup_var_refs_1): Remove unused variable `width'.
5129
5130 * gen-protos.c (main): Remove unused variable `optr'.
5131
5132 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
5133
5134 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
5135 (__sjpopnthrow): Remove unused variable `jmpbuf'.
5136 (__throw): Remove unused variable `val'.
5137
5138 * protoize.c: Check for a previously existing definition before
5139 defining *_OK macros.
5140
5141 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
5142
5143 Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5144
5145 * vax.h (ADDR_VEC_ALIGN): Define.
5146
5147 Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
5148
5149 * gcc.c (default_arg): Don't wander off the end of allocated
5150 memory.
5151
5152 (From Geoffrey Keating <geoffk@ozemail.com.au>)
5153 * rs6000.c (small_data_operand): Ensure that any address
5154 referenced relative to the small data area is inside the SDA.
5155
5156 Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
5157
5158 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
5159
5160 Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
5161
5162 * except.h (in_same_eh_region): New prototype.
5163 (free_insn_eh_region, init_insn_eh_region): New prototypes.
5164 * except.c (insn_eh_region, maximum_uid): New static variables.
5165 (set_insn_eh_region): New static function to set region numbers.
5166 (free_insn_eh_region): New function to free EH region table.
5167 (init_insn_eh_region): New function to initialize EH region table.
5168 (in_same_eh_region): New function used to determine if two rtl
5169 instructions are in the same exception region or not.
5170 * final.c (final): Initialize the table indicating which instructions
5171 belong in which exception region.
5172 * genpeep.c (main): Add "except.h" to include file list in generated
5173 file insn-peep.c.
5174 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
5175 peepholes involving calls and unconditional branches.
5176
5177 Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
5178
5179 * README.gnat: New file.
5180
5181 Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5182
5183 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
5184 "recog.h" for offsettable_memref_p.
5185 (legitimize_pic_address): Remove unused variable `offset'.
5186 (notice_update_cc): Change return type to void. Add default label
5187 to switch.
5188 (standard_68881_constant_p): Remove unused variable mode.
5189 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
5190 (const_int_cost): Explicitly declare as returning int.
5191 (output_dbcc_and_branch): Change return type to void.
5192
5193 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
5194 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
5195 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
5196
5197 Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
5198
5199 * version.c: Bump for snapshot.
5200
5201 Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5202
5203 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
5204 check for 'M' constraint.
5205
5206 Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
5207
5208 * cccp.c (create_definition): If pedantic, call pedwarn for macro
5209 varargs feature.
5210
5211 Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
5212
5213 * i386.c (ix86_logical_operator): New function.
5214 (split_di): Ensure that when a MEM is split, the resulting MEMs have
5215 SImode.
5216 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
5217 to implement them.
5218
5219 Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5220 Richard Earnshaw <rearnsha@arm.com>
5221 Nick Clifton <nickc@cygnus.com>
5222
5223 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
5224
5225 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
5226
5227 * cse.c (rtx_cost): Provide a default case in an enumeration
5228 switch, and call DEFAULT_RTX_COSTS if it's defined.
5229
5230 Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
5231
5232 * basic-block.h (compute_preds_succs): Change return type in
5233 prototype to void.
5234 * flow.c (compute_preds_succs): Likewise in function definition.
5235
5236 * regmove.c (find_matches): Cast char used as array index to unsigned char
5237 to supress warning.
5238
5239 Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
5240
5241 * i386.h (RTX_COSTS): Insert braces around nested if.
5242 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
5243 elements.
5244
5245 * gcc.c (default_compilers): Properly put brackets around array elements in
5246 initializer.
5247
5248 * getopt.c (_getopt_internal): Add explicit braces around nested if;
5249 reformatted.
5250
5251 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
5252 (record_reg_life_pat): Add explicit parens around && and || in expression.
5253 (stack_reg_life_analysis): Add parens around assignment used as expression.
5254 (convert_regs): Likewise.
5255
5256 Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
5257
5258 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
5259 change callers accordingly.
5260
5261 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
5262 and definition; change all callers accordingly.
5263
5264 * except.c (init_eh): Avoid assignment of unused return value of
5265 build_pointer_type; cast it to void, instead, and remove unused
5266 variable type.
5267
5268 * gcc.c (lang_specific_driver): Define prototype only #ifdef
5269 LANG_SPECIFIC_DRIVER.
5270 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
5271
5272 * genoutput.c (output_epilogue): Initialize next_name to 0.
5273
5274 * real.c (efrexp): #if 0 prototype and function definition.
5275 (eremain): Likewise.
5276 (uditoe): Likewise.
5277 (ditoe): Likewise.
5278 (etoudi): Likewise.
5279 (etodi): Likewise.
5280 (esqrt): Likewise.
5281
5282 * reload.c (push_secondary_reload): Define prototype only
5283 #ifdef HAVE_SECONDARY_RELOADS.
5284
5285 * varasm.c (assemble_static_space): Define rounded only
5286 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
5287
5288 Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
5289
5290 * i386.md (andsi): Add default case in enumeration switch.
5291 (iorsi3): Likewise.
5292 (iorhi3): Likewise.
5293 (xorsi3): Likewise.
5294
5295 Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
5296
5297 * c-decl (finish_struct): Change type of min_align to unsigned.
5298
5299 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
5300 remove unused variable len.
5301
5302 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
5303 comment indicating this is proper behaviour.
5304 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
5305 reg >= 0.
5306 (based_loc_descr): Likewise.
5307
5308 * enquire.c (bitpattern): Change type of variable i to unsigned.
5309
5310 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
5311
5312 * flow.c (life_analysis): Change type of variable i to size_t;
5313 remove unused variable insn.
5314
5315 * gcc.c (translate_options): Change type of variables optlen, arglen and
5316 complen to size_t.
5317 (input_filename_length): Change type to size_t.
5318 (do_spec_1): Change type of variable bufsize to size_t.
5319 (main): Change type of variables i and j to size_t;
5320 remove subblock local definition of variable i.
5321 (lookup_compiler): Change type of second argument to size_t;
5322 change type of variable i to size_t.
5323
5324 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
5325
5326 * genopinit.c (get_insn): Change type of variable pindex to size_t.
5327
5328 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
5329
5330 * global.c (global_alloc): Change type of variable i to size_t.
5331
5332 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
5333
5334 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
5335 (expand_end_case): Change type of variable count to size_t.
5336
5337 * toplev.c (main): Change type of variable j to size_t.
5338 (set_target_switch): Change type of variable j to size_t.
5339 (print_switch_values): Change type of variable j to size_t;
5340 remove unused variable flags.
5341
5342 * varasm.c (assemble_variable): Change type of variable align to size_t.
5343 (const_hash_rtx): Change type of variable i to size_t.
5344
5345 1998-03-11 Mark Mitchell <mmitchell@usa.net>
5346
5347 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
5348 TREE_VEC if that's what it really is.
5349
5350 Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
5351
5352 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
5353 as per ISO C spec.
5354
5355 Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
5356
5357 * gthr.h: Changed the comment about return values.
5358 * gthr-solaris.h (__gthread_once): Do not use errno; return the
5359 error number instead of -1.
5360 (__gthread_key_create): Any non-zero return value is an error.
5361 * libgcc2.c (eh_context_initialize): Check for non-zero return
5362 value from __gthread_once.
5363 Check that the value of get_eh_context was really changed.
5364
5365 Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5366
5367 * sh.h (LOOP_ALIGN): Only align when optimizing.
5368 * sh.c (find_barrier): Clear inc for CODE_LABELs.
5369 When not optimizing, calculate alignment for BARRIERs directly.
5370
5371 Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5372
5373 * final.c (shorten_branches): Remove conditionalizing on
5374 SHORTEN_WITH_ADJUST_INSN_LENGTH
5375 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
5376
5377 Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
5378
5379 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
5380 an unconditional jump around deleted blocks.
5381
5382 Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
5383
5384 * profile.c (branch_prob): If see computed goto, call fatal instead of
5385 abort.
5386
5387 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
5388
5389 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
5390 Patch from Bruno Haible.
5391
5392 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
5393 (assign_parms): Set aggregate if hide_last_arg and last_named.
5394
5395 Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5396
5397 * final.c (shorten_branches): Initialize insn_addresses.
5398
5399 Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5400
5401 * sh.h (MUST_PASS_IN_STACK): Define.
5402
5403 Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
5404
5405 * final.c (shorten_branches): Fix minor logic error in
5406 ADDR_DIFF_VEC shortening support.
5407
5408 Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
5409
5410 * version.c: Bump for snapshot.
5411
5412 Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
5413
5414 * haifa-sched.c (is_cfg_nonregular): Change return type to
5415 an int. No longer compute "estimated" number of edges. Use
5416 computed_jump_p instead of duplicating the code. Fixup/add
5417 some comments.
5418 (build_control_flow): Returns a value indicating an irregularity
5419 in the cfg was detected. Count the number of edges in the cfg.
5420 allocate various edge tables.
5421 (find_rgns): No longer look for unreachable blocks.
5422 (schedule_insns): Do not allocate memory for edge tables here.
5423 Free memory for edge tables before returning. Do not perform
5424 cross block scheduling if build_control_flow returns nonzero.
5425 * flow.c (compute_preds_succs): More accurately determine when
5426 a block drops in.
5427
5428 * basic-block.h (free_basic_block_vargs): Provide prototype.
5429
5430 * cccp.c (main): Fix dumb mistakes in last change.
5431
5432 Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5433
5434 * rtl.h (addr_diff_vec_flags): New typedef.
5435 (union rtunion_def): New member rt_addr_diff_vec_flags.
5436 (ADDR_DIFF_VEC_FLAGS): New macro.
5437
5438 * sh.c (output_branch): Fix offset overflow problems.
5439
5440 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
5441 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
5442 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
5443 * stmt.c (expand_end_case): Supply new arguments to
5444 gen_rtx_ADDR_DIFF_VEC.
5445 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
5446 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
5447 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
5448 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
5449 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
5450 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
5451 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
5452 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
5453 * i386/freebsd.h, i386/linux.h : Likewise.
5454 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
5455 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
5456 * m68k/mot3300.h, m68k/sgs.h : Likewise.
5457 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
5458 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
5459 (CASE_VECTOR_SHORTEN_MODE): Define.
5460 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
5461 (med_branch_p, braf_branch_p): Don't declare.
5462 (mdep_reorg_phase, barrier_align): Declare.
5463 (ADJUST_INSN_LENGTH): Remove alignment handling.
5464 * sh.c (uid_align, uid_align_max): Deleted.
5465 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
5466 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
5467 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
5468 (output_far_jump): Don't use braf_branch_p.
5469 (output_branchy_insn): Don't use branch_offset.
5470 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
5471 Remove paired barrier stuff.
5472 Don't use cache_align_p.
5473 Take alignment insns into account.
5474 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
5475 the addr_diff_vec.
5476 (barrier_align, branch_dest): New function.
5477 (machine_dependent_reorg, split_branches): Remove infrastructure
5478 for branch shortening that is now provided in the backend.
5479 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
5480 (braf_branch_p, braf_cbranch_p): Likewise.
5481 (attribute length): Use new attributes.
5482 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
5483 (addr_diff_vec_adjust): Delete.
5484 (align_2): Now a define_expand.
5485 (align_log): Now length 0.
5486
5487 Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
5488
5489 * m32r.md (right): Correctly check for length == 2, not 1.
5490
5491 Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5492
5493 * mips/mips.h: Prototype `machine_dependent_reorg'.
5494 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
5495
5496 Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
5497
5498 * final.c (shorten_branches): Restore accidentally removed code.
5499
5500 Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5501
5502 * configure.in: Remove duplicate uses of AC_PROG_CC and
5503 AC_PROG_MAKE_SET.
5504
5505 Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
5506
5507 * configure.in (target_cpu_default2): Correct typo for alphapca56.
5508
5509 Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
5510 Doug Evans (devans@cygnus.com)
5511
5512 * haifa-sched.c (build_jmp_edges): Delete dead function.
5513 (build_control_flow): Use cfg routines from flow.c
5514 (schedule_insns): Remove debugging code accidentally checked
5515 in earlier today.
5516
5517 * basic-block.h: Add external integer list structures, typdefs,
5518 accessor macros and function declarations. Simlarly for
5519 basic block pred/succ support and simple bitmap stuff.
5520 * flow.c: Add functions for integer list, basic block pred/succ
5521 support and simple bitmap support.
5522 (compute_dominators): New function to compute dominators and
5523 post dominators.
5524 (find_basic_blocks): Split into two functions.
5525 (life_analysis): Likewise.
5526 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
5527 the life_analysis from toplev.c
5528 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
5529 life_analysis instead of flow_analysis.
5530
5531 Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5532
5533 * jump.c (jump_optimize): Call mark_jump_label also for deleted
5534 insns.
5535 (mark_jump_label): Don't increment ref counts for deleted insns.
5536
5537 Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5538
5539 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
5540
5541 * mips/mips.c: Include stdlib.h and unistd.h.
5542 (mips_asm_file_end): Add braces around empty body in an if-statement.
5543 (function_prologue): Wrap variable `fnname' in
5544 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
5545 (mips_select_rtx_section, mips_select_section): Declare as void.
5546
5547 * mips/mips.h: Add prototypes for extern functions in mips.c.
5548 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
5549 (ENCODE_SECTION_INFO): Add braces around empty body in an
5550 if-statement.
5551
5552 * mips/mips.md (movdi): Add parentheses around && within ||.
5553 (movsf, movdf): Likewise.
5554 (branch_zero, branch_zero_di): Add default case in
5555 enumeration switch.
5556
5557
5558 Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
5559
5560 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
5561 real constants, since they can't be changed.
5562 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
5563 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
5564 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
5565 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
5566 * alpha/vms.h (TARGET_OPEN_VMS): New.
5567 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
5568
5569 Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
5570
5571 * reload.c (find_reloads): Always force (subreg (mem)) to be
5572 reloaded if WORD_REGISTER_OPERATIONS.
5573
5574 Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
5575
5576 * haifa-sched.c (free_list): Rename from free_pnd_lst.
5577 (free_pending_lists): Rename free_pnd_lst uses.
5578 (remove_dependence): Place expunged element on unused_insn_list.
5579 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
5580 gen_rtx_*_LIST and alloc_rtx to use them.
5581 (compute_block_backward_dependences): Free the reg_last_* lists.
5582
5583 Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
5584
5585 * cccp.c (main): Avoid undefined behavior when setting pend_includes
5586 and pend_files.
5587
5588 Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
5589
5590 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
5591 USE_GNULIBC_1 is defined
5592 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
5593 includes the t-linux-gnulibc1 fragment
5594
5595 Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
5596
5597 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
5598
5599 Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5600
5601 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
5602
5603 Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5604
5605 * final.c (shorten_branches): Tag the loop alignment onto the
5606 first label after NOTE_INSN_LOOP_BEG even if there is an
5607 intervening insn.
5608
5609 Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5610
5611 * final.c (insn_current_reference_address):
5612 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
5613 proper alignment chain.
5614
5615 * final.c (max_labelno): New static variable.
5616 (final_scan_insn): Check max_labelno before outputting an
5617 alignment for a label.
5618 (shorten_branches): Remove unused variable length_align.
5619
5620 Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5621
5622 * sparc.c (ultrasparc_adjust_cost): Add default case in
5623 enumeration switch.
5624
5625 * sparc.h: Add prototypes for extern functions defined in
5626 sparc.c.
5627
5628 Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
5629
5630 * toplev.c: Only generate <name>.dbr file when dumping RTL if
5631 DEALY_SLOTS is defined.
5632
5633 Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
5634
5635 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
5636 in call to fill_slots_from_thread.
5637
5638 Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
5639
5640 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
5641 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
5642
5643 Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5644
5645 * final.c (insn_last_address, insn_current_align, uid_align):
5646 New variables.
5647 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
5648 (insn_current_reference_address): Likewise.
5649 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
5650 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
5651 (label_to_alignment): New function.
5652 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
5653 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
5654 insn_current_reference_address instead of insn_current_address.
5655 (or_attr_value, write_length_unit_log): New functions.
5656 (main): Call write_length_unit_log.
5657 (write_const_num_delay_slots): Output extra '\n'.
5658 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
5659 replace with:
5660 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
5661 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
5662 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
5663 (LOOP_ALIGN).
5664 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
5665 (LABEL_ALIGN_AFTER_BARRIER).
5666 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
5667 * ns32k/tek6000.h: Likewise.
5668 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
5669 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
5670 ASM_OUTPUT_ALIGN_CODE.
5671
5672 Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
5673
5674 * version.c: Bump for snapshot.
5675
5676 Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
5677
5678 * version.c: Bump for snapshot.
5679
5680 Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
5681
5682 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
5683 if condition code of jump conflicts with opposite_needed.
5684
5685 * reorg.c (fill_slots_from_thread): Mark resources referenced in
5686 opposite_needed thread. Return delay_list even when cannot get
5687 any more delay insns from end of subroutine.
5688
5689 Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
5690
5691 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
5692 All callers changed.
5693
5694 Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5695
5696 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
5697 end_fde_sort): New functions for fast sorting of an FDE array.
5698 (fde_insert): Simplified.
5699 (add_fdes): Change argument list.
5700 (frame_init): Use the new functions.
5701
5702 Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
5703
5704 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
5705
5706 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
5707
5708 * fold-const.c (fold_range_test): Always return a value.
5709
5710 Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
5711
5712 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
5713 data in the text section unless READONLY_DATA_SECTION is defined.
5714
5715 Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
5716
5717 * c-parse.in (undeclared variable error): Tweak error message to
5718 be clearer.
5719
5720 Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
5721
5722 * version.c: Bump for snapshot.
5723
5724 1998-02-28 Mark Mitchell <mmitchell@usa.net>
5725
5726 * final.c (final_scan_insn): Undo overzealous removal of `set'.
5727
5728 Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5729
5730 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
5731 case, add parentheses to specify the proper order of precedence in
5732 the if-statement.
5733
5734
5735 * c-aux-info.c: Include string.h/strings.h.
5736
5737 * pa.c: Include stdlib.h.
5738 (pa_combine_instructions): Prototype the function.
5739 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
5740 (reloc_needed): Add default case for enumeration switch.
5741 (remove_useless_addtr_insns): Remove unused variable `all'.
5742 (hppa_expand_prologue): Add explicit braces to avoid
5743 ambiguous `else'.
5744 (output_function_epilogue): Remove unused variable `i'.
5745 (output_millicode_call): Remove unused variable `link'.
5746 (shadd_constant_p, forward_branch_p): Make the function static.
5747 (following_call): Explicitly declare to return int.
5748 (pa_reorg): Declare as void.
5749 (pa_combine_instructions): Declare as static void. Add
5750 parentheses around && within ||.
5751
5752 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
5753 following_call, function_label_operand, lhs_lshift_cint_operand
5754 and zdepi_cint_p.
5755
5756 * pa.md: Add parentheses around && within ||.
5757
5758 * cppalloc.c: Include stdlib.h.
5759
5760 * cpperror.c (cpp_print_containing_files): Remove unused variable
5761 `i'. Fix format specifier in fprintf.
5762
5763 * cse.c (cse_around_loop): Add explicit braces to avoid
5764 ambiguous `else'.
5765 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
5766
5767 * expr.c (expand_expr): Add parentheses around && within ||.
5768
5769 * final.c (app_enable): Replace fprintf with fputs where there are
5770 no format specifiers and no trailing argument after the string.
5771 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
5772 (app_disable): Likewise.
5773 (final_end_function): Likewise.
5774 (final_scan_insn): Likewise. Remove unused variable `set'.
5775 (profile_function): Wrap empty if-statement body in {} brackets.
5776
5777 * function.c: Include stdlib.h.
5778 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
5779 (reposition_prologue_and_epilogue_notes): Add parentheses
5780 around assignment used as truth value.
5781
5782 * integrate.c (expand_inline_function): Wrap variable
5783 `cc0_insn' in macro HAVE_cc0.
5784
5785 * jump.c (jump_optimize): Wrap variable `q' in macro
5786 HAVE_cc0. Remove unused variable `prev1'.
5787
5788 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
5789 within ||. Fix format specifier in fprintf.
5790 (__bb_init_prg): Add parentheses around assignment used as
5791 truth value.
5792
5793 * local-alloc.c: Include stdlib.h.
5794 (requires_inout): Add parentheses around assignment used
5795 as truth value.
5796
5797 * loop.c (analyze_loop_iterations): Wrap prototype and definition
5798 in macro HAVE_decrement_and_branch_on_count.
5799 (insert_bct, instrument_loop_bct): Likewise.
5800 (move_movables): Add parentheses around assignment used as
5801 truth value.
5802 (consec_sets_invariant_p): Likewise.
5803 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
5804
5805 * objc/objc-act.c: Include stdlib.h.
5806 (lookup_method_in_protocol_list): Wrap empty else-statement body
5807 in braces.
5808 (lookup_protocol_in_reflist): Likewise.
5809 (objc_add_static_instance): Remove unused variables `decl_expr'
5810 and `decl_spec'.
5811 (get_objc_string_decl): Remove unused variable `decl'.
5812 (generate_static_references): Remove unused variables `idecl' and
5813 `instance'.
5814 (check_protocols): Wrap empty else-statement body in braces.
5815
5816 * protoize.c: Include stdlib.h.
5817 (substr): Add parentheses around assignment used as truth value.
5818 (abspath): Likewise.
5819 (shortpath): Likewise.
5820
5821 * regmove.c (fixup_match_1): Add parentheses around assignment
5822 used as truth value.
5823
5824 * reload.c (push_secondary_reload): Remove unused variable `i'.
5825 (find_reloads): Add parentheses around assignment used as truth
5826 value.
5827
5828 * reload1.c: Include stdlib.h.
5829
5830 * rtl.h: Correct typo in prototype of offsettable_memref_p.
5831
5832 * stmt.c (add_case_node): Add parentheses around assignment used
5833 as truth value.
5834 (case_tree2list): Likewise.
5835
5836 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
5837 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
5838 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
5839 (merge_attributes): Add explicit braces to avoid ambiguous
5840 `else'.
5841
5842 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
5843 macro HAVE_cc0.
5844
5845 * varasm.c: Include stdlib.h.
5846
5847
5848 * system.h: Remove sys/stat.h.
5849 * gcc.c: Add sys/stat.h.
5850
5851 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
5852 * genattrtab.c: Likewise.
5853 * genconfig.c: Likewise.
5854 * genemit.c: Likewise.
5855 * genextract.c: Likewise.
5856 * genflags.c: Likewise.
5857 * genopinit.c: Likewise.
5858 * genoutput.c: Likewise.
5859 * genpeep.c: Likewise.
5860 * genrecog.c: Likewise.
5861 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
5862
5863 Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5864
5865 * invoke.texi: Use @itemx for a secondary item in a @table.
5866
5867 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
5868 zero.
5869
5870 Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
5871
5872 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
5873
5874 Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
5875
5876 * i386.c (struct machine_function): Add new fields for PIC stuff.
5877 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
5878 and pic_label_name.
5879 (restore_386_machine_status): Corresponding changes.
5880 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
5881
5882 Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
5883
5884 * c-parse.y (undeclared variable error): Tweak error message
5885 to be clearer.
5886
5887 Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
5888
5889 * flags.h (g_switch_value, g_switch_set): Declare.
5890 * alpha.c (override_options): Set g_switch_value=8 if not set.
5891 * alpha/elf.h (CC1_SPEC): New.
5892 (ASM_SPEC): New.
5893 (LINK_SPEC): Pass along the -G value we were given.
5894 (LOCAL_ASM_OP): Remove.
5895 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
5896 (MAX_OFILE_ALIGNMENT): New.
5897 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
5898 (EXTRA_SECTIONS): Add sbss and sdata.
5899 (SECTION_FUNCTION_TEMPLATE): New.
5900 (EXTRA_SECTION_FUNCTIONS): Use it.
5901 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
5902 (SELECT_SECTION): Use sdata when small enough.
5903 * alpha/linux.h (ASM_SPEC): Remove.
5904
5905
5906 Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5907 * config.sub (sco5): Fix typo.
5908
5909 Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
5910
5911 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
5912 set to empty.
5913 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
5914 * config/alpha/t-linux: Remove file.
5915 * config/sparc/t-linux: Remove file.
5916 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
5917 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
5918 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
5919 for tmake_file.
5920 (alpha*-*-linux-gnu*): Likewise.
5921 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
5922 (sparc-*-linux-gnu*): Likewise.
5923
5924 Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
5925 * collect2.c (ldd_file_name): Bracket declaration with same
5926 manifests as use.
5927 (full_real_ld_suffix): Deleted. Variable was calloced and
5928 written into, but never read.
5929
5930 1998-02-23 Mike Stump <mrs@wrs.com>
5931
5932 * configure.in: Add support for i386-wrs-vxworks configuration.
5933 * i386/vxi386.h: New file.
5934
5935 Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5936
5937 * tree.c (contains_placeholder_p): Ensure function always returns
5938 a value.
5939 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
5940 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
5941
5942 Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
5943
5944 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
5945
5946 1998-02-22 Paul Eggert <eggert@twinsun.com>
5947
5948 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
5949 Define this new symbol.
5950 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
5951 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
5952 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
5953
5954 Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
5955
5956 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
5957 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
5958
5959 Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
5960
5961 * objc/Object.m (-error): Call objc_verror with our va_list.
5962
5963 Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5964
5965 * collect2.c (scan_prog_file): Completely cover uses of variable
5966 `exports' with macro COLLECT_EXPORT_LIST.
5967
5968 Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
5969
5970 * version.c: Bump for snapshot.
5971
5972 Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
5973
5974 * sched.c (schedule_block): Remove code to get arguments from hard
5975 regs into pseudos early. Same as Aug 25, 1997 change to
5976 haifa-sched.c.
5977
5978 1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
5979
5980 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
5981
5982 1998-02-16 Mark Mitchell <mmitchell@usa.net>
5983
5984 * toplev.c (rest_of_compilation): Do not defer the output of a
5985 nested function.
5986
5987 Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
5988
5989 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
5990 continuation character (line 243).
5991
5992 Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5993
5994 * genrecog.c (main): Remove duplicated sentence in emitted comment.
5995
5996 Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
5997 David Edelsohn <edelsohn@mhpcc.edu>
5998
5999 * collect2.c (XCOFF_SCAN_LIBS): Remove.
6000 (export_flag): New variable.
6001 (export_file): #ifdef COLLECT_EXPORT_LIST.
6002 (import_file, exports, imports, undefined): New variables.
6003 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
6004 (dump_list, dump_prefix_list, is_in_list): New functions.
6005 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
6006 (write_import_file, resolve_lib_name): New functions.
6007 (use_import_list, ignore_library): Same.
6008 (collect_exit): maybe_unlink import_file and #ifdef.
6009 (handler): Same.
6010 (main): New variable importf, #ifdef exportf. Move parsing of
6011 -shared before general argument parsing. Resolve AIX library
6012 paths and import libgcc.a symbols. Treat .so shared libraries the
6013 same as objects and .a libraries. Create alias for object_lst and
6014 increment it instead of original pointer. Scan AIX libraries as
6015 objects earlier instead of using scan_libraries. Perform AIX
6016 tlink later to resolve templates instead of forking ld.
6017 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
6018 (GCC_UNDEF_SYMBOL): New macro.
6019 (scan_prog_file): Loop for members of AIX libraries. Handle
6020 export/import of ctors/dtors.
6021 (aix_std_libs): New variable.
6022 (scan_libraries, XCOFF): Delete.
6023
6024 Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
6025
6026 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
6027
6028 1998-02-19 Mike Stump <mrs@wrs.com>
6029
6030 * Makefile.in: Use $tooldir for sys-include to match toplevel
6031 configure.
6032
6033 Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
6034 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6035
6036 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
6037
6038 * emit-rtl.c (hard-reg-set.h): Include.
6039 (get_lowpart_common): Don't make new REG for hard reg in a
6040 class that cannot change size.
6041 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
6042
6043 * combine.c: Revert previous patch.
6044
6045 1998-02-19 Paul Eggert <eggert@twinsun.com>
6046
6047 * config/sparc/sol2-sld.h: New file.
6048 * configure.in (sparc-*-solaris2*): Use it when using the
6049 system linker.
6050
6051 Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
6052
6053 * loop.c (force_movables): Fix typo.
6054
6055 Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
6056
6057 * m88k.h: Change file pattern to match reality.
6058
6059 Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
6060
6061 * varasm.c (output_constant_pool): Fix dumb thinko in last
6062 change.
6063
6064 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
6065 a function name to a section name.
6066
6067 1998-02-18 Doug Evans <devans@cygnus.com>
6068
6069 * tree.h (merge_machine_{type,decl}_attributes): Declare.
6070 (split_specs_attrs, strip_attrs): Add prototypes.
6071 * tree.c (merge_machine_{type,decl}_attributes): New functions.
6072 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
6073 Update olddecl's attributes too.
6074 * c-common.c (strip_attrs): New function.
6075 * c-typeck.c (common_type): Call merge_machine_type_attributes.
6076 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
6077 (make_decl_rtl): Likewise.
6078
6079 1998-02-18 Jim Wilson <wilson@cygnus.com>
6080
6081 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
6082
6083 Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
6084
6085 Remove this change until we can fix it correctly.
6086 * collect2.c: Bracket declaration of 'exportf' and
6087 'full_real_ld_suffix'.
6088
6089 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6090
6091 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
6092
6093 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6094
6095 * c-common.c (c_expand_start_cond, c_expand_end_cond,
6096 c_expand_start_else): Don't warn about non-ambiguous else even if
6097 braces are missing.
6098
6099 Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
6100
6101 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
6102 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
6103 instead.
6104
6105 Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
6106
6107 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
6108 simplifying a subreg of a hard reg.
6109 (expand_compound_operation): Likewise.
6110 (force_to_mode): Likewise.
6111
6112 Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6113
6114 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
6115 (lshift_double): Add parentheses around + or - inside shift.
6116 (rshift_double): Likewise.
6117 (size_int_wide): Explicitly set type of `bit_p' to `int'.
6118
6119 * Makefile.in (fold-const.o): Depend on system.h.
6120
6121 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
6122 change to gcc.c.
6123
6124 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
6125 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
6126 (sched_note_set): Remove unused parameter `b', all callers changed.
6127 (schedule_block): Likewise for `rgn'.
6128 (split_hard_reg_notes): Likewise for `orig_insn'.
6129 (check_live): Likewise for `trg'.
6130 (update_live): Likewise.
6131 (check_live_1): Explcitly declare variable `i' as int.
6132 (update_live_1): Likewise.
6133 (insn_issue_delay): Remove unused variable `link'.
6134 (sched_analyze_2): Add default case in enumeration switch.
6135 (schedule_insns): Remove unused variable `i'.
6136
6137 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
6138
6139 Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
6140
6141 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
6142 a dangling else clause.
6143
6144 Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
6145
6146 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
6147 pointer for the stack pointer in MIPS16 and 64BIT.
6148
6149 Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6150
6151 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
6152 * emit-rtl.c (force_line_numbers, restore_line_number_status):
6153 New functions.
6154 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
6155 (expand_start_case): Adjust to this change.
6156 (check_seenlabel): New function.
6157 (pushcase, pushcase_range, expand_endcase): Use it.
6158
6159 Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6160
6161 * i386.md (adddi3): Add =!r,0,0,X alternative.
6162
6163 Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
6164
6165 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
6166 * x-aix31 (INSTALL): Delete.
6167
6168 Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
6169
6170 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
6171 tsize changes to something other than zero.
6172
6173 Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
6174
6175 * ginclude/va-mips.h: Replace casts of pointers to int with
6176 casts of pointers to __PTRDIFF_TYPE__.
6177
6178 Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
6179
6180 * loop.c (strength_reduce, record_biv, record_giv): Use
6181 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
6182
6183 1998-02-16 Jason Merrill <jason@yorick.cygnus.com>
6184
6185 * tree.c (first_rtl_op): New fn.
6186 (unsave_expr_now): Use it.
6187 * print-tree.c (print_node): Likewise.
6188 * tree.c (has_cleanups): New fn.
6189 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
6190 conservative about pushing the cleanup point down.
6191 * tree.h: Declare them.
6192
6193 Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
6194
6195 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
6196 (flag_schedule_reverse_after_reload): Likewise.
6197 (f_options): Remove reverse scheduling support.
6198 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
6199 (flag_schedule_reverse_after_reload): Likewise.
6200 * haifa-sched.c (rank_for_schedule): Remove support for reverse
6201 scheduling.
6202
6203 Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6204
6205 * gcc.c: Get system includes, prototypes and macros via "system.h"
6206 instead of doing it manually. Change all calls of the ctype
6207 macros to custom versions defined in "system.h".
6208
6209 * system.h: Fix return type of bcmp prototype from `void' to `int'.
6210 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
6211 Add a prototype for getenv.
6212
6213 Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
6214
6215 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
6216
6217 Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
6218
6219 * alias.c: Include <stdlib.h> and <string.h>.
6220 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
6221
6222 Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
6223
6224 * version.c: Bump for snapshot.
6225
6226 Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
6227
6228 * arm.md (movsfcc): Also validate operands[3] when compiling hard
6229 float.
6230 (movdfcc): Only accept fpu_add_operand for operands[3].
6231
6232 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
6233 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
6234
6235 Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
6236
6237 * varasm.c (output_constant_pool): Bring back 'done' label inside
6238 an appropriate #ifdef.
6239
6240 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
6241 appropriate #ifdef.
6242 (bitmap_copy, bitmap_operation): Likewise.
6243 * combine.c (combinable_i3pat): Similarly for 'src'.
6244 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
6245 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
6246 * regclass.c (copy_cost): Similarly for 'secondary_class'.
6247 * reload.c (make_memloc): Simliarly for 'i'.
6248 (find_reloads_address_1): Similarly for 'link'.
6249 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
6250 (emit_reload_insns): Similarly for 'second_reloadreg'.
6251 * unroll.c (iteration_info): Similarly for 'v'.
6252
6253 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
6254 * calls.c (expand_call): Similarly for 'i'.
6255 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
6256 * fold-const.c (strip_compund_expr): Similarly for 'type'.
6257 * function.c (fixup_var_refs_1): Similarly for 'width'.
6258 (fixup_memory_subreg): Similarly for 'saved'.
6259 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
6260 (setjmp_protect): Similarly for 'sub'.
6261 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
6262 * loop.c (record_giv): Similarly for 'p'.
6263 (combine_givs): Similarly for 'temp_iv'.
6264 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
6265 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
6266 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
6267 * unroll.c (unroll_loop): Similarly for 'copy'.
6268 (iteration_info): Similarly for 'b'.
6269 * varasm.c (assemble_string): Similarly for 'i'.
6270 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
6271
6272 1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
6273
6274 * c-lang.c (lang_print_xnode): New function.
6275 * objc/objc-act.c (lang_print_xnode): Likewise.
6276 * print-tree.c (print_node): Call it
6277
6278 Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
6279
6280 * dwarf2out.c (decl_scope_node): New type.
6281 (decl_scope_table): Change type to use it.
6282 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
6283 (push_decl_scope): Use new type. New locals containing_scope, i.
6284 Add code to handle setting previous field.
6285 (scope_die_for): Change type of local i to int. Add code to use
6286 previous field.
6287 (dwarf2out_init): Use new type.
6288
6289 1998-02-13 Jason Merrill <jason@yorick.cygnus.com>
6290
6291 * except.c (emit_throw): Lose throw_used.
6292
6293 Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6294
6295 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
6296 was deleted.
6297 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
6298
6299 Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
6300
6301 * genextract.c (main): Fix typo.
6302
6303 Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
6304
6305 * c-lang.c (finish_file): Bracket declaration of static_ctors,
6306 static_dtors.
6307
6308 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
6309 'old_stack_arg_under_construction'
6310 (emit_library_call): Bracket declaration of 'upper_bound',
6311 'lower_bound', 'i', 'reg_parm_stack_space'
6312 (emit_library_call_value): Likewise.
6313 (store_one_arg):
6314
6315 * collect2.c: include <unistd.h> when appropriate.
6316 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
6317
6318 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
6319
6320 * explow.c (plus_constant_for_output_wide): Remove unused variable
6321 'code'.
6322 (memory_address): Remove unused variable 'orig_x'.
6323
6324 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
6325 (write_const_num_delay_slots): Remove unused variable 'i'.
6326
6327 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
6328 (gen_insn): Remove unused variable 'obstack_ptr'.
6329
6330 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
6331 'j', 'tmp', 'i'.
6332 (__bb_exit_trace_func): Remove unused variable 'e'.
6333
6334 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
6335 'funexp'.
6336 (expand_unop): Remove unused variable 'funexp'.
6337 (expand_complex_abs): Remove unused variable 'funexp'.
6338 (init_optabs): Bracket declaration of 'j'.
6339 (init_complex_libfuncs): Deleted. Dead static function.
6340
6341 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
6342
6343 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
6344 (reg_to_stack): 'initialized', 'before_function_beg'
6345 explictly type as ints instead of defaulting.
6346 (emit_swap_insn): Remove unused variable 'i2'.
6347 (compare_for_stack_reg): Remove unused variable 'src_note'.
6348
6349 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
6350
6351 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
6352
6353 * stmt.c (add_case_node): Add parens for assignment used as truth.
6354 (all_cases_count): Remove unused variable 'count_high'.
6355 (mark_seen_cases): Remove unused variable 'i'.
6356 (check_for_full_enumeration_handling): Remove unused variable 't'.
6357 Bracket declaration of 'all_values', 'l'.
6358
6359 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
6360
6361 * varasm.c (assemble_string): Remove unused variable 'i'.
6362 (immed_double_const): Remove unused variable 'in_current_obstack'.
6363 (immed_real_const_1): Likewise.
6364 (output_constant_pool): Remove unreferenced label 'done'.
6365 (output_constant): Remove unused variable 'x'.
6366
6367 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
6368 a string.
6369
6370 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
6371 as truth.
6372
6373 Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6374
6375 * combine.c (can_combine_p): Handle USEs in PARALLELs.
6376
6377 Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
6378
6379 * config/linux.h (LIB_SPEC): Add -lc for -shared if
6380 USE_GNULIBC_1 is not defined.
6381 * config/sparc/linux.h; Ditto.
6382
6383 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
6384
6385 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
6386 USE_GNULIBC_1 is not defined.
6387
6388 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
6389
6390 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
6391 for -mcall-linux
6392
6393 Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6394
6395 * system.h: New file to get common systems includes and various
6396 definitions and declarations based on autoconf macros.
6397
6398 Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
6399
6400 * cccp.c (new_include_prefix): Correctly handle -I./.
6401
6402 Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
6403
6404 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
6405
6406 Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
6407
6408 * expr.c (expand_assignment): Correct typo exposed by -Wall.
6409 offset should have been a truth value, not an assignment.
6410
6411 Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
6412
6413 * cse.c (delete_dead_from_cse): If a libcall produces a constant
6414 result and that result can be substituted into SET_SRC of the
6415 insn with the REG_RETVAL note, then perform the substitution
6416 and delete the libcall.
6417
6418 Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
6419
6420 * mips.md (trucndihi2,truncdiqi2): Change these to support
6421 mips16.
6422
6423 Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
6424
6425 * mips/mips.c (movdi_operand): Direct referances to symbols
6426 that arn't mips16 consts in mips16 mode arn't valid operands.
6427
6428 * mips/mips.c (mips_move_2words): Add gprel handling.
6429
6430 Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
6431
6432 * mips.md (extendsidi2): Allow extension to/from a non-mips16
6433 register.
6434
6435 Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
6436
6437 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
6438 <strings.h>.
6439
6440 Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6441
6442 * Makefile.in (WARN_CFLAGS): New variable.
6443 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
6444
6445 1998-02-11 Mark Mitchell <mmitchell@usa.net>
6446
6447 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
6448 falling through default case in switch.
6449 (i386_aligned_p): Likewise.
6450
6451 Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
6452
6453 * mips/mips.h (mips_abi_string): Correct typo in comment.
6454
6455 Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
6456
6457 * mips/mips.md (movdi): These PLUS's need to be Pmode.
6458
6459 Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6460
6461 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
6462 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
6463 indirectly via expr.h.
6464
6465 Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
6466
6467 * stor-layout.c (layout_type): Do upper - lower in the native type,
6468 so as to properly handle negative indices.
6469
6470 Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
6471
6472 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
6473 (expand_eh_region_start_tree): Remove unused variable 'note'.
6474 (exception_optimize): Remove unused variable 'regions'.
6475 (expand_builtin_eh_stub): Remove unused variable 'temp'.
6476 (copy_eh_entry): Deleted. Dead function.
6477
6478 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
6479 'last' with same #if HAVE_load_multiple as use of it.
6480 (move_block_from_reg): Likewise.
6481 (emit_move_insn_1): Remove unused variable 'insns'.
6482 (store_constructor): Bracket declaration of startb, endb with
6483 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
6484 'target', and 'xtarget'.
6485 (expand_builtin_setjmp): Remove unused variables 'op0',
6486 'next_arg_reg', 'old_inhibit_defer_pop'.
6487 (expand_builtin): Remove unused variable 'offset'.
6488 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
6489 (emit_queue): Add parens for assignment used as conditional.
6490 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
6491
6492 Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
6493
6494 * i386.c: Added include for recog.h.
6495 (override_options): Removed unused variable p. Initialized regno to
6496 avoid warning.
6497 (order_regs_for_local_alloc): Initialized regno to avoid warning.
6498 (legitimize_address): Likewise for 'other'.
6499 (i386_aligned_reg_p): Added default case with abort ().
6500 (print_operand): Likewise.
6501 (reg_mentioned_in_mem): Likewise.
6502 (ix86_expand_binary_operator): Removed unused variables i & insn.
6503 (ix86_expand_unary_operator): Removed unused variable insn.
6504 (output_fp_cc0_set): Removed unused variable unordered_label.
6505
6506 Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
6507
6508 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
6509 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
6510 and format string match.
6511
6512 Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
6513
6514 * flow.c (life_analysis): Do not conside the stack pointer live at
6515 the end of a function if the fucntio ncalls alloca.
6516 (mark_used_regs): Similarly.
6517
6518 1998-02-10 John F Carr <jfc@mit.edu>
6519
6520 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
6521 1, fzero on alternative 8.
6522
6523 Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6524
6525 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
6526
6527 Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6528
6529 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
6530 SUBREGs of CONST_INTs.
6531
6532 Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
6533
6534 * mips.c (print_operand, function_prologue): Make printf format
6535 match argument type.
6536
6537 Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6538
6539 * alpha.c (alpha_return_addr): Remove unused variable `first'.
6540 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
6541 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
6542
6543 Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6544
6545 * loop.c (strength_reduce): When placing increment for auto-inc
6546 case, do comparison in loop order.
6547
6548 Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
6549
6550 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
6551 not a HOST_WIDE_INT.
6552
6553 * calls.c (expand_call): Change test of expand_inline_function
6554 return value to stop compiler warning.
6555
6556 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
6557
6558 Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
6559 Jeff Law (law@cygnus.com)
6560
6561 * regmove.c: Fix various minor formatting problems.
6562 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
6563 is true. Make end of basic block tests consistent through regmove.c.
6564 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
6565 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
6566
6567 Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6568
6569 * gansidecl.h: Check for a conflicting macro definition before
6570 attempting to prototype bcopy, bcmp or bzero.
6571
6572 Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
6573
6574 * expr.c (clear_pending_stack_adjust): Handle case where a function
6575 calls alloca, but the user has specified -fomit-fframe-pointer.
6576
6577 * function.c (assign_parms): Fix typo in last change.
6578
6579 Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
6580
6581 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
6582 <fcntl.h>.
6583 (free_path_suffix): Remove unreferenced static function.
6584 (process_command): Remove unused variable temp.
6585 (default_arg): Remove unused variable i.
6586 (do_spec_1): Add parens for assignment used as truth value.
6587 (main): Likewise.
6588 (validate_all_switches): Likewise.
6589 (main): Remove unused variables i, first_time>
6590
6591 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
6592
6593 * calls.c (expand_call): Remove unused variables funtree,
6594 n_regs, and tmpmode.
6595
6596 * dbxout.c, except.c: Include <string.h>/<strings.h>.
6597
6598 * explow.c: (plus_constant_for_output_wide) Removed unused
6599 variable all_constant.
6600
6601 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
6602 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
6603 genrecog.c, global.c, integrate.c , stupid.c : Include
6604 <stdlib.h>.
6605
6606 * genextract.c: (walk_rtx) Remove unused variable link.
6607
6608 * genrecog.c: (concat) Remove unreferenced static function.
6609
6610 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
6611
6612 * stmt.c: Include <stdlib.h>.
6613 (expand_asm_operands): Remove unused variable val1.
6614 (expand_return): Remove unused variable block.
6615 (pushcase): Remove unused variables l and n.
6616 (pushcaserange): Likewise.
6617
6618 * unroll.c (unroll_loop): Remove unused variable temp.
6619
6620 Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
6621
6622 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
6623
6624 Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6625
6626 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
6627 functions for whether they support the %p format specifier.
6628 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
6629 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
6630 * configure, config.in: Rebuild.
6631
6632 Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
6633
6634 * function.c (assign_parms): New variable named_arg, with value
6635 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
6636
6637 Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
6638
6639 * mips/t-r3900: New - same as t-ecoff but eliminate
6640 multilibs: mips1 and mips3.
6641 * configure.in (tx39*): Use new mips/t-r3900.
6642 * configure: Rebuild.
6643 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
6644
6645 1998-02-06 Jason Merrill <jason@yorick.cygnus.com>
6646
6647 * dwarf2out.c: Add old_args_size.
6648 (dwarf2out_args_size): Use it.
6649 (dwarf2out_begin_prologue): Initialize it.
6650 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
6651 pushed args until we see a call.
6652 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
6653 before outputting them.
6654
6655 1998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
6656
6657 * cplus-dem.c (demangle_template_template_parm): New function.
6658 (demangle_template): Handle template template parameters.
6659
6660 1998-02-02 Mark Mitchell <mmitchell@usa.net>
6661
6662 * calls.c (expand_call): Don't confuse member functions named
6663 realloc, setjmp, and so forth with the standard library
6664 functions of the same names.
6665
6666 Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
6667
6668 * stmt.c (expand_asm_operands): Correctly identify asm statements
6669 no output operands.
6670
6671 Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
6672
6673 * c-common.c (decl_attributes): Flag unrecognized attribute
6674 functions as warnings instead of as errors.
6675
6676 1998-02-05 Marc Lehmann <pcg@goof.com>
6677
6678 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
6679 when -Os is specified.
6680 * toplev.c (main): Don't disable flag_inline_functions anymore when
6681 -Os is in effect.
6682
6683 Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6684
6685 * regmove.c: Update.
6686 * flags.h (flag_regmove): Declare.
6687 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
6688 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
6689 Moved into regmove; changed caller.
6690 * toplev.c (rest_of_compilation): Call regmove_optimize also for
6691 expensive_optimizations.
6692
6693 Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
6694
6695 * version.c: Bump for snapshot.
6696
6697 Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6698 Undo this change (the problem was actually in reload):
6699 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6700
6701 * sh.md (movqi_i+1): New peephole.
6702
6703 Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
6704
6705 * jump.c (jump_optimize): Lose calls to modified_in_p they are
6706 not needed anymore due to changes elsewhere in jump.c.
6707
6708 * jump.c (jump_optimize): Fix first arg to modified_in_p in
6709 previous change.
6710
6711 Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
6712
6713 * expr.c (expand_builtin_setjmp): Accept two new arguments for
6714 the labels to branch to on first and subsequent executions. Don't
6715 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
6716 and provide it with the jmp_buf. Use only one of
6717 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
6718 and provide the former with the target label.
6719 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
6720 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
6721 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
6722 insn to replace all of the normal nonlocal_goto code. Don't play
6723 with __dummy. Correct arguments to nonlocal_goto.
6724 * expr.h (expand_builtin_setjmp): Update prototype.
6725 * except.c (start_dynamic_handler): When using builtin_setjmp,
6726 generate more accurate flow information.
6727
6728 * alpha.md (nonlocal_goto_receiver_osf): Delete.
6729 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
6730 (builtin_longjmp, builtin_setjmp_receiver): New.
6731 * sparc.md (update_return): Disambiguate unspec number.
6732 (nonlocal_goto): Rearrange arguments to match caller in except.c.
6733 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
6734 jmp_buf operand.
6735 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
6736 (builtin_setjmp_setup*, builtin_longjmp): New.
6737
6738 Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
6739
6740 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
6741
6742 Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
6743
6744 * vmsconfig.com: Remove bytecode references.
6745
6746 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6747
6748 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
6749 -fno-sjlj-exceptions works for a target that defines
6750 DWARF2_UNWIND_INFO as zero.
6751
6752 * regmove.c (fixup_match_1): Undo last change which removed some
6753 "useless" code, and add a comment explaining this.
6754
6755 Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
6756
6757 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
6758 to TARGET_LONG64.
6759
6760 Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
6761
6762 * makefile.vms: Remove bytecode references.
6763 Create genrtl files.
6764
6765 Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
6766
6767 * jump.c (jump_optimize): Allow conditional loading of floating point
6768 constants and constants from memory. Reinstalled modified_in_p tests.
6769
6770 Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6771
6772 * loop.c (get_condition): Handle sign-extended constants.
6773
6774 Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
6775
6776 * expr.c (emit_push_insn): Add code to use movstrti if present.
6777
6778 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
6779 and movstrqi as in emit_block_move ().
6780
6781 Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
6782
6783 * config/m68k/x-next: Remove /NextDeveloper/Headers from
6784 the directories to fixinclude - /usr/include is a link
6785 to it and hence its contents are fixed by default.
6786
6787 Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
6788
6789 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
6790
6791 Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
6792
6793 * cccp.c (main): Predefine __VMS_VER on VMS.
6794
6795 Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6796
6797 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
6798 * fold-const.c (size_int): Replace with
6799 (size_int_wide).
6800 (make_bit_field_ref): Use bitsize_int for bit position.
6801 * stor-layout.c (sizetype): Delete.
6802 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
6803 (layout_record, layout_union, layout_type):
6804 Use bitsize_int for bit size.
6805 (set_sizetype): New function.
6806 (make_signed_type, make_unsigned_type): Use it.
6807 * c-decl.c (init_decl_processing): Likewise.
6808 * tree.h (size_int): Don't delcare, #define.
6809 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
6810 (set_sizetype): Declare.
6811 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
6812 Define.
6813 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
6814 Convert result to sizetype.
6815 (really_start_incremental_init, push_init_level):
6816 Set type of constructor_bit_index to sbitsizetype.
6817 (push_init_level): Use unsigned arithmetic to determine padding.
6818 (output_init_element): Likewise.
6819
6820 Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
6821
6822 * combine.c (simplify_shift_const): Fix typo in last change.
6823
6824 Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
6825
6826 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
6827 is (truncate (lshiftrt)).
6828
6829 Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
6830
6831 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
6832 Make sure result winds up in TGT.
6833 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
6834 src to be other than DImode.
6835 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
6836 (alpha_expand_unaligned_store_words): Likewise.
6837 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
6838 that source and destination are separately optimized for alignment.
6839 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
6840
6841 Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
6842
6843 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
6844 with handling of -32768.
6845
6846 Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6847
6848 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
6849 shell variable argument instead of only hard coded functions.
6850 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
6851
6852 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
6853 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
6854 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
6855 declarations for bcopy, bcmp and bzero.
6856
6857 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
6858
6859 * gansidecl.h: If we have bcopy but don't declare it, then do so.
6860 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
6861 bzero, index and rindex if they aren't already present.
6862
6863 Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
6864
6865 * toplev.c (close_dump_file): Wrap function prototype for
6866 argument "func" in PROTO.
6867 (dump_rtl): Likewise.
6868
6869 Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
6870
6871 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
6872 MASK_V8PLUS.
6873 (output_function_epilogue): Omit epilogue if nothing drops through.
6874 (output_move_double): Supress int ldd usage on ultrasparc and v9.
6875 (registers_ok_for_ldd_peep): Likewise.
6876 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
6877 (ultrasparc_adjust_cost): New function.
6878 (sparc_issue_rate): New function.
6879 * sparc.h (MASK_VIS, TARGET_VIS): New
6880 (MASK_V8PLUS, TARGET_V8PLUS): New.
6881 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
6882 (TARGET_SWITCHES): Add vis and v8plus.
6883 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
6884 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
6885 (RTX_COSTS): Use TARGET_HARD_MUL
6886 (ADJUST_COST): Call ultrasparc_adjust_cost.
6887 (ISSUE_RATE): New.
6888 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
6889 of load & fp appropritely.
6890 (supersparc function units): Adjust for Haifa.
6891 (ultrasparc function units): Likewise.
6892 (get_pc_via_rdpc): All v9, not just arch64.
6893 (movdi_v8plus, movdi_v8plus+1): New.
6894 (adddi3_sp32+1): New.
6895 (subdi3_sp32+1): New.
6896 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
6897 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
6898 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
6899 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
6900 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
6901 (ldd peepholes): Suppress for v9.
6902 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
6903 (return_subsi): Revmove.
6904
6905 Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
6906
6907 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
6908 save/restore MEM rtl.
6909
6910 Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
6911
6912 * configure.in: Check for declaration of abort.
6913 * acconfig.h: Corresponding changes.
6914 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
6915 be declared.
6916
6917 Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
6918
6919 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
6920 uses it.
6921
6922 Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
6923
6924 * version.c: Bump for snapshot.
6925
6926 Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
6927
6928 * configure.in: Check for atoq and atoll.
6929 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
6930 proper routine for converting ascii into long long values.
6931
6932 Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
6933
6934 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
6935
6936 * vmsconfig.com: Remove bytecode references.
6937
6938 * alpha/vms.h (PREFIX): Define.
6939
6940 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
6941
6942 * am-alpha.h: Don't include alloca for OPEN_VMS.
6943
6944 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
6945
6946 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
6947 (GCC_INCLUDE_DIR): Define
6948
6949 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
6950 * makefile.vms: New file.
6951
6952 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
6953
6954 * alpha.c (output_prolog): Output '.name' directive
6955 for minimal traceback information.
6956
6957 * alpha.c (output_prolog): Don't prepend entry point symbols
6958 with '$' on OPEN_VMS.
6959
6960 Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
6961 Jeffrey A Law (law@cygnus.com)
6962
6963 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
6964 HOST_WIDE_INT.
6965
6966 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
6967 as needed.
6968 * genemit.c (gen_exp): Likewise.
6969 * genpeep.c (match_rtx): Likewise.
6970 * genrecog.c (write_tree_1): Likewise.
6971
6972 * c-lex.c (yyprint): Use proper format string based upon
6973 disposition of HOST_BITS_PER_WIDE_INT.
6974 (yylex): Put casts in right place for args to build_int_2.
6975
6976 Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
6977
6978 * combine.c: Fix typos in Jan27 changes.
6979
6980 Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
6981
6982 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
6983 (LINK_SPEC): Likewise.
6984 (STARTFILE_SPEC): Likewise.
6985
6986 1998-01-28 Mike Stump <mrs@wrs.com>
6987
6988 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
6989 reload completes.
6990 * genattrtab.c (reload_completed): Define.
6991
6992 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
6993 comments.
6994
6995 Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6996
6997 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
6998 SUBREG_REG if the word count is unchanged, also in the input reload
6999 case. Disable non-applicable sanity checks.
7000
7001 Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
7002
7003 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
7004
7005 Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
7006
7007 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
7008
7009 Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
7010
7011 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
7012 is a TREE_VEC before trying to use it for baseclasses.
7013 (Chill uses the same field for a different purpose.)
7014
7015 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
7016
7017 Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
7018
7019 * config.sub: More accurate determination of HP processor types.
7020
7021 Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7022
7023 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
7024 prototype for `handle_sysv_pragma', and make it static. Add
7025 parentheses around assignment used as truth value.
7026
7027 * combine.c (combine_instructions): Protect variable `prev' with
7028 macro HAVE_cc0.
7029 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
7030 (extract_left_shift): Add parentheses around operand of &.
7031 (merge_outer_ops): Avoid an empty body in an else-statement.
7032 (gen_rtx_combine): Remove unused variable `i'.
7033
7034 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
7035 function monstartup `void'. Likewise for internal_mcount. Add
7036 `static void' prototype for moncontrol. Reconcile sprintf format
7037 vs. args.
7038
7039 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
7040 Make return type of function_arg_slotno explicitly `int'.
7041 (reg_unused_after): Add parentheses around assignment used as
7042 truth value.
7043 (save_regs): Add explicit braces to avoid ambiguous `else'.
7044 (function_arg_slotno): Add parentheses around && within ||.
7045 (function_arg_pass_by_reference): Likewise.
7046 (sparc_flat_output_function_prologue): Reconcile fprintf format
7047 vs. args.
7048
7049 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
7050 assignment used as truth value.
7051
7052 * cplus-dem.c: Include <stdlib.h>.
7053 (demangle_signature): Avoid an empty body in an else-statement.
7054 (do_type): Remove unused variable `lvl'.
7055
7056 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
7057 Include <string.h>/<strings.h>.
7058 (cpp_lex): Remove unused variable `namelen'.
7059 (cpp_lex): Explicitly declare `num_chars' as an int.
7060
7061 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
7062 <unistd.h> instead. Explicitly declare is_system_include
7063 returning int.
7064 (make_assertion): Remove unused variable `kt'.
7065 (cpp_expand_to_buffer): Hide variable `obuf'.
7066 (output_line_command): Remove unused variables, `line_end',
7067 `line_cmd_buf' and `len'.
7068 (macarg): Remove unused variable `arg_start'.
7069 (special_symbol): Remove unused variable `i'. Add parentheses
7070 around assignment used as truth value.
7071 (do_include): Remove unused variables `pcfname' and `retried',
7072 hide `pcf' and `pcfbuflimit'.
7073 (do_line): Remove unused variable `i'.
7074 (finclude): Hide variable `missing_newline'.
7075 (cpp_handle_options): Remove unused variable `j'.
7076 (read_token_list): Remove unused variable `eofp'.
7077 (cpp_error_with_line): Remove unused variable `i'.
7078 (cpp_warning_with_line): Likewise.
7079 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
7080 (cpp_error_from_errno): Remove unused variable `i'.
7081
7082 * cse.c (invalidate): Add parentheses around assignment used as
7083 truth value.
7084 (find_best_addr): Move declaration of variable `our_cost' inside
7085 the conditional macro where its used.
7086 (fold_rtx): Avoid an empty body in an if-statement.
7087 (cse_insn): Wrap variables `this_insn_cc0_mode' and
7088 `this_insn_cc0' in macro HAVE_cc0.
7089
7090 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
7091 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
7092 (output_uleb128): Likewise.
7093 (output_sleb128): Likewise.
7094 (output_cfi): Likewise.
7095 (output_call_frame_info): Remove unused variables `j', `fde_size'
7096 and `fde_pad'.
7097 (comp_unit_has_inlines): Hide declaration as per rest of file.
7098 (size_of_line_prolog): Correct typo in prototype.
7099 (add_arange): Likewise.
7100 (output_aranges): Likewise.
7101 (add_name_and_src_coords_attributes): Likewise.
7102 (gen_array_type_die): Likewise.
7103 (gen_inlined_subroutine_die): Likewise.
7104 (equate_decl_number_to_die): Remove unused variable `i'.
7105 (print_die): Reconcile format vs. args in fprintf's.
7106 (print_dwarf_line_table): Likewise.
7107 (output_die): Likewise.
7108 (output_line_info): Likewise.
7109 (add_subscript_info): Avoid an empty body in an else-statement.
7110 (gen_subprogram_die): Remove unused variable `fp_loc'.
7111
7112 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
7113 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
7114 macro. Protect `src_coords_attribute' prototype with
7115 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
7116 prototype as in the rest of the file. Likewise for
7117 `output_pointer_type_die' and `output_reference_type_die'. Remove
7118 prototype for `type_of_for_scope'.
7119 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
7120 (type_attribute): Add explicit braces to avoid ambiguous `else'.
7121
7122 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
7123 (shorten_branches): Protect declaration of tmp_length with
7124 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
7125 (profile_function): Protect declaration of `sval' and `cxt'
7126 variables with appropriate macros.
7127 (final_scan_insn): Likewise for `note' variable. Add explicit
7128 braces to avoid empty body in an if-statement.
7129 (output_asm_insn): Move variable `i' inside macro conditional
7130 where it is used. Add parentheses around assignment used as truth
7131 value.
7132 (asm_fprintf) Likewise, likewise.
7133
7134 * fix-header.c (main): Remove unused variable `done'. Protect
7135 declaration of `i' with FIXPROTO_IGNORE_LIST.
7136
7137 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
7138
7139 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
7140 `ind'.
7141
7142 * profile.c: Include <string.h>/<strings.h>.
7143 (instrument_arcs): Remove unused variables `note', `inverted',
7144 `zero' and `neg_one'.
7145 (branch_prob): Avoid empty body in an if-statement.
7146
7147 * regclass.c: Include <stdlib.h>.
7148 (reg_alternate_class): Explicitly declare parameter `regno'.
7149
7150 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
7151 parentheses around assignment used as truth value.
7152 (find_matches): Remove unused variables `output_operand' and
7153 `matching_operand'.
7154 (fixup_match_1): Remove statement with no effect: "if (0) ;".
7155
7156 * scan.c (sstring_append): Explicitly declare `count' as int.
7157 (scan_string): Explicitly declare parameter `init' as int.
7158
7159 * sched.c: Include <stdlib.h>.
7160 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
7161 (rank_for_schedule): Add parentheses around assignment used as
7162 truth value.
7163 (schedule_block): Likewise.
7164 (regno_use_in): Likewise.
7165 (schedule_insns): Remove unused variable `i'.
7166
7167 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
7168 (v_message_with_decl): Remove unused variable `n'.
7169 (botch): Explicitly declare parameter `s' as char *.
7170 (main): Add parentheses around assignment used as truth value.
7171
7172 * tree.c (make_node): Protect the variable `kind' with the
7173 GATHER_STATISTICS macro.
7174 (real_value_from_int_cst): Move variable `e' inside conditional
7175 macro area where it is used.
7176 (tree_last): Add parentheses around assignment used as truth value.
7177 (build1): Protect the variable `kind' with the GATHER_STATISTICS
7178 macro.
7179 (print_obstack_statistics): Reconcile format vs. args in fprintf.
7180 Protect variables `i', `total_nodes', and `total_bytes' with the
7181 GATHER_STATISTICS macro.
7182
7183 Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
7184
7185 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
7186 some comments regarding use of dead_or_set_p.
7187
7188 Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
7189
7190 * fixincludes: Tweak fix for struct exception in math.h
7191
7192 Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
7193
7194 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
7195 Change mode of registers used to add/sub from
7196 hard_frame_pointer_rtx from word_mode to Pmode.
7197
7198 Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
7199
7200 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
7201 asm_output_aligned_bss() instead of asm_output_bss().
7202
7203 * toplev.c (rest_of_compilation): Replace references to
7204 stack_reg_dump_file and dbr_sched_dump_file with references to
7205 rtl_dump_file.
7206
7207 Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
7208
7209 * tlink.c (scan_linker_output): Call fclose() for opened files.
7210
7211 Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
7212
7213 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
7214 compiling with -fpic -- we want to be able to override symbols
7215 properly.
7216 (alpha_expand_block_move): Fix thinko in last change.
7217
7218 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
7219 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
7220 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
7221
7222 Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
7223
7224 * alpha.md (abssf, absdf): Revert last change.
7225
7226 Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
7227
7228 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
7229 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
7230
7231 Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
7232
7233 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
7234 a CONST_INT into SFmode.
7235
7236 Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
7237
7238 * flags.h: New flag (optimize_size).
7239 * toplev.c (main): Parse -Os option and set optimize_space
7240 accordingly.
7241 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
7242 __OPTIMIZE_SIZE__ when compiling with -Os.
7243 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
7244 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
7245 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
7246 to macro.
7247 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
7248
7249 Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
7250
7251 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
7252 stuff only if MCT_TEXT is #define'd.
7253
7254 Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
7255
7256 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
7257 configurations.
7258
7259 Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
7260
7261 * toplev.c: Add -dM command line option to dump RTL after the
7262 machine dependent reorganisation pass, if there is one.
7263 Reorganise RTL dump code, so that only one file handle is
7264 needed.
7265
7266 Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7267
7268 * except.c (check_exception_handler_labels): Disable warning when
7269 flag_syntax_only.
7270
7271 Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
7272
7273 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
7274
7275 Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7276
7277 * c-decl.c (grokdeclarator): Get parameter tags from
7278 last_function_parm_tags.
7279 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
7280 traversing the parameter types.
7281 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
7282
7283 Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
7284
7285 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
7286 the default case.
7287 (get_shift_alg): Fix typo.
7288
7289 Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
7290
7291 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
7292
7293 Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
7294
7295 * toplev.c (get_run_time): Make sure each case gets its variables.
7296
7297 Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
7298
7299 * configure.in (build_xm_file): Add auto-config.h if host=build.
7300 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
7301 (build_xm_file_list): Likewise.
7302 * configure: Rebuild.
7303
7304 Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
7305
7306 * recog.c (validate_replace_rtx_1): Only perform substitutions
7307 of arguments to commutative and comparison operators once.
7308
7309 Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7310
7311 * sparc.c (output_cbranch): Add default case in
7312 enumeration switch.
7313
7314 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
7315 (emit_delay_sequence): Eliminate unused parameter, all callers
7316 changed.
7317 (fill_simple_delay_slots): Likewise.
7318 (fill_slots_from_thread): Likewise.
7319 (fill_eager_delay_slots): Likewise.
7320 (mark_referenced_resources): Add default case in enumeration switch.
7321 (mark_set_resources): Likewise.
7322 (rare_destination): Likewise.
7323 (mostly_true_jump): Likewise.
7324 (find_dead_or_set_registers): Likewise.
7325 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
7326 (update_reg_unused_notes): Remove unused variable `p'.
7327 (mark_target_live_regs): Remove unused variables `next' and
7328 `jump_count'.
7329 (fill_simple_delay_slots): Remove unused variable `j'.
7330 (fill_slots_from_thread): Add parentheses around assignment used
7331 as truth value.
7332 (dbr_schedule): Likewise.
7333
7334 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
7335 (objc.stage2, objc.stage3, objc.stage4): Likewise.
7336
7337 Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
7338
7339 * cse.c (simplify_ternary_operation): Don't try to simplify
7340 IF_THEN_ELSE expressions (created by combine) that don't use
7341 relational operators.
7342
7343 Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
7344
7345 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
7346 simplifications.
7347
7348 * crtstuff.c (init_dummy): Keep the epilogue in the init
7349 section for non-ELF systems.
7350
7351 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7352
7353 * sh.md (movqi_i+1): New peephole.
7354
7355 Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
7356
7357 * Makefile.in: Remove remaining bytecode stuff.
7358 * emit-rtl.c, expr.c: Likewise.
7359
7360 Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
7361
7362 * toplev.c (lang_options): Add unknown-pragma options.
7363
7364 Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
7365
7366 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
7367 special (and incomplete) handling for Chill arrays.
7368
7369 Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
7370
7371 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
7372 to get clock rate.
7373
7374 Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
7375
7376 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
7377
7378 1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
7379
7380 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
7381 .frame directive instead of FRAME_POINTER_REGNUM.
7382
7383 Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
7384
7385 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
7386 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
7387 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
7388 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
7389 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
7390 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
7391 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
7392 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
7393 mcpu32 or m5200.
7394 * longlong.h: Replace __mc68332__ with __mcpu32__.
7395
7396 Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
7397
7398 * version.c: Bump for snapshot.
7399
7400 Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
7401
7402 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
7403 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
7404 * reload1.c (eliminate_regs): Likewise.
7405
7406 Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
7407
7408 * regmove.c (find_matches): Initialize matches->earlyclobber too.
7409
7410 Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
7411
7412 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
7413 (negsf2, negdf2): Use proper subtract in IEEE mode.
7414
7415 Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
7416
7417 * Makefile.in: Remove more bytecode stuff.
7418 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
7419 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
7420 * f/install.texi, objc/Make-lang.in: Likewise.
7421
7422 * Makefile.in: Remove all bytecode support.
7423 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
7424 * emit-rtl.c: Remove all bytecode support.
7425 * expr.c, expr.h function.c, integrate.c: Likewise.
7426 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
7427 * tree.h, varasm.c: Likewise.
7428 * config/m68k/m68k.h: Likewise.
7429 * bi-*, bc-*, bytecode*: Delete bytecode related files.
7430 * modemap.def: Likewise.
7431
7432 Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
7433
7434 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
7435 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
7436
7437 Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
7438
7439 * i386.md (push): Prohibit symbolic constants if flag_pic.
7440 (movsi+1): Likewise for move to non-register.
7441
7442 Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
7443
7444 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
7445 (print_operand): Handle 0xffffffff on 32 bit host.
7446
7447 * configure.in (thread_file): Rename uses before main loop to
7448 target_thread_file. Initialize to empty in main loop. Set thread_file
7449 to target_thread_file after main loop if not set.
7450 * configure: Rebuild.
7451
7452 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
7453 (add_values_to_cover): Revert last change (which had no ChangeLog
7454 entry).
7455 (simplify_with_current_value_aux): Handle CONST_INT.
7456
7457 Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7458
7459 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
7460
7461 Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
7462
7463 * configure.in: Add cpp stringify test.
7464 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
7465 * gengenrtl.c: Use it.
7466 * configure, config.in: Rebuild.
7467
7468 Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7469
7470 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
7471
7472 Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
7473
7474 * configure.in: Find declaration for sbrk.
7475 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
7476 * config.in, configure: Rebuild.
7477 * mips-tfile.c: Properly protect declaration of sbrk and free.
7478 * toplev.c: Properly protect declaration of sbrk.
7479
7480 Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
7481
7482 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
7483
7484 Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
7485
7486 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
7487
7488 Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
7489
7490 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
7491
7492 Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
7493
7494 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
7495 constant offset computations from objects with known alignment in
7496 the presence of STACK_BIAS.
7497
7498 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
7499 necessary.
7500 (const_hash): Hash val is unsigned long.
7501 (SYMHASH): Likewise.
7502
7503 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
7504
7505 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
7506 char pointer, not HOST_WIDE_INT.
7507 (print_node): Likewise. Also hash is unsigned long not
7508 HOST_WIDE_INT.
7509
7510 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
7511
7512 * explow.c (optimize_save_area_alloca): New function for targets
7513 where SETJMP_VIA_SAVE_AREA is true.
7514 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
7515 compute the amount of stack space needed should we find later that
7516 setjmp is never called by this function, stuff rtl for this inside
7517 a REG_NOTE of the final SET of stack_pointer_rtx.
7518 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
7519 current_function_calls_alloca, call optimize_save_area_alloca.
7520
7521 Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
7522
7523 * i386.md: Remove redundant integer push patterns.
7524 Don't bother checking for TARGET_PUSH_MEMORY when
7525 pushing constants or registers.
7526
7527 Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
7528 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
7529
7530 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
7531 (pwait): New function for mingw32.
7532
7533 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
7534 pipe support is broken for now.
7535
7536 1998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
7537
7538 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
7539 between frame_pointer_rtx, hard_frame_pointer_rtx, and
7540 arg_pointer_rtx is respected in initialization.
7541 (init_emit_once): Use gen_rtx_raw_REG() to create
7542 return_address_pointer_rtx.
7543
7544 * reorg.c: #include "expr.h" for rtx prototypes.
7545 * Makefile.in (reorg.o): Depend on expr.h
7546
7547 Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
7548
7549 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
7550 local_prefix to sub-make invocations.
7551
7552 Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
7553
7554 * objc-parse.c: Recognize protocol qualifiers in class definitions.
7555
7556 Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
7557
7558 * rtl.h: Fix typos.
7559
7560 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
7561 * configure.in: Check for atol.
7562 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
7563
7564 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
7565
7566 * loop.c (find_and_verify_loops): When attempting to move insns from
7567 inside the loop outside the loop, create a BARRIER if no suitable
7568 one was found.
7569
7570 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
7571 favor of an equivalent change from gcc-2.8.
7572
7573 * i386/x-sco5 (CC): Remove trailing whitespace.
7574
7575 Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7576
7577 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
7578 (accessor_from_format): Likewise.
7579 (xmalloc): New function for use when linking with alloca.o.
7580
7581 Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
7582
7583 * frame.c (find_fde): Correct FDE's upper bound.
7584
7585 Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
7586
7587 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
7588
7589 Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
7590
7591 * calls.c (expand_call): Move #ifdef code out of macro argument
7592 lists.
7593 (emit_library_call, emit_library_call_value): Likewise.
7594
7595 Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
7596
7597 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
7598
7599 Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
7600
7601 * version.c: Bump for snapshot.
7602
7603 Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
7604
7605 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
7606 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
7607 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
7608 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
7609 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
7610 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
7611 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
7612 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
7613 * unroll.c, varasm.c: Likewise.
7614 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
7615
7616 Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
7617
7618 * mips.h: Fix some type-o's from a previous change.
7619
7620 Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
7621
7622 * loop.c (check_dbra_loop): Make sure initial value is a
7623 CONST_INT before trying to normalize it.
7624
7625 Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
7626
7627 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
7628
7629 Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
7630
7631 * cppexp.c: Include gansidecl.h
7632
7633 Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
7634
7635 * svr4.h (LINK_SPEC): Never specify -h.
7636 * ptx4.h (LINK_SPEC): Likewise.
7637 * rs6000/sysv4.h (LINK_SPEC): Likewise.
7638 * sparc/sol2.h (LINK_SPEC): Likewise.
7639
7640 Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
7641
7642 * c-typeck.c (comptypes): Exit early on NULL input.
7643
7644 * haifa-sched.c (schedule_insns): Correctly remove inter-block
7645 dependencies after reload.
7646
7647 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
7648
7649 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
7650
7651 Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
7652
7653 * alpha/vms.h (DIR_SEPARATOR): define
7654
7655 Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
7656
7657 * Makefile.in (stamp-proto): Remove.
7658 (protoize.o, unprotoize.o): Straightforward compile.
7659 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
7660
7661 Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
7662
7663 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
7664 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
7665
7666 Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
7667
7668 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
7669 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
7670 * sparc/netbsd.h, vax/netbsd.h: Likewise.
7671
7672 Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
7673
7674 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
7675
7676 Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
7677
7678 * configure.in (target_cpu_default, target_cpu_default2): Use double
7679 quotes around them when testing their value.
7680 * configure: Rebuilt.
7681
7682 Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
7683
7684 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
7685 to allocate rtx.
7686 (gendef): Call obstack_alloc_rtx.
7687
7688 Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
7689
7690 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
7691 for now.
7692
7693 Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
7694
7695 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
7696 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
7697 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
7698
7699 Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
7700
7701 * mips.md (return_internal): Change mode from SImode to VOIDmode.
7702
7703 Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
7704
7705 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
7706 "-static".
7707
7708 Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
7709
7710 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
7711 suffix from operand 3.
7712
7713 Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7714 Jeffrey A Law (law@cygnus.com)
7715
7716 * regmove.c: New implementation of regmove pass.
7717 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
7718 decls, make them have external linkage. Return a value from
7719 optimize_reg_copy_1.
7720 * reload.h (count_occurrences): Add decl.
7721 * reload1.c (count_occurrences): Delete decl, make it have external
7722 linkage.
7723 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
7724
7725 Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
7726
7727 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
7728 if it is not defined.
7729
7730 Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
7731
7732 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
7733 * emit-rtl.c (gen_rtx): Move special code to ...
7734 (gen_rtx_CONST_INT): New function.
7735 (gen_rtx_REG): New function.
7736 (*): Update all calls to gen_rtx.
7737 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
7738 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
7739 (GEN_INT): Call gen_rtx_CONST_INT.
7740 * gengenrtl.c: New file.
7741
7742 Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
7743
7744 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
7745 (base_alias_check): If no base found for address call canon_rtx and
7746 try again.
7747
7748 Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
7749
7750 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
7751 arguments for mips16.
7752 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
7753 Don't lose if tsize is zero after handling large stack for mips16.
7754 * mips.md (return): For trivial return, return address is in $31.
7755
7756 Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
7757
7758 * mips/mips16.S: Various changes to make it work with -msingle-float
7759 and -EL.
7760
7761 Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
7762 Ian Lance Taylor <ian@cygnus.com>
7763 Jeff Law <law@cygnus.com>
7764
7765 * mips.c, mips.h, mips.md: First cut at merging in mips16
7766 support. Major modifications throughout all three files.
7767
7768 Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
7769
7770 * configure.in: Make gthr-default.h a forwarding header instead of
7771 a symlink.
7772
7773 Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7774
7775 * gcov-io.h: Include sys/types.h to ensure we get size_t.
7776
7777 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
7778
7779 Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
7780 Jeffrey A Law (law@cygnus.com)
7781
7782 * crtstuff.c (__frame_dummy): New function for irix6.
7783 (__do_global_ctors): Call __frame_dummy for irix6.
7784 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
7785
7786 Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
7787
7788 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
7789
7790 Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
7791
7792 * c-decl.c (init_decl_processing): Provide proper fallback symbol
7793 for __builtin_memset.
7794 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
7795 not INTEGER_CST. Assert arg 3 is a constant.
7796
7797 * alpha.c (mode_width_operand): Accept 64-bit modes.
7798 (mode_mask_operand): Likewise.
7799 (print_operand): Likewise for 'M' and 'U' codes.
7800 (alpha_expand_unaligned_load): New function.
7801 (alpha_expand_unaligned_store): Likewise.
7802 (alpha_expand_unaligned_load_words): Likewise.
7803 (alpha_expand_unaligned_store_words): Likewise.
7804 (alpha_expand_block_move): Likewise.
7805 (alpha_expand_block_clear): Likewise.
7806 * alpha.h (MOVE_RATIO): New define.
7807 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
7808 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
7809
7810 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
7811 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
7812
7813 Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
7814
7815 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
7816 * configure: Update.
7817
7818 Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
7819
7820 * emit-rtl.c (operand_subword): Correctly handle extracting a word
7821 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
7822
7823 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
7824 for first argument.
7825
7826 Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
7827
7828 * configure.in: Set and subsitute host_exeext. Use it when creating
7829 the assembler and linker symlinks.
7830 * configure: Rebuild.
7831 * Makefile.in (exeext): Set to @host_exeext@.
7832 (build_exeext): New variable, set to @build_exeext@.
7833 (FLAGS_TO_PASS): Pass down build_exeext.
7834 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
7835 programs.
7836
7837 Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
7838
7839 * mn10200.md (addsi3, subsi3): Fix thinkos.
7840
7841 Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
7842
7843 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
7844 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
7845 unix always, since we want to be able to thunk to functions in a
7846 shared library from an application.
7847
7848 Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
7849
7850 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
7851 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
7852
7853 Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
7854
7855 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
7856 offset's mode is not ptr_mode, convert it.
7857
7858 Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
7859
7860 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
7861 compiling if it was already defined.
7862
7863 Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
7864
7865 * flow.c (find_basic_blocks): Don't create a new basic block
7866 for calls in a LIBCALL block.
7867
7868 Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
7869
7870 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
7871
7872 Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
7873
7874 * cse.c (rtx_cost): Remove conflicting default case.
7875
7876 Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
7877
7878 * configure.in: Move default enabling of Haifa out of for loop.
7879 * configure: Rebuild.
7880
7881 Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
7882
7883 * version.c: Bump for snapshot.
7884
7885 1997-12-25 Teemu Torma <tot@trema.com>
7886
7887 * Makefile.in (GTHREAD_FLAGS): New var.
7888 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
7889 (distclean): Remove gthr-default.h.
7890
7891 * configure.in: Accept dce as a thread package.
7892 Check for thread.h and pthread.h.
7893 Link gthr-default.h to appropriate thread file and set
7894 gthread_flags.
7895 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
7896 include multilib definitions from pa/t-dce-thr.
7897 (sparc-*-solaris2*): Enable threads by default, if thread.h or
7898 pthread.h is found, preferring posix threads over solaris ones.
7899
7900 * config/pa/t-dce-thr: New file.
7901 * config/pa/t-pa: Removed multilibs.
7902 * config/sparc/t-sol2: Ditto.
7903
7904 * gthr.h: New file.
7905 * gthr-single.h: New file.
7906 * gthr-posix.h: New file.
7907 * gthr-solaris.h: New file.
7908 * gthr-dce.h: New file.
7909 * libgcc-thr.h: Removed.
7910 * objc/thr-dce.c: New file copied from thr-decosf1.c.
7911
7912 * frame.c: Include gthr.h instead of libgcc-thr.h.
7913 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
7914 (eh_context_initialize): If __gthread_once fails, use static eh
7915 context.
7916 (eh_context_free): Call __gthread_key_dtor.
7917
7918 Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
7919
7920 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
7921
7922 Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
7923
7924 * cse.c (max_insn_uid): New variable.
7925 (cse_around_loop): Use max_insn_uid.
7926 (cse_main): Set max_insn_uid.
7927
7928 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
7929 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
7930 -mlong64, and -mgp{32,64} options.
7931 * mips.c (mips_abi): Change type to int.
7932 * mips.h (enum mips_abi_type): Delete.
7933 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
7934 (mips_abi): Change type to int.
7935
7936 Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
7937
7938 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
7939 optimization is now always enabled.
7940
7941 * calls.c (expand_call): Recognize C++ operator new as malloc-like
7942 function.
7943
7944 * alias.c (memrefs_conflict_p): Eliminate tests now done by
7945 base_alias_check.
7946 (*_dependence): Call canon_rtx before base_alias_check.
7947 (init_alias_once): New function to precompute set of registers which
7948 can hold Pmode function arguments.
7949
7950 * rtl.h: Declare init_alias_once.
7951
7952 * toplev.c (compile_file): Call init_alias_once.
7953
7954 Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
7955
7956 * tree.c (restore_tree_status): Do not dereference a null pointer.
7957
7958 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
7959
7960 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
7961 RLIMIT_STACK. This maintains consistency with the recent, similar
7962 patch to cccp.c and toplev.c.
7963
7964 Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
7965
7966 * genattrtab.c (expand_units): For large nr opclasses, expand
7967 function_units_used with ORX to prevent blowups. Tag with FFS.
7968 (num_unit_opclasses): New variable.
7969 (gen_unit): Update it.
7970 (enum operator): Add ORX_OP.
7971 (operate_exp): Treat ORX as or, except don't expand across an if.
7972 Reuse number rtx's after operating on them.
7973 (check_attr_value): Accept IOR, AND, & FFS.
7974 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
7975 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
7976 (write_expr_attr_cache, write_toplevel_expr): New functions.
7977 (write_attr_get): Handle FFS-tagged expressions.
7978 (make_canonical): Don't expand const attributes.
7979 (convert_const_symbol_ref): Dike out.
7980 (evaluate_eq_attr): Handle SYMBOL_REF.
7981 (main): Don't emit get_attr_foo for const attributes.
7982
7983 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
7984 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
7985 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
7986 * alpha.md: Redo all of the scheduling, adding EV6 support, and
7987 combining function units where possible.
7988 (attr "type"): Split loads, stores, cmov into int/fp. Combine
7989 multiplies and divides. Add EV6 sqrt, ftoi, itof.
7990 (attr "opsize"): New attribute.
7991 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
7992 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
7993 to control register allocation.
7994 (movsi2-1, movdi2-1): Likewise.
7995
7996 Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
7997
7998 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
7999 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
8000 Move OSF/1 specific defines out.
8001 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
8002 Move Linux specific defines out.
8003 (LINK_SPEC): Genericize.
8004 (ASM_FILE_START): Emit .arch if using more than the base insn set.
8005 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
8006 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
8007 (HANDLE_SYSV_PRAGMA): Define.
8008 * alpha/osf.h: New file.
8009 * alpha/linux.h: Split. Retain file-format independant defines.
8010 Import Linux bits from elf.h.
8011 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
8012 (FUNCTION_PROFILER): _mcount takes its address in $28.
8013 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
8014 * alpha/linux-ecoff.h: New file.
8015 * alpha/linux-elf.h: New file.
8016 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
8017 * alpha/win-nt.h (TARGET_DEFAULT): Define.
8018 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
8019 Add new headers as appropriate.
8020
8021 * configure.in (alpha*): Enable Haifa by default.
8022 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
8023 * configure: Rebuild.
8024
8025 Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
8026
8027 * Makefile.in (clean): Remove the stages with their objects here ...
8028 (distclean): ... instead of here.
8029
8030 Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8031
8032 * cse.c (rtx_cost): Add default case in enumeration switch.
8033 * fix-header.c (recognized_macro): Likewise.
8034 (recognized_extern): Likewise.
8035 (write_rbrac): Likewise.
8036 * objc/objc-act.c (encode_aggregate): Likewise.
8037 (gen_declarator): Likewise.
8038 (gen_declspecs): Likewise.
8039
8040 Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
8041
8042 * haifa-sched.c (create_reg_dead_note): Detect and handle another
8043 case where we kill more regs after sched than were killed before
8044 sched.
8045 * sched.c (create_reg_dead_note): Similarly.
8046
8047 Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
8048
8049 * c-pragma.c: Include flags.h.
8050
8051 Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
8052
8053 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
8054 about system headers.
8055 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
8056 and also to resolve symbols in prefix.c.
8057
8058 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
8059 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
8060 when the definitions in auto-config.h is not visible.
8061 (HAVE_BZERO): Likewise.
8062 (HAVE_BCMP): Likewise.
8063 (HAVE_RINDEX): Likewise.
8064 (HAVE_INDEX): Likewise.
8065
8066 Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
8067
8068 * pa.c (emit_move_sequence): Handle a function label source
8069 operand.
8070
8071 Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
8072
8073 * c-pragma.c (handle_pragma_token): Generate warning messages
8074 about unknown pragmas if warn_unknown_pragmas is set.
8075
8076 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
8077 line option to set variable: warn_unknown_pragmas.
8078
8079 Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
8080
8081 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
8082 definition.
8083 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
8084
8085 Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
8086
8087 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
8088 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
8089 generate more fine grained floating point emulation libraries.
8090 * config/fp-bit.c: Add protecting #ifdef to all functions so
8091 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
8092 then compile all suitable functions.
8093 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
8094 underscores to avoid namespace pollution.
8095 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
8096 (FPBIT): Define.
8097 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
8098 (FPBIT): Define.
8099 (DPBIT): Define.
8100
8101 Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8102 Jeff Law <law@cygnus.com>
8103
8104 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
8105 of the declaration.
8106 * c-decl.c (finish_decl): Use parentheses around && within ||.
8107 * rtl.c: Include stdlib.h.
8108 (read_skip_spaces): Add parentheses around assignments used as
8109 truth values.
8110 (read_rtx): Initialize list_rtx.
8111 * cppexp.c (parse_number): Use || when operands are truth values.
8112 * alias.c (find_base_value): Add default case.
8113 (memrefs_conflict): Likewise.
8114 * combine.c (sets_function_arg_p): Likewise.
8115 * genemit.c (gen_exp): Likewise.
8116 * local-alloc.c (contains_replace_regs): Likewise.
8117 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
8118 * fold-const.c (fold_convert): Use "&&" for truth values.
8119 (fold): Add default case.
8120 * sdbout.c (sdbout_field_types): Fix typo in declaration.
8121 (sdbout_one_type): Add default case.
8122 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
8123 (some_operand): Add default case.
8124 (input_operand): Likewise.
8125 (signed_comparison_operator): Likewise.
8126 (divmod_operator): Likewise.
8127 (alpha_set_memflags_1): Likewise.
8128 * reload1.c (reload_cse_simplify_operands): Ensure function
8129 always returns a value.
8130 * scan-decls.c (scan_decls): Likewise.
8131 * c-lex.c (skip_white_space): Fix typo in declaraion.
8132 * c-typeck.c (comp_target_types): Add parentheses around assignment
8133 used as truth value.
8134 (print_spelling): Likewise.
8135 (constructor_implicit, constructor_result): Remove unused variables.
8136 * collect2.c (scan_library): Protect prototype with
8137 #ifdef SCAN_LIBRARIES.
8138 * emit-rtl.c (find_line_note): Fix typo in declaration.
8139 * final.c (asm_insn_count): Protect prototype with
8140 #ifdef HAVE_ATTR_length.
8141 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
8142 (try_pre_increment_1, try_pre_increment): Likewise.
8143 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
8144 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
8145 * gcov-io.h (__store_long, __write_long, __read_long): Fix
8146 unsigned/signed comparisons.
8147 * gcov.c (read_files): Remove unused "first_type" variable.
8148 (scan _for_source_files): Initialize s_ptr.
8149 (function_summary): Eliminate "%lf" formatting, use %ld for
8150 longs.
8151 (output_data): Initialize branch_probs and last_line_num.
8152 Eliminate "%lf" formatting, use "%ld" for longs.
8153
8154 Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
8155
8156 * mips16.S: New file.
8157
8158 * libgcc2.c (varargs): Handle mips16.
8159
8160 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
8161 expression.
8162 * stmt.c (expand_end_case): Likewise.
8163 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
8164 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
8165 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
8166
8167 Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8168
8169 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
8170 the build directory.
8171 (libobjc.a): Update dependency list.
8172 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
8173 directory.
8174 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
8175 (objc.mostlyclean): Remove runtime-info.h.
8176
8177 Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
8178
8179 * tree.c (build_range_type): Allow creation of ranges with no maximum.
8180 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
8181 * dwarf2out.c (add_subscript_info): Likewise.
8182 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
8183 * sdbout.c (plain_type_1): Likewise.
8184 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
8185 Likewise.
8186 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
8187 Likewise.
8188
8189 Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8190
8191 * mips.c (fatal): Remove declaration.
8192
8193 1997-12-18 Mark Mitchell <mmitchell@usa.net>
8194
8195 * integrate.c (get_label_from_map): New function.
8196 (expand_inline_function): Use it. Initialize the label_map to
8197 NULL_RTX instead of gen_label_rtx.
8198 (copy_rtx_and_substitute): Use get_label_from_map.
8199 * integrate.h (get_label_from_map): New function.
8200 (set_label_from_map): New macro.
8201 * unroll.c (unroll_loop): Use them.
8202 (copy_loop_body): Ditto.
8203
8204 Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
8205
8206 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
8207 (INIT_TARGET_OPTABS): Define.
8208 * mips/ecoff.h: Include gofast.h before mips.h.
8209 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
8210 * mips/elf64.h: Likewise.
8211 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
8212
8213 Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
8214
8215 * except.c: Remove register_exception_table{,_p}.
8216
8217 Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
8218
8219 * unroll.c (calculate_giv_inc): Handle constant increment found in
8220 a MEM with an appropriate REG_EQUAL note.
8221
8222 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
8223
8224 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
8225 frame pointer in the prologue.
8226
8227 Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
8228
8229 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
8230 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
8231
8232 Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
8233
8234 * config/m68k/m68k.c (output_function_prologue): Typecast
8235 dwarf2out_cfi_label to (char *).
8236 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
8237
8238 Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
8239
8240 * sparc.md (jump): Don't use the annul bit around an empty loop.
8241 Patch from Kevin.Kelly@East.Sun.COM.
8242
8243 Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
8244
8245 * jump.c: (jump_optimize): Don't use the return register as a
8246 source1 of a conditional move.
8247
8248 Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
8249
8250 * sparc.c (DF_MODES): Or the mask not the bit number.
8251 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
8252
8253 Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
8254
8255 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
8256
8257 Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
8258
8259 * fixincludes (size_t): Add support for Motorola's stdlib.h
8260 which fails to provide a definition for size_t.
8261 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
8262 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
8263 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
8264
8265 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
8266 prevent unresolved externals in libio.
8267 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
8268
8269 Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
8270
8271 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
8272 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
8273 (LIB_SPEC): Updated for glibc 2.
8274
8275 Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
8276
8277 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
8278 * ginclude/varargs.h: Likewise.
8279
8280 Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
8281
8282 * version.c: Bump for snapshot.
8283
8284 Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
8285
8286 * frame.h (__register_frame, __register_frame_table,
8287 __deregister_frame): New.
8288 * frame.c (__register_frame, __register_frame_table,
8289 __deregister_frame): New.
8290 * frame.c (__deregister_frame_info): Return void *.
8291 * frame.h (__deregister_frame_info): Ditto.
8292 * collect2.c (__deregister_frame_info): Ditto.
8293
8294 Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
8295
8296 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
8297
8298 Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
8299
8300 * alpha.c (alpha_cpu_name): New variable.
8301 (alpha_mlat_string): Likewise.
8302 (alpha_memory_latency): Likewise.
8303 (override_options): Handle -mmemory-latency.
8304 (alpha_adjust_cost): Adjust load cost for latency.
8305 * alpha.h (TARGET_OPTIONS): Add meory-latency.
8306 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
8307 TARGET_CIX into account.
8308 (MEMORY_MOVE_COST): Define in terms of memory_latency.
8309 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
8310
8311 * alpha.h (ASM_COMMENT_START): New macro.
8312
8313 Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
8314
8315 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
8316 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
8317
8318 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
8319 SUBREG_REG if the word count is unchanged.
8320 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
8321 subregs of identical word size for push_reload.
8322
8323 Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
8324
8325 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
8326 if all we're doing is dealing with -Wreturn-type.
8327
8328 Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
8329
8330 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
8331 Use and 255 instead of zapnot 1, since it schedules better.
8332
8333 Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
8334
8335 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
8336 it as volatile.
8337
8338 Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
8339
8340 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
8341 dependency we delete. Properly update prev for multiple consecutive
8342 deletions.
8343 (priority): Skip deleted dependence.
8344
8345 Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
8346
8347 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
8348
8349 Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
8350
8351 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
8352 determining when a new basic block starts.
8353
8354 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
8355
8356 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
8357 * pa.md (iorsi3): Add missing args to *_operand calls.
8358
8359 * except.c (call_get_eh_context): Don't mess with sequences.
8360 (emit_eh_context): Include the call in the sequence here.
8361
8362 1997-12-11 Paul Eggert <eggert@twinsun.com>
8363
8364 * collect2.c (write_c_file_glob): Allocate initial frame object
8365 in static storage and pass its address.
8366
8367 Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
8368
8369 * except.c (call_get_eh_context): Don't take a parm.
8370 Put the call at the top of the function.
8371 (emit_eh_context): Adjust.
8372 (get_eh_context): Replace with former use_eh_context.
8373 (get_eh_context_once, get_saved_pc_ref): Remove.
8374 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
8375 * except.h: Adjust.
8376 * integrate.c (expand_inline_function): Adjust.
8377 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
8378
8379 Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
8380
8381 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
8382 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
8383
8384 Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
8385
8386 * fixincludes (strlen,strspn,strcspn return value): Handle different
8387 layout on sysV88.
8388 (hypot): Provide a fake for hypot which is broken on
8389 m88k-motorola-sysv3.
8390
8391 Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
8392
8393 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
8394 tree_code_name from pointers to arrays.
8395 * tree.c: Remove standard_tree_code_* variables, no longer used.
8396 * print-tree.c: Remove declaration of tree_code_name.
8397
8398 * cp/lex.c (init_lex): Update for tree_code_* changes.
8399 * objc/objc-act.c (init_objc): Likewise.
8400
8401 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
8402 changes.
8403
8404 Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
8405
8406 * config.sub: Add support for BeOS target.
8407 * configure.in: Likewise.
8408 * ginclude/stdarg.h: Likewise.
8409 * ginclude/stddef.h: Likewise.
8410 * ginclude/varargs.h: Likewise.
8411 * rs6000/beos.h: New file for BeOS.
8412 * rs6000/t-beos: Likewise.
8413 * rs6000/x-beos: Likewise.
8414 * rs6000/xm-beos.h: Likewise.
8415 * toplev.c (get_run_time): Just return 0 on BeOS.
8416
8417 Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
8418 Toon Moene (toon@moene.indiv.nluug.nl)
8419
8420 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
8421 old and broken Sun3 assemblers. Newer versions handle large
8422 offsets correctly as does the GNU assembler.
8423
8424 Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8425
8426 * objc/objc-act.c (lang_report_error_function): Disable.
8427 * objc/objc-parse.y: Include "output.h".
8428 (yyerror): Remove redundant decl.
8429 (yyprint): Fix prototype.
8430 (apply_args_register_offset): Remove redundant decl.
8431 (get_file_function_name): Likewise.
8432
8433 Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
8434
8435 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
8436 a new basic block.
8437 (find_basic_blocks_1): Likewise.
8438
8439 Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
8440
8441 * except.c (use_eh_context): Don't copy_rtx a REG.
8442 (emit_throw): Lose old unwinder support.
8443 (expand_internal_throw): Likewise.
8444 * libgcc2.c (struct eh_context): Likewise.
8445 (new_eh_context): Likewise.
8446 (__get_eh_info): Lose redundant cast.
8447 (__get_dynamic_handler_chain): Likewise.
8448 (__get_saved_pc): Lose.
8449 Lose all old unwinder support code.
8450
8451 Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
8452
8453 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
8454
8455 * integrate.c (expand_inline_function): If the inline fn uses eh
8456 context, make sure that the current fn has one.
8457 * toplev.c (rest_of_compilation): Call emit_eh_context.
8458 * except.c (use_eh_context): New fn.
8459 (get_eh_context_once): New fn.
8460 (call_get_eh_context): New fn.
8461 (emit_eh_context): New fn.
8462 (get_eh_context): Call either get_eh_context_once or
8463 call_get_eh_context, depending on what we have.
8464 (get_dynamic_handler_chain): Call get_eh_context_once.
8465 * except.h: Prototypes for fns above.
8466 * optabs.c (get_eh_context_libfunc): Removed.
8467 (init_optabs): Don't initialize it.
8468 * expr.h (get_eh_context_libfunc): Removed.
8469 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
8470 * config/pa/pa.h (CPP_SPEC): Support for -threads.
8471 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
8472 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
8473 New multilib for -threads.
8474 * config/sparc/t-sol2: Added multilibs for -threads and
8475 made -pthreads alias to it.
8476 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
8477 Added -threads and -pthreads options.
8478 * libgcc-thr.h: New file.
8479 * libgcc2.c: (__get_cpp_eh_context): Removed.
8480 (struct cpp_eh_context): Removed.
8481 (struct eh_context): Replaced cpp_eh_context with generic language
8482 specific pointer.
8483 (__get_eh_info): New function.
8484 (__throw): Check eh_context::info.
8485 (__sjthrow): Ditto.
8486 * libgcc2.c: Include libgcc-thr.h.
8487 (new_eh_context, __get_eh_context,
8488 eh_pthread_initialize, eh_context_initialize, eh_context_static,
8489 eh_context_specific, eh_context_free): New functions.
8490 (get_eh_context, eh_context_key): New variables.
8491 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
8492 get_eh_context to get the context.
8493 (longjmp): Move the declaration inside
8494 #ifdef DONT_USE_BUILTIN_SETJMP.
8495 * frame.c: Include libgcc-thr.h.
8496 (object_mutex): Mutex to protect the object list.
8497 (find_fde, __register_frame, __register_frame_table,
8498 __deregister_frame): Hold the lock while accessing objects.
8499 * except.h (get_eh_context): Declare.
8500 * except.c (current_function_ehc): Define.
8501 (current_function_dhc, current_function_dcc): Removed.
8502 (get_eh_context): New function.
8503 (get_dynamic_handler_chain): Use get_eh_context.
8504 (get_saved_pc_ref): Ditto.
8505 (get_dynamic_cleanup_chain): Removed references to
8506 current_function_dcc.
8507 (save_eh_status, restore_eh_status): Save and restore
8508 current_function_ehc instead.
8509 * optabs.c (get_eh_context_libfunc): New variable.
8510 (init_optabs): Initialize it.
8511 * expr.h: Declare get_eh_context_libfunc.
8512 * function.h (struct function): Replaced dhc and dcc with ehc.
8513 * except.c (get_saved_pc_ref): New functions.
8514 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
8515 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
8516 of eh_saved_pc.
8517 (end_eh_unwinder): Likewise.
8518 (init_eh): Remove initialization of eh_saved_pc.
8519 * optabs.c (get_saved_pc_libfunc): New variable.
8520 (init_optabs): Initialize it.
8521 * expr.h: Declare get_saved_pc_libfunc.
8522 * except.h (eh_saved_pc_rtx): Deleted.
8523 (get_saved_pc_ref): Declared.
8524
8525 From Scott Snyder <snyder@d0sgif.fnal.gov>:
8526 * libgcc2.c (__get_saved_pc): New.
8527 (__eh_type, __eh_pc): Deleted.
8528 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
8529 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
8530 this fcn.
8531
8532 Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
8533
8534 * sparc/sol2.h: Use 64 bit multiply and divide functions in
8535 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
8536 as 0.
8537
8538 * rtl.h (global_rtl): New variable, replacing separate variables for
8539 commonly used rtl.
8540 (const_int_rtx): Now array of rtx_def, not rtx.
8541 * emit-rtl.c: Update for new rtl data structures.
8542 * genattrtab.c: Define global_rtl.
8543
8544 Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
8545
8546 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
8547 default.
8548
8549 Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
8550
8551 * crtstuff.c (__do_global_ctors): Fix typo.
8552
8553 Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
8554
8555 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
8556 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
8557
8558 Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
8559
8560 * rs6000.h (FUNCTION_ARG_PADDING): Define.
8561 * rs6000.c (function_arg_padding): New function.
8562
8563 Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
8564
8565 * m68k.c: Include tree.h only once.
8566
8567 Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8568
8569 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
8570
8571 Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
8572
8573 * Partially cleaned up prototyping code from HJ.
8574 * tree.h: Add many prototypes.
8575 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
8576 All references changed.
8577 * rtl.h: Protect from multiple inclusions. Add many prototypes.
8578
8579 Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
8580
8581 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
8582 string functions like strlen.
8583
8584 Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
8585
8586 * configure.in: Check for functions getrlimit and setrlimit.
8587 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
8588 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
8589
8590 Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
8591
8592 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
8593
8594 Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
8595
8596 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
8597 Fix merge problems.
8598
8599 * alpha.c (override_options): Don't know about scheduling for EV6.
8600 * alpha.md (ev5 function units): Don't overload as ev6.
8601
8602 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
8603 * alpha.md (define_attr type): Add mvi.
8604 (ev5_e0): Define sceduling parameters for it.
8605 (TARGET_MAX insns): Type is mvi not shift.
8606
8607 Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
8608
8609 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
8610
8611 Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8612
8613 * cstamp-h, auto-config.h: Delete.
8614
8615 Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
8616
8617 * version.c: Bump for snapshot.
8618
8619 Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
8620
8621 * cccp.c: Fix typo brought over in merge.
8622
8623 * Merge in changes from gcc-2.8.
8624
8625 Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
8626
8627 * m68k.c: Include tree.h for dwarf2out_cfi_label.
8628
8629 * gcc.c (process_command): Do not take address of function fatal when
8630 calling lang_specific_driver.
8631
8632 Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
8633
8634 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
8635 doesn't work with it yet, so set it to 0.
8636 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
8637
8638 Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
8639
8640 * cse.c (cse_insn): Check for invalid entries when taking references.
8641
8642 Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8643
8644 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
8645 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
8646 * toplev.c (rest_of_compilation): Pass it. Remove code to
8647 save / clear / restore flag_unroll_{,all_}loops.
8648
8649 Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
8650
8651 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
8652
8653 Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
8654
8655 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
8656
8657 Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
8658
8659 * except.c (get_dynamic_handler_chain): Only make the call once per
8660 function.
8661
8662 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
8663
8664 Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8665
8666 * sh.c (final_prescan_insn): Use local label prefix
8667 when emitting .uses pseudo-ops.
8668
8669 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
8670
8671 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
8672 * except.c: Lose outer_context_label_stack.
8673 (expand_eh_region_end): Rethrow from outer_context here.
8674 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
8675 (expand_internal_throw): Take no args.
8676 (expand_internal_throw_indirect): Lose.
8677 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
8678 (expand_start_all_catch): Start a rethrow region.
8679 (expand_end_all_catch): End it.
8680 (expand_rethrow): New fn.
8681 * except.h: Reflect above changes.
8682 * flow.c: Revert change of Nov 27.
8683
8684 Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
8685
8686 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
8687
8688 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
8689
8690 * except.c (expand_fixup_region_end): New fn.
8691 (expand_fixup_region_start): Likewise.
8692 (expand_eh_region_start_tree): Store cleanup into finalization here.
8693 * stmt.c (expand_cleanups): Use them to protect fixups.
8694
8695 Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
8696
8697 * mips/mips.md (muldi3_r4000): Broaden the output template
8698 and attribute assignments to handle three operand dmult;
8699 rename to muldi3_internal2.
8700 (muldi3): Call the new muldi3_internal2 for R4000, and
8701 any GENERATE_MULT3 chip.
8702
8703 Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
8704
8705 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
8706
8707 Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
8708
8709 * unroll.c (find_splittable_givs): Remove last change. Handle givs
8710 with a dest_reg that was created by loop.
8711
8712 Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
8713
8714 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
8715
8716 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
8717
8718 Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
8719
8720 * configure.in: Fix NCR entries.
8721
8722 Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
8723
8724 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
8725 nested exceptions correctly.
8726
8727 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
8728 that was created by loop.
8729
8730 Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8731
8732 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
8733
8734 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
8735
8736 Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
8737
8738 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
8739 (print_operand): Use SMALL_DATA_REG for the register involved in
8740 small data relocations.
8741 (print_operand_address): Ditto.
8742
8743 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
8744 -dynamic linker is not used.
8745
8746 * rs6000.md (call insns): For local calls, use @local suffix under
8747 System V. Don't use @plt under Solaris.
8748
8749 * rs6000.c (output_function_profiler): Put label address in r0, and
8750 store LR in 4(sp) for System V/eabi.
8751
8752 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
8753 byte boundary, and maintain stack backchain.
8754
8755 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
8756
8757 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
8758 fix_truncsfdi2): Change *.
8759
8760 Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
8761
8762 * toplev.c (main): Complain about -gdwarfn.
8763
8764 Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
8765
8766 * dwarfout.c (output_type): If finalizing, write out nested types
8767 of types we've already written.
8768
8769 Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
8770
8771 (patches originally from Geoffrey Keating)
8772 * rs6000.c (function_arg): Excess floating point arguments don't
8773 go into GPR registers after exhausting FP registers under the
8774 System V.4 ABI.
8775 (function_arg_partial_nregs): Ditto.
8776
8777 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
8778 suffix to calls.
8779
8780 Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
8781
8782 * integrate.c (output_inline_function): Just unset DECL_INLINE.
8783
8784 Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
8785
8786 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
8787 proper alignment.
8788
8789 * libgcc2.c (__throw): Initialize HANDLER.
8790
8791 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
8792
8793 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
8794 fix_truncsfdi2): Change *X to ?*X.
8795
8796 Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
8797
8798 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
8799
8800 Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
8801
8802 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
8803
8804 Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
8805
8806 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
8807
8808 Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
8809
8810 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
8811 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
8812 * expr.h: Likewise.
8813
8814 Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
8815
8816 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
8817 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
8818 gas and not using the new HP assembler.
8819
8820 Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
8821
8822 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
8823 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
8824
8825 Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
8826
8827 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
8828 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
8829 definition.
8830
8831 Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
8832
8833 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
8834
8835 Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
8836
8837 * except.h: Add outer_context_label_stack.
8838 * except.c: Likewise.
8839 (expand_start_all_catch): Push the outer_context for the try block
8840 onto outer_context_label_stack.
8841 (expand_end_all_catch): Use it and pop it.
8842
8843 Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
8844
8845 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
8846
8847 Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
8848
8849 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
8850
8851 Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
8852
8853 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
8854 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
8855
8856 Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
8857
8858 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
8859 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
8860 __builtin_delete, and __builtin_vec_delete.
8861
8862 * except.c (output_exception_table): Don't bother with
8863 __EXCEPTION_END__.
8864
8865 Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
8866
8867 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
8868 is an in/out operand.
8869 (zero extended variants of stwm/stwm patterns): Similarly.
8870
8871 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
8872
8873 Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
8874
8875 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
8876 Use assemble_name.
8877 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
8878 (output_call_frame_info): Emit a \n after using it.
8879
8880 Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
8881
8882 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
8883
8884 Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
8885
8886 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
8887 (ASM_OUTPUT_DWARF_VALUE4): New macro.
8888 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
8889 defined.
8890 (output_call_frame_info): Do not output forward label differences
8891 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
8892 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
8893
8894 Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8895
8896 * sh.md (attribute "type"): Add nil.
8897 (movsi_ie): y/y alternative is type nil.
8898 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
8899 alternatives.
8900 (movsf_ie+1): Delete.
8901
8902 Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
8903
8904 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
8905 large_int, emit two insns instead of one splitable insn.
8906 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
8907 from cfa_temp_value, use cfa_offset. Add assert checking that
8908 cfa_reg is SP.
8909
8910 Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
8911
8912 * cccp.c (deps_output): Properly quote file names for make.
8913
8914 Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
8915
8916 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
8917
8918 Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
8919
8920 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
8921
8922 Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
8923
8924 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
8925 return.
8926 (cse_end_of_basic_block): Similarly.
8927
8928 Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
8929
8930 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
8931 (SELECT_RTX_SECTION): Define.
8932 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
8933
8934 Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
8935
8936 * Makefile.in (compare, compare-lean): Define $stage for each
8937 shell command.
8938 (gnucompare, gnucompare-lean): Likewise.
8939
8940 Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
8941
8942 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
8943
8944 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
8945 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
8946
8947 Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
8948
8949 * dwarfout.c (byte_size_attribute): Add local var upper_bound
8950 and add case to handle STRING_TYPE.
8951 * dwarfout.c (output_string_type_die): Fix code to generate
8952 correct string length attribute for fixed length strings.
8953 Still needs support for varying length strings.
8954
8955 Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
8956
8957 * toplev.c (get_run_time): Do something sensible for cygwin32.
8958
8959 Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
8960
8961 * expr.c (expand_builtin_setjmp): Set
8962 current_function_has_nonlocal_label.
8963 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
8964 call-saved registers across calls.
8965
8966 * alpha.md (exception_receiver): Remove.
8967 (nonlocal_goto_receiver_osf): New
8968 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
8969 (nonlocal_goto_receiver): New, select _osf or _vms.
8970
8971 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
8972 keep them from being propogated to the object file.
8973 (alpha_write_linkage): Likewise.
8974 * alpha.md (call_vms): Likewise.
8975 (call_value_vms): Likewise.
8976 (unnamed osf call insns): Likewise.
8977
8978 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
8979 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
8980
8981 * alpha.c (call_operand): Any reg is valid for WinNT.
8982 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
8983 (anon nt calls): Add 'R' alternative.
8984 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
8985 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
8986
8987 Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
8988
8989 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
8990
8991 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
8992 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
8993 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
8994
8995 Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
8996
8997 * reload1.c (new_spill_reg): Improve fixed or forbidden register
8998 spill error message.
8999
9000 Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9001
9002 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
9003 use varargs.h. Wrap header with <>, not "".
9004
9005 Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
9006
9007 * integrate.c (save_for_inline_copying): Add return value from
9008 savealloc.
9009
9010 Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
9011
9012 * fixincludes: Be a little more restrictive on what we will
9013 substitute to replace definitions of MAXINT for HPUX.
9014
9015 Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
9016
9017 * dbxout.c (dbxout_symbol_location): Don't assume that variables
9018 whose address is the stack or argument pointers are indirect
9019 pointers.
9020
9021 1997-11-13 Paul Eggert <eggert@twinsun.com>
9022
9023 * cccp.c, cpplib.c (compare_defs):
9024 Don't complain about arg name respellings unless pedantic.
9025 * cpplib.c (compare_defs): Accept pfile as new arg.
9026 All callers changed.
9027
9028 Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9029
9030 * fold-const.c (fold_truthop): Fix bug in last change.
9031
9032 1997-11-13 Paul Eggert <eggert@twinsun.com>
9033
9034 Fix some confusion with IEEE minus zero.
9035
9036 * real.h (REAL_VALUES_IDENTICAL): New macro.
9037
9038 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
9039 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
9040 identical to 0.0.
9041 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
9042 same tree structure as 0.0.
9043
9044 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
9045 macro instead of doing it by hand.
9046
9047 Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
9048
9049 * v850/lib1funcs.asm: Minor whitespace changes.
9050 * v850.c: Fix minor formatting problems in many places.
9051 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
9052
9053 Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
9054
9055 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
9056 xplus1 when xplus0 is not a register.
9057
9058 Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
9059
9060 * flow.c (find_basic_blocks): During marking phase, if we encounter
9061 an insn with a REG_LABEL note, make the target block live and
9062 create an edge from the insn to the target block. Do not make
9063 edges from all blocks to the target block.
9064
9065 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
9066
9067 * confiugre.in: Tweak NCR entries.
9068 * configure: Rebuilt.
9069
9070 Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
9071
9072 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
9073 pick apart floating point values, instead of using CONST_DOUBLE_LOW
9074 and CONST_DOUBLE_HIGH.
9075
9076 * rs6000.md (define_splits for DF constants): Use the appropriate
9077 REAL_VALUE_* interface to pick apart DF floating point constants in
9078 a machine independent fashion.
9079
9080 Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9081
9082 * fold-const.c (fold_truthop): When changing a one-bit comparison
9083 against zero into a comparison against mask, do a proper sign
9084 extension.
9085
9086 Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
9087
9088 * except.c: Do not include "assert.h".
9089 (save_eh_status): Turn asserts into conditional aborts.
9090 (restore_eh_status, scan_region): Likewise.
9091 * dwarfout.c: Do not include "assert.h".
9092 (bit_offset_attribute): Turn asserts into conditional aborts.
9093 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
9094 (output_inlined_structure_type_die): Likewise.
9095 (output_inlined_union_type_die): Likewise
9096 (output_tagged_type_instantiation): Likewise.
9097 (dwarfout_file_scope_decl): Likewise.
9098 * dwarf2out.c: Do not include "assert.h"
9099 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
9100 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
9101 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
9102 (add_bit_size_attribute, scope_die_for): Likewise.
9103 (output_pending_types_for_scope): Likewise.
9104 (get_inlined_enumeration_type_die): Likewise.
9105 (get_inlined_structure_type_die): Likewise.
9106 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
9107 (gen_tagged_type_instantiation_die): Likewise.
9108
9109 * flow.c (find_basic_blocks): Refine further to get a more correct
9110 cfg, especially in the presense of exception handling, computed
9111 gotos, and other non-trivial cases. Call abort if an inaccuracy
9112 is detected in the cfg.
9113
9114 Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9115
9116 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
9117
9118 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
9119 (skip_white_space): Use whitespace_cr.
9120 (check_newline): Handle whitespace more consistently.
9121
9122 Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
9123
9124 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
9125 * i386/xm-cygwin32.h (POSIX): Define.
9126
9127 Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
9128
9129 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
9130 is available elsewhere.
9131
9132 Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
9133
9134 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
9135 what the instruction can handle.
9136
9137 Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
9138
9139 * stmt.c (expand_decl_cleanup_no_eh): New fn.
9140
9141 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
9142
9143 Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
9144
9145 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
9146 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
9147
9148 Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
9149
9150 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
9151 swap instruction order.
9152
9153 Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
9154
9155 * fixinc.svr4 (__STDC__): Add another case.
9156
9157 Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9158
9159 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
9160 addresses in the epilogue delay slot.
9161
9162 Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
9163
9164 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
9165 in generated `specs' file.
9166
9167 Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
9168
9169 * flags.h (flag_rerun_loop_opt): Declare.
9170 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
9171 * toplev.c (flag_rerum_loop_opt): Delete static.
9172
9173 Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9174
9175 Bring over from FSF:
9176
9177 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9178
9179 * va-sh.h (__va_arg_sh1): Define.
9180 (va_arg): Use it.
9181 SH3E doesn't use any integer registers for subsequent arguments
9182 once a non-float value was passed in the stack.
9183 * sh.c (machine_dependent_reorg): If optimizing, put explicit
9184 alignment in front label for ADDR_DIFF_VEC.
9185 * sh.h (PASS_IN_REG_P): Fix SH3E case.
9186 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
9187
9188 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9189
9190 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
9191 svr4.h.
9192
9193 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9194
9195 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
9196 put an use_sfunc_addr before each sfunc.
9197 * sh.md (use_sfunc_addr, dummy_jump): New insns.
9198 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
9199
9200 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9201
9202 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
9203
9204 Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
9205
9206 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
9207 linked once FDEs.
9208
9209 Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
9210
9211 * alias.c (find_base_value): Only return the known base value for
9212 pseudo registers.
9213
9214 Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
9215
9216 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
9217 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
9218 to pattern.
9219 (prologue_get_pc_and_set_got): New pattern.
9220
9221 Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
9222
9223 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
9224 for SUBREG, just fall through.
9225
9226 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
9227
9228 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
9229
9230 Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
9231
9232 * fixincludes: Fix "hypot" prototype in NeXT math.h.
9233
9234 * Makefile.in (USE_ALLOCA): Always include alloca.o.
9235 (USE_HOST_ALLOCA): Likewise.
9236
9237 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
9238 and LABEL_REFS fields.
9239 * rtl.h (LABEL_REFS): Update.
9240
9241 Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
9242
9243 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
9244 sets i2dest. When calling distribute_notes for i3dest_killed, pass
9245 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
9246 sets i1dest.
9247
9248 * mips.md (insv, extzv, extv): Add change_address call.
9249 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
9250
9251 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
9252
9253 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
9254
9255 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
9256 save_restore_insns if no FP and GP will be restored.
9257
9258 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
9259 Convert CCmode to word_mode before calling GET_MODE_SIZE.
9260
9261 * acconfig.h (HAVE_INTTYPES_H): Undef.
9262 * configure.in (inttypes.h): Check for conflicts between sys/types.h
9263 and inttypes.h, and verify that intmax_t is defined.
9264 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
9265 * config/mips/x-iris3: Likewise.
9266
9267 Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
9268
9269 * alias.c (find_base_value): When copying arguments, return the
9270 tenative value for a hard register.
9271
9272 Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
9273
9274 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
9275 (yylex): Record wide strings using target endianness, not host.
9276
9277 Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
9278
9279 * mn10200.h (ASM_OUTPUT_BSS): Delete.
9280 (ASM_OUTPUT_ALIGNED_BSS): New macro
9281 * mn10300.h (ASM_OUTPUT_BSS): Delete.
9282 (ASM_OUTPUT_ALIGNED_BSS): New macro.
9283 * v850.h (ASM_OUTPUT_BSS): Delete.
9284 (ASM_OUTPUT_ALIGNED_BSS): New macro.
9285
9286 Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9287
9288 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
9289
9290 Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
9291
9292 * configure.in (sco5): Use cpio to install header files.
9293
9294 Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
9295
9296 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
9297 14 char length.
9298 * configure: Rebuild.
9299
9300 Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
9301
9302 * i386/sco5.h: enable -gstabs once again.
9303
9304 Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
9305
9306 * arm.c (output_move_double): Allocate 3 entries in otherops array.
9307
9308 Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
9309
9310 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
9311 notes for sjlj exceptions too.
9312 (expand_eh_region_end): Similarly for EH_REGION_END notes.
9313 (exception_optimize): Optimize EH regions for sjlj exceptions too.
9314 * final.c (final_scan_insn): Don't output labels for EH REGION
9315 notes if doing sjlj exceptions.
9316
9317 Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
9318
9319 * alias.c (init_alias_analysis): Handle -fno-alias-check when
9320 optimizing correctly.
9321
9322 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
9323 or set current_function_calls_setjmp anymore.
9324
9325 * flow.c (find_basic_blocks): If we delete the label for an
9326 exception handler, remove it from the EH label list and remove
9327 the EH_BEGIN/EH_END notes for that EH region.
9328
9329 Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
9330
9331 * flow.c (find_basic_blocks): Generate correct flow control
9332 information when exception handling notes are present.
9333
9334 Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
9335
9336 * dwarf2out.c (output_call_frame_info): Fix length argument
9337 to ASM_OUTPUT_ASCII.
9338 (output_die, output_pubnames, output_line_info): Likewise.
9339
9340 Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
9341
9342 * version.c: Bump for snapshot.
9343
9344 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
9345 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
9346 flag_debug_asm is on.
9347 (output_die, output_pubnames, output_line_info): Likewise.
9348
9349 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
9350 and static_chain_rtx into the potential base values array if
9351 they are registers.
9352
9353 * alias.c (new_reg_base_value): New array of potential base values.
9354 (unique_id): Now file scoped static.
9355 (find_base_value, case REG): Return the value in reg_base_value
9356 array for the REG if it exists. Else, return the value from
9357 new_reg_base_value if copying args and REG is a hard register.
9358 (find_base_value, case PLUS): If either operand of the PLUS is
9359 a REG, try to get its base value. Handle base + index and
9360 index + base.
9361 (record_set): Use new_reg_base_value instead of reg_base_value.
9362 (init_alias_analysis): Allocate space for new_reg_base_value too.
9363 Rework code to iterate over the insns propagating base value
9364 information until nothing changes.
9365
9366 * global.c (global_alloc): Free the conflict matrix after
9367 reload has finished.
9368
9369 Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
9370
9371 * libgcc2.c (L_eh): Define __eh_pc.
9372 Replace __eh_type with generic pointer __eh_info.
9373
9374 Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
9375
9376 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
9377 use copy_to_reg if address is not a general_operand.
9378
9379 Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9380
9381 * profile.c (output_func_start_profiler): Clear flag_inline_functions
9382 for the duration of the call to rest_of_compilation.
9383
9384 Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
9385
9386 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
9387 Set extra_parts.
9388 (sparc*-*-*): Recognize --with-cpu=v9.
9389 * sparc/elf.h: New file.
9390 * sparc/t-elf: New file.
9391
9392 Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
9393
9394 * mn10300.c (const_8bit_operand): New function.
9395 (mask_ok_for_mem_btst): New funtion.
9396 * mn10300.md (btst patterns with mem operands): Use new functions
9397 to avoid creating btst instructions with invalid operands.
9398
9399 Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
9400
9401 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
9402 are running on PowerPC Linux.
9403
9404 Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
9405
9406 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
9407 if not previously defined.
9408
9409 Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
9410
9411 * function.c (assign_parms): Correct mode of stack_parm if
9412 entry_parm underwent a mode conversion.
9413
9414 1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
9415
9416 * global.c (global_alloc): Use xmalloc instead of alloca for
9417 CONFLICTS, since max_allocno * allocno_row_words alone can be more
9418 than 2.5Mb sometimes.
9419
9420 Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
9421
9422 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
9423 DEST for the spill, adjust mode of SRC to compensate.
9424
9425 Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
9426
9427 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
9428 since any_memory_operand() allows pseudos during reload.
9429 (reload_inhi, reload_outqi, reload_outhi): Likewise.
9430
9431 Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
9432
9433 * m68k.md (btst patterns): Add 5200 support.
9434
9435 Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
9436
9437 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
9438 optimizations, look inside dividend to determine if the expression
9439 can be simplified by using EXACT_DIV_EXPR.
9440
9441 Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
9442
9443 From Brendan:
9444 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
9445
9446 Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
9447
9448 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
9449
9450 Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
9451
9452 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
9453 on a CLOBBER.
9454
9455 Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
9456
9457 * alpha.md (movqi, movhi): Make sure new insns created during reload
9458 won't need reloading themselves.
9459 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
9460
9461 Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
9462
9463 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
9464
9465 Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
9466
9467 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
9468 Patch from Klaus Kaempf <kkaempf@progis.de>.
9469
9470 Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
9471
9472 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
9473 to an element in a constant string.
9474
9475 Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
9476
9477 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
9478 bit PC-relative offset. The exception range table pointer is now in
9479 the CIE.
9480 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
9481 (count_fdes, add_fdes, get_cie): Adjust.
9482 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
9483
9484 From H.J. Lu:
9485 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
9486
9487 Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
9488
9489 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
9490 like stack_pointer_rtx.
9491
9492 Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
9493
9494 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
9495 targets using "$@" to provide support for similar but not identical
9496 targets without having to duplicate code.
9497 (bootstrap4): New goal.
9498
9499 * Makefile.in (compare, compare-lean, compare3): Combined to one
9500 ruleset determining actions to be performed via $@.
9501 (compare4, compare4-lean): New targets.
9502 (gnucompare, gnucompare3): Combined to one ruleset determining
9503 actions to be performed via $@. Also, note which files failed
9504 the comparison test in .bad_compare.
9505 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
9506
9507 Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
9508
9509 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
9510 if the dividend is a multiple of the divisor.
9511
9512 Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
9513
9514 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
9515
9516 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
9517 and POS_DEC.
9518
9519 * alias.c (true_dependence): Fix typo.
9520
9521 * toplev.c (flag_rerun_loop_opt): New variable.
9522 (f_options): Handle -frerun-loop-opt.
9523 (rest_of_compilation): If -frerun-loop-opt, then run the loop
9524 optimizer twice.
9525 (main): Enable -frerun-loop-opt by default for -O2 or greater.
9526
9527 * loop.c (simplify_giv_expr): Adding two invariants results
9528 in an invariant.
9529
9530 Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
9531
9532 * expr.c (get_inner_reference): Remove the array bias after
9533 converting the index to Pmode.
9534
9535 Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
9536
9537 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
9538 (TARGET_MULT_BUG): Define.
9539 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
9540 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
9541
9542 Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
9543
9544 * mn10200.c (indirect_memory_operand): Delete unused function.
9545 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
9546 * mn10200.md (bset, bclr insns): Handle output in a reg too.
9547
9548 Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
9549
9550 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
9551 the callee's ldgp, we must do it ourselves, and we use the jsr tag
9552 for more than scheduling.
9553
9554 Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
9555
9556 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
9557
9558 Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
9559
9560 * mn10300.c (symbolic_operand, legitimize_address): New functions.
9561 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
9562 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
9563
9564 Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
9565
9566 * version.c: Bump for snapshot.
9567
9568 Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9569
9570 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
9571 for FILENAME.
9572
9573 Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
9574
9575 * toplev.c (flag_exceptions): Default value is 2.
9576 (compile_file): If flag_exceptions still has the value 2, then
9577 set it to 0.
9578
9579 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
9580 (rs6000_save_machine_status): Save pic_offset_table_rtx.
9581 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
9582
9583 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
9584 are shared.
9585
9586 * rs6000.md (*movsi_got_internal_mem): New pattern.
9587 (*movsi_got_internal_mem splitter): New define_split.
9588
9589 Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
9590
9591 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
9592
9593 Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
9594
9595 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
9596 only need to save LR.
9597
9598 Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
9599
9600 * mn10300.md (movqi, movhi): Avoid using address registers as
9601 destinations unless absolutely necessary.
9602
9603 * mn10200.c (expand_prologue): Fix typo.
9604
9605 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
9606 addresses.
9607 * mn10200.md (neghi2): Provide an alternative which works if
9608 the input and output register are the same.
9609
9610 * mn10300.c (print_operand): Handle 'S'.
9611 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
9612 shift amount in last alternative
9613
9614 * mn10300.c (expand_epilogue): Rework to handle register restores
9615 in "ret" and "retf" instructions correctly.
9616
9617 Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
9618
9619 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
9620 extzv for memory operands.
9621
9622 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
9623 redundant conditional moves to single operand.
9624
9625 Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
9626
9627 * v850.h: Move define of __v850__ from CPP_PREDEFINES
9628 to CPP_SPEC.
9629
9630 * xm-v850.h: Use __v850 rather than __v850__ to
9631 identify v850 port.
9632
9633 Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
9634
9635 * mips/mips.c (compute_frame_size): Not a leaf function if
9636 profile_flag set.
9637
9638 Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
9639
9640 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
9641
9642 Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
9643
9644 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
9645 (DEFAULT_ARCH32_P): New macro.
9646 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
9647 (enum cmodel): Declare.
9648 (sparc_cmodel_string,sparc_cmodel): Declare.
9649 (SPARC_DEFAULT_CMODEL): Provide default.
9650 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
9651 (TARGET_FULLANY): Deleted.
9652 (TARGET_CM_MEDMID): New macro.
9653 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
9654 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
9655 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
9656 (CPP_SPEC): Rewrite.
9657 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
9658 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
9659 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
9660 (ASM_SPEC): Add %(asm_arch).
9661 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
9662 Rename asm_default to asm_cpu_default.
9663 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
9664 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
9665 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
9666 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
9667 (MASK_INT64,MASK_LONG64): Delete.
9668 (MASK_ARCH64): Renamed to MASK_64BIT.
9669 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
9670 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
9671 (TARGET_SWITCHES): Always provide 64 bit options.
9672 (ARCH64_SWITCHES): Delete.
9673 (TARGET_OPTIONS): New option -mcmodel=.
9674 (INT_TYPE_SIZE): Always 32.
9675 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
9676 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
9677 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
9678 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
9679 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
9680 CPP_SPEC.
9681 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
9682 * sparc/linux.h: Likewise.
9683 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
9684 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
9685 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
9686 (SPARC_DEFAULT_CMODEL): Define.
9687 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
9688 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
9689 (LONG_DOUBLE_TYPE_SIZE): Define.
9690 (ASM_SPEC): Add %(asm_arch).
9691 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
9692 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
9693 (TARGET_CPU_DEFAULT): Add ultrasparc case.
9694 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
9695 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
9696 (SPARC_DEFAULT_CMODEL): Define.
9697 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
9698 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
9699 MASK_LONG64, MASK_MEDANY.
9700 (SPARC_DEFAULT_CMODEL): Define.
9701 (CPP_PREDEFINES): Delete.
9702 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
9703 (ASM_SPEC): Add %(asm_arch).
9704 (LONG_DOUBLE_TYPE_SIZE): Define.
9705 (DWARF2_DEBUGGING_INFO): Define.
9706 * sparc/splet.h (CPP_SPEC): Delete.
9707 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
9708 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
9709 (BLOCK_PROFILER): Likewise.
9710 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
9711 (sparc_override_options): Handle code model selection.
9712 (sparc_init_expanders): Renamed from sparc64_init_expanders.
9713 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
9714 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
9715 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
9716 (sethi_di_fullany): Delete.
9717
9718 Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
9719 Jeff Law <law@cygnus.com>
9720 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9721
9722 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
9723 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
9724 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
9725 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
9726 * alpha/alpha.md (arg_home): Likewise.
9727
9728 * alpha/alpha.c (vmskrunch): Delete
9729 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
9730 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
9731 truncate to 64 characters.
9732
9733 * make-l2.com: Support openVMS/Alpha.
9734
9735 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
9736
9737 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9738
9739 * longlong.h (count_leading_zeros): Add missing casts to USItype.
9740
9741 Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
9742
9743 * i386/bsd386.h (ASM_COMMENT_START): Define.
9744
9745 Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
9746
9747 * tree.c (restore_tree_status): Also free up temporary storage
9748 when we finish a toplevel function.
9749 (dump_tree_statistics): Print stats for backend obstacks.
9750
9751 Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
9752
9753 * expr.c (use_group_regs): Don't call use_reg for MEMs.
9754
9755 Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
9756
9757 * libgcc2.c (__throw): Don't copy the return address.
9758 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
9759
9760 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
9761 * toplev.c (main): Initialize exceptions_via_longjmp.
9762
9763 * tree.c: Add extra_inline_obstacks.
9764 (save_tree_status): Use it.
9765 (restore_tree_status): If this is a toplevel inline obstack and we
9766 didn't want to save anything on it, recycle it.
9767 (print_inline_obstack_statistics): New fn.
9768 * function.c (pop_function_context_from): Pass context to
9769 restore_tree_status.
9770 * obstack.h (obstack_empty_p): New macro.
9771
9772 Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
9773
9774 * i386/freebsd.h (ASM_COMMENT_START): Fix.
9775
9776 Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
9777
9778 * v850.c (ep_memory_offset): New function.
9779 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
9780
9781 * v850.h (CONST_OK_FOR_*): Add and correct comments.
9782 (CONSTANT_ADDRESS_P): Add comment.
9783 (EXTRA_CONSTRAINT): Define 'U'.
9784 * v850.md: Add comments on bit field instructions.
9785 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
9786 (lshrsi3): Use N not J constraint.
9787
9788 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
9789
9790 * v850.c (reg_or_0_operand): Call register_operand.
9791 (reg_or_int5_operand): Likewise.
9792 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
9793 (TARGET_SWITCHES): Add "big-switch".
9794 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
9795 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
9796 (CASE_DROPS_THROUGH): Comment out.
9797 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
9798 * v850.md (cmpsi): Delete compare mode.
9799 (casesi): New pattern.
9800
9801 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
9802 * v850.md (ashlsi3): Use SImode not QImode for shift count.
9803 (lshrsi3): Likewise.
9804
9805 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
9806 unreachable switch statement after 'b' support. Remove "b" from
9807 strings for 'b' support.
9808 * v850.md (branch_normal, branch_invert): Change %b to b%b.
9809
9810 Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
9811
9812 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
9813 empty line if @inhibit_libc@ is empty.
9814
9815 Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
9816
9817 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
9818 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
9819 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
9820 (DWARF2_UNWIND_INFO): Let this track object file format.
9821 (EXTRA_SECTIONS): Add in_eh.
9822 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
9823 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
9824
9825 Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
9826
9827 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
9828 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
9829 TARGET_MEDANY.
9830 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
9831 (output_double_int): Output DI mode values correctly when
9832 HOST_BITS_PER_WIDE_INT is 64.
9833 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
9834 fmovd so it works if a quad float ends up in one of the upper 32
9835 float regs.
9836 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
9837 necessary for PIC support on sparc64.
9838
9839 Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
9840
9841 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
9842 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
9843 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
9844 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
9845 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
9846 (SPARC_FP_ARG_FIRST): New macro.
9847 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
9848 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
9849 (NPARM_REGS): There are 32 fp argument registers now.
9850 (FUNCTION_ARG_REGNO_P): Likewise.
9851 (FIRST_PARM_OFFSET): Update to new v9 abi.
9852 (REG_PARM_STACK_SPACE): Define for arch64.
9853 (enum sparc_arg_class): Delete.
9854 (sparc_arg_count,sparc_n_named_args): Delete.
9855 (struct sparc_args): Redefine and use for arch32 as well as arch64.
9856 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
9857 (FUNCTION_ARG_ADVANCE): Rewrite.
9858 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
9859 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
9860 (FUNCTION_ARG_CALLEE_COPIES): Delete.
9861 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
9862 (STRICT_ARGUMENT_NAMING): Define.
9863 (doublemove_string): Declare.
9864 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
9865 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
9866 (doublemove_string): New function.
9867 (output_move_quad): Clean up some of the arch64 support.
9868 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
9869 Don't add 8 bytes of reserved space if arch64.
9870 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
9871 (init_cumulative_args): New function.
9872 (function_arg_slotno): New static function.
9873 (function_arg,function_arg_partial_nregs): New functions.
9874 (function_arg_{pass_by_reference,advance}): New functions.
9875 (function_arg_padding): New function.
9876 * ginclude/va-sparc.h: Rewrite v9 support.
9877
9878 Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
9879
9880 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
9881 for hard regs to determine base and index registers.
9882
9883 * reload.c (debug_reload_to_stream): New function. Specify stream
9884 into which to write debug info.
9885 (debug_reload): Modify to call debug_reload_to_stream with stderr.
9886
9887 Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
9888
9889 * combine.c (can_combine_p): Don't combine with an asm whose
9890 output is a hard register.
9891
9892 Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
9893
9894 * c-decl.c (start_struct): Ensure that structs with forward
9895 declarations are in fact packed when -fpack-struct is given.
9896
9897 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
9898 we are packing a structure. This allows a structure with only
9899 bytes to be aligned on a byte boundary and have no padding on a
9900 m68k.
9901
9902 Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9903
9904 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
9905
9906 Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
9907
9908 * alpha.c (alpha_return_addr_rtx): New variable.
9909 (alpha_save_machine_status): New; save it.
9910 (alpha_restore_machine_status): New; restore it.
9911 (alpha_init_expanders): New; clear it.
9912 (alpha_return_addr): New; set it.
9913 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
9914 is overly conservative, so search the insns explicitly.
9915 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
9916 (alpha_sa_size [VMS && !VMS]): Likewise.
9917 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
9918 (INIT_EXPANDERS): New definition.
9919
9920 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
9921 (output_prolog [!VMS]): Use them.
9922
9923 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
9924 (alpha_does_function_need_gp): ... a new function. Refine the
9925 CALL_INSN test to just TYPE_JSR.
9926 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
9927
9928 Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
9929
9930 * version.c: Bump for snapshot.
9931
9932 Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9933
9934 * pa.c (move_operand): Respect -mdisable-indexing.
9935 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
9936
9937 Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
9938
9939 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
9940 PPC601.
9941 (umulsidi3,umulsi3_highpart): Ditto.
9942 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
9943
9944 Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
9945
9946 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
9947 (alpha_handle_trap_shadows): ... a new function. Handle the entire
9948 function in one go. Emit RTL for trapb, instead of printf directly.
9949 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
9950 (trap_pending): Kill global variable.
9951 (output_epilog): Don't call final_prescan_insn.
9952 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
9953 * alpha.h (FINAL_PRESCAN_INSN): Remove.
9954 (MACHINE_DEPENENT_REORG): Define.
9955 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
9956 (trapb): New insn.
9957
9958 Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
9959
9960 Tune Haifa scheduler for Alpha:
9961 * alpha.h (ISSUE_RATE): Define.
9962 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
9963 EV4 adjustments to EV5.
9964 * alpha.md: Remove all scaling from function unit delays. Rework
9965 EV5 function units to match the CPU.
9966 (umuldi3_highpart): EV5 added the IMULH insn class.
9967
9968 Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
9969
9970 * pa.c (following_call): Fail if the CALL_INSN is an indirect
9971 call.
9972
9973 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
9974
9975 * cplus-dem.c (demangle_signature): Don't look for return types on
9976 constructors. Handle member template constructors.
9977
9978 Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
9979
9980 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
9981 * tree.h: Declare them.
9982
9983 Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
9984
9985 * configure.in: Handle --with-newlib.
9986 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
9987
9988 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
9989
9990 Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
9991
9992 * config/ptx4.h: Fix typo.
9993
9994 Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
9995
9996 * version.c: Bump for snapshot.
9997
9998 Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
9999
10000 * aclocal.m4: Substitute INSTALL.
10001 * configure: Re-built.
10002
10003 Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
10004
10005 * integrate.c (save_for_inline_copying): Avoid undefined pointer
10006 operations.
10007 (expand_inline_function): Likewise.
10008
10009 * dwarf2out.c (output_call_frame_info): Reinstate last change
10010 using flag_debug_asm check instead of flag_verbose_asm.
10011
10012 Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
10013
10014 * dwarf2out.c (output_call_frame_info): Remove last change.
10015
10016 1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10017
10018 * frame.c (__frame_state_for): Execute the FDE insns until the
10019 current pc value is strictly bigger than the target pc value.
10020
10021 Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
10022
10023 * regclass.c (init_reg_modes): If we can't find a mode for the
10024 register, use the previous one.
10025
10026 Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
10027
10028 * haifa-sched.c (print_block_visualization): Call fprintf directly,
10029 don't sprintf through an alloca'ed buffer.
10030
10031 Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
10032
10033 * reload.c (decompose): Always initialize val.base.
10034
10035 Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
10036
10037 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
10038 instead of aborting.
10039 * dwarf2out.c (output_call_frame_info): Call app_enable and
10040 app_disable to let GNU as accept the generated comments.
10041
10042 Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
10043
10044 * tree.h (get_file_function_name): Add declaration.
10045 * dwarf2out.c (output_call_frame_info): No need to cast
10046 get_file_function_name call anymore.
10047 * profile.c (toplevel): Remove get_file_function_name
10048 declaration.
10049 * c-lang.c (finish_file): Ditto.
10050
10051 Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
10052
10053 * Makefile.in (program_transform_name): Let autoconf substitute
10054 the correct value.
10055
10056 Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
10057
10058 * haifa-sched.c (schedule_block): If the first real insn in a
10059 block has any special notes attached to it, remove them.
10060
10061 Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
10062
10063 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
10064
10065 Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
10066
10067 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
10068
10069 Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
10070
10071 * Makefile.in (check-g77): New test target.
10072 (CHECK-TARGETS): Add check-g77.
10073
10074 Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
10075
10076 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
10077
10078 Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
10079
10080 * flow.c (print_rtl_with_bb): Cast alloca return value for
10081 in_bb_p.
10082
10083 Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
10084
10085 * i386.h (RETURN_ADDR_RTX): New definition that works for
10086 __builtin_return_address(0) and -fomit-frame-pointer.
10087
10088 Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
10089
10090 Bring over from FSF.
10091 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
10092
10093 * mips.c (function_arg): Handle passing a struct
10094 containing a double in a DFmode register without the PARALLEL.
10095
10096 Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
10097
10098 * pexecute.c: Use spawn if __CYGWIN32__.
10099
10100 * pexecute.c: Include "config.h" first, as per autoconf manual
10101 (from Paul Eggert <eggert@twinsun.com>).
10102
10103 Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
10104
10105 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
10106 optimisation for f/expr.o and f/stb.o.
10107
10108 Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
10109
10110 * cse.c (this_insn_cc0_mode): Initialize.
10111
10112 Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
10113
10114 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
10115
10116 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
10117
10118 Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
10119
10120 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
10121 that pair will dual-issue on the 21164 and plus+beq won't.
10122 (bne): Likewise for cmpeq+beq.
10123
10124 Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
10125
10126 * except.c (find_exception_handler_labels): Correct argument to free.
10127
10128 Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
10129
10130 * except.c (find_exception_handler_labels): Free LABELS when we're
10131 done.
10132
10133 Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
10134
10135 * version.c: Bump for snapshot.
10136
10137 Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
10138
10139 * flow.c (find_basic_blocks): Mark calls as potentially jumping
10140 to the EH labels.
10141
10142 Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
10143
10144 * configure.in: Substitute for "install" too.
10145 * configure: Rebuilt.
10146
10147 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
10148
10149 * Makefile.in (bootstrap-lean, compare-lean): New targets.
10150
10151 Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
10152
10153 * alias.c (base_alias_check): Two symbols can conflict if they
10154 are accessed via AND.
10155 (memrefs_conflict_p): Likewise.
10156
10157 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
10158 after flushing argument registers to the stack.
10159
10160 * Makefile.in (mostlyclean): Remove .regmove files.
10161
10162 Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
10163
10164 * libgcc2.c (__throw): Fix thinko.
10165
10166 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
10167
10168 * cplus-dem.c (demangle_template): Add new parameter. Handle new
10169 template-function mangling.
10170 (consume_count_with_underscores): New function.
10171 (demangle_signature): Handle new name-mangling scheme.
10172
10173 Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
10174
10175 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
10176 start and end.
10177
10178 Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
10179
10180 * frame.c: Remove last change.
10181 * dwarf2.h: Remove last change.
10182 * tree.h: Add declarations of DWARF2 unwind info support
10183 functions.
10184
10185 Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
10186
10187 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
10188 * tree.h (built_in_function): Likewise.
10189 * expr.c (expand_builtin): Likewise.
10190 * except.h: Likewise.
10191 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
10192 * libgcc2.c (copy_reg): New fn.
10193 (__throw): Use it.
10194
10195 Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
10196
10197 * c-typeck.c (build_binary_op): Warn about comparing signed vs
10198 unsigned if -W is specified and -Wno-sign-compare is not.
10199 * c-decl.c (warn_sign_compare): Initialize to -1.
10200 (c_decode_option): -Wall no longer implies -Wsign-compare.
10201
10202 Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10203
10204 * frame.c: Include gansidecl.h for PROTO.
10205 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
10206 defined. Don't declare dwarf2out_cfi_label here.
10207 * dwarf2.h: Add declarations of DWARF2 unwind info support
10208 functions.
10209 * m68k.c: Include dwarf2.h.
10210 (output_function_prologue): Add dwarf2 support.
10211 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
10212 (INCOMING_FRAME_SP_OFFSET): Likewise.
10213
10214 * integrate.c (expand_inline_function): Make sure there is at
10215 least one insn that can be used as an insertion point.
10216
10217 Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
10218
10219 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
10220
10221 Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
10222
10223 * version.c: Bump for snapshot.
10224
10225 Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
10226
10227 Bring over from FSF.
10228
10229 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
10230
10231 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
10232 (get_pc_via_rdpc): Renamed from get_pc_sp64.
10233 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
10234
10235 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
10236
10237 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
10238 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
10239 -malign-functions=.
10240 (sparc_align_{loops,jumps,funcs}_string): Declare.
10241 (sparc_align_{loops,jumps,funcs}): Declare.
10242 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
10243 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
10244 (STACK_BIAS): Define.
10245 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
10246 test.
10247 (SPARC_SETHI_P): New macro.
10248 (CONST_OK_FOR_LETTER_P): Use it.
10249 (ASM_OUTPUT_ALIGN_CODE): Define.
10250 (ASM_OUTPUT_LOOP_ALIGN): Define.
10251 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
10252 (sparc_align_{loops,jumps,funcs}): New globals.
10253 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
10254 -malign-functions=.
10255 (move_operand): Use SPARC_SETHI_P.
10256 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
10257 perform test.
10258 (arith11_double_operand): Likewise.
10259 (arith10_double_operand): Likewise.
10260 (finalize_pic): Finish sparc64 support.
10261 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
10262 64 bit constants if able.
10263 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
10264 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
10265 ! TARGET_FPU.
10266 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
10267 (get_pc_sp32): Use for sparc64 as well.
10268 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
10269 (sethi_di_sp64_const): Likewise.
10270 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
10271 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
10272 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
10273
10274 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
10275
10276 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
10277 * sparc/linux.h (COMMENT_BEGIN): Likewise.
10278 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
10279
10280 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
10281
10282 Add sparc64 linux support.
10283 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
10284 to xm_file list on 32-bit sparc-linux.
10285 * sparc/xm-sp64.h: New file.
10286 * sparc/linux64.h: New file.
10287 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
10288 Don't include xm-sparc.h.
10289 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
10290 * glimits.h (LONG_MAX): Handle sparc64.
10291
10292 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
10293
10294 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
10295 * sparc.h (ASM_COMMENT_START): Define.
10296 * sparc.c (output_function_prologue): Use it.
10297 (sparc_flat_output_function_{epi,pro}logue): Likewise.
10298
10299 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
10300
10301 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
10302 use sparc.h's copies.
10303 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
10304 ascii form as well.
10305
10306 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10307
10308 * sparc.c (dwarf2out_cfi_label): Add declaration.
10309 (save_regs, output_function_prologue): Remove cast for it.
10310 (sparc_flat_{save_restore,output_function_prologue): Likewise.
10311 ({save,restore}_regs): No longer inline.
10312
10313 Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10314
10315 * fold-const.c (make_range): Correctly handle cases of converting
10316 from unsigned to signed type.
10317
10318 Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10319
10320 * fold-const.c (merge_ranges): Make sure that if one range is subset
10321 of another, it will always be the second range. Correct (+,-) case to
10322 account for this.
10323
10324 Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
10325
10326 * final.c (final_end_function): Also do dwarf2 thing if
10327 DWARF2_DEBUGGING_INFO.
10328 (final_start_function): Likewise.
10329
10330 Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
10331
10332 * expmed.c (expand_divmod): If compute_mode is not the same as
10333 mode, handle the case where convert_modes() causes op1 to no
10334 longer be a CONST_INT.
10335
10336 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
10337 note holding get_jump_flags() calculation to all JUMP_INSNs.
10338 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
10339 * rtl.c (reg_note_name): Add new note types.
10340
10341 Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
10342
10343 * rtlanal.c (computed_jump_p): Fix typo in last change.
10344
10345 Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
10346
10347 * loop.c (indirect_jump_in_function_p): Return 0
10348 by default.
10349
10350 Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
10351
10352 * rs6000/xm-rs6000.h: Fix thinko in last change.
10353 * rs6000/xm-sysv4.h: Likewise.
10354
10355 Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
10356
10357 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
10358
10359 Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
10360
10361 * reg-stack.c (find_blocks): Fix thinko in last change.
10362
10363 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10364
10365 * m68k.c (output_function_prologue): Add dwarf2 support.
10366
10367 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
10368 INCOMING_FRAME_SP_OFFSET): New definitions.
10369
10370 Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
10371
10372 * combine.c (try_combine): Use NULL_RTX instead of '0' where
10373 appropriate in calls to gen_rtx().
10374 * cse.c (cse_main): Likewise.
10375 * emit-rtl.c (gen_label_rtx): Likewise.
10376 * expr.c (init_expr_once): Likewise.
10377 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
10378 sched_analyze, init_rgn_data_dependences,
10379 compute_block_backward_dependences): Likewise.
10380 * sched.c (schedule_insns): Likewise.
10381 * varasm.c (immed_double_const): Likewise.
10382
10383 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
10384 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
10385
10386 Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
10387
10388 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
10389 (MULTILIB_DEFAULTS): Define.
10390 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
10391 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
10392 (LIBGCC_SPEC): Likewise.
10393 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
10394 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
10395 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
10396 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
10397 (EXTRA_PARTS, TAROUTOPTS): Delete.
10398 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
10399 (MULTILIB_OPTIONS): Define.
10400 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
10401 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
10402
10403 Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
10404
10405 * version.c: Bump for snapshot.
10406
10407 Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
10408
10409 * loop.c (loop_number): Delete function. Change all references
10410 to use uid_loop_num array.
10411 * loop.h (loop_number): Delete declaration.
10412 * unroll.c (unroll_loop): Change "loop_number" references to
10413 use uid_loop_num instead.
10414
10415 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
10416 conditional.
10417 (loop_unroll_iter): Remove unused variable and all references.
10418 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
10419 (insert_bct): Fix minor formatting problems.
10420 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
10421 (loop_unroll_iter): Removed unused decl.
10422 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
10423 Always record the unrolling factor.
10424
10425 * cse.c (simplify_relational_operation): Set h0u just like h0s.
10426 Similarly for h1u and h1s.
10427
10428 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
10429 (find_basic_blocks): Use computed_jump_p to determine if a
10430 particular JUMP_INSN is a computed jump.
10431 * reg-stack.c (find_blocks): Use computed_jump_p to determine
10432 if a particular JUMP_INSN is a computed jump.
10433 * rtlanal.c (jmp_uses_reg_or_mem): New function.
10434 (computed_jump_p): Likewise.
10435 * rtl.h (computed_jump_p): Declare.
10436 * genattrtab.c (pc_rtx): Define and initialize.
10437 * loop.c (loop_optimize): Always determine if the current
10438 function has a computed jump.
10439 (indirect_jump_in_function_p): Use computed_jump_p to determine
10440 if a particular JUMP_INSN is a computed jump.
10441
10442 * loop.c (fix_bct_param): Delete unused function.
10443 (check_bct_param): Likewise.
10444
10445 Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
10446
10447 * frame.c (__deregister_frame): Check properly for initialized object.
10448
10449 Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
10450
10451 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
10452
10453 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10454
10455 * jump.c (thread_jumps): check can_reverse_comparison_p before
10456 threading a reversed-condition jump.
10457
10458 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
10459 * haifa-sched.c (update_flow_info): Likewise.
10460
10461 Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
10462
10463 * Makefile.in (BOOT_CFLAGS): Use -O2.
10464
10465 * configure.in (strtoul, bsearch): Have autoconf check for these
10466 functions.
10467 * configure, config.in: Rebuilt.
10468
10469 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
10470 * mips/mips.h (alloca): Likewise.
10471 * rs6000/xm-rs6000.h (alloca): Likewise.
10472 * rs6000/xm-sysv4.h: Likewise.
10473
10474 Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
10475
10476 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
10477 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
10478 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
10479
10480 * except.c (end_eh_unwinder): Subtract 1 from return address.
10481 * libgcc2.c (__throw): Likewise.
10482 (find_exception_handler): Don't change PC here. Compare end with >.
10483
10484 Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
10485
10486 * v850.c (compute_register_save_size): Correct register
10487 number.
10488 * v850.md (save_interrupt, return_interrupt): Correct
10489 register number.
10490 * v850/lib1funcs.asm (save_interrupt): Correct register number.
10491 (return_interrupt): Use stack pointer, not element pointer.
10492
10493 1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
10494
10495 * configure.in, configure: Make sure to create the stage* and include
10496 symbolic links in each subdirectory.
10497
10498 Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
10499
10500 * pa.md (reload_peepholes): Don't allow addresses with side
10501 effects for the memory operand.
10502
10503 Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
10504
10505 * libgcc2.c (find_exception_handler): Subtract one from our PC when
10506 looking for a handler, to avoid hitting the beginning of the next
10507 region.
10508
10509 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
10510
10511 Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
10512
10513 * mips/abi64.h (LONG_MAX_SPEC): Define.
10514 * mips.h (LONG_MAX_SPEC): Define.
10515 (CPP_SPEC): Include long_max_spec.
10516 (EXTRA_SPECS): Include long_max_spec.
10517
10518 Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
10519
10520 * v850.c (construct_save_jarl): Fix thinko in last change.
10521
10522 Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
10523
10524 * version.c: Bump for snapshot.
10525
10526 Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
10527
10528 * libgcc2.c (find_exception_handler): Not found is -1.
10529
10530 * integrate.c (expand_inline_function): Move expand_start_bindings
10531 after expanding the arguments.
10532
10533 Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
10534
10535 * expr.c (expand_expr): Remove previous incorrect change.
10536 If target and slot has no DECL_RTL, then call mark_addressable
10537 again for the slot after we give it RTL.
10538
10539 Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
10540
10541 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
10542 again for the slot after we give it RTL.
10543
10544 Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
10545
10546 * v850.c (register_is_ok_for_epilogue,
10547 pattern_is_ok_for_epilogue, construct_restore_jr,
10548 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
10549
10550 * v850.h (pattern_is_ok_for_prologue,
10551 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
10552 predicates.
10553
10554 * v850.md: Replace prologue and epilogue patterns with a
10555 match_parallel pattern.
10556
10557 Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
10558
10559 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
10560 * configure.in: Use EGCS_PROG_INSTALL.
10561
10562 Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
10563
10564 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
10565 extern inline function.
10566
10567 Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
10568
10569 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
10570 (concat_loc_descriptor): New function.
10571 (loc_descriptor): Call it.
10572 (add_AT_location_description): Also elide the descriptor if both
10573 halves of a CONCAT are pseudos.
10574 (add_location_or_const_value_attribute): Recognize CONCAT too.
10575
10576 Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
10577
10578 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
10579
10580 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
10581 out-or-range reg_offset.
10582 (output_epilog): Likewise.
10583
10584 Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
10585
10586 * cse.c (simplify_relational_operation): If MODE specifies a
10587 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
10588 is derived from the sign bit of the low word.
10589
10590 Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
10591
10592 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
10593
10594 * dwarf2.h: Add DW_CFA_GNU_args_size.
10595 * frame.c (execute_cfa_insn): Likewise.
10596 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
10597 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
10598 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
10599 insn, hand it off to dwarf2out_stack_adjust.
10600 (dwarf2out_begin_prologue): Initialize args_size.
10601 * frame.h (struct frame_state): Add args_size.
10602 * libgcc2.c (__throw): Use args_size.
10603 * final.c (final_scan_insn): If we push args, hand off all insns
10604 to dwarf2out_frame_debug.
10605 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
10606
10607 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
10608 Handle epilogue restore of SP from FP.
10609 * emit-rtl.c (gen_sequence): Still generate a sequence if the
10610 lone insn has RTX_FRAME_RELATED_P set.
10611
10612 * frame.c (extract_cie_info): Handle "e" augmentation.
10613 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
10614 absence of UNALIGNED_*_ASM_OP.
10615 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
10616 (output_call_frame_info): Use "e" instead of "z" for augmentation.
10617 Don't emit augmentation fields length.
10618 (dwarf2out_do_frame): Move outside of #ifdefs.
10619 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
10620 opcodes.
10621
10622 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
10623 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
10624 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
10625 * sparc/sun4gas.h: New file.
10626 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
10627
10628 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
10629 __register_frame_table and __deregister_frame.
10630
10631 1997-09-15 Brendan Kehoe <brendan@cygnus.com>
10632
10633 * except.c (find_exception_handler_labels): Use xmalloc instead of
10634 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
10635 in some cases.
10636
10637 Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
10638
10639 * Makefile.in: Various changes to build info files
10640 in the object tree rather than the source tree.
10641
10642 Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
10643
10644 * fixinc.math: New file to fix math.h on some systems.
10645 * configure.in (freebsd, netbsd): Use fixinc.math on these
10646 systems.
10647 * configure: Rebuilt.
10648
10649 Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
10650
10651 * regmove.c (regmove_optimize): If we end up moving the
10652 original insn due to lifetime overlaps, make sure to move
10653 REG_NOTES too.
10654
10655 Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
10656
10657 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
10658
10659 Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
10660
10661 * haifa-sched.c (add_branch_dependences): Make each insn in
10662 a SCHED_GROUP_P block explicitly depend on the previous insn.
10663
10664 Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
10665
10666 * except.h: Prototype dwarf2 hooks.
10667 * expr.c: Adjust.
10668
10669 Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
10670
10671 * configure.in (native_prefix): Delete.
10672 (mips-dec-netbsd): Don't set prefix.
10673 (*linux*): Don't set prefix.
10674
10675 Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
10676
10677 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
10678 defined. If not defined, include <sys/varargs.h> if
10679 HAVE_SYS_VARARGS_H is defined.
10680 * configure.in: Test for varargs.h and sys/varargs.h.
10681 * configure: Regenerate with autoconf.
10682 * config.in: Regenerate with autoheader.
10683
10684 * cpplib.c (quote_string): Cast first arg of sprintf call
10685 from "unsigned char *" to "char *".
10686 (output_line_command): Ditto.
10687 (macroexpand): Ditto.
10688 (do_line): Cast atoi arg from "unsigned char *" to "char *".
10689
10690 Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
10691
10692 * version.c: Bump for snapshot.
10693
10694 * Makefile.in (compare): Exit with nonzero status if there
10695 are comparison failures. Note which files failed the
10696 comparison test in .bad_compare.
10697
10698 Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
10699
10700 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
10701
10702 Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
10703
10704 * Makefile.in (LN, LN_S): New macros, use where appropriate.
10705 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
10706 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
10707 * configure: Regenerated.
10708
10709 Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
10710
10711 * loop.c (strength_reduce): Fix typo.
10712
10713 Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
10714
10715 * m88k/m88k.c (struct option): Rename to struct options.
10716 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
10717 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
10718 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
10719 __DOLPHIN__ or sysV88.
10720
10721 Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
10722
10723 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
10724 create new subreg.
10725
10726 Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
10727
10728 * config.sub: Accept 'amigados' for backward compatability.
10729
10730 Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
10731
10732 * Makefile.in (testsuite/site.exp): New target.
10733 (check-gcc, check-g++): Depend on testsuite/site.exp.
10734 Don't stop for failure.
10735
10736 Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
10737
10738 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
10739 if DWARF2_UNWIND_INFO.
10740
10741 Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
10742
10743 Add support for exception handling using DWARF 2 frame unwind info.
10744 Currently works on SPARC and MIPS, and almost on x86.
10745
10746 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
10747 next_stack_level, in_reg_window): Helper fns.
10748 (__throw): Implement for DWARF2_UNWIND_INFO.
10749
10750 * expr.c (expand_builtin): Handle builtins used by __throw.
10751 * tree.h (enum built_in_function): Add builtins used by __throw.
10752 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
10753 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
10754 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
10755 (expand_builtin_extract_return_addr): Likewise.
10756 (expand_builtin_frob_return_addr): Likewise.
10757 (expand_builtin_set_return_addr_reg): Likewise.
10758 (expand_builtin_eh_stub): Likewise.
10759 (expand_builtin_set_eh_regs): Likewise.
10760 (eh_regs): Choose two call-clobbered registers for passing back values.
10761
10762 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
10763 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
10764 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
10765 (stmp-multilib): Likewise.
10766 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
10767
10768 * except.c: #include "defaults.h".
10769 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
10770 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
10771 (register_exception_table_p): New fn.
10772 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
10773 (end_eh_unwinder): Likewise.
10774
10775 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
10776 call __register_frame and __deregister_frame as needed.
10777 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
10778 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
10779 EH_FRAME_SECTION_ASM_OP.
10780 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
10781 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
10782 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
10783
10784 * dwarf2out.c (output_call_frame_info): If no support for
10785 EXCEPTION_SECTION, mark the start of the frame info with a
10786 collectable tag.
10787 * collect2.c (frame_tables): New list.
10788 (is_ctor_dtor): Recognise frame entries.
10789 (scan_prog_file): Likewise.
10790 (main): Pass -fno-exceptions to sub-compile. Also do collection
10791 if there are any frame entries.
10792 (write_c_file_stat): Call __register_frame_table and
10793 __deregister_frame as needed.
10794 (write_c_file_glob): Likewise.
10795
10796 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
10797 Also require unaligned reloc support.
10798 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
10799 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
10800 * sparc/sysv4.h: Not here.
10801
10802 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
10803 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
10804 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
10805
10806 * libgcc2.c (L_eh): Reorganize, moving code shared by different
10807 EH implementations to the top.
10808 (find_exception_handler): Split out. Start from 0. Compare against
10809 end with >=.
10810 (__find_first_exception_table_match): Use it.
10811 * except.c (output_exception_table): Don't do anything if there's
10812 no table. Don't output a first entry of zeroes.
10813 (eh_outer_context): Adjust properly.
10814 (add_eh_table_entry): Use xrealloc.
10815 * toplev.c (compile_file): Just call output_exception_table.
10816
10817 Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
10818
10819 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
10820
10821 Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
10822
10823 * except.c (eh_outer_context): Do masking using expand_and.
10824
10825 Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
10826
10827 Add port done awhile ago for the ARC cpu.
10828 * arc/arc.h: New file.
10829 * arc/arc.c: New file.
10830 * arc/arc.md: New file.
10831 * arc/initfini.c: New file.
10832 * arc/lib1funcs.asm: New file.
10833 * arc/t-arc: New file.
10834 * arc/xm-arc.h: New file.
10835 * ginclude/va-arc.h: New file.
10836 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
10837 * ginclude/varargs.h: Likewise.
10838 * Makefile.in (USER_H): Add va-arc.h.
10839 * configure.in (arc-*-elf*): Recognize.
10840 * longlong.h: Add ARC support.
10841
10842 Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
10843
10844 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
10845 when clearing non-BLKmode data.
10846
10847 Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
10848
10849 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
10850 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
10851
10852 * xm-m88k.h (USG): Only define if it hasn't already been defined.
10853
10854 * Makefile.in (risky-stage1): Delete gratutious whitespace.
10855
10856 * Makefile.in (clean): Delete libgcc1-test.
10857
10858 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
10859
10860 Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
10861
10862 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
10863 template.
10864
10865 Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10866
10867 * dwarf2out.c (output_call_frame_info): Call named_section.
10868
10869 Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
10870
10871 * haifa-sched.c (print_value): Fix last change.
10872
10873 Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
10874
10875 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
10876 write_symbols.
10877
10878 Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
10879
10880 * mips.c (function_prologue): Set up the CFA when ABI_32.
10881
10882 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
10883 for dwarf2 unwind info.
10884 (output_function_prologue, sparc_flat_output_function_prologue): Same.
10885
10886 * final.c (final_end_function): Check dwarf2out_do_frame instead
10887 of DWARF2_DEBUG for dwarf2 unwind info.
10888 (final_scan_insn): Likewise.
10889 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
10890 (final): Not here.
10891
10892 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
10893 count > 0.
10894
10895 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
10896
10897 Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
10898
10899 * v850.h (ASM_SPEC): Pass on target processor.
10900 (CPP_PREDEFINES): Only define if not already specified.
10901 (TARGET_VERSION): Only define if not already specified.
10902 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
10903 processor.
10904 (EXTRA_SWITCHES): Extra entries in the switches array.
10905 (TARGET_DEFAULT): Set default target processor.
10906
10907 Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
10908
10909 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
10910 cases, add %# and %/, and add : to make them into extended asms.
10911
10912 Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
10913
10914 * alias.c (init_alias_analysis): Clean up incompatible pointer
10915 type warning in bzero.
10916 * regmove.c (regmove_optimize): Ditto.
10917 * haifa-sched.c (find_rgns): Ditto.
10918
10919 * haifa-sched.c (print_value): Clean up ptr->int cast
10920 warnings.
10921
10922 Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
10923
10924 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
10925 * install.texi (Configurations): Ditto.
10926 * config.sub: Ditto.
10927
10928 Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
10929
10930 * Makefile.in (sdbout.o): Depend on insn-config.h.
10931
10932 Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
10933
10934 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
10935 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
10936
10937 Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
10938
10939 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
10940 prologue insn, only the first elt is significant.
10941 (output_call_frame_info): For exception handling, always use 4-byte
10942 fields as specified by the dwarf2 spec.
10943 Don't skip trivial FDEs.
10944
10945 Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
10946
10947 * version.c: Bump for snapshot.
10948
10949 Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
10950
10951 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
10952 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
10953 when op1_is_pow2.
10954
10955 Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
10956
10957 * final.c (shorten_branches): During first pass, assume worst
10958 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
10959
10960 * Makefile.in (distclean): Remove various things left around
10961 by running the testsuite.
10962
10963 Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
10964
10965 * configure.in (out_file): Emit definition to config.status in order
10966 to have a defined value for configure.lang.
10967 * configure: Re-built.
10968
10969 Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
10970
10971 * configure.in: Make symlink to as-new rather than as.new. Similarly
10972 for ld-new.
10973 * configure: Rebuilt.
10974
10975 Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
10976
10977 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
10978
10979 Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
10980
10981 * sparc/sparc.md: Add ultrasparc scheduling support.
10982 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
10983
10984 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
10985
10986 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
10987 as initial value for real_label_map.
10988 (copy_for_inline): Likewise.
10989
10990 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10991
10992 * sched.c (update_flow_info) When looking if to set found_split_dest
10993 or found_orig_dest, look at all parts of a PARALLEL.
10994 * haifa-sched.c (update_flow_info): Likewise.
10995
10996 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
10997
10998 * v850: New directory for v850 port.
10999 * v850/lib1funcs.asm: New file.
11000 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
11001 * ginclude/va-v850.h: New file.
11002 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
11003 * configure.in (mn10200-*-*): New target.
11004 * configure: Rebuilt.
11005 * config.sub: Handle v850-elf.
11006 * Makefile.in (USER_H): Add va-mn10200.h.
11007 * invoke.texi: Document v850 stuff.
11008
11009 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
11010
11011 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
11012 has integer TYPE_{MAX,MIN}_VALUE before using them.
11013
11014 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
11015 __HPUX_ASM__ versions.
11016
11017 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
11018
11019 * install.sh: Delete duplicate install script.
11020
11021 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
11022
11023 * reg-stack.c (subst_stack_regs): Pop the stack register for a
11024 computed goto which sets the same stack register.
11025
11026 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
11027 destination are both on the regstack.
11028 (subst_stack_regs_pat): Put the destination at the top of the regstack.
11029
11030 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
11031
11032 * mips.md (nonlocal_goto_receiver): Define.
11033
11034 * profile.c (output_arc_profiler): Check next_insert_after for non
11035 NULL before deferencing it.
11036
11037 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
11038
11039 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
11040
11041 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
11042
11043 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
11044
11045 * toplev.c (rest_of_compilation): For passes starting with
11046 flow_analysis, use print_rtl_with_bb instead of print_rtl.
11047
11048 * print-rtl.c (print_rtl_single): Print a single rtl value to a
11049 file.
11050
11051 * flow.c (print_rtl_with_bb): Print which insns start and end
11052 basic blocks. For the start of a basic block, also print the live
11053 information.
11054
11055 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
11056
11057 * toplev.c (main): Change #elif to #else/#ifdef
11058
11059 * tlink.c: Include ctype.h.
11060 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
11061
11062 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
11063
11064 * bitmap.c: Conditionally include stdlib.h.
11065 (free): Provide a declaration if NEED_DECLARATION_FREE.
11066
11067 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
11068
11069 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
11070
11071 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
11072
11073 * profile.c (output_arc_profiler): Verify next_insert_after is an
11074 INSN before and after skipping a stack pop.
11075
11076 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
11077
11078 * final.c (shorten_branches): Don't count the lengths of deleted
11079 instructions.
11080
11081 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
11082
11083 * version.c: Bump for snapshot.
11084
11085 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
11086
11087 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
11088 two bitmaps ANDed together.
11089 (bitmap_print): Declare.
11090
11091 * bitmap.c (function_obstack): Don't declare any more.
11092 (bitmap_obstack): Obstack for allocating links from.
11093 (bitmap_obstack_init): New static to say whether to initialize
11094 bitmap_obstack.
11095 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
11096 (bitmap_release_memory): Free all memory allocated from
11097 bitmap_obstack.
11098
11099 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
11100 EXECUTE_IF_AND_IN_BITMAP.
11101
11102 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
11103
11104 * alias.c (true_dependence): Address with AND can alias scalars.
11105 (anti_dependence, output_dependence): Likewise.
11106
11107 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
11108
11109 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
11110
11111 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
11112 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
11113 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
11114 definitions. Use -qrtems instead of -mrtems.
11115
11116 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
11117
11118 * xm-sco5.h (sys_siglist): Define.
11119 (SYS_SIGLIST_DECLARED): Likewise.
11120
11121 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
11122
11123 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
11124
11125 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
11126
11127 * except.c (eh_outer_context): Expand masking operation using
11128 expand_binop.
11129
11130 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
11131
11132 * alpha.md (floatdisf2-1): New pattern.
11133
11134 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
11135
11136 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
11137 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
11138 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
11139 * gcc.texi: Note that if you define sys_siglist that you should
11140 also define SYS_SIGLIST_DECLARED.
11141
11142 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
11143 are relative to the next instruction, not the current instruction.
11144
11145 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
11146
11147 * local-alloc.c (contains_replace_regs): New function.
11148 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
11149 verify that there is no existing REG_EQUIV note, and add a call to
11150 contains_place_regs.
11151
11152 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11153
11154 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
11155 (STARTFILE_SPEC): Always use crtbegin.o%s
11156 (ENDFILE_SPEC): Always use crtend.o%s.
11157
11158 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
11159
11160 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
11161 is passed in.
11162 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
11163 SFmode for 64 bit hosts.
11164
11165 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
11166
11167 * fixincludes: Permits spaces between # and define. Discard C++
11168 comments in sys/pci.h on HP/UX 10.20.
11169
11170 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
11171
11172 * version.c: Bump for snapshot.
11173
11174 * pa.c (restore_unscaled_index_insn_codes): New function.
11175 (record_unscaled_index_insn_codes): Likewise.
11176 (output_function_prologue): Call restore_unscaled_index_insn_codes.
11177 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
11178 (pa_reorg): Call record_unscaled_index_insn_codes.
11179
11180 * haifa-sched.c (move_insn): Handle notes correctly for insns
11181 with SCHED_GROUP_P set.
11182
11183 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11184
11185 * alpha/xm-linux.h (USE_BFD): Undef before define.
11186
11187 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
11188
11189 * cse.c (cse_insn): Don't record BLKmode values.
11190
11191 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
11192
11193 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
11194
11195 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
11196
11197 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
11198 * collect2.c (sys_errlist): Likewise.
11199 * cpplib.c (sys_errlist): Likewise.
11200 * gcc.c (sys_errlist): Likewise.
11201 * protoize (sys_errlist): Likewise.
11202 * configure.in: Check for strerror.
11203 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
11204 * xm-gnu.h (HAVE_STRERROR): Likewise.
11205 * xm-linux.h (HAVE_STRERROR): Likewise.
11206 * xm-netbsd.h (HAVE_STRERROR): Likewise.
11207 * xm-bsd386.h (HAVE_STRERROR): Likewise.
11208 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
11209 * xm-dos.h (HAVE_STRERROR): Likewise.
11210 * xm-mingw32.h (HAVE_STRERROR): Likewise.
11211 * xm-pa.h (HAVE_STRERROR): Likewise.
11212 * xm-papro.h (HAVE_STRERROR): Likewise.
11213 * xm-sysv4.h (HAVE_STRERROR): Likewise.
11214 * configure, config.in: Rebuilt.
11215
11216 * Makefile.in: Add several missing "else true" clauses.
11217
11218 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
11219 * mips-tfile.c: Likewise.
11220 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
11221 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
11222 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
11223 * configure.in: Check for sys_siglist declaration.
11224 * configure, config.in: Rebuilt.
11225
11226 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
11227
11228 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
11229 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
11230 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
11231 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
11232 * rs6000/sysv4.h (extra_subtarget_switches): Added new
11233 macro EXTRA_SUBTARGET_SWITCHES.
11234 * configure.in (sh*-*-rtems*): New target.
11235 * sh/rtems.h: New file.
11236 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
11237 * configure: Rebuilt.
11238
11239 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
11240
11241 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
11242
11243 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
11244
11245 * rs6000.md: Make DF fused-add operations pay attention to
11246 -mno-fused-add.
11247
11248 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
11249
11250 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
11251
11252 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
11253
11254 * pa.md (reload_peepholes): Make sure operand is a REG before
11255 examining REGNO. Allow general registers too.
11256
11257 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
11258
11259 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
11260
11261 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
11262
11263 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
11264 to reallocate abbrev_die_table.
11265
11266 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
11267
11268 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
11269
11270 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11271
11272 * Makefile.in (config.status): Depend on version.c
11273
11274 * expr.h (insn_gen_function): Reenable prototype.
11275
11276 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
11277 first parameter.
11278
11279 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
11280
11281 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
11282
11283 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
11284
11285 * version.c: Bump for latest snapshot.
11286
11287 * bc-optab.c: Conditionally include stdlib.h.
11288 (free): Provide a declaration if NEED_DECLARATION_FREE.
11289 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
11290 * rtl.h (free): Remove declaration.
11291 * tree.h (free): Remvoe declaration.
11292
11293 * configure: Rebuilt.
11294
11295 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
11296
11297 * flags.h (flag_move_all_movables): Declare.
11298 (flag_reduce_all_givs): Likewise.
11299 * loop.c (move_movables): Handle flag_move_all_movables.
11300 (strength_reduce): Handle flag_reduce_all_givs.
11301 * toplev.c (flag_move_all_movables): Define.
11302 (flag_reduce_all_givs): Likewise.
11303 (f_options): Add -fmove-all-movables and -freduce-all-givs.
11304 * invoke.texi: Document new options, including alias stuff that
11305 wasn't included last time.
11306
11307 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
11308
11309 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
11310 * t-mn10200: Ditto.
11311 * t-vxsparc: Ditto.
11312 * t-vxworks68: Ditto.
11313 * t-vxworks960: Ditto.
11314 * t-vx29k: Ditto.
11315
11316 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
11317
11318 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
11319 if not already defined, and USE_C_ALLOCA not defined.
11320
11321 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
11322
11323 * config.guess: Replace with script that uses ../config.guess.
11324
11325 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
11326 if USE_GNULIBC_1 is not defined.
11327
11328 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
11329
11330 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
11331 * config.guess: Recognize alpha-linux-gnulibc1.
11332 * configure.in (alpha-*-linux-gnulibc1): New target.
11333 (alpha-*-linux-gnu*): Don't build crtbegin/end.
11334
11335 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
11336
11337 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
11338 last change.
11339
11340 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
11341
11342 * loop.c (combine_movables): Earlier insns don't match later ones.
11343
11344 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11345
11346 * config/linux.h (CC1_SPEC): Define it only if not defined.
11347
11348 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
11349 <linux.h>
11350
11351 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
11352 USE_GNULIBC_1 is not defined.
11353
11354 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
11355
11356 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
11357 as 1 if USE_GNULIBC_1 is not defined.
11358
11359 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
11360
11361 * reorg.c (dbr_schedule): Allow current_function_return_rtx
11362 to be something other than a REG.
11363 * function.c (expand_function_end): Fix current_function_return_rtx
11364 if it was a pseudo.
11365
11366 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
11367 * x-netbsd: Likewise
11368 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
11369 (INSTALL_HEADERS): Delete.
11370 * x-dguxbcs: Likewise.
11371 * x-hp3bsd44: Likewise
11372 * x-pa: Likewise.
11373
11374 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11375
11376 * i386.md (pop): pop increments the stack pointer.
11377 (prologue_set_stack_ptr): New pattern.
11378 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
11379 instead of subsi3.
11380
11381 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
11382
11383 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
11384 address where an offsettable address is required.
11385
11386 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
11387
11388 * loop.c (check_final_value): Don't miss a biv increment in a
11389 parallel.
11390
11391 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
11392
11393 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
11394 TYPE_DECL_IS_STUB instead of DECL_NAME.
11395
11396 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11397
11398 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
11399
11400 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
11401
11402 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
11403
11404 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
11405
11406 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
11407 (find_post_sched_live): Likewise.
11408
11409 * haifa-sched.c (schedule_block): Remove old code to get arguments
11410 from hard regs into pseudos early.
11411
11412 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
11413
11414 * version.c: Bump for new snapshot.
11415
11416 * local-alloc.c (update_equiv_regs): All the target to reject
11417 promotion of some REG_EQUAL to REG_EQUIV notes.
11418 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
11419
11420 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
11421 secondary reloads.
11422
11423 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
11424 store of the argument registers.
11425
11426 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
11427
11428 * fold-const.c (multiple_of_p): New function.
11429 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
11430
11431 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
11432
11433 * expr.h (insn_gen_function): Temporarily remove prototype.
11434
11435 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
11436
11437 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
11438 filenames. Use sed to extract base filename for install.
11439
11440 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
11441
11442 * unroll.c (find_splittable_givs): Only share if two givs have the
11443 same add and multiply values.
11444
11445 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
11446
11447 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
11448 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
11449
11450 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
11451
11452 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
11453 around branch tables.
11454 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
11455 and .end_brtab directives if TARGET_GAS.
11456
11457 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
11458
11459 * alias.c (true_dependence): Pass x_addr not x to varies.
11460
11461 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
11462 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
11463 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
11464 declarations.
11465 * config.in, configure: Regenerate.
11466
11467 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
11468
11469 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
11470 LO_SUM.
11471 (record_set): Handle LO_SUM like PLUS.
11472 (init_alias_analysis): When following chains of base addresses,
11473 do not stop on reaching a hard register.
11474
11475 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
11476
11477 * version.c: Bump for new snapshot.
11478
11479 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
11480
11481 * alpha.h (ARCH_ASM_FILE_START): Define.
11482 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
11483 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
11484
11485 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
11486
11487 * Makefile.in (install-common): Put gcov comment at start of line.
11488
11489 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
11490
11491 * alias.c (init_alias_analysis): When simplifying the reg_base_value
11492 array, simplify entries for hard registers too.
11493
11494 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
11495
11496 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
11497 list.
11498
11499 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
11500
11501 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
11502 block_stack before dereferencing it.
11503
11504 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
11505
11506 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
11507
11508 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
11509
11510 * cplus-dem.c: Add 'extern' to prepends_underscore.
11511
11512 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
11513
11514 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
11515 (get_issue_rate): Delete.
11516 * pa.h (ISSUE_RATE): Define.
11517
11518 * configure.in: Turn on haifa by default for the PA.
11519 * configure: Rebuilt.
11520 * pa.c (override_options): Accept -mschedule=7200 option.
11521 (pa_adjust_cost): No longer need to scale costs for newer
11522 processors.
11523 * pa.h (enum processor_type): Add PROCESSOR_7200.
11524 * pa.md: Revamp scheduling parameters to work better with
11525 haifa. Add scheduling parameters for the 7200.
11526
11527 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
11528 insns too.
11529 (schedule_block): When adjusting basic_block_{head,end}, account
11530 for movement of SCHED_GROUP_P insns too.
11531
11532 * haifa-sched.c (debug_dependencies): Fix thinko.
11533
11534 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
11535 (site.exp, check, check-g++, check-gcc): New targets.
11536
11537 * haifa-sched.c: Make lots of variables static.
11538
11539 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11540
11541 * expr.h, real.h: Finish prototyping.
11542
11543 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
11544
11545 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
11546 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
11547 * reload1.c: Undo bugfix from Aug 11.
11548
11549 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
11550
11551 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
11552 quotes around the name.
11553 * configure: Regenerate.
11554
11555 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
11556
11557 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
11558
11559 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
11560
11561 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
11562 to sub-makes to avoid building more passes than the user might have
11563 requested on the command line.
11564
11565 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
11566
11567 * configure.in: Expurgate `broken_install' (install is
11568 autoconfed).
11569
11570 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
11571 relevant).
11572
11573 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
11574
11575 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
11576 functions and declarations.
11577 (analyze_loop_iterations): Use condjump_p.
11578 (insert_bct): Likewise. Use exact_log2.
11579
11580 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
11581
11582 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
11583 (schedule_region): Likewise.
11584 (schedule_insns): Likewise.
11585
11586 * PROJECTS: Update with Haifa stuff.
11587
11588 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
11589
11590 * version.c: Change the version string to look like:
11591 egcs-2.90.00 970814 (gcc2-970802 experimental).
11592
11593 * loop.c (is_conditional_branch): Make definition match declaration.
11594
11595 * gcc.c: Take out experimental snapshot warning message.
11596
11597 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
11598
11599 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
11600 print out the names of the notes. Print out the name of the insn
11601 that is not a note, and not an {,CALL_,JUMP_}INSN.
11602
11603 Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
11604
11605 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
11606 again for the slot after we give it RTL.
11607
11608 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
11609
11610 * configure.in (haifa configury): Fix typo.
11611 * configure: Regenerate.
11612
11613 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
11614
11615 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
11616
11617 * gcc.info*: Rebuilt.
11618
11619 * COPYING.g77, README.g77: New files.
11620 * real.c (ereal_unto_float, ereal_unto_double): New functions.
11621 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
11622 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
11623
11624 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
11625
11626 * Integrate Haifa instruction scheduler.
11627 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
11628 to sched with $(SCHED_CFLAGS.
11629 * configure.in: Handle --enable-haifa.
11630 * configure: Rebuilt.
11631 * flags.h: Add new flags for haifa instruction scheduler.
11632 * genattrtab.c (expand_units): For haifa, don't subtract one
11633 when computing blockage.
11634 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
11635 (flag_schedule_speculative): Ditto.
11636 (flag_schedule_speculative_load): Ditto.
11637 (flag_schedule_speculative_load_dangerous): Ditto.
11638 (flag_schedule_reverse_before_reload): Ditto.
11639 (flag_schedule_reverse_after_reload): Ditto.
11640 (flag_branch_on_count_reg): Ditto.
11641 (f_options): Add Haifa switches.
11642 (main): Turn off some Haifa options if appropriate macro is
11643 defined. Process Haifa switches.
11644 * unroll.c (iteration_info): No longer static, since Haifa
11645 scheduler uses it.
11646 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
11647 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
11648 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
11649 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
11650 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
11651 storage for the Haifa scheduler.
11652 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
11653 LABEL_NEXTREF.
11654 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
11655 are defined, call analyze_loop_iterations and insert_bct to use
11656 countdown loops.
11657 (record_giv): Refine test for jumps out of loops if HAIFA is
11658 defined.
11659 (analyze_loop_iterations): New function to identify if we can use
11660 a countdown loop.
11661 (insert_bct): Insert countdown loop.
11662 (instrument_loop_bct): Low level code to insert countdown loop.
11663 (loop_number): Calculate UID of loop.
11664 (indirect_jump_in_function_p): Return true if an indirect jump is
11665 in the function.
11666 (is_power_of_2): Return true if value is a power of 2.
11667 (is_conditional_branch): Return true if insn is a conditional
11668 jump.
11669 (fix_bct_param): Process -fbct-{min,max}-N switches.
11670 (check_bct_param): Return true if loop should be instrumented.
11671 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
11672 (loop_optimize): Initialize.
11673 (get_condition_for_loop): Ditto.
11674 * loop.c (strength_reduce): Inside of code that uses #ifdef
11675 HAVE_decrement_and_branch_on_count code, test it to make sure the
11676 condition is true.
11677 (instrument_loop_bct): Ditto.
11678 * haifa-sched.c: New file.
11679
11680
11681 * Integrate regmove pass.
11682 * Makefile.in (OBJS): Add regmove.o
11683 (regmove.o): Add dependencies.
11684 * flow.c (find_use_as_address): No longer static.
11685 * rtl.h (find_use_as_address): Declare.
11686 * toplev.c (regmove_dump, flag_regmove): Define.
11687 (f_options): Add -fregmove.
11688 (regmove_dump_file, regmove_time): Define.
11689 (fatal_insn): Close the regmove dump file.
11690 (compile_file): Initialize regmove_time; open/close the regmove dump
11691 file as needed. Print regmove time as needed.
11692 (rest_of_compilation): Run regmove pass if requested, dump
11693 RTL after regmove if requested.
11694 (main): If -O2 or more, turn on regmove. Handle dump switches.
11695 * regmove.c: New file.
11696
11697 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
11698
11699 * Integrate tlink patch from jason@cygnus.com
11700 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
11701 (process_command): Increment n_switches for them. Don't discard
11702 their args. Validate them.
11703 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
11704 From Rohan Lenard.
11705 (process_command): Set include_prefixes from COMPILER_PATH.
11706 (main): Set COLLECT_GCC_OPTIONS sooner.
11707 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
11708 * tlink.c, hash.c, hash.h: New files.
11709 * Makefile.in (USE_COLLECT2): Always use collect2.
11710 (collect2): Depend on and link in hash.o and tlink.o.
11711 (tlink.o, hash.o): Add dependencies.
11712
11713 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
11714
11715 * Integrate alias analysis changes from jfc@mit.edu
11716 * Makefile.in (OBJS): Add alias.o
11717 (alias.o): Add dependencies.
11718 * alias.c: New file.
11719 * sched.c: Remove alias analysis code. It lives in alias.c now.
11720 (sched_analyze_2): Add new arguments to true_dependence.
11721 (schedule_insns): Always call init_alias_analysis.
11722 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
11723 mark return value from such functions as a pointer and keep track of
11724 them for alias analysis. If a return value from a function is a
11725 pointer, mark it as such.
11726 * combine.c (distribute_notes): Handle REG_NOALIAS.
11727 * cse.c (struct write_data): Delete. No longer needed.
11728 (invalidate): Don't call set_nonvarying_address_components anymore.
11729 Use true_dependence to decide if an entry should be removed from
11730 the hash table.
11731 (invalidate_memory): Remove WRITES argument, simplify appropriately.
11732 Fix all callers.
11733 (note_mem_written): Similarly for WRITE_PTR argument.
11734 (invalidate_from_clobbers): Similarly for W argument.
11735 (invalidate_for_call): Remove memory elements from the hash table.
11736 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
11737 (cse_rtx_varies_p): New function. Derived from old
11738 cse_rtx_addr_varies_p.
11739 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
11740 Don't call note_mem_written anymore. Stack pushes invalidate the stack
11741 pointer if PUSH_ROUNDING is defined. No longer need to call
11742 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
11743 (skipped_writes_memory): Remove variable.
11744 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
11745 (invalidate_skipped_block): Simplify for new alias analysis code.
11746 (cse_set_around_loop): Likewise.
11747 (cse_main): Call init_alias_analysis.
11748 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
11749 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
11750 (f_options): Add new alias checking arguments.
11751 (main): Set flag_alias_check when optimizing.
11752 * local_alloc (validate_equiv_mem_from_store): Add new arguments
11753 to true_dependence.
11754 (memref_referenced_p): Likewise.
11755 * loop.c (NUM_STORES): Increase to 30.
11756 (prescan_loop): Only non-constant calls set unknown_address_altered.
11757 (invariant_p): Add new arguments to true_dependence.
11758 (record_giv): Initialize unrolled and shared fields.
11759 (emit_iv_add_mult): Call record_base_value as needed.
11760 * loop.h (struct induction): Add unrolled and shared fields.
11761 * unroll.c (unroll_loop): Call record_base_value as needed.
11762 (copy_loop_body): Likewise.
11763 (final_biv_value): Likewise.
11764 (final_giv_value): Likewise.
11765 (find_splittable_regs): Likewise. Only create one new pseudo
11766 if we have multiple address GIVs that were combined with the same
11767 dst_reg GIV. Note when a new register is created due to unrolling.
11768 * rtl.c (reg_note_name): Add REG_NOALIAS.
11769 * rtl.h (enum reg_note): Similarly.
11770 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
11771 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
11772 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
11773 (true_dependence, read_dependence, anti_dependence): Likewise.
11774 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
11775 (mark_user_reg, mark_reg_pointer): Likewise.
11776
11777
11778 * Integrate reload bugfix from Wilon which enables the PA port
11779 to bootstrap again.
11780 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
11781 OPERAND_ADDRESS when computing how many registers an insn needs.
11782 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
11783 conflict.
11784 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
11785 OPADDR_ADDR reload.
11786 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
11787 in reload_reg_use_in_op_addr do not reach the end.
11788 do not reach the end.
11789 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
11790 RELOAD_FOR_OPERAND_ADDRESS.
11791
11792 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
11793
11794 * egcs project officially starts.
11795
11796 Local Variables:
11797 add-log-time-format: current-time-string
11798 End:
This page took 0.562016 seconds and 5 git commands to generate.