]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/FSFChangeLog
Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog for
[thirdparty/gcc.git] / gcc / FSFChangeLog
CommitLineData
ab87f8c8
JL
1Tue Sep 29 09:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2
3 * expr.c (get_inner_reference): Fix typo in last change.
4
5Mon Sep 27 21:34:00 1998 Paul Eggert <eggert@twinsun.com>
6
7 * po/en_UK.po (Project-Id-Version): Set to cc 2.8.1.19980813 for now.
8 (PO-Revision-Date): Set to the current date.
9
10Sun Sep 27 07:33:18 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11
12 * m68k/vxm68k.h (LINK_SPEC): Always use -r.
13 (WIDEST_HARDWARE_FP_SIZE): Define.
14
15 * reload.c (push_reload): If in STRICT_LOW_PART, always reload
16 inside even if SUBREG_WORD is not zero.
17
18 * flow.c (print_rtl_with_bb): Don't say not in basic block if we
19 aren't making basic blocks.8
20
21Sat Sep 26 10:57:09 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
22
23 * function.c (optimize_bit_field): Don't remove SUBREG from dest
24 if SUBREG_REG is multi-word.
25
26Wed Sep 23 05:43:23 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
27
28 * reload.c (find_reloads_address): Deal with address which is
29 an AND; clean up return values some more.
30
31Fri Sep 11 13:02:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
32
33 * function.c (purge_addressof_1): Properly copy flags when making MEM.
34
35Mon Sep 7 18:33:06 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
36
37 * expr.c (get_inner_reference): If not COMPONENT_REF or BITFIELD_REF
38 and mode is BLKmode, set size_tree.
39
40 * expr.c (expand_builtin, case BUILT_IN_LONGJMP): Fix typo in
41 last change.
42
43Wed Sep 2 15:38:01 1998 Paul Eggert <eggert@twinsun.com>
44
45 * libgcc2.c (__floatdisf): Use signed comparison to test
46 whether u is close to zero; unsigned comparison is not what's
47 wanted here.
48
49Mon Aug 17 02:19:30 1998 David Edelsohn <edelsohn@mhpcc.edu>
50
51 * xcoffout.c (UNKNOWN_STAB): Fix typo in previous change; missing
52 backslash before newline.
53
54Mon Aug 17 00:12:42 1998 Paul Eggert <eggert@twinsun.com>
55
56 * reorg.c (check_annul_list_true_false): Fix typo in Jul 17 change.
57
58Sun Aug 2 01:10:15 1998 Paul Eggert <eggert@twinsun.com>
59
60 Add Native Language Support.
61
62 * intl/, ABOUT-NLS, mkinstalldirs, po/Makefile.in.in: New
63 subdirectory and files. They should be kept identical to the
64 corresponding items from the GNU gettext distribution.
65
66 * ABOUT-GCC-NLS, exgettext, intl.c, intl.h, po/POTFILES.in,
67 po/en_UK.po: New files.
68
69 * Makefile.in (AWK, datadir, localedir, top_builddir, USE_NLS,
70 INTLLIBS, POSUB, INTL_SUBDIRS, HOST_INTLLIBS,
71 PREPEND_DOTDOT_TO_RELATIVE_PATHS, SUBDIR_FLAGS_TO_PASS, GCC_OBJS,
72 COLLECT2_OBJS, CCCP_OBJS, CPPMAIN_OBJS, PROTO_OBJS, GCOV_OBJS,
73 INTL_DISTCLEAN, GEN_PROTOS_OBJS): New vars.
74 (LIBDEPS, LIBS): Add $(INTLLIBS).
75 (HOST_LIBDEPS, HOST_LIBS): Add $(HOST_INTLLIBS).
76 (LIBS): Add @LIBS@.
77 (ORDINARY_FLAGS_TO_PASS): New var, containing all the old values
78 from FLAGS_TO_PASS, except for CC.
79 (FLAGS_TO_PASS): Pass datadir, distdir, localedir.
80 (OBJS): Add intl.o.
81 (GEN): Add gencheck.
82 (STAGESTUFF): Add tree-check.h, gencheck$(exeext).
83 (native): Depend on intl.all.
84 (xgcc, collect2, cccp, cppmain, protoize, unprotoize, gcov): Link
85 intl.o.
86 (c-typeck.o, c-lex.o, collect2.o, gcc.o, toplev.o, integrate.o,
87 final.o, cccp.o, cppmain.o, cpplib.o, cpperror.o, s-proto,
88 gcov.o): Depend on intl.h.
89 (gencheck): Depend on $(HOST_LIBDEPS) instead of tree.h and
90 tree.def.
91 (gencheck.o, intl.o, $(top_builddir)/intl/libintl.a,
92 $(srcdir)/cp/parse.c, intl.all, intl.install, intl.uninstall,
93 intl.distdir, intl.mostlyclean, intl.clean, intl.distclean,
94 intl.maintainer-clean, intl.distdir-fixup, distdir-check): New
95 rules.
96 (gen-protos): Link cpperror.o, cppexp.o, cpphash.o, cpplib.o,
97 prefix.o, version.o; needed for `cpp_notice'.
98 (mostlyclean): Depend on intl.mostlyclean.
99 (clean): Depend on intl.clean.
100 (distclean): Depend on intl.disclean, unless the invoker defines
101 INTL_DISTCLEAN to be empty. Remove intl/libintl.h and libintl.h
102 (created by configure).
103 (maintainer-clean): Make intl.maintainer-clean, but define
104 INTL_DISTCLEAN to be empty.
105 (install-normal): Depend on intl.install.
106 (uninstall): Depend on intl.uninstall.
107 (distdir-start): Make sure invoker configured with --enable-nls.
108 Use $(AWK), not awk. Make tmp/intl and tmp/po directories.
109 (distdir-finish): Make distdir-check at the end.
110 (distdir): Depend on intl.distdir, intl.distdir-fixup.
111 (compare, compare3, gnucompare, gnucompare3, stage1-start,
112 stage2-start, stage3-start, stage4-start): Handle intl
113 subdirectory.
114
115 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
116 HAVE_LC_MESSAGES, HAVE_STPCPY, PACKAGE, VERSION): New macros.
117
118 * aclocal.m4 (AC_ISC_POSIX, AM_WITH_NLS, AM_GNU_GETTEXT,
119 AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST): New functions; taken from
120 gettext distribution.
121
122 * bi-arity.c, bi-opcode.c, bi-opname.c: Include config file first.
123
124 * c-common.c: Don't include <ctype.h>.
125 (tfaff): Now a function, not a string. All users changed.
126 (check_format_info): Use is_C_digit, not isdigit.
127 Reword messages to ease localization.
128
129 * c-decl.c (redeclaration_error_message): Now returns int, not
130 message.
131 (poplevel, duplicate_decls, pushdecl): Revamp to pass explicit
132 strings to diagnostic generators.
133 (duplicate_decls, parmlist_tags_warning, finish_struct): Reword
134 messages to ease localization.
135
136 * c-iterate.c (prdecl): Reword messages so that they do not require
137 localization.
138
139 * c-lex.c: Include limits.h if available.
140 Include intl.h.
141 Include ctype.h only if MAP_CHARACTER is defined.
142 (UCHAR_MAX): Define if limits.h doesn't.
143 (C_alnum_array): New var.
144 (init_lex): Initialize it.
145 (yyerror): Localize msgid arg.
146 (yylex): Use is_C_alnum and is_C_digit, not isalnum and isdigit.
147
148 * c-lex.h (C_alnum_array): New decl.
149 (is_C_alnum, is_C_digit): New macros.
150
151 * c-typeck.c: Include intl.h.
152 (warning_init): Now takes just one arg.
153 (incomplete_type_error, build_unary_op, lvalue_or_else,
154 readonly_warning, build_modify_expr): Reword messages to ease
155 localization.
156 (build_unary_op, readonly_warning): Revamp to pass explicit
157 strings to diagnostic generators.
158 (build_modify_expr, warn_for_assignment, c_expand_return):
159 Translate strings passed to functions expecting translated
160 strings.
161 (get_spelling): Remove; it was a no-op. All callers changed.
162 (error_init, pedwarn_init): Now takes just one arg. All callers
163 and decls changed. This makes it easier to localize.
164
165 * cccp.c: Include intl.h.
166 (char_name): Remove.
167 (check_macro_name): Now takes int 2nd arg, not char *. All
168 callers changed.
169 (macarg): Now returns int, not char *. All callers changed.
170 (notice, vnotice, pedwarn_strange_white_space): New functions.
171 (verror): Now extern; used by cexp.y.
172 (main): Set message locale, and defer memory allocation until
173 after.
174 (main, do_include, print_containing_files): Invoke `notice' to
175 localize notices.
176 (handle_directive): Invoke pedwarn_strange_white_space instead of
177 using char_name.
178 (do_include, check_macro_name): Reword messages to ease
179 localization.
180 (my_strerror): Reword message so that it does not require
181 localization.
182 (verror, vwarning, verror_with_line, vwarning_with_line,
183 pedwarn_with_file_and_line, fatal): Invoke vnotice to localize
184 msgid.
185 (initialize_char_syntax): No need to initialize char_name.
186
187 * cexp.y (yyerror): Now takes msgid format and args, not just string.
188 (verror): New decl.
189 (parse_number, yylex): Reword messages to ease
190 localization.
191 (verror): New test function.
192 (pedwarn, warning): Translate msgid arg.
193
194 * collect2.c: Include intl.h.
195 (my_strerror, main, collect_execute, scan_prog_file,
196 scan_libraries, read_file, end_file): Reword messages so that they
197 do not require localization.
198 (notice): Nwe function.
199 (fatal, error, main, collect_execute, maybe_unlink,
200 write_c_file_stat, locatelib, scan_libraries, scan_prog_file,
201 add_func_table): Use it to translate msgid strings.
202 (main): Set message locale, and defer memory allocation until
203 after.
204 (collect_wait): Reword messages to ease localization.
205 (bad_header): Revamp to pass explicit strings to diagnostic
206 generators.
207
208 * combine.c (dump_combine_stats, dump_combine_total_stats):
209 Use fnotice to translate diagnostic messages.
210
211 * config/1750a/1750a.c (memop_valid): Don't use `valid' as an
212 identifier; it runs afoul of SunOS 4.1.4 <locale.h>.
213
214 * config/arc/initfini.c (__do_global_dtors): Put backslash before
215 newline in strings, to pacify xgettext.
216
217 * config/dsp16xx/dsp16xx.c, config/dsp16xx/dsp16xx.h
218 (dsp16xx_invalid_register_for_compare): New function.
219 * config/dsp16xx/dsp16xx.md: Use it to report invalid registers.
220
221 * config/i370/i370.h: Include <ctype.h>.
222
223 * config/i386/i386.c: Include config.h first.
224
225 * config/m32r/initfini.c (__do_global_dtors): Put backslash before
226 newline in strings, to pacify xgettext.
227 * config/m88k/dguxbcs.h (CPP_SPEC): Likewise.
228
229 * config/rs6000/rs6000.c: Include config.h first.
230 * config/rs6000/rs6000.c, config/rs6000/rs6000.h
231 (rs6000_fatal_bad_address): New function.
232 * config/rs6000/rs6000.md: Use it to report bad addresses.
233
234 * config/v850/v850.c: Include config.h first.
235
236 * configure.in: When generating config.h and mentioning a file
237 taken from the config directory, surround it with #ifdef IN_GCC,
238 so that programs compiled without IN_GCC -- notably in the intl
239 subdirectory -- don't need to be compiled with -Iconfig.
240 (PACKAGE, VERSION, ALL_LINGUAS): New vars.
241 (AC_ARG_ENABLE): Add --enable-nls.
242 (AM_GNU_GETTEXT): Add. Override XGETTEXT so that we use exgettext
243 instead of xgettext to extract strings.
244 (all_outputs): Add intl/Makefile, po/Makefile.in.
245 Do not use the shell variable 'l'; it runs afoul of gettext's
246 aclocal mechanism!
247 If libintl.h is created, echo '#include "intl/libintl.h"'
248 >libintl.h so that we don't have to futz with our include paths.
249
250 * cp/Make-lang.in (g++.o): Depend on gansidecl.h, intl.h, Makefile;
251 do not depend on config.status.
252 (GXX_OBJS): New var.
253 (g++$(exeext)): Link intl.o.
254
255 * cp/Makefile.in (top_builddir, INTLLIBS): New vars.
256 (LIBS): Add $(INTLLIBS).
257
258 * cppalloc.c (memory_full): Use `cpp_notice' to print diagnostic.
259
260 * cpperror.c: Include intl.h.
261 (cpp_print_containing_files): Use cpp_notice to translate messages.
262 (cpp_message): is_error is -1 for notices. Translate "warning:".
263 (cpp_fatal): Translate msgid arg.
264
265 * cppexp.c (cpp_lex): Revamp to pass explicit strings to
266 diagnostic generators.
267 (cpp_parse_expr): Use cpp_error, not fprintf, to report
268 unimplemented operators.
269
270 * cpplib.c: Include intl.h.
271 (check_macro_name): Now takes int 2nd arg, not char *. All
272 callers changed.
273 (check_macro_name, do_define): Reword messages to ease
274 localization.
275 (do_define): Revamp to pass explicit strings to diagnostic
276 generators.
277 (do_define, cpp_start_read, cpp_handle_options): Use cpp_notice to
278 translate messages.
279 (cpp_error, cpp_warning, cpp_warning_with_line,
280 cpp_pedwarn_with_file_and_line): Translate msgid arg.
281 (cpp_notice): New function.
282 (my_strerror): Reword message so that it does not require
283 localization.
284
285 * cpplib.h (cpp_notice): New decl.
286
287 * cppmain.c: Include intl.h.
288 (main): Set message locale.
289
290 * cse.c (cse_main): Use fnotice to print diagnostic.
291
292 * final.c: Include intl.h; do not include ctype.h.
293 (output_operand_lossage): Translate msgid arg.
294
295 * fold-const.c (optimize_bit_field_compare, fold_truthop): Reword
296 messages to ease localization.
297
298 * gcc.c: Include intl.h.
299 (my_strerror, snapshot_warning): Reword messages so that they do
300 not require localization.
301 (init_spec, set_spec, read_specs, execute, do_spec_1, main,
302 snapshot_warning): Invoke `notice' to localize notices.
303 (struct switchstr): Don't use `valid' as an identifier; it runs
304 afoul of SunOS 4.1.4 <locale.h>. All uses changed.
305 (do_spec_1): Treat %e string as msgid format, which needs
306 translation.
307 (main): Set message locale.
308 (pfatal_with_name): Invoke perror_with_name, not fatal, so that we
309 don't have to translate "%s: %s".
310 (perror_with_name): Invoke printf, not error, so that we don't
311 have to translate "%s: %s".
312 (pfatal_pexecute): Invoke pfatal_with_name, not fatal, so that we
313 don't have to translate "%s: %s".
314 (fatal, error): Translate msgid arg.
315 (notice): New function.
316
317 * gcov.c: Include intl.h; include stdarg.h if __STDC__ is defined.
318 (main): Set message locale.
319 (fnotice): New function.
320 (xmalloc, fancy_abort, print_usage, open_files, read_files,
321 function_summary, output_data): Use it to to print diagnostics.
322
323 * install.texi: Explain new configure options --enable-nls,
324 --with-included-gettext, --with-catgets.
325
326 * integrate.c: Include intl.h.
327 (function_cannot_inline_p): Mark msgids with N_.
328
329 * invoke.texi: Describe environment variables affecting locale.
330
331 * pexecute.c: Include libintl.h if ENABLE_NLS, otherwise define
332 gettext to be a noop.
333 (_, N_): New macros.
334 (install_error_msg): Wrap inside N_.
335 (pexecute): Translate diagnostics.
336
337 * protoize.c: Include intl.h.
338 (__attribute__): New macro.
339 (notice): New function.
340 (my_strerror): Reword message so that it does not require
341 localization.
342 (xmalloc, xrealloc, fancy_abort, safe_write, usage,
343 file_normally_convertible, abspath, find_file, aux_info_corrupted,
344 save_def_or_dec, gen_aux_info_file, process_aux_info_file,
345 rename_c_file, find_extern_def, find_static_definition,
346 declare_source_confusing, edit_fn_declaration, edit_formals_lists,
347 add_local_decl, add_global_decls, edit_fn_definition,
348 scan_for_missed_items, edit_file, main): Use `notice' to print
349 diagnostic.
350 (main): Set message locale.
351
352 * real.c (NMSGS, ermsg): Remove.
353 (mtherr): Revamp to pass explicit strings to diagnostic
354 generators. Abort on invalid operations.
355
356 * regclass.c (fix_register): Reword messages to ease localization.
357
358 * toplev.c: Include intl.h; do not include ctype.h.
359 (v_really_sorry, really_sorry): Remove unused functions.
360 (count_error, fatal_io_error): Translate strings.
361 (default_print_error_function, report_error_function, main,
362 print_version): Reword messages to ease localization. Use
363 `notice' to translate diagnostics.
364 (vnotice, notice, fnotice): New functions.
365 (vmessage): Remove.
366 (v_message_with_file_and_line, vsorry): Translate msgid with
367 vnotice.
368 (v_message_with_file_and_line, v_message_with_decl): Use
369 report_file_and_line. Now takes int warning flag, not prefix;
370 this is easier to localize. All callers changed.
371 (v_message_with_decl): Abort if first format spec is neither %%
372 nor %s. Translate "((anonymous))".
373 (main): Set message locale.
374 (set_target_switch): Don't use `valid' as an identifier; it runs
375 afoul of SunOS 4.1.4 <locale.h>.
376 (__VERSION__): Reword message so that it does not require
377 localization.
378 (print_switch_values): Translate "options passed" and "options
379 enabled".
380
381 * tree.c (valid_machine_attribute): Don't use `valid' as an
382 identifier; it runs afoul of SunOS 4.1.4 <locale.h>.
383
384 * xcoffout.c (xcoff_output_standard_types): Use `error' to
385 output diagnostic, so that it gets translated.
386
387 * patch-apollo-includes: Remove; this is part of README.APOLLO.
388
389Mon Jul 27 18:28:58 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
390
391 * reload.c (find_reloads): If no_input_reloads, abort if
392 reloads were made for addresses.
393 * m68k.md (sxx): Operand 0 cannot be memory.
394
395Fri Jul 17 07:31:04 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
396
397 * m68k.c (output_move_simode_const): Use subl to move 0 into addr reg.
398 (output_move_[hq]imode): Likewise.
399
400 * m68k.md (extend[sd]fxf2): Accept constants and general reg as
401 source operand if the destination is a floating point register.
402
403Fri Jul 17 07:23:49 1998 Herman ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
404
405 * reorg.c (check_annul_list_true_false): New function.
406 (steal_delay_list_from_{target,fallthrough}): Call it and also
407 refine tests for when we may annul if already filled a slot.
408 (fill_slots_from_thread): Likewise.
409 (delete_from_delay_slot): Return newly-created thread.
410 (try_merge_delay_isns): Use its new return value.
411
412Sat Jul 4 11:07:33 1998 Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>
413
414 * function.c (assign_parms): Handle PARALLEL which include stack.
415
416Sat Jul 4 09:44:29 1998 Paul Edwards <avon@matra.com.au>
417
418 * tree.c, print-tree.c, c-lang.c: Include stdio.h before tree.h.
419 * expr.c (bc_expand_component_address): Correct args to
420 bc_push_offset_and_size.
421 * reload1.c (reload_cse_simplify_operands): Add missing return value.
422
423Fri Jul 3 07:17:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
424
425 * alpha.c (normal_memory_operand): Handle case when REG will be
426 eliminated by reload.
427
428Thu Jul 2 18:43:53 1998 James Carlson <carlson@ironbridgenetworks.com>
429
430 * floatlib.c (HIDDEND_LL, MANTD_LL, PACKD_LL): New macros.
431 (__addsf3): Fixed cases returning wrong type and causing unintended
432 conversions and data corruption.
433 (__mulsf3): Fixed rounding flaws caused wrong scaling.
434 (__float{didf,sisf,disf},__fix{,uns}dfdi): New functions.
435 (__{gt,ge,lt,le,eq,ne}df2): Likewise.
436 (__truncdfsf2): Fixed normalization problems
437 (__fixunsdfsi): Fixed compiler warning
438 (__{add,sub,mul}df3): Rewrite to do real DP math.
439 (__divdf3): Removed previous version by Barrett Richardson.
440
441Thu Jul 2 17:57:20 1998 Douglas B. Rupp <rupp@gnat.com>
442
443 * cpperror.c: Include errno.h.
444
445Thu Jul 2 16:46:36 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
446
447 * c-decl.c (grokdeclarator): Don't warn about implicit int in
448 `typedef foo = bar'.
449
450Tue Jun 30 18:32:49 1998 Geert Bosch <bosch@gnat.com>
451
452 * alpha/vxworks.h (LINK_SPEC): Add -taso -T 0.
453
454Tue Jun 30 09:39:32 1998 David Edelsohn <edelsohn@mhpcc.edu>
455
456 * expr.c (expand_builtin_{set,long}jmp): If STACK_SAVEAREA_MODE
457 defined, override sa_mode using its value.
458 * explow.c (emit_stack_save): Likewise.
459
460 * rs6000/aix41.h (ASM_CPU_SPEC): Define relative to ASM_DEFAULT_SPEC.
461 (CPP_CPU_SPEC): Define relative to CPU_DEFAULT_SPEC.
462 * rs6000.c (processor_target_table, 620): Don't affect MASK_POWERPC64.
463 (rs6000_override_options): Ignore flag_pic for AIX.
464 (rs6000_immed_double_const): Delete.
465 ({reg_or_u_short,u_short_cint}_operand): Don't assume 32-bit CONST_INT.
466 ({non_logical_cint,logical}_operand): Likewise.
467 (num_insns_constant): mask64_operand is 2 insns.
468 (easy_fp_constant): Any CONST_DOUBLE_HIGH is okay for 64-bit.
469 (mask_constant): HOST_WIDE_INT parameter.
470 (non_and_cint_operand): Delete.
471 ({mask,and}64_operand): New functions.
472 (function_arg{,_advance}): DImode arguments don't need special
473 alignment when 64-bit.
474 (setup_incoming_varargs): Reverse reg_size assignment.
475 (print_operand): HOST_WIDE_INT second parameter.
476 (print_operand, case 'B', 'S'): New cases.
477 (print_operand, case 'M'): Fix typo in lossage string.
478 (rs6000_stack_info): Reverse reg_size assignment. Use total_raw_size
479 to compute AIX push_p. Use reg_size to compute {cr,lr}_save_offset.
480 (rs6000_output_load_toc_table): Reverse init_ptr assignment. Use
481 TARGET_64BIT not TARGET_POWERPC64. Convert fprintf to fputs.
482 Load GOT highpart, don't add it. Add lowpart with {cal|la}.
483 (rs6000_allocate_stack_space): Use {cal|la}.
484 (output_epilog): Use {cal|la}
485 (output_function_profiler): Add call glue to mcount call.
486 Load GOT highpart, don't add it. Add lowpart with {cal|la}.
487 Use asm_fprintf and convert fprintf to fputs.
488
489 * rs6000.h (TARGET_SWITCHES): Add powerpc64.
490 (STACK_BOUNDARY): Depend on TARGET_32BIT.
491 (ADJUST_FIELD_ALIGN): Calculate array alignment using innermost type.
492 (CONST_OK_FOR_LETTER_P): Don't assume 32-bit CONST_INT.
493 (EXTRA_CONSTRAINTS): Remove 'S' and 'T'. Replace 'S' with
494 64-bit mask operand.
495 (RS6000_SAVE_TOC): Depend on TARGET_32BIT.
496 (STACK_SAVEAREA_MODE): New macro.
497 (LEGITIMATE_CONSTANT_P): DImode okay for 64bit.
498 (RTX_COSTS, AND/IOR/XOR): Reflect current machine description.
499 (ASM_FILE_START): Emit 64-bit ABI directive.
500 (ASM_DECLARE_FUNCTION_NAME): Align CSECT on doubleword in 64-bit mode.
501 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): DImode okay for 64-bit.
502 (PREDICATE_CODES): Add "and64_operand" and "mask64_operand".
503 Delete "non_and_cint_operand". "input_operand" includes CONST_DOUBLE.
504
505 * rs6000.md (iorsi3, xorsi3): Use HOST_WIDE_INT for mask.
506 Restore define_split.
507 (floatsidf2, floatunssidf2): Remove !TARGET_POWERPC64 final constraint.
508 (floatsidf2_internal, floatunssidf2_internal2): Likewise.
509 Do not specify base register operand mode.
510 (floatsidf2_loadaddr): Don't specify base register operand mode.
511 (floatsidf2_store1, floatsidf2_store2): Operand 1 must be base
512 register; do not specify mode. Remove !TARGET_POWERPC64 final
513 constraint.
514 (floatsidf2_load): Don't specify base register operand mode.
515 Remove !TARGET_POWERPC64 final constraint.
516 (fix_truncdfsi2_internal, fix_truncdfsi2_{store,load}): Don't specify
517 base register operand mode.
518 (mulsidi3): Add !TARGET_POWERPC64 constraint.
519 (adddi3): Split large constants early.
520 (absdi3): Shift by 63, not 31.
521 (rotldi3): Add masking combiner patterns.
522 (anddi3): Add rldic{r,l} masking. Remove split of large constants.
523 (iordi3, xordi3): Split large constants early.
524 (movsi matcher): Remove S and T constraints.
525 (movsf const_double): create SImode constant from TARGET_DOUBLE.
526 (movdf_hardfloat32): Add default abort case.
527 (movdf easy_fp_const): create DImode constant from TARGET_DOUBLE.
528 (movdi): Remove 64-bit constant generator. Try to convert
529 CONST_DOUBLE to CONST_INT. Handle TOC memory constants.
530 (movdi_32): Add default abort case.
531 (movdi_64): Add numerous ways to split 64-bit constants.
532 Make catch-all define_split more optimal and never FAIL.
533 (movti_ppc64): Add default abort case.
534 (allocate_stack): Remove operand modes; use Pmode.
535 (restore_stack_block): Remove operand modes. Generate Pmode
536 temporary. Generate MEM and specify mode.
537 (save_stack_nonlocal, restore_stack_nonlocal): Generate Pmode
538 temporary. Save area is double Pmode.
539 (call_indirect_aix64, call_value_indirect_aix64): New patterns.
540 (call, call_value): Do not specify address operand mode. Choose
541 appropriate AIX ABI.
542 (*call_local64, *ret_call_local64): New patterns.
543 (*call_nonlocal_aix64, *ret_call_nonlocal_aix64): New patterns.
544 (*ret_call_nonlocal_aix32): Use call_value_indirect for REG.
545 (compare): Materialize DImode truthvalues.
546
547Tue Jun 30 06:31:40 1998 Richard Henderson <rth@dot.cygnus.com>
548
549 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
550 * alpha.c (print_operand): Handle it.
551 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
552 related define_splits.
553
554Tue Jun 30 06:02:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
555
556 * calls.c (emit_library_call{,_value}): Pass null
557 to REG_PARM_STACK_SPACE.
558
559 * alpha.c (normal_memory_operand): New function.
560 * alpha.h (EXTRA_CONSTRAINT, case 'Q'): Call it.
561
562 * fold-const.c (count_cond): New function.
563 (fold): Don't try to build COND_EXPR from binary op when both sides
564 are COND_EXPR unless not nested too deeply.
565
566Thu Jun 25 09:54:55 1998 Nick Clifton <nickc@cygnus.com>
567
568 * arm.h (REG_ALLOC_ORDER): Add ARG_POINTER_REGNUM, noticed by
569 grahams@rcp.co.uk.
570
571Mon Jun 15 17:41:33 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
572
573 * reload1.c (reload): Issue guidance message on stack frame too large
574 for reliable stack check.
575
576 * fold-const.c (fold_range_test): Prevent falling through with no ret.
577
578Sat Jun 13 15:49:53 1998 Carol LePage <carolo@kemah.hal.com>
579
580 * configure.in (sparc-hal-solaris2*): New target.
581 * sparc/hal.h, sparc/t-halos: New files.
582
583Sat Jun 13 14:30:25 1998 David W. Schuler <schuld@btv.ibm.com>
584
585 * i386/aix386ng.h (CPP_SPEC): Remove bogus quote.
586
587Sat Jun 13 14:16:34 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
588
589 * regmove.c (try_auto_increment): Fix typo.
590
591 * c-common.c (truthvalue_conversion): Protect side effects in the
592 expression when splitting a complex value.
593 * fold-const.c (fold): Likewise.
594
595 * expr.c (do_jump, case EQ_EXPR, NE_EXPR): When comparing complex
596 prevent operands from being evaluated twice.
597
598Sat Jun 13 12:53:22 1998 Richard Earnshaw (rearnsha@arm.com)
599
600 * unroll.c (verify_addresses): Use validate_replace_rtx to undo
601 changes; abort if undo fails.
602
603Sat Jun 13 11:46:38 1998 Anders Blomdell <anders.blomdell@control.lth.se>
604
605 * flags.h (flag_volatile_static): Declare.
606 * toplev.c (flag_volatile_static): Define.
607 (f_options): Include -fvolatile-static.
608 * varasm.c (make_decl_rtl): Support -fvolatile-static.
609
610Sat Jun 13 08:26:21 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
611
612 * reload1.c (reload_cse_regno_equal_p): If -ffloat-store, don't
613 consider a MEM in FP mode as equal.
614
615 * varasm.c (assemble_variable): Never put decl with specified section
616 name into bss.
617
618 * output.h (current_function_addresses_labels): Declare.
619 * function.h (struct function): New field `addresses_labels'.
620 * function.c (current_function_addresses_labels): Define.
621 ({push,pop}_function_context): Save/restore it.
622 (init_function_start): Initialize it.
623 * rtl.h (FUNCTION_FLAGS_ADDRESSES_LABELS): New flag.
624 * expr.c (expand_expr, case LABEL_DECL): Show addresses labels.
625 * integrate.c (function_cannot_inline_p): Can't if addresses labels.
626 (initialize_for_inline): Save current_function_addresses_labels.
627 (output_inline_function): Restore it.
628
629 * reload.c (find_reloads, case 'o'): All reloaded addresses
630 are offsettable.
631 (find_reloads_address): If replacing address, don't return 1.
632
633 * profile.c (output_func_start_profiler): Add missing steps in
634 defining function.
635
636Fri Jun 12 17:10:16 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
637
638 * m68k.md (extendqidi2): Operand 1 must be in data register.
639
9ec36da5
JL
640Tue Jun 9 07:24:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
641
ab87f8c8
JL
642 * cccp.c (handle_directive): If -dM, also include #undef.
643 * cpplib.c (handle_directive): Likewise.
644
645 * calls.c (expand_call): Allow function pointer to be a REFERENCE_TYPE.
646
647 * function.c (assign_parms): Use proper mode for location of arg
648 on stack when promotions are occurring.
649
9ec36da5
JL
650 * regmove.c ({next,prev}_insn_for_regmove): Properly handle end of
651 function.
652
653Mon Jun 8 15:26:49 1998 Juha Sarlin <juha@c3l.tyreso.se>
654
655 * h8300.c (get_shift_alg): Add special cases for shifts of 8 and 24.
656
657Mon Jun 8 14:40:02 1998 John Wehle (john@feith.com)
658
659 * i386.md (movsf_push, movsf_mem): Remove.
660 (movsf_push): Rename from movsf_push_nomove and move in front of
661 movsf; allow memory operands during and after reload.
662 (movsf_push_memory): New pattern.
663 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
664 both operands refer to memory then force operand[1] into a register.
665 (movsf_normal): Change to unnamed pattern.
666 Likewise for movdf, movxf, and friends.
667
668Mon Jun 8 13:18:04 1998 Martin v. Loewis <loewis@informatik.hu-berlin.de>
669
670 * Makefile.in (TREE_H): Add tree-check.h.
671 (tree-check.h, s-check, gencheck): New targets.
672 (STAGESTUFF): Add s-check.
673 * gencheck.c: New file.
674 * tree.c (tree_check, tree_class_check, expr_check): New functions.
675 * tree.h (TREE_CHECK, TREE_CLASS_CHECK): Define.
676 (TYPE_CHECK, DECL_CHECK): Define.
677 Modify all access macros to use generated checking macros.
678 * acconfig.h (ENABLE_CHECKING): Undefine.
679 * configure.in (--enable-checking): New option.
680
681Mon Jun 8 12:13:25 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.ed>
682
683 * regmove.c: Remove include for varargs or stdarg.
684
685Mon Jun 8 07:49:41 1998 Andris Pavenis <pavenis@lanet.lv>
686
687 * gcc.c (link_command_spec): Support LINK_COMMAND_SPEC.
688
689Sun Jun 7 18:00:28 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
690
691 * fold-const.c (fold, case EQ_EXPR): When folding VAR++ == CONST
692 or VAR-- == CONST construct a proper mask if VAR is a bitfield.
693 Cope with CONST being out of range for the bitfield.
694
695Sun Jun 7 17:19:35 1998 Tom Quiggle <quiggle@sgi.com>
696
697 * mips/iris6.h (DWARF2_FRAME_INFO): Define.
698 * dwarf2out.c (dwarf2out_do_frame): Do something if DWARF2_FRAME_INFO.
699
700Sun Jun 7 15:29:04 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
701
702 * regmove.c: New file.
703 * Makefile.in (OBJS): Add regmove.o.
704 (regmove.o): New rules.
705 (mostlyclean): Remove regmove dumps.
706 * toplev.c (regmove_{dump,dump_file,time}, flag_regmove): New vars.
707 (f_options): Add -foptimize-register-move.
708 (compile_file): Run regmove pass after combine pass and do its dump.
709 (main): Enable regmove dump when -dN or -da.
710 (fatal_insn): Flush regmove dump file.
711 * flags.h (flag_regmove): Declare.
712 * flow.c (find_use_as_address): Export.
713 * rtl.h (find_use_as_address): Declare.
714 * local-alloc.c (optimize_reg_copy_{1,2}): Removed, all calls deleted.
715 * reload1.c (count_occurrences): Export.
716 * reload.h (count_occurrences): Declare.
717
718Sun Jun 7 09:30:31 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
719
720 * Makefile.in (uninstall): Uninstall gcov.
721
722 * alpha.h (ASM_COMMENT_START): Define.
723
724 * alpha.h (EXTRA_CONSTRAINT, case 'S'): New case.
725 * alpha.md ({ashl,ashr,lshr}di3): Use 'S' for constraint.
726
727 * i386.md (cmpxf): Add missing extend pattern from SFmode and fix
728 operand numbers in one extend pattern from DFmode.
729
730 * pa.md ({pre,post}_{ld,st}wm and similar): When operand is being
731 incremented, use '+', not '=', for constraint.
732
733 * reload.c (find_reloads): Give preference to pseudo that was the
734 reloaded output of previous insn.
735
736 * emit-rtl.c (init_emit_once): Provide default for DOUBLE_TYPE_SIZE.
737
738 * expr.c (init_expr_once): Free all RTL we generate here.
739 * expmed.c (init_expmed): Allocate all RTX in memory we'll free.
740
741 * genemit.c (main): Generate #include "reload.h".
742
743 * expr.c (expand_expr, case INDIRECT_EXPR): A dereference of
744 a REFERENCE_TYPE is always considered in a structure. Likewise for
745 a dereference of a NOP_EXPR whose input is a pointer to aggregate.
746
747Sat Jun 6 17:25:14 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
748
749 * mips.md (reload_{in,out}di): Allow other operand to be invalid
750 MEM and get any reload replacement before using address.
751
752Tue May 26 18:52:23 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
753
754 * reload1.c (reload): Get MEM_IN_STRUCT_P and RTX_UNCHANGING_P
755 from reg_equiv_memory_loc; set the latter when changing REG to MEM.
756 (alter_reg): Don't set RTX_UNCHANGING_P for shared slots.
757
758Mon May 25 12:07:12 1998 Hans-Peter Nilsson <hp@axis.se>
759
760 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
761
762Sun May 24 21:50:12 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
763
764 * i386/linux{,-aout,oldld}.h (ASM_COMMENT_START): Define.
765
766Sun May 24 11:58:37 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
767
768 * m68k.md (adddi3, subdi3): Properly negate the DImode constant.
769
770Sun May 24 11:30:08 1998 Torbjorn Granlund <tege@matematik.su.se>
771
772 * m68k/lb1sf68.asm (__addsf3): Fix typo in exg on coldfire.
773
774Sun May 24 09:38:17 1998 John Wehle (john@feith.com)
775
776 * i386.md (movsi): Remove redundant integer push patterns.
777 Don't check for TARGET_PUSH_MEMORY when pushing constants or registers.
778
779Sun May 24 08:59:27 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
780
781 * fold-const.c (fold, case EQ_EXPR): Split COMPLEX_TYPE operands
782 if either is COMPLEX_CST in addition to COMPLEX_EXPR.
783
784 * expr.c (do_jump, case EQ_EXPR, case NE_EXPR): Check for COMPLEX
785 before testing for operand 1 being zero.
786
787 * genattrtab.c (optimize): Define.
788
789 * configure.lang: Fix substitution of target_alias.
790
791Sat May 23 22:31:17 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
792
793 * emit_rtl.c (double_mode): New variable.
794 (init_emit_once): Set and use it.
795 * real.c (ereal_atof, real_value_truncate): Handle double_mode not
796 being DFmode for C4x.
797
798Sat May 23 22:19:55 1998 Mike Stump <mrs@wrs.com>
799
800 * expr.c (expand_builtin_setjmp): Handle BUILTIN_SETJMP_FRAME_VALUE.
801 * i960.h (SETUP_FRAME_ADDRESSES, BUILTIN_SETJMP_FRAME_VALUE): Define.
802 * i960.md (ret, flush_register_windows): Define.
803 (nonlocal_goto): Likewise. Nested function nonlocal gotos don't
804 work yet.
805
806Sat May 23 18:45:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
807
808 * m68k/t-linux: Remove stuff already included in config/t-linux.
809
810Sat May 23 18:35:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
811
812 * final.c: Select <stab.h> and "gstab.h" with NO_STAB_H.
813
814 * gcc.c (default_compilers): Remove ".ada" extension.
815
816 * combine.c (rtx_equal_for_field_assignment): Remove code that
817 checks get_last_value.
818
819 * Makefile.in (uninstall): Delete info files.
820
821Sat May 23 18:28:27 1998 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
822
823 * c-decl.c (start_decl): Use new macro SET_DEFAULT_DECL_ATTRIBUTES.
824 * c-lex.c (check_newline): Put last read character back on input
825 stream.
826
827Sat May 23 18:13:53 1998 David Edelsohn <edelsohn@mhpcc.edu>
828
829 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
830 negative in a stackless frame.
831 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
832 in stackless frame size. Support 64-bit stackless frame size.
833 Combine fpmem offset calculations and don't add total_size to
834 offset if not pushing a stack frame.
835
836 * tree.c (get_inner_array_type): New function.
837 * tree.h (get_inner_array_type): Likewise.
838
839Wed May 20 15:42:22 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
840
841 * expmed.c (expand_divmod): Save last divison constant and
842 if rem is same as div, don't adjust rem cost.
843
844Thu May 14 14:11:37 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
845
846 * alpha/vxworks.h: New file.
847 * configure.in (alpha*-*-vxworks*): New target.
848
849 * alpha.c (tree.h): Include earlier.
850 (alpha_initialize_trampoline): New function.
851 * alpha.h (INITIALIZE_TRAMPOLINE): Call it.
852 * alpha/linux.h (INITIALIZE_TRAMPOLINE): Don't redefine.
853
854Thu May 14 13:35:53 1998 Cyrille Comar <comar@gnat.com>
855
856 * Makefile.in (STAGESTUFF): Add s-under.
857
858Wed May 13 17:38:35 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
859
860 * combine.c (simplify_comparison, case AND): Don't commute AND
861 with SUBREG if constant is whole mode and don't do if lowpart
862 and not WORD_REGISTER_OPERATIONS.
863
864 * expmed.c (expand_mult): Use 0 as add_target if should preserve
865 subexpressions.
866
867Mon May 11 17:26:06 1998 Paul Eggert <eggert@twinsun.com>
868
869 * dwarf2out.c: Undo most recent change.
870
871Sun May 10 17:09:20 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
872
873 * fold-const.c (fold_range_test, fold): If need to make SAVE_EXPR
874 to do optimization, suppress if contains_placeholder_p.
875
876Thu May 7 18:14:31 Paul Eggert <eggert@twinsun.com>
877
878 * dwarf2out.c: Don't assume `.section ".text"' causes assembler to
879 treat .text as label for start of section; instead, output
880 `.section ".text"; .LLtext0:' and use .LLtext0 in label contexts.
881 (ABBREV_LABEL, DEBUG_INFO_LABEL, DEBUG_LINE_LABEL, TEXT_LABEL): New.
882 (abbrev_label, debug_info_label, debug_line_label, text_label): New.
883 (dwarf2out_init): Initialize the vars. Output defn for text_label.
884 (dwarf2out_finish): Output defns for the other 3 vars.
885 (dw_val_node): Rename val_section to val_section_label, as it's
886 now a label, not a section.
887 (add_AT_section_offset): Arg is now a label, not a section.
888 (print_die): In label contexts, output section label, not section.
889 (output_die, output_compilation_unit_header): Likewise.
890 (output_{pubnames,aranges,line_info}, dwarf2out_finish): Likewise.
891
892 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
893 curses.h if it contains `typedef char bool;'.
894
895 * configure.in (arm-*-netbsd*): Rename fixinc.math to fixinc.wrap.
896 (i[34567]86-*-freebsdelf*, i[34567]86-*-freebsd*): Likewise.
897 (i[34567]86-*-netbsd*, i[34567]86-*-solaris2*): Likewise.
898 (m68k-*-netbsd*, mips-dec-netbsd*, ns32k-pc532-netbsd*): Likewise.
899 (powerpcle-*-solaris2*, sparc-*-netbsd*, sparc-*-solaris2*): Likewise.
900 (vax-*-netbsd*): Likewie.
901
902Wed May 6 06:44:28 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
903
904 * combine.c (simplify_rtx, case TRUNCATE): Reflect that it sign-extends
905 instead of zero-extending.
906
907Sat May 2 20:39:22 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
908
909 * fold-const.c (fold): When commutting COND_EXPR and binary operation,
910 avoid quadratic behavior if have nested COND_EXPRs.
911
912Tue Apr 28 17:30:05 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
913
914 * mips.h (HOST_WIDE_INT): Define if not already.
915 (compute_frame_size, mips_debugger_offset): Return HOST_WIDE_INT.
916 (DEBUGGER_{AUTO,ARG}_OFFSET): Cast second arg to HOST_WIDE_INT.
917 * mips.c (mips_debugger_offset): Now returns HOST_WIDE_INT.
918 Likewise for internal variable frame_size.
919
920 * final.c (alter_subreg): Make new SUBREG if reload replacement
921 scheduled inside it.
922
923 * dwarf2out.c (add_bound_info, case SAVE_EXPR): Pass
924 SAVE_EXPR_RTL address through fix_lexical_addr.
925
926Mon Apr 27 18:57:18 1998 Jim Wilson <wilson@cygnus.com>
927
928 * mips/sni-svr4.h (CPP_PREDEFINES): Add -Dsinix and -DSNI.
929
930Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
931
932 * rs6000.md (mov{sf,df} define_splits): When splitting move of
933 constant to int reg, don't split insns that do simple AND and OR
934 operations; just split each word and let normal movsi define split
935 handle it further.
936
937Sun Apr 19 20:21:19 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
938
939 * real.h (C4X_FLOAT_FORMAT): New macro.
940 * real.c (c4xtoe, etoc4x, toc4x): New functions.
941
942Sun Apr 19 20:17:32 1998 Niklas Hallqvist <niklas@petra.appli.se>
943
944 * m68k.c (notice_update_cc): Use modified_in_p to check for update.
945
946Sun Apr 19 18:48:07 1998 K. Richard Pixley <rich@kyoto.noir.com>
947
948 * fixincludes: Discard empty C++ comments.
949 Special case more files with C++ comments nested in C comments.
950
951Sun Apr 19 18:30:11 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
952
953 * m68k.md ({add,sub}di3): Optimize for constant operand.
954
955Sun Apr 19 18:27:11 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
956
957 * i386.c (output_387_binary_op): Swap operands when popping if result
958 is st(0).
959
960Sun Apr 19 17:58:01 1998 Peter Jeremy <peter.jeremy@alcatel.com.au>
961
962 * expr.c (do_jump_by_parts_equality_rtx): Now public.
963 * expmed.c (do_cmp_and_jump): New function.
964 (expand_divmod): Use do_cmp_and_jmp instead of emit_cmp_insn and
965 emit_jump_insn.
966
967Sun Apr 19 07:48:37 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
968
969 * c-typeck.c (build_c_cast): Check underlying type when seeing
970 if discarding const or volatile.
971
972 * c-decl.c (pushdecl): Avoid duplicate warning about implicit redecl.
973
974 * configure.in (stab.h): Check for it.
975 (i386-*-vsta): Include xm-i386.h too.
976 * dbxout.c (stab.h): Include based on autoconf results.
977 * vax/xm-vms.h (NO_STAB_H): Deleted.
978 * alpha/xm-vms.h, xm-mips.h, i386/xm-mingw32.h, i386/go32.h: Likewise.
979 * i386/xm-cygwin32.h: Likewise.
980 * i386/xm-vsta.h (NO_STAB_H): Likewise.
981 (i386/xm-i386.h): No longer include.
982
983 * mips.c: Cleanups and reformatting throughout.
984 ({expand,output}_block_move): Use HOST_WIDE_INT for sizes.
985 (mips_debugger_offset, compute_frame_size): Likewise.
986 (save_restore_insns, mips_expand_{pro,epi}logue): Likewise.
987 (siginfo): Deleted.
988 (override_options): Don't set up to call it; don't call setvbuf.
989
990Mon Apr 13 06:40:17 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
991
992 * configure.in (sparc-*-vxsim*): Include xm-siglist.h and
993 define USG and POSIX.
994
995Sun Apr 12 21:59:27 1998 Jeffrey A. Law <law@cygnus.com>
996
997 * calls.c (expand_call): Fix typo in STRICT_ARGUMENT_NAMING.
998
999Sun Apr 12 21:42:23 1998 D. Karthikeyan <karthik@cdotd.ernet.in>
1000
1001 * m68k.h (TARGET_SWITCHES): Add missing comma.
1002
1003Sun Apr 12 21:33:33 1998 Eric Valette <valette@crf.canon.fr>
1004
1005 * configure.in (i[34567]86-*-rtemself*): New configuration.
1006 * i386/rtemself.h: New file.
1007
1008Sun Apr 12 21:08:28 1998 Jim Wilson <wilson@cygnus.com>
1009
1010 * loop.c (loop_optimize): Reset max_uid_for_loop after
1011 find_and_verify_loops call.
1012 (strength_reduce): In auto_inc_opt code, verify v->insn has valid
1013 INSN_LUID.
1014
1015Sun Apr 12 20:54:59 1998 Richard Earnshaw (rearnsha@arm.com)
1016
1017 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
1018 Add USG and POSIX to xm_defines.
1019
1020Sun Apr 12 20:47:37 1998 Pat Rankin <rankin@eql.caltech.edu>
1021
1022 * cccp.c (eprint_string): New function.
1023 (do_elif, do_else, verror): Use it instead of fwrite(,,,stderr).
1024 (error_from_errno, vwarning): Likewise.
1025 ({verror,vwarning,pedwarn}_with_line): Likewise.
1026 (pedwarn_with_file_and_line, print_containing_files): Likewise.
1027
1028Sun Apr 12 20:40:44 1998 Richard Henderson <rth@dot.cygnus.com>
1029
1030 * configure.in (alpha*-*-linux-gnu*): Add alpha/t-crtbe.
1031 Add crt{begin,end}.o in extra_parts and delete crt{begin,end}S.o.o
1032 * alpha/t-crtbe, alpha/crt{begin,end}.asm: New files.
1033
1034 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
1035 * alpha.c (print_operand): Handle it.
1036 * alpha.md (fix_trunc[ds]fdi2): Use it. Add earlyclobber pattern
1037 for ALPHA_TP_INSN.
1038
1039Sun Apr 12 13:09:46 1998 Scott Christley <scottc@net-community.com>
1040
1041 * objc/encoding.c (objc_sizeof_type, _C_VOID): New case.
1042
1043Sun Apr 12 13:04:55 1998 Nikolay Yatsenko (nikolay@osf.org)
1044
1045 * configure.in (i[34567]86-*-osf1*): New entry.
1046 * i386/osf1-c[in].asm: New files for OSF/1.
1047 * i386/osf1elf{,gdb}.h, i386/[xt]-osf1elf, i386/xm-osf1elf.h: Likewise.
1048
1049Sun Apr 12 10:03:51 1998 Noel Cragg <noel@red-bean.com>
1050
1051 * fixincludes: Remove specification of parameters when renaming
1052 functions in Alpha DEC Unix include files.
1053
1054Sun Apr 12 07:33:46 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1055
1056 * mips.c (large_int): Use HOST_WIDE_INT, not int.
1057 (print_operand): Use HOST_WIDE_INT_PRINT_* macros.
1058
1059 * toplev.c (main): Sort order of handling of -d letters.
1060 Use `F' instead of `D' for addressof_dump.
1061
1062 * libgcc2.c (_eh_compat): Deleted.
1063 * Makefile.in (LIB2FUNCS): Delete _eh_compat.
1064
1065 * configure.in (alpha*-*-linux-gnu*): Don't include alpha/xm-linux.h.
1066
1067 * c-common.c (check_format_info): Properly test for nested pointers.
1068
1069 * pa.md (casesi0): Add missing mode for operand 0.
1070
1071 * function.c (purge_addressof_1, case MEM): If BLKmode, put ADDRESSOF
1072 into stack.
1073
1074 * c-parse.in (label): Give warning if pedantic and label not integral.
1075
1076 * c-decl.c (grokdeclarator): Don't warn about return type if in
1077 system header.
1078
1079 * reload.c (reload_nongroup): New variable.
1080 (push{_secondary,}_reload): Initialize it.
1081 (find_reloads): Compute it.
1082 (debug_reload): Print it.
1083 * reload.h (reload_nongroup): Declare.
1084 * reload1.c (reload): Use reload_nongroup instead of local computation.
1085 Check caller_save_spill_class against any nongroup reloads.
1086 (reloads_conflict): No longer static.
1087
1088Sun Apr 12 05:52:18 1998 John David Anglin <dave@hiauly1.hia.nrc.ca>
1089
1090 * vax.md (call patterns): Operand 1 is always a CONST_INT.
1091
1092Sat Apr 11 16:01:11 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1093
1094 * convert.c (convert_to_{pointer,integer,real,complex}): Use switch.
1095 Add missing integer-like types.
1096 Simplify return of zero in error case.
1097 (convert_to_pointer): Remove dubious abort.
1098 (convert_to_integer, case POINTER_TYPE): Make recursive call.
1099 (convert_to_integer, case COND_EXPR): Always convert arms.
1100 * tree.c (type_precision): Deleted.
1101
1102 * cccp.c (do_warning): Give pedantic warning if -pedantic and not
1103 in system file.
1104 * cpplib.c (do_warning): Likewise.
1105
1106 * function.c (target_temp_slot_level): Define here.
1107 (push_temp_slots_for_target, {get,set}_target_temp_slot_level): New.
1108 * stmt.c (target_temp_slot_level): Don't define here.
1109 * expr.h (temp_slot_level): New declaration.
1110
1111Fri Apr 10 16:35:48 1998 Paul Eggert <eggert@twinsun.com>
1112
1113 * c-common.c (decl_attributes): Support strftime format checking.
1114 (record_function_format, {check,init_function}_format_info): Likewise.
1115 (enum format_type): New type.
1116 (record_function_format): Now static; takes value of type
1117 enum format_type instead of int.
1118 (time_char_table): New constant.
1119 (struct function_format_info): format_type member renamed from is_scan.
1120 (check_format_info): Use `warning' rather than sprintf followed by
1121 `warning', to avoid mishandling `%' in warnings.
1122 Change a `pedwarn' to `warning'.
1123 * c-tree.h (record_function_format): Remove decl.
1124
1125Thu Apr 2 17:34:27 1998 Manfred Hollstein <manfred@s-direktnet.de>
1126
1127 * regclass.c (memory_move_secondary_cost): Protect uses of
1128 SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS with #ifdef tests.
1129
1130Thu Apr 2 07:06:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1131
1132 * m68k.c (standard_68881_constant_p): Don't use fmovecr on 68060.
1133
1134Thu Apr 2 06:19:25 1998 Ken Raeburn <raeburn@cygnus.com>
1135
1136 * Makefile.in (version.c): Put "cvs log" output in build directory.
1137
1138 * reload.h (MEMORY_MOVE_COST): Define here if not already defined.
1139 (memory_move_secondary_cost): Declare.
1140 * regclass.c (MEMORY_MOVE_COST): Don't define default here.
1141 (memory_move_secondary_cost) [HAVE_SECONDARY_RELOADS]: New function.
1142 (regclass, record_reg_classes, copy_cost, record_address_regs):
1143 Pass register class and direction of move to MEMORY_MOVE_COST.
1144 (top_of_stack) [HAVE_SECONDARY_RELOADS]: New static array.
1145 (init_regs) [HAVE_SECONDARY_RELOADS]: Initialize it.
1146 * reload1.c (MEMORY_MOVE_COST): Don't define default here.
1147 (emit_reload_insns, reload_cse_simplify_set): Pass register class
1148 and direction of move to MEMORY_MOVE_COST.
1149 * 1750a.h (MEMORY_MOVE_COST): Add extra ignored arguments.
1150 * a29k.h, alpha.h, arc.h, arm.h, dsp16xx.h, i386.h, m32r.h: Likewise.
1151 * m88k.h, rs6000.h: Likewise.
1152 * mips.h (MEMORY_MOVE_COST): Likewise.
1153 Add memory_move_secondary_cost result to cpu-specific cost.
1154
1155Mon Mar 30 13:56:30 1998 Jim Wilson <wilson@cygnus.com>
1156
1157 * mips/ultrix.h (SUBTARGET_CPP_SPEC): Define.
1158
1159Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
1160
1161 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum direction.
1162 (function_arg_padding): Declare.
1163
1164 * rs6000.c: Include stdlib.h if we have it.
1165 (function_arg_padding): Change return type to int, cast enum's to int.
1166
1167 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
1168 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
1169 `ptt_size' from int to size_t.
1170 (rs6000_file_start): Likewise for `i'.
1171 (rs6000_replace_regno): Add default case in enumeration switch.
1172 (output_epilog): Remove unused variable `i'.
1173 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg[12]'.
1174
1175 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
1176 initializer.
1177 (get_issue_rate, non_logical_cint_operand): Add prototype.
1178 (rs6000_output_load_toc_table): Likewise.
1179
1180 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
1181 `else'.
1182
1183Wed Mar 25 02:39:01 1998 Paul Eggert <eggert@twinsun.com>
1184
1185 * configure.in (i[34567]86-*-solaris2*, powerpcle-*-solaris2*,
1186 sparc-*-solaris2*): Use fixinc.svr4 if Solaris 2.0 through 2.4.
1187
1188Mon Mar 23 07:27:19 1998 Philippe De Muyter <phdm@macqel.be>
1189
1190 * m68k.md (ashldi_const): Allow shift count in range ]32,63].
1191 (ashldi3): Allow constant shift count in range ]32,63].
1192 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
1193
1194 * m68k.md (zero_extend[qh]idi2, iordi_zext): New patterns.
1195 (zero_extendsidi2): Avoid useless copy.
1196 (iorsi_zexthi_ashl16): Avoid "0" constraint for operand 2.
1197 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
1198
1199Mon Mar 23 07:12:05 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1200
1201 * final.c (only_leaf_regs_used): If pic_offset_table_rtx used,
1202 make sure it is a permitted register.
1203
1204Sun Mar 22 06:57:04 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1205
1206 * expmed.c (extract_bit_field): Don't confuse SUBREG_WORD with
1207 endian adjustment in SUBREG case.
1208 Don't abort if can't make SUBREG needed for extv/extzv.
1209
1210Sat Mar 21 08:02:17 1998 Richard Gorton <gorton@amt.tay1.dec.com>
1211
1212 * alpha.md (zero_extendqi[hsd]i2): Use "and", not "zapnot".
1213
1214Sat Mar 21 07:47:04 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1215
1216 * unroll.c (verify_addresses): Use validate_replace_rtx.
1217 (find_splittable_givs): If invalid address, show nothing same_insn.
1218
1219Fri Mar 20 10:24:12 1998 Philippe De Muyter <phdm@macqel.be>
1220
1221 * fold-const.c (fold, case CONVERT_EXPR): Replace sign-extension of
1222 a zero-extended value by a single zero-extension.
1223
1224Thu Mar 19 14:59:32 1998 Andrew Pochinsky <avp@ctp.mit.edu>
1225
1226 * sparc.h (ASM_OUTPUT_LOOP_ALIGN): Fix error in last change.
1227
1228Thu Mar 19 14:48:35 1998 Michael Meissner <meissner@cygnus.com>
1229
1230 * gcc.c (default_arg): Don't wander off the end of allocated memory.
1231
1232 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
1233 and EABI.
1234
1235Thu Mar 19 06:17:59 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1236
1237 * Makefile.in (toplev.o): Depend on Makefile.
1238
1239Wed Mar 18 17:40:09 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
1240
1241 * expr.c (convert_move): Add [QH]Imode/P[QH]Imode conversions.
1242 * machmode.def (PQImode, PHImode): New modes.
1243
1244Wed Mar 18 17:11:18 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1245
1246 * m68k.md (movsf+1): Optimize moving a CONST_DOUBLE zero.
1247
1248Wed Mar 18 17:07:54 1998 Ken Raeburn <raeburn@cygnus.com>
1249
1250 * regclass.c (init_reg_sets): Delete init of reg-move cost tables.
1251 (init_reg_sets_1): Put it here.
1252
1253Wed Mar 18 16:43:11 1998 Jim Wilson <wilson@cygnus.com>
1254
1255 * i960.md (tablejump): Handle flag_pic.
1256
1257 * profile.c (branch_prob): If see computed goto, call fatal.
1258
1259 * calls.c (expand_call): Fix typos in n_named_args computation.
1260
1261Wed Mar 18 05:54:25 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1262
1263 * fold-const.c (operand_equal_for_comparison_p): See if equal
1264 when nop conversions are removed.
1265
1266 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
1267 don't use ORIGINAL_TARGET unless REG.
1268
1269 * function.c (fixup_var_refs_insns): Also delete insn storing pseudo
1270 back into arg list.
1271
1272 * combine.c (gen_binary): Don't make AND that does nothing.
1273 (simplify_comparison, case AND): Commute AND and SUBREG.
1274 * i386.h (CONST_CONSTS, case CONST_INT): One-byte integers are cost 0.
1275
1276Mon Mar 16 15:57:17 1998 Geoffrey Keating <geoffk@ozemail.com.au>
1277
1278 * rs6000.c (small_data_operand): Ensure any address referenced
1279 relative to small data area is inside SDA.
1280
1281Sun Mar 15 16:01:19 1998 Andrew Pochinsky <avp@ctp.mit.edu>
1282
1283 * sparc.h (ASM_OUTPUT_LOOP_ALIGN): Write nop's.
1284
1285Sun Mar 15 15:53:39 1998 Philippe De Muyter <phdm@macqel.be>
1286
1287 * libgcc2.c (exit): Don't call __bb_exit_func if HAVE_ATEXIT.
1288
1289Sun Mar 15 15:44:41 1998 Paul Eggert <eggert@twinsun.com>
1290
1291 * cccp.c: Fix bugs relating to NUL in input file name,
1292 e.g. with `#line 2 "x\0y"'.
1293 (PRINTF_PROTO_4): New macro.
1294 (struct {file_buf,definition,if_stack}): New member nominal_fname_len.
1295 (main, expand_to_temp_buffer): Store length of input file names.
1296 (finclude, create_definition, do_line, conditional_skip): Likewise.
1297 (skip_if_group, macroexpand): Likewise.
1298 (make_{definition,undef,assertion}): Likewise.
1299 (special_symbol, do_include): Use stored length of input file names.
1300 (do_define, do_elif, do_else, output_line_directive, verror): Likewise.
1301 (error_from_errno, vwarning, verror_with_line): Likewise.
1302 (vwarning_with_line, pedwarn_with_file_and_line): Likewise.
1303 (print_containing_files): Likewise.
1304 (do_line): Fix off-by-1 problem: 1 too many bytes were being allocated.
1305 (quote_string, pedwarn_with_file_and_line): New arg specifies length.
1306 All callers changed.
1307
1308Sun Mar 15 15:38:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1309
1310 * c-typeck.c: Collect pending initializers in AVL tree instead of list.
1311 (add_pending_init, pending_init_member): New functions.
1312 (output_init_element): Use them.
1313 (output_pending_init_elements): Rewritten to exploit AVL order.
1314
1315Sun Mar 15 05:10:49 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1316
1317 * gnu.h (GNU_CPP_PREDEFINES): Deleted; not valid in traditional C.
1318 * {i386,mips}/gnu.h (CPP_PREDEFINES): Don't call GNU_CPP_PREDEFINES.
1319
1320 * flow.c (insn_dead_p): A CLOBBER of a dead pseudo is dead.
1321
1322 * alpha.h (REG_ALLOC_ORDER): Put $f1 after other nonsaved.
1323
1324 * sparc.c (sparc_type_code): Fix error in previous change.
1325
1326Sat Mar 14 05:45:21 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1327
1328 * i386/xm-aix.h, i386/xm-osf.h (i386/xm-i386.h): Don't include.
1329 (USG): Don't define.
1330 * i386/xm-isc.h (i386/xm-sysv3.h): Don't include.
1331 * i386/xm-sco.h (i386/xm-sysv3.h): Likewise.
1332 (BROKEN_LDEXP, SMALL_ARG_MAX, NO_SYS_SIGLIST): Don't define.
1333 * m68k/xm-3b1.h (m68k/xm-m68k.h): Don't include.
1334 (USG): Don't define.
1335 * m68k/xm-atari.h (m68k/xm-m68kv.h): Don't include.
1336 (HAVE_VPRINTF, FULL_PROTOTYPES): Don't define.
1337 * m68k/xm-crds.h (m68k/xm-m68k.h): Don't include.
1338 (USE_C_ALLOCA, unos, USG): Don't define.
1339 * m68k/xm-mot3300.h (m68k/xm-m68k.h): Don't include.
1340 (USE_C_ALLOCA, NO_SYS_SIGLIST): Don't define.
1341 * m68k/xm-plexus.h (m68k/xm-m68k.h): Don't include.
1342 (USE_C_ALLOCA, USG): Don't define.
1343 * m88k/xm-sysv3.h (m88k/xm-m88k.h): Don't include.
1344 * m68k/xm-next.h (m68k/xm-m68k.h): Don't include.
1345 * ns32k/xm-pc532-min.h (ns32k/xm-ns32k.h): Don't include.
1346 (USG): Don't define.
1347 * rs6000/xm-mach.h: Don't include xm-rs6000.h.
1348 * rs6000/xm-cygwin32.h (rs6000/xm-rs6000.h): Don't include.
1349 (NO_STAB_H): Don't define.
1350 * sparc/xm-linux.h (xm-linux.h): Don't include.
1351 * sparc/xm-sol2.h (sparc/xm-sysv4.h): Don't include.
1352 * a29k/xm-unix.h, alpha/xm-linux.h, arm/xm-linux.h: Deleted.
1353 * arm/xm-netbsd.h, i386/xm-bsd386.h, i386/xm-gnu.h: Deleted.
1354 * i386/xm-linux.h, i386/xm-sun.h, i386/xm-sysv3.h: Deleted.
1355 * i386/xm-winnt.h, m68k/xm-altos3068.h, m68k/xm-amix.h: Deleted.
1356 * m68k/xm-amix.h, m68k/xm-hp320.h, m68k/xm-linux.h: Deleted.
1357 * m68k/xm-m68kv.h, mips/xm-iris5.h, ns32k/xm-genix.h: Deleted.
1358 * sparc/xm-pbd.h, vax/xm-vaxv.h, xm-svr3.h, xm-linux.h: Deleted.
1359 * configure.in: Reflect above changes.
1360
1361 * xm-siglist.h, xm-alloca.h: New files.
1362 * i386/xm-sysv4.h (i386/xm-i386.h, xm-svr4.h): Don't include.
1363 (USE_C_ALLOCA, SMALL_ARG_MAX): Don't define.
1364 * i386/xm-sco5.h (i386/xm-sysv3.h): Don't include.
1365 (SYS_SIGLIST_DECLARED, USE_C_ALLOCA): Don't define.
1366 * rs6000/xm-sysv4.h, sparc/xm-sysv4.h: Don't include xm-svr4.h.
1367 * xm-svr4.h, i386/xm-dgux.h, mips/xm-news.h, mips/xm-sysv4.h: Deleted.
1368 * configure.in: Reflect above changes.
1369
1370 * configure.in ({,host_,build_}xm_defines): New variables.
1371 Set to USG instead of including xm-usg.h.
1372 Write #define lines in config.h files from xm_defines vars.
1373 * xm-usg.h: Deleted.
1374
1375Fri Mar 13 07:10:59 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1376
1377 * calls.c (expand_call): Fix typo in previous change.
1378
1379 * sparc.c (sparc_type_code): Avoid infinite loop when have
1380 pointer to array of same pointer.
1381 (sparc_type_code, case REAL_TYPE): Process subtypes here too.
1382
1383 * mips/bsd-4.h, mips/iris3.h, mips/news{4,5}.h: Don't include mips.h.
1384 * mips/news5.h, mips/osfrose.h, mips/svr{3,4}-4.h: Likewise.
1385 * mips/ultrix.h: Likewise.
1386 * mips/cross64.h: Don't include iris6.h.
1387 * mips/ecoff.h: Don't include mips.h or gofast.h.
1388 * mips/elforion.h: Don't include elf64.h.
1389 * mips/iris4.h: Don't include iris3.h.
1390 * mips/iris4loser.h: Don't include iris4.h.
1391 * mips/iris5gas.h: Don't include iris5.h.
1392 * mips/elflorion.h, mips/nws3250v4.h, mips/xm-iris{3,4}.h: Deleted.
1393 * mips/xm-nws3250v4.h, mips/xm-sysv.h: Deleted.
1394 * mips/rtems64.h: Don't include elflorion.h.
1395 * mips/sni-gas.h: Don't include sni-svr4.h.
1396 * mips/svr4-t.h: Don't include svr4-5.h.
1397 * mips/dec-osf1.h: Also include mips.h.
1398 * mips/ecoffl.h, mips/elf.h: Also include mips.h and gofast.h.
1399 * mips/iris5.h: Also include iris3.h and mips.h.
1400 * xm-usg.h: New file.
1401 * mips/xm-iris5.h: Don't include xm-mips.h; don't define USG.
1402 * mips/xm-news.h, mips/xm-sysv4.h: Don't include xm-sysv.h.
1403 * configure.in: Reflect above changes.
1404
1405Thu Mar 12 07:18:48 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1406
1407 * expr.h (STRICT_ARGUMENT_NAMING): Provide default value of 0.
1408 * calls.c (expand_call): Use value of STRICT_ARGUMENT_NAMING.
1409 * function.c (assign_parm): Likewise.
1410 * mips/abi64.h (STRICT_ARGUMENT_NAMING): Return 0 for ABI_32.
1411 * sparc.h (STRICT_ARGUMENT_NAMING): Only nonzero for V9.
1412
1413 * calls.c (expand_call, expand_library_call{,_value}, store_one_arg):
1414 Rework handling of REG_PARM_STACK_SPACE to treat return value of
1415 zero as if macro not defined; add new arg to emit_push_insn.
1416 * expr.c (emit_push_insn): New arg, REG_PARM_STACK_SPACE.
1417 * expr.h (emit_push_insn): Likewise.
1418 * mips/abi64.h (REG_PARM_STACK_SPACE): Define.
1419
1420Wed Mar 11 06:58:13 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1421
1422 * m68k.h (CONST_OK_FOR_LETTER_P, case 'M'): Correct range check.
1423
1424Wed Mar 11 06:15:52 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1425
1426 * expr.c (emit_push_insn): Use loop to find movstr patterns
1427 instead of explicit tests.
1428
1429 * Makefile.in (extraclean): Don't delete install1.texi.
1430
1431Tue Mar 10 14:27:51 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1432
1433 * combine.c (make_field_assignment): Don't get confused if OTHER
1434 has VOIDmode and don't do anything if DEST is wider than a host word.
1435
1436 * vax.c (check_float_value): Cast bcopy args to char *.
1437
1438Tue Mar 10 13:56:12 1998 Jim Wilson <wilson@cygnus.com>
1439
1440 * mips/abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and
1441 TARGET_DEFAULT and define __LONG_MAX__ appropriately.
1442 Add support for -mabi=X, -mlong64, and -mgp{32,64} options.
1443 * mips.c (mips_abi): Change type to int.
1444 * mips.h (enum mips_abi_type): Delete.
1445 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
1446 (mips_abi): Change type to int.
1447
1448Mon Mar 2 08:06:58 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1449
1450 * Version 2.8.1 released.
1451
1452 * Makefile.in (mostlyclean): Remove duplicate deletion of temp
1453 files. Delete more stamp files and [df]p-bit.c
1454 (clean): Don't delete stamp files here.
1455 (VERSION_DEP): New variable.
1456 (distdir-finish): Pass a value of null for it.
1457 (version.c): Use it.
1458 Avoid broken pipe with cvs log.
1459
1460 * objc/Make-lang.in (objc/runtime-info.h): Rename emptyfile to
1461 tmp-runtime and delete at end.
1462
1463Sun Mar 1 05:50:25 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1464
1465 * tree.c (build_reference_type): Handle obstacks like
1466 build_pointer_type.
1467
1468 * Makefile.in (tmp-gcc.xtar): Renamed from gcc.xtar.
1469 (gcc.xtar.gz): Deleted; merged with `dist'.
1470 (diff): Create gcc-$(oldversion)-$(version).diff.
1471 (distdir): Depend on distdir-cvs.
1472 (distdir-cvs): New rule.
1473 (distdir-start): Depend on version.c and TAGS.
1474 (TAGS): Use tmp-tags instead of temp.
1475 (dist): Create gcc-$(version).tar.gz.
1476
1477 * varasm.c (compare_constant_1): Fix typo in previous change.
1478
1479 * objc/Make-lang.in (objc-distdir): Properly rebuild objc-parse.c.
1480
1481Sat Feb 28 16:58:08 1998 Tristan Gingold <gingold@rossini.enst.fr>
1482
1483 * stmt.c (expand_decl): If -fcheck-memory-usage, put vars in memory.
1484 * expr.c (get_memory_usage_from_modifier): Convert
1485 EXPAND_{CONST_ADDRESS, INITIALIZER} to MEMORY_USE_DONT.
1486
1487Sat Feb 28 08:13:43 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1488
1489 * i860/fx2800.h (DATA_ALIGNMENT): Use POINTER_TYPE_P.
1490 * m68k/a-ux.h (FUNCTION_VALUE): Likewise.
1491 * expr.c (get_pointer_alignment, compare, do_store_flag): Likewise.
1492 (expand_builtin): Likewise.
1493 * fold-const.c (force_fit_type, fold_convert, fold): Likewise.
1494 * function.c (assign_parms): Likewise.
1495 * integrate.c (expand_inline_function): Likewise.
1496 * sdbout.c (sdbout_field_types): Likewise.
1497 * tree.c (integer_pow2p, tree_log2, valid_machine_attribute): Likewise.
1498 * stmt.c (expand_decl): Likewise.
1499 ({,bc_}expand_decl_init): Also test for REFERENCE_TYPE.
1500
1501 * configure.in (version_dep): New variable; if srcdir is CVS working
1502 directory, set to ChangeLog.
1503 (version): Supply default if no version.c.
1504 * Makefile.in (version.c): New rule.
1505
1506 * gcc.c (snapshot_warning): New function.
1507 (main): Call it for snapshots.
1508
1509 * dwarf2out.c (expand_builtin_dwarf_reg_size): If reg_raw_mode
1510 not valid for reg, use last size. Also refine range assertion.
1511
1512Sat Feb 28 05:04:47 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
1513
1514 * enquire.c (cprop): Don't perform exhaustive search for char_min
1515 and char_max when bits_per_byte > 16.
1516
1517Thu Feb 26 15:12:03 1998 Christopher Taylor <cit@ckshq.com>
1518
1519 * fixincludes: Avoid using '0-~' in egrep.
1520
1521Thu Feb 26 08:04:05 1998 Tristan Gingold <gingold@messiaen.enst.fr>
1522
1523 * function.c (assign_parms): Call 'chkr_set_right' when DECL_RTL
1524 is stack_parm.
1525 * expr.c (get_memory_usage_from_modifier): Convert
1526 EXPAND_{SUM, CONST_ADDRESS, INITIALIZER} to MEMORY_USE_RO.
1527
1528Thu Feb 26 07:33:53 1998 Paul Eggert <eggert@twinsun.com>
1529
1530 * c-lex.c (yylex): Don't munge errno before using it.
1531 * cccp.c (error_from_errno, perror_with_name): Likewise.
1532 * cpplib.c (cpp_error_from_errno): Likewise.
1533 * gcc.c (pfatal_pexecute): Likewise.
1534 * protoize.c (safe_write, find_file, process_aux_info_file): Likewise.
1535 (rename_c_file, edit_file): Likewise.
1536
1537 * c-lex.c (yylex): Remove unused variable exceeds_double.
1538
1539Thu Feb 26 07:05:14 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
1540
1541 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
1542 if condition code of jump conflicts with opposite_needed.
1543
1544Thu Feb 26 06:45:23 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1545
1546 * Makefile.in (distdir-start): Don't copy CVS subdirectory of config.
1547
1548 * varasm.c ({compare,record}_constant_1, case CONSTRUCTOR):
1549 Handle the case when we have TREE_PURPOSE values.
1550
1551Thu Feb 26 05:59:01 1998 Philippe De Muyter <phdm@macqel.be>
1552
1553 * fixincludes (sys/limits.h): Fix a nested comment problem with
1554 HUGE_VAL definition on sysV68 R3V7.1.
1555
1556Wed Feb 25 21:09:38 1998 Philippe De Muyter <phdm@macqel.be>
1557
1558 * toplev.c (TICKS_PER_SECOND): Renamed from CLOCKS_PER_SECOND.
1559
1560Wed Feb 25 20:50:08 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
1561
1562 * reorg.c (fill_slots_from_thread): Mark resources referenced in
1563 opposite_needed thread. Return delay_list even when cannot get
1564 any more delay insns from end of subroutine.
1565
1566Wed Feb 25 19:50:01 1998 Mikael Pettersson <Mikael.Pettersson@sophia.inria.fr>
1567
1568 * gcc.c (lookup_compiler): Remove redundant test.
1569
1570Wed Feb 25 07:24:22 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1571
1572 * vax.md (call insns): Second operand to CALL rtl is SImode.
1573
1574 * configure.in (i[34567]86-*-mingw32): Support msv and crt suffix.
1575 * i386/crtdll.h: New file.
1576
1577 * sparc.c (pic_setup_code): If -O0, write USE of pic_offset_table_rtx.
1578
1579 * expr.c (safe_from_p): Add new arg, TOP_P; all callers changed.
1580
1581Sat Feb 21 07:02:39 1998 Jim Wilson <wilson@cygnus.com>
1582
1583 * mips/iris5.h (DWARF2_UNWIND_INFO): Define to 0.
1584 * mips/iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
1585
1586Fri Feb 20 08:27:46 1998 Paul Eggert <eggert@twinsun.com>
1587
1588 * sparc/sol2-sld.h: New file.
1589 * configure.in (sparc-*-solaris2*): Use it when using system linker.
1590 * toplev.c (main): Don't default to DWARF2_DEBUG with -ggdb
1591 if LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
1592
1593Fri Feb 20 08:21:49 1998 H.J. Lu (hjl@gnu.org)
1594
1595 * alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Support shared library.
1596 (LIB_SPEC, DEFAULT_VTABLE_THUNKS): Defined #ifndef USE_GNULIBC_1.
1597 * sparc/linux.h (DEFAULT_VTABLE_THUNKS): Likewise.
1598 (LIB_SPEC): Add -lc for -shared #ifndef USE_GNULIBC_1.
1599 * linux.h (LIB_SPEC): Likewise.
1600 * sparc/linux64.h (LIB_SPEC): Likewise; also updated for glibc 2.
1601 (LIBGCC_SPEC): Removed.
1602 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
1603
1604Fri Feb 20 05:22:12 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1605
1606 * Makefile.in (distdir-start): Add dependence on bi-parser.[ch].
1607
1608Thu Feb 19 18:07:11 1998 Jim Wilson <wilson@cygnus.com>
1609
1610 * m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
1611 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
1612
1613Wed Feb 18 09:37:29 1998 Paul Eggert <eggert@twinsun.com>
1614
1615 * fixincludes (stdlib.h): Do not double-wrap the size_t typedef.
1616
1617Wed Feb 18 07:32:11 1998 Jim Wilson <wilson@cygnus.com>
1618
1619 * i960.c (emit_move_sequence): Handle unaligned stores to pseudos.
1620 * i960.md (store_unaligned_[dt]i_reg): Handle register dest.
1621 (store_unaligned_ti_reg): Likewise.
1622
1623 * m68k.h (MACHINE_STATE_{SAVE,RESTORE} [MOTOROLA]): Add %# and %/;
1624 add : to make them into extended asms.
1625
1626Wed Feb 18 07:08:05 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1627
1628 * reg-stack.c (compare_for_stack_reg): Only handle FP conditional
1629 move as next insn specially.
1630
1631 * reload.c (find_reloads): Always convert address reload for
1632 non-reloaded operand to RELOAD_FOR_OPERAND_ADDRESS.
1633
1634 * emit-rtl.c (hard-reg-set.h): Include.
1635 (get_lowpart_common): Don't make new REG for hard reg in a
1636 class that cannot change size.
1637 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
1638
1639Sat Feb 14 09:59:00 1998 Richard Earnshaw (rearnsha@arm.com)
1640
1641 * arm.md (movsfcc): Also validate operands[3] for hard float.
1642 (movdfcc): Only accept fpu_add_operand for operands[3].8
1643
1644Sat Feb 14 09:32:34 1998 Jim Wilson <wilson@cygnus.com>
1645
1646 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
1647 Convert CCmode to word_mode before calling GET_MODE_SIZE.
1648
1649Sat Feb 14 09:27:42 1998 David Edelsohn <edelsohn@mhpcc.edu>
1650
1651 * rs6000.h (MY_ISCOFF): Check for U803XTOCMAGIC.
1652
1653Sat Feb 14 08:29:43 1998 Arvind Sankar <arvind@cse.iitb.ernet.in>
1654
1655 * t-svr4 (TARGET_LIBGCC_CFLAGS): New definition.
1656
1657Sat Feb 14 07:45:16 1998 Ken Rose (rose@acm.org)
1658
1659 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
1660 All callers changed.
1661
1662Sat Feb 14 07:14:02 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1663
1664 * reload.c (debug_reload): Properly output insn codes.
1665
1666 * pa.c (emit_move_sequence): If in reload, call find_replacement.
1667
1668 * gansidecl.h (bcopy, bzero, {,r}index): Don't define if IN_LIBGCC2.
1669
1670 * combine.c (distribute_notes, case REG_DEAD): When seeing if place
1671 to put new note sets register, use reg_bitfield_target_p, as in
1672 original code.
1673
1674 * gcc.c (process_command): If file is for linker, set lang to "*".
1675 (lookup_compiler): Return 0 for language of "*".
1676
1677 * sched.c (attach_deaths, case SUBREG): Fix error in last change.
1678
1679 * i386.md (mov[sdx]fcc): Disable for now.
1680 (mov[sd]fcc_1): Add earlyclobber for output on last alternative.
1681
1682Sat Feb 14 06:42:50 1998 Jason Merrill <jason@yorick.cygnus.com>
1683
1684 * except.c (get_dynamic_handler_chain): Only make call once per func.
1685 (expand_fixup_region_{start,end}): New functions.
1686 (expand_eh_region_start_tree): Store cleanup into finalization here.
1687 * stmt.c (expand_cleanups): Use new functions to protect fixups.
1688
1689 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
1690 * optabs.c (init_optabs): Don't init get_dynamic_handler_chain_libfunc.
1691 * expr.h (get_dynamic_handler_chain_libfunc): Deleted.
1692
1693Sat Feb 14 06:34:41 1998 Peter Lawrence <Peter.Lawrence@Eng.Sun.COM>
1694
1695 * optabs.c (emit_conditional_move): Don't reverse condition for FP.
1696
1697Fri Feb 13 07:22:04 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1698
1699 * Makefile.in (mostlyclean): Only use s-* convention for stamp
1700 files in main dir.
1701
1702 * configure.in: Add support for i786 (Pentium II); same as i686.
1703
1704Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
1705
1706 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
1707
1708Thu Feb 12 10:08:14 1998 John Hassey <hassey@dg-rtp.dg.com>
1709
1710 * configure.in (i[3456]86-dg-dgux*): Don't need fixincludes.
1711
1712Thu Feb 12 07:27:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
1713
1714 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Define.
1715 about system headers.
1716 (LIB_SPEC): Add -ladvapi32 -lshell32.
1717
1718Thu Feb 12 07:19:31 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1719
1720 * expr.c (expand_assignment): Fix typo in checking OFFSET.
1721
1722 * gbl-ctors.h (atexit): Don't define unless needed.
1723
1724 * combine.c (distribute_notes): Completely check for note operand being
1725 only partially set on potential note target; adjust what notes
1726 we make in that case.
1727
1728 * i386/xm-go32.h (HAVE_{BCOPY,BZERO,INDEX,RINDEX}): Deleted.
1729
1730Wed Feb 11 08:53:27 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1731
1732 * calls.c (emit_call_1): Size args now HOST_WIDE_INT.
1733 (expand_call): struct_value_size now HOST_WIDE_INT.
1734
1735Tue Feb 10 09:04:39 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1736
1737 * integrate.c (initialize_for_inline): Ensure DECL_INCOMING_RTL
1738 is always copied.
1739
1740Tue Feb 10 06:10:49 1998 Paul Eggert <eggert@twinsun.com>
1741
1742 * cccp.c (rescan): Fix bug with macro name appearing
1743 immediately after L'x'.
1744
1745Mon Feb 9 20:45:32 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1746
1747 * c-common.c (format_char_info): Add new field zlen.
1748 (print_char_table): Remove entry for 'Z' as a format character.
1749 Initialize zlen field as appropriate.
1750 (scan_char_table): Set zlen field to NULL in each entry.
1751 (check_format_info): Recognize 'Z' as a length modifier, with a
1752 warning in pedantic mode.
1753 Avoid infinite loop when a repeated flag character is detected.
1754
1755Mon Feb 9 09:24:04 1998 Paul Eggert <eggert@twinsun.com>
1756
1757 * c-parse.in (primary): Minor wording fix in diagnostic.
1758
1759Mon Feb 9 07:50:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1760
1761 * c-decl.c (grokdeclarator): Remove warning on inline of varargs.
1762
1763 * reload.c (find_reloads): Check for const_to_mem case before
1764 checking for invalid reload; use force_const_mem if no_input_reloads.
1765
1766 * function.c (push_function_context_to): Call init_emit last.
1767
1768 * protoize.c (my_link): Define as -1 in mingw32.
1769 (link): Remove declaration.
1770
1771 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
1772
1773 * integrate.c (expand_inline_function): Clear label_map with bzero.
1774
1775 * unroll.c (copy_loop_body, case JUMP_INSN): Correct error in last
1776 change: call single_set on COPY, not INSN.
1777
1778Sun Feb 8 08:07:37 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1779
1780 * msdos/top.sed, winnt/config-nt.sed: Change version number to 2.8.1.
1781
1782 * configure.in (i[3456]86-*-sco3.2v5*): Use cpio for headers.
1783
1784Sat Feb 7 07:32:46 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1785
1786 * i386/mingw32.h (LIBGCC_SPEC, STARTFILE_SPEC, MATH_LIBRARY):
1787 Use msvcrt, not crtdll.
1788
1789Fri Feb 6 20:32:06 1998 Geert Bosch <bosch@gnat.com>
1790
1791 * i386/xm-os2.h (EMX, USG, BSTRING, HAVE_{PUTENV,VPRINTF,STRERROR}):
1792 Define ifdef __EMX__.
1793 (strcasecmp): Define to be stricmp if __EMX__.
1794 (spawnv{,p}): Don't define if EMX.
1795 (OBJECT_SUFFIX): Don't define if EMX.
1796 (MKTEMP_EACH_FILE): Define.
1797
1798Fri Feb 6 16:37:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1799
1800 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
1801 (objc.stage2, objc.stage3, objc.stage4): Likewise for the
1802 respective stageN-start targets.
1803 (objc/sendmsg.o): Depend on objc/runtime-info.h.
1804
1805Fri Feb 6 16:27:09 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1806
1807 * stmt.c (expand_asm_operands): Properly treat asm statement
1808 statements with no operands as volatile.
1809
1810Fri Feb 6 16:03:25 1998 Greg McGary <gkm@gnu.org>
1811
1812 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
1813
1814Fri Feb 6 15:57:36 1998 Mumit Khan <khan@xraylith.wisc.edu>
1815
1816 * i386/cygwin32.h (STRIP_NAME_ENCODING): New macro.
1817
1818Fri Feb 6 15:50:42 1998 Paul Eggert <eggert@twinsun.com>
1819
1820 * libgcc2.c (__floatdi[xtds]f): Round properly even when rounding
1821 large negative integer to plus or minus infinity.
1822
1823Fri Feb 6 15:45:16 1998 Philippe De Muyter <phdm@macqel.be>
1824
1825 * sdbout.c (plain_type_1): Return T_DOUBLE, not T_VOID, for
1826 long double #ifndef EXTENDED_SDB_BASIC_TYPES.
1827
1828Fri Feb 6 15:23:49 1998 John David Anglin <dave@hiauly1.hia.nrc.ca>
1829
1830 * vax/ultrix.h (HAVE_ATEXIT): Define.
1831 * x-vax: File deleted.
1832
1833Fri Feb 6 14:34:19 1998 Douglas Rupp <rupp@gnat.com>
1834
1835 * gcc.c (process_command, case "-dumpversion"): Print spec_version.
1836
1837Fri Feb 6 11:01:13 1998 Josh Littlefield <josh@american.com>
1838
1839 * i386/gmon-sol2.c (internal_mcount): Do set-up when program starts
1840 and install hook to do clean-up when it exits.
1841 * i386/sol2-c1.asm (_mcount): Make a weak instead of global symbol.
1842 * i386/sol2dbg.h (ASM_SPEC): Support Solaris bundled assembler's -V
1843 argument; pass -s argument to assembler.
1844
1845Fri Feb 6 09:13:21 1998 Jim Wilson (wilson@cygnus.com)
1846
1847 * function.c (assign_parms): New variable named_arg, with value
1848 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
1849
1850 * crtstuff.c (__frame_dummy): New function for irix6.
1851 (__do_global_ctors): Call __frame_dummy for irix6.
1852 * mips/iris6.h (LINK_SPEC): Hide __frame_dummy too.
1853
1854Fri Feb 6 09:08:21 1998 Mike Stump <mrs@wrs.com>
1855
1856 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after reload.
1857 * genattrtab.c (reload_completed): Define.
1858
1859 * configure.in (i960-wrs-vxworks): Same as i960-wrs-vxworks5*.
1860
1861Fri Feb 6 08:47:38 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1862
1863 * Makefile.in (diff): Add INSTALL, configure, and config.in;
1864 remove objc-*.
1865 * objc/config-lang.in (diff_excludes): Add objc-parse.[cy].
1866
1867 * i386/xm-mingw32.h (link): Delete macro.
1868
1869 * alpha.c (output_prolog): Write out frame sizes as longs and
1870 print too large sizes as zero.
1871
1872 * function.c (combine_temp_slots): No need to allocate and free rtx.
1873 Don't do anything if too many slots in the list.
1874 (put_var_into_stack): Don't use ADDRESSOF if not optimizing.
1875
1876 * function.c (purge_addressof_1): Force into mem if VOLATILE reference.
1877
1878 * calls.c (expand_call): Show VAR_DECL made for structure return
1879 address is used; remove bogus set of MEM_IN_STRUCT_P.
1880 * expr.c (expand_expr, case SAVE_EXPR, case TARGET_EXPR): Show used.
1881 (expand_builtin, case BUILT_IN_LONGJMP): Show __dummy used.
1882 * function.c (put_reg_into_stack): New arg USED_P; all callers changed.
1883
1884 * expr.c (expand_expr, case SAVE_EXPR): assign_temp with KEEP of 3.
1885 * function.c (var_temp_slot_level): New variable.
1886 (push_function_context_to, pop_function_context_from): Save/restore
1887 it and target_temp_slot_level.
1888 (assign_stack_temp): Implement KEEP of 3.
1889 (push_temp_slots_for_block): New function.
1890 (init_temp_slots): Initialize var_temp_slot_level.
1891 * function.h (struct function, fields {var,target}_temp_slot_level):
1892 New fields.
1893 * stmt.c (expand_start_bindings): Call push_temp_slots_for_block.
1894
1895 * function.c (struct temp_slot): SIZE, BASE_OFF_SET, and FULL_SIZE
1896 now HOST_WIDE_INT.
1897 (assign_{,outer_}stack_local, assign_{,stack_}temp): Size arg is
1898 now HOST_WIDE_INT.
1899 (assign_stack_temp): Do size computations in HOST_WIDE_INT.
1900 (fixup_var_refs_1, optimize_bit_field, instantiate_decls): Likewise.
1901 (instantiate_virtual_regs_1, fix_lexical_address): Likewise.
1902 * rtl.h (assign_stack_{local,temp}): Size arg is HOST_WIDE_INT.
1903 (assign_temp): Likewise.
1904 * expr.h (struct args_size): Field CONSTANT is now HOST_WIDE_INT.
1905
1906 * sched.c (attach_deaths, case REG): Don't check for REG_UNUSED.
1907 (attach_deaths, case SUBREG, STRICT_LOW_PART, {ZERO,SIGN}_EXTRACT):
1908 Don't pass set_p of 1 if partial assignment.
1909
1910 * tree.h (size_in_bytes): Returns HOST_WIDE_INT.
1911 * tree.c (size_in_bytes): Likewise.
1912 Tighen up logic some to avoid returning a bogus value instead of -1.
1913
1914 * expr.c (get_inner_reference, case ARRAY_EXPR): Make WITH_RECORD_EXPR
1915 just for index.
1916 (expand_expr, case PLACEHOLDER_EXPR): Refine search again; look
1917 at each expression and look for pointer to type.
1918
1919 * expr.c (safe_from_p, case ADDR_EXPR): If TREE_STATIC, no trampoline.
1920 (expand_expr, case ADDR_EXPR): Likewise.
1921
1922 * expr.c (emit_block_move): Use conservative range for movstr mode.
1923
1924 * configure.in: See if "cp -p" works if "ln -s" doesn't; else "cp".
1925
1926 * combine.c (try_combine.c): Pass elim_i2 and elim_i1 to
1927 distribute_notes for i3dest_killed REG_DEAD note.
1928
1929 * configure.in (mips-dec-netbsd*): Remove bogus setting of prefix.
1930
1931 * c-decl.c (duplicate_decls): Set DECL_IGNORED_P in newdecl if
1932 different bindings levels.
1933
1934 * configure.in: Test ln -s by symlinking gcc.c.
1935
1936 * configure.in (i[3456]86-dg-dgux): Add wildcard for version.
1937
1938 * crtstuff.c (__do_global_ctors_aux): Switch back to text section
1939 in proper place.
1940
1941 * rtlanal.c (rtx_varies_p, case REG): pic_offset_table_rtx is fixed.
1942 * genattrtab.c (pic_offset_table_rtx): Define (dummy).
1943 * cse.c (set_nonvarying_address_components): Understand PIC refs.
1944
1945 * loop.c (strength_reduce): When placing increment for auto-inc
1946 case, do comparison in loop order.
1947
1948 * i860.c (output_delayed_branch): Add missing arg to recog.
1949 (output_delay_insn): Add missing arg to constrain_operands.
1950
1951 * configure.in: Truncate target after finished comparing it with host.
1952
1953 * i386.h (MAX_FIXED_MODE_SIZE): Delete.
1954
1955 * c-parse.in (expr_no_comma): Clarify undefined error.
1956
1957 * prefix.c (get_key_value): Don't default to PREFIX here.
1958 (translate_name): Remove bogus addition of "$" if getenv fails;
1959 clean up application of default value of PREFIX.
1960
1961 * fold-const.c (fold_convert): Call force_fit_type even if input
1962 already overflows.
1963
1964Fri Feb 6 07:45:01 1998 Robert Hoehne <robert.hoehne@gmx.net>
1965
1966 * i386/xm-go32.h (HAVE_{BCOPY,BZERO,BCMP,RINDEX,INDEX}): Define.
1967
1968 * gcc.c (main): Treat paths starting with '$' or DOS drives
1969 as absolute in standard_startfile_prefix.
1970
1971Thu Feb 5 21:07:12 1998 John David Anglin <dave@hiauly1.hia.nrc.ca>
1972
1973 * cpplib.c (IS_INCLUDE_DIRECTIVE_TYPE): Add casts from enum to int.
1974 * cccp.c (IS_INCLUDE_DIRECTIVE_TYPE, handle_directive): Likewise.
1975
1976Thu Feb 5 19:00:44 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1977
1978 * expr.c (expand_expr, case CONSTRUCTOR): Correct shift count
1979 when making signed bit field; use EXPAND_NORMAL, not 0.
1980
1981Thu Feb 5 17:42:43 1998 Manfred Hollstein <manfred@s-direktnet.de>
1982
1983 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
1984 stuff only if MCT_TEXT is #define'd.
1985
1986Thu Feb 5 17:32:01 1998 Robert Hoehne <robert.hoehne@gmx.net>
1987
1988 * Makefile.in: Changed most stamp-* to s-*.
1989
1990Tue Feb 3 19:45:50 1998 James Hawtin <oolon@ankh.org>
1991
1992 * i386/sol2.h (STARTFILE_SPEC, LIB_SPEC): Update -pg files.
1993 * configure.in (i[3456]86-*-solaris2*): Add gcrt1.o and gmon.o
1994 to extra_parts.
1995
1996Tue Feb 3 17:28:48 1998 Christopher C Chimelis <chris@classnet.med.miami.edu>
1997
1998 * configure.in (alpha*-*-linux-gnu*): Add extra_parts for crtstuff.
1999
2000Tue Feb 3 17:18:19 1998 Richard Earnshaw <rearnsha@arm.com>
2001
2002 * arm.c (find_barrier): Fix one-too-many bug if fail to find barrier.
2003
2004 * arm.c (arm_reload_in_hi): Handle cases where the MEM is too
2005 complex for a simple offset.
2006
2007Tue Feb 3 16:14:21 1998 Robert Hoehne <robert.hoehne@gmx.net>
2008
2009 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
2010
2011 * configure.in (i[3456]86-pc-msdosdjgpp*): New entry.
2012
2013Tue Feb 3 07:33:58 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2014
2015 * explow.c (probe_stack_range): Properly check for small
2016 number of probes.
2017
2018 * gcc.c (process_command, case 'V'): Validate arg.
2019
2020 * configure.in (sbrk): Add check for needed declaration.
2021 * acconfig.h (NEED_DECLARATION_SBRK): New entry.
2022 * toplev.c (sbrk): Update declaration conditional.
2023 * mips-tfile.c (sbrk, free): Likewise.
2024
2025 * sparc/sysv4.h (DBX_REGISTER_NUMBER): Remove abort.
2026
2027 * mips.c (mips_expand_prologue): Pass reg 25 to gen_loadgp.
2028 * mips.md (loadgp): Add second operand for register number to add.
2029 (builtin_setjmp_receiver): Pass new label and reg 31 to loadgp.
2030
2031 * toplev.c: Include insn-codes.h, insn-config.h, and recog.h.
2032 (compile_file): Try to emit nop to separate gcc_compiled symbol.
2033 * Makefile.in (toplev.o): Depends on insn-{codes,config}.h, recog.h.
2034
2035Tue Feb 3 06:58:46 1998 Mark Mitchell <mmitchell@usa.net>
2036
2037 * integrate.c (get_label_from_map): New function.
2038 (expand_inline_function): Use it.
2039 Initialize label_map to NULL_RTX instead of gen_label_rtx.
2040 (copy_rtx_and_substitute): Use get_label_from_map.
2041 * integrate.h (get_label_from_map): New function.
2042 (set_label_from_map): New macro.
2043 * unroll.c (unroll_loop, copy_loop_body): Use them.
2044
2045Mon Feb 2 16:33:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2046
2047 * i386.md (mov{si,hi,sf,df,xf}cc{,_1}): Remove cases with branches.
2048
2049 * rs6000/x-aix31 (INSTALL): Deleted.
2050 * mips/x-dec-osf1, mips/x-osfrose, i386/x-osfrose: Likewise.
2051 * arm/x-riscix: Likewise.
2052
2053 * c-typeck.c (signed_or_unsigned_type): Properly handle pointer types.
2054
2055Mon Feb 2 15:33:58 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
2056
2057 * unroll.c (copy_loop_body): Use single_set instead of
2058 PATTERN to detect increment of an iv inside a PARALLEL.
2059
2060Fri Jan 16 20:29:50 1998 Paul Eggert <eggert@twinsun.com>
2061
2062 * toplev.c (<unistd.h>): New include.
2063 (get_run_time): Prefer CLK_TCK (if available) to HZ, and
2064 prefer sysconf (_SC_CLK_TCK) (if available) to CLK_TCK.
2065 * configure.in (sysconf): Call AC_CHECK_FUNCS.
2066
2067Wed Jan 14 20:10:51 1998 Paul Eggert <eggert@twinsun.com>
2068
2069 * cccp.c: (rescan): Don't report line 0 as the possible real start
2070 of an unterminated string constant.
2071 Don't mishandle backslash-newlines that in are the output of
2072 a macro expansion. Properly skip // style comments between a function
2073 macro name and '(', as well as backslash-newlines in comments there.
2074 (handle_directive): Handle / \ newline * between # and directive name.
2075 In #include directives, \ does not escape ".
2076 (do_include): For `#include "file', do not bother expanding into temp
2077 buffer. When error encountered when expanding, do not try result.
2078 (skip_if_group): When skipping an include directive, use include
2079 tokenization, not normal tokenization. Backslash-newline is still
2080 special when skipping. Handle * \ newline / correctly in comments
2081 when skipping.
2082 (skip_quoted_string): After \ newline, set *backslash_newlines_p
2083 even if count_newlines is 0.
2084 (macroexpand): Newline space is not a special marker inside a string.
2085 (macroexpand, macarg): Do not generate \ddd for control characters
2086 when stringifying; the C Standard does not allow this.
2087 (macarg1): New arg MACRO. All callers changed.
2088 Do not treat /*, //, or backslash-newline specially when processing
2089 the output of a macro.
2090 (discard_comments): Don't go past limit if looking for end of comment.
2091 Discard backslash-newline properly when discarding comments.
2092 (change_newlines): \" does not end a string.
2093 (make_definition): Do not treat backslash-newline specially, as it
2094 has already been removed before we get here.
2095
2096 * profile.c (output_func_start_profiler): Don't fflush output
2097 if -quiet.
2098 * toplev.c (rest_of_compilation): Likewise.
2099
2100 * i386/x-sco5 (CC): Remove trailing white space.
2101 * x-convex (CCLIBFLAGS): Likewise.
2102 * arm/t-semi (LIBGCC2_CFLAGS): Likewise.
2103
2104Wed Jan 7 18:02:42 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2105
2106 * Version 2.8.0 released.
2107
2108Wed Jan 7 17:54:41 1998 J. Kean Johnston <jkj@sco.com>
2109
2110 * i386/sco5.h ({END,START}FILE_SPEC): Link with correct crtbegin.o
2111 and crtend.o when using -static.
2112
2113Wed Jan 7 17:49:14 1998 Jan Christiaan van Winkel <Jan.Christiaan.van.Winkel@ATComputing.nl>
2114
2115 * cppexp.c (gansidecl.h): Include.
2116
2117Wed Jan 7 17:45:07 1998 Tristan Gingold <gingold@puccini.enst.fr>
2118
2119 * expr.c (get_push_address): Use copy_to_reg instead of force_operand.
2120 (emit_push_insn): Avoid null pointer deference if aggregate has no
2121 types.
2122 (expand_expr): Avoid finite but useless recursion.
2123 (expand_builtin): Fix typo in calling function.
2124 * function.c (assign_parms): Avoid useless call to chkr_set_right.
2125
2126Wed Jan 7 17:31:13 1998 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
2127
2128 * combine.c (force_to_mode): Return if operand is a CLOBBER.
2129
2130Wed Jan 7 17:23:24 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2131
2132 * x-rs6000 (INSTALL): Remove.
2133
2134 * jump.c (jump_optimize): Don't use a hard reg as an operand
2135 of a conditional move if small register classes.
2136
2137Wed Jan 7 17:09:28 1998 Jim Wilson <wilson@cygnus.com>
2138
2139 * cse.c (max_insn_uid): New variable.
2140 (cse_around_loop): Use it.
2141 (cse_main): Set it.
2142
2143See ChangeLog.11 for earlier changes.
2144\f
2145Use a consistent time stamp format in ChangeLog entries.
2146Not everyone has Emacs 20 yet, so stick with Emacs 19 format for now.
2147
2148Local Variables:
2149add-log-time-format: current-time-string
2150End: