ANSI does not allow a prototype to specify an item smaller than an int if the functio...
[gcc.git] / gcc / ChangeLog
1 Thu May 21 09:04:42 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
3 * gengenrtl.c (type_from_format, accessor_from_format): Change
4 type of parameter `c' from `char' to `int'.
5
6 Wed May 20 22:28:34 1998 Jeffrey A Law (law@cygnus.com)
7
8 * warn_summary, test_summary: New scripts from
9 Kaveh Ghazi and Alexandre Oliva respectively.
10
11 * gcse.c (current_function_calls_longjmp): Declare.
12
13 1998-05-20 Jason Merrill <jason@yorick.cygnus.com>
14
15 * dwarf2out.c (base_type_die): Use int_size_in_bytes.
16
17 Wed May 20 01:11:02 1998 Doug Evans (devans@cygnus.com)
18 Jeff Law (law@cygnus.com)
19
20 * Global CSE and constant/copy propagation.
21 * Makefile.in (OBJS): Add gcse.o
22 (STAGESTUFF): Add *.gcse.
23 (gcse.o): Add dependencies.
24 (mostlyclean): Remove *.gcse and */*.gcse.
25 * gcse.c: New file.
26 * loop.c (loop_optimize): Move call to init_alias_analysis.
27 * recog.c (validate_replace_src): New function.
28 * toplev.c (gcse_dump): New global variable.
29 (flag_gcse, gcse_time): Likewise.
30 (compile_file): Initialize gcse_time and clean out the gcse dump
31 file if necessary.
32 (rest_of_compilation): Call gcse_main as requested. Dump RTL
33 after gcse if requested.
34 (main): Enable gcse for -O2 and above. Handle -dG. Enable gcse
35 dumps for -da.
36 * gcc.texi: Add gcse related internal documentation.
37 * invoke.texi: Note new command line options for gcse.
38 * tm.texi: Document AVOID_CCMODE_COPIES.
39 * mips.h (AVOID_CCMODE_COPIES): Define.
40
41 Tue May 19 22:31:20 1998 Jeffrey A Law (law@cygnus.com)
42
43 * Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
44 exists.
45 (stmp-fixproto): Simlarly for running fixproto.
46 * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.
47
48 Tue May 19 19:08:52 1998 Jim Wilson <wilson@cygnus.com>
49
50 * config/mips/mips.c (double_memory_operand): Accept any MEM during
51 reload when TARGET_64BIT.
52
53 Tue May 19 18:21:25 1998 Jim Wilson <wilson@cygnus.com>
54
55 Finish incomplete change started by Kenner.
56 * configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines.
57 (powerpcle-*-cygwin32): Delete xm_defines.
58 * final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use
59 HAVE_STAB_H instead of NO_STAB_H.
60 * config/xm-linux.h (NO_STAB_H): Delete.
61 (HAVE_STAB_H): Undefine.
62 * config/i386/xm-go32.h (NO_STAB_H): Delete.
63
64 1998-05-19 Jim Wilson <wilson@cygnus.com>
65
66 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore
67 LANG_TYPE trees with DECL_SOURCE_LINE of 0.
68
69 Tue May 19 15:07:54 1998 Todd Vierling <tv@netbsd.org>
70
71 * arm/netbsd.h: Ensure DWARF2_UNWIND_INFO is undefined.
72
73 Tue May 19 17:19:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
74
75 * reload1.c (reload_reg_free_for_value_p): New function.
76 (allocate_reload_reg, choose_reload_regs): Use it.
77
78 Tue May 19 11:51:00 EDT 1998 Andrew MacLeod (amacleod@cygnus.com)
79
80 * except.c (expand_start_catch): Correct logic for when to
81 generate a new handler label, and when to use the old one.
82
83 Tue May 19 11:08:52 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
84
85 * Makefile.in (print-rtl.o): Depend on bitmap.h.
86 (dbxout.o): Depend on toplev.h.
87 ($(SCHED_PREFIX)sched.o): Likewise.
88 ($(out_object_file)): Likewise for system.h and toplev.h.
89 (cppmain.o): Depend on gansidecl.h.
90 (cpplib.o): Likewise.
91 (cpperror.o): Likewise.
92 (cppexp.o): Likewise.
93 (cpphash.o): Likewise.
94 (cppalloc.o): Likewise.
95 (fix-header.o): Depend on cpplib.h and cpphash.h.
96 (scan-decls.o): Depend on gansidecl.h.
97
98 * basic-block.h (free_regset_vector): Add prototype.
99
100 * cccp.c (check_precompiled): Mark parameter `fname' with
101 ATTRIBUTE_UNUSED.
102 (do_assert): Likewise for `op' and `keyword'.
103 (do_unassert): Likewise.
104 (do_line): Likewise for `keyword'.
105 (do_error): Likewise for `op' and `keyword'.
106 (do_warning): Likewise.
107 (do_ident): Likewise for `keyword'.
108 (do_pragma): Likewise for `limit', `op' and `keyword'.
109 (do_sccs): Likewise.
110 (do_if): Likewise for `keyword'.
111 (do_elif): Likewise.
112 (do_else): Likewise.
113 (do_endif): Likewise.
114
115 * collect2.c (getenv): Remove redundant prototype.
116 (collect_exit, collect_execute, dump_file): Likewise.
117 (dump_list): Wrap prototype and definition in COLLECT_EXPORT_LIST.
118 (dump_prefix_list): Hide prototype and definition.
119
120 * sparc.c: Include toplev.h.
121 (intreg_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED.
122 (symbolic_memory_operand): Likewise.
123 (sp64_medium_pic_operand): Likewise.
124 (data_segment_operand): Likewise.
125 (text_segment_operand): Likewise.
126 (splittable_symbolic_memory_operand): Likewise.
127 (splittable_immediate_memory_operand): Likewise.
128 (eq_or_neq): Likewise.
129 (normal_comp_operator): Likewise.
130 (noov_compare_op): Likewise.
131 (v9_regcmp_op): Likewise.
132 (v8plus_regcmp_op): Likewise.
133 (extend_op): Likewise.
134 (cc_arithop): Likewise.
135 (cc_arithopn): Likewise.
136 (small_int): Likewise.
137 (uns_small_int): Likewise.
138 (clobbered_register): Likewise.
139 (legitimize_pic_address): Likewise.
140 (delay_operand): Likewise.
141 (sparc_builtin_saveregs): Remove unused variable `stdarg'.
142
143 * sparc.h (order_regs_for_local_alloc, eligible_for_return_delay,
144 sparc_issue_rate, v8plus_regcmp_p): Add prototypes.
145
146 * sparc.md (cmpdi_v8plus): Add abort for default case in switch.
147
148 * cppalloc.c: Include gansidecl.h.
149
150 * cpperror.c: Include stdarg.h/varargs.h and gansidecl.h.
151 (cpp_file_line_for_message): Mark parameter `pfile' with
152 ATTRIBUTE_UNUSED.
153 (v_cpp_message): New function.
154 (cpp_message): Use it. Also convert to variable arguments.
155 (cpp_fatal): Likewise.
156 (cpp_pfatal_with_name): Constify parameter `name'.
157
158 * cppexp.c: Move gansidecl.h before cpplib.h.
159 * cpphash.c: Likewise.
160 * cpphash.h (hashf, delete_macro): Add prototypes.
161
162 * cpplib.c: Include stdarg.h/varargs.h and move gansidecl.h before
163 cpplib.h. Don't include errno.h.
164 (update_path): Add arguments to prototype.
165 (cpp_fatal, cpp_file_line_for_message, cpp_message, delete_macro,
166 cpp_print_containing_files): Remove redundant prototypes.
167 (cpp_hash_cleanup, add_import, append_include_chain,
168 make_assertion, path_include, initialize_builtins,
169 initialize_char_syntax, finclude, validate_else, comp_def_part,
170 lookup_import, redundant_include_p, is_system_include,
171 read_name_map, read_filename_string, open_include_file,
172 check_macro_name, compare_defs, compare_token_lists,
173 eval_if_expression, change_newlines): Add prototype arguments.
174 (hashf): Remove redundant prototype.
175 (read_token_list, free_token_list, safe_read, xcalloc, savestring,
176 conditional_skip, skip_if_group): Add prototype arguments.
177 (fdopen): Remove redundant prototype.
178 (do_define, do_line, do_include, do_undef, do_error, do_pragma,
179 do_ident, do_if, do_xifdef, do_else, do_elif, do_endif, do_sccs,
180 do_once, do_assert, do_unassert, do_warning): Add prototype arguments.
181 (struct directive): Add prototype arguments to function pointer
182 member `func'.
183 (handle_directive): Add missing arguments to call to `do_line'.
184 (do_include): Mark parameters `unused1' and `unused2' with
185 ATTRIBUTE_UNUSED.
186 (do_line): Likewise for `keyword' and new parameters `unused1' and
187 `unused2'.
188 (do_error): Likewise for `keyword'.
189 (do_warning): Likewise. Also add missing argument `pfile' in call
190 to cpp_pedwarn.
191 (do_once): Mark parameter `keyword', `unused1' and `unused2' with
192 ATTRIBUTE_UNUSED.
193 (do_ident): Likewise for `keyword', `buf' and `limit'.
194 (do_pragma): Likewise. Also add missing arguments in call to do_once.
195 (do_sccs): Mark parameter `keyword', `buf' and `limit' with
196 ATTRIBUTE_UNUSED.
197 (do_if): Likewise for `keyword'.
198 (do_elif): Likewise.
199 (eval_if_expression): Likewise for `buf' and `length'.
200 (do_xifdef): Likewise for `unused1' and `unused2'.
201 (do_else): Likewise for `keyword', `buf' and `limit'.
202 (do_endif): Likewise.
203 (parse_name): Add missing argument `pfile' in call to cpp_pedwarn.
204 (cpp_handle_options): Remove superfluous NULL argument in call to
205 cpp_fatal.
206 (cpp_handle_options): Likewise.
207 (do_assert): Mark parameter `keyword', `buf' and `limit' with
208 ATTRIBUTE_UNUSED.
209 (do_unassert): Likewise.
210 (cpp_print_file_and_line): Add missing argument `pfile' in call to
211 cpp_file_line_for_message.
212 (v_cpp_error): New function.
213 (cpp_error): Use it. Also accept variable arguments.
214 (v_cpp_warning): New function.
215 (cpp_warning): Use it. Also accept variable arguments.
216 (cpp_pedwarn): Accept variable arguments.
217 (v_cpp_error_with_line): New function
218 (cpp_error_with_line): Use it. Accept variable arguments.
219 (v_cpp_warning_with_line): New function.
220 (cpp_warning_with_line): Use it. Accept variable arguments. Hide
221 definition.
222 (cpp_pedwarn_with_line): Accept variable arguments.
223 (cpp_pedwarn_with_file_and_line): Likewise.
224 (cpp_error_from_errno): Constify parameter `name'. Add missing
225 argument `pfile' in call to cpp_file_line_for_message.
226 (cpp_perror_with_name): Constify parameter `name'.
227
228 * cpplib.h: Define PARAMS() in terms of PROTO().
229 (fatal): Remove redundant prototype.
230 (cpp_error, cpp_warning, cpp_pedwarn, cpp_error_with_line,
231 cpp_pedwarn_with_line, cpp_pedwarn_with_file_and_line,
232 cpp_error_from_errno, cpp_perror_with_name, cpp_pfatal_with_name,
233 cpp_fatal, cpp_message, cpp_pfatal_with_name,
234 cpp_file_line_for_message, cpp_print_containing_files): Add
235 arguments to prototypes.
236 (scan_decls, cpp_finish): Add prototypes.
237
238 * cppmain.c: Include gansidecl.h.
239 (main): Remove unused variable `i'.
240
241 * dbxout.c: Include toplev.h.
242
243 * demangle.h (do_tlink, collect_execute, collect_exit,
244 collect_wait, dump_file, file_exists): Add prototype.
245
246 * dwarf2out.c (dwarf_type_encoding_name, decl_start_label): Hide
247 prototype and definition.
248 (gen_unspecified_parameters_die): Don't assign results of call to
249 function new_die() to unused variable `parm_die'.
250 (dwarf2out_line): Mark parameter `filename' with ATTRIBUTE_UNUSED.
251 (dwarf2out_define): Likewise for `lineno' and `buffer'.
252
253 * dwarfout.c (output_unsigned_leb128, output_signed_leb128): Hide
254 prototype and definition.
255 (output_die): Add prototype arguments to function pointer arg.
256 (output_unspecified_parameters_die): Mark parameter `arg' with
257 ATTRIBUTE_UNUSED.
258
259 * except.c (output_exception_table_entry): Remove unused variable
260 `eh_entry'.
261
262 * except.h (expand_fixup_region_start, expand_fixup_region_end):
263 Add prototypes.
264
265 * expr.c (do_jump_by_parts_equality_rtx): Remove prototype.
266
267 * expr.h (do_jump_by_parts_equality_rtx): Add prototype.
268
269 * fix-header.c: Include stdarg.h/varargs.h, move gansidecl.h
270 before cpplib.h, include cpphash.h, remove redundant prototype of
271 cpp_fatal, don't define `const', add a prototype for `fatal'.
272 (cpp_file_line_for_message): Add missing arguments `pfile'.
273 (v_cpp_message): New function.
274 (cpp_message): Use it.
275 (v_fatal): New function.
276 (fatal, cpp_fatal): Use it.
277 (cpp_pfatal_with_name): Constify parameter `name'.
278
279 * flow.c (free_regset_vector): Remove redundant prototype.
280
281 * function.c (round_down): Wrap prototype and definition with
282 macro ARGS_GROW_DOWNWARD.
283 (record_insns): Wrap prototype and definition with
284 defined (HAVE_prologue) || defined (HAVE_epilogue).
285
286 * gansidecl.h (ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5): New macros.
287
288 * gen-protos.c: Include gansidecl.h.
289 (hashf): Don't make it static, constify parameter `name'.
290
291 * genattrtab.c (check_attr_test): Change XEXP() to XSTR() to match
292 specifier %s in calls to function `fatal'.
293
294 * haifa-sched.c: Include toplev.h.
295 (find_rgns): Remove unused variable `j'.
296
297 * integrate.c (note_modified_parmregs): Mark parameter `x' with
298 ATTRIBUTE_UNUSED.
299 (mark_stores): Likewise.
300
301 * jump.c (mark_modified_reg): Likewise.
302
303 * output.h (insn_current_reference_address): Add prototype.
304 (eh_frame_section): Likewise.
305
306 * print-rtl.c: Include bitmap.h.
307
308 * reload1.c (reload): Wrap variables `note' and `next' in macro
309 PRESERVE_DEATH_INFO_REGNO_P.
310 (forget_old_reloads_1): Mark parameter `ignored' with
311 ATTRIBUTE_UNUSED.
312 (choose_reload_regs): Remove unused variable `in'.
313 (reload_cse_invalidate_mem): Mark parameter `ignore' with
314 ATTRIBUTE_UNUSED.
315 (reload_cse_check_clobber): Likewise.
316
317 * rtl.h (expand_null_return, reg_classes_intersect_p): Add prototype.
318 (mark_elimination): Fix typo in prototype.
319
320 * scan-decls.c: Include gansidecl.h.
321
322 * tree.h (using_eh_for_cleanups, supports_one_only): Add prototype.
323
324 Mon May 18 22:37:33 1998 Jeffrey A Law (law@cygnus.com)
325
326 * function.c (identify_blocks): Fix thinko when setting the
327 block number for NOTE_INSN_BLOCK_END.
328
329 Mon May 18 15:30:42 1998 Nick Clifton <nickc@cygnus.com>
330
331 * config/v850/lib1funcs.asm: Add .text pseudo op to start of
332 ___udivsi3.
333
334 * config/v850/lib1funcs.asm: Fix .size pseudo ops to use three
335 underscores for the prefixes to the names of the maths functions.
336
337 * dbxout.c (dbxout_parms): Revert to using DECL_ARG_TYPE. Add
338 comment explaining why.
339
340 Mon May 18 13:20:23 1998 Richard Henderson <rth@cygnus.com>
341
342 * tree.h (TYPE_SIZE_UNIT): New.
343 (struct tree_type): Add size_unit member.
344 * stor-layout.c (layout_type): Initialize it.
345 * expr.c (get_inner_reference) [ARRAY_REF]: Use it.
346 * tree.c (size_in_bytes, int_size_in_bytes): Likewise.
347
348 Mon May 18 12:07:37 1998 Richard Earnshaw (rearnsha@arm.com)
349
350 * stor-layout.c (layout_record): Fix off-by-one error when checking
351 length of the TYPE_BINFO vector.
352
353 Mon May 18 10:59:23 1998 Nick Clifton <nickc@cygnus.com>
354
355 * dbxout.c (dbxout_parms): Use TREE_ARG to compute the type of a
356 function parameter passed in memory.
357
358 Mon May 18 09:02:09 1998 Robert Lipe <robertl@dgii.com>
359
360 * dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files.
361 Prototypes for externally used functions in respective C files.
362 * dwarfout.c, dbxout.c, dwarf2out.c, sdbout.c, toplev,c,
363 final.c: Include above files.
364 * Makefile.in (toplev.o): Add dependency for above four headers.
365 (final.o): Likewise.
366 (dwarfout.o, dbxout.o, dwarf2out.o, sdbout.o): Depend on four
367 respective header files.
368
369 Mon May 18 01:23:33 1998 Jeffrey A Law (law@cygnus.com)
370
371 * Makefile.in (TARGET_TOOLPREFIX): No longer define.
372 (AR_FOR_TARGET, RANLIB_FOR_TARGET): Define to use versions in
373 the build tree if they exist.
374 (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Update
375 appropriately.
376 (objdir): Let configure substitute value.
377 (FLOAT_H): Let configure select a pre-built version from the
378 config subdir.
379 * build-make (INSTALL_TARGET, ALL): Disable, no longer needed.
380 * configure.in: Substitute for objdir.
381
382 * Makefile.in (build_canonical, host_canonical): Let configure
383 substitute values for these variables.
384 * configure.in: Substitute for build_canonical, host_canonical
385 and target_subdir in generated Makefile.
386
387 * output.h (find_basic_blocks): Declare.
388 (free_basic_block_vars, set_block_num, life_analysis): Likewise.
389
390 * Makefile.in (BISON): Use bison from the build tree if it exists.
391 (FLEX): Similarly.
392
393 Mon May 18 00:08:19 1998 Nick Clifton <nickc@cygnus.com>
394
395 * gcc.c (SWITCH_CURTAILS_COMPILATION): Definition.
396 (DEFAULT_SWITCH_CURTAILS_COMPILATION): True for options -S and -c.
397 (process_command): If HAVE_EXECUTABLE_SUFFIX is defined then scan
398 command line arguments to see if an executable is not being
399 created, and if so - do not append the suffix.
400
401 * tm.texi (SWITCH_CURTAILS_COMPILATION): Add description of new
402 driver macro.
403
404 Sun May 17 23:59:45 1998 John Wehle (john@feith.com)
405
406 * i386.h (ALIGN_DFmode): Delete.
407 (CONSTANT_ALIGNMENT): Define.
408 * varasm.c (force_const_mem): Use it.
409
410 Sun May 17 19:31:05 1998 Richard Henderson <rth@cygnus.com>
411
412 * alpha.c (alpha_emit_conditional_branch): Clear cmp_code after
413 using it with swap_condition, not before.
414
415 Sun May 17 13:44:32 1998 Jim Wilson <wilson@cygnus.com>
416
417 * alias.c (mode_alias_check): Delete.
418 (true_dependence, anti_dependence, output_dependence): Revert April 21
419 change.
420
421 Sun May 17 08:45:21 1998 Krister Walfridsson <cato@df.lth.se>
422
423 * toplev.c (output_lang_identify): Enable prototype and definition.
424
425 Sun May 17 01:12:27 PDT 1998 Jeff Law (law@cygnus.com)
426
427 * version.c: Bump for snapshot.
428
429 Sat May 16 23:20:32 1998 Richard Henderson <rth@cygnus.com>
430
431 * alpha/osf.h (HAVE_STAMP_H): Define.
432 * alpha.c: Use it.
433 * alpha/netbsd.h, alpha/netbsd-elf.h: New files.
434 * configure.in (alpha*-*-netbsd*): New.
435 Based on patches from Paul H. Anderson <pha@pdq.com>.
436
437 * configure.in (alpha*-*-linux-*): Kill xm_defines.
438 (alpha*-*-linux-gnulibc1*) [fixincludes]: Define.
439 * alpha/xm-linux.h: Remove file.
440
441 Sat May 16 18:32:45 1998 Doug Evans <devans@canuck.cygnus.com>
442
443 * dbxout.c (dbxout_parms): If mode of type of parameter living
444 in memory doesn't match mode of DECL_RTL, make big endian correction.
445
446 Fri May 15 21:40:06 1998 John Wehle (john@feith.com)
447
448 * i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
449
450 Fri May 15 18:55:22 1998 Jason Merrill <jason@yorick.cygnus.com>
451
452 * tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
453 * stor-layout.c (layout_record): Set it.
454
455 Fri May 15 18:49:30 1998 Mark Mitchell <mmitchell@usa.net>
456
457 * toplev.c (rest_of_compilation): Don't defer nested functions.
458
459 Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
460
461 * config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
462 to an 8-byte boundary if info_ptr->fpmem_p.
463
464 Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
465
466 * loop.c (basic_induction_var): Added test preventing
467 CCmode parameter passed to convert_modes().
468
469 Fri May 15 17:26:18 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
470
471 * expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
472 input_filename and lineno around expand_expr call. Set them to values
473 in WFL before expand_expr call.
474
475 Fri May 15 12:44:57 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
476
477 * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
478
479 Fri May 15 07:20:03 1998 Mark Mitchell <mmitchell@usa.net>
480
481 * fold-const.c (constant_boolean_node): New function.
482 (fold): Use it.
483
484 Fri May 15 11:21:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
485
486 * sh.c (gen_shl_and): Don't sign extend constant for kind two.
487 Abort if trying to split kind 3 or 4 outside of combine.
488
489 Fri May 15 01:47:37 1998 Jeffrey A Law (law@cygnus.com)
490
491 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
492
493 Fri May 15 01:42:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
494
495 * objc/Make-lang.in (OBJC_O): Add missing exeext.
496 (libobjc.a, runtime-info.h): Likewise.
497
498 Fri May 15 01:29:39 1998 John Wehle (john@feith.com)
499
500 * i386.h (DATA_ALIGNMENT): Define.
501
502 Fri May 15 05:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
503
504 * reload1.c (delete_output_reload): Ignore single USE that
505 was emitted for the pseudo use of this INSN.
506 If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
507 remains, we can always delete OUTPUT_RELOAD_INSN.
508
509 Thu May 14 18:38:50 1998 Jim Wilson <wilson@cygnus.com>
510
511 * reload.c (find_reloads): Don't penalize SCRATCH output reload.
512
513 Thu May 14 15:10:30 1998 Jeffrey A Law (law@cygnus.com)
514
515 * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.
516
517 Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
518
519 * eh-common.h: New file for basic EH data structures.
520 * except.h: Various prototypes and structures for NEW_EH_MODEL
521 * function.h (struct function): Add a struct eh_stack for the catch
522 clause stack.
523 * except.c (gen_exception_label): New function to generate an
524 exception label.
525 (push_eh_entry): Use gen_exception_label() and init 'label_used' field.
526 (push_entry): New function to push an existing entry onto a stack.
527 (receive_exception_label): New function to emit the code required
528 at the start of all catch blocks.
529 (struct func_eh_entry): New structure for maintaining handlers
530 associated with EH regions.
531 (new_eh_region_entry): New function to register an EH region.
532 (add_new_handler): New function to register a handler with a region.
533 (get_new_handler): Creates anew handler entry for registering.
534 (find_func_region): New function to convert a NOTE eh region number
535 to an Eh region index.
536 (get_first_handler): New function to get the first handler in a region.
537 (clear_function_eh_region): New function to release memory.
538 (duplicate_handlers): New function to duplicate a list of handlers.
539 (expand_eh_region_end): Create a new region entry node as well.
540 (expand_leftover_cleanups): Call receive_exception_label() and
541 register the cleanup as a handler to the current region.
542 (expand_start_catch): New function to start a catch clause.
543 (expand_end_catch): New function to end a catch clause.
544 (expand_start_all_catch): restructure to not do the equivilent of
545 what expand_start_catch() does now. Push the exception region being
546 handled onto the catch stack.
547 (output_exception_table_entry): Issue an entry for each handler
548 associated with a region.
549 (set_exception_lang_code): New function for setting the language code.
550 (set_exception_version_code): New function to set the version number.
551 (output_exception_table): Output version and language codes.
552 (find_exception_handler_labels): Find handler labels using new scheme.
553 (is_exception_handler_label): New function, returns 1 if label is
554 present as a handler in some exception region.
555 (check_exception_handler_labels): Use the new scheme.
556 (init_eh_for_function): Initialize the catch stack.
557 (save_eh_status): Save the catch stack.
558 (restore_eh_status): Restore the catch stack.
559 (scan_region): Don't remove unreferenced handler label. Flow does it.
560 (get_reg_for_handler): New function to get the eh_context pointer
561 passed by __throw.
562 (expand_builtin_eh_stub): Changes required for NEW_EH_MODEL only.
563 * final.c (final_scan_insn): With NEW_EH_MODEL, add EH table
564 entry when processing END region rather that START region.
565 * flow.c (find_basic_blocks_1): Find all potential handler regions
566 now that we don't automatically know what the labels might be.
567 Let scan_region() remove unreferenced EH BEGIN/END labels.
568 * integrate.c (get_label_from_map): Put inlined labels onto the
569 permanent obstack since we dont know which ones might be exception
570 labels.
571 (save_for_inline_copying): Make new copies of all the handlers.
572 (expand_inline_function): Make new copies of all the handlers.
573 * libgcc2.c: Remove local struct decls, and include eh-common.h.
574 (find_exception_handler): With NEW_EH_MODEL the first matching
575 region we find is the right one. Add eh_info as a new parameter.
576 (__throw): Pass eh_info to find_exception_handler. Set handler
577 and pass use different regs under NEW_EH_MODEL.
578
579 Thu May 14 12:58:21 1998 Jim Wilson <wilson@cygnus.com>
580
581 * i960.h (hard_regno_mode_ok): Changed to function from array of
582 unsigned.
583 (HARD_REGNO_MODE_OK): Call function instead of testing bit.
584 * i960.c (hard_regno_mode_ok): Changed to function from array of
585 unsigned.
586
587 Thu May 14 08:41:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
588
589 * reload.c (remove_replacements): New function.
590 * reload.h (remove_replacements): Declare.
591 * reload1.c (choose_reload_regs): Disable some reloads that
592 belong to inherited reloads.
593
594 Thu May 14 02:17:17 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
595
596 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
597
598 * reload1.c (merge_assigned_reloads): When merging, reset
599 reload_spill_index for the eliminated reload.
600
601 Wed May 13 17:51:13 1998 Jeffrey A Law (law@cygnus.com)
602
603 * haifa-sched.c (schedule_insns): Fix merge goof.
604
605 1998-05-13 Jim Wilson <wilson@cygnus.com>
606
607 * varasm.c (make_decl_rtl): Revert April 1 change.
608 * alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
609 m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
610 Get function name from the SYMBOL_REF in the DECL_RTL, not from
611 DECL_ASSEMBLER_NAME.
612 * i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
613 DECL_ASSEMBLER_NAME.
614
615 Wed May 13 13:09:19 1998 Jim Wilson <wilson@cygnus.com>
616
617 * i386.c (notice_update_cc, output_float_compare): Disable
618 TARGET_CMOVE support.
619
620 Wed May 13 15:28:59 1998 Michael Meissner <meissner@cygnus.com>
621 Jeff Law <law@cygnus.com>
622
623 * rtlanal.c (find_reg_note): Ignore notes that are not on on
624 insns of class 'i'.
625 (find_regno_note): Likewise.
626
627 * Makefile.in (stor-layout.o): Depend on except.h
628 (varasm.o, function.o): Likewise.
629 (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
630
631 * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
632 (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
633 ($(HOST_PREFIX_1)rtl.o): Likewise.
634 ($(HOST_PREFIX_1)bitmap.o): New host object.
635 * emit-rtl.c (toplevel): Include bitmap.h.
636 (gen_rtx): Handle 't' and 'b' nodes.
637 * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
638 Print block number for block begin/end notes. Print 't' type
639 nodes as a pointer. Know that the 3rd argument of live range
640 start/stop notes is really a range_info rtx. If type is 'b', print
641 out argument as a bitmap.
642 * rtl.c: Include bitmap.c.
643 (copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
644 (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
645 * rtl.def (RANGE_LIVE): New node to hold live information while we
646 recalculate the basic blocks.
647 (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
648 (RANGE_VAR): New node, to hold information saved in symbol node for New
649 communicating live range information to the debug output functions.
650 * rtl.h (rtunion_def): Add rttree and rtbit fields.
651 (XBITMAP, XTREE): New accessor macros.
652 (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
653 (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
654 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
655 (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
656 (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
657 (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
658 (RANGE_INFO_*): Likewise.
659 * sched.c (sched_analyze): Keep live range start/stop notes.
660 (unlink_other_notes): Likewise.
661 * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
662 (unlink_other_notes): Likewise.
663 * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
664 (BLOCK_LIVE_RANGE_FLAG): Likewise.
665 (DECL_LIVE_RANGE_RTL): Likewise.
666 (struct tree_block): Add live_range_flag, live_range_var_flag,
667 live_range_start and live_range_end.
668 (struct tree_decl): Add live_range_rtl field.
669 * gengenrtl.c (type_from_format): Handle 'b' and 't'.
670 (accessor_from_format): Likewise.
671
672 * haifa-sched.c (schedule_block): Make verbose output line up.
673 Also add a blank line in printing the individual ready lists.
674
675 Wed May 13 15:43:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
676
677 * Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
678 (c-lex.o): Depend on output.h.
679 (c-common.o): Likewise.
680 (stmt.o): Likewise.
681 (calls.o): Likewise.
682 (integrate.o): Depend on toplev.h.
683 (regclass.o): Depend on output.h.
684 (final.o): Depend on reload.h.
685
686 * c-common.c: Include output.h.
687 (check_format_info): Remove unused variable `integral_format'.
688
689 * c-decl.c (print_lang_decl): Mark parameters `file', `node' and
690 `indent' with ATTRIBUTE_UNUSED.
691 (print_lang_type): Likewise.
692 (maybe_build_cleanup): Likewise for parameter `decl'.
693 (copy_lang_decl): Likewise for parameter `node'.
694
695 * c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
696 (lang_print_xnode): Mark parameters `file', `node' and `indent'
697 with ATTRIBUTE_UNUSED.
698 (lookup_interface): Likewise for parameter `arg'.
699 (is_class_name): Likewise.
700 (maybe_objc_check_decl): Likewise for parameter `decl'.
701 (maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
702 `reflexive'.
703 (maybe_objc_method_name): Likewise for parameter `decl'.
704 (build_objc_string): Likewise for parameters `len' and `str'.
705
706 * c-lex.c: Include output.h.
707
708 * c-lex.h (position_after_white_space): Correct typo in prototype.
709
710 * c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
711 c_expand_end_cond, init_iterators): Add prototypes.
712
713 * caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
714 with ATTRIBUTE_UNUSED.
715
716 * calls.c: Include output.h.
717
718 * cccp.c (pipe_closed): Mark parameter `signo' with
719 ATTRIBUTE_UNUSED.
720
721 * combine.c: Move inclusion of expr.h to after insn-config.h.
722
723 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
724 as empty, rather define as ((void)0).
725
726 * sparc.c (sparc_check_64): Add braces around ambiguous `else'.
727 Add parentheses around assignment used as truth value.
728
729 * cplus-dem.c (squangle_mop_up): Change return type to void.
730 (internal_cplus_demangle): Remove unused parameter `options'.
731 All callers changed.
732 (cplus_demangle_opname): Remove function wide variable `int i' and
733 replace with `size_t i' at each location where it is used.
734 (cplus_demangle_opname): change type of `i' from int to size_t.
735
736 * cppexp.c (right_shift): Mark parameter `pfile' with
737 ATTRIBUTE_UNUSED.
738
739 * cpphash.c (cpp_lookup): Likewise.
740 (cpp_hash_cleanup): Likewise.
741
742 * cpplib.c (parse_name): Add a prototype and make it static.
743 (null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
744 (null_cleanup): Likewise for parameters `pbuf' and `pfile'.
745 (macro_cleanup): Likewise for parameter `pfile'.
746 (file_cleanup): Likewise.
747
748 * cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
749 cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
750
751 * crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
752 __DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
753
754 * cse.c (cse_check_loop_start): Mark parameter `set' with
755 ATTRIBUTE_UNUSED.
756
757 * dbxout.c (flag_minimal_debug, have_used_extensions,
758 source_label_number): Move inside macro wrapper check against
759 defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
760
761 * dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
762
763 * except.h (doing_eh): Provide prototype.
764
765 * expr.c: Move inclusion of expr.h to after insn-config.h.
766
767 * final.c: Include reload.h.
768 (shorten_branches): Cast the first argument of bzero to char *.
769
770 * fix-header.c (cpp_print_containing_files): Mark parameter
771 `pfile' with ATTRIBUTE_UNUSED.
772 (cpp_fatal): Likewise.
773
774 * flow.c (find_basic_blocks_1): Cast the first argument of bzero
775 to char *.
776
777 * genattrtab.c (make_length_attrs): Change the type of variable
778 `i' from int to size_t.
779 (zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
780 (one_fn): Likewise.
781
782 * genextract.c (main): When generating insn-extract.c, mark
783 variable `junk' with ATTRIBUTE_UNUSED.
784
785 * gengenrtl.c (gencode): When generating genrtl.c, cast the first
786 argument of bzero to char*.
787
788 * integrate.c: Include toplev.h.
789
790 * libgcc2.c: Wrap `struct exception_table' and
791 `find_exception_handler' in macro DWARF2_UNWIND_INFO.
792
793 * objc/Make-lang.in (objc-act.o): Depend on toplev.h.
794
795 * objc/objc-act.c: Include toplev.h.
796 (lang_print_xnode): Mark parameters `file', `node' and `indent'
797 with ATTRIBUTE_UNUSED.
798 (finish_protocol): Likewise for parameter `protocol'.
799
800 * output.h (declare_weak): Add prototype.
801 (decode_reg_name): Don't wrap with TREE_CODE macro.
802 (assemble_alias): Add prototype.
803
804 * regclass.c: Include output.h.
805
806 * reload.h (reloads_conflict): Add prototype.
807
808 * rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
809 output_func_start_profiler): Add prototypes.
810
811 * rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
812 ATTRIBUTE_UNUSED.
813
814 * scan-decls.c: Include scan.h.
815
816 * scan.h (recognized_function, recognized_extern): Add prototypes.
817
818 * stmt.c: Include output.h.
819
820 * toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
821 (output_lang_identify): Hide prototype and definition.
822 (float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
823 (pipe_closed): Likewise.
824
825 * toplev.h (count_error, strip_off_ending, error_for_asm,
826 warning_for_asm): Add prototypes.
827
828 Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
829
830 * toplev.c (rest_of_compilation): "Charge" final for any time
831 doing various cleanup operations after finishing compilation
832 of a function.
833
834 * flow.c (dump_flow_info): Also print number of sets and
835 whether or not the pseudo is a user variable.
836
837 * flow.c (reg_n_max): New global variable.
838 * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
839 Delete regno_max variable.
840 * regs.h (REG_N_CHECK): Define.
841 (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
842 (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
843 (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
844
845 Wed May 13 12:54:19 1998 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
846
847 * acconfig.h (ENABLE_CHECKING): Undefine.
848 * configure.in (--enable-checking): New option.
849
850 Wed May 13 08:52:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
851
852 * reload1.c (merge_assigned_reloads): Can merge
853 RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
854 if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
855
856 Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
857
858 * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
859
860 Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
861
862 * reload1.c (gen_reload): Create REG_EQUIV notes.
863
864 Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
865
866 * reload1.c (reload): Fix check for USEs to use code of pattern.
867 (choose_reload_regs): Remove dead variable use_insn.
868
869 Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
870
871 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
872
873 Tue May 12 15:16:02 1998 Michael Meissner <meissner@cygnus.com>
874
875 * haifa-sched.c (HAIFA_INLINE): Define to be __inline unless
876 already defined.
877 (find_insn_{,mem_}list): Use HAIFA_INLINE, not __inline.
878 (insn_{unit,issue_delay}): Ditto.
879 (blockage_range): Ditto.
880 (actual_hazard{,_this_instance}): Ditto.
881 (schedule_unit): Ditto.
882 (potential_hazard): Ditto.
883 (insn_cost): Ditto.
884 (swap_sort): Ditto.
885 (queue_insn): Ditto.
886 (birthing_insn_p): Ditto.
887 (adjust_priority): Ditto.
888 (get_block_head_tail): Ditto.
889 (init_rgn_data_dependences): Ditto.
890
891 Tue May 12 10:27:54 1998 Klaus Kaempf <kkaempf@progis.de>
892
893 * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
894
895 Tue May 12 11:44:14 1998 Gavin Koch <gavin@cygnus.com>
896
897 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
898
899 Tue May 12 11:38:31 1998 Gavin Koch <gavin@cygnus.com>
900
901 * config/mips/mips.md (dslot): Move after definition of "cpu"
902 attribute. Handle r3900 case.
903
904 Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
905
906 * system.h: Define the STRINGIFY macro here.
907 * protoize.c: Not here.
908 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
909
910 Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
911
912 * varasm.c (assemble_variable): Compute the alignment of the data
913 earlier so that both initialized and uninitialized variables are
914 effected by DATA_ALIGNMENT.
915 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
916
917 Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
918
919 * mips.c: Prototype static functions.
920
921 Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
922
923 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
924 Add explanatory comments.
925
926 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
927
928 Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
929
930 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
931
932 Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
933
934 * varasm.c (make_decl_rtl): Disable April 1 change.
935
936 Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
937
938 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
939
940 Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
941
942 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
943 * alpha.c (print_operand): Handle it.
944 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
945 related define_splits. Also add peepholes for SImode reload
946 plus sign_extend lossage.
947
948 Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
949
950 * genattr.c: Include stdarg.h/varargs.h. Change function
951 `fatal' to use variable arguments instead of faking it with
952 integer parameters. Provide a prototype which also
953 checks the format specifiers using ATTRIBUTE_PRINTF_1.
954
955 * genattrtab.c: Likewise.
956 * gencodes.c: Likewise.
957 * genconfig.c: Likewise.
958 * genemit.c: Likewise.
959 * genextract.c: Likewise.
960 * genflags.c: Likewise.
961 * genopinit.c: Likewise.
962 * genpeep.c: Likewise.
963 * genrecog.c: Likewise.
964 * genoutput.c: Likewise. Similarly for function `error'.
965
966 Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
967
968 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
969 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
970 * configure.in: Use GCC_C_VOLATILE.
971 * system.h (volatile): Define as empty if no volatile support is
972 available.
973
974 Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
975
976 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
977 generated fucntion.
978
979 Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
980
981 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
982 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
983 the body of beq; additionally set the mode of the branch to CCmode for
984 FP compares and not fast_math.
985 (alpha_emit_conditional_move): Always use a compare insn for FP
986 when not fast_math, as well as setting CCmode on the cmov.
987 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
988
989 * machmode.h (COMPLEX_MODE_P): New macro.
990
991 Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
992
993 * haifa-sched.c (print_exp): Fix typo.
994
995 Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
996
997 * version.c: Bump for snapshot.
998
999 Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
1000
1001 * final.c (final_scan_insn): Call fatal_insn instead of abort if
1002 we could not split an insn when required to.
1003
1004 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
1005 level insns.
1006 (peepholes): Disable peepholes that call dead_or_set_p.
1007 (movsi): Rewrite to handle addresses better after last change.
1008 Add define_split to split load of addresses in large/medium modes.
1009 (prologue): Call m32r_expand_prologue.
1010 (movsi_{push,pop}): Generators for push/pop.
1011 (movsi): Support PRE_{INC,DEC}, POST_INC.
1012 (mov{di,df}): Rewrite. Always split the insns.
1013 (movsf): Add define_split to get register load in correct mode.
1014 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
1015 (attributes): Rewrite attributes so that type indicates both the
1016 type and the length of the insn directly.
1017 (all insns): Change to use new type attributes.
1018 (debug): New attribute to convey whether -mdebug was used.
1019 (opt_space): New attribute to convey whether -Os was used.
1020 (function units): Loads are 3 cycles, not 2. Better classify all
1021 insns into short/long.
1022 (load/store/extend insns): Add separate case for load/store
1023 indirect operations without an offset.
1024 (divsi3): Division is a long operation, not short.
1025
1026 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
1027 modes > 1 word.
1028 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
1029 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
1030 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
1031 operands with PRE_{INC,DEC}, POST_INC.
1032 (FUNCTION_PROFILER): Call abort instead of doing nothing.
1033 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
1034 SImode variables.
1035 (gen_split_move_double): Declare.
1036 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
1037
1038 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
1039 emit_move_insn, build up SET's directly.
1040 (toplevel): Include system.h, not stdio.h.
1041 (move_double_src_operand): Allow any DF or DI mode constant.
1042 (gen_split_move_double): Split moves of DI or DF values into the
1043 appropriate moves, loads, or stores. Don't handle use of auto
1044 inc/dec if using dead index. Do handle overlapping moves, etc.
1045 (m32r_frame_info): Remove prologue_size field.
1046 (m32r_compute_frame_size): Don't calculate prologue size.
1047 (m32r_output_function_prologue): Change to pretty much a NOP.
1048 (m32r_expand_prologue): Expand prologue as a series of INSNs.
1049 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
1050 (m32r_print_operand_address): Ditto.
1051
1052 Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
1053
1054 * reload1.c (emit_reload_insns): When performing expensive
1055 optimizations, do not output the last reload insn if OLD is
1056 not the dest of NSN and is in the src and is clobbered by INSN.
1057
1058 Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1059
1060 * Makefile.in (genrtl.o): Depend on system.h.
1061 * gengenrtl.c (gencode): When creating genrtl.c, have it
1062 include system.h.
1063
1064 Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1065
1066 * config/m68k/t-linux: Remove extra stuff already included in
1067 config/t-linux.
1068
1069 Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
1070
1071 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
1072 curses.h if it contains `typedef char bool;', as suggested by
1073 Manfred Hollstein <manfred@s-direktnet.de>.
1074
1075 * configure.in: Rename fixinc.math to fixinc.wrap.
1076
1077 Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
1078
1079 * gcc.c (read_specs): Handle missing blank line at end of specs file.
1080
1081 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
1082 movdfcc_1): Disable.
1083
1084 Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
1085
1086 * configure.in (enable_threads): Rename to enable_threads_flag before
1087 main loop. Set enable_threads to enable_threads_flag inside main
1088 loop.
1089
1090 Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
1091
1092 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
1093 multiple times.
1094
1095 Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1096
1097 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
1098
1099 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
1100 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
1101 (AC_CHECK_FUNCS): Remove unused check for vprintf.
1102
1103 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
1104 (cccp.o): Depend on gansidecl.h.
1105 (cexp.o): Likewise.
1106
1107 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
1108 per the rest of gcc source.
1109 * cexp.y: Likewise. Include gansidecl.h and remove all code made
1110 redundant.
1111
1112 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
1113 used when vfprintf is missing.
1114 * cexp.y: Likewise.
1115 * gcc.c: Likewise.
1116 * genattrtab.c: Likewise.
1117 * mips-tfile.c: Likewise.
1118 * toplev.c: Likewise.
1119
1120 * vfprintf.c: New file.
1121 * doprint.c: New file.
1122
1123 Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
1124
1125 * config/linux.h (ASM_COMMENT_START): Remove from here,
1126 * config/linux-aout.h (ASM_COMMENT_START): and here,
1127 * config/i386/linux.h (ASM_COMMENT_START): to here,
1128 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
1129 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
1130 here as '#' too.
1131
1132 Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1133
1134 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
1135 constant.
1136
1137 Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
1138
1139 * Makefile.in (dwarfout.o) Add toplev.h dependency.
1140 * dwarfout.c, i386.c: Include toplev.h
1141 * toplev.h: (pfatal_with_name) Add prototype.
1142
1143 Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
1144
1145 * Makefile.in: Fix .SUFFIXES.
1146
1147 Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1148
1149 * config/linux.h (ASM_COMMENT_START): Define as "#".
1150 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
1151
1152 Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
1153
1154 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
1155 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
1156
1157 * toplev.c: Include toplev.h.
1158 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
1159 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
1160 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
1161 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
1162 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
1163 toplev.h dependency.
1164
1165 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
1166 HARD_FRAME_POINTER_REGNUM.
1167
1168 * expr.c (target_temp_slot_level): Delete duplicate definition.
1169
1170 Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
1171
1172 * stmt.c (mark_seen_cases): Make it have external linkage again.
1173 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
1174 has been included.
1175
1176 * haifa-sched.c (print_value, case SUBREG): Fix typo.
1177
1178 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
1179 * i386.h (REG_CLASS_CONTENTS): Similarly.
1180
1181 * toplev.c (-fsched-max): Delete flag.
1182 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
1183 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
1184 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
1185 conditionals.
1186
1187 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
1188 inner loops which are not reducible.
1189
1190 * loop.c (regs_match_p): Fix typo in prototype.
1191
1192 * regmove.c (try_auto_increment): Wrap declaration inside an
1193 #ifdef AUTO_INC_DEC.
1194
1195 Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
1196
1197 * final.c (output_operand_lossage): Call fatal with the operand
1198 lossage message instead of calling abort.
1199
1200 Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1201
1202 * c-common.c: Convert to using ctype macros defined in system.h.
1203 * c-lex.c: Likewise.
1204 * cccp.c: Likewise.
1205 * collect2.c: Likewise.
1206 * rs6000.c: Likewise.
1207 * cpplib.c: Likewise.
1208 * fix-header.c: Likewise.
1209 * gcc.c: Likewise.
1210 * gen-protos.c: Likewise.
1211 * pexecute.c: Likewise.
1212 * protoize.c: Likewise.
1213 * rtl.c: Likewise.
1214 * scan.c: Likewise.
1215 * stmt.c: Likewise.
1216 * tlink.c: Likewise.
1217 * toplev.c: Likewise.
1218
1219 Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
1220
1221 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
1222 Replace -gdwarf-2 with -g0.
1223
1224 Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1225
1226 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
1227 * mips-tdump.c: Include system.h, remove redundant headers.
1228 * mips-tfile.c: Likewise. Also, convert all ctype function calls
1229 to calls of the macro versions defined in system.h.
1230
1231 * objc/Make-lang.in (objc-act.o): Depend on system.h.
1232 * objc/objc-act.c: Include system.h, remove redundant headers.
1233
1234 Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1235
1236 * configure.in (AC_CHECK_FUNCS): Add isascii.
1237 (GCC_NEED_DECLARATIONS): Add atof.
1238
1239 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
1240 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
1241
1242 Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1243
1244 * system.h: Wrap time.h and sys/file.h in autoconf checks.
1245 Provide default definitions for O_RDONLY and O_WRONLY here.
1246
1247 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
1248
1249 1998-05-06 Mark Mitchell <mmitchell@usa.net>
1250
1251 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
1252
1253 Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
1254
1255 * toplev.h: New file. Protypes for functions in toplev.c.
1256 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
1257 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
1258 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
1259 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
1260 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
1261 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
1262 varasm.c: include it.
1263
1264 Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
1265 Jim Wilson (wilson@cygnus.com)
1266
1267 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
1268 blocks. Check for 1 successor which is the EXIT_BLOCK.
1269
1270 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
1271 unreachable loops with more than one block.
1272
1273 Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
1274
1275 * fix-header.c (write_rbrac): Add "abort" to functions which need to
1276 be protected.
1277
1278 Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
1279
1280 * Check in merge from gcc2. See ChangeLog.12 for details.
1281
1282 Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
1283
1284 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
1285 accept 'a' flag. 'S' does accept 'a' flag.
1286 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
1287 and `a' flag.
1288
1289 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
1290
1291 Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1292
1293 * config/m68k/m68k.h: Declare functions from m68k.c used in
1294 macros and machine description.
1295 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
1296 long values.
1297 (ASM_OUTPUT_FLOAT): Likewise.
1298 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
1299
1300 Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
1301
1302 * tree.def: Add NAMESPACE_DECL.
1303 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
1304 * dwarf2out.c (push_decl_scope): Likewise.
1305 (scope_die_for): Likewise.
1306 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
1307 how to get next context level.
1308
1309 Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
1310
1311 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
1312 case.
1313
1314 Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
1315
1316 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
1317
1318 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
1319 for any insns skipped at the start of a block because they were
1320 redundant.
1321
1322 Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
1323
1324 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
1325
1326 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
1327
1328 * c-common.c (format_char_info): Add new field hhlen.
1329 (print_char_table, scan_char_table, time_char_table): Initialize
1330 hhlen field appropriately.
1331 (char_format_info): Recognize hh modifier and lookup correct char
1332 table entry.
1333
1334 Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
1335
1336 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
1337 reference if this is a store.
1338
1339 Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
1340
1341 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
1342
1343 Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
1344
1345 Make UnixWare 7 bootstrap support work with final shipping product.
1346 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
1347 Pick up xm-siglist and xm-alloca.
1348 (xm_defines): Add USG so dbxout will build.
1349 * configure: Regenerate.
1350
1351 Sun May 3 13:51:34 PDT 1998 Richard Henerson <rth@cygnus.com>
1352
1353 Support for official Sparc V9 ABI:
1354 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
1355 Care for flag_pcc_struct_return default.
1356 (output_move_quad): Rewrite to move by halves on v9 and in the
1357 proper direction.
1358 (move_quad_direction): New function.
1359 (output_fp_move_quad): Use it to determine the direction of copy.
1360 (function_arg_slotno): Return -1 for FP reg overflow as well.
1361 (function_arg_record_value*): New functions.
1362 (function_arg): Use them. Streamline unprototyped parameter passing.
1363 (function_arg_pass_by_reference): Pass TCmode by reference.
1364 (function_value): New function.
1365 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
1366 long long in 64-bit mode.
1367 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
1368 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
1369 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
1370 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
1371 (BASE_INCOMING_ARG_REG): Likewise.
1372 (FUNCTION_VALUE): Call function_value.
1373 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
1374 * sparc.md (movdi_sp32_v9): Disable for arch64.
1375 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
1376 (call_value_address_sp64): Remove register class constraints.
1377 (call_value_symbolic_sp64): Likewise.
1378 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
1379 v9 case to 32-bit constants.
1380 (goto_handler_and_restore_v9): Provide a version for arch64.
1381 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
1382 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
1383 (CPP_PREDEFINES): New.
1384 * sparc/sp64-elf.h: Likewise.
1385 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
1386 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
1387 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
1388
1389 Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
1390
1391 * version.c: Bump for snapshot.
1392
1393 Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1394
1395 * reload.c (find_reloads): Emit USEs to mark where a pseudo
1396 is reloaded with the MEM of its stack slot.
1397 * reload1.c (cannot_omit_stores): Delete.
1398 (reload): Don't initialize it.
1399 Don't apply avoid_return_reg logic to USEs.
1400 When done, remove USEs that have a REG_EQUAL note on them.
1401 (emit_reload_insns): Handle case where we have inherited a MEM.
1402 (choose_reload_regs): Likewise.
1403 (delete_output_reload): Don't use cannot_omit_stores.
1404
1405 Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
1406
1407 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
1408
1409 Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
1410
1411 * haifa-sched.c (print_{exp,value}): Various changes to make the
1412 debug output easier to read. Also, use only one buffer, and make
1413 sure the buffer we are passed in doesn't overflow.
1414 (safe_concat): Concatenate to a buffer without overflow.
1415
1416 Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1417
1418 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
1419 with the prototype.
1420
1421 Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1422
1423 * sched.c (new_insn_dead_notes): Check if the register was
1424 used in the original instruction.
1425 * haifa-sched.c (new_insn_dead_notes): Likewise.
1426
1427 Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
1428
1429 * dwarf2out.c (scope_die_for): If could not find proper scope,
1430 check for and handle tagged type with incorrect TYPE_CONTEXT.
1431
1432 Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
1433
1434 * calls.c (expand_call): Fix recognition of C++ operator new.
1435
1436 * alias.c (mode_alias_check): Disable type based alias detection.
1437
1438 Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
1439
1440 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
1441 ASM_OUTPUT_WEAK_ALIAS): Define.
1442 * config/mips/elf64.h: Same.
1443 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
1444 ASM_WEAKEN_LABEL): Removed.
1445
1446 Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1447
1448 * calls.c (expand_call): Bump the length limit on the specially
1449 recognized function names to 17.
1450
1451 Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
1452
1453 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
1454 when undefining macros at the end.
1455
1456 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
1457 val or len has TREE_SIDE_EFFECTS set.
1458
1459 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
1460 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
1461 (smuldi3_highpart): Call const v8plus routine.
1462 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
1463 (const_smulsi3_highpart_v8plus): New pattern.
1464 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
1465 (umulsidi3): Call const v8plus routine.
1466 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
1467 routine.
1468 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
1469 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
1470
1471 Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
1472
1473 * m32r.c (*_oper{and|ator}): Change enum arguments and return
1474 values to int, so they can be prototyped even in files that don't
1475 include rtl.h.
1476 ({small,large}_insn_p): Ditto.
1477 (m32r_select_cc_mode): Ditto.
1478 (gen_compare): Ditto.
1479 (function_arg_partial_nregs): Ditto.
1480 (m32r_setup_incoming_varargs): Ditto.
1481 (init_reg_tables): Add prototype.
1482 (m32r_frame_info): Add prolog_size field.
1483 (m32r_compute_frame_size): Calculate the size of the prologue.
1484 (m32r_first_insn_address): Return prologue size.
1485 (m32r_output_function_prologue): Calculate frame size before
1486 printing out information. Print out the prologue size.
1487
1488 * m32r.h: Prototype all functions in m32r.c.
1489 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
1490
1491 * m32r.md (bcc functions): Cast enum's to int.
1492
1493 * m32r.c (conditional_move_operand): Silence a debug message.
1494 ({small,long}_insn): New predicates.
1495
1496 * m32r.h (TARGET_M32R): New macro.
1497 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
1498 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
1499 was selected.
1500 (ISSUE_RATE): Define as 2.
1501
1502 * m32r.md (insn_size): New attribute.
1503 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
1504 short.
1505 (m32r): New attribute.
1506
1507 * configure.in (enable_haifa): Switch m32r to Haifa by default.
1508 * configure: Regenerate.
1509
1510 (Changes from Nick Clifton <nickc@cygnus.com>)
1511 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
1512 the equivalent of a negated 'I' constraint.
1513 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
1514 optimisation to work.
1515
1516 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
1517 than 'I' since the value is negated.
1518 (peephole): Add peephole optimisation to cope with optimization of
1519 divide and subtracts of the same operands.
1520
1521 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
1522 * m32r.h: Ditto.
1523 * m32r.md: Ditto.
1524
1525 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
1526 predicates.
1527
1528 Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
1529
1530 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
1531
1532 Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
1533
1534 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
1535 frame_pointer_rtx not FRAME_POINTER_REGNUM.
1536
1537 Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
1538
1539 * reg-stack.c: Revert last patch (Apr 20).
1540 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
1541
1542 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
1543
1544 * loop.c (check_dbra_loop): New locals jump, first_compare, and
1545 compare_and_branch. Call get_condition to set first_compare.
1546 Set compare_and_branch to number of compare/branch instructions.
1547 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
1548 Replace '2' with compare_and_branch.
1549
1550 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1551
1552 * cplus-dem.c (demangle_qualified): Replace missing else.
1553
1554 Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1555
1556 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
1557
1558 Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1559
1560 * sh.c (sh_expand_prologue, sh_expand_epilogue):
1561 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
1562 * sh.h (STACK_BOUNDARY): Likewise.
1563
1564 Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1565
1566 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1567
1568 Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
1569
1570 * system.h (abort): If abort is not defined, and neither is
1571 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
1572 reporting the line and filename of the error.
1573
1574 * .gdbinit: Add breakpoints on exit and fancy_abort.
1575
1576 * final.c (split_double): Avoid a compiler warning if
1577 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
1578
1579 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
1580 for calling jump_optimize.
1581
1582 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
1583 macros, rather than 0/1's.
1584
1585 Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
1586
1587 * alpha.h (CONST_COSTS): Zero is always free.
1588 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
1589
1590 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1591
1592 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
1593 length in the name of a virtual table.
1594
1595 Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
1596
1597 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
1598
1599 Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
1600
1601 * version.c: Bump for snapshot.
1602
1603 Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
1604
1605 * fold-const.c (fold_convert): Fix typo.
1606
1607 Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
1608
1609 * alias.c (alias_invariant): New variable.
1610 (record_base_value): New argument INVARIANT.
1611 (memrefs_conflict_p): If a register has an entry in the alias_invariant
1612 array, try substituting that value for the register.
1613
1614 * rtl.h: Declare record_base_value.
1615
1616 * loop.c, unroll.c: Update callers of record_base_value.
1617
1618 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
1619 ZERO_EXTEND do not affect base values.
1620
1621 Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
1622
1623 * dbxout.c (dbxout_type): Fix typo.
1624 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
1625
1626 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
1627
1628 Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
1629
1630 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
1631 if the argument is the address of a structure or array.
1632
1633 * configure.in: Enable Haifa scheduler by default for SPARC.
1634
1635 Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1636
1637 * cse.c (cse_set_around_loop): Don't do optimization when
1638 new pseudos are created.
1639
1640 Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
1641
1642 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
1643 appropriately.
1644 (dbxout_type_method_1, dbxout_type): Likewise.
1645 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
1646 (dbxout_type): Fix check for when to print a type range in
1647 octal vs decimal.
1648
1649 Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1650
1651 * (gen_shl_and, in case 1): Fix comparison with mask.
1652
1653 Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
1654
1655 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
1656 pointer as second register in REG+REG pair.
1657
1658 Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1659
1660 * c-common.c (check_format_info): Don't check for the 'x' format
1661 character twice, instead check for 'x' and 'X'
1662
1663 Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
1664
1665 * Makefile.in (libgcc2.ready): Add explicit dependancy from
1666 $(STMP_FIXPROTO) to ensure all necessary include files have
1667 been created and to guarantee proper parallel builds.
1668
1669 Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1670
1671 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
1672 register for stdarg functions.
1673 * sh.h (current_function_varargs): Declare.
1674 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
1675
1676 1998-04-23 Jim Wilson <wilson@cygnus.com>
1677
1678 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
1679 inhibit_libc is defined.
1680
1681 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
1682
1683 Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
1684
1685 * profile.c (tablejump_entry_p): New function.
1686 (branch_prob): Add code to recognize MIPS tablejump entry branch.
1687 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
1688
1689 Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
1690
1691 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
1692 found, rather than at end of the loop, after the insn has been
1693 changed.
1694
1695 Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1696
1697 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
1698 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
1699
1700 Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
1701
1702 * loop.c (note_addr_stored): Correct function to take 2 arguments,
1703 instead of 1.
1704
1705 * rtl.def (MATCH_INSN2): Add new matching pattern.
1706 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
1707
1708 Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
1709
1710 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
1711 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
1712
1713 * final.c (split_double): Sign extend both halves of a split CONST_INT.
1714
1715 Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
1716
1717 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
1718
1719 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1720
1721 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
1722 (cplus_demangle_opname): Call mop_up_squangle.
1723 (cplus_demangle): Initialize squangle info, then call
1724 internal_cplus_demangle. (Most code moved there as well)
1725 (internal_cplus_demangle): New function, performs most of what use
1726 to be done in cplus_demangle, but is only called with this file.
1727 (squangle_mop_up): New function to clean up B and K code data.
1728 (mop_up): set pointers to NULL after freeing.
1729 (demangle_signature, demangle_template, demangle_class): Add
1730 switch elements to handle K and B codes.
1731 (demangle_prefix, gnu_special, demangle_qualified): Add
1732 code to handle K and B codes.
1733 (do_type, demangle_fund_type): Handle B and K codes.
1734 (remember_Ktype): New function to store K info.
1735 (register_Btype, remember_Btype): New functions for B codes.
1736 (forget_B_and_K_types): New function to destroy B and K info.
1737
1738 1998-04-21 Jim Wilson <wilson@cygnus.com>
1739
1740 * stmt.c (check_seenlabel): When search for line number note for
1741 warning, handle case where there is no such note.
1742
1743 Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
1744
1745 * genemit.c (gen_exp): Allow machine description to set mode of
1746 MATCH_OP_DUP.
1747
1748 Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
1749
1750 * alias.c (mode_alias_check): New function.
1751 (true_dependence, anti_dependence, output_dependence): Call
1752 mode_alias_check.
1753
1754 Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
1755
1756 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
1757 (MIPS_STACK_ALIGN): Similarly.
1758
1759 * c-common.c (type_for_mode): Handle TI types.
1760 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
1761 (init_decl_processing): Handle TI types.
1762 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
1763
1764 * mips.c (block_move_loop): Test Pmode == DImode instead of
1765 TARGET_MIPS64.
1766 (expand_block_move, save_restore_insns): Likewise.
1767 (function_prologue, mips_expand_prologue): Likewise.
1768 (mips_expand_epilogue): Likewise.
1769 * mips.h (POINTER_SIZE): Allow specific targets to override.
1770 (Pmode): Allow specific targets to override.
1771 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
1772 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
1773 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
1774 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
1775 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
1776 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1777 * mips.md (indirect, tablejump & casesi support): Test for
1778 Pmode == DImode instead of TARGET_MIPS64.
1779 (call patterns): Likewise.
1780
1781 Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1782
1783 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
1784 for gen_rtx(MEM, ...).
1785
1786 Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
1787
1788 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
1789 to not be so gross, and to properly function with PIC.
1790
1791 Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
1792
1793 * frame.c (heapsort): Rename to frame_heapsort.
1794
1795 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
1796
1797 Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
1798
1799 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
1800
1801 Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
1802
1803 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
1804 operands during and after reload.
1805
1806 Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1807
1808 * final.c (shorten_branches, init_insn_lengths): Move code
1809 to free label_align, uid_shuid, insn_lengths, insn_addresses
1810 and uid_align from the former function into the latter one;
1811 Add code to clear these variables.
1812 * sh.h (label_align): Remove declaration.
1813
1814 Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
1815
1816 * gcc.c (lang_specific_driver): Declare prototype properly so
1817 fatal can be passed to it without error.
1818
1819 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
1820 * configure: Regenerate.
1821 * config.in: Add #undef's for strchr and strrchr.
1822
1823 * protoize.c (toplevel): If we have rindex, but not strrchr, map
1824 rindex to strrchr.
1825 (file_could_be_converted): Use strrchr, not rindex since rindex is
1826 not defined on Linux systems when _POSIX_SOURCE is defined.
1827 (file_normally_convertible): Ditto.
1828 (process_aux_info_file): Ditto.
1829 (main): Ditto.
1830
1831 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
1832 a constant to an integer register, don't split the insns that do
1833 the simple AND and OR operations, rather just split each word, and
1834 let the normal movsi define split handle it further.
1835
1836 Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1837
1838 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
1839 (split_branches): Call init_insn_lengths.
1840
1841 Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
1842
1843 * i386.c: Include expr.h to get the change_address prototype
1844 declared.
1845
1846 Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
1847
1848 * reg-stack.c (subst_asm_stack_regs): Change to return the last
1849 new insn generated by this function.
1850 (subst_stack_regs): Likewise.
1851 (convert_regs): Record the last newly generated insn and use
1852 it for change_stack () instead of INSN.
1853
1854 Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
1855
1856 * fix-header.c (enum special_file): Undefine enumerators if they
1857 are already defined by include files.
1858 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
1859 macro with '__' to not pollute user namespace.
1860
1861 Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
1862
1863 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
1864
1865 Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
1866
1867 * version.c: Bump for snapshot.
1868
1869 Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
1870
1871 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
1872
1873 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
1874 Add missing -Dpentium* options.
1875 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
1876 instead of CPP_CPU_DEFAULT.
1877 (EXTRA_SPECS): Add entry for cpp_cpu_default.
1878
1879 Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
1880
1881 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
1882 negative in a stackless frame.
1883 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
1884 in stackless frame size. Support 64-bit stackless frame size.
1885 Combine fpmem offset calculations and don't add total_size to
1886 offset if not pushing a stack frame.
1887
1888 Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
1889
1890 * regmove.c (fixup_match_1): In three places, in flag_exceptions
1891 check, change p to q.
1892
1893 Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
1894
1895 * gcc.c (lang_specific_driver): Add new parm type to prototype.
1896 (added_libraries): New file scope static variable.
1897 (process_command): Initialize added_libraries. Pass it to
1898 lang_specific_driver.
1899 (main): Use added_libraries in check for no input files.
1900
1901 Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
1902
1903 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
1904 code generation. Use 64 bit instructions in 32 bit mode when
1905 possible. Use V9 return instruction. UltraSPARC optimizations.
1906
1907 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
1908
1909 Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
1910
1911 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
1912 just pass zero. That will work regardless of the size of HARD_REG_SET.
1913
1914 * libgcc2.c (__floatdisf): Fix a couple typos.
1915
1916 Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
1917
1918 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
1919
1920 Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
1921
1922 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
1923
1924 Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
1925
1926 * emit-rtl.c (operand_subword_force): If a register can not be
1927 accessed by words, copy it to a pseudo register.
1928
1929 Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
1930
1931 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
1932
1933 Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
1934
1935 * tree.h (mark_seen_cases): Delete declaration.
1936
1937 Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
1938
1939 * stmt.c (mark_seen_cases): Make static and add prototype.
1940
1941 Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1942
1943 * frame.c: Include stdlib.h and unistd.h to possibly get various
1944 function prototypes. The fixproto script guarantees these header
1945 files exist on the target system.
1946 * libgcc2.c: Likewise.
1947
1948 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
1949 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
1950 function parameters.
1951 * libgcc2.c (__udiv_w_sdiv): Likewise.
1952
1953 Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
1954
1955 * varasm.c (asm_output_bss): Add prototype.
1956 (asm_output_aligned_bss): Likewise.
1957
1958 * unroll.c (verify_addresses): Add prototype.
1959
1960 * toplev.c: Add many prototypes. Too many to mention here.
1961
1962 * stmt.c (check_seenlabel): Add prototype.
1963
1964 * rtlanal.c (reg_set_p_1): Add prototype.
1965 (reg_set_last_1): Likewise.
1966
1967 * reorg.c (find_dead_or_set_registers): Add prototype.
1968
1969 * regmove (try_auto_increment): Add prototype.
1970
1971 * reg-stack.c (pop_stack): Add prototype.
1972
1973 * recog.c (validate_replace_rtx_1): Add prototype.
1974 (find_cosntant_term_loc): Likewise.
1975
1976 * loop.c (regs_patch_p): Add prototype.
1977 (add_label_notes, count_nonfixed_reads): Likewise.
1978 (find_single_use_in_loop): Likewise.
1979 (express_from): Surround prototype with #ifdef.
1980 (giv_sort): Similarly.
1981
1982 * jump.c (mark_modified_reg): Add prototype.
1983
1984 * haifa-sched.c (is_prisky): Add prototype.
1985 (queue_to_ready): Likewise.
1986
1987 * genextract.c (gen_insn): Add prototype.
1988
1989 * genemit.c (max_operand_1): Add prototype.
1990 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
1991 (gen_expand, gen_explit, output_add_clobbers): Likewise.
1992 (output_init_mov_optab): Likewise.
1993
1994 * genattrtab.c (attr_hash_add_rtx): Add prototype.
1995 (attr_hash_add_string, write_length_unit_log): Likewise.
1996
1997 * genattr.c (init_range): Add prototype.
1998
1999 * combine.c (sets_function_arg_p): Add prototype.
2000
2001 * expr.c (store_constructor_field): Add prototype.
2002 (get_memory_usage_from_modifier): Likewise
2003
2004 * expmed.c (synth_mult): Add prototype.
2005 (choose_multiplier, invert_mod2n): Likewise.
2006
2007 * except.c (push_eh_entry): Add prototype.
2008 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
2009 (call_get_eh_context, start_dynamic_cleanup): Likewise.
2010 (start_dynamic_handler, can_throw): Likewise.
2011 (output_exception_table_entry, scan_region): Likewise.
2012 (eh_regs, set_insn_eh_region): Likewise.
2013
2014 * dwarfout.c (decl_class_context): Add prototype.
2015 (output_inheritance_die, type_ok_for_scope): Likewise.
2016
2017 * c-lex.c (skip_white_space_on_line): Add prototype.
2018
2019 * alias.c (record_set): Add prototype.
2020 (find_base_term, base_alias_check): Likewise.
2021
2022 * function.c (assign_outer_stack_local): Make static and add prototype.
2023
2024 * haifa-sched.c (build_control_flow): Accept raw data as inputs
2025 instead of computing it locally. Callers changed.
2026 (find_rgns): Several new arguments. Callers changed.
2027 Generally clean up and comment better. Use dominators to
2028 identify reducible loops. Convert some flag arrays to bitmaps.
2029 Convert most of the code to work on pred/succ lists instead of
2030 an edge table. Add comments for future improvements.
2031 (schedule_insns): Allocate temporary tables for flow data, call
2032 routines to compute flow data and pass it along to children as
2033 arguments.
2034 (debug_control_flow): Delete. Use dump_bb_data instead.
2035
2036 * basic-block.h (compute_dominators): Declare.
2037
2038 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
2039 functions.
2040 * basic-block.h: Declare them.
2041
2042 Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
2043
2044 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
2045 no operands.
2046
2047 Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
2048
2049 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
2050 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
2051 node is non NULL. Cache last file name and file name identifier node.
2052
2053 1998-04-15 Mark Mitchell <mmitchell@usa.net>
2054
2055 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
2056 the length of an array, not TREE_TYPE.
2057
2058 Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
2059
2060 * flow.c (sbitmap_union_of_successors): New function.
2061 * basic-block.h (sbitmap_union_of_successors): Declare it.
2062
2063 Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
2064
2065 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
2066 Set gnu_ld to gnu_ld_flag inside main loop.
2067 (gas): Likewise.
2068
2069 Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
2070
2071 * toplev.c (compile_file): Call init_parse using new interface.
2072 (init_lex): Remove declaration.
2073
2074 * c-lex.c (init_parse): Now returns char* containing filename.
2075
2076 Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
2077
2078 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
2079
2080 Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
2081
2082 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
2083 (gen{extract,peep,opinit,output}): Ditto.
2084
2085 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
2086 global definition so print-rtl.o can be linked in.
2087 * gen{peep,recog}.c (insn_attr_name): Ditto.
2088
2089 Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
2090
2091 * fixincludes: discard empty C++ comments, as found in sys/time.h
2092 on hpux-11.0.
2093
2094 Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2095
2096 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
2097 operand.
2098
2099 Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
2100
2101 * emit-rtl.c (operand_subword): Rework slightly to avoid
2102 bogus warning from previous change.
2103
2104 Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
2105
2106 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
2107 Nov 8 find_replacement change. Move decls of get_unaligned_address
2108 * alpha.h: ... here.
2109
2110 Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
2111
2112 * function.c (assign_parms): Initialize unsignedp before passing
2113 its pointer to promote_mode.
2114
2115 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
2116 (write_test_expr): Allow MATCH_INSN.
2117
2118 Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
2119
2120 * install.texi: Update section on warnings that can be safely ignored.
2121
2122 Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
2123
2124 * mips.md (reload_outdi): Change the scratch mode from DImode to
2125 TImode. New variable scratch, used instead of operand[2] in template.
2126 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
2127
2128 Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
2129
2130 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
2131
2132 Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
2133
2134 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
2135
2136 Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
2137
2138 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
2139 (ASM_FINISH_DECLARE_OBJECT): Likewise.
2140
2141 * Idea and part of the patch from HJ.
2142 * Makefile.in: auto-host.h renamed from auto-config.h. All references
2143 changed.
2144 (distclean): Remove auto-build.h too.
2145 * configure.in: Rename host autoconf generated file to auto-host.h.
2146 If host != build, then run autoconf to generate auto-build.h for
2147 the build machine and include it in build_xm_files.
2148 Check for wait.h and sys/wait.h.
2149
2150 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
2151 TRULY_NOOP_TRUNCATION.
2152
2153 Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
2154
2155 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
2156
2157 Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
2158
2159 * invoke.texi (ld options) Include memset requirements
2160 for options -nodstdlib and -nodefaultlibs.
2161
2162 1998-04-12 Paul Eggert <eggert@twinsun.com>
2163
2164 This change is from an idea suggested by Arthur David Olson.
2165
2166 * c-common.c (decl_attributes, record_function_format,
2167 check_format_info, init_function_format_info):
2168 Add support for strftime format checking.
2169 (enum format_type): New type.
2170 (record_function_format): Now static, and takes value of type
2171 enum format_type instead of int.
2172 (time_char_table): New constant.
2173 (struct function_format_info): format_type member renamed from is_scan.
2174 (check_format_info): Use `warning' rather than sprintf followed by
2175 `warning', to avoid mishandling `%' in warnings.
2176 Change `pedwarn' to `warning', since these warnings do not necessarily
2177 mean the program does not conform to the C Standard, as the code
2178 need not be executed.
2179
2180 * c-tree.h (record_function_format): Remove decl; no longer extern.
2181
2182 * extend.texi: Add documentation for strftime format checking.
2183
2184 Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
2185
2186 * mips/ecoffl.h: Do not include mips.h.
2187 * mips/elf.h: Likewise.
2188
2189 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
2190 * mips/ecoff.h: Include "mips/mips.h".
2191
2192 Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
2193
2194 * version.c: Bump for snapshot.
2195
2196 Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
2197
2198 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
2199 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
2200 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
2201 between loop optimization passes.
2202 * rtl.h: Updated appropriately.
2203
2204 Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
2205
2206 Reinstall this patch from Jason.
2207 * function.c (push_function_context_to): Don't call init_emit.
2208
2209 Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
2210
2211 * rtl.c (read_skip_spaces): Prevent infinite loops upon
2212 encountering unterminated comments.
2213
2214 Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
2215
2216 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
2217 64x32 cross builds.
2218
2219 * configure.in: Handle --with-fast-fixincludes.
2220 (fixincludes): If --with-fast-fixincludes, then use a different
2221 fixincludes program by default.
2222 * Makefile.in (fixinc.sh): New rule.
2223
2224 Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
2225
2226 * i386.md (movqi+1): Handle invalid QI register.
2227 (movsf_push-1): Likewise.
2228
2229 Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
2230
2231 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
2232 addresses.
2233 symbolic_memort_operand(), call32_operand(), int8_operand(),
2234 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
2235 Not used.
2236 uint16_operand(): Made static.
2237
2238 Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
2239
2240 * calls.c (expand_call): Fix typo.
2241
2242 Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
2243
2244 * c-lex.c (finput): New global.
2245 (init_parse): Always included. Handle !USE_CPPLIB using
2246 code originally in compile_file.
2247 (finish_parse): Update for CPPLIB.
2248 * toplev.c (init_parse, finish_parse): Declare.
2249 (finput): Delete variable. Now in front-ends.
2250 (compile_file): Remove code which is now handled by init_parse
2251 which is unconditionally called. Similarly for finish_parse.
2252
2253 Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
2254
2255 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
2256 ASM_WEAKEN_LABEL): Add.
2257
2258 Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
2259
2260 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
2261 * configure.in (alpha-*-linux*): Use them.
2262
2263 Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
2264
2265 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
2266 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
2267 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
2268 (build_expr_wfl): New prototype declaration.
2269 * tree.c (build_expr_wfl): New function, to build
2270 EXPR_WITH_FILE_LOCATION nodes.
2271 (copy_node): Don't zero TREE_CHAIN if copying a
2272 EXPR_WITH_FILE_LOCATION node.
2273 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
2274 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
2275
2276 Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
2277
2278 * configure.in (v850): Use t-v850.
2279 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
2280
2281 * protoize.c (creat, read, write): Do not declare.
2282
2283 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
2284 refer to the CODE_LABEL before a dispatch table.
2285
2286 * invoke.texi: Add ARC options.
2287
2288 * gcc.c (proces_command): Improve error message for -o with
2289 either -c or -S.
2290
2291 * i386/x-cygwin32 (CLIB): Link in advapi32.
2292
2293 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
2294 (ASM_IDENTIFY_LANGUAGE): Likewise.
2295
2296 * i386.md (movqi recognizer): Don't perfom byte increment into
2297 a NON_QI_REG_P.
2298
2299 * configure.in (x86-dg-dgux): Run fixinc.dgux.
2300
2301 * i370.h: Fix typo in GEN_INT changes.
2302
2303 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
2304 of an empty arglist in prototype.
2305
2306 * Makefile.in: Remove bytecode crud that crept back in after the
2307 gcc2 merge.
2308
2309 1998-04-08 Brendan Kehoe <brendan@cygnus.com>
2310
2311 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
2312 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
2313
2314 Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
2315
2316 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
2317
2318 Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
2319
2320 * c-lex.c (is_class_name): Delete declaration.
2321 (whitespace_cr): Make static and add prototype.
2322 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
2323 yylex, get_directive_line): Turn declarations into prototypes.
2324 (position_after_whitespace, check_newline, yyerror,, is_class_name,
2325 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
2326 prototypes.
2327 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
2328 prototypes.
2329 * gencodes.c (gen_insn): Add prototype.
2330 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
2331 gen_peephole): Add prototypes.
2332 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
2333 prototypes.
2334 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
2335 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
2336 genheader, gencode): Add prototypes.
2337 * genopinit.c (gen_insn): Add prototype.
2338 * genoutput.c (output_prologue, output_epilogue, scan_operands,
2339 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
2340 gen_expand, gen_split, n_occurrences): Add prototypes.
2341 * genpeep.c (gen_peephole): Add prototype.
2342 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
2343 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
2344 labels_in_range_p, count_loop_regs_set, note_addr_stored,
2345 loop_reg_used_before_p, scan_loop, replace_call_address,
2346 skip_consec_insns, libcall_benefit, ignore_some_movables,
2347 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
2348 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
2349 check_final_value, record_giv, update_giv_derive, basic_induction_var,
2350 simplify_giv_expr, general_induction_var, consec_sets_giv,
2351 check_dbra_loop, express_from, combine_givs_p, combine_givs,
2352 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
2353 last_use_this_basic_block, record_initial, update_reg_last_use,
2354 iteration_info, analyze_loop_iterations, insert_bct,
2355 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
2356 into prototypes.
2357
2358 Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
2359
2360 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
2361
2362 1998-04-07 Ken Raeburn <raeburn@cygnus.com>
2363
2364 * config/mips/mips.c (siginfo): Deleted.
2365 (override_options): Don't install SIGINFO signal handler.
2366
2367 Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
2368
2369 * loop.c (check_dbra_loop): When normalize comparison_val, add check
2370 to verify it is non-negative.
2371
2372 Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
2373
2374 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
2375 (alpha_expand_block_clear): Likewise.
2376
2377 Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
2378
2379 * tree.h (sizetype_tab): Fix previous change for K&R.
2380
2381 Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
2382
2383 * version.c: Bump for snapshot.
2384
2385 Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
2386
2387 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
2388 Add USG and POSIX to xm_defines.
2389
2390 Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
2391
2392 * gcc.c: Add linker spec.
2393 (link_command_spec): Use %(linker) instead of ld.
2394 (main): If collect2 is requested as the linker, see if it exists;
2395 if not, use ld instead.
2396
2397 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
2398 (ld:) Deleted.
2399 (install-collect2): Install as collect2, not ld.
2400
2401 * configure.in(will_use_collect2): It's named collect2 now.
2402
2403 * collect2: Remove checks to see if we were invoked recursively.
2404 (collect_execute): Use _spawnvp under cygwin32.
2405
2406 Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
2407
2408 * haifa-sched.c (build_control_flow): Set unreachable for block whose
2409 only predecessor is itself.
2410
2411 Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2412
2413 * c-parse.in: Include system.h, and remove stuff now made redundant.
2414 * cccp.c: Likewise.
2415 * cexp.y: Likewise.
2416 * protoize.c: Likewise. Properly check for cpp stringification.
2417
2418 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
2419 Depend on system.h.
2420
2421 * objc/Make-lang.in (objc-parse.o): Likewise.
2422
2423 Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2424
2425 * gansidecl.h: Check if compiler supports __attribute__. Provide
2426 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
2427 __attribute__ when its available. Also provide definitions for
2428 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
2429 terms of ATTRIBUTE_PRINTF.
2430
2431 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
2432 of __attribute__.
2433
2434 Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
2435
2436 * combine.c (can_combine_p): Include successor in volatile test.
2437
2438 Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2439
2440 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
2441 offset_unsigned.
2442
2443 Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
2444
2445 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
2446 in prototype and definition.
2447
2448 Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
2449
2450 * version.c: Bump for snapshot.
2451
2452 Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
2453
2454 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
2455 alpha_expand_unaligned_store_words.
2456
2457 Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
2458
2459 * i386.md (movsf_push, movsf_mem): Remove.
2460 (movsf_push): Rename from movsf_push_nomove and move in front of
2461 movsf. Use nonmemory_operand predicate and don't bother checking
2462 TARGET_MOVE.
2463 (movsf_push_memory): New pattern.
2464 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
2465 both operands refer to memory then force operand[1] into a register.
2466 (movsf_normal): Change to unnamed pattern.
2467 Likewise for movdf, movxf, and friends.
2468
2469 Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
2470
2471 * version.c: Bump for snapshot.
2472
2473 Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
2474
2475 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
2476
2477 Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
2478
2479 * configure.in (mips-wrs-vxworks): New target.
2480
2481 Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
2482
2483 * expmed.c (synth_mult): The value -1, has no zeros, so it can
2484 never have the form ...011.
2485
2486 * version.c: Bump for snapshot.
2487
2488 Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
2489
2490 * i386.c (asm_output_function_prefix, load_pic_register):
2491 Use ASM_GENERATE_INTERNAL_LABEL properly.
2492 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
2493 (print_operand): Ignore it.
2494 (load_pic_register): Use it for the got load call.
2495 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
2496 (prologue_get_pc_and_set_got): Likewise.
2497 * i386.h: Update print_operand docs.
2498
2499 Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
2500
2501 * i386.md (ffssi, ffshi): Rewrite as define_expands.
2502 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
2503 * i386.c (notice_update_cc): Recognize unspec 5.
2504
2505 Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
2506
2507 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
2508 * alpha.c (print_operand): Handle it.
2509 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
2510 for ALPHA_TP_INSN.
2511 (fix_truncdfdi2): Likewise.
2512
2513 Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
2514
2515 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
2516 of these into a single struct, with additional [us]sizetype entries.
2517 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
2518 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
2519 an array.
2520
2521 Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
2522
2523 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
2524
2525 Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
2526
2527 * haifa-sched.c (split_block_insns): Don't supress insn splitting
2528 on subsequent passes.
2529
2530 * alpha.c (hard_fp_register_operand): New function.
2531 * alpha.h (PREDICATE_CODES): Add it.
2532 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
2533 f<-m case and accompanying define_split.
2534 (trapb): Use a unique unspec_volatile number.
2535
2536 Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
2537
2538 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
2539 from gcc2 merge.
2540
2541 Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
2542
2543 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
2544 for details.
2545
2546 * haifa-sched.c: Mirror recent changes from gcc2.
2547
2548 Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
2549
2550 * Makefile.in (insn*.o): Depend on system.h.
2551
2552 * pa.c (output_global_address): Initialize base.
2553 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
2554
2555 1998-04-03 Mike Stump <mrs@wrs.com>
2556
2557 * gthr.h: Support systems that don't have weak, but have threads.
2558 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
2559 * gthr-vxworks.h: New file.
2560 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
2561
2562 Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
2563
2564 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
2565
2566 1998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
2567
2568 * ginclude/va-i960.h (va_end): Change void * to void.
2569
2570 Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2571
2572 * Makefile.in (choose-temp.o): Depend on system.h.
2573
2574 * choose-temp.c: Include system.h when IN_GCC.
2575
2576 Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
2577 Richard Henderson <rth@cygnus.com>
2578
2579 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
2580 (move_replacements): New function.
2581 * reload.h: Prototype it.
2582
2583 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
2584
2585 Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
2586
2587 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
2588 Run fixincludes.
2589
2590 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
2591 (gen_highpart): Likewise.
2592 * final.c (alter_subreg): Allow the target to hook by-mode subreg
2593 hard register number changes.
2594
2595 Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
2596
2597 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
2598 rnbitsize, rnmode and rinner.
2599 (make_range): Initialize type.
2600 (fold): Initialize arg0, arg1 and varop.
2601
2602 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
2603 and regnor.
2604 (expand_function_start): Initialize last_ptr.
2605
2606 * stor-layout.c (layout_record): Initialize desired_align.
2607 (get_best_mode): Initialize unit.
2608
2609 * tree.c (copy_node): Initialize length.
2610
2611 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
2612
2613 * caller-save.c (insert_save_restore): Initialize pat, code and
2614 numregs.
2615
2616 * emit-rtl.c (push_to_sequence): Initialize top.
2617 (push_topmost_sequence): Likewise.
2618
2619 * genattrtab.c (simplify_by_exploding): Initialize defval.
2620
2621 * profile.c (branch_prob): Initialize dest.
2622
2623 * rtl.h (note_stores): Remove duplicate prototype.
2624 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
2625
2626 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
2627 strings that are not actually lengths.
2628
2629 * genattrtab.c: Make generated file use system.h, instead of
2630 including stdio.h, etc directly.
2631 * genextract.c, genopinit.c, genoutput.c: Likewise.
2632 * genpeep.c, genrecog.c: Likewise
2633
2634 * genoutput.c (process_template): Mark operands in the generated
2635 function as potentially unused if compiling with GNU CC.
2636
2637 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
2638
2639 * pa.md (reload peepholes): Remove unused variable "mode".
2640
2641 Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
2642
2643 * config/arm/thumb.h: Add super interworking support.
2644 * config/arm/thumb.c: Add super interworking support.
2645 * config/arm/thumb.md: Add super interworking support.
2646 * config/arm/lib1funcs.asm: Add interworking support.
2647 * config/arm/lib1thumb.asm: Add super interworking support.
2648 * config/arm/t-semi: Add interworking support.
2649 * config/arm/t-thumb: Add interworking support.
2650 * config/arm/README-interworking: New file.
2651
2652 Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
2653
2654 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
2655 (MD_STARTFILE_PREFIX): Unset.
2656
2657 1998-04-01 Mark Mitchell <mmitchell@usa.net>
2658
2659 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
2660 entity in a local scope.
2661
2662 * fold-const.c (fold): Call truthvalue_conversion for values which
2663 are folded to boolean type.
2664
2665 Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
2666
2667 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
2668 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
2669 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
2670 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
2671 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
2672 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
2673 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
2674 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
2675 * md.texi: Likewise.
2676
2677 Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
2678
2679 * fixincludes (limits.h): Fix nested comments in Motorola's
2680 limits.h and sys/limits.h.
2681
2682 Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
2683
2684 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
2685 as dest of expand_binop call.
2686
2687 * alpha.md (extzv): Correct check for valid operand[2] values.
2688
2689 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
2690 branch.
2691
2692 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
2693
2694 Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
2695
2696 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
2697 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
2698
2699 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
2700 cygwin32 can override this to allow both unix and win32 style PATHs.
2701
2702 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
2703 style environment paths.
2704
2705 Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2706
2707 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
2708 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
2709 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
2710 system.h.
2711
2712 * cpphash.c: Include config.h.
2713 * cppalloc.c: Include system.h. Add parameters to various
2714 function prototypes.
2715 * cpperror.c: Likewise.
2716 * cppexp.c: Likewise.
2717 * cpphash.c: Likewise.
2718 * cpplib.c: Likewise.
2719 * cppmain.c: Likewise.
2720 * fix-header.c: Likewise.
2721 * gcov.c: Likewise.
2722 * gen-protos.c: Likewise.
2723 * gengenrtl.c: Likewise.
2724 * halfpic.c: Likewise.
2725 * hash.c: Likewise.
2726 * scan-decls.c: Likewise.
2727 * scan.c: Likewise.
2728
2729 Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
2730
2731 * README.gnat: Add lang_print_xnode definition.
2732
2733 Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2734
2735 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
2736 fmovecr on the 68060.
2737
2738 Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
2739
2740 * genemit.c (DONE): Rework so that it works in the true arm if
2741 an if-else conditional.
2742 (FAIL): Likewise.
2743
2744 Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
2745
2746 * rs6000.c: Do not include stdioh or ctype.h anymore.
2747
2748 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
2749 $(RTL_H).
2750 (stor-layout.o): Likewise.
2751 * c-typeck.c: Include rtl.h and expr.h.
2752 * stor-layout.c: Likewise.
2753
2754 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
2755 All callers changed.
2756 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
2757 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
2758 All callers changed.
2759
2760 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
2761
2762 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
2763
2764 * tree.h (lang_print_xnode): Provide prototype.
2765
2766 Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
2767
2768 * version.c: Bump for snapshot.
2769
2770 Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
2771
2772 * objc/sendmsg.c (__objc_block_forward): Add braces for return
2773 value if INVISIBLE_STRUCT_RETURN.
2774
2775 * pa.c (arith_double_operand): Fix parens.
2776
2777 * haifa-sched.c (print_pattern): Correct arg to sprintf.
2778
2779 * Makefile.in (libgcc1.null): Make return type for __foo void.
2780
2781 Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
2782
2783 * pa.h: Add declarations for many functions defined in pa.c.
2784
2785 * genpeep.c (main): Remove unused variable 'i' from the generated
2786 file.
2787
2788 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
2789 (gen_split): Likewise.
2790 (main): Rework generated definitions of DONE and FAIL so that they
2791 no longer use gotos. Avoids warnings about unused labels.
2792
2793 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
2794 unused "junk" variable.
2795
2796 * genattrtab.c (write_complex_function): Add a default case in
2797 generated switch statement to keep -W -Wall quiet.
2798
2799 Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
2800
2801 * invoke.texi: Document more ARM and Thumb command line options.
2802
2803 * config/arm/xm-thumb.h: New file.
2804
2805 Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
2806
2807 * stmt.c (expand_expr_stmt): Must generate code for
2808 statements within an expression (gcc's `({ ... )}')
2809 even if -fsyntax-only.
2810
2811 Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2812 Jeffrey A Law (law@cygnus.com)
2813
2814 * basic-block.h (basic_block_computed_jump_target): Declare.
2815 * flags.h: (current_function_has_computed_jump): Declare.
2816 * flow.c: (basic_block_computed_jump_target): Define.
2817 (flow_analysis): Allocate it. Set current_function_has_computed_jump
2818 to 0.
2819 (find_basic_blocks): Set current_function_has_computed_jump and
2820 elements of basic_block_computed_jump_target to 1 as appropriate.
2821 * function.c: (current_function_has_computed_jump): Define.
2822 * global.c (global_conflicts): Don't allocate pseudos into stack regs
2823 at the start of a block that is reachable by a computed jump.
2824 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
2825 immediately.
2826 (subst_stack_regs): Undo change from Sep 4 1997.
2827 (uses_reg_or_mem): Now unused, deleted.
2828 * stupid.c (stupid_life_analysis): Compute
2829 current_function_has_computed_jump.
2830 (stupid_find_reg): Don't allocate stack regs if the function has a
2831 computed goto.
2832 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
2833 the current function has a computed jump. Use the global value
2834 instead.
2835
2836 Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
2837
2838 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
2839 (DWARF2_UNWIND_INFO): Define to zero.
2840
2841 Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
2842
2843 * gcc.c (set_std_prefix): Add declaration.
2844 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
2845 suffix, and update the standard prefix prefix.c uses.
2846
2847 * prefix.c (std_prefix): New global to hold default prefix value.
2848 (get_key_value): Change to use std_prefix instead of PREFIX.
2849 (translate_name): Ditto.
2850 (update_path): Ditto.
2851 (get_key_value): Release allocated scratch storage.
2852 (set_std_prefix): New function to reset the standard prefix.
2853
2854 Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2855
2856 * sh.c (find_barrier): Fix calculations for alignment increase.
2857
2858 Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
2859
2860 * Makefile.in (stmp-fixinc): If we're actually fixing include
2861 files, copy gcc's assert.h into the fixed include dir.
2862 * fixincludes (assert.h): Avoid any attempts to fix a probably
2863 broken system specific assert.h file.
2864 * fixproto (stdlib.h): Make sure, it'll contain a definition of
2865 size_t.
2866
2867 Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
2868
2869 * regclass.c (reg_scan_mark_refs): Be more selective about
2870 when we mark a register with REGNO_POINTER_FLAG.
2871
2872 Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2873
2874 reload inheritance improvement:
2875 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
2876 Change meaning: index is now hard reg number.
2877 (reg_reloaded_valid, reg_reloaded_dead): New variables.
2878 (reload_spill_index): Content is now a hard reg number.
2879 (reload_as_needed): Change to fit new variable meaning.
2880 (forget_old_reloads_1, allocate_reload_reg): Likewise.
2881 (choose_reload_regs, emit_reload_insns): Likewise.
2882
2883 Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2884
2885 * regclass.c (record_reg_classes): '?' increases cost by two.
2886
2887 * reload.c (find_reloads): Double previous costs. Output
2888 reloads cost one unit extra.
2889
2890 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
2891 boiled down to && ! 0.
2892
2893 * reload.c (find_equiv_reg): Also consider a goal offset from the
2894 frame pointer to be constant.
2895
2896 Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2897
2898 * sh.h (OPTIMIZATION_OPTIONS): Define.
2899
2900 Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
2901
2902 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
2903
2904 Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
2905
2906 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
2907
2908 Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
2909
2910 * c-common.c (check_format_info): Initialize type, is_type. New local
2911 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
2912 when pedantic if used with integral format specifier.
2913
2914 Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
2915
2916 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
2917 direction.
2918 (function_arg_padding): Declare.
2919
2920 * rs6000.c: Include system.h.
2921 (function_arg_padding): Change return type to int, cast enum's to
2922 int.
2923
2924 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
2925 * collect2.c (scan_prog_file): Add explicit braces to avoid
2926 ambiguous `else'.
2927
2928 * dbxout.c (dbxout_type_fields): Add braces around empty body in
2929 an if-statement.
2930 (dbxout_type): Likewise.
2931
2932 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
2933 `ptt_size' from int to size_t.
2934 (rs6000_file_start): Likewise for `i'.
2935 (rs6000_replace_regno): Add default case in enumeration switch.
2936 (output_epilog): Remove unused variable `i'.
2937 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
2938 and `reg2'.
2939
2940 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
2941 initializer.
2942 (get_issue_rate, non_logical_cint_operand): Add prototype.
2943 (rs6000_output_load_toc_table): Ditto.
2944
2945 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
2946 `else'.
2947
2948 Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
2949
2950 * config/arm/thumb.c: New File. Support for ARM's Thumb
2951 instruction set.
2952 * config/arm/thumb.h: New File. Thumb definitions.
2953 * config/arm/thumb.md: New File. Thumb machine description.
2954 * config/arm/tcoff.h: New File. Thumb COFF support.
2955 * config/arm/t-thumb: New File. Thumb makefile fragment.
2956 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
2957
2958 * configure.in: Add Thumb-coff target.
2959 * configure: Add Thumb-coff target.
2960 * config.sub: Add Thumb-coff target.
2961
2962 Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
2963
2964 * loop.c (scan_loop): Initialize move_insn_first to zero.
2965
2966 Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
2967
2968 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
2969 * config/i386/rtems.h: Likewise.
2970 * config/i960/rtems.h: Likewise.
2971 * config/m68k/rtems.h: Likewise.
2972 * config/mips/rtems64.h: Likewise.
2973 * config/pa/rtems.h: Likewise.
2974 * config/rs6000/rtems.h: Likewise.
2975 * config/sh/rtems.h: Likewise.
2976 * config/sparc/rtems.h: Likewise.
2977
2978 Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2979
2980 * pa.c (emit_move_sequence): If in reload, call find_replacement.
2981
2982 Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
2983
2984 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
2985
2986 * collect2.c (find_a_file): Add debugging.
2987 (find_a_file): Test for win32 style absolute paths if
2988 DIR_SERPARATOR is defined.
2989 (prefix_from_string): Add debugging.
2990 (main): Test for debug command line switch at start of program
2991 execution.
2992 (main): Use GET_ENVIRONMENT rather than getenv().
2993 (prefix_from_env): Use GET_ENVIRONMENT.
2994
2995 1998-03-24 Mark Mitchell <mmitchell@usa.net>
2996
2997 * cplus-dem.c (optable): Add sizeof.
2998 (demangle_template_value_parm): New function containing code
2999 previously found in demangle_template.
3000 (demangle_integral_value): New function which handles complicated
3001 integral expressions.
3002 (demangle_template): Use them.
3003
3004 Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3005
3006 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
3007 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
3008 genattrtab.o, genoutput.o): Depend on system.h.
3009
3010 * genattr.c: Include system.h. Add arguments to various function
3011 prototypes. Remove redundant prototype of read_rtx().
3012 * genattrtab.c: Likewise.
3013 * gencodes.c: Likewise.
3014 * genconfig.c: Likewise.
3015 * genemit.c: Likewise.
3016 * genextract.c: Likewise.
3017 * genflags.c: Likewise.
3018 * genopinit.c: Likewise.
3019 * genoutput.c: Likewise.
3020 * genpeep.c: Likewise.
3021 * genrecog.c: Likewise.
3022
3023 1998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
3024
3025 * c-lang.c (lang_print_xnode): New function.
3026 * objc/objc-act.c (lang_print_xnode): Likewise.
3027 * print-tree.c (print_node): Call it
3028
3029 Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
3030
3031 * c-parse.in: Recognize protocol qualifiers in class
3032 definitions for objc.
3033 Include "output.h".
3034 (yyerror): Remove redundant decl.
3035 (yyprint): Fix prototype.
3036
3037 Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
3038
3039 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
3040
3041 * stmt.c (unroll_block_trees): Free block_vector if needed.
3042
3043 Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
3044
3045 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
3046 (zero_extendsidi2): Avoid useless copy.
3047 (iordi_zext): New pattern.
3048 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
3049 operand 2.
3050 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
3051
3052 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
3053 (ashldi3): Allow constant shift count in range ]32,63].
3054 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
3055
3056 1998-03-22 Mark Mitchell <mmitchell@usa.net>
3057
3058 * tree.h (IS_EXPR_CODE_CLASS): New macro.
3059
3060 Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
3061
3062 * h8300.h (CONST_COSTS): Remove definition.
3063 (DEFAULT_RTX_COSTS): Define.
3064
3065 Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
3066
3067 * config/sh/rtems.h: Switched from ELF to COFF.
3068
3069 Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3070
3071 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
3072
3073 Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
3074
3075 * version.c: Bump for snapshot.
3076
3077 Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
3078 Geoff Noer <noer@cygnus.com>
3079
3080 * Makefile.in: Various fixes for building cygwin32 native toolchains.
3081
3082 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
3083 * objc/Make-lang.in: Likewise.
3084
3085 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
3086
3087 Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
3088
3089 * configure.in: Handle with-PACKAGE=no correctly
3090
3091 Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3092
3093 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
3094 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
3095 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
3096 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
3097 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
3098 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
3099 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
3100 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
3101 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
3102 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
3103 on system.h.
3104
3105 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
3106 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
3107 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
3108 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
3109 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
3110 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
3111 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
3112 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
3113 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
3114 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
3115 xcoffout.c: Include system.h. Organize include ordering so
3116 that stdarg/varargs comes before other system headers. Remove
3117 spurious casts of functions assured of a prototype in system.h.
3118
3119 Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
3120
3121 * reg-stack.c (pop_stack): Define. Pops any register on the
3122 regstack and adjusts regstack.
3123 (compare_for_stack_reg): Use pop_stack.
3124
3125 Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
3126
3127 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
3128 config too.
3129
3130 Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
3131
3132 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
3133
3134 * fold-const.c (fold): Replace sign-extension of a zero extended
3135 value by a single zero extension.
3136
3137 Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
3138
3139 * except.c (init_eh): Do nothing.
3140 (save_eh_status): Call init_eh_for_function, not init_eh.
3141 * function.c (push_function_context_to): Don't call init_emit.
3142
3143 Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
3144
3145 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
3146 and EABI.
3147
3148 Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3149
3150 * final.c (shorten_branches): Add parentheses around +/- in
3151 operand of &.
3152
3153 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
3154
3155 Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
3156
3157 * regclass.c (memory_move_secondary_cost): Wrap uses of
3158 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
3159 with #ifdef tests.
3160
3161 Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
3162
3163 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
3164
3165 * flow.c (life_analysis): #include <sys/types.h> to make sure
3166 size_t is defined.
3167 * cplus-dem.c (demangle_function_name): Likewise.
3168
3169 Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
3170
3171 * final.c (insn_noperands): Change type to unsigned int.
3172 (final_scan_insn): Likewise for noperands;
3173 properly check operand number boundaries.
3174
3175 Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
3176
3177 * alpha.md (extzv): Don't reject register operands. Fix
3178 mode of operand 1.
3179
3180 Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
3181
3182 * dbxout.c (dbxout_function_end): Fix last change. The correct
3183 predicate is ASM_OUTPUT_SECTION_NAME.
3184
3185 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
3186
3187 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
3188 (ashlsi): Use match_dup 1 instead of match_operand 2.
3189
3190 Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3191
3192 * fold-const.c (operand_equal_for_comparison_p): See if equal
3193 when nop conversions are removed.
3194
3195 Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3196
3197 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
3198 don't use ORIGINAL_TARGET unless REG.
3199
3200 Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3201
3202 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
3203
3204 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
3205
3206 * loop.c (struct movable): New field move_insn_first.
3207 (scan_loop): In consec sets code, set it. Clear it otherwise.
3208 (move_movables): In consec sets code, use it. Copy REG_NOTES from
3209 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
3210 out code.
3211
3212 Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
3213
3214 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
3215 is large, and the system doesn't provide atoll or atoq.
3216 (atoll): New.
3217
3218 * alpha/xm-vms.h (HAVE_ATOLL): Define.
3219 Reported by Klaus Kaempf <kkaempf@progis.de>.
3220
3221 Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3222
3223 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
3224 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
3225
3226 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
3227 test !ACCUMULATE_OUTGOING_ARGS.
3228
3229 * collect2.c (write_c_file_glob): Wrap function definition in
3230 macro test !LD_INIT_SWITCH.
3231
3232 * combine.c (try_combine): Wrap variables `cc_use' and
3233 `compare_mode' in macro test EXTRA_CC_MODES.
3234
3235 * cpplib.c (do_ident): Remove unused variable `len'.
3236 (skip_if_group): Remove unused variables `at_beg_of_line' and
3237 `after_ident'.
3238 (cpp_get_token): Remove unused variable `dummy'.
3239
3240 * dbxout.c (scope_labelno): Move static variable definition inside
3241 the one function scope where it is used.
3242 (dbxout_function_end): Wrap prototype and definition in
3243 macro test !NO_DBX_FUNCTION_END.
3244
3245 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
3246 in macro test !MIPS_DEBUGGING_INFO.
3247
3248 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
3249 into the scope where it is used. Wrap empty else-statement body
3250 in braces.
3251
3252 * fix-header.c: Fix typo in comment.
3253 (inf_skip_spaces): Cast results of INF_UNGET to (void).
3254 (check_protection, main): Likewise.
3255
3256 * flow.c (find_basic_blocks_1): Remove dangling comment text.
3257
3258 * function.c (contains): Wrap prototype and definition in macro
3259 test HAVE_prologue || HAVE_epilogue.
3260 (fixup_var_refs_1): Remove unused variable `width'.
3261
3262 * gen-protos.c (main): Remove unused variable `optr'.
3263
3264 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
3265
3266 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
3267 (__sjpopnthrow): Remove unused variable `jmpbuf'.
3268 (__throw): Remove unused variable `val'.
3269
3270 * protoize.c: Check for a previously existing definition before
3271 defining *_OK macros.
3272
3273 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
3274
3275 Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3276
3277 * vax.h (ADDR_VEC_ALIGN): Define.
3278
3279 Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
3280
3281 * gcc.c (default_arg): Don't wander off the end of allocated
3282 memory.
3283
3284 (From Geoffrey Keating <geoffk@ozemail.com.au>)
3285 * rs6000.c (small_data_operand): Ensure that any address
3286 referenced relative to the small data area is inside the SDA.
3287
3288 Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
3289
3290 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
3291
3292 Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
3293
3294 * except.h (in_same_eh_region): New prototype.
3295 (free_insn_eh_region, init_insn_eh_region): New prototypes.
3296 * except.c (insn_eh_region, maximum_uid): New static variables.
3297 (set_insn_eh_region): New static function to set region numbers.
3298 (free_insn_eh_region): New function to free EH region table.
3299 (init_insn_eh_region): New function to initialize EH region table.
3300 (in_same_eh_region): New function used to determine if two rtl
3301 instructions are in the same exception region or not.
3302 * final.c (final): Initialize the table indicating which instructions
3303 belong in which exception region.
3304 * genpeep.c (main): Add "except.h" to include file list in generated
3305 file insn-peep.c.
3306 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
3307 peepholes involving calls and unconditional branches.
3308
3309 Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
3310
3311 * README.gnat: New file.
3312
3313 Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3314
3315 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
3316 "recog.h" for offsettable_memref_p.
3317 (legitimize_pic_address): Remove unused variable `offset'.
3318 (notice_update_cc): Change return type to void. Add default label
3319 to switch.
3320 (standard_68881_constant_p): Remove unused variable mode.
3321 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
3322 (const_int_cost): Explicitly declare as returning int.
3323 (output_dbcc_and_branch): Change return type to void.
3324
3325 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
3326 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
3327 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
3328
3329 Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
3330
3331 * version.c: Bump for snapshot.
3332
3333 Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3334
3335 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
3336 check for 'M' constraint.
3337
3338 Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
3339
3340 * cccp.c (create_definition): If pedantic, call pedwarn for macro
3341 varargs feature.
3342
3343 Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3344
3345 * i386.c (ix86_logical_operator): New function.
3346 (split_di): Ensure that when a MEM is split, the resulting MEMs have
3347 SImode.
3348 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
3349 to implement them.
3350
3351 Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3352 Richard Earnshaw <rearnsha@arm.com>
3353 Nick Clifton <nickc@cygnus.com>
3354
3355 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
3356
3357 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
3358
3359 * cse.c (rtx_cost): Provide a default case in an enumeration
3360 switch, and call DEFAULT_RTX_COSTS if it's defined.
3361
3362 Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
3363
3364 * basic-block.h (compute_preds_succs): Change return type in
3365 prototype to void.
3366 * flow.c (compute_preds_succs): Likewise in function definition.
3367
3368 * regmove.c (find_matches): Cast char used as array index to unsigned char
3369 to supress warning.
3370
3371 Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
3372
3373 * i386.h (RTX_COSTS): Insert braces around nested if.
3374 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
3375 elements.
3376
3377 * gcc.c (default_compilers): Properly put brackets around array elements in
3378 initializer.
3379
3380 * getopt.c (_getopt_internal): Add explicit braces around nested if;
3381 reformatted.
3382
3383 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
3384 (record_reg_life_pat): Add explicit parens around && and || in expression.
3385 (stack_reg_life_analysis): Add parens around assignment used as expression.
3386 (convert_regs): Likewise.
3387
3388 Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
3389
3390 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
3391 change callers accordingly.
3392
3393 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
3394 and definition; change all callers accordingly.
3395
3396 * except.c (init_eh): Avoid assignment of unused return value of
3397 build_pointer_type; cast it to void, instead, and remove unused
3398 variable type.
3399
3400 * gcc.c (lang_specific_driver): Define prototype only #ifdef
3401 LANG_SPECIFIC_DRIVER.
3402 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
3403
3404 * genoutput.c (output_epilogue): Initialize next_name to 0.
3405
3406 * real.c (efrexp): #if 0 prototype and function definition.
3407 (eremain): Likewise.
3408 (uditoe): Likewise.
3409 (ditoe): Likewise.
3410 (etoudi): Likewise.
3411 (etodi): Likewise.
3412 (esqrt): Likewise.
3413
3414 * reload.c (push_secondary_reload): Define prototype only
3415 #ifdef HAVE_SECONDARY_RELOADS.
3416
3417 * varasm.c (assemble_static_space): Define rounded only
3418 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
3419
3420 Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
3421
3422 * i386.md (andsi): Add default case in enumeration switch.
3423 (iorsi3): Likewise.
3424 (iorhi3): Likewise.
3425 (xorsi3): Likewise.
3426
3427 Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
3428
3429 * c-decl (finish_struct): Change type of min_align to unsigned.
3430
3431 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
3432 remove unused variable len.
3433
3434 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
3435 comment indicating this is proper behaviour.
3436 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
3437 reg >= 0.
3438 (based_loc_descr): Likewise.
3439
3440 * enquire.c (bitpattern): Change type of variable i to unsigned.
3441
3442 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
3443
3444 * flow.c (life_analysis): Change type of variable i to size_t;
3445 remove unused variable insn.
3446
3447 * gcc.c (translate_options): Change type of variables optlen, arglen and
3448 complen to size_t.
3449 (input_filename_length): Change type to size_t.
3450 (do_spec_1): Change type of variable bufsize to size_t.
3451 (main): Change type of variables i and j to size_t;
3452 remove subblock local definition of variable i.
3453 (lookup_compiler): Change type of second argument to size_t;
3454 change type of variable i to size_t.
3455
3456 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
3457
3458 * genopinit.c (get_insn): Change type of variable pindex to size_t.
3459
3460 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
3461
3462 * global.c (global_alloc): Change type of variable i to size_t.
3463
3464 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
3465
3466 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
3467 (expand_end_case): Change type of variable count to size_t.
3468
3469 * toplev.c (main): Change type of variable j to size_t.
3470 (set_target_switch): Change type of variable j to size_t.
3471 (print_switch_values): Change type of variable j to size_t;
3472 remove unused variable flags.
3473
3474 * varasm.c (assemble_variable): Change type of variable align to size_t.
3475 (const_hash_rtx): Change type of variable i to size_t.
3476
3477 1998-03-11 Mark Mitchell <mmitchell@usa.net>
3478
3479 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
3480 TREE_VEC if that's what it really is.
3481
3482 Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
3483
3484 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
3485 as per ISO C spec.
3486
3487 Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
3488
3489 * gthr.h: Changed the comment about return values.
3490 * gthr-solaris.h (__gthread_once): Do not use errno; return the
3491 error number instead of -1.
3492 (__gthread_key_create): Any non-zero return value is an error.
3493 * libgcc2.c (eh_context_initialize): Check for non-zero return
3494 value from __gthread_once.
3495 Check that the value of get_eh_context was really changed.
3496
3497 Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3498
3499 * sh.h (LOOP_ALIGN): Only align when optimizing.
3500 * sh.c (find_barrier): Clear inc for CODE_LABELs.
3501 When not optimizing, calculate alignment for BARRIERs directly.
3502
3503 Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3504
3505 * final.c (shorten_branches): Remove conditionalizing on
3506 SHORTEN_WITH_ADJUST_INSN_LENGTH
3507 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
3508
3509 Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
3510
3511 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
3512 an unconditional jump around deleted blocks.
3513
3514 Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
3515
3516 * profile.c (branch_prob): If see computed goto, call fatal instead of
3517 abort.
3518
3519 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
3520
3521 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
3522 Patch from Bruno Haible.
3523
3524 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
3525 (assign_parms): Set aggregate if hide_last_arg and last_named.
3526
3527 Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3528
3529 * final.c (shorten_branches): Initialize insn_addresses.
3530
3531 Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3532
3533 * sh.h (MUST_PASS_IN_STACK): Define.
3534
3535 Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
3536
3537 * final.c (shorten_branches): Fix minor logic error in
3538 ADDR_DIFF_VEC shortening support.
3539
3540 Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
3541
3542 * version.c: Bump for snapshot.
3543
3544 Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
3545
3546 * haifa-sched.c (is_cfg_nonregular): Change return type to
3547 an int. No longer compute "estimated" number of edges. Use
3548 computed_jump_p instead of duplicating the code. Fixup/add
3549 some comments.
3550 (build_control_flow): Returns a value indicating an irregularity
3551 in the cfg was detected. Count the number of edges in the cfg.
3552 allocate various edge tables.
3553 (find_rgns): No longer look for unreachable blocks.
3554 (schedule_insns): Do not allocate memory for edge tables here.
3555 Free memory for edge tables before returning. Do not perform
3556 cross block scheduling if build_control_flow returns nonzero.
3557 * flow.c (compute_preds_succs): More accurately determine when
3558 a block drops in.
3559
3560 * basic-block.h (free_basic_block_vargs): Provide prototype.
3561
3562 * cccp.c (main): Fix dumb mistakes in last change.
3563
3564 Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3565
3566 * rtl.h (addr_diff_vec_flags): New typedef.
3567 (union rtunion_def): New member rt_addr_diff_vec_flags.
3568 (ADDR_DIFF_VEC_FLAGS): New macro.
3569
3570 * sh.c (output_branch): Fix offset overflow problems.
3571
3572 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
3573 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
3574 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
3575 * stmt.c (expand_end_case): Supply new arguments to
3576 gen_rtx_ADDR_DIFF_VEC.
3577 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
3578 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
3579 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
3580 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
3581 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
3582 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
3583 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
3584 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
3585 * i386/freebsd.h, i386/linux.h : Likewise.
3586 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
3587 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
3588 * m68k/mot3300.h, m68k/sgs.h : Likewise.
3589 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
3590 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
3591 (CASE_VECTOR_SHORTEN_MODE): Define.
3592 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
3593 (med_branch_p, braf_branch_p): Don't declare.
3594 (mdep_reorg_phase, barrier_align): Declare.
3595 (ADJUST_INSN_LENGTH): Remove alignment handling.
3596 * sh.c (uid_align, uid_align_max): Deleted.
3597 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
3598 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
3599 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
3600 (output_far_jump): Don't use braf_branch_p.
3601 (output_branchy_insn): Don't use branch_offset.
3602 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
3603 Remove paired barrier stuff.
3604 Don't use cache_align_p.
3605 Take alignment insns into account.
3606 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
3607 the addr_diff_vec.
3608 (barrier_align, branch_dest): New function.
3609 (machine_dependent_reorg, split_branches): Remove infrastructure
3610 for branch shortening that is now provided in the backend.
3611 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
3612 (braf_branch_p, braf_cbranch_p): Likewise.
3613 (attribute length): Use new attributes.
3614 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
3615 (addr_diff_vec_adjust): Delete.
3616 (align_2): Now a define_expand.
3617 (align_log): Now length 0.
3618
3619 Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
3620
3621 * m32r.md (right): Correctly check for length == 2, not 1.
3622
3623 Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3624
3625 * mips/mips.h: Prototype `machine_dependent_reorg'.
3626 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
3627
3628 Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
3629
3630 * final.c (shorten_branches): Restore accidentally removed code.
3631
3632 Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3633
3634 * configure.in: Remove duplicate uses of AC_PROG_CC and
3635 AC_PROG_MAKE_SET.
3636
3637 Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
3638
3639 * configure.in (target_cpu_default2): Correct typo for alphapca56.
3640
3641 Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
3642 Doug Evans (devans@cygnus.com)
3643
3644 * haifa-sched.c (build_jmp_edges): Delete dead function.
3645 (build_control_flow): Use cfg routines from flow.c
3646 (schedule_insns): Remove debugging code accidentally checked
3647 in earlier today.
3648
3649 * basic-block.h: Add external integer list structures, typdefs,
3650 accessor macros and function declarations. Simlarly for
3651 basic block pred/succ support and simple bitmap stuff.
3652 * flow.c: Add functions for integer list, basic block pred/succ
3653 support and simple bitmap support.
3654 (compute_dominators): New function to compute dominators and
3655 post dominators.
3656 (find_basic_blocks): Split into two functions.
3657 (life_analysis): Likewise.
3658 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
3659 the life_analysis from toplev.c
3660 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
3661 life_analysis instead of flow_analysis.
3662
3663 Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3664
3665 * jump.c (jump_optimize): Call mark_jump_label also for deleted
3666 insns.
3667 (mark_jump_label): Don't increment ref counts for deleted insns.
3668
3669 Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3670
3671 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
3672
3673 * mips/mips.c: Include stdlib.h and unistd.h.
3674 (mips_asm_file_end): Add braces around empty body in an if-statement.
3675 (function_prologue): Wrap variable `fnname' in
3676 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
3677 (mips_select_rtx_section, mips_select_section): Declare as void.
3678
3679 * mips/mips.h: Add prototypes for extern functions in mips.c.
3680 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
3681 (ENCODE_SECTION_INFO): Add braces around empty body in an
3682 if-statement.
3683
3684 * mips/mips.md (movdi): Add parentheses around && within ||.
3685 (movsf, movdf): Likewise.
3686 (branch_zero, branch_zero_di): Add default case in
3687 enumeration switch.
3688
3689
3690 Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
3691
3692 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
3693 real constants, since they can't be changed.
3694 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3695 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
3696 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3697 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3698 * alpha/vms.h (TARGET_OPEN_VMS): New.
3699 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
3700
3701 Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
3702
3703 * reload.c (find_reloads): Always force (subreg (mem)) to be
3704 reloaded if WORD_REGISTER_OPERATIONS.
3705
3706 Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
3707
3708 * haifa-sched.c (free_list): Rename from free_pnd_lst.
3709 (free_pending_lists): Rename free_pnd_lst uses.
3710 (remove_dependence): Place expunged element on unused_insn_list.
3711 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
3712 gen_rtx_*_LIST and alloc_rtx to use them.
3713 (compute_block_backward_dependences): Free the reg_last_* lists.
3714
3715 Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
3716
3717 * cccp.c (main): Avoid undefined behavior when setting pend_includes
3718 and pend_files.
3719
3720 Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
3721
3722 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
3723 USE_GNULIBC_1 is defined
3724 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
3725 includes the t-linux-gnulibc1 fragment
3726
3727 Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
3728
3729 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
3730
3731 Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3732
3733 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
3734
3735 Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3736
3737 * final.c (shorten_branches): Tag the loop alignment onto the
3738 first label after NOTE_INSN_LOOP_BEG even if there is an
3739 intervening insn.
3740
3741 Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3742
3743 * final.c (insn_current_reference_address):
3744 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
3745 proper alignment chain.
3746
3747 * final.c (max_labelno): New static variable.
3748 (final_scan_insn): Check max_labelno before outputting an
3749 alignment for a label.
3750 (shorten_branches): Remove unused variable length_align.
3751
3752 Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3753
3754 * sparc.c (ultrasparc_adjust_cost): Add default case in
3755 enumeration switch.
3756
3757 * sparc.h: Add prototypes for extern functions defined in
3758 sparc.c.
3759
3760 Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
3761
3762 * toplev.c: Only generate <name>.dbr file when dumping RTL if
3763 DEALY_SLOTS is defined.
3764
3765 Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
3766
3767 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
3768 in call to fill_slots_from_thread.
3769
3770 Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
3771
3772 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
3773 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
3774
3775 Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3776
3777 * final.c (insn_last_address, insn_current_align, uid_align):
3778 New variables.
3779 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
3780 (insn_current_reference_address): Likewise.
3781 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
3782 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
3783 (label_to_alignment): New function.
3784 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
3785 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
3786 insn_current_reference_address instead of insn_current_address.
3787 (or_attr_value, write_length_unit_log): New functions.
3788 (main): Call write_length_unit_log.
3789 (write_const_num_delay_slots): Output extra '\n'.
3790 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
3791 replace with:
3792 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
3793 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
3794 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
3795 (LOOP_ALIGN).
3796 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
3797 (LABEL_ALIGN_AFTER_BARRIER).
3798 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
3799 * ns32k/tek6000.h: Likewise.
3800 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
3801 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
3802 ASM_OUTPUT_ALIGN_CODE.
3803
3804 Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
3805
3806 * version.c: Bump for snapshot.
3807
3808 Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
3809
3810 * version.c: Bump for snapshot.
3811
3812 Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
3813
3814 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
3815 if condition code of jump conflicts with opposite_needed.
3816
3817 * reorg.c (fill_slots_from_thread): Mark resources referenced in
3818 opposite_needed thread. Return delay_list even when cannot get
3819 any more delay insns from end of subroutine.
3820
3821 Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
3822
3823 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
3824 All callers changed.
3825
3826 Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3827
3828 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
3829 end_fde_sort): New functions for fast sorting of an FDE array.
3830 (fde_insert): Simplified.
3831 (add_fdes): Change argument list.
3832 (frame_init): Use the new functions.
3833
3834 Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
3835
3836 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
3837
3838 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
3839
3840 * fold-const.c (fold_range_test): Always return a value.
3841
3842 Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
3843
3844 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
3845 data in the text section unless READONLY_DATA_SECTION is defined.
3846
3847 Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
3848
3849 * c-parse.in (undeclared variable error): Tweak error message to
3850 be clearer.
3851
3852 Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
3853
3854 * version.c: Bump for snapshot.
3855
3856 1998-02-28 Mark Mitchell <mmitchell@usa.net>
3857
3858 * final.c (final_scan_insn): Undo overzealous removal of `set'.
3859
3860 Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3861
3862 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
3863 case, add parentheses to specify the proper order of precedence in
3864 the if-statement.
3865
3866
3867 * c-aux-info.c: Include string.h/strings.h.
3868
3869 * pa.c: Include stdlib.h.
3870 (pa_combine_instructions): Prototype the function.
3871 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
3872 (reloc_needed): Add default case for enumeration switch.
3873 (remove_useless_addtr_insns): Remove unused variable `all'.
3874 (hppa_expand_prologue): Add explicit braces to avoid
3875 ambiguous `else'.
3876 (output_function_epilogue): Remove unused variable `i'.
3877 (output_millicode_call): Remove unused variable `link'.
3878 (shadd_constant_p, forward_branch_p): Make the function static.
3879 (following_call): Explicitly declare to return int.
3880 (pa_reorg): Declare as void.
3881 (pa_combine_instructions): Declare as static void. Add
3882 parentheses around && within ||.
3883
3884 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
3885 following_call, function_label_operand, lhs_lshift_cint_operand
3886 and zdepi_cint_p.
3887
3888 * pa.md: Add parentheses around && within ||.
3889
3890 * cppalloc.c: Include stdlib.h.
3891
3892 * cpperror.c (cpp_print_containing_files): Remove unused variable
3893 `i'. Fix format specifier in fprintf.
3894
3895 * cse.c (cse_around_loop): Add explicit braces to avoid
3896 ambiguous `else'.
3897 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
3898
3899 * expr.c (expand_expr): Add parentheses around && within ||.
3900
3901 * final.c (app_enable): Replace fprintf with fputs where there are
3902 no format specifiers and no trailing argument after the string.
3903 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
3904 (app_disable): Likewise.
3905 (final_end_function): Likewise.
3906 (final_scan_insn): Likewise. Remove unused variable `set'.
3907 (profile_function): Wrap empty if-statement body in {} brackets.
3908
3909 * function.c: Include stdlib.h.
3910 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
3911 (reposition_prologue_and_epilogue_notes): Add parentheses
3912 around assignment used as truth value.
3913
3914 * integrate.c (expand_inline_function): Wrap variable
3915 `cc0_insn' in macro HAVE_cc0.
3916
3917 * jump.c (jump_optimize): Wrap variable `q' in macro
3918 HAVE_cc0. Remove unused variable `prev1'.
3919
3920 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
3921 within ||. Fix format specifier in fprintf.
3922 (__bb_init_prg): Add parentheses around assignment used as
3923 truth value.
3924
3925 * local-alloc.c: Include stdlib.h.
3926 (requires_inout): Add parentheses around assignment used
3927 as truth value.
3928
3929 * loop.c (analyze_loop_iterations): Wrap prototype and definition
3930 in macro HAVE_decrement_and_branch_on_count.
3931 (insert_bct, instrument_loop_bct): Likewise.
3932 (move_movables): Add parentheses around assignment used as
3933 truth value.
3934 (consec_sets_invariant_p): Likewise.
3935 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
3936
3937 * objc/objc-act.c: Include stdlib.h.
3938 (lookup_method_in_protocol_list): Wrap empty else-statement body
3939 in braces.
3940 (lookup_protocol_in_reflist): Likewise.
3941 (objc_add_static_instance): Remove unused variables `decl_expr'
3942 and `decl_spec'.
3943 (get_objc_string_decl): Remove unused variable `decl'.
3944 (generate_static_references): Remove unused variables `idecl' and
3945 `instance'.
3946 (check_protocols): Wrap empty else-statement body in braces.
3947
3948 * protoize.c: Include stdlib.h.
3949 (substr): Add parentheses around assignment used as truth value.
3950 (abspath): Likewise.
3951 (shortpath): Likewise.
3952
3953 * regmove.c (fixup_match_1): Add parentheses around assignment
3954 used as truth value.
3955
3956 * reload.c (push_secondary_reload): Remove unused variable `i'.
3957 (find_reloads): Add parentheses around assignment used as truth
3958 value.
3959
3960 * reload1.c: Include stdlib.h.
3961
3962 * rtl.h: Correct typo in prototype of offsettable_memref_p.
3963
3964 * stmt.c (add_case_node): Add parentheses around assignment used
3965 as truth value.
3966 (case_tree2list): Likewise.
3967
3968 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
3969 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
3970 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
3971 (merge_attributes): Add explicit braces to avoid ambiguous
3972 `else'.
3973
3974 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
3975 macro HAVE_cc0.
3976
3977 * varasm.c: Include stdlib.h.
3978
3979
3980 * system.h: Remove sys/stat.h.
3981 * gcc.c: Add sys/stat.h.
3982
3983 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
3984 * genattrtab.c: Likewise.
3985 * genconfig.c: Likewise.
3986 * genemit.c: Likewise.
3987 * genextract.c: Likewise.
3988 * genflags.c: Likewise.
3989 * genopinit.c: Likewise.
3990 * genoutput.c: Likewise.
3991 * genpeep.c: Likewise.
3992 * genrecog.c: Likewise.
3993 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
3994
3995 Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3996
3997 * invoke.texi: Use @itemx for a secondary item in a @table.
3998
3999 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
4000 zero.
4001
4002 Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
4003
4004 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
4005
4006 Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
4007
4008 * i386.c (struct machine_function): Add new fields for PIC stuff.
4009 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
4010 and pic_label_name.
4011 (restore_386_machine_status): Corresponding changes.
4012 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
4013
4014 Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
4015
4016 * c-parse.y (undeclared variable error): Tweak error message
4017 to be clearer.
4018
4019 Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
4020
4021 * flags.h (g_switch_value, g_switch_set): Declare.
4022 * alpha.c (override_options): Set g_switch_value=8 if not set.
4023 * alpha/elf.h (CC1_SPEC): New.
4024 (ASM_SPEC): New.
4025 (LINK_SPEC): Pass along the -G value we were given.
4026 (LOCAL_ASM_OP): Remove.
4027 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
4028 (MAX_OFILE_ALIGNMENT): New.
4029 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
4030 (EXTRA_SECTIONS): Add sbss and sdata.
4031 (SECTION_FUNCTION_TEMPLATE): New.
4032 (EXTRA_SECTION_FUNCTIONS): Use it.
4033 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
4034 (SELECT_SECTION): Use sdata when small enough.
4035 * alpha/linux.h (ASM_SPEC): Remove.
4036
4037
4038 Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
4039 * config.sub (sco5): Fix typo.
4040
4041 Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
4042
4043 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
4044 set to empty.
4045 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
4046 * config/alpha/t-linux: Remove file.
4047 * config/sparc/t-linux: Remove file.
4048 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
4049 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
4050 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
4051 for tmake_file.
4052 (alpha*-*-linux-gnu*): Likewise.
4053 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
4054 (sparc-*-linux-gnu*): Likewise.
4055
4056 Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
4057 * collect2.c (ldd_file_name): Bracket declaration with same
4058 manifests as use.
4059 (full_real_ld_suffix): Deleted. Variable was calloced and
4060 written into, but never read.
4061
4062 1998-02-23 Mike Stump <mrs@wrs.com>
4063
4064 * configure.in: Add support for i386-wrs-vxworks configuration.
4065 * i386/vxi386.h: New file.
4066
4067 Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
4068
4069 * tree.c (contains_placeholder_p): Ensure function always returns
4070 a value.
4071 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
4072 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
4073
4074 Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
4075
4076 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
4077
4078 1998-02-22 Paul Eggert <eggert@twinsun.com>
4079
4080 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
4081 Define this new symbol.
4082 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
4083 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
4084 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
4085
4086 Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
4087
4088 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
4089 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
4090
4091 Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
4092
4093 * objc/Object.m (-error): Call objc_verror with our va_list.
4094
4095 Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4096
4097 * collect2.c (scan_prog_file): Completely cover uses of variable
4098 `exports' with macro COLLECT_EXPORT_LIST.
4099
4100 Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
4101
4102 * version.c: Bump for snapshot.
4103
4104 Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
4105
4106 * sched.c (schedule_block): Remove code to get arguments from hard
4107 regs into pseudos early. Same as Aug 25, 1997 change to
4108 haifa-sched.c.
4109
4110 1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
4111
4112 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
4113
4114 1998-02-16 Mark Mitchell <mmitchell@usa.net>
4115
4116 * toplev.c (rest_of_compilation): Do not defer the output of a
4117 nested function.
4118
4119 Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
4120
4121 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
4122 continuation character (line 243).
4123
4124 Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4125
4126 * genrecog.c (main): Remove duplicated sentence in emitted comment.
4127
4128 Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
4129 David Edelsohn <edelsohn@mhpcc.edu>
4130
4131 * collect2.c (XCOFF_SCAN_LIBS): Remove.
4132 (export_flag): New variable.
4133 (export_file): #ifdef COLLECT_EXPORT_LIST.
4134 (import_file, exports, imports, undefined): New variables.
4135 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
4136 (dump_list, dump_prefix_list, is_in_list): New functions.
4137 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
4138 (write_import_file, resolve_lib_name): New functions.
4139 (use_import_list, ignore_library): Same.
4140 (collect_exit): maybe_unlink import_file and #ifdef.
4141 (handler): Same.
4142 (main): New variable importf, #ifdef exportf. Move parsing of
4143 -shared before general argument parsing. Resolve AIX library
4144 paths and import libgcc.a symbols. Treat .so shared libraries the
4145 same as objects and .a libraries. Create alias for object_lst and
4146 increment it instead of original pointer. Scan AIX libraries as
4147 objects earlier instead of using scan_libraries. Perform AIX
4148 tlink later to resolve templates instead of forking ld.
4149 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
4150 (GCC_UNDEF_SYMBOL): New macro.
4151 (scan_prog_file): Loop for members of AIX libraries. Handle
4152 export/import of ctors/dtors.
4153 (aix_std_libs): New variable.
4154 (scan_libraries, XCOFF): Delete.
4155
4156 Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
4157
4158 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
4159
4160 1998-02-19 Mike Stump <mrs@wrs.com>
4161
4162 * Makefile.in: Use $tooldir for sys-include to match toplevel
4163 configure.
4164
4165 Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
4166 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4167
4168 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
4169
4170 * emit-rtl.c (hard-reg-set.h): Include.
4171 (get_lowpart_common): Don't make new REG for hard reg in a
4172 class that cannot change size.
4173 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
4174
4175 * combine.c: Revert previous patch.
4176
4177 1998-02-19 Paul Eggert <eggert@twinsun.com>
4178
4179 * config/sparc/sol2-sld.h: New file.
4180 * configure.in (sparc-*-solaris2*): Use it when using the
4181 system linker.
4182
4183 Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
4184
4185 * loop.c (force_movables): Fix typo.
4186
4187 Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
4188
4189 * m88k.h: Change file pattern to match reality.
4190
4191 Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
4192
4193 * varasm.c (output_constant_pool): Fix dumb thinko in last
4194 change.
4195
4196 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
4197 a function name to a section name.
4198
4199 1998-02-18 Doug Evans <devans@cygnus.com>
4200
4201 * tree.h (merge_machine_{type,decl}_attributes): Declare.
4202 (split_specs_attrs, strip_attrs): Add prototypes.
4203 * tree.c (merge_machine_{type,decl}_attributes): New functions.
4204 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
4205 Update olddecl's attributes too.
4206 * c-common.c (strip_attrs): New function.
4207 * c-typeck.c (common_type): Call merge_machine_type_attributes.
4208 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
4209 (make_decl_rtl): Likewise.
4210
4211 1998-02-18 Jim Wilson <wilson@cygnus.com>
4212
4213 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
4214
4215 Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
4216
4217 Remove this change until we can fix it correctly.
4218 * collect2.c: Bracket declaration of 'exportf' and
4219 'full_real_ld_suffix'.
4220
4221 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
4222
4223 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
4224
4225 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
4226
4227 * c-common.c (c_expand_start_cond, c_expand_end_cond,
4228 c_expand_start_else): Don't warn about non-ambiguous else even if
4229 braces are missing.
4230
4231 Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
4232
4233 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
4234 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
4235 instead.
4236
4237 Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
4238
4239 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
4240 simplifying a subreg of a hard reg.
4241 (expand_compound_operation): Likewise.
4242 (force_to_mode): Likewise.
4243
4244 Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4245
4246 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
4247 (lshift_double): Add parentheses around + or - inside shift.
4248 (rshift_double): Likewise.
4249 (size_int_wide): Explicitly set type of `bit_p' to `int'.
4250
4251 * Makefile.in (fold-const.o): Depend on system.h.
4252
4253 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
4254 change to gcc.c.
4255
4256 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
4257 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
4258 (sched_note_set): Remove unused parameter `b', all callers changed.
4259 (schedule_block): Likewise for `rgn'.
4260 (split_hard_reg_notes): Likewise for `orig_insn'.
4261 (check_live): Likewise for `trg'.
4262 (update_live): Likewise.
4263 (check_live_1): Explcitly declare variable `i' as int.
4264 (update_live_1): Likewise.
4265 (insn_issue_delay): Remove unused variable `link'.
4266 (sched_analyze_2): Add default case in enumeration switch.
4267 (schedule_insns): Remove unused variable `i'.
4268
4269 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
4270
4271 Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
4272
4273 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
4274 a dangling else clause.
4275
4276 Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
4277
4278 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
4279 pointer for the stack pointer in MIPS16 and 64BIT.
4280
4281 Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4282
4283 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
4284 * emit-rtl.c (force_line_numbers, restore_line_number_status):
4285 New functions.
4286 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
4287 (expand_start_case): Adjust to this change.
4288 (check_seenlabel): New function.
4289 (pushcase, pushcase_range, expand_endcase): Use it.
4290
4291 Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4292
4293 * i386.md (adddi3): Add =!r,0,0,X alternative.
4294
4295 Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
4296
4297 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
4298 * x-aix31 (INSTALL): Delete.
4299
4300 Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
4301
4302 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
4303 tsize changes to something other than zero.
4304
4305 Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
4306
4307 * ginclude/va-mips.h: Replace casts of pointers to int with
4308 casts of pointers to __PTRDIFF_TYPE__.
4309
4310 Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
4311
4312 * loop.c (strength_reduce, record_biv, record_giv): Use
4313 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
4314
4315 1998-02-16 Jason Merrill <jason@yorick.cygnus.com>
4316
4317 * tree.c (first_rtl_op): New fn.
4318 (unsave_expr_now): Use it.
4319 * print-tree.c (print_node): Likewise.
4320 * tree.c (has_cleanups): New fn.
4321 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
4322 conservative about pushing the cleanup point down.
4323 * tree.h: Declare them.
4324
4325 Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
4326
4327 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
4328 (flag_schedule_reverse_after_reload): Likewise.
4329 (f_options): Remove reverse scheduling support.
4330 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
4331 (flag_schedule_reverse_after_reload): Likewise.
4332 * haifa-sched.c (rank_for_schedule): Remove support for reverse
4333 scheduling.
4334
4335 Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4336
4337 * gcc.c: Get system includes, prototypes and macros via "system.h"
4338 instead of doing it manually. Change all calls of the ctype
4339 macros to custom versions defined in "system.h".
4340
4341 * system.h: Fix return type of bcmp prototype from `void' to `int'.
4342 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
4343 Add a prototype for getenv.
4344
4345 Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
4346
4347 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
4348
4349 Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
4350
4351 * alias.c: Include <stdlib.h> and <string.h>.
4352 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
4353
4354 Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
4355
4356 * version.c: Bump for snapshot.
4357
4358 Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
4359
4360 * arm.md (movsfcc): Also validate operands[3] when compiling hard
4361 float.
4362 (movdfcc): Only accept fpu_add_operand for operands[3].
4363
4364 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
4365 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
4366
4367 Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
4368
4369 * varasm.c (output_constant_pool): Bring back 'done' label inside
4370 an appropriate #ifdef.
4371
4372 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
4373 appropriate #ifdef.
4374 (bitmap_copy, bitmap_operation): Likewise.
4375 * combine.c (combinable_i3pat): Similarly for 'src'.
4376 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
4377 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
4378 * regclass.c (copy_cost): Similarly for 'secondary_class'.
4379 * reload.c (make_memloc): Simliarly for 'i'.
4380 (find_reloads_address_1): Similarly for 'link'.
4381 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
4382 (emit_reload_insns): Similarly for 'second_reloadreg'.
4383 * unroll.c (iteration_info): Similarly for 'v'.
4384
4385 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
4386 * calls.c (expand_call): Similarly for 'i'.
4387 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
4388 * fold-const.c (strip_compund_expr): Similarly for 'type'.
4389 * function.c (fixup_var_refs_1): Similarly for 'width'.
4390 (fixup_memory_subreg): Similarly for 'saved'.
4391 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
4392 (setjmp_protect): Similarly for 'sub'.
4393 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
4394 * loop.c (record_giv): Similarly for 'p'.
4395 (combine_givs): Similarly for 'temp_iv'.
4396 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
4397 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
4398 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
4399 * unroll.c (unroll_loop): Similarly for 'copy'.
4400 (iteration_info): Similarly for 'b'.
4401 * varasm.c (assemble_string): Similarly for 'i'.
4402 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
4403
4404 1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
4405
4406 * c-lang.c (lang_print_xnode): New function.
4407 * objc/objc-act.c (lang_print_xnode): Likewise.
4408 * print-tree.c (print_node): Call it
4409
4410 Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
4411
4412 * dwarf2out.c (decl_scope_node): New type.
4413 (decl_scope_table): Change type to use it.
4414 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
4415 (push_decl_scope): Use new type. New locals containing_scope, i.
4416 Add code to handle setting previous field.
4417 (scope_die_for): Change type of local i to int. Add code to use
4418 previous field.
4419 (dwarf2out_init): Use new type.
4420
4421 1998-02-13 Jason Merrill <jason@yorick.cygnus.com>
4422
4423 * except.c (emit_throw): Lose throw_used.
4424
4425 Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4426
4427 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
4428 was deleted.
4429 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
4430
4431 Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
4432
4433 * genextract.c (main): Fix typo.
4434
4435 Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
4436
4437 * c-lang.c (finish_file): Bracket declaration of static_ctors,
4438 static_dtors.
4439
4440 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
4441 'old_stack_arg_under_construction'
4442 (emit_library_call): Bracket declaration of 'upper_bound',
4443 'lower_bound', 'i', 'reg_parm_stack_space'
4444 (emit_library_call_value): Likewise.
4445 (store_one_arg):
4446
4447 * collect2.c: include <unistd.h> when appropriate.
4448 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
4449
4450 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
4451
4452 * explow.c (plus_constant_for_output_wide): Remove unused variable
4453 'code'.
4454 (memory_address): Remove unused variable 'orig_x'.
4455
4456 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
4457 (write_const_num_delay_slots): Remove unused variable 'i'.
4458
4459 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
4460 (gen_insn): Remove unused variable 'obstack_ptr'.
4461
4462 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
4463 'j', 'tmp', 'i'.
4464 (__bb_exit_trace_func): Remove unused variable 'e'.
4465
4466 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
4467 'funexp'.
4468 (expand_unop): Remove unused variable 'funexp'.
4469 (expand_complex_abs): Remove unused variable 'funexp'.
4470 (init_optabs): Bracket declaration of 'j'.
4471 (init_complex_libfuncs): Deleted. Dead static function.
4472
4473 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
4474
4475 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
4476 (reg_to_stack): 'initialized', 'before_function_beg'
4477 explictly type as ints instead of defaulting.
4478 (emit_swap_insn): Remove unused variable 'i2'.
4479 (compare_for_stack_reg): Remove unused variable 'src_note'.
4480
4481 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
4482
4483 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
4484
4485 * stmt.c (add_case_node): Add parens for assignment used as truth.
4486 (all_cases_count): Remove unused variable 'count_high'.
4487 (mark_seen_cases): Remove unused variable 'i'.
4488 (check_for_full_enumeration_handling): Remove unused variable 't'.
4489 Bracket declaration of 'all_values', 'l'.
4490
4491 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
4492
4493 * varasm.c (assemble_string): Remove unused variable 'i'.
4494 (immed_double_const): Remove unused variable 'in_current_obstack'.
4495 (immed_real_const_1): Likewise.
4496 (output_constant_pool): Remove unreferenced label 'done'.
4497 (output_constant): Remove unused variable 'x'.
4498
4499 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
4500 a string.
4501
4502 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
4503 as truth.
4504
4505 Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4506
4507 * combine.c (can_combine_p): Handle USEs in PARALLELs.
4508
4509 Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
4510
4511 * config/linux.h (LIB_SPEC): Add -lc for -shared if
4512 USE_GNULIBC_1 is not defined.
4513 * config/sparc/linux.h; Ditto.
4514
4515 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
4516
4517 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
4518 USE_GNULIBC_1 is not defined.
4519
4520 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4521
4522 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
4523 for -mcall-linux
4524
4525 Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4526
4527 * system.h: New file to get common systems includes and various
4528 definitions and declarations based on autoconf macros.
4529
4530 Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
4531
4532 * cccp.c (new_include_prefix): Correctly handle -I./.
4533
4534 Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
4535
4536 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
4537
4538 Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
4539
4540 * expr.c (expand_assignment): Correct typo exposed by -Wall.
4541 offset should have been a truth value, not an assignment.
4542
4543 Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
4544
4545 * cse.c (delete_dead_from_cse): If a libcall produces a constant
4546 result and that result can be substituted into SET_SRC of the
4547 insn with the REG_RETVAL note, then perform the substitution
4548 and delete the libcall.
4549
4550 Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
4551
4552 * mips.md (trucndihi2,truncdiqi2): Change these to support
4553 mips16.
4554
4555 Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
4556
4557 * mips/mips.c (movdi_operand): Direct referances to symbols
4558 that arn't mips16 consts in mips16 mode arn't valid operands.
4559
4560 * mips/mips.c (mips_move_2words): Add gprel handling.
4561
4562 Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
4563
4564 * mips.md (extendsidi2): Allow extension to/from a non-mips16
4565 register.
4566
4567 Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
4568
4569 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
4570 <strings.h>.
4571
4572 Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4573
4574 * Makefile.in (WARN_CFLAGS): New variable.
4575 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
4576
4577 1998-02-11 Mark Mitchell <mmitchell@usa.net>
4578
4579 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
4580 falling through default case in switch.
4581 (i386_aligned_p): Likewise.
4582
4583 Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
4584
4585 * mips/mips.h (mips_abi_string): Correct typo in comment.
4586
4587 Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
4588
4589 * mips/mips.md (movdi): These PLUS's need to be Pmode.
4590
4591 Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4592
4593 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
4594 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
4595 indirectly via expr.h.
4596
4597 Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
4598
4599 * stor-layout.c (layout_type): Do upper - lower in the native type,
4600 so as to properly handle negative indices.
4601
4602 Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
4603
4604 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
4605 (expand_eh_region_start_tree): Remove unused variable 'note'.
4606 (exception_optimize): Remove unused variable 'regions'.
4607 (expand_builtin_eh_stub): Remove unused variable 'temp'.
4608 (copy_eh_entry): Deleted. Dead function.
4609
4610 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
4611 'last' with same #if HAVE_load_multiple as use of it.
4612 (move_block_from_reg): Likewise.
4613 (emit_move_insn_1): Remove unused variable 'insns'.
4614 (store_constructor): Bracket declaration of startb, endb with
4615 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
4616 'target', and 'xtarget'.
4617 (expand_builtin_setjmp): Remove unused variables 'op0',
4618 'next_arg_reg', 'old_inhibit_defer_pop'.
4619 (expand_builtin): Remove unused variable 'offset'.
4620 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
4621 (emit_queue): Add parens for assignment used as conditional.
4622 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
4623
4624 Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
4625
4626 * i386.c: Added include for recog.h.
4627 (override_options): Removed unused variable p. Initialized regno to
4628 avoid warning.
4629 (order_regs_for_local_alloc): Initialized regno to avoid warning.
4630 (legitimize_address): Likewise for 'other'.
4631 (i386_aligned_reg_p): Added default case with abort ().
4632 (print_operand): Likewise.
4633 (reg_mentioned_in_mem): Likewise.
4634 (ix86_expand_binary_operator): Removed unused variables i & insn.
4635 (ix86_expand_unary_operator): Removed unused variable insn.
4636 (output_fp_cc0_set): Removed unused variable unordered_label.
4637
4638 Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
4639
4640 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
4641 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
4642 and format string match.
4643
4644 Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
4645
4646 * flow.c (life_analysis): Do not conside the stack pointer live at
4647 the end of a function if the fucntio ncalls alloca.
4648 (mark_used_regs): Similarly.
4649
4650 1998-02-10 John F Carr <jfc@mit.edu>
4651
4652 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
4653 1, fzero on alternative 8.
4654
4655 Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4656
4657 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
4658
4659 Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4660
4661 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
4662 SUBREGs of CONST_INTs.
4663
4664 Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
4665
4666 * mips.c (print_operand, function_prologue): Make printf format
4667 match argument type.
4668
4669 Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4670
4671 * alpha.c (alpha_return_addr): Remove unused variable `first'.
4672 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
4673 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
4674
4675 Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4676
4677 * loop.c (strength_reduce): When placing increment for auto-inc
4678 case, do comparison in loop order.
4679
4680 Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
4681
4682 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
4683 not a HOST_WIDE_INT.
4684
4685 * calls.c (expand_call): Change test of expand_inline_function
4686 return value to stop compiler warning.
4687
4688 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
4689
4690 Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
4691 Jeff Law (law@cygnus.com)
4692
4693 * regmove.c: Fix various minor formatting problems.
4694 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
4695 is true. Make end of basic block tests consistent through regmove.c.
4696 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
4697 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
4698
4699 Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4700
4701 * gansidecl.h: Check for a conflicting macro definition before
4702 attempting to prototype bcopy, bcmp or bzero.
4703
4704 Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
4705
4706 * expr.c (clear_pending_stack_adjust): Handle case where a function
4707 calls alloca, but the user has specified -fomit-fframe-pointer.
4708
4709 * function.c (assign_parms): Fix typo in last change.
4710
4711 Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
4712
4713 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
4714 <fcntl.h>.
4715 (free_path_suffix): Remove unreferenced static function.
4716 (process_command): Remove unused variable temp.
4717 (default_arg): Remove unused variable i.
4718 (do_spec_1): Add parens for assignment used as truth value.
4719 (main): Likewise.
4720 (validate_all_switches): Likewise.
4721 (main): Remove unused variables i, first_time>
4722
4723 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
4724
4725 * calls.c (expand_call): Remove unused variables funtree,
4726 n_regs, and tmpmode.
4727
4728 * dbxout.c, except.c: Include <string.h>/<strings.h>.
4729
4730 * explow.c: (plus_constant_for_output_wide) Removed unused
4731 variable all_constant.
4732
4733 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
4734 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
4735 genrecog.c, global.c, integrate.c , stupid.c : Include
4736 <stdlib.h>.
4737
4738 * genextract.c: (walk_rtx) Remove unused variable link.
4739
4740 * genrecog.c: (concat) Remove unreferenced static function.
4741
4742 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
4743
4744 * stmt.c: Include <stdlib.h>.
4745 (expand_asm_operands): Remove unused variable val1.
4746 (expand_return): Remove unused variable block.
4747 (pushcase): Remove unused variables l and n.
4748 (pushcaserange): Likewise.
4749
4750 * unroll.c (unroll_loop): Remove unused variable temp.
4751
4752 Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
4753
4754 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
4755
4756 Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4757
4758 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
4759 functions for whether they support the %p format specifier.
4760 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
4761 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
4762 * configure, config.in: Rebuild.
4763
4764 Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
4765
4766 * function.c (assign_parms): New variable named_arg, with value
4767 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
4768
4769 Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
4770
4771 * mips/t-r3900: New - same as t-ecoff but eliminate
4772 multilibs: mips1 and mips3.
4773 * configure.in (tx39*): Use new mips/t-r3900.
4774 * configure: Rebuild.
4775 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
4776
4777 1998-02-06 Jason Merrill <jason@yorick.cygnus.com>
4778
4779 * dwarf2out.c: Add old_args_size.
4780 (dwarf2out_args_size): Use it.
4781 (dwarf2out_begin_prologue): Initialize it.
4782 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
4783 pushed args until we see a call.
4784 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
4785 before outputting them.
4786
4787 1998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
4788
4789 * cplus-dem.c (demangle_template_template_parm): New function.
4790 (demangle_template): Handle template template parameters.
4791
4792 1998-02-02 Mark Mitchell <mmitchell@usa.net>
4793
4794 * calls.c (expand_call): Don't confuse member functions named
4795 realloc, setjmp, and so forth with the standard library
4796 functions of the same names.
4797
4798 Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
4799
4800 * stmt.c (expand_asm_operands): Correctly identify asm statements
4801 no output operands.
4802
4803 Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
4804
4805 * c-common.c (decl_attributes): Flag unrecognized attribute
4806 functions as warnings instead of as errors.
4807
4808 1998-02-05 Marc Lehmann <pcg@goof.com>
4809
4810 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
4811 when -Os is specified.
4812 * toplev.c (main): Don't disable flag_inline_functions anymore when
4813 -Os is in effect.
4814
4815 Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4816
4817 * regmove.c: Update.
4818 * flags.h (flag_regmove): Declare.
4819 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
4820 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
4821 Moved into regmove; changed caller.
4822 * toplev.c (rest_of_compilation): Call regmove_optimize also for
4823 expensive_optimizations.
4824
4825 Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
4826
4827 * version.c: Bump for snapshot.
4828
4829 Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4830 Undo this change (the problem was actually in reload):
4831 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4832
4833 * sh.md (movqi_i+1): New peephole.
4834
4835 Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
4836
4837 * jump.c (jump_optimize): Lose calls to modified_in_p they are
4838 not needed anymore due to changes elsewhere in jump.c.
4839
4840 * jump.c (jump_optimize): Fix first arg to modified_in_p in
4841 previous change.
4842
4843 Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
4844
4845 * expr.c (expand_builtin_setjmp): Accept two new arguments for
4846 the labels to branch to on first and subsequent executions. Don't
4847 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
4848 and provide it with the jmp_buf. Use only one of
4849 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
4850 and provide the former with the target label.
4851 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
4852 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
4853 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
4854 insn to replace all of the normal nonlocal_goto code. Don't play
4855 with __dummy. Correct arguments to nonlocal_goto.
4856 * expr.h (expand_builtin_setjmp): Update prototype.
4857 * except.c (start_dynamic_handler): When using builtin_setjmp,
4858 generate more accurate flow information.
4859
4860 * alpha.md (nonlocal_goto_receiver_osf): Delete.
4861 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
4862 (builtin_longjmp, builtin_setjmp_receiver): New.
4863 * sparc.md (update_return): Disambiguate unspec number.
4864 (nonlocal_goto): Rearrange arguments to match caller in except.c.
4865 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
4866 jmp_buf operand.
4867 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
4868 (builtin_setjmp_setup*, builtin_longjmp): New.
4869
4870 Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
4871
4872 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
4873
4874 Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
4875
4876 * vmsconfig.com: Remove bytecode references.
4877
4878 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4879
4880 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
4881 -fno-sjlj-exceptions works for a target that defines
4882 DWARF2_UNWIND_INFO as zero.
4883
4884 * regmove.c (fixup_match_1): Undo last change which removed some
4885 "useless" code, and add a comment explaining this.
4886
4887 Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
4888
4889 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
4890 to TARGET_LONG64.
4891
4892 Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
4893
4894 * makefile.vms: Remove bytecode references.
4895 Create genrtl files.
4896
4897 Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
4898
4899 * jump.c (jump_optimize): Allow conditional loading of floating point
4900 constants and constants from memory. Reinstalled modified_in_p tests.
4901
4902 Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4903
4904 * loop.c (get_condition): Handle sign-extended constants.
4905
4906 Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
4907
4908 * expr.c (emit_push_insn): Add code to use movstrti if present.
4909
4910 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
4911 and movstrqi as in emit_block_move ().
4912
4913 Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
4914
4915 * config/m68k/x-next: Remove /NextDeveloper/Headers from
4916 the directories to fixinclude - /usr/include is a link
4917 to it and hence its contents are fixed by default.
4918
4919 Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4920
4921 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
4922
4923 Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
4924
4925 * cccp.c (main): Predefine __VMS_VER on VMS.
4926
4927 Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4928
4929 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
4930 * fold-const.c (size_int): Replace with
4931 (size_int_wide).
4932 (make_bit_field_ref): Use bitsize_int for bit position.
4933 * stor-layout.c (sizetype): Delete.
4934 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
4935 (layout_record, layout_union, layout_type):
4936 Use bitsize_int for bit size.
4937 (set_sizetype): New function.
4938 (make_signed_type, make_unsigned_type): Use it.
4939 * c-decl.c (init_decl_processing): Likewise.
4940 * tree.h (size_int): Don't delcare, #define.
4941 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
4942 (set_sizetype): Declare.
4943 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
4944 Define.
4945 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
4946 Convert result to sizetype.
4947 (really_start_incremental_init, push_init_level):
4948 Set type of constructor_bit_index to sbitsizetype.
4949 (push_init_level): Use unsigned arithmetic to determine padding.
4950 (output_init_element): Likewise.
4951
4952 Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
4953
4954 * combine.c (simplify_shift_const): Fix typo in last change.
4955
4956 Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
4957
4958 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
4959 is (truncate (lshiftrt)).
4960
4961 Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
4962
4963 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
4964 Make sure result winds up in TGT.
4965 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
4966 src to be other than DImode.
4967 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
4968 (alpha_expand_unaligned_store_words): Likewise.
4969 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
4970 that source and destination are separately optimized for alignment.
4971 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
4972
4973 Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
4974
4975 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
4976 with handling of -32768.
4977
4978 Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4979
4980 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
4981 shell variable argument instead of only hard coded functions.
4982 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
4983
4984 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
4985 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
4986 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
4987 declarations for bcopy, bcmp and bzero.
4988
4989 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
4990
4991 * gansidecl.h: If we have bcopy but don't declare it, then do so.
4992 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
4993 bzero, index and rindex if they aren't already present.
4994
4995 Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
4996
4997 * toplev.c (close_dump_file): Wrap function prototype for
4998 argument "func" in PROTO.
4999 (dump_rtl): Likewise.
5000
5001 Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
5002
5003 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
5004 MASK_V8PLUS.
5005 (output_function_epilogue): Omit epilogue if nothing drops through.
5006 (output_move_double): Supress int ldd usage on ultrasparc and v9.
5007 (registers_ok_for_ldd_peep): Likewise.
5008 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
5009 (ultrasparc_adjust_cost): New function.
5010 (sparc_issue_rate): New function.
5011 * sparc.h (MASK_VIS, TARGET_VIS): New
5012 (MASK_V8PLUS, TARGET_V8PLUS): New.
5013 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
5014 (TARGET_SWITCHES): Add vis and v8plus.
5015 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
5016 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
5017 (RTX_COSTS): Use TARGET_HARD_MUL
5018 (ADJUST_COST): Call ultrasparc_adjust_cost.
5019 (ISSUE_RATE): New.
5020 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
5021 of load & fp appropritely.
5022 (supersparc function units): Adjust for Haifa.
5023 (ultrasparc function units): Likewise.
5024 (get_pc_via_rdpc): All v9, not just arch64.
5025 (movdi_v8plus, movdi_v8plus+1): New.
5026 (adddi3_sp32+1): New.
5027 (subdi3_sp32+1): New.
5028 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
5029 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
5030 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
5031 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
5032 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
5033 (ldd peepholes): Suppress for v9.
5034 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
5035 (return_subsi): Revmove.
5036
5037 Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
5038
5039 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
5040 save/restore MEM rtl.
5041
5042 Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
5043
5044 * configure.in: Check for declaration of abort.
5045 * acconfig.h: Corresponding changes.
5046 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
5047 be declared.
5048
5049 Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
5050
5051 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
5052 uses it.
5053
5054 Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
5055
5056 * version.c: Bump for snapshot.
5057
5058 Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
5059
5060 * configure.in: Check for atoq and atoll.
5061 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
5062 proper routine for converting ascii into long long values.
5063
5064 Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
5065
5066 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
5067
5068 * vmsconfig.com: Remove bytecode references.
5069
5070 * alpha/vms.h (PREFIX): Define.
5071
5072 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
5073
5074 * am-alpha.h: Don't include alloca for OPEN_VMS.
5075
5076 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
5077
5078 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
5079 (GCC_INCLUDE_DIR): Define
5080
5081 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
5082 * makefile.vms: New file.
5083
5084 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
5085
5086 * alpha.c (output_prolog): Output '.name' directive
5087 for minimal traceback information.
5088
5089 * alpha.c (output_prolog): Don't prepend entry point symbols
5090 with '$' on OPEN_VMS.
5091
5092 Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
5093 Jeffrey A Law (law@cygnus.com)
5094
5095 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
5096 HOST_WIDE_INT.
5097
5098 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
5099 as needed.
5100 * genemit.c (gen_exp): Likewise.
5101 * genpeep.c (match_rtx): Likewise.
5102 * genrecog.c (write_tree_1): Likewise.
5103
5104 * c-lex.c (yyprint): Use proper format string based upon
5105 disposition of HOST_BITS_PER_WIDE_INT.
5106 (yylex): Put casts in right place for args to build_int_2.
5107
5108 Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
5109
5110 * combine.c: Fix typos in Jan27 changes.
5111
5112 Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
5113
5114 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
5115 (LINK_SPEC): Likewise.
5116 (STARTFILE_SPEC): Likewise.
5117
5118 1998-01-28 Mike Stump <mrs@wrs.com>
5119
5120 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
5121 reload completes.
5122 * genattrtab.c (reload_completed): Define.
5123
5124 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
5125 comments.
5126
5127 Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5128
5129 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
5130 SUBREG_REG if the word count is unchanged, also in the input reload
5131 case. Disable non-applicable sanity checks.
5132
5133 Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
5134
5135 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
5136
5137 Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
5138
5139 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
5140
5141 Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
5142
5143 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
5144 is a TREE_VEC before trying to use it for baseclasses.
5145 (Chill uses the same field for a different purpose.)
5146
5147 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
5148
5149 Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
5150
5151 * config.sub: More accurate determination of HP processor types.
5152
5153 Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5154
5155 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
5156 prototype for `handle_sysv_pragma', and make it static. Add
5157 parentheses around assignment used as truth value.
5158
5159 * combine.c (combine_instructions): Protect variable `prev' with
5160 macro HAVE_cc0.
5161 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
5162 (extract_left_shift): Add parentheses around operand of &.
5163 (merge_outer_ops): Avoid an empty body in an else-statement.
5164 (gen_rtx_combine): Remove unused variable `i'.
5165
5166 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
5167 function monstartup `void'. Likewise for internal_mcount. Add
5168 `static void' prototype for moncontrol. Reconcile sprintf format
5169 vs. args.
5170
5171 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
5172 Make return type of function_arg_slotno explicitly `int'.
5173 (reg_unused_after): Add parentheses around assignment used as
5174 truth value.
5175 (save_regs): Add explicit braces to avoid ambiguous `else'.
5176 (function_arg_slotno): Add parentheses around && within ||.
5177 (function_arg_pass_by_reference): Likewise.
5178 (sparc_flat_output_function_prologue): Reconcile fprintf format
5179 vs. args.
5180
5181 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
5182 assignment used as truth value.
5183
5184 * cplus-dem.c: Include <stdlib.h>.
5185 (demangle_signature): Avoid an empty body in an else-statement.
5186 (do_type): Remove unused variable `lvl'.
5187
5188 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
5189 Include <string.h>/<strings.h>.
5190 (cpp_lex): Remove unused variable `namelen'.
5191 (cpp_lex): Explicitly declare `num_chars' as an int.
5192
5193 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
5194 <unistd.h> instead. Explicitly declare is_system_include
5195 returning int.
5196 (make_assertion): Remove unused variable `kt'.
5197 (cpp_expand_to_buffer): Hide variable `obuf'.
5198 (output_line_command): Remove unused variables, `line_end',
5199 `line_cmd_buf' and `len'.
5200 (macarg): Remove unused variable `arg_start'.
5201 (special_symbol): Remove unused variable `i'. Add parentheses
5202 around assignment used as truth value.
5203 (do_include): Remove unused variables `pcfname' and `retried',
5204 hide `pcf' and `pcfbuflimit'.
5205 (do_line): Remove unused variable `i'.
5206 (finclude): Hide variable `missing_newline'.
5207 (cpp_handle_options): Remove unused variable `j'.
5208 (read_token_list): Remove unused variable `eofp'.
5209 (cpp_error_with_line): Remove unused variable `i'.
5210 (cpp_warning_with_line): Likewise.
5211 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
5212 (cpp_error_from_errno): Remove unused variable `i'.
5213
5214 * cse.c (invalidate): Add parentheses around assignment used as
5215 truth value.
5216 (find_best_addr): Move declaration of variable `our_cost' inside
5217 the conditional macro where its used.
5218 (fold_rtx): Avoid an empty body in an if-statement.
5219 (cse_insn): Wrap variables `this_insn_cc0_mode' and
5220 `this_insn_cc0' in macro HAVE_cc0.
5221
5222 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
5223 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
5224 (output_uleb128): Likewise.
5225 (output_sleb128): Likewise.
5226 (output_cfi): Likewise.
5227 (output_call_frame_info): Remove unused variables `j', `fde_size'
5228 and `fde_pad'.
5229 (comp_unit_has_inlines): Hide declaration as per rest of file.
5230 (size_of_line_prolog): Correct typo in prototype.
5231 (add_arange): Likewise.
5232 (output_aranges): Likewise.
5233 (add_name_and_src_coords_attributes): Likewise.
5234 (gen_array_type_die): Likewise.
5235 (gen_inlined_subroutine_die): Likewise.
5236 (equate_decl_number_to_die): Remove unused variable `i'.
5237 (print_die): Reconcile format vs. args in fprintf's.
5238 (print_dwarf_line_table): Likewise.
5239 (output_die): Likewise.
5240 (output_line_info): Likewise.
5241 (add_subscript_info): Avoid an empty body in an else-statement.
5242 (gen_subprogram_die): Remove unused variable `fp_loc'.
5243
5244 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
5245 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
5246 macro. Protect `src_coords_attribute' prototype with
5247 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
5248 prototype as in the rest of the file. Likewise for
5249 `output_pointer_type_die' and `output_reference_type_die'. Remove
5250 prototype for `type_of_for_scope'.
5251 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
5252 (type_attribute): Add explicit braces to avoid ambiguous `else'.
5253
5254 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
5255 (shorten_branches): Protect declaration of tmp_length with
5256 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
5257 (profile_function): Protect declaration of `sval' and `cxt'
5258 variables with appropriate macros.
5259 (final_scan_insn): Likewise for `note' variable. Add explicit
5260 braces to avoid empty body in an if-statement.
5261 (output_asm_insn): Move variable `i' inside macro conditional
5262 where it is used. Add parentheses around assignment used as truth
5263 value.
5264 (asm_fprintf) Likewise, likewise.
5265
5266 * fix-header.c (main): Remove unused variable `done'. Protect
5267 declaration of `i' with FIXPROTO_IGNORE_LIST.
5268
5269 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
5270
5271 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
5272 `ind'.
5273
5274 * profile.c: Include <string.h>/<strings.h>.
5275 (instrument_arcs): Remove unused variables `note', `inverted',
5276 `zero' and `neg_one'.
5277 (branch_prob): Avoid empty body in an if-statement.
5278
5279 * regclass.c: Include <stdlib.h>.
5280 (reg_alternate_class): Explicitly declare parameter `regno'.
5281
5282 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
5283 parentheses around assignment used as truth value.
5284 (find_matches): Remove unused variables `output_operand' and
5285 `matching_operand'.
5286 (fixup_match_1): Remove statement with no effect: "if (0) ;".
5287
5288 * scan.c (sstring_append): Explicitly declare `count' as int.
5289 (scan_string): Explicitly declare parameter `init' as int.
5290
5291 * sched.c: Include <stdlib.h>.
5292 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
5293 (rank_for_schedule): Add parentheses around assignment used as
5294 truth value.
5295 (schedule_block): Likewise.
5296 (regno_use_in): Likewise.
5297 (schedule_insns): Remove unused variable `i'.
5298
5299 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
5300 (v_message_with_decl): Remove unused variable `n'.
5301 (botch): Explicitly declare parameter `s' as char *.
5302 (main): Add parentheses around assignment used as truth value.
5303
5304 * tree.c (make_node): Protect the variable `kind' with the
5305 GATHER_STATISTICS macro.
5306 (real_value_from_int_cst): Move variable `e' inside conditional
5307 macro area where it is used.
5308 (tree_last): Add parentheses around assignment used as truth value.
5309 (build1): Protect the variable `kind' with the GATHER_STATISTICS
5310 macro.
5311 (print_obstack_statistics): Reconcile format vs. args in fprintf.
5312 Protect variables `i', `total_nodes', and `total_bytes' with the
5313 GATHER_STATISTICS macro.
5314
5315 Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
5316
5317 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
5318 some comments regarding use of dead_or_set_p.
5319
5320 Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
5321
5322 * fixincludes: Tweak fix for struct exception in math.h
5323
5324 Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
5325
5326 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
5327 Change mode of registers used to add/sub from
5328 hard_frame_pointer_rtx from word_mode to Pmode.
5329
5330 Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
5331
5332 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
5333 asm_output_aligned_bss() instead of asm_output_bss().
5334
5335 * toplev.c (rest_of_compilation): Replace references to
5336 stack_reg_dump_file and dbr_sched_dump_file with references to
5337 rtl_dump_file.
5338
5339 Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
5340
5341 * tlink.c (scan_linker_output): Call fclose() for opened files.
5342
5343 Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
5344
5345 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
5346 compiling with -fpic -- we want to be able to override symbols
5347 properly.
5348 (alpha_expand_block_move): Fix thinko in last change.
5349
5350 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
5351 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
5352 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
5353
5354 Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
5355
5356 * alpha.md (abssf, absdf): Revert last change.
5357
5358 Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
5359
5360 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
5361 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
5362
5363 Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
5364
5365 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
5366 a CONST_INT into SFmode.
5367
5368 Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
5369
5370 * flags.h: New flag (optimize_size).
5371 * toplev.c (main): Parse -Os option and set optimize_space
5372 accordingly.
5373 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
5374 __OPTIMIZE_SIZE__ when compiling with -Os.
5375 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
5376 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
5377 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
5378 to macro.
5379 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
5380
5381 Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
5382
5383 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
5384 stuff only if MCT_TEXT is #define'd.
5385
5386 Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
5387
5388 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
5389 configurations.
5390
5391 Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
5392
5393 * toplev.c: Add -dM command line option to dump RTL after the
5394 machine dependent reorganisation pass, if there is one.
5395 Reorganise RTL dump code, so that only one file handle is
5396 needed.
5397
5398 Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
5399
5400 * except.c (check_exception_handler_labels): Disable warning when
5401 flag_syntax_only.
5402
5403 Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
5404
5405 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
5406
5407 Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5408
5409 * c-decl.c (grokdeclarator): Get parameter tags from
5410 last_function_parm_tags.
5411 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
5412 traversing the parameter types.
5413 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
5414
5415 Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
5416
5417 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
5418 the default case.
5419 (get_shift_alg): Fix typo.
5420
5421 Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
5422
5423 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
5424
5425 Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
5426
5427 * toplev.c (get_run_time): Make sure each case gets its variables.
5428
5429 Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
5430
5431 * configure.in (build_xm_file): Add auto-config.h if host=build.
5432 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
5433 (build_xm_file_list): Likewise.
5434 * configure: Rebuild.
5435
5436 Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
5437
5438 * recog.c (validate_replace_rtx_1): Only perform substitutions
5439 of arguments to commutative and comparison operators once.
5440
5441 Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5442
5443 * sparc.c (output_cbranch): Add default case in
5444 enumeration switch.
5445
5446 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
5447 (emit_delay_sequence): Eliminate unused parameter, all callers
5448 changed.
5449 (fill_simple_delay_slots): Likewise.
5450 (fill_slots_from_thread): Likewise.
5451 (fill_eager_delay_slots): Likewise.
5452 (mark_referenced_resources): Add default case in enumeration switch.
5453 (mark_set_resources): Likewise.
5454 (rare_destination): Likewise.
5455 (mostly_true_jump): Likewise.
5456 (find_dead_or_set_registers): Likewise.
5457 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
5458 (update_reg_unused_notes): Remove unused variable `p'.
5459 (mark_target_live_regs): Remove unused variables `next' and
5460 `jump_count'.
5461 (fill_simple_delay_slots): Remove unused variable `j'.
5462 (fill_slots_from_thread): Add parentheses around assignment used
5463 as truth value.
5464 (dbr_schedule): Likewise.
5465
5466 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
5467 (objc.stage2, objc.stage3, objc.stage4): Likewise.
5468
5469 Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
5470
5471 * cse.c (simplify_ternary_operation): Don't try to simplify
5472 IF_THEN_ELSE expressions (created by combine) that don't use
5473 relational operators.
5474
5475 Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
5476
5477 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
5478 simplifications.
5479
5480 * crtstuff.c (init_dummy): Keep the epilogue in the init
5481 section for non-ELF systems.
5482
5483 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5484
5485 * sh.md (movqi_i+1): New peephole.
5486
5487 Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
5488
5489 * Makefile.in: Remove remaining bytecode stuff.
5490 * emit-rtl.c, expr.c: Likewise.
5491
5492 Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
5493
5494 * toplev.c (lang_options): Add unknown-pragma options.
5495
5496 Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
5497
5498 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
5499 special (and incomplete) handling for Chill arrays.
5500
5501 Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
5502
5503 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
5504 to get clock rate.
5505
5506 Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
5507
5508 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
5509
5510 1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
5511
5512 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
5513 .frame directive instead of FRAME_POINTER_REGNUM.
5514
5515 Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
5516
5517 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
5518 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
5519 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
5520 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
5521 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
5522 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
5523 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
5524 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
5525 mcpu32 or m5200.
5526 * longlong.h: Replace __mc68332__ with __mcpu32__.
5527
5528 Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
5529
5530 * version.c: Bump for snapshot.
5531
5532 Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
5533
5534 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
5535 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
5536 * reload1.c (eliminate_regs): Likewise.
5537
5538 Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
5539
5540 * regmove.c (find_matches): Initialize matches->earlyclobber too.
5541
5542 Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
5543
5544 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
5545 (negsf2, negdf2): Use proper subtract in IEEE mode.
5546
5547 Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
5548
5549 * Makefile.in: Remove more bytecode stuff.
5550 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
5551 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
5552 * f/install.texi, objc/Make-lang.in: Likewise.
5553
5554 * Makefile.in: Remove all bytecode support.
5555 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
5556 * emit-rtl.c: Remove all bytecode support.
5557 * expr.c, expr.h function.c, integrate.c: Likewise.
5558 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
5559 * tree.h, varasm.c: Likewise.
5560 * config/m68k/m68k.h: Likewise.
5561 * bi-*, bc-*, bytecode*: Delete bytecode related files.
5562 * modemap.def: Likewise.
5563
5564 Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
5565
5566 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
5567 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
5568
5569 Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
5570
5571 * i386.md (push): Prohibit symbolic constants if flag_pic.
5572 (movsi+1): Likewise for move to non-register.
5573
5574 Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
5575
5576 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
5577 (print_operand): Handle 0xffffffff on 32 bit host.
5578
5579 * configure.in (thread_file): Rename uses before main loop to
5580 target_thread_file. Initialize to empty in main loop. Set thread_file
5581 to target_thread_file after main loop if not set.
5582 * configure: Rebuild.
5583
5584 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
5585 (add_values_to_cover): Revert last change (which had no ChangeLog
5586 entry).
5587 (simplify_with_current_value_aux): Handle CONST_INT.
5588
5589 Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5590
5591 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
5592
5593 Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
5594
5595 * configure.in: Add cpp stringify test.
5596 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
5597 * gengenrtl.c: Use it.
5598 * configure, config.in: Rebuild.
5599
5600 Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5601
5602 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
5603
5604 Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
5605
5606 * configure.in: Find declaration for sbrk.
5607 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
5608 * config.in, configure: Rebuild.
5609 * mips-tfile.c: Properly protect declaration of sbrk and free.
5610 * toplev.c: Properly protect declaration of sbrk.
5611
5612 Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
5613
5614 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
5615
5616 Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
5617
5618 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
5619
5620 Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
5621
5622 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
5623
5624 Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
5625
5626 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
5627 constant offset computations from objects with known alignment in
5628 the presence of STACK_BIAS.
5629
5630 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
5631 necessary.
5632 (const_hash): Hash val is unsigned long.
5633 (SYMHASH): Likewise.
5634
5635 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
5636
5637 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
5638 char pointer, not HOST_WIDE_INT.
5639 (print_node): Likewise. Also hash is unsigned long not
5640 HOST_WIDE_INT.
5641
5642 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
5643
5644 * explow.c (optimize_save_area_alloca): New function for targets
5645 where SETJMP_VIA_SAVE_AREA is true.
5646 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
5647 compute the amount of stack space needed should we find later that
5648 setjmp is never called by this function, stuff rtl for this inside
5649 a REG_NOTE of the final SET of stack_pointer_rtx.
5650 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
5651 current_function_calls_alloca, call optimize_save_area_alloca.
5652
5653 Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
5654
5655 * i386.md: Remove redundant integer push patterns.
5656 Don't bother checking for TARGET_PUSH_MEMORY when
5657 pushing constants or registers.
5658
5659 Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5660 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
5661
5662 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5663 (pwait): New function for mingw32.
5664
5665 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
5666 pipe support is broken for now.
5667
5668 1998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
5669
5670 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
5671 between frame_pointer_rtx, hard_frame_pointer_rtx, and
5672 arg_pointer_rtx is respected in initialization.
5673 (init_emit_once): Use gen_rtx_raw_REG() to create
5674 return_address_pointer_rtx.
5675
5676 * reorg.c: #include "expr.h" for rtx prototypes.
5677 * Makefile.in (reorg.o): Depend on expr.h
5678
5679 Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
5680
5681 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
5682 local_prefix to sub-make invocations.
5683
5684 Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
5685
5686 * objc-parse.c: Recognize protocol qualifiers in class definitions.
5687
5688 Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
5689
5690 * rtl.h: Fix typos.
5691
5692 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
5693 * configure.in: Check for atol.
5694 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
5695
5696 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
5697
5698 * loop.c (find_and_verify_loops): When attempting to move insns from
5699 inside the loop outside the loop, create a BARRIER if no suitable
5700 one was found.
5701
5702 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
5703 favor of an equivalent change from gcc-2.8.
5704
5705 * i386/x-sco5 (CC): Remove trailing whitespace.
5706
5707 Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5708
5709 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
5710 (accessor_from_format): Likewise.
5711 (xmalloc): New function for use when linking with alloca.o.
5712
5713 Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5714
5715 * frame.c (find_fde): Correct FDE's upper bound.
5716
5717 Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
5718
5719 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
5720
5721 Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
5722
5723 * calls.c (expand_call): Move #ifdef code out of macro argument
5724 lists.
5725 (emit_library_call, emit_library_call_value): Likewise.
5726
5727 Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
5728
5729 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
5730
5731 Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
5732
5733 * version.c: Bump for snapshot.
5734
5735 Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
5736
5737 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
5738 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
5739 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
5740 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
5741 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
5742 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
5743 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
5744 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
5745 * unroll.c, varasm.c: Likewise.
5746 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
5747
5748 Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
5749
5750 * mips.h: Fix some type-o's from a previous change.
5751
5752 Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
5753
5754 * loop.c (check_dbra_loop): Make sure initial value is a
5755 CONST_INT before trying to normalize it.
5756
5757 Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
5758
5759 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
5760
5761 Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
5762
5763 * cppexp.c: Include gansidecl.h
5764
5765 Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
5766
5767 * svr4.h (LINK_SPEC): Never specify -h.
5768 * ptx4.h (LINK_SPEC): Likewise.
5769 * rs6000/sysv4.h (LINK_SPEC): Likewise.
5770 * sparc/sol2.h (LINK_SPEC): Likewise.
5771
5772 Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
5773
5774 * c-typeck.c (comptypes): Exit early on NULL input.
5775
5776 * haifa-sched.c (schedule_insns): Correctly remove inter-block
5777 dependencies after reload.
5778
5779 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
5780
5781 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
5782
5783 Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
5784
5785 * alpha/vms.h (DIR_SEPARATOR): define
5786
5787 Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5788
5789 * Makefile.in (stamp-proto): Remove.
5790 (protoize.o, unprotoize.o): Straightforward compile.
5791 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
5792
5793 Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5794
5795 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
5796 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
5797
5798 Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
5799
5800 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
5801 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
5802 * sparc/netbsd.h, vax/netbsd.h: Likewise.
5803
5804 Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
5805
5806 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
5807
5808 Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
5809
5810 * configure.in (target_cpu_default, target_cpu_default2): Use double
5811 quotes around them when testing their value.
5812 * configure: Rebuilt.
5813
5814 Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
5815
5816 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
5817 to allocate rtx.
5818 (gendef): Call obstack_alloc_rtx.
5819
5820 Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
5821
5822 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
5823 for now.
5824
5825 Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
5826
5827 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
5828 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
5829 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
5830
5831 Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
5832
5833 * mips.md (return_internal): Change mode from SImode to VOIDmode.
5834
5835 Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
5836
5837 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
5838 "-static".
5839
5840 Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
5841
5842 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
5843 suffix from operand 3.
5844
5845 Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5846 Jeffrey A Law (law@cygnus.com)
5847
5848 * regmove.c: New implementation of regmove pass.
5849 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
5850 decls, make them have external linkage. Return a value from
5851 optimize_reg_copy_1.
5852 * reload.h (count_occurrences): Add decl.
5853 * reload1.c (count_occurrences): Delete decl, make it have external
5854 linkage.
5855 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
5856
5857 Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
5858
5859 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
5860 if it is not defined.
5861
5862 Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
5863
5864 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
5865 * emit-rtl.c (gen_rtx): Move special code to ...
5866 (gen_rtx_CONST_INT): New function.
5867 (gen_rtx_REG): New function.
5868 (*): Update all calls to gen_rtx.
5869 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
5870 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
5871 (GEN_INT): Call gen_rtx_CONST_INT.
5872 * gengenrtl.c: New file.
5873
5874 Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
5875
5876 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
5877 (base_alias_check): If no base found for address call canon_rtx and
5878 try again.
5879
5880 Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
5881
5882 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
5883 arguments for mips16.
5884 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
5885 Don't lose if tsize is zero after handling large stack for mips16.
5886 * mips.md (return): For trivial return, return address is in $31.
5887
5888 Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
5889
5890 * mips/mips16.S: Various changes to make it work with -msingle-float
5891 and -EL.
5892
5893 Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
5894 Ian Lance Taylor <ian@cygnus.com>
5895 Jeff Law <law@cygnus.com>
5896
5897 * mips.c, mips.h, mips.md: First cut at merging in mips16
5898 support. Major modifications throughout all three files.
5899
5900 Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
5901
5902 * configure.in: Make gthr-default.h a forwarding header instead of
5903 a symlink.
5904
5905 Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5906
5907 * gcov-io.h: Include sys/types.h to ensure we get size_t.
5908
5909 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
5910
5911 Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
5912 Jeffrey A Law (law@cygnus.com)
5913
5914 * crtstuff.c (__frame_dummy): New function for irix6.
5915 (__do_global_ctors): Call __frame_dummy for irix6.
5916 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
5917
5918 Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
5919
5920 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
5921
5922 Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
5923
5924 * c-decl.c (init_decl_processing): Provide proper fallback symbol
5925 for __builtin_memset.
5926 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
5927 not INTEGER_CST. Assert arg 3 is a constant.
5928
5929 * alpha.c (mode_width_operand): Accept 64-bit modes.
5930 (mode_mask_operand): Likewise.
5931 (print_operand): Likewise for 'M' and 'U' codes.
5932 (alpha_expand_unaligned_load): New function.
5933 (alpha_expand_unaligned_store): Likewise.
5934 (alpha_expand_unaligned_load_words): Likewise.
5935 (alpha_expand_unaligned_store_words): Likewise.
5936 (alpha_expand_block_move): Likewise.
5937 (alpha_expand_block_clear): Likewise.
5938 * alpha.h (MOVE_RATIO): New define.
5939 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
5940 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
5941
5942 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
5943 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
5944
5945 Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
5946
5947 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
5948 * configure: Update.
5949
5950 Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
5951
5952 * emit-rtl.c (operand_subword): Correctly handle extracting a word
5953 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
5954
5955 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
5956 for first argument.
5957
5958 Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
5959
5960 * configure.in: Set and subsitute host_exeext. Use it when creating
5961 the assembler and linker symlinks.
5962 * configure: Rebuild.
5963 * Makefile.in (exeext): Set to @host_exeext@.
5964 (build_exeext): New variable, set to @build_exeext@.
5965 (FLAGS_TO_PASS): Pass down build_exeext.
5966 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
5967 programs.
5968
5969 Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
5970
5971 * mn10200.md (addsi3, subsi3): Fix thinkos.
5972
5973 Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
5974
5975 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
5976 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
5977 unix always, since we want to be able to thunk to functions in a
5978 shared library from an application.
5979
5980 Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
5981
5982 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
5983 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
5984
5985 Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
5986
5987 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
5988 offset's mode is not ptr_mode, convert it.
5989
5990 Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
5991
5992 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
5993 compiling if it was already defined.
5994
5995 Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
5996
5997 * flow.c (find_basic_blocks): Don't create a new basic block
5998 for calls in a LIBCALL block.
5999
6000 Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
6001
6002 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
6003
6004 Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
6005
6006 * cse.c (rtx_cost): Remove conflicting default case.
6007
6008 Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
6009
6010 * configure.in: Move default enabling of Haifa out of for loop.
6011 * configure: Rebuild.
6012
6013 Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
6014
6015 * version.c: Bump for snapshot.
6016
6017 1997-12-25 Teemu Torma <tot@trema.com>
6018
6019 * Makefile.in (GTHREAD_FLAGS): New var.
6020 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
6021 (distclean): Remove gthr-default.h.
6022
6023 * configure.in: Accept dce as a thread package.
6024 Check for thread.h and pthread.h.
6025 Link gthr-default.h to appropriate thread file and set
6026 gthread_flags.
6027 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
6028 include multilib definitions from pa/t-dce-thr.
6029 (sparc-*-solaris2*): Enable threads by default, if thread.h or
6030 pthread.h is found, preferring posix threads over solaris ones.
6031
6032 * config/pa/t-dce-thr: New file.
6033 * config/pa/t-pa: Removed multilibs.
6034 * config/sparc/t-sol2: Ditto.
6035
6036 * gthr.h: New file.
6037 * gthr-single.h: New file.
6038 * gthr-posix.h: New file.
6039 * gthr-solaris.h: New file.
6040 * gthr-dce.h: New file.
6041 * libgcc-thr.h: Removed.
6042 * objc/thr-dce.c: New file copied from thr-decosf1.c.
6043
6044 * frame.c: Include gthr.h instead of libgcc-thr.h.
6045 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
6046 (eh_context_initialize): If __gthread_once fails, use static eh
6047 context.
6048 (eh_context_free): Call __gthread_key_dtor.
6049
6050 Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
6051
6052 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
6053
6054 Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
6055
6056 * cse.c (max_insn_uid): New variable.
6057 (cse_around_loop): Use max_insn_uid.
6058 (cse_main): Set max_insn_uid.
6059
6060 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
6061 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
6062 -mlong64, and -mgp{32,64} options.
6063 * mips.c (mips_abi): Change type to int.
6064 * mips.h (enum mips_abi_type): Delete.
6065 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
6066 (mips_abi): Change type to int.
6067
6068 Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
6069
6070 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
6071 optimization is now always enabled.
6072
6073 * calls.c (expand_call): Recognize C++ operator new as malloc-like
6074 function.
6075
6076 * alias.c (memrefs_conflict_p): Eliminate tests now done by
6077 base_alias_check.
6078 (*_dependence): Call canon_rtx before base_alias_check.
6079 (init_alias_once): New function to precompute set of registers which
6080 can hold Pmode function arguments.
6081
6082 * rtl.h: Declare init_alias_once.
6083
6084 * toplev.c (compile_file): Call init_alias_once.
6085
6086 Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
6087
6088 * tree.c (restore_tree_status): Do not dereference a null pointer.
6089
6090 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
6091
6092 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
6093 RLIMIT_STACK. This maintains consistency with the recent, similar
6094 patch to cccp.c and toplev.c.
6095
6096 Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
6097
6098 * genattrtab.c (expand_units): For large nr opclasses, expand
6099 function_units_used with ORX to prevent blowups. Tag with FFS.
6100 (num_unit_opclasses): New variable.
6101 (gen_unit): Update it.
6102 (enum operator): Add ORX_OP.
6103 (operate_exp): Treat ORX as or, except don't expand across an if.
6104 Reuse number rtx's after operating on them.
6105 (check_attr_value): Accept IOR, AND, & FFS.
6106 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
6107 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
6108 (write_expr_attr_cache, write_toplevel_expr): New functions.
6109 (write_attr_get): Handle FFS-tagged expressions.
6110 (make_canonical): Don't expand const attributes.
6111 (convert_const_symbol_ref): Dike out.
6112 (evaluate_eq_attr): Handle SYMBOL_REF.
6113 (main): Don't emit get_attr_foo for const attributes.
6114
6115 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
6116 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
6117 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
6118 * alpha.md: Redo all of the scheduling, adding EV6 support, and
6119 combining function units where possible.
6120 (attr "type"): Split loads, stores, cmov into int/fp. Combine
6121 multiplies and divides. Add EV6 sqrt, ftoi, itof.
6122 (attr "opsize"): New attribute.
6123 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
6124 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
6125 to control register allocation.
6126 (movsi2-1, movdi2-1): Likewise.
6127
6128 Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
6129
6130 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
6131 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
6132 Move OSF/1 specific defines out.
6133 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
6134 Move Linux specific defines out.
6135 (LINK_SPEC): Genericize.
6136 (ASM_FILE_START): Emit .arch if using more than the base insn set.
6137 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
6138 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
6139 (HANDLE_SYSV_PRAGMA): Define.
6140 * alpha/osf.h: New file.
6141 * alpha/linux.h: Split. Retain file-format independant defines.
6142 Import Linux bits from elf.h.
6143 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
6144 (FUNCTION_PROFILER): _mcount takes its address in $28.
6145 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
6146 * alpha/linux-ecoff.h: New file.
6147 * alpha/linux-elf.h: New file.
6148 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
6149 * alpha/win-nt.h (TARGET_DEFAULT): Define.
6150 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
6151 Add new headers as appropriate.
6152
6153 * configure.in (alpha*): Enable Haifa by default.
6154 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
6155 * configure: Rebuild.
6156
6157 Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
6158
6159 * Makefile.in (clean): Remove the stages with their objects here ...
6160 (distclean): ... instead of here.
6161
6162 Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6163
6164 * cse.c (rtx_cost): Add default case in enumeration switch.
6165 * fix-header.c (recognized_macro): Likewise.
6166 (recognized_extern): Likewise.
6167 (write_rbrac): Likewise.
6168 * objc/objc-act.c (encode_aggregate): Likewise.
6169 (gen_declarator): Likewise.
6170 (gen_declspecs): Likewise.
6171
6172 Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
6173
6174 * haifa-sched.c (create_reg_dead_note): Detect and handle another
6175 case where we kill more regs after sched than were killed before
6176 sched.
6177 * sched.c (create_reg_dead_note): Similarly.
6178
6179 Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
6180
6181 * c-pragma.c: Include flags.h.
6182
6183 Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
6184
6185 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
6186 about system headers.
6187 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
6188 and also to resolve symbols in prefix.c.
6189
6190 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
6191 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
6192 when the definitions in auto-config.h is not visible.
6193 (HAVE_BZERO): Likewise.
6194 (HAVE_BCMP): Likewise.
6195 (HAVE_RINDEX): Likewise.
6196 (HAVE_INDEX): Likewise.
6197
6198 Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
6199
6200 * pa.c (emit_move_sequence): Handle a function label source
6201 operand.
6202
6203 Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
6204
6205 * c-pragma.c (handle_pragma_token): Generate warning messages
6206 about unknown pragmas if warn_unknown_pragmas is set.
6207
6208 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
6209 line option to set variable: warn_unknown_pragmas.
6210
6211 Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
6212
6213 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
6214 definition.
6215 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
6216
6217 Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
6218
6219 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
6220 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
6221 generate more fine grained floating point emulation libraries.
6222 * config/fp-bit.c: Add protecting #ifdef to all functions so
6223 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
6224 then compile all suitable functions.
6225 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
6226 underscores to avoid namespace pollution.
6227 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
6228 (FPBIT): Define.
6229 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
6230 (FPBIT): Define.
6231 (DPBIT): Define.
6232
6233 Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6234 Jeff Law <law@cygnus.com>
6235
6236 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
6237 of the declaration.
6238 * c-decl.c (finish_decl): Use parentheses around && within ||.
6239 * rtl.c: Include stdlib.h.
6240 (read_skip_spaces): Add parentheses around assignments used as
6241 truth values.
6242 (read_rtx): Initialize list_rtx.
6243 * cppexp.c (parse_number): Use || when operands are truth values.
6244 * alias.c (find_base_value): Add default case.
6245 (memrefs_conflict): Likewise.
6246 * combine.c (sets_function_arg_p): Likewise.
6247 * genemit.c (gen_exp): Likewise.
6248 * local-alloc.c (contains_replace_regs): Likewise.
6249 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
6250 * fold-const.c (fold_convert): Use "&&" for truth values.
6251 (fold): Add default case.
6252 * sdbout.c (sdbout_field_types): Fix typo in declaration.
6253 (sdbout_one_type): Add default case.
6254 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
6255 (some_operand): Add default case.
6256 (input_operand): Likewise.
6257 (signed_comparison_operator): Likewise.
6258 (divmod_operator): Likewise.
6259 (alpha_set_memflags_1): Likewise.
6260 * reload1.c (reload_cse_simplify_operands): Ensure function
6261 always returns a value.
6262 * scan-decls.c (scan_decls): Likewise.
6263 * c-lex.c (skip_white_space): Fix typo in declaraion.
6264 * c-typeck.c (comp_target_types): Add parentheses around assignment
6265 used as truth value.
6266 (print_spelling): Likewise.
6267 (constructor_implicit, constructor_result): Remove unused variables.
6268 * collect2.c (scan_library): Protect prototype with
6269 #ifdef SCAN_LIBRARIES.
6270 * emit-rtl.c (find_line_note): Fix typo in declaration.
6271 * final.c (asm_insn_count): Protect prototype with
6272 #ifdef HAVE_ATTR_length.
6273 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
6274 (try_pre_increment_1, try_pre_increment): Likewise.
6275 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
6276 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
6277 * gcov-io.h (__store_long, __write_long, __read_long): Fix
6278 unsigned/signed comparisons.
6279 * gcov.c (read_files): Remove unused "first_type" variable.
6280 (scan _for_source_files): Initialize s_ptr.
6281 (function_summary): Eliminate "%lf" formatting, use %ld for
6282 longs.
6283 (output_data): Initialize branch_probs and last_line_num.
6284 Eliminate "%lf" formatting, use "%ld" for longs.
6285
6286 Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
6287
6288 * mips16.S: New file.
6289
6290 * libgcc2.c (varargs): Handle mips16.
6291
6292 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
6293 expression.
6294 * stmt.c (expand_end_case): Likewise.
6295 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
6296 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
6297 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
6298
6299 Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6300
6301 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
6302 the build directory.
6303 (libobjc.a): Update dependency list.
6304 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
6305 directory.
6306 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
6307 (objc.mostlyclean): Remove runtime-info.h.
6308
6309 Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
6310
6311 * tree.c (build_range_type): Allow creation of ranges with no maximum.
6312 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
6313 * dwarf2out.c (add_subscript_info): Likewise.
6314 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
6315 * sdbout.c (plain_type_1): Likewise.
6316 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
6317 Likewise.
6318 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
6319 Likewise.
6320
6321 Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6322
6323 * mips.c (fatal): Remove declaration.
6324
6325 1997-12-18 Mark Mitchell <mmitchell@usa.net>
6326
6327 * integrate.c (get_label_from_map): New function.
6328 (expand_inline_function): Use it. Initialize the label_map to
6329 NULL_RTX instead of gen_label_rtx.
6330 (copy_rtx_and_substitute): Use get_label_from_map.
6331 * integrate.h (get_label_from_map): New function.
6332 (set_label_from_map): New macro.
6333 * unroll.c (unroll_loop): Use them.
6334 (copy_loop_body): Ditto.
6335
6336 Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
6337
6338 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
6339 (INIT_TARGET_OPTABS): Define.
6340 * mips/ecoff.h: Include gofast.h before mips.h.
6341 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
6342 * mips/elf64.h: Likewise.
6343 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
6344
6345 Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
6346
6347 * except.c: Remove register_exception_table{,_p}.
6348
6349 Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
6350
6351 * unroll.c (calculate_giv_inc): Handle constant increment found in
6352 a MEM with an appropriate REG_EQUAL note.
6353
6354 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
6355
6356 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
6357 frame pointer in the prologue.
6358
6359 Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
6360
6361 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
6362 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
6363
6364 Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
6365
6366 * config/m68k/m68k.c (output_function_prologue): Typecast
6367 dwarf2out_cfi_label to (char *).
6368 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
6369
6370 Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
6371
6372 * sparc.md (jump): Don't use the annul bit around an empty loop.
6373 Patch from Kevin.Kelly@East.Sun.COM.
6374
6375 Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
6376
6377 * jump.c: (jump_optimize): Don't use the return register as a
6378 source1 of a conditional move.
6379
6380 Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
6381
6382 * sparc.c (DF_MODES): Or the mask not the bit number.
6383 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
6384
6385 Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
6386
6387 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
6388
6389 Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
6390
6391 * fixincludes (size_t): Add support for Motorola's stdlib.h
6392 which fails to provide a definition for size_t.
6393 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
6394 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
6395 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
6396
6397 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
6398 prevent unresolved externals in libio.
6399 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
6400
6401 Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
6402
6403 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
6404 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
6405 (LIB_SPEC): Updated for glibc 2.
6406
6407 Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
6408
6409 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
6410 * ginclude/varargs.h: Likewise.
6411
6412 Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
6413
6414 * version.c: Bump for snapshot.
6415
6416 Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
6417
6418 * frame.h (__register_frame, __register_frame_table,
6419 __deregister_frame): New.
6420 * frame.c (__register_frame, __register_frame_table,
6421 __deregister_frame): New.
6422 * frame.c (__deregister_frame_info): Return void *.
6423 * frame.h (__deregister_frame_info): Ditto.
6424 * collect2.c (__deregister_frame_info): Ditto.
6425
6426 Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
6427
6428 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
6429
6430 Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
6431
6432 * alpha.c (alpha_cpu_name): New variable.
6433 (alpha_mlat_string): Likewise.
6434 (alpha_memory_latency): Likewise.
6435 (override_options): Handle -mmemory-latency.
6436 (alpha_adjust_cost): Adjust load cost for latency.
6437 * alpha.h (TARGET_OPTIONS): Add meory-latency.
6438 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
6439 TARGET_CIX into account.
6440 (MEMORY_MOVE_COST): Define in terms of memory_latency.
6441 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
6442
6443 * alpha.h (ASM_COMMENT_START): New macro.
6444
6445 Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
6446
6447 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
6448 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
6449
6450 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
6451 SUBREG_REG if the word count is unchanged.
6452 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
6453 subregs of identical word size for push_reload.
6454
6455 Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
6456
6457 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
6458 if all we're doing is dealing with -Wreturn-type.
6459
6460 Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
6461
6462 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
6463 Use and 255 instead of zapnot 1, since it schedules better.
6464
6465 Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
6466
6467 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
6468 it as volatile.
6469
6470 Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
6471
6472 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
6473 dependency we delete. Properly update prev for multiple consecutive
6474 deletions.
6475 (priority): Skip deleted dependence.
6476
6477 Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
6478
6479 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
6480
6481 Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6482
6483 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
6484 determining when a new basic block starts.
6485
6486 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
6487
6488 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
6489 * pa.md (iorsi3): Add missing args to *_operand calls.
6490
6491 * except.c (call_get_eh_context): Don't mess with sequences.
6492 (emit_eh_context): Include the call in the sequence here.
6493
6494 1997-12-11 Paul Eggert <eggert@twinsun.com>
6495
6496 * collect2.c (write_c_file_glob): Allocate initial frame object
6497 in static storage and pass its address.
6498
6499 Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6500
6501 * except.c (call_get_eh_context): Don't take a parm.
6502 Put the call at the top of the function.
6503 (emit_eh_context): Adjust.
6504 (get_eh_context): Replace with former use_eh_context.
6505 (get_eh_context_once, get_saved_pc_ref): Remove.
6506 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
6507 * except.h: Adjust.
6508 * integrate.c (expand_inline_function): Adjust.
6509 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
6510
6511 Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
6512
6513 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
6514 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
6515
6516 Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
6517
6518 * fixincludes (strlen,strspn,strcspn return value): Handle different
6519 layout on sysV88.
6520 (hypot): Provide a fake for hypot which is broken on
6521 m88k-motorola-sysv3.
6522
6523 Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
6524
6525 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
6526 tree_code_name from pointers to arrays.
6527 * tree.c: Remove standard_tree_code_* variables, no longer used.
6528 * print-tree.c: Remove declaration of tree_code_name.
6529
6530 * cp/lex.c (init_lex): Update for tree_code_* changes.
6531 * objc/objc-act.c (init_objc): Likewise.
6532
6533 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
6534 changes.
6535
6536 Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
6537
6538 * config.sub: Add support for BeOS target.
6539 * configure.in: Likewise.
6540 * ginclude/stdarg.h: Likewise.
6541 * ginclude/stddef.h: Likewise.
6542 * ginclude/varargs.h: Likewise.
6543 * rs6000/beos.h: New file for BeOS.
6544 * rs6000/t-beos: Likewise.
6545 * rs6000/x-beos: Likewise.
6546 * rs6000/xm-beos.h: Likewise.
6547 * toplev.c (get_run_time): Just return 0 on BeOS.
6548
6549 Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
6550 Toon Moene (toon@moene.indiv.nluug.nl)
6551
6552 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
6553 old and broken Sun3 assemblers. Newer versions handle large
6554 offsets correctly as does the GNU assembler.
6555
6556 Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
6557
6558 * objc/objc-act.c (lang_report_error_function): Disable.
6559 * objc/objc-parse.y: Include "output.h".
6560 (yyerror): Remove redundant decl.
6561 (yyprint): Fix prototype.
6562 (apply_args_register_offset): Remove redundant decl.
6563 (get_file_function_name): Likewise.
6564
6565 Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
6566
6567 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
6568 a new basic block.
6569 (find_basic_blocks_1): Likewise.
6570
6571 Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6572
6573 * except.c (use_eh_context): Don't copy_rtx a REG.
6574 (emit_throw): Lose old unwinder support.
6575 (expand_internal_throw): Likewise.
6576 * libgcc2.c (struct eh_context): Likewise.
6577 (new_eh_context): Likewise.
6578 (__get_eh_info): Lose redundant cast.
6579 (__get_dynamic_handler_chain): Likewise.
6580 (__get_saved_pc): Lose.
6581 Lose all old unwinder support code.
6582
6583 Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
6584
6585 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
6586
6587 * integrate.c (expand_inline_function): If the inline fn uses eh
6588 context, make sure that the current fn has one.
6589 * toplev.c (rest_of_compilation): Call emit_eh_context.
6590 * except.c (use_eh_context): New fn.
6591 (get_eh_context_once): New fn.
6592 (call_get_eh_context): New fn.
6593 (emit_eh_context): New fn.
6594 (get_eh_context): Call either get_eh_context_once or
6595 call_get_eh_context, depending on what we have.
6596 (get_dynamic_handler_chain): Call get_eh_context_once.
6597 * except.h: Prototypes for fns above.
6598 * optabs.c (get_eh_context_libfunc): Removed.
6599 (init_optabs): Don't initialize it.
6600 * expr.h (get_eh_context_libfunc): Removed.
6601 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
6602 * config/pa/pa.h (CPP_SPEC): Support for -threads.
6603 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
6604 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
6605 New multilib for -threads.
6606 * config/sparc/t-sol2: Added multilibs for -threads and
6607 made -pthreads alias to it.
6608 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
6609 Added -threads and -pthreads options.
6610 * libgcc-thr.h: New file.
6611 * libgcc2.c: (__get_cpp_eh_context): Removed.
6612 (struct cpp_eh_context): Removed.
6613 (struct eh_context): Replaced cpp_eh_context with generic language
6614 specific pointer.
6615 (__get_eh_info): New function.
6616 (__throw): Check eh_context::info.
6617 (__sjthrow): Ditto.
6618 * libgcc2.c: Include libgcc-thr.h.
6619 (new_eh_context, __get_eh_context,
6620 eh_pthread_initialize, eh_context_initialize, eh_context_static,
6621 eh_context_specific, eh_context_free): New functions.
6622 (get_eh_context, eh_context_key): New variables.
6623 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
6624 get_eh_context to get the context.
6625 (longjmp): Move the declaration inside
6626 #ifdef DONT_USE_BUILTIN_SETJMP.
6627 * frame.c: Include libgcc-thr.h.
6628 (object_mutex): Mutex to protect the object list.
6629 (find_fde, __register_frame, __register_frame_table,
6630 __deregister_frame): Hold the lock while accessing objects.
6631 * except.h (get_eh_context): Declare.
6632 * except.c (current_function_ehc): Define.
6633 (current_function_dhc, current_function_dcc): Removed.
6634 (get_eh_context): New function.
6635 (get_dynamic_handler_chain): Use get_eh_context.
6636 (get_saved_pc_ref): Ditto.
6637 (get_dynamic_cleanup_chain): Removed references to
6638 current_function_dcc.
6639 (save_eh_status, restore_eh_status): Save and restore
6640 current_function_ehc instead.
6641 * optabs.c (get_eh_context_libfunc): New variable.
6642 (init_optabs): Initialize it.
6643 * expr.h: Declare get_eh_context_libfunc.
6644 * function.h (struct function): Replaced dhc and dcc with ehc.
6645 * except.c (get_saved_pc_ref): New functions.
6646 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
6647 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
6648 of eh_saved_pc.
6649 (end_eh_unwinder): Likewise.
6650 (init_eh): Remove initialization of eh_saved_pc.
6651 * optabs.c (get_saved_pc_libfunc): New variable.
6652 (init_optabs): Initialize it.
6653 * expr.h: Declare get_saved_pc_libfunc.
6654 * except.h (eh_saved_pc_rtx): Deleted.
6655 (get_saved_pc_ref): Declared.
6656
6657 From Scott Snyder <snyder@d0sgif.fnal.gov>:
6658 * libgcc2.c (__get_saved_pc): New.
6659 (__eh_type, __eh_pc): Deleted.
6660 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
6661 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
6662 this fcn.
6663
6664 Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
6665
6666 * sparc/sol2.h: Use 64 bit multiply and divide functions in
6667 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
6668 as 0.
6669
6670 * rtl.h (global_rtl): New variable, replacing separate variables for
6671 commonly used rtl.
6672 (const_int_rtx): Now array of rtx_def, not rtx.
6673 * emit-rtl.c: Update for new rtl data structures.
6674 * genattrtab.c: Define global_rtl.
6675
6676 Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
6677
6678 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
6679 default.
6680
6681 Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
6682
6683 * crtstuff.c (__do_global_ctors): Fix typo.
6684
6685 Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
6686
6687 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6688 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6689
6690 Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
6691
6692 * rs6000.h (FUNCTION_ARG_PADDING): Define.
6693 * rs6000.c (function_arg_padding): New function.
6694
6695 Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
6696
6697 * m68k.c: Include tree.h only once.
6698
6699 Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6700
6701 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
6702
6703 Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
6704
6705 * Partially cleaned up prototyping code from HJ.
6706 * tree.h: Add many prototypes.
6707 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
6708 All references changed.
6709 * rtl.h: Protect from multiple inclusions. Add many prototypes.
6710
6711 Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
6712
6713 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
6714 string functions like strlen.
6715
6716 Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
6717
6718 * configure.in: Check for functions getrlimit and setrlimit.
6719 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6720 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6721
6722 Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
6723
6724 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
6725
6726 Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
6727
6728 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
6729 Fix merge problems.
6730
6731 * alpha.c (override_options): Don't know about scheduling for EV6.
6732 * alpha.md (ev5 function units): Don't overload as ev6.
6733
6734 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
6735 * alpha.md (define_attr type): Add mvi.
6736 (ev5_e0): Define sceduling parameters for it.
6737 (TARGET_MAX insns): Type is mvi not shift.
6738
6739 Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
6740
6741 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
6742
6743 Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6744
6745 * cstamp-h, auto-config.h: Delete.
6746
6747 Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
6748
6749 * version.c: Bump for snapshot.
6750
6751 Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
6752
6753 * cccp.c: Fix typo brought over in merge.
6754
6755 * Merge in changes from gcc-2.8.
6756
6757 Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
6758
6759 * m68k.c: Include tree.h for dwarf2out_cfi_label.
6760
6761 * gcc.c (process_command): Do not take address of function fatal when
6762 calling lang_specific_driver.
6763
6764 Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
6765
6766 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
6767 doesn't work with it yet, so set it to 0.
6768 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
6769
6770 Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
6771
6772 * cse.c (cse_insn): Check for invalid entries when taking references.
6773
6774 Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6775
6776 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
6777 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
6778 * toplev.c (rest_of_compilation): Pass it. Remove code to
6779 save / clear / restore flag_unroll_{,all_}loops.
6780
6781 Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6782
6783 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
6784
6785 Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
6786
6787 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
6788
6789 Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
6790
6791 * except.c (get_dynamic_handler_chain): Only make the call once per
6792 function.
6793
6794 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
6795
6796 Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6797
6798 * sh.c (final_prescan_insn): Use local label prefix
6799 when emitting .uses pseudo-ops.
6800
6801 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6802
6803 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
6804 * except.c: Lose outer_context_label_stack.
6805 (expand_eh_region_end): Rethrow from outer_context here.
6806 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
6807 (expand_internal_throw): Take no args.
6808 (expand_internal_throw_indirect): Lose.
6809 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
6810 (expand_start_all_catch): Start a rethrow region.
6811 (expand_end_all_catch): End it.
6812 (expand_rethrow): New fn.
6813 * except.h: Reflect above changes.
6814 * flow.c: Revert change of Nov 27.
6815
6816 Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
6817
6818 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
6819
6820 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6821
6822 * except.c (expand_fixup_region_end): New fn.
6823 (expand_fixup_region_start): Likewise.
6824 (expand_eh_region_start_tree): Store cleanup into finalization here.
6825 * stmt.c (expand_cleanups): Use them to protect fixups.
6826
6827 Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
6828
6829 * mips/mips.md (muldi3_r4000): Broaden the output template
6830 and attribute assignments to handle three operand dmult;
6831 rename to muldi3_internal2.
6832 (muldi3): Call the new muldi3_internal2 for R4000, and
6833 any GENERATE_MULT3 chip.
6834
6835 Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
6836
6837 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
6838
6839 Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
6840
6841 * unroll.c (find_splittable_givs): Remove last change. Handle givs
6842 with a dest_reg that was created by loop.
6843
6844 Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
6845
6846 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
6847
6848 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
6849
6850 Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
6851
6852 * configure.in: Fix NCR entries.
6853
6854 Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
6855
6856 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
6857 nested exceptions correctly.
6858
6859 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
6860 that was created by loop.
6861
6862 Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
6863
6864 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
6865
6866 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
6867
6868 Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
6869
6870 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
6871 (print_operand): Use SMALL_DATA_REG for the register involved in
6872 small data relocations.
6873 (print_operand_address): Ditto.
6874
6875 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
6876 -dynamic linker is not used.
6877
6878 * rs6000.md (call insns): For local calls, use @local suffix under
6879 System V. Don't use @plt under Solaris.
6880
6881 * rs6000.c (output_function_profiler): Put label address in r0, and
6882 store LR in 4(sp) for System V/eabi.
6883
6884 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
6885 byte boundary, and maintain stack backchain.
6886
6887 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6888
6889 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6890 fix_truncsfdi2): Change *.
6891
6892 Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
6893
6894 * toplev.c (main): Complain about -gdwarfn.
6895
6896 Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
6897
6898 * dwarfout.c (output_type): If finalizing, write out nested types
6899 of types we've already written.
6900
6901 Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
6902
6903 (patches originally from Geoffrey Keating)
6904 * rs6000.c (function_arg): Excess floating point arguments don't
6905 go into GPR registers after exhausting FP registers under the
6906 System V.4 ABI.
6907 (function_arg_partial_nregs): Ditto.
6908
6909 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
6910 suffix to calls.
6911
6912 Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
6913
6914 * integrate.c (output_inline_function): Just unset DECL_INLINE.
6915
6916 Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
6917
6918 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
6919 proper alignment.
6920
6921 * libgcc2.c (__throw): Initialize HANDLER.
6922
6923 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6924
6925 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6926 fix_truncsfdi2): Change *X to ?*X.
6927
6928 Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
6929
6930 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
6931
6932 Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
6933
6934 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
6935
6936 Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
6937
6938 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
6939
6940 Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
6941
6942 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
6943 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
6944 * expr.h: Likewise.
6945
6946 Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
6947
6948 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
6949 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
6950 gas and not using the new HP assembler.
6951
6952 Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
6953
6954 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
6955 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
6956
6957 Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
6958
6959 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
6960 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
6961 definition.
6962
6963 Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6964
6965 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
6966
6967 Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
6968
6969 * except.h: Add outer_context_label_stack.
6970 * except.c: Likewise.
6971 (expand_start_all_catch): Push the outer_context for the try block
6972 onto outer_context_label_stack.
6973 (expand_end_all_catch): Use it and pop it.
6974
6975 Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
6976
6977 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
6978
6979 Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
6980
6981 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
6982
6983 Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
6984
6985 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
6986 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6987
6988 Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
6989
6990 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
6991 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
6992 __builtin_delete, and __builtin_vec_delete.
6993
6994 * except.c (output_exception_table): Don't bother with
6995 __EXCEPTION_END__.
6996
6997 Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
6998
6999 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
7000 is an in/out operand.
7001 (zero extended variants of stwm/stwm patterns): Similarly.
7002
7003 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
7004
7005 Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
7006
7007 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
7008 Use assemble_name.
7009 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
7010 (output_call_frame_info): Emit a \n after using it.
7011
7012 Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
7013
7014 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
7015
7016 Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
7017
7018 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
7019 (ASM_OUTPUT_DWARF_VALUE4): New macro.
7020 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
7021 defined.
7022 (output_call_frame_info): Do not output forward label differences
7023 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
7024 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
7025
7026 Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7027
7028 * sh.md (attribute "type"): Add nil.
7029 (movsi_ie): y/y alternative is type nil.
7030 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
7031 alternatives.
7032 (movsf_ie+1): Delete.
7033
7034 Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
7035
7036 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
7037 large_int, emit two insns instead of one splitable insn.
7038 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
7039 from cfa_temp_value, use cfa_offset. Add assert checking that
7040 cfa_reg is SP.
7041
7042 Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
7043
7044 * cccp.c (deps_output): Properly quote file names for make.
7045
7046 Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
7047
7048 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
7049
7050 Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
7051
7052 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
7053
7054 Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
7055
7056 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
7057 return.
7058 (cse_end_of_basic_block): Similarly.
7059
7060 Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
7061
7062 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
7063 (SELECT_RTX_SECTION): Define.
7064 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
7065
7066 Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
7067
7068 * Makefile.in (compare, compare-lean): Define $stage for each
7069 shell command.
7070 (gnucompare, gnucompare-lean): Likewise.
7071
7072 Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
7073
7074 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
7075
7076 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
7077 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
7078
7079 Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
7080
7081 * dwarfout.c (byte_size_attribute): Add local var upper_bound
7082 and add case to handle STRING_TYPE.
7083 * dwarfout.c (output_string_type_die): Fix code to generate
7084 correct string length attribute for fixed length strings.
7085 Still needs support for varying length strings.
7086
7087 Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
7088
7089 * toplev.c (get_run_time): Do something sensible for cygwin32.
7090
7091 Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
7092
7093 * expr.c (expand_builtin_setjmp): Set
7094 current_function_has_nonlocal_label.
7095 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
7096 call-saved registers across calls.
7097
7098 * alpha.md (exception_receiver): Remove.
7099 (nonlocal_goto_receiver_osf): New
7100 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
7101 (nonlocal_goto_receiver): New, select _osf or _vms.
7102
7103 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
7104 keep them from being propogated to the object file.
7105 (alpha_write_linkage): Likewise.
7106 * alpha.md (call_vms): Likewise.
7107 (call_value_vms): Likewise.
7108 (unnamed osf call insns): Likewise.
7109
7110 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
7111 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
7112
7113 * alpha.c (call_operand): Any reg is valid for WinNT.
7114 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
7115 (anon nt calls): Add 'R' alternative.
7116 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
7117 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
7118
7119 Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
7120
7121 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
7122
7123 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
7124 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
7125 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
7126
7127 Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
7128
7129 * reload1.c (new_spill_reg): Improve fixed or forbidden register
7130 spill error message.
7131
7132 Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7133
7134 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
7135 use varargs.h. Wrap header with <>, not "".
7136
7137 Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
7138
7139 * integrate.c (save_for_inline_copying): Add return value from
7140 savealloc.
7141
7142 Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
7143
7144 * fixincludes: Be a little more restrictive on what we will
7145 substitute to replace definitions of MAXINT for HPUX.
7146
7147 Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
7148
7149 * dbxout.c (dbxout_symbol_location): Don't assume that variables
7150 whose address is the stack or argument pointers are indirect
7151 pointers.
7152
7153 1997-11-13 Paul Eggert <eggert@twinsun.com>
7154
7155 * cccp.c, cpplib.c (compare_defs):
7156 Don't complain about arg name respellings unless pedantic.
7157 * cpplib.c (compare_defs): Accept pfile as new arg.
7158 All callers changed.
7159
7160 Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7161
7162 * fold-const.c (fold_truthop): Fix bug in last change.
7163
7164 1997-11-13 Paul Eggert <eggert@twinsun.com>
7165
7166 Fix some confusion with IEEE minus zero.
7167
7168 * real.h (REAL_VALUES_IDENTICAL): New macro.
7169
7170 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
7171 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
7172 identical to 0.0.
7173 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
7174 same tree structure as 0.0.
7175
7176 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
7177 macro instead of doing it by hand.
7178
7179 Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
7180
7181 * v850/lib1funcs.asm: Minor whitespace changes.
7182 * v850.c: Fix minor formatting problems in many places.
7183 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
7184
7185 Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
7186
7187 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
7188 xplus1 when xplus0 is not a register.
7189
7190 Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
7191
7192 * flow.c (find_basic_blocks): During marking phase, if we encounter
7193 an insn with a REG_LABEL note, make the target block live and
7194 create an edge from the insn to the target block. Do not make
7195 edges from all blocks to the target block.
7196
7197 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
7198
7199 * confiugre.in: Tweak NCR entries.
7200 * configure: Rebuilt.
7201
7202 Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
7203
7204 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
7205 pick apart floating point values, instead of using CONST_DOUBLE_LOW
7206 and CONST_DOUBLE_HIGH.
7207
7208 * rs6000.md (define_splits for DF constants): Use the appropriate
7209 REAL_VALUE_* interface to pick apart DF floating point constants in
7210 a machine independent fashion.
7211
7212 Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7213
7214 * fold-const.c (fold_truthop): When changing a one-bit comparison
7215 against zero into a comparison against mask, do a proper sign
7216 extension.
7217
7218 Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
7219
7220 * except.c: Do not include "assert.h".
7221 (save_eh_status): Turn asserts into conditional aborts.
7222 (restore_eh_status, scan_region): Likewise.
7223 * dwarfout.c: Do not include "assert.h".
7224 (bit_offset_attribute): Turn asserts into conditional aborts.
7225 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
7226 (output_inlined_structure_type_die): Likewise.
7227 (output_inlined_union_type_die): Likewise
7228 (output_tagged_type_instantiation): Likewise.
7229 (dwarfout_file_scope_decl): Likewise.
7230 * dwarf2out.c: Do not include "assert.h"
7231 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
7232 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
7233 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
7234 (add_bit_size_attribute, scope_die_for): Likewise.
7235 (output_pending_types_for_scope): Likewise.
7236 (get_inlined_enumeration_type_die): Likewise.
7237 (get_inlined_structure_type_die): Likewise.
7238 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
7239 (gen_tagged_type_instantiation_die): Likewise.
7240
7241 * flow.c (find_basic_blocks): Refine further to get a more correct
7242 cfg, especially in the presense of exception handling, computed
7243 gotos, and other non-trivial cases. Call abort if an inaccuracy
7244 is detected in the cfg.
7245
7246 Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7247
7248 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
7249
7250 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
7251 (skip_white_space): Use whitespace_cr.
7252 (check_newline): Handle whitespace more consistently.
7253
7254 Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
7255
7256 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
7257 * i386/xm-cygwin32.h (POSIX): Define.
7258
7259 Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
7260
7261 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
7262 is available elsewhere.
7263
7264 Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
7265
7266 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
7267 what the instruction can handle.
7268
7269 Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
7270
7271 * stmt.c (expand_decl_cleanup_no_eh): New fn.
7272
7273 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
7274
7275 Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
7276
7277 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
7278 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
7279
7280 Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
7281
7282 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
7283 swap instruction order.
7284
7285 Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
7286
7287 * fixinc.svr4 (__STDC__): Add another case.
7288
7289 Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7290
7291 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
7292 addresses in the epilogue delay slot.
7293
7294 Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
7295
7296 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
7297 in generated `specs' file.
7298
7299 Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
7300
7301 * flags.h (flag_rerun_loop_opt): Declare.
7302 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
7303 * toplev.c (flag_rerum_loop_opt): Delete static.
7304
7305 Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7306
7307 Bring over from FSF:
7308
7309 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7310
7311 * va-sh.h (__va_arg_sh1): Define.
7312 (va_arg): Use it.
7313 SH3E doesn't use any integer registers for subsequent arguments
7314 once a non-float value was passed in the stack.
7315 * sh.c (machine_dependent_reorg): If optimizing, put explicit
7316 alignment in front label for ADDR_DIFF_VEC.
7317 * sh.h (PASS_IN_REG_P): Fix SH3E case.
7318 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
7319
7320 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7321
7322 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
7323 svr4.h.
7324
7325 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7326
7327 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
7328 put an use_sfunc_addr before each sfunc.
7329 * sh.md (use_sfunc_addr, dummy_jump): New insns.
7330 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
7331
7332 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7333
7334 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
7335
7336 Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
7337
7338 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
7339 linked once FDEs.
7340
7341 Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
7342
7343 * alias.c (find_base_value): Only return the known base value for
7344 pseudo registers.
7345
7346 Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
7347
7348 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
7349 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
7350 to pattern.
7351 (prologue_get_pc_and_set_got): New pattern.
7352
7353 Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
7354
7355 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
7356 for SUBREG, just fall through.
7357
7358 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
7359
7360 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
7361
7362 Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
7363
7364 * fixincludes: Fix "hypot" prototype in NeXT math.h.
7365
7366 * Makefile.in (USE_ALLOCA): Always include alloca.o.
7367 (USE_HOST_ALLOCA): Likewise.
7368
7369 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
7370 and LABEL_REFS fields.
7371 * rtl.h (LABEL_REFS): Update.
7372
7373 Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
7374
7375 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
7376 sets i2dest. When calling distribute_notes for i3dest_killed, pass
7377 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
7378 sets i1dest.
7379
7380 * mips.md (insv, extzv, extv): Add change_address call.
7381 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
7382
7383 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
7384
7385 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
7386
7387 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
7388 save_restore_insns if no FP and GP will be restored.
7389
7390 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
7391 Convert CCmode to word_mode before calling GET_MODE_SIZE.
7392
7393 * acconfig.h (HAVE_INTTYPES_H): Undef.
7394 * configure.in (inttypes.h): Check for conflicts between sys/types.h
7395 and inttypes.h, and verify that intmax_t is defined.
7396 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
7397 * config/mips/x-iris3: Likewise.
7398
7399 Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
7400
7401 * alias.c (find_base_value): When copying arguments, return the
7402 tenative value for a hard register.
7403
7404 Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
7405
7406 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
7407 (yylex): Record wide strings using target endianness, not host.
7408
7409 Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
7410
7411 * mn10200.h (ASM_OUTPUT_BSS): Delete.
7412 (ASM_OUTPUT_ALIGNED_BSS): New macro
7413 * mn10300.h (ASM_OUTPUT_BSS): Delete.
7414 (ASM_OUTPUT_ALIGNED_BSS): New macro.
7415 * v850.h (ASM_OUTPUT_BSS): Delete.
7416 (ASM_OUTPUT_ALIGNED_BSS): New macro.
7417
7418 Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7419
7420 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
7421
7422 Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
7423
7424 * configure.in (sco5): Use cpio to install header files.
7425
7426 Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
7427
7428 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
7429 14 char length.
7430 * configure: Rebuild.
7431
7432 Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
7433
7434 * i386/sco5.h: enable -gstabs once again.
7435
7436 Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
7437
7438 * arm.c (output_move_double): Allocate 3 entries in otherops array.
7439
7440 Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
7441
7442 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
7443 notes for sjlj exceptions too.
7444 (expand_eh_region_end): Similarly for EH_REGION_END notes.
7445 (exception_optimize): Optimize EH regions for sjlj exceptions too.
7446 * final.c (final_scan_insn): Don't output labels for EH REGION
7447 notes if doing sjlj exceptions.
7448
7449 Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
7450
7451 * alias.c (init_alias_analysis): Handle -fno-alias-check when
7452 optimizing correctly.
7453
7454 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
7455 or set current_function_calls_setjmp anymore.
7456
7457 * flow.c (find_basic_blocks): If we delete the label for an
7458 exception handler, remove it from the EH label list and remove
7459 the EH_BEGIN/EH_END notes for that EH region.
7460
7461 Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
7462
7463 * flow.c (find_basic_blocks): Generate correct flow control
7464 information when exception handling notes are present.
7465
7466 Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
7467
7468 * dwarf2out.c (output_call_frame_info): Fix length argument
7469 to ASM_OUTPUT_ASCII.
7470 (output_die, output_pubnames, output_line_info): Likewise.
7471
7472 Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
7473
7474 * version.c: Bump for snapshot.
7475
7476 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
7477 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
7478 flag_debug_asm is on.
7479 (output_die, output_pubnames, output_line_info): Likewise.
7480
7481 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
7482 and static_chain_rtx into the potential base values array if
7483 they are registers.
7484
7485 * alias.c (new_reg_base_value): New array of potential base values.
7486 (unique_id): Now file scoped static.
7487 (find_base_value, case REG): Return the value in reg_base_value
7488 array for the REG if it exists. Else, return the value from
7489 new_reg_base_value if copying args and REG is a hard register.
7490 (find_base_value, case PLUS): If either operand of the PLUS is
7491 a REG, try to get its base value. Handle base + index and
7492 index + base.
7493 (record_set): Use new_reg_base_value instead of reg_base_value.
7494 (init_alias_analysis): Allocate space for new_reg_base_value too.
7495 Rework code to iterate over the insns propagating base value
7496 information until nothing changes.
7497
7498 * global.c (global_alloc): Free the conflict matrix after
7499 reload has finished.
7500
7501 Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
7502
7503 * libgcc2.c (L_eh): Define __eh_pc.
7504 Replace __eh_type with generic pointer __eh_info.
7505
7506 Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
7507
7508 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
7509 use copy_to_reg if address is not a general_operand.
7510
7511 Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7512
7513 * profile.c (output_func_start_profiler): Clear flag_inline_functions
7514 for the duration of the call to rest_of_compilation.
7515
7516 Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
7517
7518 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
7519 Set extra_parts.
7520 (sparc*-*-*): Recognize --with-cpu=v9.
7521 * sparc/elf.h: New file.
7522 * sparc/t-elf: New file.
7523
7524 Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
7525
7526 * mn10300.c (const_8bit_operand): New function.
7527 (mask_ok_for_mem_btst): New funtion.
7528 * mn10300.md (btst patterns with mem operands): Use new functions
7529 to avoid creating btst instructions with invalid operands.
7530
7531 Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
7532
7533 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
7534 are running on PowerPC Linux.
7535
7536 Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
7537
7538 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
7539 if not previously defined.
7540
7541 Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
7542
7543 * function.c (assign_parms): Correct mode of stack_parm if
7544 entry_parm underwent a mode conversion.
7545
7546 1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
7547
7548 * global.c (global_alloc): Use xmalloc instead of alloca for
7549 CONFLICTS, since max_allocno * allocno_row_words alone can be more
7550 than 2.5Mb sometimes.
7551
7552 Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
7553
7554 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
7555 DEST for the spill, adjust mode of SRC to compensate.
7556
7557 Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
7558
7559 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
7560 since any_memory_operand() allows pseudos during reload.
7561 (reload_inhi, reload_outqi, reload_outhi): Likewise.
7562
7563 Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
7564
7565 * m68k.md (btst patterns): Add 5200 support.
7566
7567 Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7568
7569 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
7570 optimizations, look inside dividend to determine if the expression
7571 can be simplified by using EXACT_DIV_EXPR.
7572
7573 Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
7574
7575 From Brendan:
7576 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
7577
7578 Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
7579
7580 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
7581
7582 Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
7583
7584 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
7585 on a CLOBBER.
7586
7587 Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
7588
7589 * alpha.md (movqi, movhi): Make sure new insns created during reload
7590 won't need reloading themselves.
7591 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
7592
7593 Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
7594
7595 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
7596
7597 Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
7598
7599 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
7600 Patch from Klaus Kaempf <kkaempf@progis.de>.
7601
7602 Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
7603
7604 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
7605 to an element in a constant string.
7606
7607 Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
7608
7609 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
7610 bit PC-relative offset. The exception range table pointer is now in
7611 the CIE.
7612 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
7613 (count_fdes, add_fdes, get_cie): Adjust.
7614 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
7615
7616 From H.J. Lu:
7617 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
7618
7619 Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
7620
7621 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
7622 like stack_pointer_rtx.
7623
7624 Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
7625
7626 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
7627 targets using "$@" to provide support for similar but not identical
7628 targets without having to duplicate code.
7629 (bootstrap4): New goal.
7630
7631 * Makefile.in (compare, compare-lean, compare3): Combined to one
7632 ruleset determining actions to be performed via $@.
7633 (compare4, compare4-lean): New targets.
7634 (gnucompare, gnucompare3): Combined to one ruleset determining
7635 actions to be performed via $@. Also, note which files failed
7636 the comparison test in .bad_compare.
7637 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
7638
7639 Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7640
7641 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
7642 if the dividend is a multiple of the divisor.
7643
7644 Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
7645
7646 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
7647
7648 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
7649 and POS_DEC.
7650
7651 * alias.c (true_dependence): Fix typo.
7652
7653 * toplev.c (flag_rerun_loop_opt): New variable.
7654 (f_options): Handle -frerun-loop-opt.
7655 (rest_of_compilation): If -frerun-loop-opt, then run the loop
7656 optimizer twice.
7657 (main): Enable -frerun-loop-opt by default for -O2 or greater.
7658
7659 * loop.c (simplify_giv_expr): Adding two invariants results
7660 in an invariant.
7661
7662 Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
7663
7664 * expr.c (get_inner_reference): Remove the array bias after
7665 converting the index to Pmode.
7666
7667 Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
7668
7669 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
7670 (TARGET_MULT_BUG): Define.
7671 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
7672 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
7673
7674 Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
7675
7676 * mn10200.c (indirect_memory_operand): Delete unused function.
7677 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
7678 * mn10200.md (bset, bclr insns): Handle output in a reg too.
7679
7680 Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
7681
7682 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
7683 the callee's ldgp, we must do it ourselves, and we use the jsr tag
7684 for more than scheduling.
7685
7686 Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
7687
7688 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
7689
7690 Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
7691
7692 * mn10300.c (symbolic_operand, legitimize_address): New functions.
7693 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
7694 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
7695
7696 Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
7697
7698 * version.c: Bump for snapshot.
7699
7700 Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7701
7702 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
7703 for FILENAME.
7704
7705 Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
7706
7707 * toplev.c (flag_exceptions): Default value is 2.
7708 (compile_file): If flag_exceptions still has the value 2, then
7709 set it to 0.
7710
7711 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
7712 (rs6000_save_machine_status): Save pic_offset_table_rtx.
7713 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
7714
7715 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
7716 are shared.
7717
7718 * rs6000.md (*movsi_got_internal_mem): New pattern.
7719 (*movsi_got_internal_mem splitter): New define_split.
7720
7721 Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
7722
7723 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
7724
7725 Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7726
7727 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
7728 only need to save LR.
7729
7730 Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
7731
7732 * mn10300.md (movqi, movhi): Avoid using address registers as
7733 destinations unless absolutely necessary.
7734
7735 * mn10200.c (expand_prologue): Fix typo.
7736
7737 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
7738 addresses.
7739 * mn10200.md (neghi2): Provide an alternative which works if
7740 the input and output register are the same.
7741
7742 * mn10300.c (print_operand): Handle 'S'.
7743 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
7744 shift amount in last alternative
7745
7746 * mn10300.c (expand_epilogue): Rework to handle register restores
7747 in "ret" and "retf" instructions correctly.
7748
7749 Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
7750
7751 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
7752 extzv for memory operands.
7753
7754 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
7755 redundant conditional moves to single operand.
7756
7757 Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
7758
7759 * v850.h: Move define of __v850__ from CPP_PREDEFINES
7760 to CPP_SPEC.
7761
7762 * xm-v850.h: Use __v850 rather than __v850__ to
7763 identify v850 port.
7764
7765 Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
7766
7767 * mips/mips.c (compute_frame_size): Not a leaf function if
7768 profile_flag set.
7769
7770 Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7771
7772 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
7773
7774 Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
7775
7776 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
7777 (DEFAULT_ARCH32_P): New macro.
7778 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
7779 (enum cmodel): Declare.
7780 (sparc_cmodel_string,sparc_cmodel): Declare.
7781 (SPARC_DEFAULT_CMODEL): Provide default.
7782 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
7783 (TARGET_FULLANY): Deleted.
7784 (TARGET_CM_MEDMID): New macro.
7785 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
7786 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7787 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
7788 (CPP_SPEC): Rewrite.
7789 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7790 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
7791 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7792 (ASM_SPEC): Add %(asm_arch).
7793 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
7794 Rename asm_default to asm_cpu_default.
7795 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
7796 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
7797 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
7798 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
7799 (MASK_INT64,MASK_LONG64): Delete.
7800 (MASK_ARCH64): Renamed to MASK_64BIT.
7801 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
7802 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
7803 (TARGET_SWITCHES): Always provide 64 bit options.
7804 (ARCH64_SWITCHES): Delete.
7805 (TARGET_OPTIONS): New option -mcmodel=.
7806 (INT_TYPE_SIZE): Always 32.
7807 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
7808 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
7809 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
7810 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
7811 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
7812 CPP_SPEC.
7813 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7814 * sparc/linux.h: Likewise.
7815 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
7816 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7817 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
7818 (SPARC_DEFAULT_CMODEL): Define.
7819 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7820 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7821 (LONG_DOUBLE_TYPE_SIZE): Define.
7822 (ASM_SPEC): Add %(asm_arch).
7823 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7824 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7825 (TARGET_CPU_DEFAULT): Add ultrasparc case.
7826 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
7827 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
7828 (SPARC_DEFAULT_CMODEL): Define.
7829 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
7830 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
7831 MASK_LONG64, MASK_MEDANY.
7832 (SPARC_DEFAULT_CMODEL): Define.
7833 (CPP_PREDEFINES): Delete.
7834 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7835 (ASM_SPEC): Add %(asm_arch).
7836 (LONG_DOUBLE_TYPE_SIZE): Define.
7837 (DWARF2_DEBUGGING_INFO): Define.
7838 * sparc/splet.h (CPP_SPEC): Delete.
7839 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7840 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
7841 (BLOCK_PROFILER): Likewise.
7842 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
7843 (sparc_override_options): Handle code model selection.
7844 (sparc_init_expanders): Renamed from sparc64_init_expanders.
7845 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
7846 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
7847 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
7848 (sethi_di_fullany): Delete.
7849
7850 Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
7851 Jeff Law <law@cygnus.com>
7852 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7853
7854 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
7855 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
7856 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
7857 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
7858 * alpha/alpha.md (arg_home): Likewise.
7859
7860 * alpha/alpha.c (vmskrunch): Delete
7861 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
7862 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
7863 truncate to 64 characters.
7864
7865 * make-l2.com: Support openVMS/Alpha.
7866
7867 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
7868
7869 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7870
7871 * longlong.h (count_leading_zeros): Add missing casts to USItype.
7872
7873 Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
7874
7875 * i386/bsd386.h (ASM_COMMENT_START): Define.
7876
7877 Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
7878
7879 * tree.c (restore_tree_status): Also free up temporary storage
7880 when we finish a toplevel function.
7881 (dump_tree_statistics): Print stats for backend obstacks.
7882
7883 Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
7884
7885 * expr.c (use_group_regs): Don't call use_reg for MEMs.
7886
7887 Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
7888
7889 * libgcc2.c (__throw): Don't copy the return address.
7890 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
7891
7892 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
7893 * toplev.c (main): Initialize exceptions_via_longjmp.
7894
7895 * tree.c: Add extra_inline_obstacks.
7896 (save_tree_status): Use it.
7897 (restore_tree_status): If this is a toplevel inline obstack and we
7898 didn't want to save anything on it, recycle it.
7899 (print_inline_obstack_statistics): New fn.
7900 * function.c (pop_function_context_from): Pass context to
7901 restore_tree_status.
7902 * obstack.h (obstack_empty_p): New macro.
7903
7904 Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
7905
7906 * i386/freebsd.h (ASM_COMMENT_START): Fix.
7907
7908 Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
7909
7910 * v850.c (ep_memory_offset): New function.
7911 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
7912
7913 * v850.h (CONST_OK_FOR_*): Add and correct comments.
7914 (CONSTANT_ADDRESS_P): Add comment.
7915 (EXTRA_CONSTRAINT): Define 'U'.
7916 * v850.md: Add comments on bit field instructions.
7917 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
7918 (lshrsi3): Use N not J constraint.
7919
7920 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
7921
7922 * v850.c (reg_or_0_operand): Call register_operand.
7923 (reg_or_int5_operand): Likewise.
7924 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
7925 (TARGET_SWITCHES): Add "big-switch".
7926 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
7927 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
7928 (CASE_DROPS_THROUGH): Comment out.
7929 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
7930 * v850.md (cmpsi): Delete compare mode.
7931 (casesi): New pattern.
7932
7933 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
7934 * v850.md (ashlsi3): Use SImode not QImode for shift count.
7935 (lshrsi3): Likewise.
7936
7937 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
7938 unreachable switch statement after 'b' support. Remove "b" from
7939 strings for 'b' support.
7940 * v850.md (branch_normal, branch_invert): Change %b to b%b.
7941
7942 Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
7943
7944 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
7945 empty line if @inhibit_libc@ is empty.
7946
7947 Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
7948
7949 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
7950 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
7951 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7952 (DWARF2_UNWIND_INFO): Let this track object file format.
7953 (EXTRA_SECTIONS): Add in_eh.
7954 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
7955 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7956
7957 Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
7958
7959 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
7960 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
7961 TARGET_MEDANY.
7962 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
7963 (output_double_int): Output DI mode values correctly when
7964 HOST_BITS_PER_WIDE_INT is 64.
7965 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
7966 fmovd so it works if a quad float ends up in one of the upper 32
7967 float regs.
7968 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
7969 necessary for PIC support on sparc64.
7970
7971 Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
7972
7973 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
7974 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
7975 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
7976 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
7977 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
7978 (SPARC_FP_ARG_FIRST): New macro.
7979 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
7980 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
7981 (NPARM_REGS): There are 32 fp argument registers now.
7982 (FUNCTION_ARG_REGNO_P): Likewise.
7983 (FIRST_PARM_OFFSET): Update to new v9 abi.
7984 (REG_PARM_STACK_SPACE): Define for arch64.
7985 (enum sparc_arg_class): Delete.
7986 (sparc_arg_count,sparc_n_named_args): Delete.
7987 (struct sparc_args): Redefine and use for arch32 as well as arch64.
7988 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
7989 (FUNCTION_ARG_ADVANCE): Rewrite.
7990 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
7991 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
7992 (FUNCTION_ARG_CALLEE_COPIES): Delete.
7993 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
7994 (STRICT_ARGUMENT_NAMING): Define.
7995 (doublemove_string): Declare.
7996 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
7997 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
7998 (doublemove_string): New function.
7999 (output_move_quad): Clean up some of the arch64 support.
8000 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
8001 Don't add 8 bytes of reserved space if arch64.
8002 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
8003 (init_cumulative_args): New function.
8004 (function_arg_slotno): New static function.
8005 (function_arg,function_arg_partial_nregs): New functions.
8006 (function_arg_{pass_by_reference,advance}): New functions.
8007 (function_arg_padding): New function.
8008 * ginclude/va-sparc.h: Rewrite v9 support.
8009
8010 Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
8011
8012 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
8013 for hard regs to determine base and index registers.
8014
8015 * reload.c (debug_reload_to_stream): New function. Specify stream
8016 into which to write debug info.
8017 (debug_reload): Modify to call debug_reload_to_stream with stderr.
8018
8019 Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
8020
8021 * combine.c (can_combine_p): Don't combine with an asm whose
8022 output is a hard register.
8023
8024 Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
8025
8026 * c-decl.c (start_struct): Ensure that structs with forward
8027 declarations are in fact packed when -fpack-struct is given.
8028
8029 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
8030 we are packing a structure. This allows a structure with only
8031 bytes to be aligned on a byte boundary and have no padding on a
8032 m68k.
8033
8034 Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8035
8036 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
8037
8038 Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
8039
8040 * alpha.c (alpha_return_addr_rtx): New variable.
8041 (alpha_save_machine_status): New; save it.
8042 (alpha_restore_machine_status): New; restore it.
8043 (alpha_init_expanders): New; clear it.
8044 (alpha_return_addr): New; set it.
8045 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
8046 is overly conservative, so search the insns explicitly.
8047 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
8048 (alpha_sa_size [VMS && !VMS]): Likewise.
8049 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
8050 (INIT_EXPANDERS): New definition.
8051
8052 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
8053 (output_prolog [!VMS]): Use them.
8054
8055 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
8056 (alpha_does_function_need_gp): ... a new function. Refine the
8057 CALL_INSN test to just TYPE_JSR.
8058 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
8059
8060 Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
8061
8062 * version.c: Bump for snapshot.
8063
8064 Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8065
8066 * pa.c (move_operand): Respect -mdisable-indexing.
8067 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
8068
8069 Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
8070
8071 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
8072 PPC601.
8073 (umulsidi3,umulsi3_highpart): Ditto.
8074 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
8075
8076 Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
8077
8078 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
8079 (alpha_handle_trap_shadows): ... a new function. Handle the entire
8080 function in one go. Emit RTL for trapb, instead of printf directly.
8081 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
8082 (trap_pending): Kill global variable.
8083 (output_epilog): Don't call final_prescan_insn.
8084 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
8085 * alpha.h (FINAL_PRESCAN_INSN): Remove.
8086 (MACHINE_DEPENENT_REORG): Define.
8087 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
8088 (trapb): New insn.
8089
8090 Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
8091
8092 Tune Haifa scheduler for Alpha:
8093 * alpha.h (ISSUE_RATE): Define.
8094 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
8095 EV4 adjustments to EV5.
8096 * alpha.md: Remove all scaling from function unit delays. Rework
8097 EV5 function units to match the CPU.
8098 (umuldi3_highpart): EV5 added the IMULH insn class.
8099
8100 Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
8101
8102 * pa.c (following_call): Fail if the CALL_INSN is an indirect
8103 call.
8104
8105 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
8106
8107 * cplus-dem.c (demangle_signature): Don't look for return types on
8108 constructors. Handle member template constructors.
8109
8110 Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
8111
8112 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
8113 * tree.h: Declare them.
8114
8115 Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
8116
8117 * configure.in: Handle --with-newlib.
8118 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
8119
8120 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
8121
8122 Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
8123
8124 * config/ptx4.h: Fix typo.
8125
8126 Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
8127
8128 * version.c: Bump for snapshot.
8129
8130 Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
8131
8132 * aclocal.m4: Substitute INSTALL.
8133 * configure: Re-built.
8134
8135 Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
8136
8137 * integrate.c (save_for_inline_copying): Avoid undefined pointer
8138 operations.
8139 (expand_inline_function): Likewise.
8140
8141 * dwarf2out.c (output_call_frame_info): Reinstate last change
8142 using flag_debug_asm check instead of flag_verbose_asm.
8143
8144 Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
8145
8146 * dwarf2out.c (output_call_frame_info): Remove last change.
8147
8148 1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8149
8150 * frame.c (__frame_state_for): Execute the FDE insns until the
8151 current pc value is strictly bigger than the target pc value.
8152
8153 Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
8154
8155 * regclass.c (init_reg_modes): If we can't find a mode for the
8156 register, use the previous one.
8157
8158 Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
8159
8160 * haifa-sched.c (print_block_visualization): Call fprintf directly,
8161 don't sprintf through an alloca'ed buffer.
8162
8163 Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
8164
8165 * reload.c (decompose): Always initialize val.base.
8166
8167 Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
8168
8169 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
8170 instead of aborting.
8171 * dwarf2out.c (output_call_frame_info): Call app_enable and
8172 app_disable to let GNU as accept the generated comments.
8173
8174 Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
8175
8176 * tree.h (get_file_function_name): Add declaration.
8177 * dwarf2out.c (output_call_frame_info): No need to cast
8178 get_file_function_name call anymore.
8179 * profile.c (toplevel): Remove get_file_function_name
8180 declaration.
8181 * c-lang.c (finish_file): Ditto.
8182
8183 Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
8184
8185 * Makefile.in (program_transform_name): Let autoconf substitute
8186 the correct value.
8187
8188 Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
8189
8190 * haifa-sched.c (schedule_block): If the first real insn in a
8191 block has any special notes attached to it, remove them.
8192
8193 Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
8194
8195 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
8196
8197 Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
8198
8199 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
8200
8201 Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
8202
8203 * Makefile.in (check-g77): New test target.
8204 (CHECK-TARGETS): Add check-g77.
8205
8206 Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
8207
8208 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
8209
8210 Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
8211
8212 * flow.c (print_rtl_with_bb): Cast alloca return value for
8213 in_bb_p.
8214
8215 Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
8216
8217 * i386.h (RETURN_ADDR_RTX): New definition that works for
8218 __builtin_return_address(0) and -fomit-frame-pointer.
8219
8220 Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
8221
8222 Bring over from FSF.
8223 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
8224
8225 * mips.c (function_arg): Handle passing a struct
8226 containing a double in a DFmode register without the PARALLEL.
8227
8228 Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
8229
8230 * pexecute.c: Use spawn if __CYGWIN32__.
8231
8232 * pexecute.c: Include "config.h" first, as per autoconf manual
8233 (from Paul Eggert <eggert@twinsun.com>).
8234
8235 Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8236
8237 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
8238 optimisation for f/expr.o and f/stb.o.
8239
8240 Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
8241
8242 * cse.c (this_insn_cc0_mode): Initialize.
8243
8244 Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
8245
8246 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
8247
8248 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
8249
8250 Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
8251
8252 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
8253 that pair will dual-issue on the 21164 and plus+beq won't.
8254 (bne): Likewise for cmpeq+beq.
8255
8256 Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
8257
8258 * except.c (find_exception_handler_labels): Correct argument to free.
8259
8260 Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
8261
8262 * except.c (find_exception_handler_labels): Free LABELS when we're
8263 done.
8264
8265 Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
8266
8267 * version.c: Bump for snapshot.
8268
8269 Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
8270
8271 * flow.c (find_basic_blocks): Mark calls as potentially jumping
8272 to the EH labels.
8273
8274 Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
8275
8276 * configure.in: Substitute for "install" too.
8277 * configure: Rebuilt.
8278
8279 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
8280
8281 * Makefile.in (bootstrap-lean, compare-lean): New targets.
8282
8283 Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
8284
8285 * alias.c (base_alias_check): Two symbols can conflict if they
8286 are accessed via AND.
8287 (memrefs_conflict_p): Likewise.
8288
8289 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
8290 after flushing argument registers to the stack.
8291
8292 * Makefile.in (mostlyclean): Remove .regmove files.
8293
8294 Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8295
8296 * libgcc2.c (__throw): Fix thinko.
8297
8298 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
8299
8300 * cplus-dem.c (demangle_template): Add new parameter. Handle new
8301 template-function mangling.
8302 (consume_count_with_underscores): New function.
8303 (demangle_signature): Handle new name-mangling scheme.
8304
8305 Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8306
8307 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
8308 start and end.
8309
8310 Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
8311
8312 * frame.c: Remove last change.
8313 * dwarf2.h: Remove last change.
8314 * tree.h: Add declarations of DWARF2 unwind info support
8315 functions.
8316
8317 Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8318
8319 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
8320 * tree.h (built_in_function): Likewise.
8321 * expr.c (expand_builtin): Likewise.
8322 * except.h: Likewise.
8323 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
8324 * libgcc2.c (copy_reg): New fn.
8325 (__throw): Use it.
8326
8327 Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
8328
8329 * c-typeck.c (build_binary_op): Warn about comparing signed vs
8330 unsigned if -W is specified and -Wno-sign-compare is not.
8331 * c-decl.c (warn_sign_compare): Initialize to -1.
8332 (c_decode_option): -Wall no longer implies -Wsign-compare.
8333
8334 Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8335
8336 * frame.c: Include gansidecl.h for PROTO.
8337 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
8338 defined. Don't declare dwarf2out_cfi_label here.
8339 * dwarf2.h: Add declarations of DWARF2 unwind info support
8340 functions.
8341 * m68k.c: Include dwarf2.h.
8342 (output_function_prologue): Add dwarf2 support.
8343 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
8344 (INCOMING_FRAME_SP_OFFSET): Likewise.
8345
8346 * integrate.c (expand_inline_function): Make sure there is at
8347 least one insn that can be used as an insertion point.
8348
8349 Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
8350
8351 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
8352
8353 Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
8354
8355 * version.c: Bump for snapshot.
8356
8357 Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
8358
8359 Bring over from FSF.
8360
8361 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
8362
8363 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
8364 (get_pc_via_rdpc): Renamed from get_pc_sp64.
8365 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
8366
8367 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
8368
8369 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
8370 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
8371 -malign-functions=.
8372 (sparc_align_{loops,jumps,funcs}_string): Declare.
8373 (sparc_align_{loops,jumps,funcs}): Declare.
8374 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
8375 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
8376 (STACK_BIAS): Define.
8377 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
8378 test.
8379 (SPARC_SETHI_P): New macro.
8380 (CONST_OK_FOR_LETTER_P): Use it.
8381 (ASM_OUTPUT_ALIGN_CODE): Define.
8382 (ASM_OUTPUT_LOOP_ALIGN): Define.
8383 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
8384 (sparc_align_{loops,jumps,funcs}): New globals.
8385 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
8386 -malign-functions=.
8387 (move_operand): Use SPARC_SETHI_P.
8388 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
8389 perform test.
8390 (arith11_double_operand): Likewise.
8391 (arith10_double_operand): Likewise.
8392 (finalize_pic): Finish sparc64 support.
8393 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
8394 64 bit constants if able.
8395 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
8396 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
8397 ! TARGET_FPU.
8398 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
8399 (get_pc_sp32): Use for sparc64 as well.
8400 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
8401 (sethi_di_sp64_const): Likewise.
8402 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
8403 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
8404 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
8405
8406 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
8407
8408 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
8409 * sparc/linux.h (COMMENT_BEGIN): Likewise.
8410 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
8411
8412 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
8413
8414 Add sparc64 linux support.
8415 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
8416 to xm_file list on 32-bit sparc-linux.
8417 * sparc/xm-sp64.h: New file.
8418 * sparc/linux64.h: New file.
8419 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
8420 Don't include xm-sparc.h.
8421 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
8422 * glimits.h (LONG_MAX): Handle sparc64.
8423
8424 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
8425
8426 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
8427 * sparc.h (ASM_COMMENT_START): Define.
8428 * sparc.c (output_function_prologue): Use it.
8429 (sparc_flat_output_function_{epi,pro}logue): Likewise.
8430
8431 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
8432
8433 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
8434 use sparc.h's copies.
8435 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
8436 ascii form as well.
8437
8438 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8439
8440 * sparc.c (dwarf2out_cfi_label): Add declaration.
8441 (save_regs, output_function_prologue): Remove cast for it.
8442 (sparc_flat_{save_restore,output_function_prologue): Likewise.
8443 ({save,restore}_regs): No longer inline.
8444
8445 Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8446
8447 * fold-const.c (make_range): Correctly handle cases of converting
8448 from unsigned to signed type.
8449
8450 Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8451
8452 * fold-const.c (merge_ranges): Make sure that if one range is subset
8453 of another, it will always be the second range. Correct (+,-) case to
8454 account for this.
8455
8456 Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
8457
8458 * final.c (final_end_function): Also do dwarf2 thing if
8459 DWARF2_DEBUGGING_INFO.
8460 (final_start_function): Likewise.
8461
8462 Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
8463
8464 * expmed.c (expand_divmod): If compute_mode is not the same as
8465 mode, handle the case where convert_modes() causes op1 to no
8466 longer be a CONST_INT.
8467
8468 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
8469 note holding get_jump_flags() calculation to all JUMP_INSNs.
8470 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
8471 * rtl.c (reg_note_name): Add new note types.
8472
8473 Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
8474
8475 * rtlanal.c (computed_jump_p): Fix typo in last change.
8476
8477 Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8478
8479 * loop.c (indirect_jump_in_function_p): Return 0
8480 by default.
8481
8482 Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
8483
8484 * rs6000/xm-rs6000.h: Fix thinko in last change.
8485 * rs6000/xm-sysv4.h: Likewise.
8486
8487 Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
8488
8489 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
8490
8491 Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
8492
8493 * reg-stack.c (find_blocks): Fix thinko in last change.
8494
8495 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8496
8497 * m68k.c (output_function_prologue): Add dwarf2 support.
8498
8499 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
8500 INCOMING_FRAME_SP_OFFSET): New definitions.
8501
8502 Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
8503
8504 * combine.c (try_combine): Use NULL_RTX instead of '0' where
8505 appropriate in calls to gen_rtx().
8506 * cse.c (cse_main): Likewise.
8507 * emit-rtl.c (gen_label_rtx): Likewise.
8508 * expr.c (init_expr_once): Likewise.
8509 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
8510 sched_analyze, init_rgn_data_dependences,
8511 compute_block_backward_dependences): Likewise.
8512 * sched.c (schedule_insns): Likewise.
8513 * varasm.c (immed_double_const): Likewise.
8514
8515 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
8516 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
8517
8518 Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
8519
8520 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
8521 (MULTILIB_DEFAULTS): Define.
8522 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
8523 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
8524 (LIBGCC_SPEC): Likewise.
8525 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
8526 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
8527 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
8528 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
8529 (EXTRA_PARTS, TAROUTOPTS): Delete.
8530 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
8531 (MULTILIB_OPTIONS): Define.
8532 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
8533 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
8534
8535 Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
8536
8537 * version.c: Bump for snapshot.
8538
8539 Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
8540
8541 * loop.c (loop_number): Delete function. Change all references
8542 to use uid_loop_num array.
8543 * loop.h (loop_number): Delete declaration.
8544 * unroll.c (unroll_loop): Change "loop_number" references to
8545 use uid_loop_num instead.
8546
8547 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
8548 conditional.
8549 (loop_unroll_iter): Remove unused variable and all references.
8550 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
8551 (insert_bct): Fix minor formatting problems.
8552 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
8553 (loop_unroll_iter): Removed unused decl.
8554 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
8555 Always record the unrolling factor.
8556
8557 * cse.c (simplify_relational_operation): Set h0u just like h0s.
8558 Similarly for h1u and h1s.
8559
8560 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
8561 (find_basic_blocks): Use computed_jump_p to determine if a
8562 particular JUMP_INSN is a computed jump.
8563 * reg-stack.c (find_blocks): Use computed_jump_p to determine
8564 if a particular JUMP_INSN is a computed jump.
8565 * rtlanal.c (jmp_uses_reg_or_mem): New function.
8566 (computed_jump_p): Likewise.
8567 * rtl.h (computed_jump_p): Declare.
8568 * genattrtab.c (pc_rtx): Define and initialize.
8569 * loop.c (loop_optimize): Always determine if the current
8570 function has a computed jump.
8571 (indirect_jump_in_function_p): Use computed_jump_p to determine
8572 if a particular JUMP_INSN is a computed jump.
8573
8574 * loop.c (fix_bct_param): Delete unused function.
8575 (check_bct_param): Likewise.
8576
8577 Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
8578
8579 * frame.c (__deregister_frame): Check properly for initialized object.
8580
8581 Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8582
8583 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
8584
8585 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8586
8587 * jump.c (thread_jumps): check can_reverse_comparison_p before
8588 threading a reversed-condition jump.
8589
8590 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
8591 * haifa-sched.c (update_flow_info): Likewise.
8592
8593 Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
8594
8595 * Makefile.in (BOOT_CFLAGS): Use -O2.
8596
8597 * configure.in (strtoul, bsearch): Have autoconf check for these
8598 functions.
8599 * configure, config.in: Rebuilt.
8600
8601 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
8602 * mips/mips.h (alloca): Likewise.
8603 * rs6000/xm-rs6000.h (alloca): Likewise.
8604 * rs6000/xm-sysv4.h: Likewise.
8605
8606 Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
8607
8608 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
8609 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
8610 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
8611
8612 * except.c (end_eh_unwinder): Subtract 1 from return address.
8613 * libgcc2.c (__throw): Likewise.
8614 (find_exception_handler): Don't change PC here. Compare end with >.
8615
8616 Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
8617
8618 * v850.c (compute_register_save_size): Correct register
8619 number.
8620 * v850.md (save_interrupt, return_interrupt): Correct
8621 register number.
8622 * v850/lib1funcs.asm (save_interrupt): Correct register number.
8623 (return_interrupt): Use stack pointer, not element pointer.
8624
8625 1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
8626
8627 * configure.in, configure: Make sure to create the stage* and include
8628 symbolic links in each subdirectory.
8629
8630 Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
8631
8632 * pa.md (reload_peepholes): Don't allow addresses with side
8633 effects for the memory operand.
8634
8635 Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
8636
8637 * libgcc2.c (find_exception_handler): Subtract one from our PC when
8638 looking for a handler, to avoid hitting the beginning of the next
8639 region.
8640
8641 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
8642
8643 Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
8644
8645 * mips/abi64.h (LONG_MAX_SPEC): Define.
8646 * mips.h (LONG_MAX_SPEC): Define.
8647 (CPP_SPEC): Include long_max_spec.
8648 (EXTRA_SPECS): Include long_max_spec.
8649
8650 Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
8651
8652 * v850.c (construct_save_jarl): Fix thinko in last change.
8653
8654 Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
8655
8656 * version.c: Bump for snapshot.
8657
8658 Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
8659
8660 * libgcc2.c (find_exception_handler): Not found is -1.
8661
8662 * integrate.c (expand_inline_function): Move expand_start_bindings
8663 after expanding the arguments.
8664
8665 Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
8666
8667 * expr.c (expand_expr): Remove previous incorrect change.
8668 If target and slot has no DECL_RTL, then call mark_addressable
8669 again for the slot after we give it RTL.
8670
8671 Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
8672
8673 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
8674 again for the slot after we give it RTL.
8675
8676 Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
8677
8678 * v850.c (register_is_ok_for_epilogue,
8679 pattern_is_ok_for_epilogue, construct_restore_jr,
8680 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
8681
8682 * v850.h (pattern_is_ok_for_prologue,
8683 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
8684 predicates.
8685
8686 * v850.md: Replace prologue and epilogue patterns with a
8687 match_parallel pattern.
8688
8689 Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
8690
8691 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
8692 * configure.in: Use EGCS_PROG_INSTALL.
8693
8694 Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
8695
8696 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
8697 extern inline function.
8698
8699 Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
8700
8701 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
8702 (concat_loc_descriptor): New function.
8703 (loc_descriptor): Call it.
8704 (add_AT_location_description): Also elide the descriptor if both
8705 halves of a CONCAT are pseudos.
8706 (add_location_or_const_value_attribute): Recognize CONCAT too.
8707
8708 Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
8709
8710 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
8711
8712 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
8713 out-or-range reg_offset.
8714 (output_epilog): Likewise.
8715
8716 Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
8717
8718 * cse.c (simplify_relational_operation): If MODE specifies a
8719 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
8720 is derived from the sign bit of the low word.
8721
8722 Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8723
8724 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
8725
8726 * dwarf2.h: Add DW_CFA_GNU_args_size.
8727 * frame.c (execute_cfa_insn): Likewise.
8728 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
8729 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
8730 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
8731 insn, hand it off to dwarf2out_stack_adjust.
8732 (dwarf2out_begin_prologue): Initialize args_size.
8733 * frame.h (struct frame_state): Add args_size.
8734 * libgcc2.c (__throw): Use args_size.
8735 * final.c (final_scan_insn): If we push args, hand off all insns
8736 to dwarf2out_frame_debug.
8737 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
8738
8739 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
8740 Handle epilogue restore of SP from FP.
8741 * emit-rtl.c (gen_sequence): Still generate a sequence if the
8742 lone insn has RTX_FRAME_RELATED_P set.
8743
8744 * frame.c (extract_cie_info): Handle "e" augmentation.
8745 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
8746 absence of UNALIGNED_*_ASM_OP.
8747 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
8748 (output_call_frame_info): Use "e" instead of "z" for augmentation.
8749 Don't emit augmentation fields length.
8750 (dwarf2out_do_frame): Move outside of #ifdefs.
8751 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
8752 opcodes.
8753
8754 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
8755 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
8756 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
8757 * sparc/sun4gas.h: New file.
8758 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
8759
8760 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
8761 __register_frame_table and __deregister_frame.
8762
8763 1997-09-15 Brendan Kehoe <brendan@cygnus.com>
8764
8765 * except.c (find_exception_handler_labels): Use xmalloc instead of
8766 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
8767 in some cases.
8768
8769 Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
8770
8771 * Makefile.in: Various changes to build info files
8772 in the object tree rather than the source tree.
8773
8774 Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
8775
8776 * fixinc.math: New file to fix math.h on some systems.
8777 * configure.in (freebsd, netbsd): Use fixinc.math on these
8778 systems.
8779 * configure: Rebuilt.
8780
8781 Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
8782
8783 * regmove.c (regmove_optimize): If we end up moving the
8784 original insn due to lifetime overlaps, make sure to move
8785 REG_NOTES too.
8786
8787 Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
8788
8789 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
8790
8791 Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
8792
8793 * haifa-sched.c (add_branch_dependences): Make each insn in
8794 a SCHED_GROUP_P block explicitly depend on the previous insn.
8795
8796 Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8797
8798 * except.h: Prototype dwarf2 hooks.
8799 * expr.c: Adjust.
8800
8801 Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
8802
8803 * configure.in (native_prefix): Delete.
8804 (mips-dec-netbsd): Don't set prefix.
8805 (*linux*): Don't set prefix.
8806
8807 Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
8808
8809 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
8810 defined. If not defined, include <sys/varargs.h> if
8811 HAVE_SYS_VARARGS_H is defined.
8812 * configure.in: Test for varargs.h and sys/varargs.h.
8813 * configure: Regenerate with autoconf.
8814 * config.in: Regenerate with autoheader.
8815
8816 * cpplib.c (quote_string): Cast first arg of sprintf call
8817 from "unsigned char *" to "char *".
8818 (output_line_command): Ditto.
8819 (macroexpand): Ditto.
8820 (do_line): Cast atoi arg from "unsigned char *" to "char *".
8821
8822 Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
8823
8824 * version.c: Bump for snapshot.
8825
8826 * Makefile.in (compare): Exit with nonzero status if there
8827 are comparison failures. Note which files failed the
8828 comparison test in .bad_compare.
8829
8830 Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8831
8832 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
8833
8834 Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
8835
8836 * Makefile.in (LN, LN_S): New macros, use where appropriate.
8837 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
8838 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
8839 * configure: Regenerated.
8840
8841 Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
8842
8843 * loop.c (strength_reduce): Fix typo.
8844
8845 Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
8846
8847 * m88k/m88k.c (struct option): Rename to struct options.
8848 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
8849 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
8850 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
8851 __DOLPHIN__ or sysV88.
8852
8853 Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
8854
8855 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
8856 create new subreg.
8857
8858 Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
8859
8860 * config.sub: Accept 'amigados' for backward compatability.
8861
8862 Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8863
8864 * Makefile.in (testsuite/site.exp): New target.
8865 (check-gcc, check-g++): Depend on testsuite/site.exp.
8866 Don't stop for failure.
8867
8868 Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
8869
8870 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
8871 if DWARF2_UNWIND_INFO.
8872
8873 Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
8874
8875 Add support for exception handling using DWARF 2 frame unwind info.
8876 Currently works on SPARC and MIPS, and almost on x86.
8877
8878 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
8879 next_stack_level, in_reg_window): Helper fns.
8880 (__throw): Implement for DWARF2_UNWIND_INFO.
8881
8882 * expr.c (expand_builtin): Handle builtins used by __throw.
8883 * tree.h (enum built_in_function): Add builtins used by __throw.
8884 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
8885 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
8886 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
8887 (expand_builtin_extract_return_addr): Likewise.
8888 (expand_builtin_frob_return_addr): Likewise.
8889 (expand_builtin_set_return_addr_reg): Likewise.
8890 (expand_builtin_eh_stub): Likewise.
8891 (expand_builtin_set_eh_regs): Likewise.
8892 (eh_regs): Choose two call-clobbered registers for passing back values.
8893
8894 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
8895 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
8896 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
8897 (stmp-multilib): Likewise.
8898 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
8899
8900 * except.c: #include "defaults.h".
8901 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
8902 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
8903 (register_exception_table_p): New fn.
8904 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
8905 (end_eh_unwinder): Likewise.
8906
8907 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
8908 call __register_frame and __deregister_frame as needed.
8909 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
8910 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
8911 EH_FRAME_SECTION_ASM_OP.
8912 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
8913 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
8914 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
8915
8916 * dwarf2out.c (output_call_frame_info): If no support for
8917 EXCEPTION_SECTION, mark the start of the frame info with a
8918 collectable tag.
8919 * collect2.c (frame_tables): New list.
8920 (is_ctor_dtor): Recognise frame entries.
8921 (scan_prog_file): Likewise.
8922 (main): Pass -fno-exceptions to sub-compile. Also do collection
8923 if there are any frame entries.
8924 (write_c_file_stat): Call __register_frame_table and
8925 __deregister_frame as needed.
8926 (write_c_file_glob): Likewise.
8927
8928 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
8929 Also require unaligned reloc support.
8930 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8931 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
8932 * sparc/sysv4.h: Not here.
8933
8934 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
8935 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
8936 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
8937
8938 * libgcc2.c (L_eh): Reorganize, moving code shared by different
8939 EH implementations to the top.
8940 (find_exception_handler): Split out. Start from 0. Compare against
8941 end with >=.
8942 (__find_first_exception_table_match): Use it.
8943 * except.c (output_exception_table): Don't do anything if there's
8944 no table. Don't output a first entry of zeroes.
8945 (eh_outer_context): Adjust properly.
8946 (add_eh_table_entry): Use xrealloc.
8947 * toplev.c (compile_file): Just call output_exception_table.
8948
8949 Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
8950
8951 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
8952
8953 Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
8954
8955 * except.c (eh_outer_context): Do masking using expand_and.
8956
8957 Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
8958
8959 Add port done awhile ago for the ARC cpu.
8960 * arc/arc.h: New file.
8961 * arc/arc.c: New file.
8962 * arc/arc.md: New file.
8963 * arc/initfini.c: New file.
8964 * arc/lib1funcs.asm: New file.
8965 * arc/t-arc: New file.
8966 * arc/xm-arc.h: New file.
8967 * ginclude/va-arc.h: New file.
8968 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
8969 * ginclude/varargs.h: Likewise.
8970 * Makefile.in (USER_H): Add va-arc.h.
8971 * configure.in (arc-*-elf*): Recognize.
8972 * longlong.h: Add ARC support.
8973
8974 Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
8975
8976 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
8977 when clearing non-BLKmode data.
8978
8979 Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
8980
8981 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
8982 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
8983
8984 * xm-m88k.h (USG): Only define if it hasn't already been defined.
8985
8986 * Makefile.in (risky-stage1): Delete gratutious whitespace.
8987
8988 * Makefile.in (clean): Delete libgcc1-test.
8989
8990 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
8991
8992 Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
8993
8994 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
8995 template.
8996
8997 Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8998
8999 * dwarf2out.c (output_call_frame_info): Call named_section.
9000
9001 Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
9002
9003 * haifa-sched.c (print_value): Fix last change.
9004
9005 Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
9006
9007 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
9008 write_symbols.
9009
9010 Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
9011
9012 * mips.c (function_prologue): Set up the CFA when ABI_32.
9013
9014 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
9015 for dwarf2 unwind info.
9016 (output_function_prologue, sparc_flat_output_function_prologue): Same.
9017
9018 * final.c (final_end_function): Check dwarf2out_do_frame instead
9019 of DWARF2_DEBUG for dwarf2 unwind info.
9020 (final_scan_insn): Likewise.
9021 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
9022 (final): Not here.
9023
9024 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
9025 count > 0.
9026
9027 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
9028
9029 Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
9030
9031 * v850.h (ASM_SPEC): Pass on target processor.
9032 (CPP_PREDEFINES): Only define if not already specified.
9033 (TARGET_VERSION): Only define if not already specified.
9034 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
9035 processor.
9036 (EXTRA_SWITCHES): Extra entries in the switches array.
9037 (TARGET_DEFAULT): Set default target processor.
9038
9039 Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
9040
9041 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
9042 cases, add %# and %/, and add : to make them into extended asms.
9043
9044 Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
9045
9046 * alias.c (init_alias_analysis): Clean up incompatible pointer
9047 type warning in bzero.
9048 * regmove.c (regmove_optimize): Ditto.
9049 * haifa-sched.c (find_rgns): Ditto.
9050
9051 * haifa-sched.c (print_value): Clean up ptr->int cast
9052 warnings.
9053
9054 Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
9055
9056 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
9057 * install.texi (Configurations): Ditto.
9058 * config.sub: Ditto.
9059
9060 Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
9061
9062 * Makefile.in (sdbout.o): Depend on insn-config.h.
9063
9064 Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
9065
9066 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
9067 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
9068
9069 Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
9070
9071 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
9072 prologue insn, only the first elt is significant.
9073 (output_call_frame_info): For exception handling, always use 4-byte
9074 fields as specified by the dwarf2 spec.
9075 Don't skip trivial FDEs.
9076
9077 Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
9078
9079 * version.c: Bump for snapshot.
9080
9081 Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
9082
9083 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
9084 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
9085 when op1_is_pow2.
9086
9087 Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
9088
9089 * final.c (shorten_branches): During first pass, assume worst
9090 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
9091
9092 * Makefile.in (distclean): Remove various things left around
9093 by running the testsuite.
9094
9095 Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
9096
9097 * configure.in (out_file): Emit definition to config.status in order
9098 to have a defined value for configure.lang.
9099 * configure: Re-built.
9100
9101 Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
9102
9103 * configure.in: Make symlink to as-new rather than as.new. Similarly
9104 for ld-new.
9105 * configure: Rebuilt.
9106
9107 Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
9108
9109 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
9110
9111 Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
9112
9113 * sparc/sparc.md: Add ultrasparc scheduling support.
9114 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
9115
9116 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
9117
9118 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
9119 as initial value for real_label_map.
9120 (copy_for_inline): Likewise.
9121
9122 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9123
9124 * sched.c (update_flow_info) When looking if to set found_split_dest
9125 or found_orig_dest, look at all parts of a PARALLEL.
9126 * haifa-sched.c (update_flow_info): Likewise.
9127
9128 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
9129
9130 * v850: New directory for v850 port.
9131 * v850/lib1funcs.asm: New file.
9132 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
9133 * ginclude/va-v850.h: New file.
9134 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
9135 * configure.in (mn10200-*-*): New target.
9136 * configure: Rebuilt.
9137 * config.sub: Handle v850-elf.
9138 * Makefile.in (USER_H): Add va-mn10200.h.
9139 * invoke.texi: Document v850 stuff.
9140
9141 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
9142
9143 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
9144 has integer TYPE_{MAX,MIN}_VALUE before using them.
9145
9146 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
9147 __HPUX_ASM__ versions.
9148
9149 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
9150
9151 * install.sh: Delete duplicate install script.
9152
9153 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
9154
9155 * reg-stack.c (subst_stack_regs): Pop the stack register for a
9156 computed goto which sets the same stack register.
9157
9158 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
9159 destination are both on the regstack.
9160 (subst_stack_regs_pat): Put the destination at the top of the regstack.
9161
9162 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
9163
9164 * mips.md (nonlocal_goto_receiver): Define.
9165
9166 * profile.c (output_arc_profiler): Check next_insert_after for non
9167 NULL before deferencing it.
9168
9169 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
9170
9171 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
9172
9173 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
9174
9175 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
9176
9177 * toplev.c (rest_of_compilation): For passes starting with
9178 flow_analysis, use print_rtl_with_bb instead of print_rtl.
9179
9180 * print-rtl.c (print_rtl_single): Print a single rtl value to a
9181 file.
9182
9183 * flow.c (print_rtl_with_bb): Print which insns start and end
9184 basic blocks. For the start of a basic block, also print the live
9185 information.
9186
9187 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
9188
9189 * toplev.c (main): Change #elif to #else/#ifdef
9190
9191 * tlink.c: Include ctype.h.
9192 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
9193
9194 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
9195
9196 * bitmap.c: Conditionally include stdlib.h.
9197 (free): Provide a declaration if NEED_DECLARATION_FREE.
9198
9199 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
9200
9201 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
9202
9203 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
9204
9205 * profile.c (output_arc_profiler): Verify next_insert_after is an
9206 INSN before and after skipping a stack pop.
9207
9208 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9209
9210 * final.c (shorten_branches): Don't count the lengths of deleted
9211 instructions.
9212
9213 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
9214
9215 * version.c: Bump for snapshot.
9216
9217 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
9218
9219 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
9220 two bitmaps ANDed together.
9221 (bitmap_print): Declare.
9222
9223 * bitmap.c (function_obstack): Don't declare any more.
9224 (bitmap_obstack): Obstack for allocating links from.
9225 (bitmap_obstack_init): New static to say whether to initialize
9226 bitmap_obstack.
9227 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
9228 (bitmap_release_memory): Free all memory allocated from
9229 bitmap_obstack.
9230
9231 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
9232 EXECUTE_IF_AND_IN_BITMAP.
9233
9234 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
9235
9236 * alias.c (true_dependence): Address with AND can alias scalars.
9237 (anti_dependence, output_dependence): Likewise.
9238
9239 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
9240
9241 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
9242
9243 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
9244 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
9245 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
9246 definitions. Use -qrtems instead of -mrtems.
9247
9248 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
9249
9250 * xm-sco5.h (sys_siglist): Define.
9251 (SYS_SIGLIST_DECLARED): Likewise.
9252
9253 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
9254
9255 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
9256
9257 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
9258
9259 * except.c (eh_outer_context): Expand masking operation using
9260 expand_binop.
9261
9262 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
9263
9264 * alpha.md (floatdisf2-1): New pattern.
9265
9266 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
9267
9268 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
9269 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
9270 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
9271 * gcc.texi: Note that if you define sys_siglist that you should
9272 also define SYS_SIGLIST_DECLARED.
9273
9274 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
9275 are relative to the next instruction, not the current instruction.
9276
9277 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
9278
9279 * local-alloc.c (contains_replace_regs): New function.
9280 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
9281 verify that there is no existing REG_EQUIV note, and add a call to
9282 contains_place_regs.
9283
9284 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9285
9286 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
9287 (STARTFILE_SPEC): Always use crtbegin.o%s
9288 (ENDFILE_SPEC): Always use crtend.o%s.
9289
9290 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
9291
9292 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
9293 is passed in.
9294 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
9295 SFmode for 64 bit hosts.
9296
9297 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
9298
9299 * fixincludes: Permits spaces between # and define. Discard C++
9300 comments in sys/pci.h on HP/UX 10.20.
9301
9302 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
9303
9304 * version.c: Bump for snapshot.
9305
9306 * pa.c (restore_unscaled_index_insn_codes): New function.
9307 (record_unscaled_index_insn_codes): Likewise.
9308 (output_function_prologue): Call restore_unscaled_index_insn_codes.
9309 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
9310 (pa_reorg): Call record_unscaled_index_insn_codes.
9311
9312 * haifa-sched.c (move_insn): Handle notes correctly for insns
9313 with SCHED_GROUP_P set.
9314
9315 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9316
9317 * alpha/xm-linux.h (USE_BFD): Undef before define.
9318
9319 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
9320
9321 * cse.c (cse_insn): Don't record BLKmode values.
9322
9323 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
9324
9325 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
9326
9327 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
9328
9329 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
9330 * collect2.c (sys_errlist): Likewise.
9331 * cpplib.c (sys_errlist): Likewise.
9332 * gcc.c (sys_errlist): Likewise.
9333 * protoize (sys_errlist): Likewise.
9334 * configure.in: Check for strerror.
9335 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
9336 * xm-gnu.h (HAVE_STRERROR): Likewise.
9337 * xm-linux.h (HAVE_STRERROR): Likewise.
9338 * xm-netbsd.h (HAVE_STRERROR): Likewise.
9339 * xm-bsd386.h (HAVE_STRERROR): Likewise.
9340 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
9341 * xm-dos.h (HAVE_STRERROR): Likewise.
9342 * xm-mingw32.h (HAVE_STRERROR): Likewise.
9343 * xm-pa.h (HAVE_STRERROR): Likewise.
9344 * xm-papro.h (HAVE_STRERROR): Likewise.
9345 * xm-sysv4.h (HAVE_STRERROR): Likewise.
9346 * configure, config.in: Rebuilt.
9347
9348 * Makefile.in: Add several missing "else true" clauses.
9349
9350 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
9351 * mips-tfile.c: Likewise.
9352 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
9353 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
9354 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
9355 * configure.in: Check for sys_siglist declaration.
9356 * configure, config.in: Rebuilt.
9357
9358 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
9359
9360 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
9361 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
9362 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
9363 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
9364 * rs6000/sysv4.h (extra_subtarget_switches): Added new
9365 macro EXTRA_SUBTARGET_SWITCHES.
9366 * configure.in (sh*-*-rtems*): New target.
9367 * sh/rtems.h: New file.
9368 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
9369 * configure: Rebuilt.
9370
9371 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
9372
9373 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
9374
9375 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
9376
9377 * rs6000.md: Make DF fused-add operations pay attention to
9378 -mno-fused-add.
9379
9380 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
9381
9382 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
9383
9384 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
9385
9386 * pa.md (reload_peepholes): Make sure operand is a REG before
9387 examining REGNO. Allow general registers too.
9388
9389 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
9390
9391 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
9392
9393 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
9394
9395 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
9396 to reallocate abbrev_die_table.
9397
9398 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
9399
9400 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
9401
9402 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9403
9404 * Makefile.in (config.status): Depend on version.c
9405
9406 * expr.h (insn_gen_function): Reenable prototype.
9407
9408 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
9409 first parameter.
9410
9411 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
9412
9413 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
9414
9415 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
9416
9417 * version.c: Bump for latest snapshot.
9418
9419 * bc-optab.c: Conditionally include stdlib.h.
9420 (free): Provide a declaration if NEED_DECLARATION_FREE.
9421 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
9422 * rtl.h (free): Remove declaration.
9423 * tree.h (free): Remvoe declaration.
9424
9425 * configure: Rebuilt.
9426
9427 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
9428
9429 * flags.h (flag_move_all_movables): Declare.
9430 (flag_reduce_all_givs): Likewise.
9431 * loop.c (move_movables): Handle flag_move_all_movables.
9432 (strength_reduce): Handle flag_reduce_all_givs.
9433 * toplev.c (flag_move_all_movables): Define.
9434 (flag_reduce_all_givs): Likewise.
9435 (f_options): Add -fmove-all-movables and -freduce-all-givs.
9436 * invoke.texi: Document new options, including alias stuff that
9437 wasn't included last time.
9438
9439 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
9440
9441 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
9442 * t-mn10200: Ditto.
9443 * t-vxsparc: Ditto.
9444 * t-vxworks68: Ditto.
9445 * t-vxworks960: Ditto.
9446 * t-vx29k: Ditto.
9447
9448 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
9449
9450 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
9451 if not already defined, and USE_C_ALLOCA not defined.
9452
9453 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
9454
9455 * config.guess: Replace with script that uses ../config.guess.
9456
9457 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
9458 if USE_GNULIBC_1 is not defined.
9459
9460 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
9461
9462 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
9463 * config.guess: Recognize alpha-linux-gnulibc1.
9464 * configure.in (alpha-*-linux-gnulibc1): New target.
9465 (alpha-*-linux-gnu*): Don't build crtbegin/end.
9466
9467 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
9468
9469 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
9470 last change.
9471
9472 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
9473
9474 * loop.c (combine_movables): Earlier insns don't match later ones.
9475
9476 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9477
9478 * config/linux.h (CC1_SPEC): Define it only if not defined.
9479
9480 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
9481 <linux.h>
9482
9483 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
9484 USE_GNULIBC_1 is not defined.
9485
9486 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
9487
9488 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
9489 as 1 if USE_GNULIBC_1 is not defined.
9490
9491 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
9492
9493 * reorg.c (dbr_schedule): Allow current_function_return_rtx
9494 to be something other than a REG.
9495 * function.c (expand_function_end): Fix current_function_return_rtx
9496 if it was a pseudo.
9497
9498 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
9499 * x-netbsd: Likewise
9500 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
9501 (INSTALL_HEADERS): Delete.
9502 * x-dguxbcs: Likewise.
9503 * x-hp3bsd44: Likewise
9504 * x-pa: Likewise.
9505
9506 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9507
9508 * i386.md (pop): pop increments the stack pointer.
9509 (prologue_set_stack_ptr): New pattern.
9510 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
9511 instead of subsi3.
9512
9513 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
9514
9515 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
9516 address where an offsettable address is required.
9517
9518 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
9519
9520 * loop.c (check_final_value): Don't miss a biv increment in a
9521 parallel.
9522
9523 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
9524
9525 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
9526 TYPE_DECL_IS_STUB instead of DECL_NAME.
9527
9528 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9529
9530 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
9531
9532 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
9533
9534 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
9535
9536 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
9537
9538 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
9539 (find_post_sched_live): Likewise.
9540
9541 * haifa-sched.c (schedule_block): Remove old code to get arguments
9542 from hard regs into pseudos early.
9543
9544 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
9545
9546 * version.c: Bump for new snapshot.
9547
9548 * local-alloc.c (update_equiv_regs): All the target to reject
9549 promotion of some REG_EQUAL to REG_EQUIV notes.
9550 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
9551
9552 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
9553 secondary reloads.
9554
9555 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
9556 store of the argument registers.
9557
9558 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
9559
9560 * fold-const.c (multiple_of_p): New function.
9561 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
9562
9563 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
9564
9565 * expr.h (insn_gen_function): Temporarily remove prototype.
9566
9567 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
9568
9569 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
9570 filenames. Use sed to extract base filename for install.
9571
9572 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
9573
9574 * unroll.c (find_splittable_givs): Only share if two givs have the
9575 same add and multiply values.
9576
9577 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
9578
9579 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
9580 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
9581
9582 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
9583
9584 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
9585 around branch tables.
9586 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
9587 and .end_brtab directives if TARGET_GAS.
9588
9589 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
9590
9591 * alias.c (true_dependence): Pass x_addr not x to varies.
9592
9593 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
9594 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
9595 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
9596 declarations.
9597 * config.in, configure: Regenerate.
9598
9599 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
9600
9601 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
9602 LO_SUM.
9603 (record_set): Handle LO_SUM like PLUS.
9604 (init_alias_analysis): When following chains of base addresses,
9605 do not stop on reaching a hard register.
9606
9607 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
9608
9609 * version.c: Bump for new snapshot.
9610
9611 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
9612
9613 * alpha.h (ARCH_ASM_FILE_START): Define.
9614 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
9615 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
9616
9617 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
9618
9619 * Makefile.in (install-common): Put gcov comment at start of line.
9620
9621 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
9622
9623 * alias.c (init_alias_analysis): When simplifying the reg_base_value
9624 array, simplify entries for hard registers too.
9625
9626 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
9627
9628 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
9629 list.
9630
9631 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
9632
9633 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
9634 block_stack before dereferencing it.
9635
9636 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
9637
9638 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
9639
9640 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
9641
9642 * cplus-dem.c: Add 'extern' to prepends_underscore.
9643
9644 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
9645
9646 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
9647 (get_issue_rate): Delete.
9648 * pa.h (ISSUE_RATE): Define.
9649
9650 * configure.in: Turn on haifa by default for the PA.
9651 * configure: Rebuilt.
9652 * pa.c (override_options): Accept -mschedule=7200 option.
9653 (pa_adjust_cost): No longer need to scale costs for newer
9654 processors.
9655 * pa.h (enum processor_type): Add PROCESSOR_7200.
9656 * pa.md: Revamp scheduling parameters to work better with
9657 haifa. Add scheduling parameters for the 7200.
9658
9659 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
9660 insns too.
9661 (schedule_block): When adjusting basic_block_{head,end}, account
9662 for movement of SCHED_GROUP_P insns too.
9663
9664 * haifa-sched.c (debug_dependencies): Fix thinko.
9665
9666 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
9667 (site.exp, check, check-g++, check-gcc): New targets.
9668
9669 * haifa-sched.c: Make lots of variables static.
9670
9671 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9672
9673 * expr.h, real.h: Finish prototyping.
9674
9675 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
9676
9677 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
9678 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
9679 * reload1.c: Undo bugfix from Aug 11.
9680
9681 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
9682
9683 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
9684 quotes around the name.
9685 * configure: Regenerate.
9686
9687 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
9688
9689 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
9690
9691 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
9692
9693 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
9694 to sub-makes to avoid building more passes than the user might have
9695 requested on the command line.
9696
9697 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
9698
9699 * configure.in: Expurgate `broken_install' (install is
9700 autoconfed).
9701
9702 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
9703 relevant).
9704
9705 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
9706
9707 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
9708 functions and declarations.
9709 (analyze_loop_iterations): Use condjump_p.
9710 (insert_bct): Likewise. Use exact_log2.
9711
9712 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
9713
9714 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
9715 (schedule_region): Likewise.
9716 (schedule_insns): Likewise.
9717
9718 * PROJECTS: Update with Haifa stuff.
9719
9720 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
9721
9722 * version.c: Change the version string to look like:
9723 egcs-2.90.00 970814 (gcc2-970802 experimental).
9724
9725 * loop.c (is_conditional_branch): Make definition match declaration.
9726
9727 * gcc.c: Take out experimental snapshot warning message.
9728
9729 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
9730
9731 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
9732 print out the names of the notes. Print out the name of the insn
9733 that is not a note, and not an {,CALL_,JUMP_}INSN.
9734
9735 Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
9736
9737 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
9738 again for the slot after we give it RTL.
9739
9740 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
9741
9742 * configure.in (haifa configury): Fix typo.
9743 * configure: Regenerate.
9744
9745 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
9746
9747 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
9748
9749 * gcc.info*: Rebuilt.
9750
9751 * COPYING.g77, README.g77: New files.
9752 * real.c (ereal_unto_float, ereal_unto_double): New functions.
9753 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
9754 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
9755
9756 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
9757
9758 * Integrate Haifa instruction scheduler.
9759 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
9760 to sched with $(SCHED_CFLAGS.
9761 * configure.in: Handle --enable-haifa.
9762 * configure: Rebuilt.
9763 * flags.h: Add new flags for haifa instruction scheduler.
9764 * genattrtab.c (expand_units): For haifa, don't subtract one
9765 when computing blockage.
9766 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
9767 (flag_schedule_speculative): Ditto.
9768 (flag_schedule_speculative_load): Ditto.
9769 (flag_schedule_speculative_load_dangerous): Ditto.
9770 (flag_schedule_reverse_before_reload): Ditto.
9771 (flag_schedule_reverse_after_reload): Ditto.
9772 (flag_branch_on_count_reg): Ditto.
9773 (f_options): Add Haifa switches.
9774 (main): Turn off some Haifa options if appropriate macro is
9775 defined. Process Haifa switches.
9776 * unroll.c (iteration_info): No longer static, since Haifa
9777 scheduler uses it.
9778 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
9779 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
9780 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
9781 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
9782 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
9783 storage for the Haifa scheduler.
9784 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
9785 LABEL_NEXTREF.
9786 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
9787 are defined, call analyze_loop_iterations and insert_bct to use
9788 countdown loops.
9789 (record_giv): Refine test for jumps out of loops if HAIFA is
9790 defined.
9791 (analyze_loop_iterations): New function to identify if we can use
9792 a countdown loop.
9793 (insert_bct): Insert countdown loop.
9794 (instrument_loop_bct): Low level code to insert countdown loop.
9795 (loop_number): Calculate UID of loop.
9796 (indirect_jump_in_function_p): Return true if an indirect jump is
9797 in the function.
9798 (is_power_of_2): Return true if value is a power of 2.
9799 (is_conditional_branch): Return true if insn is a conditional
9800 jump.
9801 (fix_bct_param): Process -fbct-{min,max}-N switches.
9802 (check_bct_param): Return true if loop should be instrumented.
9803 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
9804 (loop_optimize): Initialize.
9805 (get_condition_for_loop): Ditto.
9806 * loop.c (strength_reduce): Inside of code that uses #ifdef
9807 HAVE_decrement_and_branch_on_count code, test it to make sure the
9808 condition is true.
9809 (instrument_loop_bct): Ditto.
9810 * haifa-sched.c: New file.
9811
9812
9813 * Integrate regmove pass.
9814 * Makefile.in (OBJS): Add regmove.o
9815 (regmove.o): Add dependencies.
9816 * flow.c (find_use_as_address): No longer static.
9817 * rtl.h (find_use_as_address): Declare.
9818 * toplev.c (regmove_dump, flag_regmove): Define.
9819 (f_options): Add -fregmove.
9820 (regmove_dump_file, regmove_time): Define.
9821 (fatal_insn): Close the regmove dump file.
9822 (compile_file): Initialize regmove_time; open/close the regmove dump
9823 file as needed. Print regmove time as needed.
9824 (rest_of_compilation): Run regmove pass if requested, dump
9825 RTL after regmove if requested.
9826 (main): If -O2 or more, turn on regmove. Handle dump switches.
9827 * regmove.c: New file.
9828
9829 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
9830
9831 * Integrate tlink patch from jason@cygnus.com
9832 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
9833 (process_command): Increment n_switches for them. Don't discard
9834 their args. Validate them.
9835 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
9836 From Rohan Lenard.
9837 (process_command): Set include_prefixes from COMPILER_PATH.
9838 (main): Set COLLECT_GCC_OPTIONS sooner.
9839 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
9840 * tlink.c, hash.c, hash.h: New files.
9841 * Makefile.in (USE_COLLECT2): Always use collect2.
9842 (collect2): Depend on and link in hash.o and tlink.o.
9843 (tlink.o, hash.o): Add dependencies.
9844
9845 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
9846
9847 * Integrate alias analysis changes from jfc@mit.edu
9848 * Makefile.in (OBJS): Add alias.o
9849 (alias.o): Add dependencies.
9850 * alias.c: New file.
9851 * sched.c: Remove alias analysis code. It lives in alias.c now.
9852 (sched_analyze_2): Add new arguments to true_dependence.
9853 (schedule_insns): Always call init_alias_analysis.
9854 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
9855 mark return value from such functions as a pointer and keep track of
9856 them for alias analysis. If a return value from a function is a
9857 pointer, mark it as such.
9858 * combine.c (distribute_notes): Handle REG_NOALIAS.
9859 * cse.c (struct write_data): Delete. No longer needed.
9860 (invalidate): Don't call set_nonvarying_address_components anymore.
9861 Use true_dependence to decide if an entry should be removed from
9862 the hash table.
9863 (invalidate_memory): Remove WRITES argument, simplify appropriately.
9864 Fix all callers.
9865 (note_mem_written): Similarly for WRITE_PTR argument.
9866 (invalidate_from_clobbers): Similarly for W argument.
9867 (invalidate_for_call): Remove memory elements from the hash table.
9868 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
9869 (cse_rtx_varies_p): New function. Derived from old
9870 cse_rtx_addr_varies_p.
9871 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
9872 Don't call note_mem_written anymore. Stack pushes invalidate the stack
9873 pointer if PUSH_ROUNDING is defined. No longer need to call
9874 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
9875 (skipped_writes_memory): Remove variable.
9876 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
9877 (invalidate_skipped_block): Simplify for new alias analysis code.
9878 (cse_set_around_loop): Likewise.
9879 (cse_main): Call init_alias_analysis.
9880 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
9881 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
9882 (f_options): Add new alias checking arguments.
9883 (main): Set flag_alias_check when optimizing.
9884 * local_alloc (validate_equiv_mem_from_store): Add new arguments
9885 to true_dependence.
9886 (memref_referenced_p): Likewise.
9887 * loop.c (NUM_STORES): Increase to 30.
9888 (prescan_loop): Only non-constant calls set unknown_address_altered.
9889 (invariant_p): Add new arguments to true_dependence.
9890 (record_giv): Initialize unrolled and shared fields.
9891 (emit_iv_add_mult): Call record_base_value as needed.
9892 * loop.h (struct induction): Add unrolled and shared fields.
9893 * unroll.c (unroll_loop): Call record_base_value as needed.
9894 (copy_loop_body): Likewise.
9895 (final_biv_value): Likewise.
9896 (final_giv_value): Likewise.
9897 (find_splittable_regs): Likewise. Only create one new pseudo
9898 if we have multiple address GIVs that were combined with the same
9899 dst_reg GIV. Note when a new register is created due to unrolling.
9900 * rtl.c (reg_note_name): Add REG_NOALIAS.
9901 * rtl.h (enum reg_note): Similarly.
9902 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
9903 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
9904 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
9905 (true_dependence, read_dependence, anti_dependence): Likewise.
9906 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
9907 (mark_user_reg, mark_reg_pointer): Likewise.
9908
9909
9910 * Integrate reload bugfix from Wilon which enables the PA port
9911 to bootstrap again.
9912 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
9913 OPERAND_ADDRESS when computing how many registers an insn needs.
9914 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
9915 conflict.
9916 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
9917 OPADDR_ADDR reload.
9918 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
9919 in reload_reg_use_in_op_addr do not reach the end.
9920 do not reach the end.
9921 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
9922 RELOAD_FOR_OPERAND_ADDRESS.
9923
9924 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
9925
9926 * egcs project officially starts.