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