]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
Bump for snapshot
[gcc.git] / gcc / ChangeLog
1 Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
2
3 * version.c: Bump for snapshot.
4
5 Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
6
7 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
8 if condition code of jump conflicts with opposite_needed.
9
10 * reorg.c (fill_slots_from_thread): Mark resources referenced in
11 opposite_needed thread. Return delay_list even when cannot get
12 any more delay insns from end of subroutine.
13
14 Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
15
16 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
17 All callers changed.
18
19 Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
20
21 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
22 end_fde_sort): New functions for fast sorting of an FDE array.
23 (fde_insert): Simplified.
24 (add_fdes): Change argument list.
25 (frame_init): Use the new functions.
26
27 Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
28
29 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
30
31 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
32
33 * fold-const.c (fold_range_test): Always return a value.
34
35 Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
36
37 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
38 data in the text section unless READONLY_DATA_SECTION is defined.
39
40 Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
41
42 * c-parse.in (undeclared variable error): Tweak error message to
43 be clearer.
44
45 Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
46
47 * version.c: Bump for snapshot.
48
49 1998-02-28 Mark Mitchell <mmitchell@usa.net>
50
51 * final.c (final_scan_insn): Undo overzealous removal of `set'.
52
53 Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
54
55 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
56 case, add parentheses to specify the proper order of precedence in
57 the if-statement.
58
59
60 * c-aux-info.c: Include string.h/strings.h.
61
62 * pa.c: Include stdlib.h.
63 (pa_combine_instructions): Prototype the function.
64 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
65 (reloc_needed): Add default case for enumeration switch.
66 (remove_useless_addtr_insns): Remove unused variable `all'.
67 (hppa_expand_prologue): Add explicit braces to avoid
68 ambiguous `else'.
69 (output_function_epilogue): Remove unused variable `i'.
70 (output_millicode_call): Remove unused variable `link'.
71 (shadd_constant_p, forward_branch_p): Make the function static.
72 (following_call): Explicitly declare to return int.
73 (pa_reorg): Declare as void.
74 (pa_combine_instructions): Declare as static void. Add
75 parentheses around && within ||.
76
77 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
78 following_call, function_label_operand, lhs_lshift_cint_operand
79 and zdepi_cint_p.
80
81 * pa.md: Add parentheses around && within ||.
82
83 * cppalloc.c: Include stdlib.h.
84
85 * cpperror.c (cpp_print_containing_files): Remove unused variable
86 `i'. Fix format specifier in fprintf.
87
88 * cse.c (cse_around_loop): Add explicit braces to avoid
89 ambiguous `else'.
90 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
91
92 * expr.c (expand_expr): Add parentheses around && within ||.
93
94 * final.c (app_enable): Replace fprintf with fputs where there are
95 no format specifiers and no trailing argument after the string.
96 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
97 (app_disable): Likewise.
98 (final_end_function): Likewise.
99 (final_scan_insn): Likewise. Remove unused variable `set'.
100 (profile_function): Wrap empty if-statement body in {} brackets.
101
102 * function.c: Include stdlib.h.
103 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
104 (reposition_prologue_and_epilogue_notes): Add parentheses
105 around assignment used as truth value.
106
107 * integrate.c (expand_inline_function): Wrap variable
108 `cc0_insn' in macro HAVE_cc0.
109
110 * jump.c (jump_optimize): Wrap variable `q' in macro
111 HAVE_cc0. Remove unused variable `prev1'.
112
113 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
114 within ||. Fix format specifier in fprintf.
115 (__bb_init_prg): Add parentheses around assignment used as
116 truth value.
117
118 * local-alloc.c: Include stdlib.h.
119 (requires_inout): Add parentheses around assignment used
120 as truth value.
121
122 * loop.c (analyze_loop_iterations): Wrap prototype and definition
123 in macro HAVE_decrement_and_branch_on_count.
124 (insert_bct, instrument_loop_bct): Likewise.
125 (move_movables): Add parentheses around assignment used as
126 truth value.
127 (consec_sets_invariant_p): Likewise.
128 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
129
130 * objc/objc-act.c: Include stdlib.h.
131 (lookup_method_in_protocol_list): Wrap empty else-statement body
132 in braces.
133 (lookup_protocol_in_reflist): Likewise.
134 (objc_add_static_instance): Remove unused variables `decl_expr'
135 and `decl_spec'.
136 (get_objc_string_decl): Remove unused variable `decl'.
137 (generate_static_references): Remove unused variables `idecl' and
138 `instance'.
139 (check_protocols): Wrap empty else-statement body in braces.
140
141 * protoize.c: Include stdlib.h.
142 (substr): Add parentheses around assignment used as truth value.
143 (abspath): Likewise.
144 (shortpath): Likewise.
145
146 * regmove.c (fixup_match_1): Add parentheses around assignment
147 used as truth value.
148
149 * reload.c (push_secondary_reload): Remove unused variable `i'.
150 (find_reloads): Add parentheses around assignment used as truth
151 value.
152
153 * reload1.c: Include stdlib.h.
154
155 * rtl.h: Correct typo in prototype of offsettable_memref_p.
156
157 * stmt.c (add_case_node): Add parentheses around assignment used
158 as truth value.
159 (case_tree2list): Likewise.
160
161 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
162 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
163 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
164 (merge_attributes): Add explicit braces to avoid ambiguous
165 `else'.
166
167 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
168 macro HAVE_cc0.
169
170 * varasm.c: Include stdlib.h.
171
172
173 * system.h: Remove sys/stat.h.
174 * gcc.c: Add sys/stat.h.
175
176 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
177 * genattrtab.c: Likewise.
178 * genconfig.c: Likewise.
179 * genemit.c: Likewise.
180 * genextract.c: Likewise.
181 * genflags.c: Likewise.
182 * genopinit.c: Likewise.
183 * genoutput.c: Likewise.
184 * genpeep.c: Likewise.
185 * genrecog.c: Likewise.
186 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
187
188 Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
189
190 * invoke.texi: Use @itemx for a secondary item in a @table.
191
192 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
193 zero.
194
195 1998-02-26 Ken Raeburn <raeburn@cygnus.com>
196
197 * regclass.c (init_reg_sets): Move init of move cost tables...
198 (init_reg_sets_1): ...to here.
199
200 Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
201
202 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
203
204 Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
205
206 * i386.c (struct machine_function): Add new fields for PIC stuff.
207 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
208 and pic_label_name.
209 (restore_386_machine_status): Corresponding changes.
210 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
211
212 Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
213
214 * c-parse.y (undeclared variable error): Tweak error message
215 to be clearer.
216
217 Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
218
219 * flags.h (g_switch_value, g_switch_set): Declare.
220 * alpha.c (override_options): Set g_switch_value=8 if not set.
221 * alpha/elf.h (CC1_SPEC): New.
222 (ASM_SPEC): New.
223 (LINK_SPEC): Pass along the -G value we were given.
224 (LOCAL_ASM_OP): Remove.
225 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
226 (MAX_OFILE_ALIGNMENT): New.
227 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
228 (EXTRA_SECTIONS): Add sbss and sdata.
229 (SECTION_FUNCTION_TEMPLATE): New.
230 (EXTRA_SECTION_FUNCTIONS): Use it.
231 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
232 (SELECT_SECTION): Use sdata when small enough.
233 * alpha/linux.h (ASM_SPEC): Remove.
234
235
236 Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
237 * config.sub (sco5): Fix typo.
238
239 Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
240
241 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
242 set to empty.
243 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
244 * config/alpha/t-linux: Remove file.
245 * config/sparc/t-linux: Remove file.
246 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
247 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
248 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
249 for tmake_file.
250 (alpha*-*-linux-gnu*): Likewise.
251 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
252 (sparc-*-linux-gnu*): Likewise.
253
254 Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
255 * collect2.c (ldd_file_name): Bracket declaration with same
256 manifests as use.
257 (full_real_ld_suffix): Deleted. Variable was calloced and
258 written into, but never read.
259
260 1998-02-23 Mike Stump <mrs@wrs.com>
261
262 * configure.in: Add support for i386-wrs-vxworks configuration.
263 * i386/vxi386.h: New file.
264
265 Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
266
267 * tree.c (contains_placeholder_p): Ensure function always returns
268 a value.
269 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
270 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
271
272 Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
273
274 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
275
276 1998-02-22 Paul Eggert <eggert@twinsun.com>
277
278 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
279 Define this new symbol.
280 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
281 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
282 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
283
284 Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
285
286 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
287 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
288
289 Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
290
291 * objc/Object.m (-error): Call objc_verror with our va_list.
292
293 Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
294
295 * collect2.c (scan_prog_file): Completely cover uses of variable
296 `exports' with macro COLLECT_EXPORT_LIST.
297
298 Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
299
300 * version.c: Bump for snapshot.
301
302 Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
303
304 * sched.c (schedule_block): Remove code to get arguments from hard
305 regs into pseudos early. Same as Aug 25, 1997 change to
306 haifa-sched.c.
307
308 1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
309
310 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
311
312 Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
313
314 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
315 continuation character (line 243).
316
317 Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
318
319 * genrecog.c (main): Remove duplicated sentence in emitted comment.
320
321 Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
322 David Edelsohn <edelsohn@mhpcc.edu>
323
324 * collect2.c (XCOFF_SCAN_LIBS): Remove.
325 (export_flag): New variable.
326 (export_file): #ifdef COLLECT_EXPORT_LIST.
327 (import_file, exports, imports, undefined): New variables.
328 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
329 (dump_list, dump_prefix_list, is_in_list): New functions.
330 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
331 (write_import_file, resolve_lib_name): New functions.
332 (use_import_list, ignore_library): Same.
333 (collect_exit): maybe_unlink import_file and #ifdef.
334 (handler): Same.
335 (main): New variable importf, #ifdef exportf. Move parsing of
336 -shared before general argument parsing. Resolve AIX library
337 paths and import libgcc.a symbols. Treat .so shared libraries the
338 same as objects and .a libraries. Create alias for object_lst and
339 increment it instead of original pointer. Scan AIX libraries as
340 objects earlier instead of using scan_libraries. Perform AIX
341 tlink later to resolve templates instead of forking ld.
342 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
343 (GCC_UNDEF_SYMBOL): New macro.
344 (scan_prog_file): Loop for members of AIX libraries. Handle
345 export/import of ctors/dtors.
346 (aix_std_libs): New variable.
347 (scan_libraries, XCOFF): Delete.
348
349 Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
350
351 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
352
353 1998-02-19 Mike Stump <mrs@wrs.com>
354
355 * Makefile.in: Use $tooldir for sys-include to match toplevel
356 configure.
357
358 Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
359 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
360
361 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
362
363 * emit-rtl.c (hard-reg-set.h): Include.
364 (get_lowpart_common): Don't make new REG for hard reg in a
365 class that cannot change size.
366 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
367
368 * combine.c: Revert previous patch.
369
370 1998-02-19 Paul Eggert <eggert@twinsun.com>
371
372 * config/sparc/sol2-sld.h: New file.
373 * configure.in (sparc-*-solaris2*): Use it when using the
374 system linker.
375
376 Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
377
378 * loop.c (force_movables): Fix typo.
379
380 Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
381
382 * m88k.h: Change file pattern to match reality.
383
384 Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
385
386 * varasm.c (output_constant_pool): Fix dumb thinko in last
387 change.
388
389 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
390 a function name to a section name.
391
392 1998-02-18 Doug Evans <devans@cygnus.com>
393
394 * tree.h (merge_machine_{type,decl}_attributes): Declare.
395 (split_specs_attrs, strip_attrs): Add prototypes.
396 * tree.c (merge_machine_{type,decl}_attributes): New functions.
397 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
398 Update olddecl's attributes too.
399 * c-common.c (strip_attrs): New function.
400 * c-typeck.c (common_type): Call merge_machine_type_attributes.
401 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
402 (make_decl_rtl): Likewise.
403
404 1998-02-18 Jim Wilson <wilson@cygnus.com>
405
406 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
407
408 Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
409
410 Remove this change until we can fix it correctly.
411 * collect2.c: Bracket declaration of 'exportf' and
412 'full_real_ld_suffix'.
413
414 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
415
416 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
417
418 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
419
420 * c-common.c (c_expand_start_cond, c_expand_end_cond,
421 c_expand_start_else): Don't warn about non-ambiguous else even if
422 braces are missing.
423
424 Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
425
426 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
427 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
428 instead.
429
430 Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
431
432 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
433 simplifying a subreg of a hard reg.
434 (expand_compound_operation): Likewise.
435 (force_to_mode): Likewise.
436
437 Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
438
439 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
440 (lshift_double): Add parentheses around + or - inside shift.
441 (rshift_double): Likewise.
442 (size_int_wide): Explicitly set type of `bit_p' to `int'.
443
444 * Makefile.in (fold-const.o): Depend on system.h.
445
446 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
447 change to gcc.c.
448
449 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
450 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
451 (sched_note_set): Remove unused parameter `b', all callers changed.
452 (schedule_block): Likewise for `rgn'.
453 (split_hard_reg_notes): Likewise for `orig_insn'.
454 (check_live): Likewise for `trg'.
455 (update_live): Likewise.
456 (check_live_1): Explcitly declare variable `i' as int.
457 (update_live_1): Likewise.
458 (insn_issue_delay): Remove unused variable `link'.
459 (sched_analyze_2): Add default case in enumeration switch.
460 (schedule_insns): Remove unused variable `i'.
461
462 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
463
464 Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
465
466 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
467 a dangling else clause.
468
469 Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
470
471 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
472 pointer for the stack pointer in MIPS16 and 64BIT.
473
474 Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
475
476 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
477 * emit-rtl.c (force_line_numbers, restore_line_number_status):
478 New functions.
479 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
480 (expand_start_case): Adjust to this change.
481 (check_seenlabel): New function.
482 (pushcase, pushcase_range, expand_endcase): Use it.
483
484 Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
485
486 * i386.md (adddi3): Add =!r,0,0,X alternative.
487
488 Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
489
490 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
491 * x-aix31 (INSTALL): Delete.
492
493 Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
494
495 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
496 tsize changes to something other than zero.
497
498 Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
499
500 * ginclude/va-mips.h: Replace casts of pointers to int with
501 casts of pointers to __PTRDIFF_TYPE__.
502
503 Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
504
505 * loop.c (strength_reduce, record_biv, record_giv): Use
506 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
507
508 1998-02-16 Jason Merrill <jason@yorick.cygnus.com>
509
510 * tree.c (first_rtl_op): New fn.
511 (unsave_expr_now): Use it.
512 * print-tree.c (print_node): Likewise.
513 * tree.c (has_cleanups): New fn.
514 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
515 conservative about pushing the cleanup point down.
516 * tree.h: Declare them.
517
518 Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
519
520 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
521 (flag_schedule_reverse_after_reload): Likewise.
522 (f_options): Remove reverse scheduling support.
523 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
524 (flag_schedule_reverse_after_reload): Likewise.
525 * haifa-sched.c (rank_for_schedule): Remove support for reverse
526 scheduling.
527
528 Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
529
530 * gcc.c: Get system includes, prototypes and macros via "system.h"
531 instead of doing it manually. Change all calls of the ctype
532 macros to custom versions defined in "system.h".
533
534 * system.h: Fix return type of bcmp prototype from `void' to `int'.
535 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
536 Add a prototype for getenv.
537
538 Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
539
540 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
541
542 Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
543
544 * alias.c: Include <stdlib.h> and <string.h>.
545 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
546
547 Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
548
549 * version.c: Bump for snapshot.
550
551 Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
552
553 * arm.md (movsfcc): Also validate operands[3] when compiling hard
554 float.
555 (movdfcc): Only accept fpu_add_operand for operands[3].
556
557 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
558 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
559
560 Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
561
562 * varasm.c (output_constant_pool): Bring back 'done' label inside
563 an appropriate #ifdef.
564
565 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
566 appropriate #ifdef.
567 (bitmap_copy, bitmap_operation): Likewise.
568 * combine.c (combinable_i3pat): Similarly for 'src'.
569 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
570 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
571 * regclass.c (copy_cost): Similarly for 'secondary_class'.
572 * reload.c (make_memloc): Simliarly for 'i'.
573 (find_reloads_address_1): Similarly for 'link'.
574 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
575 (emit_reload_insns): Similarly for 'second_reloadreg'.
576 * unroll.c (iteration_info): Similarly for 'v'.
577
578 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
579 * calls.c (expand_call): Similarly for 'i'.
580 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
581 * fold-const.c (strip_compund_expr): Similarly for 'type'.
582 * function.c (fixup_var_refs_1): Similarly for 'width'.
583 (fixup_memory_subreg): Similarly for 'saved'.
584 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
585 (setjmp_protect): Similarly for 'sub'.
586 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
587 * loop.c (record_giv): Similarly for 'p'.
588 (combine_givs): Similarly for 'temp_iv'.
589 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
590 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
591 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
592 * unroll.c (unroll_loop): Similarly for 'copy'.
593 (iteration_info): Similarly for 'b'.
594 * varasm.c (assemble_string): Similarly for 'i'.
595 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
596
597 Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
598
599 * dwarf2out.c (decl_scope_node): New type.
600 (decl_scope_table): Change type to use it.
601 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
602 (push_decl_scope): Use new type. New locals containing_scope, i.
603 Add code to handle setting previous field.
604 (scope_die_for): Change type of local i to int. Add code to use
605 previous field.
606 (dwarf2out_init): Use new type.
607
608 1998-02-13 Jason Merrill <jason@yorick.cygnus.com>
609
610 * except.c (emit_throw): Lose throw_used.
611
612 Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
613
614 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
615 was deleted.
616 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
617
618 Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
619
620 * genextract.c (main): Fix typo.
621
622 Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
623
624 * c-lang.c (finish_file): Bracket declaration of static_ctors,
625 static_dtors.
626
627 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
628 'old_stack_arg_under_construction'
629 (emit_library_call): Bracket declaration of 'upper_bound',
630 'lower_bound', 'i', 'reg_parm_stack_space'
631 (emit_library_call_value): Likewise.
632 (store_one_arg):
633
634 * collect2.c: include <unistd.h> when appropriate.
635 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
636
637 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
638
639 * explow.c (plus_constant_for_output_wide): Remove unused variable
640 'code'.
641 (memory_address): Remove unused variable 'orig_x'.
642
643 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
644 (write_const_num_delay_slots): Remove unused variable 'i'.
645
646 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
647 (gen_insn): Remove unused variable 'obstack_ptr'.
648
649 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
650 'j', 'tmp', 'i'.
651 (__bb_exit_trace_func): Remove unused variable 'e'.
652
653 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
654 'funexp'.
655 (expand_unop): Remove unused variable 'funexp'.
656 (expand_complex_abs): Remove unused variable 'funexp'.
657 (init_optabs): Bracket declaration of 'j'.
658 (init_complex_libfuncs): Deleted. Dead static function.
659
660 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
661
662 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
663 (reg_to_stack): 'initialized', 'before_function_beg'
664 explictly type as ints instead of defaulting.
665 (emit_swap_insn): Remove unused variable 'i2'.
666 (compare_for_stack_reg): Remove unused variable 'src_note'.
667
668 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
669
670 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
671
672 * stmt.c (add_case_node): Add parens for assignment used as truth.
673 (all_cases_count): Remove unused variable 'count_high'.
674 (mark_seen_cases): Remove unused variable 'i'.
675 (check_for_full_enumeration_handling): Remove unused variable 't'.
676 Bracket declaration of 'all_values', 'l'.
677
678 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
679
680 * varasm.c (assemble_string): Remove unused variable 'i'.
681 (immed_double_const): Remove unused variable 'in_current_obstack'.
682 (immed_real_const_1): Likewise.
683 (output_constant_pool): Remove unreferenced label 'done'.
684 (output_constant): Remove unused variable 'x'.
685
686 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
687 a string.
688
689 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
690 as truth.
691
692 Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
693
694 * combine.c (can_combine_p): Handle USEs in PARALLELs.
695
696 Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
697
698 * config/linux.h (LIB_SPEC): Add -lc for -shared if
699 USE_GNULIBC_1 is not defined.
700 * config/sparc/linux.h; Ditto.
701
702 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
703
704 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
705 USE_GNULIBC_1 is not defined.
706
707 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
708
709 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
710 for -mcall-linux
711
712 Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
713
714 * system.h: New file to get common systems includes and various
715 definitions and declarations based on autoconf macros.
716
717 Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
718
719 * cccp.c (new_include_prefix): Correctly handle -I./.
720
721 Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
722
723 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
724
725 Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
726
727 * expr.c (expand_assignment): Correct typo exposed by -Wall.
728 offset should have been a truth value, not an assignment.
729
730 Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
731
732 * cse.c (delete_dead_from_cse): If a libcall produces a constant
733 result and that result can be substituted into SET_SRC of the
734 insn with the REG_RETVAL note, then perform the substitution
735 and delete the libcall.
736
737 Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
738
739 * mips.md (trucndihi2,truncdiqi2): Change these to support
740 mips16.
741
742 Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
743
744 * mips/mips.c (movdi_operand): Direct referances to symbols
745 that arn't mips16 consts in mips16 mode arn't valid operands.
746
747 * mips/mips.c (mips_move_2words): Add gprel handling.
748
749 Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
750
751 * mips.md (extendsidi2): Allow extension to/from a non-mips16
752 register.
753
754 Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
755
756 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
757 <strings.h>.
758
759 Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
760
761 * Makefile.in (WARN_CFLAGS): New variable.
762 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
763
764 1998-02-11 Mark Mitchell <mmitchell@usa.net>
765
766 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
767 falling through default case in switch.
768 (i386_aligned_p): Likewise.
769
770 Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
771
772 * mips/mips.h (mips_abi_string): Correct typo in comment.
773
774 Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
775
776 * mips/mips.md (movdi): These PLUS's need to be Pmode.
777
778 Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
779
780 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
781 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
782 indirectly via expr.h.
783
784 Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
785
786 * stor-layout.c (layout_type): Do upper - lower in the native type,
787 so as to properly handle negative indices.
788
789 Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
790
791 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
792 (expand_eh_region_start_tree): Remove unused variable 'note'.
793 (exception_optimize): Remove unused variable 'regions'.
794 (expand_builtin_eh_stub): Remove unused variable 'temp'.
795 (copy_eh_entry): Deleted. Dead function.
796
797 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
798 'last' with same #if HAVE_load_multiple as use of it.
799 (move_block_from_reg): Likewise.
800 (emit_move_insn_1): Remove unused variable 'insns'.
801 (store_constructor): Bracket declaration of startb, endb with
802 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
803 'target', and 'xtarget'.
804 (expand_builtin_setjmp): Remove unused variables 'op0',
805 'next_arg_reg', 'old_inhibit_defer_pop'.
806 (expand_builtin): Remove unused variable 'offset'.
807 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
808 (emit_queue): Add parens for assignment used as conditional.
809 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
810
811 Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
812
813 * i386.c: Added include for recog.h.
814 (override_options): Removed unused variable p. Initialized regno to
815 avoid warning.
816 (order_regs_for_local_alloc): Initialized regno to avoid warning.
817 (legitimize_address): Likewise for 'other'.
818 (i386_aligned_reg_p): Added default case with abort ().
819 (print_operand): Likewise.
820 (reg_mentioned_in_mem): Likewise.
821 (ix86_expand_binary_operator): Removed unused variables i & insn.
822 (ix86_expand_unary_operator): Removed unused variable insn.
823 (output_fp_cc0_set): Removed unused variable unordered_label.
824
825 Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
826
827 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
828 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
829 and format string match.
830
831 Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
832
833 * flow.c (life_analysis): Do not conside the stack pointer live at
834 the end of a function if the fucntio ncalls alloca.
835 (mark_used_regs): Similarly.
836
837 1998-02-10 John F Carr <jfc@mit.edu>
838
839 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
840 1, fzero on alternative 8.
841
842 Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
843
844 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
845
846 Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
847
848 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
849 SUBREGs of CONST_INTs.
850
851 Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
852
853 * mips.c (print_operand, function_prologue): Make printf format
854 match argument type.
855
856 Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
857
858 * alpha.c (alpha_return_addr): Remove unused variable `first'.
859 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
860 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
861
862 Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
863
864 * loop.c (strength_reduce): When placing increment for auto-inc
865 case, do comparison in loop order.
866
867 Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
868
869 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
870 not a HOST_WIDE_INT.
871
872 * calls.c (expand_call): Change test of expand_inline_function
873 return value to stop compiler warning.
874
875 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
876
877 Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
878 Jeff Law (law@cygnus.com)
879
880 * regmove.c: Fix various minor formatting problems.
881 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
882 is true. Make end of basic block tests consistent through regmove.c.
883 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
884 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
885
886 Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
887
888 * gansidecl.h: Check for a conflicting macro definition before
889 attempting to prototype bcopy, bcmp or bzero.
890
891 Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
892
893 * expr.c (clear_pending_stack_adjust): Handle case where a function
894 calls alloca, but the user has specified -fomit-fframe-pointer.
895
896 * function.c (assign_parms): Fix typo in last change.
897
898 Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
899
900 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
901 <fcntl.h>.
902 (free_path_suffix): Remove unreferenced static function.
903 (process_command): Remove unused variable temp.
904 (default_arg): Remove unused variable i.
905 (do_spec_1): Add parens for assignment used as truth value.
906 (main): Likewise.
907 (validate_all_switches): Likewise.
908 (main): Remove unused variables i, first_time>
909
910 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
911
912 * calls.c (expand_call): Remove unused variables funtree,
913 n_regs, and tmpmode.
914
915 * dbxout.c, except.c: Include <string.h>/<strings.h>.
916
917 * explow.c: (plus_constant_for_output_wide) Removed unused
918 variable all_constant.
919
920 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
921 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
922 genrecog.c, global.c, integrate.c , stupid.c : Include
923 <stdlib.h>.
924
925 * genextract.c: (walk_rtx) Remove unused variable link.
926
927 * genrecog.c: (concat) Remove unreferenced static function.
928
929 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
930
931 * stmt.c: Include <stdlib.h>.
932 (expand_asm_operands): Remove unused variable val1.
933 (expand_return): Remove unused variable block.
934 (pushcase): Remove unused variables l and n.
935 (pushcaserange): Likewise.
936
937 * unroll.c (unroll_loop): Remove unused variable temp.
938
939 Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
940
941 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
942
943 Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
944
945 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
946 functions for whether they support the %p format specifier.
947 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
948 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
949 * configure, config.in: Rebuild.
950
951 Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
952
953 * function.c (assign_parms): New variable named_arg, with value
954 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
955
956 Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
957
958 * mips/t-r3900: New - same as t-ecoff but eliminate
959 multilibs: mips1 and mips3.
960 * configure.in (tx39*): Use new mips/t-r3900.
961 * configure: Rebuild.
962 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
963
964 1998-02-06 Jason Merrill <jason@yorick.cygnus.com>
965
966 * dwarf2out.c: Add old_args_size.
967 (dwarf2out_args_size): Use it.
968 (dwarf2out_begin_prologue): Initialize it.
969 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
970 pushed args until we see a call.
971 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
972 before outputting them.
973
974 1998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
975
976 * cplus-dem.c (demangle_template_template_parm): New function.
977 (demangle_template): Handle template template parameters.
978
979 1998-02-02 Mark Mitchell <mmitchell@usa.net>
980
981 * calls.c (expand_call): Don't confuse member functions named
982 realloc, setjmp, and so forth with the standard library
983 functions of the same names.
984
985 Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
986
987 * stmt.c (expand_asm_operands): Correctly identify asm statements
988 no output operands.
989
990 Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
991
992 * c-common.c (decl_attributes): Flag unrecognized attribute
993 functions as warnings instead of as errors.
994
995 1998-02-05 Marc Lehmann <pcg@goof.com>
996
997 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
998 when -Os is specified.
999 * toplev.c (main): Don't disable flag_inline_functions anymore when
1000 -Os is in effect.
1001
1002 Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1003
1004 * regmove.c: Update.
1005 * flags.h (flag_regmove): Declare.
1006 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
1007 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
1008 Moved into regmove; changed caller.
1009 * toplev.c (rest_of_compilation): Call regmove_optimize also for
1010 expensive_optimizations.
1011
1012 Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
1013
1014 * version.c: Bump for snapshot.
1015
1016 Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1017 Undo this change (the problem was actually in reload):
1018 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1019
1020 * sh.md (movqi_i+1): New peephole.
1021
1022 Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
1023
1024 * jump.c (jump_optimize): Lose calls to modified_in_p they are
1025 not needed anymore due to changes elsewhere in jump.c.
1026
1027 * jump.c (jump_optimize): Fix first arg to modified_in_p in
1028 previous change.
1029
1030 Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
1031
1032 * expr.c (expand_builtin_setjmp): Accept two new arguments for
1033 the labels to branch to on first and subsequent executions. Don't
1034 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
1035 and provide it with the jmp_buf. Use only one of
1036 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
1037 and provide the former with the target label.
1038 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
1039 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
1040 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
1041 insn to replace all of the normal nonlocal_goto code. Don't play
1042 with __dummy. Correct arguments to nonlocal_goto.
1043 * expr.h (expand_builtin_setjmp): Update prototype.
1044 * except.c (start_dynamic_handler): When using builtin_setjmp,
1045 generate more accurate flow information.
1046
1047 * alpha.md (nonlocal_goto_receiver_osf): Delete.
1048 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
1049 (builtin_longjmp, builtin_setjmp_receiver): New.
1050 * sparc.md (update_return): Disambiguate unspec number.
1051 (nonlocal_goto): Rearrange arguments to match caller in except.c.
1052 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
1053 jmp_buf operand.
1054 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
1055 (builtin_setjmp_setup*, builtin_longjmp): New.
1056
1057 Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
1058
1059 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
1060
1061 Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
1062
1063 * vmsconfig.com: Remove bytecode references.
1064
1065 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1066
1067 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
1068 -fno-sjlj-exceptions works for a target that defines
1069 DWARF2_UNWIND_INFO as zero.
1070
1071 * regmove.c (fixup_match_1): Undo last change which removed some
1072 "useless" code, and add a comment explaining this.
1073
1074 Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
1075
1076 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
1077 to TARGET_LONG64.
1078
1079 Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
1080
1081 * makefile.vms: Remove bytecode references.
1082 Create genrtl files.
1083
1084 Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
1085
1086 * jump.c (jump_optimize): Allow conditional loading of floating point
1087 constants and constants from memory. Reinstalled modified_in_p tests.
1088
1089 Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1090
1091 * loop.c (get_condition): Handle sign-extended constants.
1092
1093 Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
1094
1095 * expr.c (emit_push_insn): Add code to use movstrti if present.
1096
1097 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
1098 and movstrqi as in emit_block_move ().
1099
1100 Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
1101
1102 * config/m68k/x-next: Remove /NextDeveloper/Headers from
1103 the directories to fixinclude - /usr/include is a link
1104 to it and hence its contents are fixed by default.
1105
1106 Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
1107
1108 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
1109
1110 Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
1111
1112 * cccp.c (main): Predefine __VMS_VER on VMS.
1113
1114 Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1115
1116 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
1117 * fold-const.c (size_int): Replace with
1118 (size_int_wide).
1119 (make_bit_field_ref): Use bitsize_int for bit position.
1120 * stor-layout.c (sizetype): Delete.
1121 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
1122 (layout_record, layout_union, layout_type):
1123 Use bitsize_int for bit size.
1124 (set_sizetype): New function.
1125 (make_signed_type, make_unsigned_type): Use it.
1126 * c-decl.c (init_decl_processing): Likewise.
1127 * tree.h (size_int): Don't delcare, #define.
1128 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
1129 (set_sizetype): Declare.
1130 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
1131 Define.
1132 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
1133 Convert result to sizetype.
1134 (really_start_incremental_init, push_init_level):
1135 Set type of constructor_bit_index to sbitsizetype.
1136 (push_init_level): Use unsigned arithmetic to determine padding.
1137 (output_init_element): Likewise.
1138
1139 Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
1140
1141 * combine.c (simplify_shift_const): Fix typo in last change.
1142
1143 Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
1144
1145 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
1146 is (truncate (lshiftrt)).
1147
1148 Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
1149
1150 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
1151 Make sure result winds up in TGT.
1152 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
1153 src to be other than DImode.
1154 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
1155 (alpha_expand_unaligned_store_words): Likewise.
1156 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
1157 that source and destination are separately optimized for alignment.
1158 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
1159
1160 Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
1161
1162 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
1163 with handling of -32768.
1164
1165 Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1166
1167 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
1168 shell variable argument instead of only hard coded functions.
1169 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
1170
1171 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
1172 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
1173 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
1174 declarations for bcopy, bcmp and bzero.
1175
1176 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
1177
1178 * gansidecl.h: If we have bcopy but don't declare it, then do so.
1179 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
1180 bzero, index and rindex if they aren't already present.
1181
1182 Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
1183
1184 * toplev.c (close_dump_file): Wrap function prototype for
1185 argument "func" in PROTO.
1186 (dump_rtl): Likewise.
1187
1188 Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
1189
1190 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
1191 MASK_V8PLUS.
1192 (output_function_epilogue): Omit epilogue if nothing drops through.
1193 (output_move_double): Supress int ldd usage on ultrasparc and v9.
1194 (registers_ok_for_ldd_peep): Likewise.
1195 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
1196 (ultrasparc_adjust_cost): New function.
1197 (sparc_issue_rate): New function.
1198 * sparc.h (MASK_VIS, TARGET_VIS): New
1199 (MASK_V8PLUS, TARGET_V8PLUS): New.
1200 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
1201 (TARGET_SWITCHES): Add vis and v8plus.
1202 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
1203 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
1204 (RTX_COSTS): Use TARGET_HARD_MUL
1205 (ADJUST_COST): Call ultrasparc_adjust_cost.
1206 (ISSUE_RATE): New.
1207 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
1208 of load & fp appropritely.
1209 (supersparc function units): Adjust for Haifa.
1210 (ultrasparc function units): Likewise.
1211 (get_pc_via_rdpc): All v9, not just arch64.
1212 (movdi_v8plus, movdi_v8plus+1): New.
1213 (adddi3_sp32+1): New.
1214 (subdi3_sp32+1): New.
1215 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
1216 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
1217 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
1218 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
1219 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
1220 (ldd peepholes): Suppress for v9.
1221 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
1222 (return_subsi): Revmove.
1223
1224 Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
1225
1226 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
1227 save/restore MEM rtl.
1228
1229 Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
1230
1231 * configure.in: Check for declaration of abort.
1232 * acconfig.h: Corresponding changes.
1233 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
1234 be declared.
1235
1236 Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
1237
1238 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
1239 uses it.
1240
1241 Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
1242
1243 * version.c: Bump for snapshot.
1244
1245 Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
1246
1247 * configure.in: Check for atoq and atoll.
1248 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
1249 proper routine for converting ascii into long long values.
1250
1251 Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
1252
1253 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
1254
1255 * vmsconfig.com: Remove bytecode references.
1256
1257 * alpha/vms.h (PREFIX): Define.
1258
1259 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
1260
1261 * am-alpha.h: Don't include alloca for OPEN_VMS.
1262
1263 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
1264
1265 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
1266 (GCC_INCLUDE_DIR): Define
1267
1268 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
1269 * makefile.vms: New file.
1270
1271 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
1272
1273 * alpha.c (output_prolog): Output '.name' directive
1274 for minimal traceback information.
1275
1276 * alpha.c (output_prolog): Don't prepend entry point symbols
1277 with '$' on OPEN_VMS.
1278
1279 Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
1280 Jeffrey A Law (law@cygnus.com)
1281
1282 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
1283 HOST_WIDE_INT.
1284
1285 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
1286 as needed.
1287 * genemit.c (gen_exp): Likewise.
1288 * genpeep.c (match_rtx): Likewise.
1289 * genrecog.c (write_tree_1): Likewise.
1290
1291 * c-lex.c (yyprint): Use proper format string based upon
1292 disposition of HOST_BITS_PER_WIDE_INT.
1293 (yylex): Put casts in right place for args to build_int_2.
1294
1295 Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
1296
1297 * combine.c: Fix typos in Jan27 changes.
1298
1299 Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
1300
1301 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
1302 (LINK_SPEC): Likewise.
1303 (STARTFILE_SPEC): Likewise.
1304
1305 1998-01-28 Mike Stump <mrs@wrs.com>
1306
1307 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
1308 reload completes.
1309 * genattrtab.c (reload_completed): Define.
1310
1311 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
1312 comments.
1313
1314 Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1315
1316 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
1317 SUBREG_REG if the word count is unchanged, also in the input reload
1318 case. Disable non-applicable sanity checks.
1319
1320 Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
1321
1322 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
1323
1324 Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
1325
1326 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
1327
1328 Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
1329
1330 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
1331 is a TREE_VEC before trying to use it for baseclasses.
1332 (Chill uses the same field for a different purpose.)
1333
1334 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
1335
1336 Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
1337
1338 * config.sub: More accurate determination of HP processor types.
1339
1340 Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1341
1342 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
1343 prototype for `handle_sysv_pragma', and make it static. Add
1344 parentheses around assignment used as truth value.
1345
1346 * combine.c (combine_instructions): Protect variable `prev' with
1347 macro HAVE_cc0.
1348 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
1349 (extract_left_shift): Add parentheses around operand of &.
1350 (merge_outer_ops): Avoid an empty body in an else-statement.
1351 (gen_rtx_combine): Remove unused variable `i'.
1352
1353 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
1354 function monstartup `void'. Likewise for internal_mcount. Add
1355 `static void' prototype for moncontrol. Reconcile sprintf format
1356 vs. args.
1357
1358 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
1359 Make return type of function_arg_slotno explicitly `int'.
1360 (reg_unused_after): Add parentheses around assignment used as
1361 truth value.
1362 (save_regs): Add explicit braces to avoid ambiguous `else'.
1363 (function_arg_slotno): Add parentheses around && within ||.
1364 (function_arg_pass_by_reference): Likewise.
1365 (sparc_flat_output_function_prologue): Reconcile fprintf format
1366 vs. args.
1367
1368 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
1369 assignment used as truth value.
1370
1371 * cplus-dem.c: Include <stdlib.h>.
1372 (demangle_signature): Avoid an empty body in an else-statement.
1373 (do_type): Remove unused variable `lvl'.
1374
1375 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
1376 Include <string.h>/<strings.h>.
1377 (cpp_lex): Remove unused variable `namelen'.
1378 (cpp_lex): Explicitly declare `num_chars' as an int.
1379
1380 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
1381 <unistd.h> instead. Explicitly declare is_system_include
1382 returning int.
1383 (make_assertion): Remove unused variable `kt'.
1384 (cpp_expand_to_buffer): Hide variable `obuf'.
1385 (output_line_command): Remove unused variables, `line_end',
1386 `line_cmd_buf' and `len'.
1387 (macarg): Remove unused variable `arg_start'.
1388 (special_symbol): Remove unused variable `i'. Add parentheses
1389 around assignment used as truth value.
1390 (do_include): Remove unused variables `pcfname' and `retried',
1391 hide `pcf' and `pcfbuflimit'.
1392 (do_line): Remove unused variable `i'.
1393 (finclude): Hide variable `missing_newline'.
1394 (cpp_handle_options): Remove unused variable `j'.
1395 (read_token_list): Remove unused variable `eofp'.
1396 (cpp_error_with_line): Remove unused variable `i'.
1397 (cpp_warning_with_line): Likewise.
1398 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
1399 (cpp_error_from_errno): Remove unused variable `i'.
1400
1401 * cse.c (invalidate): Add parentheses around assignment used as
1402 truth value.
1403 (find_best_addr): Move declaration of variable `our_cost' inside
1404 the conditional macro where its used.
1405 (fold_rtx): Avoid an empty body in an if-statement.
1406 (cse_insn): Wrap variables `this_insn_cc0_mode' and
1407 `this_insn_cc0' in macro HAVE_cc0.
1408
1409 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
1410 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
1411 (output_uleb128): Likewise.
1412 (output_sleb128): Likewise.
1413 (output_cfi): Likewise.
1414 (output_call_frame_info): Remove unused variables `j', `fde_size'
1415 and `fde_pad'.
1416 (comp_unit_has_inlines): Hide declaration as per rest of file.
1417 (size_of_line_prolog): Correct typo in prototype.
1418 (add_arange): Likewise.
1419 (output_aranges): Likewise.
1420 (add_name_and_src_coords_attributes): Likewise.
1421 (gen_array_type_die): Likewise.
1422 (gen_inlined_subroutine_die): Likewise.
1423 (equate_decl_number_to_die): Remove unused variable `i'.
1424 (print_die): Reconcile format vs. args in fprintf's.
1425 (print_dwarf_line_table): Likewise.
1426 (output_die): Likewise.
1427 (output_line_info): Likewise.
1428 (add_subscript_info): Avoid an empty body in an else-statement.
1429 (gen_subprogram_die): Remove unused variable `fp_loc'.
1430
1431 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
1432 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
1433 macro. Protect `src_coords_attribute' prototype with
1434 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
1435 prototype as in the rest of the file. Likewise for
1436 `output_pointer_type_die' and `output_reference_type_die'. Remove
1437 prototype for `type_of_for_scope'.
1438 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
1439 (type_attribute): Add explicit braces to avoid ambiguous `else'.
1440
1441 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
1442 (shorten_branches): Protect declaration of tmp_length with
1443 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
1444 (profile_function): Protect declaration of `sval' and `cxt'
1445 variables with appropriate macros.
1446 (final_scan_insn): Likewise for `note' variable. Add explicit
1447 braces to avoid empty body in an if-statement.
1448 (output_asm_insn): Move variable `i' inside macro conditional
1449 where it is used. Add parentheses around assignment used as truth
1450 value.
1451 (asm_fprintf) Likewise, likewise.
1452
1453 * fix-header.c (main): Remove unused variable `done'. Protect
1454 declaration of `i' with FIXPROTO_IGNORE_LIST.
1455
1456 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
1457
1458 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
1459 `ind'.
1460
1461 * profile.c: Include <string.h>/<strings.h>.
1462 (instrument_arcs): Remove unused variables `note', `inverted',
1463 `zero' and `neg_one'.
1464 (branch_prob): Avoid empty body in an if-statement.
1465
1466 * regclass.c: Include <stdlib.h>.
1467 (reg_alternate_class): Explicitly declare parameter `regno'.
1468
1469 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
1470 parentheses around assignment used as truth value.
1471 (find_matches): Remove unused variables `output_operand' and
1472 `matching_operand'.
1473 (fixup_match_1): Remove statement with no effect: "if (0) ;".
1474
1475 * scan.c (sstring_append): Explicitly declare `count' as int.
1476 (scan_string): Explicitly declare parameter `init' as int.
1477
1478 * sched.c: Include <stdlib.h>.
1479 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
1480 (rank_for_schedule): Add parentheses around assignment used as
1481 truth value.
1482 (schedule_block): Likewise.
1483 (regno_use_in): Likewise.
1484 (schedule_insns): Remove unused variable `i'.
1485
1486 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
1487 (v_message_with_decl): Remove unused variable `n'.
1488 (botch): Explicitly declare parameter `s' as char *.
1489 (main): Add parentheses around assignment used as truth value.
1490
1491 * tree.c (make_node): Protect the variable `kind' with the
1492 GATHER_STATISTICS macro.
1493 (real_value_from_int_cst): Move variable `e' inside conditional
1494 macro area where it is used.
1495 (tree_last): Add parentheses around assignment used as truth value.
1496 (build1): Protect the variable `kind' with the GATHER_STATISTICS
1497 macro.
1498 (print_obstack_statistics): Reconcile format vs. args in fprintf.
1499 Protect variables `i', `total_nodes', and `total_bytes' with the
1500 GATHER_STATISTICS macro.
1501
1502 Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
1503
1504 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
1505 some comments regarding use of dead_or_set_p.
1506
1507 Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
1508
1509 * fixincludes: Tweak fix for struct exception in math.h
1510
1511 Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
1512
1513 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
1514 Change mode of registers used to add/sub from
1515 hard_frame_pointer_rtx from word_mode to Pmode.
1516
1517 Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
1518
1519 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
1520 asm_output_aligned_bss() instead of asm_output_bss().
1521
1522 * toplev.c (rest_of_compilation): Replace references to
1523 stack_reg_dump_file and dbr_sched_dump_file with references to
1524 rtl_dump_file.
1525
1526 Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
1527
1528 * tlink.c (scan_linker_output): Call fclose() for opened files.
1529
1530 Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
1531
1532 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
1533 compiling with -fpic -- we want to be able to override symbols
1534 properly.
1535 (alpha_expand_block_move): Fix thinko in last change.
1536
1537 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
1538 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
1539 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
1540
1541 Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
1542
1543 * alpha.md (abssf, absdf): Revert last change.
1544
1545 Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
1546
1547 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
1548 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
1549
1550 Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
1551
1552 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
1553 a CONST_INT into SFmode.
1554
1555 Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
1556
1557 * flags.h: New flag (optimize_size).
1558 * toplev.c (main): Parse -Os option and set optimize_space
1559 accordingly.
1560 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
1561 __OPTIMIZE_SIZE__ when compiling with -Os.
1562 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
1563 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
1564 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
1565 to macro.
1566 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
1567
1568 Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
1569
1570 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
1571 stuff only if MCT_TEXT is #define'd.
1572
1573 Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
1574
1575 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
1576 configurations.
1577
1578 Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
1579
1580 * toplev.c: Add -dM command line option to dump RTL after the
1581 machine dependent reorganisation pass, if there is one.
1582 Reorganise RTL dump code, so that only one file handle is
1583 needed.
1584
1585 Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
1586
1587 * except.c (check_exception_handler_labels): Disable warning when
1588 flag_syntax_only.
1589
1590 Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
1591
1592 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
1593
1594 Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1595
1596 * c-decl.c (grokdeclarator): Get parameter tags from
1597 last_function_parm_tags.
1598 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
1599 traversing the parameter types.
1600 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
1601
1602 Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
1603
1604 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
1605 the default case.
1606 (get_shift_alg): Fix typo.
1607
1608 Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
1609
1610 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
1611
1612 Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
1613
1614 * toplev.c (get_run_time): Make sure each case gets its variables.
1615
1616 Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
1617
1618 * configure.in (build_xm_file): Add auto-config.h if host=build.
1619 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
1620 (build_xm_file_list): Likewise.
1621 * configure: Rebuild.
1622
1623 Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
1624
1625 * recog.c (validate_replace_rtx_1): Only perform substitutions
1626 of arguments to commutative and comparison operators once.
1627
1628 Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1629
1630 * sparc.c (output_cbranch): Add default case in
1631 enumeration switch.
1632
1633 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
1634 (emit_delay_sequence): Eliminate unused parameter, all callers
1635 changed.
1636 (fill_simple_delay_slots): Likewise.
1637 (fill_slots_from_thread): Likewise.
1638 (fill_eager_delay_slots): Likewise.
1639 (mark_referenced_resources): Add default case in enumeration switch.
1640 (mark_set_resources): Likewise.
1641 (rare_destination): Likewise.
1642 (mostly_true_jump): Likewise.
1643 (find_dead_or_set_registers): Likewise.
1644 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
1645 (update_reg_unused_notes): Remove unused variable `p'.
1646 (mark_target_live_regs): Remove unused variables `next' and
1647 `jump_count'.
1648 (fill_simple_delay_slots): Remove unused variable `j'.
1649 (fill_slots_from_thread): Add parentheses around assignment used
1650 as truth value.
1651 (dbr_schedule): Likewise.
1652
1653 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
1654 (objc.stage2, objc.stage3, objc.stage4): Likewise.
1655
1656 Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
1657
1658 * cse.c (simplify_ternary_operation): Don't try to simplify
1659 IF_THEN_ELSE expressions (created by combine) that don't use
1660 relational operators.
1661
1662 Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
1663
1664 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
1665 simplifications.
1666
1667 * crtstuff.c (init_dummy): Keep the epilogue in the init
1668 section for non-ELF systems.
1669
1670 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1671
1672 * sh.md (movqi_i+1): New peephole.
1673
1674 Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
1675
1676 * Makefile.in: Remove remaining bytecode stuff.
1677 * emit-rtl.c, expr.c: Likewise.
1678
1679 Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
1680
1681 * toplev.c (lang_options): Add unknown-pragma options.
1682
1683 Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
1684
1685 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
1686 special (and incomplete) handling for Chill arrays.
1687
1688 Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
1689
1690 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
1691 to get clock rate.
1692
1693 Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
1694
1695 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
1696
1697 1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
1698
1699 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
1700 .frame directive instead of FRAME_POINTER_REGNUM.
1701
1702 Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
1703
1704 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
1705 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
1706 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
1707 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
1708 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
1709 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
1710 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
1711 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
1712 mcpu32 or m5200.
1713 * longlong.h: Replace __mc68332__ with __mcpu32__.
1714
1715 Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
1716
1717 * version.c: Bump for snapshot.
1718
1719 Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
1720
1721 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
1722 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
1723 * reload1.c (eliminate_regs): Likewise.
1724
1725 Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
1726
1727 * regmove.c (find_matches): Initialize matches->earlyclobber too.
1728
1729 Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
1730
1731 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
1732 (negsf2, negdf2): Use proper subtract in IEEE mode.
1733
1734 Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
1735
1736 * Makefile.in: Remove more bytecode stuff.
1737 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
1738 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
1739 * f/install.texi, objc/Make-lang.in: Likewise.
1740
1741 * Makefile.in: Remove all bytecode support.
1742 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
1743 * emit-rtl.c: Remove all bytecode support.
1744 * expr.c, expr.h function.c, integrate.c: Likewise.
1745 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
1746 * tree.h, varasm.c: Likewise.
1747 * config/m68k/m68k.h: Likewise.
1748 * bi-*, bc-*, bytecode*: Delete bytecode related files.
1749 * modemap.def: Likewise.
1750
1751 Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
1752
1753 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
1754 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
1755
1756 Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
1757
1758 * i386.md (push): Prohibit symbolic constants if flag_pic.
1759 (movsi+1): Likewise for move to non-register.
1760
1761 Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
1762
1763 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
1764 (print_operand): Handle 0xffffffff on 32 bit host.
1765
1766 * configure.in (thread_file): Rename uses before main loop to
1767 target_thread_file. Initialize to empty in main loop. Set thread_file
1768 to target_thread_file after main loop if not set.
1769 * configure: Rebuild.
1770
1771 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
1772 (add_values_to_cover): Revert last change (which had no ChangeLog
1773 entry).
1774 (simplify_with_current_value_aux): Handle CONST_INT.
1775
1776 Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1777
1778 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
1779
1780 Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
1781
1782 * configure.in: Add cpp stringify test.
1783 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
1784 * gengenrtl.c: Use it.
1785 * configure, config.in: Rebuild.
1786
1787 Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1788
1789 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
1790
1791 Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
1792
1793 * configure.in: Find declaration for sbrk.
1794 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
1795 * config.in, configure: Rebuild.
1796 * mips-tfile.c: Properly protect declaration of sbrk and free.
1797 * toplev.c: Properly protect declaration of sbrk.
1798
1799 Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
1800
1801 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
1802
1803 Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
1804
1805 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
1806
1807 Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
1808
1809 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
1810
1811 Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
1812
1813 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
1814 constant offset computations from objects with known alignment in
1815 the presence of STACK_BIAS.
1816
1817 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
1818 necessary.
1819 (const_hash): Hash val is unsigned long.
1820 (SYMHASH): Likewise.
1821
1822 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
1823
1824 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
1825 char pointer, not HOST_WIDE_INT.
1826 (print_node): Likewise. Also hash is unsigned long not
1827 HOST_WIDE_INT.
1828
1829 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
1830
1831 * explow.c (optimize_save_area_alloca): New function for targets
1832 where SETJMP_VIA_SAVE_AREA is true.
1833 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
1834 compute the amount of stack space needed should we find later that
1835 setjmp is never called by this function, stuff rtl for this inside
1836 a REG_NOTE of the final SET of stack_pointer_rtx.
1837 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
1838 current_function_calls_alloca, call optimize_save_area_alloca.
1839
1840 Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
1841
1842 * i386.md: Remove redundant integer push patterns.
1843 Don't bother checking for TARGET_PUSH_MEMORY when
1844 pushing constants or registers.
1845
1846 Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
1847 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
1848
1849 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
1850 (pwait): New function for mingw32.
1851
1852 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
1853 pipe support is broken for now.
1854
1855 1998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
1856
1857 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
1858 between frame_pointer_rtx, hard_frame_pointer_rtx, and
1859 arg_pointer_rtx is respected in initialization.
1860 (init_emit_once): Use gen_rtx_raw_REG() to create
1861 return_address_pointer_rtx.
1862
1863 * reorg.c: #include "expr.h" for rtx prototypes.
1864 * Makefile.in (reorg.o): Depend on expr.h
1865
1866 Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
1867
1868 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
1869 local_prefix to sub-make invocations.
1870
1871 Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
1872
1873 * objc-parse.c: Recognize protocol qualifiers in class definitions.
1874
1875 Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
1876
1877 * rtl.h: Fix typos.
1878
1879 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
1880 * configure.in: Check for atol.
1881 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
1882
1883 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
1884
1885 * loop.c (find_and_verify_loops): When attempting to move insns from
1886 inside the loop outside the loop, create a BARRIER if no suitable
1887 one was found.
1888
1889 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
1890 favor of an equivalent change from gcc-2.8.
1891
1892 * i386/x-sco5 (CC): Remove trailing whitespace.
1893
1894 Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1895
1896 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
1897 (accessor_from_format): Likewise.
1898 (xmalloc): New function for use when linking with alloca.o.
1899
1900 Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
1901
1902 * frame.c (find_fde): Correct FDE's upper bound.
1903
1904 Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
1905
1906 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
1907
1908 Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
1909
1910 * calls.c (expand_call): Move #ifdef code out of macro argument
1911 lists.
1912 (emit_library_call, emit_library_call_value): Likewise.
1913
1914 Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
1915
1916 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
1917
1918 Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
1919
1920 * version.c: Bump for snapshot.
1921
1922 Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
1923
1924 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
1925 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
1926 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
1927 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
1928 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
1929 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
1930 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
1931 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
1932 * unroll.c, varasm.c: Likewise.
1933 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
1934
1935 Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
1936
1937 * mips.h: Fix some type-o's from a previous change.
1938
1939 Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
1940
1941 * loop.c (check_dbra_loop): Make sure initial value is a
1942 CONST_INT before trying to normalize it.
1943
1944 Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
1945
1946 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
1947
1948 Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
1949
1950 * cppexp.c: Include gansidecl.h
1951
1952 Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
1953
1954 * svr4.h (LINK_SPEC): Never specify -h.
1955 * ptx4.h (LINK_SPEC): Likewise.
1956 * rs6000/sysv4.h (LINK_SPEC): Likewise.
1957 * sparc/sol2.h (LINK_SPEC): Likewise.
1958
1959 Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
1960
1961 * c-typeck.c (comptypes): Exit early on NULL input.
1962
1963 * haifa-sched.c (schedule_insns): Correctly remove inter-block
1964 dependencies after reload.
1965
1966 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
1967
1968 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
1969
1970 Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
1971
1972 * alpha/vms.h (DIR_SEPARATOR): define
1973
1974 Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
1975
1976 * Makefile.in (stamp-proto): Remove.
1977 (protoize.o, unprotoize.o): Straightforward compile.
1978 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
1979
1980 Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
1981
1982 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
1983 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
1984
1985 Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
1986
1987 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
1988 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
1989 * sparc/netbsd.h, vax/netbsd.h: Likewise.
1990
1991 Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
1992
1993 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
1994
1995 Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
1996
1997 * configure.in (target_cpu_default, target_cpu_default2): Use double
1998 quotes around them when testing their value.
1999 * configure: Rebuilt.
2000
2001 Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
2002
2003 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
2004 to allocate rtx.
2005 (gendef): Call obstack_alloc_rtx.
2006
2007 Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
2008
2009 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
2010 for now.
2011
2012 Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
2013
2014 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
2015 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
2016 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
2017
2018 Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
2019
2020 * mips.md (return_internal): Change mode from SImode to VOIDmode.
2021
2022 Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
2023
2024 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
2025 "-static".
2026
2027 Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
2028
2029 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
2030 suffix from operand 3.
2031
2032 Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2033 Jeffrey A Law (law@cygnus.com)
2034
2035 * regmove.c: New implementation of regmove pass.
2036 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
2037 decls, make them have external linkage. Return a value from
2038 optimize_reg_copy_1.
2039 * reload.h (count_occurrences): Add decl.
2040 * reload1.c (count_occurrences): Delete decl, make it have external
2041 linkage.
2042 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
2043
2044 Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
2045
2046 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
2047 if it is not defined.
2048
2049 Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
2050
2051 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
2052 * emit-rtl.c (gen_rtx): Move special code to ...
2053 (gen_rtx_CONST_INT): New function.
2054 (gen_rtx_REG): New function.
2055 (*): Update all calls to gen_rtx.
2056 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
2057 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
2058 (GEN_INT): Call gen_rtx_CONST_INT.
2059 * gengenrtl.c: New file.
2060
2061 Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
2062
2063 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
2064 (base_alias_check): If no base found for address call canon_rtx and
2065 try again.
2066
2067 Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
2068
2069 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
2070 arguments for mips16.
2071 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
2072 Don't lose if tsize is zero after handling large stack for mips16.
2073 * mips.md (return): For trivial return, return address is in $31.
2074
2075 Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
2076
2077 * mips/mips16.S: Various changes to make it work with -msingle-float
2078 and -EL.
2079
2080 Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
2081 Ian Lance Taylor <ian@cygnus.com>
2082 Jeff Law <law@cygnus.com>
2083
2084 * mips.c, mips.h, mips.md: First cut at merging in mips16
2085 support. Major modifications throughout all three files.
2086
2087 Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
2088
2089 * configure.in: Make gthr-default.h a forwarding header instead of
2090 a symlink.
2091
2092 Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2093
2094 * gcov-io.h: Include sys/types.h to ensure we get size_t.
2095
2096 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
2097
2098 Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
2099 Jeffrey A Law (law@cygnus.com)
2100
2101 * crtstuff.c (__frame_dummy): New function for irix6.
2102 (__do_global_ctors): Call __frame_dummy for irix6.
2103 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
2104
2105 Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
2106
2107 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
2108
2109 Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
2110
2111 * c-decl.c (init_decl_processing): Provide proper fallback symbol
2112 for __builtin_memset.
2113 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
2114 not INTEGER_CST. Assert arg 3 is a constant.
2115
2116 * alpha.c (mode_width_operand): Accept 64-bit modes.
2117 (mode_mask_operand): Likewise.
2118 (print_operand): Likewise for 'M' and 'U' codes.
2119 (alpha_expand_unaligned_load): New function.
2120 (alpha_expand_unaligned_store): Likewise.
2121 (alpha_expand_unaligned_load_words): Likewise.
2122 (alpha_expand_unaligned_store_words): Likewise.
2123 (alpha_expand_block_move): Likewise.
2124 (alpha_expand_block_clear): Likewise.
2125 * alpha.h (MOVE_RATIO): New define.
2126 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
2127 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
2128
2129 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
2130 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
2131
2132 Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
2133
2134 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
2135 * configure: Update.
2136
2137 Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
2138
2139 * emit-rtl.c (operand_subword): Correctly handle extracting a word
2140 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
2141
2142 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
2143 for first argument.
2144
2145 Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
2146
2147 * configure.in: Set and subsitute host_exeext. Use it when creating
2148 the assembler and linker symlinks.
2149 * configure: Rebuild.
2150 * Makefile.in (exeext): Set to @host_exeext@.
2151 (build_exeext): New variable, set to @build_exeext@.
2152 (FLAGS_TO_PASS): Pass down build_exeext.
2153 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
2154 programs.
2155
2156 Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
2157
2158 * mn10200.md (addsi3, subsi3): Fix thinkos.
2159
2160 Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
2161
2162 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
2163 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
2164 unix always, since we want to be able to thunk to functions in a
2165 shared library from an application.
2166
2167 Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
2168
2169 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
2170 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
2171
2172 Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
2173
2174 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
2175 offset's mode is not ptr_mode, convert it.
2176
2177 Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
2178
2179 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
2180 compiling if it was already defined.
2181
2182 Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
2183
2184 * flow.c (find_basic_blocks): Don't create a new basic block
2185 for calls in a LIBCALL block.
2186
2187 Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
2188
2189 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
2190
2191 Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
2192
2193 * cse.c (rtx_cost): Remove conflicting default case.
2194
2195 Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
2196
2197 * configure.in: Move default enabling of Haifa out of for loop.
2198 * configure: Rebuild.
2199
2200 Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
2201
2202 * version.c: Bump for snapshot.
2203
2204 1997-12-25 Teemu Torma <tot@trema.com>
2205
2206 * Makefile.in (GTHREAD_FLAGS): New var.
2207 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
2208 (distclean): Remove gthr-default.h.
2209
2210 * configure.in: Accept dce as a thread package.
2211 Check for thread.h and pthread.h.
2212 Link gthr-default.h to appropriate thread file and set
2213 gthread_flags.
2214 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
2215 include multilib definitions from pa/t-dce-thr.
2216 (sparc-*-solaris2*): Enable threads by default, if thread.h or
2217 pthread.h is found, preferring posix threads over solaris ones.
2218
2219 * config/pa/t-dce-thr: New file.
2220 * config/pa/t-pa: Removed multilibs.
2221 * config/sparc/t-sol2: Ditto.
2222
2223 * gthr.h: New file.
2224 * gthr-single.h: New file.
2225 * gthr-posix.h: New file.
2226 * gthr-solaris.h: New file.
2227 * gthr-dce.h: New file.
2228 * libgcc-thr.h: Removed.
2229 * objc/thr-dce.c: New file copied from thr-decosf1.c.
2230
2231 * frame.c: Include gthr.h instead of libgcc-thr.h.
2232 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
2233 (eh_context_initialize): If __gthread_once fails, use static eh
2234 context.
2235 (eh_context_free): Call __gthread_key_dtor.
2236
2237 Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
2238
2239 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
2240
2241 Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
2242
2243 * cse.c (max_insn_uid): New variable.
2244 (cse_around_loop): Use max_insn_uid.
2245 (cse_main): Set max_insn_uid.
2246
2247 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
2248 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
2249 -mlong64, and -mgp{32,64} options.
2250 * mips.c (mips_abi): Change type to int.
2251 * mips.h (enum mips_abi_type): Delete.
2252 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
2253 (mips_abi): Change type to int.
2254
2255 Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
2256
2257 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
2258 optimization is now always enabled.
2259
2260 * calls.c (expand_call): Recognize C++ operator new as malloc-like
2261 function.
2262
2263 * alias.c (memrefs_conflict_p): Eliminate tests now done by
2264 base_alias_check.
2265 (*_dependence): Call canon_rtx before base_alias_check.
2266 (init_alias_once): New function to precompute set of registers which
2267 can hold Pmode function arguments.
2268
2269 * rtl.h: Declare init_alias_once.
2270
2271 * toplev.c (compile_file): Call init_alias_once.
2272
2273 Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
2274
2275 * tree.c (restore_tree_status): Do not dereference a null pointer.
2276
2277 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
2278
2279 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
2280 RLIMIT_STACK. This maintains consistency with the recent, similar
2281 patch to cccp.c and toplev.c.
2282
2283 Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
2284
2285 * genattrtab.c (expand_units): For large nr opclasses, expand
2286 function_units_used with ORX to prevent blowups. Tag with FFS.
2287 (num_unit_opclasses): New variable.
2288 (gen_unit): Update it.
2289 (enum operator): Add ORX_OP.
2290 (operate_exp): Treat ORX as or, except don't expand across an if.
2291 Reuse number rtx's after operating on them.
2292 (check_attr_value): Accept IOR, AND, & FFS.
2293 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
2294 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
2295 (write_expr_attr_cache, write_toplevel_expr): New functions.
2296 (write_attr_get): Handle FFS-tagged expressions.
2297 (make_canonical): Don't expand const attributes.
2298 (convert_const_symbol_ref): Dike out.
2299 (evaluate_eq_attr): Handle SYMBOL_REF.
2300 (main): Don't emit get_attr_foo for const attributes.
2301
2302 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
2303 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
2304 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
2305 * alpha.md: Redo all of the scheduling, adding EV6 support, and
2306 combining function units where possible.
2307 (attr "type"): Split loads, stores, cmov into int/fp. Combine
2308 multiplies and divides. Add EV6 sqrt, ftoi, itof.
2309 (attr "opsize"): New attribute.
2310 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
2311 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
2312 to control register allocation.
2313 (movsi2-1, movdi2-1): Likewise.
2314
2315 Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
2316
2317 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
2318 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
2319 Move OSF/1 specific defines out.
2320 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
2321 Move Linux specific defines out.
2322 (LINK_SPEC): Genericize.
2323 (ASM_FILE_START): Emit .arch if using more than the base insn set.
2324 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
2325 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
2326 (HANDLE_SYSV_PRAGMA): Define.
2327 * alpha/osf.h: New file.
2328 * alpha/linux.h: Split. Retain file-format independant defines.
2329 Import Linux bits from elf.h.
2330 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
2331 (FUNCTION_PROFILER): _mcount takes its address in $28.
2332 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
2333 * alpha/linux-ecoff.h: New file.
2334 * alpha/linux-elf.h: New file.
2335 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
2336 * alpha/win-nt.h (TARGET_DEFAULT): Define.
2337 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
2338 Add new headers as appropriate.
2339
2340 * configure.in (alpha*): Enable Haifa by default.
2341 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
2342 * configure: Rebuild.
2343
2344 Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
2345
2346 * Makefile.in (clean): Remove the stages with their objects here ...
2347 (distclean): ... instead of here.
2348
2349 Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2350
2351 * cse.c (rtx_cost): Add default case in enumeration switch.
2352 * fix-header.c (recognized_macro): Likewise.
2353 (recognized_extern): Likewise.
2354 (write_rbrac): Likewise.
2355 * objc/objc-act.c (encode_aggregate): Likewise.
2356 (gen_declarator): Likewise.
2357 (gen_declspecs): Likewise.
2358
2359 Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
2360
2361 * haifa-sched.c (create_reg_dead_note): Detect and handle another
2362 case where we kill more regs after sched than were killed before
2363 sched.
2364 * sched.c (create_reg_dead_note): Similarly.
2365
2366 Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
2367
2368 * c-pragma.c: Include flags.h.
2369
2370 Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
2371
2372 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
2373 about system headers.
2374 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
2375 and also to resolve symbols in prefix.c.
2376
2377 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
2378 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
2379 when the definitions in auto-config.h is not visible.
2380 (HAVE_BZERO): Likewise.
2381 (HAVE_BCMP): Likewise.
2382 (HAVE_RINDEX): Likewise.
2383 (HAVE_INDEX): Likewise.
2384
2385 Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
2386
2387 * pa.c (emit_move_sequence): Handle a function label source
2388 operand.
2389
2390 Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
2391
2392 * c-pragma.c (handle_pragma_token): Generate warning messages
2393 about unknown pragmas if warn_unknown_pragmas is set.
2394
2395 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
2396 line option to set variable: warn_unknown_pragmas.
2397
2398 Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
2399
2400 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
2401 definition.
2402 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
2403
2404 Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
2405
2406 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
2407 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
2408 generate more fine grained floating point emulation libraries.
2409 * config/fp-bit.c: Add protecting #ifdef to all functions so
2410 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
2411 then compile all suitable functions.
2412 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
2413 underscores to avoid namespace pollution.
2414 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
2415 (FPBIT): Define.
2416 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
2417 (FPBIT): Define.
2418 (DPBIT): Define.
2419
2420 Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2421 Jeff Law <law@cygnus.com>
2422
2423 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
2424 of the declaration.
2425 * c-decl.c (finish_decl): Use parentheses around && within ||.
2426 * rtl.c: Include stdlib.h.
2427 (read_skip_spaces): Add parentheses around assignments used as
2428 truth values.
2429 (read_rtx): Initialize list_rtx.
2430 * cppexp.c (parse_number): Use || when operands are truth values.
2431 * alias.c (find_base_value): Add default case.
2432 (memrefs_conflict): Likewise.
2433 * combine.c (sets_function_arg_p): Likewise.
2434 * genemit.c (gen_exp): Likewise.
2435 * local-alloc.c (contains_replace_regs): Likewise.
2436 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
2437 * fold-const.c (fold_convert): Use "&&" for truth values.
2438 (fold): Add default case.
2439 * sdbout.c (sdbout_field_types): Fix typo in declaration.
2440 (sdbout_one_type): Add default case.
2441 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
2442 (some_operand): Add default case.
2443 (input_operand): Likewise.
2444 (signed_comparison_operator): Likewise.
2445 (divmod_operator): Likewise.
2446 (alpha_set_memflags_1): Likewise.
2447 * reload1.c (reload_cse_simplify_operands): Ensure function
2448 always returns a value.
2449 * scan-decls.c (scan_decls): Likewise.
2450 * c-lex.c (skip_white_space): Fix typo in declaraion.
2451 * c-typeck.c (comp_target_types): Add parentheses around assignment
2452 used as truth value.
2453 (print_spelling): Likewise.
2454 (constructor_implicit, constructor_result): Remove unused variables.
2455 * collect2.c (scan_library): Protect prototype with
2456 #ifdef SCAN_LIBRARIES.
2457 * emit-rtl.c (find_line_note): Fix typo in declaration.
2458 * final.c (asm_insn_count): Protect prototype with
2459 #ifdef HAVE_ATTR_length.
2460 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
2461 (try_pre_increment_1, try_pre_increment): Likewise.
2462 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
2463 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
2464 * gcov-io.h (__store_long, __write_long, __read_long): Fix
2465 unsigned/signed comparisons.
2466 * gcov.c (read_files): Remove unused "first_type" variable.
2467 (scan _for_source_files): Initialize s_ptr.
2468 (function_summary): Eliminate "%lf" formatting, use %ld for
2469 longs.
2470 (output_data): Initialize branch_probs and last_line_num.
2471 Eliminate "%lf" formatting, use "%ld" for longs.
2472
2473 Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
2474
2475 * mips16.S: New file.
2476
2477 * libgcc2.c (varargs): Handle mips16.
2478
2479 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
2480 expression.
2481 * stmt.c (expand_end_case): Likewise.
2482 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
2483 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
2484 * rs6000.h, sh.h, tahoe.h, v850.h vax.h z8k.h: Likewise.
2485
2486 Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2487
2488 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
2489 the build directory.
2490 (libobjc.a): Update dependency list.
2491 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
2492 directory.
2493 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
2494 (objc.mostlyclean): Remove runtime-info.h.
2495
2496 Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
2497
2498 * tree.c (build_range_type): Allow creation of ranges with no maximum.
2499 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
2500 * dwarf2out.c (add_subscript_info): Likewise.
2501 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
2502 * sdbout.c (plain_type_1): Likewise.
2503 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
2504 Likewise.
2505 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
2506 Likewise.
2507
2508 Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2509
2510 * mips.c (fatal): Remove declaration.
2511
2512 1997-12-18 Mark Mitchell <mmitchell@usa.net>
2513
2514 * integrate.c (get_label_from_map): New function.
2515 (expand_inline_function): Use it. Initialize the label_map to
2516 NULL_RTX instead of gen_label_rtx.
2517 (copy_rtx_and_substitute): Use get_label_from_map.
2518 * integrate.h (get_label_from_map): New function.
2519 (set_label_from_map): New macro.
2520 * unroll.c (unroll_loop): Use them.
2521 (copy_loop_body): Ditto.
2522
2523 Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
2524
2525 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
2526 (INIT_TARGET_OPTABS): Define.
2527 * mips/ecoff.h: Include gofast.h before mips.h.
2528 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
2529 * mips/elf64.h: Likewise.
2530 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
2531
2532 Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
2533
2534 * except.c: Remove register_exception_table{,_p}.
2535
2536 Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
2537
2538 * unroll.c (calculate_giv_inc): Handle constant increment found in
2539 a MEM with an appropriate REG_EQUAL note.
2540
2541 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
2542
2543 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
2544 frame pointer in the prologue.
2545
2546 Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
2547
2548 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
2549 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
2550
2551 Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
2552
2553 * config/m68k/m68k.c (output_function_prologue): Typecast
2554 dwarf2out_cfi_label to (char *).
2555 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
2556
2557 Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
2558
2559 * sparc.md (jump): Don't use the annul bit around an empty loop.
2560 Patch from Kevin.Kelly@East.Sun.COM.
2561
2562 Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
2563
2564 * jump.c: (jump_optimize): Don't use the return register as a
2565 source1 of a conditional move.
2566
2567 Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
2568
2569 * sparc.c (DF_MODES): Or the mask not the bit number.
2570 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
2571
2572 Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
2573
2574 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
2575
2576 Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
2577
2578 * fixincludes (size_t): Add support for Motorola's stdlib.h
2579 which fails to provide a definition for size_t.
2580 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
2581 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
2582 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
2583
2584 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
2585 prevent unresolved externals in libio.
2586 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
2587
2588 Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
2589
2590 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
2591 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
2592 (LIB_SPEC): Updated for glibc 2.
2593
2594 Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
2595
2596 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
2597 * ginclude/varargs.h: Likewise.
2598
2599 Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
2600
2601 * version.c: Bump for snapshot.
2602
2603 Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
2604
2605 * frame.h (__register_frame, __register_frame_table,
2606 __deregister_frame): New.
2607 * frame.c (__register_frame, __register_frame_table,
2608 __deregister_frame): New.
2609 * frame.c (__deregister_frame_info): Return void *.
2610 * frame.h (__deregister_frame_info): Ditto.
2611 * collect2.c (__deregister_frame_info): Ditto.
2612
2613 Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
2614
2615 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
2616
2617 Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
2618
2619 * alpha.c (alpha_cpu_name): New variable.
2620 (alpha_mlat_string): Likewise.
2621 (alpha_memory_latency): Likewise.
2622 (override_options): Handle -mmemory-latency.
2623 (alpha_adjust_cost): Adjust load cost for latency.
2624 * alpha.h (TARGET_OPTIONS): Add meory-latency.
2625 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
2626 TARGET_CIX into account.
2627 (MEMORY_MOVE_COST): Define in terms of memory_latency.
2628 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
2629
2630 * alpha.h (ASM_COMMENT_START): New macro.
2631
2632 Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
2633
2634 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
2635 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
2636
2637 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
2638 SUBREG_REG if the word count is unchanged.
2639 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
2640 subregs of identical word size for push_reload.
2641
2642 Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
2643
2644 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
2645 if all we're doing is dealing with -Wreturn-type.
2646
2647 Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
2648
2649 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
2650 Use and 255 instead of zapnot 1, since it schedules better.
2651
2652 Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
2653
2654 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
2655 it as volatile.
2656
2657 Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
2658
2659 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
2660 dependency we delete. Properly update prev for multiple consecutive
2661 deletions.
2662 (priority): Skip deleted dependence.
2663
2664 Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
2665
2666 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
2667
2668 Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
2669
2670 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
2671 determining when a new basic block starts.
2672
2673 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
2674
2675 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
2676 * pa.md (iorsi3): Add missing args to *_operand calls.
2677
2678 * except.c (call_get_eh_context): Don't mess with sequences.
2679 (emit_eh_context): Include the call in the sequence here.
2680
2681 1997-12-11 Paul Eggert <eggert@twinsun.com>
2682
2683 * collect2.c (write_c_file_glob): Allocate initial frame object
2684 in static storage and pass its address.
2685
2686 Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
2687
2688 * except.c (call_get_eh_context): Don't take a parm.
2689 Put the call at the top of the function.
2690 (emit_eh_context): Adjust.
2691 (get_eh_context): Replace with former use_eh_context.
2692 (get_eh_context_once, get_saved_pc_ref): Remove.
2693 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
2694 * except.h: Adjust.
2695 * integrate.c (expand_inline_function): Adjust.
2696 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
2697
2698 Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
2699
2700 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
2701 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
2702
2703 Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
2704
2705 * fixincludes (strlen,strspn,strcspn return value): Handle different
2706 layout on sysV88.
2707 (hypot): Provide a fake for hypot which is broken on
2708 m88k-motorola-sysv3.
2709
2710 Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
2711
2712 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
2713 tree_code_name from pointers to arrays.
2714 * tree.c: Remove standard_tree_code_* variables, no longer used.
2715 * print-tree.c: Remove declaration of tree_code_name.
2716
2717 * cp/lex.c (init_lex): Update for tree_code_* changes.
2718 * objc/objc-act.c (init_objc): Likewise.
2719
2720 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
2721 changes.
2722
2723 Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
2724
2725 * config.sub: Add support for BeOS target.
2726 * configure.in: Likewise.
2727 * ginclude/stdarg.h: Likewise.
2728 * ginclude/stddef.h: Likewise.
2729 * ginclude/varargs.h: Likewise.
2730 * rs6000/beos.h: New file for BeOS.
2731 * rs6000/t-beos: Likewise.
2732 * rs6000/x-beos: Likewise.
2733 * rs6000/xm-beos.h: Likewise.
2734 * toplev.c (get_run_time): Just return 0 on BeOS.
2735
2736 Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
2737 Toon Moene (toon@moene.indiv.nluug.nl)
2738
2739 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
2740 old and broken Sun3 assemblers. Newer versions handle large
2741 offsets correctly as does the GNU assembler.
2742
2743 Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
2744
2745 * objc/objc-act.c (lang_report_error_function): Disable.
2746 * objc/objc-parse.y: Include "output.h".
2747 (yyerror): Remove redundant decl.
2748 (yyprint): Fix prototype.
2749 (apply_args_register_offset): Remove redundant decl.
2750 (get_file_function_name): Likewise.
2751
2752 Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
2753
2754 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
2755 a new basic block.
2756 (find_basic_blocks_1): Likewise.
2757
2758 Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
2759
2760 * except.c (use_eh_context): Don't copy_rtx a REG.
2761 (emit_throw): Lose old unwinder support.
2762 (expand_internal_throw): Likewise.
2763 * libgcc2.c (struct eh_context): Likewise.
2764 (new_eh_context): Likewise.
2765 (__get_eh_info): Lose redundant cast.
2766 (__get_dynamic_handler_chain): Likewise.
2767 (__get_saved_pc): Lose.
2768 Lose all old unwinder support code.
2769
2770 Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
2771
2772 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
2773
2774 * integrate.c (expand_inline_function): If the inline fn uses eh
2775 context, make sure that the current fn has one.
2776 * toplev.c (rest_of_compilation): Call emit_eh_context.
2777 * except.c (use_eh_context): New fn.
2778 (get_eh_context_once): New fn.
2779 (call_get_eh_context): New fn.
2780 (emit_eh_context): New fn.
2781 (get_eh_context): Call either get_eh_context_once or
2782 call_get_eh_context, depending on what we have.
2783 (get_dynamic_handler_chain): Call get_eh_context_once.
2784 * except.h: Prototypes for fns above.
2785 * optabs.c (get_eh_context_libfunc): Removed.
2786 (init_optabs): Don't initialize it.
2787 * expr.h (get_eh_context_libfunc): Removed.
2788 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
2789 * config/pa/pa.h (CPP_SPEC): Support for -threads.
2790 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
2791 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
2792 New multilib for -threads.
2793 * config/sparc/t-sol2: Added multilibs for -threads and
2794 made -pthreads alias to it.
2795 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
2796 Added -threads and -pthreads options.
2797 * libgcc-thr.h: New file.
2798 * libgcc2.c: (__get_cpp_eh_context): Removed.
2799 (struct cpp_eh_context): Removed.
2800 (struct eh_context): Replaced cpp_eh_context with generic language
2801 specific pointer.
2802 (__get_eh_info): New function.
2803 (__throw): Check eh_context::info.
2804 (__sjthrow): Ditto.
2805 * libgcc2.c: Include libgcc-thr.h.
2806 (new_eh_context, __get_eh_context,
2807 eh_pthread_initialize, eh_context_initialize, eh_context_static,
2808 eh_context_specific, eh_context_free): New functions.
2809 (get_eh_context, eh_context_key): New variables.
2810 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
2811 get_eh_context to get the context.
2812 (longjmp): Move the declaration inside
2813 #ifdef DONT_USE_BUILTIN_SETJMP.
2814 * frame.c: Include libgcc-thr.h.
2815 (object_mutex): Mutex to protect the object list.
2816 (find_fde, __register_frame, __register_frame_table,
2817 __deregister_frame): Hold the lock while accessing objects.
2818 * except.h (get_eh_context): Declare.
2819 * except.c (current_function_ehc): Define.
2820 (current_function_dhc, current_function_dcc): Removed.
2821 (get_eh_context): New function.
2822 (get_dynamic_handler_chain): Use get_eh_context.
2823 (get_saved_pc_ref): Ditto.
2824 (get_dynamic_cleanup_chain): Removed references to
2825 current_function_dcc.
2826 (save_eh_status, restore_eh_status): Save and restore
2827 current_function_ehc instead.
2828 * optabs.c (get_eh_context_libfunc): New variable.
2829 (init_optabs): Initialize it.
2830 * expr.h: Declare get_eh_context_libfunc.
2831 * function.h (struct function): Replaced dhc and dcc with ehc.
2832 * except.c (get_saved_pc_ref): New functions.
2833 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
2834 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
2835 of eh_saved_pc.
2836 (end_eh_unwinder): Likewise.
2837 (init_eh): Remove initialization of eh_saved_pc.
2838 * optabs.c (get_saved_pc_libfunc): New variable.
2839 (init_optabs): Initialize it.
2840 * expr.h: Declare get_saved_pc_libfunc.
2841 * except.h (eh_saved_pc_rtx): Deleted.
2842 (get_saved_pc_ref): Declared.
2843
2844 From Scott Snyder <snyder@d0sgif.fnal.gov>:
2845 * libgcc2.c (__get_saved_pc): New.
2846 (__eh_type, __eh_pc): Deleted.
2847 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
2848 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
2849 this fcn.
2850
2851 Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
2852
2853 * sparc/sol2.h: Use 64 bit multiply and divide functions in
2854 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
2855 as 0.
2856
2857 * rtl.h (global_rtl): New variable, replacing separate variables for
2858 commonly used rtl.
2859 (const_int_rtx): Now array of rtx_def, not rtx.
2860 * emit-rtl.c: Update for new rtl data structures.
2861 * genattrtab.c: Define global_rtl.
2862
2863 Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
2864
2865 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
2866 default.
2867
2868 Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
2869
2870 * crtstuff.c (__do_global_ctors): Fix typo.
2871
2872 Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
2873
2874 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
2875 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
2876
2877 Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
2878
2879 * rs6000.h (FUNCTION_ARG_PADDING): Define.
2880 * rs6000.c (function_arg_padding): New function.
2881
2882 Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
2883
2884 * m68k.c: Include tree.h only once.
2885
2886 Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2887
2888 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
2889
2890 Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
2891
2892 * Partially cleaned up prototyping code from HJ.
2893 * tree.h: Add many prototypes.
2894 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
2895 All references changed.
2896 * rtl.h: Protect from multiple inclusions. Add many prototypes.
2897
2898 Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
2899
2900 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
2901 string functions like strlen.
2902
2903 Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
2904
2905 * configure.in: Check for functions getrlimit and setrlimit.
2906 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
2907 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
2908
2909 Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
2910
2911 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
2912
2913 Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
2914
2915 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
2916 Fix merge problems.
2917
2918 * alpha.c (override_options): Don't know about scheduling for EV6.
2919 * alpha.md (ev5 function units): Don't overload as ev6.
2920
2921 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
2922 * alpha.md (define_attr type): Add mvi.
2923 (ev5_e0): Define sceduling parameters for it.
2924 (TARGET_MAX insns): Type is mvi not shift.
2925
2926 Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
2927
2928 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
2929
2930 Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2931
2932 * cstamp-h, auto-config.h: Delete.
2933
2934 Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
2935
2936 * version.c: Bump for snapshot.
2937
2938 Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
2939
2940 * cccp.c: Fix typo brought over in merge.
2941
2942 * Merge in changes from gcc-2.8.
2943
2944 Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
2945
2946 * m68k.c: Include tree.h for dwarf2out_cfi_label.
2947
2948 * gcc.c (process_command): Do not take address of function fatal when
2949 calling lang_specific_driver.
2950
2951 Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
2952
2953 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
2954 doesn't work with it yet, so set it to 0.
2955 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
2956
2957 Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
2958
2959 * cse.c (cse_insn): Check for invalid entries when taking references.
2960
2961 Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2962
2963 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
2964 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
2965 * toplev.c (rest_of_compilation): Pass it. Remove code to
2966 save / clear / restore flag_unroll_{,all_}loops.
2967
2968 Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
2969
2970 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
2971
2972 Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
2973
2974 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
2975
2976 Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
2977
2978 * except.c (get_dynamic_handler_chain): Only make the call once per
2979 function.
2980
2981 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
2982
2983 Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2984
2985 * sh.c (final_prescan_insn): Use local label prefix
2986 when emitting .uses pseudo-ops.
2987
2988 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
2989
2990 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
2991 * except.c: Lose outer_context_label_stack.
2992 (expand_eh_region_end): Rethrow from outer_context here.
2993 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
2994 (expand_internal_throw): Take no args.
2995 (expand_internal_throw_indirect): Lose.
2996 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
2997 (expand_start_all_catch): Start a rethrow region.
2998 (expand_end_all_catch): End it.
2999 (expand_rethrow): New fn.
3000 * except.h: Reflect above changes.
3001 * flow.c: Revert change of Nov 27.
3002
3003 Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
3004
3005 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
3006
3007 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
3008
3009 * except.c (expand_fixup_region_end): New fn.
3010 (expand_fixup_region_start): Likewise.
3011 (expand_eh_region_start_tree): Store cleanup into finalization here.
3012 * stmt.c (expand_cleanups): Use them to protect fixups.
3013
3014 Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
3015
3016 * mips/mips.md (muldi3_r4000): Broaden the output template
3017 and attribute assignments to handle three operand dmult;
3018 rename to muldi3_internal2.
3019 (muldi3): Call the new muldi3_internal2 for R4000, and
3020 any GENERATE_MULT3 chip.
3021
3022 Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
3023
3024 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
3025
3026 Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
3027
3028 * unroll.c (find_splittable_givs): Remove last change. Handle givs
3029 with a dest_reg that was created by loop.
3030
3031 Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
3032
3033 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
3034
3035 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
3036
3037 Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
3038
3039 * configure.in: Fix NCR entries.
3040
3041 Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
3042
3043 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
3044 nested exceptions correctly.
3045
3046 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
3047 that was created by loop.
3048
3049 Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
3050
3051 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
3052
3053 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
3054
3055 Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
3056
3057 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
3058 (print_operand): Use SMALL_DATA_REG for the register involved in
3059 small data relocations.
3060 (print_operand_address): Ditto.
3061
3062 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
3063 -dynamic linker is not used.
3064
3065 * rs6000.md (call insns): For local calls, use @local suffix under
3066 System V. Don't use @plt under Solaris.
3067
3068 * rs6000.c (output_function_profiler): Put label address in r0, and
3069 store LR in 4(sp) for System V/eabi.
3070
3071 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
3072 byte boundary, and maintain stack backchain.
3073
3074 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
3075
3076 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
3077 fix_truncsfdi2): Change *.
3078
3079 Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
3080
3081 * toplev.c (main): Complain about -gdwarfn.
3082
3083 Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
3084
3085 * dwarfout.c (output_type): If finalizing, write out nested types
3086 of types we've already written.
3087
3088 Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
3089
3090 (patches originally from Geoffrey Keating)
3091 * rs6000.c (function_arg): Excess floating point arguments don't
3092 go into GPR registers after exhausting FP registers under the
3093 System V.4 ABI.
3094 (function_arg_partial_nregs): Ditto.
3095
3096 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
3097 suffix to calls.
3098
3099 Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
3100
3101 * integrate.c (output_inline_function): Just unset DECL_INLINE.
3102
3103 Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
3104
3105 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
3106 proper alignment.
3107
3108 * libgcc2.c (__throw): Initialize HANDLER.
3109
3110 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
3111
3112 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
3113 fix_truncsfdi2): Change *X to ?*X.
3114
3115 Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
3116
3117 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
3118
3119 Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
3120
3121 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
3122
3123 Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
3124
3125 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
3126
3127 Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
3128
3129 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
3130 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
3131 * expr.h: Likewise.
3132
3133 Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
3134
3135 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
3136 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
3137 gas and not using the new HP assembler.
3138
3139 Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
3140
3141 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
3142 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
3143
3144 Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
3145
3146 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
3147 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
3148 definition.
3149
3150 Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3151
3152 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
3153
3154 Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
3155
3156 * except.h: Add outer_context_label_stack.
3157 * except.c: Likewise.
3158 (expand_start_all_catch): Push the outer_context for the try block
3159 onto outer_context_label_stack.
3160 (expand_end_all_catch): Use it and pop it.
3161
3162 Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
3163
3164 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
3165
3166 Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
3167
3168 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
3169
3170 Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
3171
3172 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
3173 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
3174
3175 Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
3176
3177 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
3178 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
3179 __builtin_delete, and __builtin_vec_delete.
3180
3181 * except.c (output_exception_table): Don't bother with
3182 __EXCEPTION_END__.
3183
3184 Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
3185
3186 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
3187 is an in/out operand.
3188 (zero extended variants of stwm/stwm patterns): Similarly.
3189
3190 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
3191
3192 Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
3193
3194 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
3195 Use assemble_name.
3196 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
3197 (output_call_frame_info): Emit a \n after using it.
3198
3199 Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
3200
3201 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
3202
3203 Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
3204
3205 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
3206 (ASM_OUTPUT_DWARF_VALUE4): New macro.
3207 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
3208 defined.
3209 (output_call_frame_info): Do not output forward label differences
3210 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
3211 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
3212
3213 Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3214
3215 * sh.md (attribute "type"): Add nil.
3216 (movsi_ie): y/y alternative is type nil.
3217 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
3218 alternatives.
3219 (movsf_ie+1): Delete.
3220
3221 Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
3222
3223 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
3224 large_int, emit two insns instead of one splitable insn.
3225 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
3226 from cfa_temp_value, use cfa_offset. Add assert checking that
3227 cfa_reg is SP.
3228
3229 Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
3230
3231 * cccp.c (deps_output): Properly quote file names for make.
3232
3233 Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
3234
3235 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
3236
3237 Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
3238
3239 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
3240
3241 Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
3242
3243 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
3244 return.
3245 (cse_end_of_basic_block): Similarly.
3246
3247 Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
3248
3249 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
3250 (SELECT_RTX_SECTION): Define.
3251 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
3252
3253 Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
3254
3255 * Makefile.in (compare, compare-lean): Define $stage for each
3256 shell command.
3257 (gnucompare, gnucompare-lean): Likewise.
3258
3259 Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
3260
3261 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
3262
3263 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
3264 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
3265
3266 Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
3267
3268 * dwarfout.c (byte_size_attribute): Add local var upper_bound
3269 and add case to handle STRING_TYPE.
3270 * dwarfout.c (output_string_type_die): Fix code to generate
3271 correct string length attribute for fixed length strings.
3272 Still needs support for varying length strings.
3273
3274 Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
3275
3276 * toplev.c (get_run_time): Do something sensible for cygwin32.
3277
3278 Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
3279
3280 * expr.c (expand_builtin_setjmp): Set
3281 current_function_has_nonlocal_label.
3282 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
3283 call-saved registers across calls.
3284
3285 * alpha.md (exception_receiver): Remove.
3286 (nonlocal_goto_receiver_osf): New
3287 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
3288 (nonlocal_goto_receiver): New, select _osf or _vms.
3289
3290 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
3291 keep them from being propogated to the object file.
3292 (alpha_write_linkage): Likewise.
3293 * alpha.md (call_vms): Likewise.
3294 (call_value_vms): Likewise.
3295 (unnamed osf call insns): Likewise.
3296
3297 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
3298 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3299
3300 * alpha.c (call_operand): Any reg is valid for WinNT.
3301 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
3302 (anon nt calls): Add 'R' alternative.
3303 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
3304 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
3305
3306 Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
3307
3308 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
3309
3310 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
3311 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
3312 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
3313
3314 Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
3315
3316 * reload1.c (new_spill_reg): Improve fixed or forbidden register
3317 spill error message.
3318
3319 Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3320
3321 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
3322 use varargs.h. Wrap header with <>, not "".
3323
3324 Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
3325
3326 * integrate.c (save_for_inline_copying): Add return value from
3327 savealloc.
3328
3329 Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
3330
3331 * fixincludes: Be a little more restrictive on what we will
3332 substitute to replace definitions of MAXINT for HPUX.
3333
3334 Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
3335
3336 * dbxout.c (dbxout_symbol_location): Don't assume that variables
3337 whose address is the stack or argument pointers are indirect
3338 pointers.
3339
3340 1997-11-13 Paul Eggert <eggert@twinsun.com>
3341
3342 * cccp.c, cpplib.c (compare_defs):
3343 Don't complain about arg name respellings unless pedantic.
3344 * cpplib.c (compare_defs): Accept pfile as new arg.
3345 All callers changed.
3346
3347 Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3348
3349 * fold-const.c (fold_truthop): Fix bug in last change.
3350
3351 1997-11-13 Paul Eggert <eggert@twinsun.com>
3352
3353 Fix some confusion with IEEE minus zero.
3354
3355 * real.h (REAL_VALUES_IDENTICAL): New macro.
3356
3357 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
3358 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
3359 identical to 0.0.
3360 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
3361 same tree structure as 0.0.
3362
3363 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
3364 macro instead of doing it by hand.
3365
3366 Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
3367
3368 * v850/lib1funcs.asm: Minor whitespace changes.
3369 * v850.c: Fix minor formatting problems in many places.
3370 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
3371
3372 Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
3373
3374 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
3375 xplus1 when xplus0 is not a register.
3376
3377 Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
3378
3379 * flow.c (find_basic_blocks): During marking phase, if we encounter
3380 an insn with a REG_LABEL note, make the target block live and
3381 create an edge from the insn to the target block. Do not make
3382 edges from all blocks to the target block.
3383
3384 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
3385
3386 * confiugre.in: Tweak NCR entries.
3387 * configure: Rebuilt.
3388
3389 Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
3390
3391 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
3392 pick apart floating point values, instead of using CONST_DOUBLE_LOW
3393 and CONST_DOUBLE_HIGH.
3394
3395 * rs6000.md (define_splits for DF constants): Use the appropriate
3396 REAL_VALUE_* interface to pick apart DF floating point constants in
3397 a machine independent fashion.
3398
3399 Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3400
3401 * fold-const.c (fold_truthop): When changing a one-bit comparison
3402 against zero into a comparison against mask, do a proper sign
3403 extension.
3404
3405 Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
3406
3407 * except.c: Do not include "assert.h".
3408 (save_eh_status): Turn asserts into conditional aborts.
3409 (restore_eh_status, scan_region): Likewise.
3410 * dwarfout.c: Do not include "assert.h".
3411 (bit_offset_attribute): Turn asserts into conditional aborts.
3412 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
3413 (output_inlined_structure_type_die): Likewise.
3414 (output_inlined_union_type_die): Likewise
3415 (output_tagged_type_instantiation): Likewise.
3416 (dwarfout_file_scope_decl): Likewise.
3417 * dwarf2out.c: Do not include "assert.h"
3418 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
3419 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
3420 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
3421 (add_bit_size_attribute, scope_die_for): Likewise.
3422 (output_pending_types_for_scope): Likewise.
3423 (get_inlined_enumeration_type_die): Likewise.
3424 (get_inlined_structure_type_die): Likewise.
3425 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
3426 (gen_tagged_type_instantiation_die): Likewise.
3427
3428 * flow.c (find_basic_blocks): Refine further to get a more correct
3429 cfg, especially in the presense of exception handling, computed
3430 gotos, and other non-trivial cases. Call abort if an inaccuracy
3431 is detected in the cfg.
3432
3433 Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3434
3435 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
3436
3437 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
3438 (skip_white_space): Use whitespace_cr.
3439 (check_newline): Handle whitespace more consistently.
3440
3441 Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
3442
3443 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
3444 * i386/xm-cygwin32.h (POSIX): Define.
3445
3446 Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
3447
3448 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
3449 is available elsewhere.
3450
3451 Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
3452
3453 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
3454 what the instruction can handle.
3455
3456 Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
3457
3458 * stmt.c (expand_decl_cleanup_no_eh): New fn.
3459
3460 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
3461
3462 Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
3463
3464 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
3465 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
3466
3467 Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
3468
3469 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
3470 swap instruction order.
3471
3472 Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
3473
3474 * fixinc.svr4 (__STDC__): Add another case.
3475
3476 Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3477
3478 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
3479 addresses in the epilogue delay slot.
3480
3481 Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
3482
3483 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
3484 in generated `specs' file.
3485
3486 Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
3487
3488 * flags.h (flag_rerun_loop_opt): Declare.
3489 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
3490 * toplev.c (flag_rerum_loop_opt): Delete static.
3491
3492 Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3493
3494 Bring over from FSF:
3495
3496 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3497
3498 * va-sh.h (__va_arg_sh1): Define.
3499 (va_arg): Use it.
3500 SH3E doesn't use any integer registers for subsequent arguments
3501 once a non-float value was passed in the stack.
3502 * sh.c (machine_dependent_reorg): If optimizing, put explicit
3503 alignment in front label for ADDR_DIFF_VEC.
3504 * sh.h (PASS_IN_REG_P): Fix SH3E case.
3505 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
3506
3507 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3508
3509 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
3510 svr4.h.
3511
3512 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3513
3514 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
3515 put an use_sfunc_addr before each sfunc.
3516 * sh.md (use_sfunc_addr, dummy_jump): New insns.
3517 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
3518
3519 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3520
3521 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
3522
3523 Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
3524
3525 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
3526 linked once FDEs.
3527
3528 Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
3529
3530 * alias.c (find_base_value): Only return the known base value for
3531 pseudo registers.
3532
3533 Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
3534
3535 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
3536 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
3537 to pattern.
3538 (prologue_get_pc_and_set_got): New pattern.
3539
3540 Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
3541
3542 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
3543 for SUBREG, just fall through.
3544
3545 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
3546
3547 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
3548
3549 Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
3550
3551 * fixincludes: Fix "hypot" prototype in NeXT math.h.
3552
3553 * Makefile.in (USE_ALLOCA): Always include alloca.o.
3554 (USE_HOST_ALLOCA): Likewise.
3555
3556 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
3557 and LABEL_REFS fields.
3558 * rtl.h (LABEL_REFS): Update.
3559
3560 Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
3561
3562 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
3563 sets i2dest. When calling distribute_notes for i3dest_killed, pass
3564 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
3565 sets i1dest.
3566
3567 * mips.md (insv, extzv, extv): Add change_address call.
3568 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
3569
3570 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
3571
3572 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
3573
3574 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
3575 save_restore_insns if no FP and GP will be restored.
3576
3577 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
3578 Convert CCmode to word_mode before calling GET_MODE_SIZE.
3579
3580 * acconfig.h (HAVE_INTTYPES_H): Undef.
3581 * configure.in (inttypes.h): Check for conflicts between sys/types.h
3582 and inttypes.h, and verify that intmax_t is defined.
3583 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
3584 * config/mips/x-iris3: Likewise.
3585
3586 Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
3587
3588 * alias.c (find_base_value): When copying arguments, return the
3589 tenative value for a hard register.
3590
3591 Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
3592
3593 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
3594 (yylex): Record wide strings using target endianness, not host.
3595
3596 Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
3597
3598 * mn10200.h (ASM_OUTPUT_BSS): Delete.
3599 (ASM_OUTPUT_ALIGNED_BSS): New macro
3600 * mn10300.h (ASM_OUTPUT_BSS): Delete.
3601 (ASM_OUTPUT_ALIGNED_BSS): New macro.
3602 * v850.h (ASM_OUTPUT_BSS): Delete.
3603 (ASM_OUTPUT_ALIGNED_BSS): New macro.
3604
3605 Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3606
3607 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
3608
3609 Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
3610
3611 * configure.in (sco5): Use cpio to install header files.
3612
3613 Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
3614
3615 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
3616 14 char length.
3617 * configure: Rebuild.
3618
3619 Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
3620
3621 * i386/sco5.h: enable -gstabs once again.
3622
3623 Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
3624
3625 * arm.c (output_move_double): Allocate 3 entries in otherops array.
3626
3627 Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
3628
3629 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
3630 notes for sjlj exceptions too.
3631 (expand_eh_region_end): Similarly for EH_REGION_END notes.
3632 (exception_optimize): Optimize EH regions for sjlj exceptions too.
3633 * final.c (final_scan_insn): Don't output labels for EH REGION
3634 notes if doing sjlj exceptions.
3635
3636 Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
3637
3638 * alias.c (init_alias_analysis): Handle -fno-alias-check when
3639 optimizing correctly.
3640
3641 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
3642 or set current_function_calls_setjmp anymore.
3643
3644 * flow.c (find_basic_blocks): If we delete the label for an
3645 exception handler, remove it from the EH label list and remove
3646 the EH_BEGIN/EH_END notes for that EH region.
3647
3648 Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
3649
3650 * flow.c (find_basic_blocks): Generate correct flow control
3651 information when exception handling notes are present.
3652
3653 Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
3654
3655 * dwarf2out.c (output_call_frame_info): Fix length argument
3656 to ASM_OUTPUT_ASCII.
3657 (output_die, output_pubnames, output_line_info): Likewise.
3658
3659 Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
3660
3661 * version.c: Bump for snapshot.
3662
3663 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
3664 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
3665 flag_debug_asm is on.
3666 (output_die, output_pubnames, output_line_info): Likewise.
3667
3668 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
3669 and static_chain_rtx into the potential base values array if
3670 they are registers.
3671
3672 * alias.c (new_reg_base_value): New array of potential base values.
3673 (unique_id): Now file scoped static.
3674 (find_base_value, case REG): Return the value in reg_base_value
3675 array for the REG if it exists. Else, return the value from
3676 new_reg_base_value if copying args and REG is a hard register.
3677 (find_base_value, case PLUS): If either operand of the PLUS is
3678 a REG, try to get its base value. Handle base + index and
3679 index + base.
3680 (record_set): Use new_reg_base_value instead of reg_base_value.
3681 (init_alias_analysis): Allocate space for new_reg_base_value too.
3682 Rework code to iterate over the insns propagating base value
3683 information until nothing changes.
3684
3685 * global.c (global_alloc): Free the conflict matrix after
3686 reload has finished.
3687
3688 Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
3689
3690 * libgcc2.c (L_eh): Define __eh_pc.
3691 Replace __eh_type with generic pointer __eh_info.
3692
3693 Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
3694
3695 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
3696 use copy_to_reg if address is not a general_operand.
3697
3698 Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3699
3700 * profile.c (output_func_start_profiler): Clear flag_inline_functions
3701 for the duration of the call to rest_of_compilation.
3702
3703 Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
3704
3705 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
3706 Set extra_parts.
3707 (sparc*-*-*): Recognize --with-cpu=v9.
3708 * sparc/elf.h: New file.
3709 * sparc/t-elf: New file.
3710
3711 Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
3712
3713 * mn10300.c (const_8bit_operand): New function.
3714 (mask_ok_for_mem_btst): New funtion.
3715 * mn10300.md (btst patterns with mem operands): Use new functions
3716 to avoid creating btst instructions with invalid operands.
3717
3718 Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
3719
3720 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
3721 are running on PowerPC Linux.
3722
3723 Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
3724
3725 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
3726 if not previously defined.
3727
3728 Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
3729
3730 * function.c (assign_parms): Correct mode of stack_parm if
3731 entry_parm underwent a mode conversion.
3732
3733 1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
3734
3735 * global.c (global_alloc): Use xmalloc instead of alloca for
3736 CONFLICTS, since max_allocno * allocno_row_words alone can be more
3737 than 2.5Mb sometimes.
3738
3739 Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
3740
3741 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
3742 DEST for the spill, adjust mode of SRC to compensate.
3743
3744 Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
3745
3746 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
3747 since any_memory_operand() allows pseudos during reload.
3748 (reload_inhi, reload_outqi, reload_outhi): Likewise.
3749
3750 Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
3751
3752 * m68k.md (btst patterns): Add 5200 support.
3753
3754 Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
3755
3756 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
3757 optimizations, look inside dividend to determine if the expression
3758 can be simplified by using EXACT_DIV_EXPR.
3759
3760 Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
3761
3762 From Brendan:
3763 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
3764
3765 Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
3766
3767 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
3768
3769 Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
3770
3771 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
3772 on a CLOBBER.
3773
3774 Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
3775
3776 * alpha.md (movqi, movhi): Make sure new insns created during reload
3777 won't need reloading themselves.
3778 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
3779
3780 Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
3781
3782 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
3783
3784 Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
3785
3786 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
3787 Patch from Klaus Kaempf <kkaempf@progis.de>.
3788
3789 Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
3790
3791 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
3792 to an element in a constant string.
3793
3794 Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
3795
3796 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
3797 bit PC-relative offset. The exception range table pointer is now in
3798 the CIE.
3799 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
3800 (count_fdes, add_fdes, get_cie): Adjust.
3801 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
3802
3803 From H.J. Lu:
3804 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
3805
3806 Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
3807
3808 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
3809 like stack_pointer_rtx.
3810
3811 Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
3812
3813 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
3814 targets using "$@" to provide support for similar but not identical
3815 targets without having to duplicate code.
3816 (bootstrap4): New goal.
3817
3818 * Makefile.in (compare, compare-lean, compare3): Combined to one
3819 ruleset determining actions to be performed via $@.
3820 (compare4, compare4-lean): New targets.
3821 (gnucompare, gnucompare3): Combined to one ruleset determining
3822 actions to be performed via $@. Also, note which files failed
3823 the comparison test in .bad_compare.
3824 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
3825
3826 Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
3827
3828 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
3829 if the dividend is a multiple of the divisor.
3830
3831 Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
3832
3833 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
3834
3835 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
3836 and POS_DEC.
3837
3838 * alias.c (true_dependence): Fix typo.
3839
3840 * toplev.c (flag_rerun_loop_opt): New variable.
3841 (f_options): Handle -frerun-loop-opt.
3842 (rest_of_compilation): If -frerun-loop-opt, then run the loop
3843 optimizer twice.
3844 (main): Enable -frerun-loop-opt by default for -O2 or greater.
3845
3846 * loop.c (simplify_giv_expr): Adding two invariants results
3847 in an invariant.
3848
3849 Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
3850
3851 * expr.c (get_inner_reference): Remove the array bias after
3852 converting the index to Pmode.
3853
3854 Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
3855
3856 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
3857 (TARGET_MULT_BUG): Define.
3858 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
3859 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
3860
3861 Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
3862
3863 * mn10200.c (indirect_memory_operand): Delete unused function.
3864 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
3865 * mn10200.md (bset, bclr insns): Handle output in a reg too.
3866
3867 Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
3868
3869 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
3870 the callee's ldgp, we must do it ourselves, and we use the jsr tag
3871 for more than scheduling.
3872
3873 Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
3874
3875 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
3876
3877 Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
3878
3879 * mn10300.c (symbolic_operand, legitimize_address): New functions.
3880 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
3881 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
3882
3883 Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
3884
3885 * version.c: Bump for snapshot.
3886
3887 Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3888
3889 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
3890 for FILENAME.
3891
3892 Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
3893
3894 * toplev.c (flag_exceptions): Default value is 2.
3895 (compile_file): If flag_exceptions still has the value 2, then
3896 set it to 0.
3897
3898 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
3899 (rs6000_save_machine_status): Save pic_offset_table_rtx.
3900 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
3901
3902 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
3903 are shared.
3904
3905 * rs6000.md (*movsi_got_internal_mem): New pattern.
3906 (*movsi_got_internal_mem splitter): New define_split.
3907
3908 Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
3909
3910 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
3911
3912 Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
3913
3914 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
3915 only need to save LR.
3916
3917 Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
3918
3919 * mn10300.md (movqi, movhi): Avoid using address registers as
3920 destinations unless absolutely necessary.
3921
3922 * mn10200.c (expand_prologue): Fix typo.
3923
3924 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
3925 addresses.
3926 * mn10200.md (neghi2): Provide an alternative which works if
3927 the input and output register are the same.
3928
3929 * mn10300.c (print_operand): Handle 'S'.
3930 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
3931 shift amount in last alternative
3932
3933 * mn10300.c (expand_epilogue): Rework to handle register restores
3934 in "ret" and "retf" instructions correctly.
3935
3936 Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
3937
3938 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
3939 extzv for memory operands.
3940
3941 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
3942 redundant conditional moves to single operand.
3943
3944 Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
3945
3946 * v850.h: Move define of __v850__ from CPP_PREDEFINES
3947 to CPP_SPEC.
3948
3949 * xm-v850.h: Use __v850 rather than __v850__ to
3950 identify v850 port.
3951
3952 Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
3953
3954 * mips/mips.c (compute_frame_size): Not a leaf function if
3955 profile_flag set.
3956
3957 Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
3958
3959 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
3960
3961 Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
3962
3963 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
3964 (DEFAULT_ARCH32_P): New macro.
3965 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
3966 (enum cmodel): Declare.
3967 (sparc_cmodel_string,sparc_cmodel): Declare.
3968 (SPARC_DEFAULT_CMODEL): Provide default.
3969 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
3970 (TARGET_FULLANY): Deleted.
3971 (TARGET_CM_MEDMID): New macro.
3972 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
3973 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
3974 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
3975 (CPP_SPEC): Rewrite.
3976 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
3977 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
3978 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
3979 (ASM_SPEC): Add %(asm_arch).
3980 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
3981 Rename asm_default to asm_cpu_default.
3982 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
3983 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
3984 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
3985 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
3986 (MASK_INT64,MASK_LONG64): Delete.
3987 (MASK_ARCH64): Renamed to MASK_64BIT.
3988 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
3989 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
3990 (TARGET_SWITCHES): Always provide 64 bit options.
3991 (ARCH64_SWITCHES): Delete.
3992 (TARGET_OPTIONS): New option -mcmodel=.
3993 (INT_TYPE_SIZE): Always 32.
3994 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
3995 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
3996 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
3997 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
3998 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
3999 CPP_SPEC.
4000 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4001 * sparc/linux.h: Likewise.
4002 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
4003 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
4004 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
4005 (SPARC_DEFAULT_CMODEL): Define.
4006 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
4007 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4008 (LONG_DOUBLE_TYPE_SIZE): Define.
4009 (ASM_SPEC): Add %(asm_arch).
4010 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
4011 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4012 (TARGET_CPU_DEFAULT): Add ultrasparc case.
4013 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
4014 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
4015 (SPARC_DEFAULT_CMODEL): Define.
4016 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
4017 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
4018 MASK_LONG64, MASK_MEDANY.
4019 (SPARC_DEFAULT_CMODEL): Define.
4020 (CPP_PREDEFINES): Delete.
4021 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4022 (ASM_SPEC): Add %(asm_arch).
4023 (LONG_DOUBLE_TYPE_SIZE): Define.
4024 (DWARF2_DEBUGGING_INFO): Define.
4025 * sparc/splet.h (CPP_SPEC): Delete.
4026 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
4027 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
4028 (BLOCK_PROFILER): Likewise.
4029 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
4030 (sparc_override_options): Handle code model selection.
4031 (sparc_init_expanders): Renamed from sparc64_init_expanders.
4032 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
4033 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
4034 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
4035 (sethi_di_fullany): Delete.
4036
4037 Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
4038 Jeff Law <law@cygnus.com>
4039 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4040
4041 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
4042 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
4043 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
4044 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
4045 * alpha/alpha.md (arg_home): Likewise.
4046
4047 * alpha/alpha.c (vmskrunch): Delete
4048 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
4049 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
4050 truncate to 64 characters.
4051
4052 * make-l2.com: Support openVMS/Alpha.
4053
4054 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
4055
4056 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4057
4058 * longlong.h (count_leading_zeros): Add missing casts to USItype.
4059
4060 Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
4061
4062 * i386/bsd386.h (ASM_COMMENT_START): Define.
4063
4064 Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
4065
4066 * tree.c (restore_tree_status): Also free up temporary storage
4067 when we finish a toplevel function.
4068 (dump_tree_statistics): Print stats for backend obstacks.
4069
4070 Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
4071
4072 * expr.c (use_group_regs): Don't call use_reg for MEMs.
4073
4074 Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
4075
4076 * libgcc2.c (__throw): Don't copy the return address.
4077 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
4078
4079 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
4080 * toplev.c (main): Initialize exceptions_via_longjmp.
4081
4082 * tree.c: Add extra_inline_obstacks.
4083 (save_tree_status): Use it.
4084 (restore_tree_status): If this is a toplevel inline obstack and we
4085 didn't want to save anything on it, recycle it.
4086 (print_inline_obstack_statistics): New fn.
4087 * function.c (pop_function_context_from): Pass context to
4088 restore_tree_status.
4089 * obstack.h (obstack_empty_p): New macro.
4090
4091 Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
4092
4093 * i386/freebsd.h (ASM_COMMENT_START): Fix.
4094
4095 Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
4096
4097 * v850.c (ep_memory_offset): New function.
4098 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
4099
4100 * v850.h (CONST_OK_FOR_*): Add and correct comments.
4101 (CONSTANT_ADDRESS_P): Add comment.
4102 (EXTRA_CONSTRAINT): Define 'U'.
4103 * v850.md: Add comments on bit field instructions.
4104 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
4105 (lshrsi3): Use N not J constraint.
4106
4107 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
4108
4109 * v850.c (reg_or_0_operand): Call register_operand.
4110 (reg_or_int5_operand): Likewise.
4111 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
4112 (TARGET_SWITCHES): Add "big-switch".
4113 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
4114 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
4115 (CASE_DROPS_THROUGH): Comment out.
4116 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
4117 * v850.md (cmpsi): Delete compare mode.
4118 (casesi): New pattern.
4119
4120 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
4121 * v850.md (ashlsi3): Use SImode not QImode for shift count.
4122 (lshrsi3): Likewise.
4123
4124 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
4125 unreachable switch statement after 'b' support. Remove "b" from
4126 strings for 'b' support.
4127 * v850.md (branch_normal, branch_invert): Change %b to b%b.
4128
4129 Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
4130
4131 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
4132 empty line if @inhibit_libc@ is empty.
4133
4134 Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
4135
4136 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
4137 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
4138 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
4139 (DWARF2_UNWIND_INFO): Let this track object file format.
4140 (EXTRA_SECTIONS): Add in_eh.
4141 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
4142 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
4143
4144 Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
4145
4146 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
4147 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
4148 TARGET_MEDANY.
4149 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
4150 (output_double_int): Output DI mode values correctly when
4151 HOST_BITS_PER_WIDE_INT is 64.
4152 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
4153 fmovd so it works if a quad float ends up in one of the upper 32
4154 float regs.
4155 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
4156 necessary for PIC support on sparc64.
4157
4158 Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
4159
4160 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
4161 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
4162 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
4163 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
4164 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
4165 (SPARC_FP_ARG_FIRST): New macro.
4166 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
4167 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
4168 (NPARM_REGS): There are 32 fp argument registers now.
4169 (FUNCTION_ARG_REGNO_P): Likewise.
4170 (FIRST_PARM_OFFSET): Update to new v9 abi.
4171 (REG_PARM_STACK_SPACE): Define for arch64.
4172 (enum sparc_arg_class): Delete.
4173 (sparc_arg_count,sparc_n_named_args): Delete.
4174 (struct sparc_args): Redefine and use for arch32 as well as arch64.
4175 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
4176 (FUNCTION_ARG_ADVANCE): Rewrite.
4177 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
4178 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
4179 (FUNCTION_ARG_CALLEE_COPIES): Delete.
4180 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
4181 (STRICT_ARGUMENT_NAMING): Define.
4182 (doublemove_string): Declare.
4183 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
4184 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
4185 (doublemove_string): New function.
4186 (output_move_quad): Clean up some of the arch64 support.
4187 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
4188 Don't add 8 bytes of reserved space if arch64.
4189 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
4190 (init_cumulative_args): New function.
4191 (function_arg_slotno): New static function.
4192 (function_arg,function_arg_partial_nregs): New functions.
4193 (function_arg_{pass_by_reference,advance}): New functions.
4194 (function_arg_padding): New function.
4195 * ginclude/va-sparc.h: Rewrite v9 support.
4196
4197 Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
4198
4199 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
4200 for hard regs to determine base and index registers.
4201
4202 * reload.c (debug_reload_to_stream): New function. Specify stream
4203 into which to write debug info.
4204 (debug_reload): Modify to call debug_reload_to_stream with stderr.
4205
4206 Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
4207
4208 * combine.c (can_combine_p): Don't combine with an asm whose
4209 output is a hard register.
4210
4211 Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
4212
4213 * c-decl.c (start_struct): Ensure that structs with forward
4214 declarations are in fact packed when -fpack-struct is given.
4215
4216 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
4217 we are packing a structure. This allows a structure with only
4218 bytes to be aligned on a byte boundary and have no padding on a
4219 m68k.
4220
4221 Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4222
4223 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
4224
4225 Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
4226
4227 * alpha.c (alpha_return_addr_rtx): New variable.
4228 (alpha_save_machine_status): New; save it.
4229 (alpha_restore_machine_status): New; restore it.
4230 (alpha_init_expanders): New; clear it.
4231 (alpha_return_addr): New; set it.
4232 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
4233 is overly conservative, so search the insns explicitly.
4234 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
4235 (alpha_sa_size [VMS && !VMS]): Likewise.
4236 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
4237 (INIT_EXPANDERS): New definition.
4238
4239 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
4240 (output_prolog [!VMS]): Use them.
4241
4242 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
4243 (alpha_does_function_need_gp): ... a new function. Refine the
4244 CALL_INSN test to just TYPE_JSR.
4245 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
4246
4247 Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
4248
4249 * version.c: Bump for snapshot.
4250
4251 Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4252
4253 * pa.c (move_operand): Respect -mdisable-indexing.
4254 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
4255
4256 Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
4257
4258 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
4259 PPC601.
4260 (umulsidi3,umulsi3_highpart): Ditto.
4261 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
4262
4263 Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
4264
4265 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
4266 (alpha_handle_trap_shadows): ... a new function. Handle the entire
4267 function in one go. Emit RTL for trapb, instead of printf directly.
4268 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
4269 (trap_pending): Kill global variable.
4270 (output_epilog): Don't call final_prescan_insn.
4271 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
4272 * alpha.h (FINAL_PRESCAN_INSN): Remove.
4273 (MACHINE_DEPENENT_REORG): Define.
4274 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
4275 (trapb): New insn.
4276
4277 Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
4278
4279 Tune Haifa scheduler for Alpha:
4280 * alpha.h (ISSUE_RATE): Define.
4281 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
4282 EV4 adjustments to EV5.
4283 * alpha.md: Remove all scaling from function unit delays. Rework
4284 EV5 function units to match the CPU.
4285 (umuldi3_highpart): EV5 added the IMULH insn class.
4286
4287 Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
4288
4289 * pa.c (following_call): Fail if the CALL_INSN is an indirect
4290 call.
4291
4292 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
4293
4294 * cplus-dem.c (demangle_signature): Don't look for return types on
4295 constructors. Handle member template constructors.
4296
4297 Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
4298
4299 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
4300 * tree.h: Declare them.
4301
4302 Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
4303
4304 * configure.in: Handle --with-newlib.
4305 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
4306
4307 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
4308
4309 Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
4310
4311 * config/ptx4.h: Fix typo.
4312
4313 Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
4314
4315 * version.c: Bump for snapshot.
4316
4317 Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
4318
4319 * aclocal.m4: Substitute INSTALL.
4320 * configure: Re-built.
4321
4322 Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
4323
4324 * integrate.c (save_for_inline_copying): Avoid undefined pointer
4325 operations.
4326 (expand_inline_function): Likewise.
4327
4328 * dwarf2out.c (output_call_frame_info): Reinstate last change
4329 using flag_debug_asm check instead of flag_verbose_asm.
4330
4331 Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
4332
4333 * dwarf2out.c (output_call_frame_info): Remove last change.
4334
4335 1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4336
4337 * frame.c (__frame_state_for): Execute the FDE insns until the
4338 current pc value is strictly bigger than the target pc value.
4339
4340 Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
4341
4342 * regclass.c (init_reg_modes): If we can't find a mode for the
4343 register, use the previous one.
4344
4345 Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
4346
4347 * haifa-sched.c (print_block_visualization): Call fprintf directly,
4348 don't sprintf through an alloca'ed buffer.
4349
4350 Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
4351
4352 * reload.c (decompose): Always initialize val.base.
4353
4354 Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
4355
4356 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
4357 instead of aborting.
4358 * dwarf2out.c (output_call_frame_info): Call app_enable and
4359 app_disable to let GNU as accept the generated comments.
4360
4361 Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
4362
4363 * tree.h (get_file_function_name): Add declaration.
4364 * dwarf2out.c (output_call_frame_info): No need to cast
4365 get_file_function_name call anymore.
4366 * profile.c (toplevel): Remove get_file_function_name
4367 declaration.
4368 * c-lang.c (finish_file): Ditto.
4369
4370 Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
4371
4372 * Makefile.in (program_transform_name): Let autoconf substitute
4373 the correct value.
4374
4375 Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
4376
4377 * haifa-sched.c (schedule_block): If the first real insn in a
4378 block has any special notes attached to it, remove them.
4379
4380 Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
4381
4382 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
4383
4384 Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
4385
4386 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
4387
4388 Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
4389
4390 * Makefile.in (check-g77): New test target.
4391 (CHECK-TARGETS): Add check-g77.
4392
4393 Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
4394
4395 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
4396
4397 Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
4398
4399 * flow.c (print_rtl_with_bb): Cast alloca return value for
4400 in_bb_p.
4401
4402 Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
4403
4404 * i386.h (RETURN_ADDR_RTX): New definition that works for
4405 __builtin_return_address(0) and -fomit-frame-pointer.
4406
4407 Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
4408
4409 Bring over from FSF.
4410 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
4411
4412 * mips.c (function_arg): Handle passing a struct
4413 containing a double in a DFmode register without the PARALLEL.
4414
4415 Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
4416
4417 * pexecute.c: Use spawn if __CYGWIN32__.
4418
4419 * pexecute.c: Include "config.h" first, as per autoconf manual
4420 (from Paul Eggert <eggert@twinsun.com>).
4421
4422 Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
4423
4424 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
4425 optimisation for f/expr.o and f/stb.o.
4426
4427 Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
4428
4429 * cse.c (this_insn_cc0_mode): Initialize.
4430
4431 Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
4432
4433 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
4434
4435 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
4436
4437 Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
4438
4439 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
4440 that pair will dual-issue on the 21164 and plus+beq won't.
4441 (bne): Likewise for cmpeq+beq.
4442
4443 Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
4444
4445 * except.c (find_exception_handler_labels): Correct argument to free.
4446
4447 Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
4448
4449 * except.c (find_exception_handler_labels): Free LABELS when we're
4450 done.
4451
4452 Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
4453
4454 * version.c: Bump for snapshot.
4455
4456 Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
4457
4458 * flow.c (find_basic_blocks): Mark calls as potentially jumping
4459 to the EH labels.
4460
4461 Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
4462
4463 * configure.in: Substitute for "install" too.
4464 * configure: Rebuilt.
4465
4466 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
4467
4468 * Makefile.in (bootstrap-lean, compare-lean): New targets.
4469
4470 Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
4471
4472 * alias.c (base_alias_check): Two symbols can conflict if they
4473 are accessed via AND.
4474 (memrefs_conflict_p): Likewise.
4475
4476 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
4477 after flushing argument registers to the stack.
4478
4479 * Makefile.in (mostlyclean): Remove .regmove files.
4480
4481 Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
4482
4483 * libgcc2.c (__throw): Fix thinko.
4484
4485 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
4486
4487 * cplus-dem.c (demangle_template): Add new parameter. Handle new
4488 template-function mangling.
4489 (consume_count_with_underscores): New function.
4490 (demangle_signature): Handle new name-mangling scheme.
4491
4492 Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
4493
4494 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
4495 start and end.
4496
4497 Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
4498
4499 * frame.c: Remove last change.
4500 * dwarf2.h: Remove last change.
4501 * tree.h: Add declarations of DWARF2 unwind info support
4502 functions.
4503
4504 Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
4505
4506 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
4507 * tree.h (built_in_function): Likewise.
4508 * expr.c (expand_builtin): Likewise.
4509 * except.h: Likewise.
4510 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
4511 * libgcc2.c (copy_reg): New fn.
4512 (__throw): Use it.
4513
4514 Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
4515
4516 * c-typeck.c (build_binary_op): Warn about comparing signed vs
4517 unsigned if -W is specified and -Wno-sign-compare is not.
4518 * c-decl.c (warn_sign_compare): Initialize to -1.
4519 (c_decode_option): -Wall no longer implies -Wsign-compare.
4520
4521 Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4522
4523 * frame.c: Include gansidecl.h for PROTO.
4524 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
4525 defined. Don't declare dwarf2out_cfi_label here.
4526 * dwarf2.h: Add declarations of DWARF2 unwind info support
4527 functions.
4528 * m68k.c: Include dwarf2.h.
4529 (output_function_prologue): Add dwarf2 support.
4530 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
4531 (INCOMING_FRAME_SP_OFFSET): Likewise.
4532
4533 * integrate.c (expand_inline_function): Make sure there is at
4534 least one insn that can be used as an insertion point.
4535
4536 Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
4537
4538 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
4539
4540 Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
4541
4542 * version.c: Bump for snapshot.
4543
4544 Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
4545
4546 Bring over from FSF.
4547
4548 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
4549
4550 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
4551 (get_pc_via_rdpc): Renamed from get_pc_sp64.
4552 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
4553
4554 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
4555
4556 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
4557 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
4558 -malign-functions=.
4559 (sparc_align_{loops,jumps,funcs}_string): Declare.
4560 (sparc_align_{loops,jumps,funcs}): Declare.
4561 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
4562 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
4563 (STACK_BIAS): Define.
4564 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
4565 test.
4566 (SPARC_SETHI_P): New macro.
4567 (CONST_OK_FOR_LETTER_P): Use it.
4568 (ASM_OUTPUT_ALIGN_CODE): Define.
4569 (ASM_OUTPUT_LOOP_ALIGN): Define.
4570 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
4571 (sparc_align_{loops,jumps,funcs}): New globals.
4572 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
4573 -malign-functions=.
4574 (move_operand): Use SPARC_SETHI_P.
4575 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
4576 perform test.
4577 (arith11_double_operand): Likewise.
4578 (arith10_double_operand): Likewise.
4579 (finalize_pic): Finish sparc64 support.
4580 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
4581 64 bit constants if able.
4582 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
4583 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
4584 ! TARGET_FPU.
4585 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
4586 (get_pc_sp32): Use for sparc64 as well.
4587 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
4588 (sethi_di_sp64_const): Likewise.
4589 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
4590 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
4591 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
4592
4593 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
4594
4595 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
4596 * sparc/linux.h (COMMENT_BEGIN): Likewise.
4597 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
4598
4599 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
4600
4601 Add sparc64 linux support.
4602 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
4603 to xm_file list on 32-bit sparc-linux.
4604 * sparc/xm-sp64.h: New file.
4605 * sparc/linux64.h: New file.
4606 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
4607 Don't include xm-sparc.h.
4608 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
4609 * glimits.h (LONG_MAX): Handle sparc64.
4610
4611 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
4612
4613 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
4614 * sparc.h (ASM_COMMENT_START): Define.
4615 * sparc.c (output_function_prologue): Use it.
4616 (sparc_flat_output_function_{epi,pro}logue): Likewise.
4617
4618 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
4619
4620 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
4621 use sparc.h's copies.
4622 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
4623 ascii form as well.
4624
4625 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4626
4627 * sparc.c (dwarf2out_cfi_label): Add declaration.
4628 (save_regs, output_function_prologue): Remove cast for it.
4629 (sparc_flat_{save_restore,output_function_prologue): Likewise.
4630 ({save,restore}_regs): No longer inline.
4631
4632 Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4633
4634 * fold-const.c (make_range): Correctly handle cases of converting
4635 from unsigned to signed type.
4636
4637 Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
4638
4639 * fold-const.c (merge_ranges): Make sure that if one range is subset
4640 of another, it will always be the second range. Correct (+,-) case to
4641 account for this.
4642
4643 Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
4644
4645 * final.c (final_end_function): Also do dwarf2 thing if
4646 DWARF2_DEBUGGING_INFO.
4647 (final_start_function): Likewise.
4648
4649 Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
4650
4651 * expmed.c (expand_divmod): If compute_mode is not the same as
4652 mode, handle the case where convert_modes() causes op1 to no
4653 longer be a CONST_INT.
4654
4655 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
4656 note holding get_jump_flags() calculation to all JUMP_INSNs.
4657 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
4658 * rtl.c (reg_note_name): Add new note types.
4659
4660 Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
4661
4662 * rtlanal.c (computed_jump_p): Fix typo in last change.
4663
4664 Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
4665
4666 * loop.c (indirect_jump_in_function_p): Return 0
4667 by default.
4668
4669 Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
4670
4671 * rs6000/xm-rs6000.h: Fix thinko in last change.
4672 * rs6000/xm-sysv4.h: Likewise.
4673
4674 Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
4675
4676 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
4677
4678 Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
4679
4680 * reg-stack.c (find_blocks): Fix thinko in last change.
4681
4682 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4683
4684 * m68k.c (output_function_prologue): Add dwarf2 support.
4685
4686 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
4687 INCOMING_FRAME_SP_OFFSET): New definitions.
4688
4689 Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
4690
4691 * combine.c (try_combine): Use NULL_RTX instead of '0' where
4692 appropriate in calls to gen_rtx().
4693 * cse.c (cse_main): Likewise.
4694 * emit-rtl.c (gen_label_rtx): Likewise.
4695 * expr.c (init_expr_once): Likewise.
4696 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
4697 sched_analyze, init_rgn_data_dependences,
4698 compute_block_backward_dependences): Likewise.
4699 * sched.c (schedule_insns): Likewise.
4700 * varasm.c (immed_double_const): Likewise.
4701
4702 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
4703 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
4704
4705 Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
4706
4707 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
4708 (MULTILIB_DEFAULTS): Define.
4709 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
4710 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
4711 (LIBGCC_SPEC): Likewise.
4712 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
4713 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
4714 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
4715 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
4716 (EXTRA_PARTS, TAROUTOPTS): Delete.
4717 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
4718 (MULTILIB_OPTIONS): Define.
4719 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
4720 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
4721
4722 Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
4723
4724 * version.c: Bump for snapshot.
4725
4726 Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
4727
4728 * loop.c (loop_number): Delete function. Change all references
4729 to use uid_loop_num array.
4730 * loop.h (loop_number): Delete declaration.
4731 * unroll.c (unroll_loop): Change "loop_number" references to
4732 use uid_loop_num instead.
4733
4734 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
4735 conditional.
4736 (loop_unroll_iter): Remove unused variable and all references.
4737 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
4738 (insert_bct): Fix minor formatting problems.
4739 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
4740 (loop_unroll_iter): Removed unused decl.
4741 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
4742 Always record the unrolling factor.
4743
4744 * cse.c (simplify_relational_operation): Set h0u just like h0s.
4745 Similarly for h1u and h1s.
4746
4747 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
4748 (find_basic_blocks): Use computed_jump_p to determine if a
4749 particular JUMP_INSN is a computed jump.
4750 * reg-stack.c (find_blocks): Use computed_jump_p to determine
4751 if a particular JUMP_INSN is a computed jump.
4752 * rtlanal.c (jmp_uses_reg_or_mem): New function.
4753 (computed_jump_p): Likewise.
4754 * rtl.h (computed_jump_p): Declare.
4755 * genattrtab.c (pc_rtx): Define and initialize.
4756 * loop.c (loop_optimize): Always determine if the current
4757 function has a computed jump.
4758 (indirect_jump_in_function_p): Use computed_jump_p to determine
4759 if a particular JUMP_INSN is a computed jump.
4760
4761 * loop.c (fix_bct_param): Delete unused function.
4762 (check_bct_param): Likewise.
4763
4764 Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
4765
4766 * frame.c (__deregister_frame): Check properly for initialized object.
4767
4768 Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
4769
4770 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
4771
4772 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4773
4774 * jump.c (thread_jumps): check can_reverse_comparison_p before
4775 threading a reversed-condition jump.
4776
4777 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
4778 * haifa-sched.c (update_flow_info): Likewise.
4779
4780 Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
4781
4782 * Makefile.in (BOOT_CFLAGS): Use -O2.
4783
4784 * configure.in (strtoul, bsearch): Have autoconf check for these
4785 functions.
4786 * configure, config.in: Rebuilt.
4787
4788 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
4789 * mips/mips.h (alloca): Likewise.
4790 * rs6000/xm-rs6000.h (alloca): Likewise.
4791 * rs6000/xm-sysv4.h: Likewise.
4792
4793 Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
4794
4795 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
4796 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
4797 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
4798
4799 * except.c (end_eh_unwinder): Subtract 1 from return address.
4800 * libgcc2.c (__throw): Likewise.
4801 (find_exception_handler): Don't change PC here. Compare end with >.
4802
4803 Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
4804
4805 * v850.c (compute_register_save_size): Correct register
4806 number.
4807 * v850.md (save_interrupt, return_interrupt): Correct
4808 register number.
4809 * v850/lib1funcs.asm (save_interrupt): Correct register number.
4810 (return_interrupt): Use stack pointer, not element pointer.
4811
4812 1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
4813
4814 * configure.in, configure: Make sure to create the stage* and include
4815 symbolic links in each subdirectory.
4816
4817 Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
4818
4819 * pa.md (reload_peepholes): Don't allow addresses with side
4820 effects for the memory operand.
4821
4822 Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
4823
4824 * libgcc2.c (find_exception_handler): Subtract one from our PC when
4825 looking for a handler, to avoid hitting the beginning of the next
4826 region.
4827
4828 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
4829
4830 Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
4831
4832 * mips/abi64.h (LONG_MAX_SPEC): Define.
4833 * mips.h (LONG_MAX_SPEC): Define.
4834 (CPP_SPEC): Include long_max_spec.
4835 (EXTRA_SPECS): Include long_max_spec.
4836
4837 Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
4838
4839 * v850.c (construct_save_jarl): Fix thinko in last change.
4840
4841 Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
4842
4843 * version.c: Bump for snapshot.
4844
4845 Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
4846
4847 * libgcc2.c (find_exception_handler): Not found is -1.
4848
4849 * integrate.c (expand_inline_function): Move expand_start_bindings
4850 after expanding the arguments.
4851
4852 Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
4853
4854 * expr.c (expand_expr): Remove previous incorrect change.
4855 If target and slot has no DECL_RTL, then call mark_addressable
4856 again for the slot after we give it RTL.
4857
4858 Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
4859
4860 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
4861 again for the slot after we give it RTL.
4862
4863 Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
4864
4865 * v850.c (register_is_ok_for_epilogue,
4866 pattern_is_ok_for_epilogue, construct_restore_jr,
4867 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
4868
4869 * v850.h (pattern_is_ok_for_prologue,
4870 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
4871 predicates.
4872
4873 * v850.md: Replace prologue and epilogue patterns with a
4874 match_parallel pattern.
4875
4876 Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
4877
4878 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
4879 * configure.in: Use EGCS_PROG_INSTALL.
4880
4881 Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
4882
4883 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
4884 extern inline function.
4885
4886 Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
4887
4888 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
4889 (concat_loc_descriptor): New function.
4890 (loc_descriptor): Call it.
4891 (add_AT_location_description): Also elide the descriptor if both
4892 halves of a CONCAT are pseudos.
4893 (add_location_or_const_value_attribute): Recognize CONCAT too.
4894
4895 Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
4896
4897 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
4898
4899 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
4900 out-or-range reg_offset.
4901 (output_epilog): Likewise.
4902
4903 Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
4904
4905 * cse.c (simplify_relational_operation): If MODE specifies a
4906 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
4907 is derived from the sign bit of the low word.
4908
4909 Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
4910
4911 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
4912
4913 * dwarf2.h: Add DW_CFA_GNU_args_size.
4914 * frame.c (execute_cfa_insn): Likewise.
4915 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
4916 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
4917 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
4918 insn, hand it off to dwarf2out_stack_adjust.
4919 (dwarf2out_begin_prologue): Initialize args_size.
4920 * frame.h (struct frame_state): Add args_size.
4921 * libgcc2.c (__throw): Use args_size.
4922 * final.c (final_scan_insn): If we push args, hand off all insns
4923 to dwarf2out_frame_debug.
4924 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
4925
4926 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
4927 Handle epilogue restore of SP from FP.
4928 * emit-rtl.c (gen_sequence): Still generate a sequence if the
4929 lone insn has RTX_FRAME_RELATED_P set.
4930
4931 * frame.c (extract_cie_info): Handle "e" augmentation.
4932 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
4933 absence of UNALIGNED_*_ASM_OP.
4934 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
4935 (output_call_frame_info): Use "e" instead of "z" for augmentation.
4936 Don't emit augmentation fields length.
4937 (dwarf2out_do_frame): Move outside of #ifdefs.
4938 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
4939 opcodes.
4940
4941 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
4942 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
4943 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
4944 * sparc/sun4gas.h: New file.
4945 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
4946
4947 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
4948 __register_frame_table and __deregister_frame.
4949
4950 1997-09-15 Brendan Kehoe <brendan@cygnus.com>
4951
4952 * except.c (find_exception_handler_labels): Use xmalloc instead of
4953 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
4954 in some cases.
4955
4956 Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
4957
4958 * Makefile.in: Various changes to build info files
4959 in the object tree rather than the source tree.
4960
4961 Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
4962
4963 * fixinc.math: New file to fix math.h on some systems.
4964 * configure.in (freebsd, netbsd): Use fixinc.math on these
4965 systems.
4966 * configure: Rebuilt.
4967
4968 Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
4969
4970 * regmove.c (regmove_optimize): If we end up moving the
4971 original insn due to lifetime overlaps, make sure to move
4972 REG_NOTES too.
4973
4974 Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
4975
4976 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
4977
4978 Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
4979
4980 * haifa-sched.c (add_branch_dependences): Make each insn in
4981 a SCHED_GROUP_P block explicitly depend on the previous insn.
4982
4983 Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
4984
4985 * except.h: Prototype dwarf2 hooks.
4986 * expr.c: Adjust.
4987
4988 Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
4989
4990 * configure.in (native_prefix): Delete.
4991 (mips-dec-netbsd): Don't set prefix.
4992 (*linux*): Don't set prefix.
4993
4994 Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
4995
4996 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
4997 defined. If not defined, include <sys/varargs.h> if
4998 HAVE_SYS_VARARGS_H is defined.
4999 * configure.in: Test for varargs.h and sys/varargs.h.
5000 * configure: Regenerate with autoconf.
5001 * config.in: Regenerate with autoheader.
5002
5003 * cpplib.c (quote_string): Cast first arg of sprintf call
5004 from "unsigned char *" to "char *".
5005 (output_line_command): Ditto.
5006 (macroexpand): Ditto.
5007 (do_line): Cast atoi arg from "unsigned char *" to "char *".
5008
5009 Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
5010
5011 * version.c: Bump for snapshot.
5012
5013 * Makefile.in (compare): Exit with nonzero status if there
5014 are comparison failures. Note which files failed the
5015 comparison test in .bad_compare.
5016
5017 Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5018
5019 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
5020
5021 Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
5022
5023 * Makefile.in (LN, LN_S): New macros, use where appropriate.
5024 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
5025 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
5026 * configure: Regenerated.
5027
5028 Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
5029
5030 * loop.c (strength_reduce): Fix typo.
5031
5032 Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
5033
5034 * m88k/m88k.c (struct option): Rename to struct options.
5035 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
5036 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
5037 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
5038 __DOLPHIN__ or sysV88.
5039
5040 Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
5041
5042 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
5043 create new subreg.
5044
5045 Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
5046
5047 * config.sub: Accept 'amigados' for backward compatability.
5048
5049 Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5050
5051 * Makefile.in (testsuite/site.exp): New target.
5052 (check-gcc, check-g++): Depend on testsuite/site.exp.
5053 Don't stop for failure.
5054
5055 Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
5056
5057 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
5058 if DWARF2_UNWIND_INFO.
5059
5060 Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
5061
5062 Add support for exception handling using DWARF 2 frame unwind info.
5063 Currently works on SPARC and MIPS, and almost on x86.
5064
5065 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
5066 next_stack_level, in_reg_window): Helper fns.
5067 (__throw): Implement for DWARF2_UNWIND_INFO.
5068
5069 * expr.c (expand_builtin): Handle builtins used by __throw.
5070 * tree.h (enum built_in_function): Add builtins used by __throw.
5071 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
5072 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
5073 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
5074 (expand_builtin_extract_return_addr): Likewise.
5075 (expand_builtin_frob_return_addr): Likewise.
5076 (expand_builtin_set_return_addr_reg): Likewise.
5077 (expand_builtin_eh_stub): Likewise.
5078 (expand_builtin_set_eh_regs): Likewise.
5079 (eh_regs): Choose two call-clobbered registers for passing back values.
5080
5081 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
5082 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
5083 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
5084 (stmp-multilib): Likewise.
5085 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
5086
5087 * except.c: #include "defaults.h".
5088 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
5089 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
5090 (register_exception_table_p): New fn.
5091 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
5092 (end_eh_unwinder): Likewise.
5093
5094 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
5095 call __register_frame and __deregister_frame as needed.
5096 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
5097 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
5098 EH_FRAME_SECTION_ASM_OP.
5099 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
5100 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
5101 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
5102
5103 * dwarf2out.c (output_call_frame_info): If no support for
5104 EXCEPTION_SECTION, mark the start of the frame info with a
5105 collectable tag.
5106 * collect2.c (frame_tables): New list.
5107 (is_ctor_dtor): Recognise frame entries.
5108 (scan_prog_file): Likewise.
5109 (main): Pass -fno-exceptions to sub-compile. Also do collection
5110 if there are any frame entries.
5111 (write_c_file_stat): Call __register_frame_table and
5112 __deregister_frame as needed.
5113 (write_c_file_glob): Likewise.
5114
5115 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
5116 Also require unaligned reloc support.
5117 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
5118 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
5119 * sparc/sysv4.h: Not here.
5120
5121 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
5122 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
5123 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
5124
5125 * libgcc2.c (L_eh): Reorganize, moving code shared by different
5126 EH implementations to the top.
5127 (find_exception_handler): Split out. Start from 0. Compare against
5128 end with >=.
5129 (__find_first_exception_table_match): Use it.
5130 * except.c (output_exception_table): Don't do anything if there's
5131 no table. Don't output a first entry of zeroes.
5132 (eh_outer_context): Adjust properly.
5133 (add_eh_table_entry): Use xrealloc.
5134 * toplev.c (compile_file): Just call output_exception_table.
5135
5136 Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
5137
5138 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
5139
5140 Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
5141
5142 * except.c (eh_outer_context): Do masking using expand_and.
5143
5144 Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
5145
5146 Add port done awhile ago for the ARC cpu.
5147 * arc/arc.h: New file.
5148 * arc/arc.c: New file.
5149 * arc/arc.md: New file.
5150 * arc/initfini.c: New file.
5151 * arc/lib1funcs.asm: New file.
5152 * arc/t-arc: New file.
5153 * arc/xm-arc.h: New file.
5154 * ginclude/va-arc.h: New file.
5155 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
5156 * ginclude/varargs.h: Likewise.
5157 * Makefile.in (USER_H): Add va-arc.h.
5158 * configure.in (arc-*-elf*): Recognize.
5159 * longlong.h: Add ARC support.
5160
5161 Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
5162
5163 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
5164 when clearing non-BLKmode data.
5165
5166 Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
5167
5168 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
5169 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
5170
5171 * xm-m88k.h (USG): Only define if it hasn't already been defined.
5172
5173 * Makefile.in (risky-stage1): Delete gratutious whitespace.
5174
5175 * Makefile.in (clean): Delete libgcc1-test.
5176
5177 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
5178
5179 Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
5180
5181 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
5182 template.
5183
5184 Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5185
5186 * dwarf2out.c (output_call_frame_info): Call named_section.
5187
5188 Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
5189
5190 * haifa-sched.c (print_value): Fix last change.
5191
5192 Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
5193
5194 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
5195 write_symbols.
5196
5197 Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
5198
5199 * mips.c (function_prologue): Set up the CFA when ABI_32.
5200
5201 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
5202 for dwarf2 unwind info.
5203 (output_function_prologue, sparc_flat_output_function_prologue): Same.
5204
5205 * final.c (final_end_function): Check dwarf2out_do_frame instead
5206 of DWARF2_DEBUG for dwarf2 unwind info.
5207 (final_scan_insn): Likewise.
5208 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
5209 (final): Not here.
5210
5211 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
5212 count > 0.
5213
5214 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
5215
5216 Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
5217
5218 * v850.h (ASM_SPEC): Pass on target processor.
5219 (CPP_PREDEFINES): Only define if not already specified.
5220 (TARGET_VERSION): Only define if not already specified.
5221 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
5222 processor.
5223 (EXTRA_SWITCHES): Extra entries in the switches array.
5224 (TARGET_DEFAULT): Set default target processor.
5225
5226 Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
5227
5228 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
5229 cases, add %# and %/, and add : to make them into extended asms.
5230
5231 Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
5232
5233 * alias.c (init_alias_analysis): Clean up incompatible pointer
5234 type warning in bzero.
5235 * regmove.c (regmove_optimize): Ditto.
5236 * haifa-sched.c (find_rgns): Ditto.
5237
5238 * haifa-sched.c (print_value): Clean up ptr->int cast
5239 warnings.
5240
5241 Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
5242
5243 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
5244 * install.texi (Configurations): Ditto.
5245 * config.sub: Ditto.
5246
5247 Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
5248
5249 * Makefile.in (sdbout.o): Depend on insn-config.h.
5250
5251 Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
5252
5253 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
5254 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
5255
5256 Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
5257
5258 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
5259 prologue insn, only the first elt is significant.
5260 (output_call_frame_info): For exception handling, always use 4-byte
5261 fields as specified by the dwarf2 spec.
5262 Don't skip trivial FDEs.
5263
5264 Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
5265
5266 * version.c: Bump for snapshot.
5267
5268 Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
5269
5270 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
5271 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
5272 when op1_is_pow2.
5273
5274 Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
5275
5276 * final.c (shorten_branches): During first pass, assume worst
5277 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
5278
5279 * Makefile.in (distclean): Remove various things left around
5280 by running the testsuite.
5281
5282 Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
5283
5284 * configure.in (out_file): Emit definition to config.status in order
5285 to have a defined value for configure.lang.
5286 * configure: Re-built.
5287
5288 Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
5289
5290 * configure.in: Make symlink to as-new rather than as.new. Similarly
5291 for ld-new.
5292 * configure: Rebuilt.
5293
5294 Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
5295
5296 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
5297
5298 Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
5299
5300 * sparc/sparc.md: Add ultrasparc scheduling support.
5301 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
5302
5303 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
5304
5305 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
5306 as initial value for real_label_map.
5307 (copy_for_inline): Likewise.
5308
5309 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5310
5311 * sched.c (update_flow_info) When looking if to set found_split_dest
5312 or found_orig_dest, look at all parts of a PARALLEL.
5313 * haifa-sched.c (update_flow_info): Likewise.
5314
5315 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
5316
5317 * v850: New directory for v850 port.
5318 * v850/lib1funcs.asm: New file.
5319 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
5320 * ginclude/va-v850.h: New file.
5321 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
5322 * configure.in (mn10200-*-*): New target.
5323 * configure: Rebuilt.
5324 * config.sub: Handle v850-elf.
5325 * Makefile.in (USER_H): Add va-mn10200.h.
5326 * invoke.texi: Document v850 stuff.
5327
5328 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
5329
5330 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
5331 has integer TYPE_{MAX,MIN}_VALUE before using them.
5332
5333 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
5334 __HPUX_ASM__ versions.
5335
5336 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
5337
5338 * install.sh: Delete duplicate install script.
5339
5340 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
5341
5342 * reg-stack.c (subst_stack_regs): Pop the stack register for a
5343 computed goto which sets the same stack register.
5344
5345 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
5346 destination are both on the regstack.
5347 (subst_stack_regs_pat): Put the destination at the top of the regstack.
5348
5349 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
5350
5351 * mips.md (nonlocal_goto_receiver): Define.
5352
5353 * profile.c (output_arc_profiler): Check next_insert_after for non
5354 NULL before deferencing it.
5355
5356 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
5357
5358 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
5359
5360 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
5361
5362 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
5363
5364 * toplev.c (rest_of_compilation): For passes starting with
5365 flow_analysis, use print_rtl_with_bb instead of print_rtl.
5366
5367 * print-rtl.c (print_rtl_single): Print a single rtl value to a
5368 file.
5369
5370 * flow.c (print_rtl_with_bb): Print which insns start and end
5371 basic blocks. For the start of a basic block, also print the live
5372 information.
5373
5374 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
5375
5376 * toplev.c (main): Change #elif to #else/#ifdef
5377
5378 * tlink.c: Include ctype.h.
5379 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
5380
5381 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
5382
5383 * bitmap.c: Conditionally include stdlib.h.
5384 (free): Provide a declaration if NEED_DECLARATION_FREE.
5385
5386 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
5387
5388 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
5389
5390 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
5391
5392 * profile.c (output_arc_profiler): Verify next_insert_after is an
5393 INSN before and after skipping a stack pop.
5394
5395 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5396
5397 * final.c (shorten_branches): Don't count the lengths of deleted
5398 instructions.
5399
5400 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
5401
5402 * version.c: Bump for snapshot.
5403
5404 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
5405
5406 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
5407 two bitmaps ANDed together.
5408 (bitmap_print): Declare.
5409
5410 * bitmap.c (function_obstack): Don't declare any more.
5411 (bitmap_obstack): Obstack for allocating links from.
5412 (bitmap_obstack_init): New static to say whether to initialize
5413 bitmap_obstack.
5414 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
5415 (bitmap_release_memory): Free all memory allocated from
5416 bitmap_obstack.
5417
5418 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
5419 EXECUTE_IF_AND_IN_BITMAP.
5420
5421 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
5422
5423 * alias.c (true_dependence): Address with AND can alias scalars.
5424 (anti_dependence, output_dependence): Likewise.
5425
5426 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
5427
5428 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
5429
5430 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
5431 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
5432 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
5433 definitions. Use -qrtems instead of -mrtems.
5434
5435 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
5436
5437 * xm-sco5.h (sys_siglist): Define.
5438 (SYS_SIGLIST_DECLARED): Likewise.
5439
5440 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
5441
5442 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
5443
5444 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
5445
5446 * except.c (eh_outer_context): Expand masking operation using
5447 expand_binop.
5448
5449 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
5450
5451 * alpha.md (floatdisf2-1): New pattern.
5452
5453 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
5454
5455 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
5456 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
5457 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
5458 * gcc.texi: Note that if you define sys_siglist that you should
5459 also define SYS_SIGLIST_DECLARED.
5460
5461 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
5462 are relative to the next instruction, not the current instruction.
5463
5464 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
5465
5466 * local-alloc.c (contains_replace_regs): New function.
5467 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
5468 verify that there is no existing REG_EQUIV note, and add a call to
5469 contains_place_regs.
5470
5471 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5472
5473 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
5474 (STARTFILE_SPEC): Always use crtbegin.o%s
5475 (ENDFILE_SPEC): Always use crtend.o%s.
5476
5477 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
5478
5479 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
5480 is passed in.
5481 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
5482 SFmode for 64 bit hosts.
5483
5484 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
5485
5486 * fixincludes: Permits spaces between # and define. Discard C++
5487 comments in sys/pci.h on HP/UX 10.20.
5488
5489 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
5490
5491 * version.c: Bump for snapshot.
5492
5493 * pa.c (restore_unscaled_index_insn_codes): New function.
5494 (record_unscaled_index_insn_codes): Likewise.
5495 (output_function_prologue): Call restore_unscaled_index_insn_codes.
5496 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
5497 (pa_reorg): Call record_unscaled_index_insn_codes.
5498
5499 * haifa-sched.c (move_insn): Handle notes correctly for insns
5500 with SCHED_GROUP_P set.
5501
5502 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5503
5504 * alpha/xm-linux.h (USE_BFD): Undef before define.
5505
5506 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
5507
5508 * cse.c (cse_insn): Don't record BLKmode values.
5509
5510 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
5511
5512 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
5513
5514 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
5515
5516 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
5517 * collect2.c (sys_errlist): Likewise.
5518 * cpplib.c (sys_errlist): Likewise.
5519 * gcc.c (sys_errlist): Likewise.
5520 * protoize (sys_errlist): Likewise.
5521 * configure.in: Check for strerror.
5522 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
5523 * xm-gnu.h (HAVE_STRERROR): Likewise.
5524 * xm-linux.h (HAVE_STRERROR): Likewise.
5525 * xm-netbsd.h (HAVE_STRERROR): Likewise.
5526 * xm-bsd386.h (HAVE_STRERROR): Likewise.
5527 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
5528 * xm-dos.h (HAVE_STRERROR): Likewise.
5529 * xm-mingw32.h (HAVE_STRERROR): Likewise.
5530 * xm-pa.h (HAVE_STRERROR): Likewise.
5531 * xm-papro.h (HAVE_STRERROR): Likewise.
5532 * xm-sysv4.h (HAVE_STRERROR): Likewise.
5533 * configure, config.in: Rebuilt.
5534
5535 * Makefile.in: Add several missing "else true" clauses.
5536
5537 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
5538 * mips-tfile.c: Likewise.
5539 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
5540 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
5541 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
5542 * configure.in: Check for sys_siglist declaration.
5543 * configure, config.in: Rebuilt.
5544
5545 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
5546
5547 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
5548 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
5549 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
5550 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
5551 * rs6000/sysv4.h (extra_subtarget_switches): Added new
5552 macro EXTRA_SUBTARGET_SWITCHES.
5553 * configure.in (sh*-*-rtems*): New target.
5554 * sh/rtems.h: New file.
5555 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
5556 * configure: Rebuilt.
5557
5558 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
5559
5560 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
5561
5562 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
5563
5564 * rs6000.md: Make DF fused-add operations pay attention to
5565 -mno-fused-add.
5566
5567 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
5568
5569 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
5570
5571 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
5572
5573 * pa.md (reload_peepholes): Make sure operand is a REG before
5574 examining REGNO. Allow general registers too.
5575
5576 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
5577
5578 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
5579
5580 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
5581
5582 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
5583 to reallocate abbrev_die_table.
5584
5585 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
5586
5587 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
5588
5589 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5590
5591 * Makefile.in (config.status): Depend on version.c
5592
5593 * expr.h (insn_gen_function): Reenable prototype.
5594
5595 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
5596 first parameter.
5597
5598 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
5599
5600 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
5601
5602 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
5603
5604 * version.c: Bump for latest snapshot.
5605
5606 * bc-optab.c: Conditionally include stdlib.h.
5607 (free): Provide a declaration if NEED_DECLARATION_FREE.
5608 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
5609 * rtl.h (free): Remove declaration.
5610 * tree.h (free): Remvoe declaration.
5611
5612 * configure: Rebuilt.
5613
5614 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
5615
5616 * flags.h (flag_move_all_movables): Declare.
5617 (flag_reduce_all_givs): Likewise.
5618 * loop.c (move_movables): Handle flag_move_all_movables.
5619 (strength_reduce): Handle flag_reduce_all_givs.
5620 * toplev.c (flag_move_all_movables): Define.
5621 (flag_reduce_all_givs): Likewise.
5622 (f_options): Add -fmove-all-movables and -freduce-all-givs.
5623 * invoke.texi: Document new options, including alias stuff that
5624 wasn't included last time.
5625
5626 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
5627
5628 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
5629 * t-mn10200: Ditto.
5630 * t-vxsparc: Ditto.
5631 * t-vxworks68: Ditto.
5632 * t-vxworks960: Ditto.
5633 * t-vx29k: Ditto.
5634
5635 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
5636
5637 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
5638 if not already defined, and USE_C_ALLOCA not defined.
5639
5640 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
5641
5642 * config.guess: Replace with script that uses ../config.guess.
5643
5644 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
5645 if USE_GNULIBC_1 is not defined.
5646
5647 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
5648
5649 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
5650 * config.guess: Recognize alpha-linux-gnulibc1.
5651 * configure.in (alpha-*-linux-gnulibc1): New target.
5652 (alpha-*-linux-gnu*): Don't build crtbegin/end.
5653
5654 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
5655
5656 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
5657 last change.
5658
5659 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
5660
5661 * loop.c (combine_movables): Earlier insns don't match later ones.
5662
5663 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5664
5665 * config/linux.h (CC1_SPEC): Define it only if not defined.
5666
5667 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
5668 <linux.h>
5669
5670 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
5671 USE_GNULIBC_1 is not defined.
5672
5673 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
5674
5675 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
5676 as 1 if USE_GNULIBC_1 is not defined.
5677
5678 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
5679
5680 * reorg.c (dbr_schedule): Allow current_function_return_rtx
5681 to be something other than a REG.
5682 * function.c (expand_function_end): Fix current_function_return_rtx
5683 if it was a pseudo.
5684
5685 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
5686 * x-netbsd: Likewise
5687 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
5688 (INSTALL_HEADERS): Delete.
5689 * x-dguxbcs: Likewise.
5690 * x-hp3bsd44: Likewise
5691 * x-pa: Likewise.
5692
5693 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
5694
5695 * i386.md (pop): pop increments the stack pointer.
5696 (prologue_set_stack_ptr): New pattern.
5697 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
5698 instead of subsi3.
5699
5700 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
5701
5702 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
5703 address where an offsettable address is required.
5704
5705 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
5706
5707 * loop.c (check_final_value): Don't miss a biv increment in a
5708 parallel.
5709
5710 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
5711
5712 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
5713 TYPE_DECL_IS_STUB instead of DECL_NAME.
5714
5715 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5716
5717 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
5718
5719 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
5720
5721 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
5722
5723 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
5724
5725 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
5726 (find_post_sched_live): Likewise.
5727
5728 * haifa-sched.c (schedule_block): Remove old code to get arguments
5729 from hard regs into pseudos early.
5730
5731 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
5732
5733 * version.c: Bump for new snapshot.
5734
5735 * local-alloc.c (update_equiv_regs): All the target to reject
5736 promotion of some REG_EQUAL to REG_EQUIV notes.
5737 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
5738
5739 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
5740 secondary reloads.
5741
5742 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
5743 store of the argument registers.
5744
5745 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
5746
5747 * fold-const.c (multiple_of_p): New function.
5748 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
5749
5750 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
5751
5752 * expr.h (insn_gen_function): Temporarily remove prototype.
5753
5754 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
5755
5756 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
5757 filenames. Use sed to extract base filename for install.
5758
5759 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
5760
5761 * unroll.c (find_splittable_givs): Only share if two givs have the
5762 same add and multiply values.
5763
5764 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
5765
5766 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
5767 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
5768
5769 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
5770
5771 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
5772 around branch tables.
5773 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
5774 and .end_brtab directives if TARGET_GAS.
5775
5776 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
5777
5778 * alias.c (true_dependence): Pass x_addr not x to varies.
5779
5780 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
5781 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
5782 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
5783 declarations.
5784 * config.in, configure: Regenerate.
5785
5786 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
5787
5788 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
5789 LO_SUM.
5790 (record_set): Handle LO_SUM like PLUS.
5791 (init_alias_analysis): When following chains of base addresses,
5792 do not stop on reaching a hard register.
5793
5794 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
5795
5796 * version.c: Bump for new snapshot.
5797
5798 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
5799
5800 * alpha.h (ARCH_ASM_FILE_START): Define.
5801 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
5802 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
5803
5804 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
5805
5806 * Makefile.in (install-common): Put gcov comment at start of line.
5807
5808 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
5809
5810 * alias.c (init_alias_analysis): When simplifying the reg_base_value
5811 array, simplify entries for hard registers too.
5812
5813 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
5814
5815 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
5816 list.
5817
5818 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
5819
5820 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
5821 block_stack before dereferencing it.
5822
5823 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
5824
5825 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
5826
5827 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
5828
5829 * cplus-dem.c: Add 'extern' to prepends_underscore.
5830
5831 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
5832
5833 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
5834 (get_issue_rate): Delete.
5835 * pa.h (ISSUE_RATE): Define.
5836
5837 * configure.in: Turn on haifa by default for the PA.
5838 * configure: Rebuilt.
5839 * pa.c (override_options): Accept -mschedule=7200 option.
5840 (pa_adjust_cost): No longer need to scale costs for newer
5841 processors.
5842 * pa.h (enum processor_type): Add PROCESSOR_7200.
5843 * pa.md: Revamp scheduling parameters to work better with
5844 haifa. Add scheduling parameters for the 7200.
5845
5846 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
5847 insns too.
5848 (schedule_block): When adjusting basic_block_{head,end}, account
5849 for movement of SCHED_GROUP_P insns too.
5850
5851 * haifa-sched.c (debug_dependencies): Fix thinko.
5852
5853 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
5854 (site.exp, check, check-g++, check-gcc): New targets.
5855
5856 * haifa-sched.c: Make lots of variables static.
5857
5858 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5859
5860 * expr.h, real.h: Finish prototyping.
5861
5862 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
5863
5864 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
5865 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
5866 * reload1.c: Undo bugfix from Aug 11.
5867
5868 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
5869
5870 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
5871 quotes around the name.
5872 * configure: Regenerate.
5873
5874 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
5875
5876 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
5877
5878 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
5879
5880 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
5881 to sub-makes to avoid building more passes than the user might have
5882 requested on the command line.
5883
5884 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
5885
5886 * configure.in: Expurgate `broken_install' (install is
5887 autoconfed).
5888
5889 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
5890 relevant).
5891
5892 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
5893
5894 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
5895 functions and declarations.
5896 (analyze_loop_iterations): Use condjump_p.
5897 (insert_bct): Likewise. Use exact_log2.
5898
5899 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
5900
5901 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
5902 (schedule_region): Likewise.
5903 (schedule_insns): Likewise.
5904
5905 * PROJECTS: Update with Haifa stuff.
5906
5907 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
5908
5909 * version.c: Change the version string to look like:
5910 egcs-2.90.00 970814 (gcc2-970802 experimental).
5911
5912 * loop.c (is_conditional_branch): Make definition match declaration.
5913
5914 * gcc.c: Take out experimental snapshot warning message.
5915
5916 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
5917
5918 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
5919 print out the names of the notes. Print out the name of the insn
5920 that is not a note, and not an {,CALL_,JUMP_}INSN.
5921
5922 Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
5923
5924 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
5925 again for the slot after we give it RTL.
5926
5927 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
5928
5929 * configure.in (haifa configury): Fix typo.
5930 * configure: Regenerate.
5931
5932 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
5933
5934 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
5935
5936 * gcc.info*: Rebuilt.
5937
5938 * COPYING.g77, README.g77: New files.
5939 * real.c (ereal_unto_float, ereal_unto_double): New functions.
5940 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
5941 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
5942
5943 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
5944
5945 * Integrate Haifa instruction scheduler.
5946 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
5947 to sched with $(SCHED_CFLAGS.
5948 * configure.in: Handle --enable-haifa.
5949 * configure: Rebuilt.
5950 * flags.h: Add new flags for haifa instruction scheduler.
5951 * genattrtab.c (expand_units): For haifa, don't subtract one
5952 when computing blockage.
5953 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
5954 (flag_schedule_speculative): Ditto.
5955 (flag_schedule_speculative_load): Ditto.
5956 (flag_schedule_speculative_load_dangerous): Ditto.
5957 (flag_schedule_reverse_before_reload): Ditto.
5958 (flag_schedule_reverse_after_reload): Ditto.
5959 (flag_branch_on_count_reg): Ditto.
5960 (f_options): Add Haifa switches.
5961 (main): Turn off some Haifa options if appropriate macro is
5962 defined. Process Haifa switches.
5963 * unroll.c (iteration_info): No longer static, since Haifa
5964 scheduler uses it.
5965 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
5966 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
5967 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
5968 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
5969 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
5970 storage for the Haifa scheduler.
5971 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
5972 LABEL_NEXTREF.
5973 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
5974 are defined, call analyze_loop_iterations and insert_bct to use
5975 countdown loops.
5976 (record_giv): Refine test for jumps out of loops if HAIFA is
5977 defined.
5978 (analyze_loop_iterations): New function to identify if we can use
5979 a countdown loop.
5980 (insert_bct): Insert countdown loop.
5981 (instrument_loop_bct): Low level code to insert countdown loop.
5982 (loop_number): Calculate UID of loop.
5983 (indirect_jump_in_function_p): Return true if an indirect jump is
5984 in the function.
5985 (is_power_of_2): Return true if value is a power of 2.
5986 (is_conditional_branch): Return true if insn is a conditional
5987 jump.
5988 (fix_bct_param): Process -fbct-{min,max}-N switches.
5989 (check_bct_param): Return true if loop should be instrumented.
5990 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
5991 (loop_optimize): Initialize.
5992 (get_condition_for_loop): Ditto.
5993 * loop.c (strength_reduce): Inside of code that uses #ifdef
5994 HAVE_decrement_and_branch_on_count code, test it to make sure the
5995 condition is true.
5996 (instrument_loop_bct): Ditto.
5997 * haifa-sched.c: New file.
5998
5999
6000 * Integrate regmove pass.
6001 * Makefile.in (OBJS): Add regmove.o
6002 (regmove.o): Add dependencies.
6003 * flow.c (find_use_as_address): No longer static.
6004 * rtl.h (find_use_as_address): Declare.
6005 * toplev.c (regmove_dump, flag_regmove): Define.
6006 (f_options): Add -fregmove.
6007 (regmove_dump_file, regmove_time): Define.
6008 (fatal_insn): Close the regmove dump file.
6009 (compile_file): Initialize regmove_time; open/close the regmove dump
6010 file as needed. Print regmove time as needed.
6011 (rest_of_compilation): Run regmove pass if requested, dump
6012 RTL after regmove if requested.
6013 (main): If -O2 or more, turn on regmove. Handle dump switches.
6014 * regmove.c: New file.
6015
6016 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
6017
6018 * Integrate tlink patch from jason@cygnus.com
6019 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
6020 (process_command): Increment n_switches for them. Don't discard
6021 their args. Validate them.
6022 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
6023 From Rohan Lenard.
6024 (process_command): Set include_prefixes from COMPILER_PATH.
6025 (main): Set COLLECT_GCC_OPTIONS sooner.
6026 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
6027 * tlink.c, hash.c, hash.h: New files.
6028 * Makefile.in (USE_COLLECT2): Always use collect2.
6029 (collect2): Depend on and link in hash.o and tlink.o.
6030 (tlink.o, hash.o): Add dependencies.
6031
6032 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
6033
6034 * Integrate alias analysis changes from jfc@mit.edu
6035 * Makefile.in (OBJS): Add alias.o
6036 (alias.o): Add dependencies.
6037 * alias.c: New file.
6038 * sched.c: Remove alias analysis code. It lives in alias.c now.
6039 (sched_analyze_2): Add new arguments to true_dependence.
6040 (schedule_insns): Always call init_alias_analysis.
6041 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
6042 mark return value from such functions as a pointer and keep track of
6043 them for alias analysis. If a return value from a function is a
6044 pointer, mark it as such.
6045 * combine.c (distribute_notes): Handle REG_NOALIAS.
6046 * cse.c (struct write_data): Delete. No longer needed.
6047 (invalidate): Don't call set_nonvarying_address_components anymore.
6048 Use true_dependence to decide if an entry should be removed from
6049 the hash table.
6050 (invalidate_memory): Remove WRITES argument, simplify appropriately.
6051 Fix all callers.
6052 (note_mem_written): Similarly for WRITE_PTR argument.
6053 (invalidate_from_clobbers): Similarly for W argument.
6054 (invalidate_for_call): Remove memory elements from the hash table.
6055 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
6056 (cse_rtx_varies_p): New function. Derived from old
6057 cse_rtx_addr_varies_p.
6058 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
6059 Don't call note_mem_written anymore. Stack pushes invalidate the stack
6060 pointer if PUSH_ROUNDING is defined. No longer need to call
6061 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
6062 (skipped_writes_memory): Remove variable.
6063 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
6064 (invalidate_skipped_block): Simplify for new alias analysis code.
6065 (cse_set_around_loop): Likewise.
6066 (cse_main): Call init_alias_analysis.
6067 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
6068 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
6069 (f_options): Add new alias checking arguments.
6070 (main): Set flag_alias_check when optimizing.
6071 * local_alloc (validate_equiv_mem_from_store): Add new arguments
6072 to true_dependence.
6073 (memref_referenced_p): Likewise.
6074 * loop.c (NUM_STORES): Increase to 30.
6075 (prescan_loop): Only non-constant calls set unknown_address_altered.
6076 (invariant_p): Add new arguments to true_dependence.
6077 (record_giv): Initialize unrolled and shared fields.
6078 (emit_iv_add_mult): Call record_base_value as needed.
6079 * loop.h (struct induction): Add unrolled and shared fields.
6080 * unroll.c (unroll_loop): Call record_base_value as needed.
6081 (copy_loop_body): Likewise.
6082 (final_biv_value): Likewise.
6083 (final_giv_value): Likewise.
6084 (find_splittable_regs): Likewise. Only create one new pseudo
6085 if we have multiple address GIVs that were combined with the same
6086 dst_reg GIV. Note when a new register is created due to unrolling.
6087 * rtl.c (reg_note_name): Add REG_NOALIAS.
6088 * rtl.h (enum reg_note): Similarly.
6089 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
6090 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
6091 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
6092 (true_dependence, read_dependence, anti_dependence): Likewise.
6093 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
6094 (mark_user_reg, mark_reg_pointer): Likewise.
6095
6096
6097 * Integrate reload bugfix from Wilon which enables the PA port
6098 to bootstrap again.
6099 * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
6100 OPERAND_ADDRESS when computing how many registers an insn needs.
6101 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
6102 conflict.
6103 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
6104 OPADDR_ADDR reload.
6105 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
6106 in reload_reg_use_in_op_addr do not reach the end.
6107 do not reach the end.
6108 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
6109 RELOAD_FOR_OPERAND_ADDRESS.
6110
6111 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
6112
6113 * egcs project officially starts.
6114
This page took 0.282332 seconds and 6 git commands to generate.