OSDN Git Service

* c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
2
3         * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
4         constants in C99 mode.
5
6 2000-07-17  Kazu Hirata  <kazu@hxi.com>
7
8         * fold-const.c: Fix comment typos.
9
10 2000-07-16  Laurynas Biveinis  <lauras@softhome.net>
11
12         * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
13
14 2000-07-16  Mark Mitchell  <mark@codesourcery.com>
15
16         * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Fix typo.
17
18 2000-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19
20         * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
21
22 2000-07-16  Neil Booth  <NeilB@earthling.net>
23
24         * cpplex.c: Update comments.
25         * README.Portability: Small update.
26
27 2000-07-16  Neil Booth  <NeilB@earthling.net>
28
29         * README.Portability:  Small update.
30
31 2000-07-15  Richard Henderson  <rth@cygnus.com>
32
33         * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
34         * config/ia64/ia64.c (ia64_move_ok): New function.
35         * config/ia64/ia64.md (movqi, movqi_internal): Use it.
36         (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
37
38 2000-07-15  Zack Weinberg  <zack@wolery.cumb.org>
39
40         * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
41         immediately following a paste operator.
42         * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
43         (cpp_reader_init): Call it, if HOST_EBCDIC.
44         (cpp_handle_options): Do not sort option list here.
45         (handle_option): Rename to cpp_handle_option and export.
46         * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
47         _cpp_get_token directly.
48         (cpp_scan_line): Return 0 at EOF, 1 otherwise.
49         * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
50         * cpplib.h: Prototype cpp_handle_option.  Update prototype of
51         cpp_scan_line.
52
53 2000-07-15  Richard Henderson  <rth@cygnus.com>
54
55         * fold-const.c (extract_muldiv): Don't optimize past an unsigned
56         cast around an expression.  Tidy other unsigned tests.
57
58 2000-07-15  Gabriel Dos Reis  <gdr@codesourcery.com>
59
60         * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
61         v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove. 
62         (v_message_with_decl): Rename to ...
63         (format_with_decl): ... this. Tweak
64         (diagnostic_for_decl): New function.
65         (fatal_io_error): Use verbatim in lieu of notice.
66         (announce_function): Use verbatim.
67         (default_print_error_function): Likewise.
68         (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
69         infratructure. 
70
71 2000-07-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
72
73         * mips.c (function_arg_pass_by_reference): Don't do automatic
74         aggregate initialization.
75         (machine_dependent_reorg): Initialize variable `mode'.
76         
77         * mips.md (absdi2): Change variable `regno1' to unsigned int.
78         (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
79         conflicts with sys/param.h macro of the same name.
80         (reload_outdi): Likewise.
81
82 2000-07-15  Michael Meissner  <meissner@redhat.com>
83
84         * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
85         == CONST + INCREMENT, don't overwrite the tree node for FOO++,
86         create a new node instead.
87
88 2000-07-15  Neil Booth  <NeilB@earthling.net>
89
90         * README.Portability: Correct example about calling a function
91         through a pointer to function.  Format wide paragraphs.
92
93 2000-07-15  Michael Meissner  <meissner@redhat.com>
94
95         * README.Portability: Update integer suffixes and function
96         prototype sections.
97
98 2000-07-15  Neil Booth  <NeilB@earthling.net>
99
100         * README.Portability: Small update.
101
102 2000-07-15  Neil Booth  <NeilB@earthling.net>
103
104         * README.Portability: New file.
105
106 Fri Jul 14 18:13:53 2000  Mark P Mitchell  <mark@codesourcery.com>
107
108         * INSTALL: Give special instructions for building GCC on Irix 6.
109         * config/mips/x-iris6 (CC): Don't set it.
110         (OLDCC): Likewise.
111
112 2000-07-14  Jason Merrill  <jason@redhat.com>
113
114         * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA 
115         register in the stack and later in another register, use the new
116         register.
117
118 Fri Jul 14 10:25:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
119
120         * config/mips/mips.md: (absdi2): Handle sign_extend for
121         second operand.
122
123 2000-07-14  Nathan Sidwell  <nathan@codesourcery.com>
124
125         * cpplib.c (do_pragma_dependency): Tidy warning messages.
126
127 2000-07-14  Zack Weinberg  <zack@wolery.cumb.org>
128
129         * .cvsignore: Correct typo.
130
131 2000-07-13  Mark Mitchell  <mark@codesourcery.com>
132
133         * .cvsignore: Add generated YACC files.
134         * objc/.cvsignore: New file.
135         
136 2000-07-14  Neil Booth  <NeilB@earthling.net>
137
138         * cpplex.c (adjust_column): New funcion.
139         (skip_whitespace): Use it.
140         (skip_block_comment): Use it, and warn about /*/* with
141         -Wcomments.
142
143 2000-07-14  Neil Booth  <NeilB@earthling.net>
144
145         * cpphash.c (struct macro_info): Add new members.
146         (_cpp_free_definition): Delete the macro directly.
147         (count_params): Return void, with first token of
148         expansion in struct macro_info on success.
149         (parse_define): Return int.  Hoist syntax checking from
150         save_macro_expansion.  Leave call to save_expansion to
151         _cpp_create_definition.
152         (alloc_macro): Needs just 2 arguments.
153         (free_macro): Delete.
154         (save_expansion): Don't perform syntax check.
155         (_cpp_create_definition): Call save_expansion.
156
157 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
158
159         * genrecog.c (write_header): Split long string.
160
161         * cpphash.c (macro_info): Don't use the `signed' keyword.
162
163         * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
164
165 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
166
167         * calls.c (stored_args_map): New variable.
168         (check_sibcall_argument_overlap_1): New.
169         (check_sibcall_argument_overlap): New.
170         (expand_call): Initialize stored_args_map.
171         Call check_sibcall_argument_overlap.
172
173 2000-07-13  Bruce Korb  <bkorb@gnu.org>
174
175         * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
176         (emit_gnu_type): utility procedure for gnu_type_fix
177         (gnu_type_fix): implement various pre-processor guards around
178         standard types so these types can be defined over and over
179         * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
180         types alluded to above will have GNU-compliant base types
181         * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
182         * fixinc/inclhack.def: add test_text entries and utilize the new
183         "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
184         * fixinc/fixincl.x: regenerate
185
186 2000-07-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
187
188         * diagnostic.c (vline_wrapper_message_with_location,
189         v_message_with_file_and_line, v_error_with_file_and_file,
190         v_error_for_asm, v_warning_for_asm, vfatal,
191         v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
192         vsorry, verror, vwarning, vpedwarn): Remove.
193         (diagnostic_for_asm): New function.
194         (pedwarn, error, warning, pedwarn_with_file_and_line,
195         error_with_file_and_line, warning_with_file_and_line, sorry,
196         error_for_asm, warning_for_asm, fatal): Reimplement.
197         (finish_diagnostic): Clear diagnostic info as well.
198         
199 2000-07-13  Neil Booth  <NeilB@earthling.net>
200
201         * c-common.h (flag_digraphs): New.
202         * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
203         * c-lex.c (yylex): Use flag_digraphs to decide whether to
204         honour digraphs.
205         
206 2000-07-13  Zack Weinberg  <zack@wolery.cumb.org>
207
208         * gcc.c (do_spec_1): Add new %B operator.
209         (set_input): Prepare for %B.
210
211         (link_command_spec): Move up with the other tm.h-
212         overrideable specs.  Factor out the portion conditional on
213         LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
214         (struct compiler): Just have a single spec string.  All users
215         updated.
216         (default_compilers): Remove unnecessary braces.
217         (static_specs): Update.
218
219         (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
220         named specs.
221         (C and assembly specs): Use the new named specs, as appropriate.
222
223         * objc/lang-specs.h: Use the new named specs.  
224         Remove unnecessary braces.
225
226 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
227
228         * gcc.c (execute): If a subprocess gets a fatal signal, report
229         strsignal() of the signal number, and ask for a bug report.
230         Do not do this for SIGPIPE if there's already been an error.
231
232         * tradcpp.c: Don't include signal.h.  Don't catch SIGPIPE.
233         Delete pipe_closed.
234
235         * tradcif.c: Remove.
236
237 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
238
239         * final.c (profile_function): Do not emit profile counters in
240         the data section, if NO_PROFILE_COUNTERS is defined.
241         * tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
242         FUNCTION_PROFILER.
243
244         * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
245         (FUNCTION_PROFILER): Just emit a call to mcount.
246
247 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
248
249         * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
250
251         * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
252         cpplib.c, cpplib.h: Eradicate all traces of code dependent on
253         traditional, lang_chill, or lang_fortran.
254
255         * cppfiles.c: #undef strcmp to suppress warning about macros
256         used without arguments.
257         (_cpp_execute_include): Use f, not fname, in "No include path"
258         error.
259         (_cpp_pop_file_buffer): New function.
260         * cpplib.c: Don't include <sys/mman.h>.
261         (cpp_push_buffer): Set line_base and lineno in new buffer.
262         (cpp_pop_buffer): Use _cpp_pop_file_buffer.
263
264         * cpplex.c: Move all prototypes and structure declarations to the
265         top of the file.  Properly parenthesise some macro arguments.
266         (cpp_scan_line): New function.
267         (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
268         don't need to walk up the stack counting.
269
270 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
271
272         * c-common.c (combine_strings): Emit a pedantic warning when a
273         string length is greater than the minimum ANSI C is required
274         to support.
275
276 Wed Jul 12 13:24:30 2000  Jeffrey A Law  (law@cygnus.com)
277
278         * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
279         * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
280
281 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
282
283         * c-decl.c (define_label): Warn about identifier conflicts with
284         labels in traditional C.
285
286         * c-parse.in (unop +): Warn about the unary plus operator for
287         traditional C.
288
289         * c-typeck.c (store_init_value): Warn about automatic aggregate
290         initialization for traditional C.
291
292         * invoke.texi (-Wtraditional): Document new warnings.
293
294 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
295
296         * Makefile.in (c-errors.o): Fix thinko in dependency.
297
298 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
299
300         * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
301         -traditional, -ftraditional, or -traditional-cpp was given.
302         Do not pass -traditional to the preprocessor.
303         (.S spec): Likewise.  Don't bother defining __ASSEMBLER__, the
304         preprocessor does it automatically.
305         * objc/lang-specs.h: Likewise.  Don't bother defining __OBJC__.
306
307         * ch/lang-specs.h: Always use tradcpp.  Do not pass
308         -traditional, -trigraphs, or -pedantic to the preprocessor.
309         * f/lang-specs.h (.F spec): Likewise.  Don't bother defining
310         _LANGUAGE_FORTRAN.
311
312 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
313
314         * cppexp.c (LOGICAL): Delete macro.
315         (_cpp_parse_expr): Do not use UNARY for unary +.  Implement ||
316         and && directly.
317
318         * cpphash.c (HASHSIZE): Increase to 4096.
319         (struct hashdummy): Add hash field.
320         (eq_HASHNODE): Compare unreduced hashes, then lengths, then
321         the string values using memcmp.
322         (cpp_lookup): Set dummy.hash.
323
324 Wed Jul 12 13:15:16 2000  Marc Espie <espie@openbsd.org>
325
326         * configure.in (m88k-openbsd): Express configuration using new fragment
327         style.
328         * configure: Rebuilt.
329         * m88k/aout-dbx.h: New.
330         * m88k/openbsd.h: New.
331         * m88k/xm-openbsd.h: New.
332
333 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
334
335         * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
336
337 2000-07-12  Richard Henderson  <rth@cygnus.com>
338
339         * reload.c (push_secondary_reload): Make sure to add the new
340         reload at the end, after acquiring secondary memory.
341
342 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
343
344         * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
345
346         * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
347         lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
348
349         * c-parse.in (stmt): Delete unused variables.
350
351         * convert.c (convert_to_vector): Likewise.
352
353         * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
354
355         * tree.c (finish_vector_type): Prototype.
356
357 2000-07-12  Bruce Korb  <bkorb@gnu.org>
358
359         * fixinc/fixfixes.c: use xmalloc
360         * fixinc/fixincl.c(initialize): set program name for xmalloc
361         * fixinc/fixlib.c(must_malloc): obsolete
362         (is_cxx_header): no longer used - disabled
363         (skip_quote): inserted and disabled for future use
364         * fixinc/fixlib.h: reflects above
365         * fixinc/fixtests.c: removed dinkleberries
366
367 2000-07-12  Neil Booth  <NeilB@earthling.net>
368
369         * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
370         * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
371
372         * cpphash.c: (struct macro_info, alloc_macro, free_macro,
373         struct toklist_dummy): New.
374         (cpp_free_definition): Free macros with free_macro.
375         (count_params): Don't save paramter spellings.  Save macro
376         information in a struct macro_info.
377         (parse_define): Don't allocate a token list.
378         (save_expansion): Allocate the macro's token list, and
379         save parameter spellings if necessary.  Use TOKEN_SPELL.
380         (cpp_create_definition): Make list const.
381
382 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
383
384         * c-typeck.c (pedwarn_c99): Move to
385         * c-errors.c: ... Here.
386         * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
387         * diagnostic.c (verror, vwarning, vpedwarn): Make static.
388         * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
389         (c-errors.o): List dependency.
390
391 2000-07-12  Mark Mitchell  <mark@codesourcery.com>
392
393         * c-parse.c: Remove.
394         * c-parse.h: Likewise.
395         * c-parse.y: Likewise.
396         * objc/objc-parse.c: Likewise.
397         * objc/objc-pasre.y: Likewise.
398
399 2000-07-11  Rodney Brown  <RodneyBrown@pmsc.com>
400
401         * gcc.texi: Fix minor typos
402         * extend.texi: Fix minor typos
403
404 2000-07-11  Marc Espie <espie@openbsd.org>
405
406         * collect2.c (main): Recognize .lo as object files.
407
408 2000-07-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
409
410         * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
411         true.
412
413         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
414         with MAP_ANONYMOUS and MAP_ANON.
415         * configure, config.in: Rebuilt.
416
417 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
418
419         * diagnostic.c (save_output_state): Remove.
420         (restore_output_state): Likewise.
421         (clear_text_info): New function.
422         (clear_diagnostic_info): Likewise.
423         (output_text_length, is_starting_newline, output_prefix,
424         line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
425         prefixing_policy, output_buffer_ptr_to_format_args): New macros
426         (set_real_maximum_length, output_set_maximum_length,
427         output_set_prefix, output_get_prefix, output_set_maximum_length,
428         output_destroy_prefix, init_output_buffer,
429         reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
430         output_add_newline, output_add_character, output_add_space,
431         output_append_r, output_append, wrap_text, output_format,
432         output_do_printf, output_printf, output_do_verbatim,
433         output_verbatim, verbatim): Use them.
434         (output_clear): Split into cleat_text_info and
435         clear_diagnostic_info.
436         (struct output_state): Move to...
437
438         * diagnostic.h: ...Here
439         (struct output_buffer): Adjust.
440
441 2000-07-11  Zack Weinberg  <zack@wolery.cumb.org>
442
443         * cpplex.c (parse_name): No longer inline (premature optimization).
444         (do_pop_context): Fold into pop_context.
445         (pop_context): Returns int.
446         (lex_next): Hoist test for end of directive into pop_context.
447         (push_macro_context): Returns int; takes just reader and token.
448         Hoist test for excessive nesting to caller.
449         (push_arg_context): Returns void; takes just reader and token.
450         Do not call stringify_arg or get_raw_token.
451         (get_raw_token): Convert tail recursion through push_arg_context
452         to a loop at this level.  Call stringify_arg here if appropriate.
453         (maybe_paste_with_next): Convert tail recursion to a while loop.
454         Hoist test of paste_level to caller.
455
456         (stringify_arg): Push arg context at beginning.
457         (cpp_get_token): Split out core into _cpp_get_token.  Call
458         process_directive here.  Throw away CPP_PLACEMARKER tokens.
459         (_cpp_get_token): Convert tail recursion through
460         push_macro_context to a loop at this level.
461         (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
462         _cpp_get_raw_token): Use _cpp_get_token.
463         (_cpp_skip_rest_of_line): Drop the context stack directly; do
464         not call pop_context.
465         (_cpp_run_directive): Call lex_next directly.
466
467         * cpphash.h: Prototype _cpp_get_token.
468         * cppexp.c (lex): Use it.
469         * cpphash.c (parse_define): Use it.
470         * cpplib.c (get_define_node, do_undef, parse_include,
471         read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
472         do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
473         parse_ifdef, validate_else): Use it.
474         (cpp_push_buffer): Tweak error message; abort if anyone tries
475         to push a buffer while macro expansions are stacked.
476
477 2000-07-11  Donn Terry  <donnte@microsoft.com>
478
479         * cpplex.c (free_macro_args, save_token): Cast arg of free
480         and/or xrealloc to PTR.
481         (_cpp_init_input_buffer): Clear all fields of the base context.
482
483 Tue Jul 11 15:28:21 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
484
485         * gensupport.c (process_rtx): Make rtl checking stop
486         complaining about the define_insn while it is being
487         converted from a define_insn_and_split.
488
489 Tue Jul 11 16:26:17 2000  Clinton Popetz  <cpopetz@cygnus.com>
490
491         * config/mips/mips.c (simple_memory_operand): Access the
492         INTVAL of the address, not it's containing MEM.
493
494 2000-07-11  Bruce Korb  <bkorb@gnu.org>
495
496         * fixinc/fixtests.c(double_slash): obsolete
497         (else_endif_label): likewise
498         * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
499         (libc1_ifdefd_memx): correct initial comment
500         and omit the #if/#endif pair from the memxxx declarations
501         * fixinc/fixincl.x: regen
502
503 2000-07-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
504
505         * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
506
507 2000-07-11  Neil Booth  <NeilB@earthling.net>
508
509         * cpp.texi: Update.
510
511 2000-07-11  Neil Booth  <NeilB@earthling.net>
512
513         * cppinit.c: (cpp_reader_init): Allow digraphs by default.
514         (handle_option): Set digraphs according to standard.
515         Merge OPT_lang_c89 handler with OPT_std_c89.
516
517         * cpplex.c: (lex_line, can_paste): Honour digraphs in
518         accordance with the digraphs flag.
519
520         * cpplib.h: (struct cpp_options): New option digraphs.
521
522 2000-07-10  Hans-Peter Nilsson  <hp@axis.com>
523             Bruce Korb  <bkorb@gnu.org>
524
525         * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
526         * fixinc/fixincl.x: Regenerate.
527         * fixinc/tests/base/testing.h: Add testcase.
528
529 2000-07-10  Richard Henderson  <rth@cygnus.com>
530
531         * config/ia64/ia64.c (got_symbolic_operand): New.
532         (symbolic_operand, move_operand): Revert 0701 change.
533         * config/ia64/ia64.h (PREDICATE_CODES): Update.
534         * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
535         * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
536         split the offset into a 14-bit low part instead of a 13-bit low part.
537         (load_fptr): Mark the mem as unchanging.
538         (load_symptr): Use got_symbolic_operand.
539
540 2000-07-10  Nick Clifton  <nickc@cygnus.com>
541
542         * libgcc2.c (next_stack_level): Cast result of computation to
543         (void **) so that the assignment does not generate a warning.
544
545 2000-07-10  Chandrakala Chavva  <cchavva@redhat.com>
546
547         * flags.h : Add new variable flag_single_precision_constant.
548         * toplev.c (display_help) : Add -fsingle-precision-constant option.
549         (flag_single_precision_constant): New.
550         * c-lex.c (yylex): Convert floating point constant to single
551         precision constant.
552         * invoke.texi : Add documentation for this new option.
553
554 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
555
556         * diagnostic.c (output_octal): Second parameter is unsigned.
557         (output_long_octal): Likewise.
558         (output_hexadecimal): Likewise.
559         (output_long_hexadecimal): Likewise.
560         (output_format): Adjust arguments extraction. Tweak.
561         (output_verbatim, verbatim): End variable argument list.
562         (report_diagnostic): Improve documentation.
563
564 2000-07-10  Benjamin Chelf  <chelf@codesourcery.com>
565
566         * c-common.h (build_stmt): Declare.
567         (build_continue_stmt): Likewise.
568         (build_break_stmt): Likewise.
569         (build_return_stmt): Likewise.
570
571         * c-decl.c (do_case): Rewrite to do what previously done in
572         c-parse.in.
573
574         * c-semantics.c (build_stmt): Define.
575         (build_return_stmt): Likewise.
576         (build_break_stmt): Likewise.
577         (build_continue_stmt): Likewise.
578         (build_case_label): Likewise.
579
580         * c-parse.in (BREAK): Change to build tree, then generate RTL.
581         (CONTINUE): Likewise.
582         (RETURN): Likewise.
583         (CASE): Likewise.
584         (DEFAULT): Likewise.
585
586         * c-parse.y: Regenerate.
587         * c-pasre.c: Likewise.
588
589 2000-07-09  Jason Merrill  <jason@redhat.com>
590
591         * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
592
593         * tree.h (STRIP_NOPS): Check for error_mark_node.
594         (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
595         (dwarf2out_*): Remove duplicate declarations.
596
597         * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
598         DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
599
600 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
601
602         * diagnostic.c (wrap_text): New function.
603         (maybe_wrap_text): Likewise.
604         (output_add_string): Use it.
605         (output_format): Likewise.
606         (count_error): Use verbatim instead of notice.
607         (report_error_function): Likewise. Don't use plain fprintf.
608         (finish_diagnostic): New function.
609         (output_do_verbatim): Tweak.  Commonalize functionalities in
610         output_verbatim and verbatim.
611         (output_verbatim): Adjust.
612         (verbatim): Likewise.
613         (report_diagnostic): Define.
614
615         * diagnostic.h (report_diagnostic): Prototype.
616
617 2000-07-09  Zack Weinberg  <zack@wolery.cumb.org>
618
619         * cppexp.c (_cpp_parse_expr): Don't use unary plus.
620
621 2000-07-09  Neil Booth  <NeilB@earthling.net>
622
623         * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
624         IShspace, ISspace: Update.
625
626         * cppinit.c: ISTABLE: Update.
627         V: New.
628
629         * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
630         (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
631         (skip_block_comment, skip_line_comment, parse_string,
632         lex_line): Use is_vspace rather than IS_NEWLINE.
633         (skip_whitespace, lex_line): Clean up to use is_nvspace.
634         (lex_line): Use KNOWN_DIRECTIVE.  Any kind of directive
635         gets a BOL flag.
636         (lex_next): Unconditionally stop if within a directive.
637         Treat directives within macro invocations as directives
638         (after parse_args emits error), not as the argument.
639
640 2000-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
641
642         * diagnostic.c (diagnostic_args): New macro.
643         (diagnostic_msg): Likewise.
644         (output_formatted_integer): Likewise.
645         (output_state): New data type.
646         (digit_buffer): Make global.
647         (output_add_integer): Rename to output_decimal. Squeeze
648         digit_buffer.
649         (output_long_decimal, output_unsigned_decimal,
650         output_long_unsigned_decimal, output_octal, output_long_octal,
651         output_hexadecimal, output_long_hexadecimal): New functions.
652         (output_append_r): New function.
653         (output_append): Tweak.
654         (output_flush_on): Rename to output_to_stream.
655         (output_format): Change prototype.  Improve documentation. Handle
656         more format specifiers.
657         (build_location_prefix): Rename to context_as_prefix.
658         (output_notice): Rename to output_do_printf.
659         (output_printf): Tweak.
660         (line_wrapper_printf): Likewise.
661         (vline_wrapper_message_with_location): Adjust call to renamed
662         functions.
663         (v_message_with_decl): Likewise.
664         (default_print_error_function): Likewise.
665         (save_output_state): New function.
666         (restore_output_state): Likewise.
667         (output_do_verbatim): Likewise.
668         (output_verbatim): Define.
669         (verbatim): Likewise.
670
671         * diagnostic.h (printer_fn): Change return type from void to int.
672         Improve documentation.
673         (output_add_integer): Rename to output_decimal.
674         (output_flush_on, output_format): Don't export.
675         (output_verbatim, verbatim): Declare.
676
677 2000-07-08  Toon Moene  <toon@moene.indiv.nluug.nl>
678
679         * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
680         Check whether c divides op1 exactly if operation is not
681         multiplication.
682
683 2000-07-08  Richard Henderson  <rth@cygnus.com>
684
685         * final.c (final): Do not abort when reg-stack introduces
686         a new insn.
687
688 2000-07-08  Zack Weinberg  <zack@wolery.cumb.org>
689
690         * cpplib.h (struct cpp_name): Now struct cpp_string.
691         (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
692         CPP_HEADER_NAME): Change to type S.
693         (struct cpp_token): Rename 'name' field to 'str'.  Add 'node'
694         field, a cpp_hashnode *.  All references to val.name updated
695         to use val.str or val.node as appropriate.
696         (struct cpp_reader): Add spec_nodes field.
697         (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
698
699         * cpphash.h (struct spec_nodes): New.
700         (enum spell_type): Reorder.  Only SPELL_STRING tokens use
701         val.str.  All references to 'spelling > SPELL_NONE' updated to
702         match.
703
704         (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
705         pfile->buffer->inc are not NULL before dereferencing them.
706
707         * cpplex.c (parse_name): Take a pointer to the current token,
708         plus current position and limit as args; return the new
709         position; don't copy the text of a name into the string
710         buffer, instead call cpp_lookup and store the node pointer.
711         If extending a token, copy out the text of the old into a
712         scratch buffer, append the new, look that up and store the new
713         node pointer.  Inline.
714         (maybe_paste_with_next): If the result of paste is a NAME,
715         then look up the pasted text and store its node pointer.
716         (lex_line): Adjust for new parse_name interface.
717         Check for L"str", L'str' using spec_nodes->n_L.
718         (spell_token): SPELL_IDENT tokens have their spelling in
719         val.node->name.  Handle SPELL_STRING tokens that don't have
720         string delimiters.
721         (_cpp_expand_name_space,
722         (can_paste): Check for L ## "str" using spec_nodes->n_L.
723         (cpp_get_token, special_symbol): No need to call cpp_lookup.
724         (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
725         return 1=equal 0=not, not a tristate.
726
727         * cpphash.c (var_args_str): Delete.
728         (find_param): Compare node fields directly.
729         (is__va_args__): Use CPP_PEDANTIC.  Just compare
730         token->val.node with spec_nodes->n__VA_ARGS__.
731         (dump_funlike_macro): Don't use var_args_str.
732
733         * cpplib.c (_cpp_check_directive): Just walk through
734         spec_nodes->dirs comparing pointers.
735         (get_define_node, do_pragma_poison, detect_if_not_defined,
736         parse_ifdef): The identifier has already been looked up.
737         (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
738         node.
739         (do_if): Only call detect_if_not_defined at beginning of file.
740         (_cpp_parse_assertion): Only copy string pointers for
741         SPELL_STRING tokens.
742         (pragma_dispatch): Take a node pointer and examine its name
743         field.
744         (_cpp_init_stacks): Also initialize the spec_nodes structure.
745
746         * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
747         _cpp_init_macros.
748         (cpp_cleanup): Free pfile->spec_nodes.  Call _cpp_cleanup_* in
749         reverse order from the corresponding _cpp_init_* routines.
750
751         * cppexp.c (parse_number, parse_charconst, parse_defined,
752         lex): Check val.node->type instead of calling cpp_defined.
753         Use spec_nodes entries where appropriate.
754
755         * fix-header.c, scan-decls.c: Update for interface changes.
756
757 2000-07-08  Geoffrey Keating  <geoffk@cygnus.com>
758
759         * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
760         emitting aux_truncdfsf2.
761
762 2000-07-03  Donn Terry  (donnte@microsoft.com)
763
764         * cppinit.c (print_help): split overlong line into ISO C89
765         maximum chunks.
766
767 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
768
769         * cppexp.c: Update all code for new lexer interface.
770         (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
771         (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
772         * cpplex.c (token_names): Trim leading CPP_ from names; make
773         the strings unsigned.
774         (_cpp_spell_operator): New.
775         (is_macro_disabled): Disable all macros if rescanning
776         preprocessed text.
777         (_cpp_get_directive_token): Remove.
778
779         * cppinit.c: Don't set no_macro_expand.
780         * cpplib.c (read_line_number, do_line): Check only for EOF,
781         not VSPACE.
782         * cpphash.h: Update prototypes.
783         * cpplib.h (CPP_VSPACE): Remove.
784         (struct cpp_reader): Remove no_macro_expand.
785
786 2000-07-08  Neil Booth  <NeilB@earthling.net>
787
788         * cpphash.c (is__va_args__): New function.
789         (count_params): Fix line reported in error messages.  Use
790         is__va_args__.  Don't return ')' on error.  Flag GNU style
791         rest args macro definitions.
792         (parse_define): Check macro name is not __VA_ARGS__.
793         (save_expansion): Check identifier in non-varargs-macro is
794         not __VA_ARGS__.  Don't flag GNU_VARARGS.
795         * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
796         (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
797          than per-token GNU_VARARGS.
798         * cpplib.h (GNU_VARARGS): Remove.
799         (GNU_REST_ARGS): New.
800
801 Sat Jul  8 01:38:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
802
803         * i386.md (call_pop, call, call_value_pop): Do not set
804         current_function_uses_pic_offset_table for calls to static
805         functions or indirect calls.
806
807 2000-07-07  Jim Wilson  <wilson@cygnus.com>
808
809         * config/ia64/ia64.c (rws_access_reg): New local write_count.  If
810         is_predicate_reg, then take max write_count of register pair.
811
812 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
813
814         * tradcpp.c (main): Rename label `include' to `add_include' to
815         avoid conflicts with variable `include' in traditional C.
816
817 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
818
819         * integrate.c (copy_insn_list): Remove REG_LABEL notes.
820
821 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
822
823         * sibcall.c (uses_addressof): Add INMEM argument, check for
824         current_function_internal_arg_pointer outside of MEM rtxs in addition
825         to ADDRESSOFs.
826         (sequence_uses_addressof): Update caller.
827
828 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
829
830         * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
831         and friends.
832
833 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
834
835         * system.h (UNION_INIT_ZERO): New macro for initializing union
836         members in structs.
837
838         * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
839
840 2000-07-07  Neil Booth  <NeilB@earthling.net>
841
842         * cpp.texi: Update.
843
844 Fri Jul  7 07:47:35 2000  Jeffrey A Law  (law@cygnus.com)
845
846         * final.c (final): Detect out of bounds array access to
847         the insn_lengths array.
848
849 2000-07-07  Kazu Hirata  <kazu@hxi.com>
850
851         * fold-const.c (fold): Fix a comment typo.
852
853 2000-07-07  Neil Booth  <NeilB@earthling.net>
854
855         * cpp.texi: Update to new lexer.
856
857 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
858
859         * tradcpp.c: New file.
860         * tradcif.y: New file.
861         * tradcif.c: New generated file.
862
863         * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
864         $(srcdir)/tradcif.c.  Add tradcpp to STAGESTUFF and
865         dependencies of C.  Install tradcpp from install-common, in
866         $(libsubdir).
867
868 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
869
870         * cppinit.c: Include cppdefault.h.  Refer to
871         cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
872         to GCC_INCLUDE_DIR and its length.
873         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
874         USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
875         STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT):  Move to
876         cppdefault.h.
877         (include_defaults_array): Move to cppdefault.c.
878
879         * cppdefault.h: New file.
880         * cppdefault.c: New file.
881
882         * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
883         (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
884         (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
885         this file.
886
887 Thu Jul  6 18:30:36 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
888
889         * reload.c (push_reload): When seeing if can reuse a register,
890         check extra registers against widest of INMODE and OUTMODE.
891
892 2000-07-06  Neil Booth  <NeilB@earthling.net>
893
894         * cpplib.c: (_cpp_parse_assertion):  Perform hash lookups
895         based on full length of predicate.
896
897 2000-07-06  Hans-Peter Nilsson  <hp@axis.com>
898
899         * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
900         [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
901
902 2000-07-05  Kazu Hirata  <kazu@hxi.com>
903
904         * h8300-proto.h: Fix formatting.
905         * h8300.c: Likewise.
906         * h8300.h: Likewise.
907
908 2000-07-05  Jim Wilson  <wilson@cygnus.com>
909
910         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
911         CCmode.
912
913 2000-07-05  Rodney Brown  <RodneyBrown@pmsc.com>
914
915         * invoke.texi: Fix minor typos
916         * md.texi: Fix minor typos
917
918 2000-07-05  Zack Weinberg  <zack@wolery.cumb.org>
919
920         * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
921
922 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
923
924         * cpplex.c: Don't include sys/mman.h.
925         (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
926
927         * cpplib.c: Include sys/mman.h and obstack.h.
928         (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
929         obstack.
930         (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
931         (_cpp_unwind_if_stack): Now static, unwind_if_stack.  Don't
932         bother freeing if stack entries (they will be freed with their buffer).
933         (do_endif): Free if stack entries from the buffer obstack.
934         (push_conditional): Allocate if stack entries from the buffer obstack.
935
936         (find_answer): Rename to _cpp_find_answer.
937         (do_assert, do_unassert): Update.
938
939         * cpphash.h: Update prototypes.
940         (xobnew): New convenience macro.
941         * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
942         Update comments.
943         (struct cpp_hashnode): Remove disabled field.
944
945         * cppinit.c: Don't include hashtab.h or splay-tree.h.
946         (report_missing_guard): Moved to cppfiles.c.
947         (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
948         cpp_init_includes.
949         (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
950         cpp_cleanup_includes.  Don't destroy hashtab or
951         all_include_files here.
952         (cpp_finish): Use _cpp_report_missing_guards.
953
954         * cppfiles.c (report_missing_guard): Moved from cppinit.c.
955         (_cpp_init_include_table): Rename _cpp_init_includes.
956         (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
957
958         * cppexp.c (parse_assertion): Update for new name of
959         find_answer.
960
961         * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
962
963 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
964
965         * cpplib.c (do_ident): s/VSPACE/EOF/
966
967 2000-07-05  Neil Booth  <NeilB@earthling.net>
968
969         * cpplex.c: Fix trigraph replacement within strings.
970
971 2000-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
972
973         * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
974
975         * xcoffout.c (assign_type_number): Constify.
976         (xcoffout_source_file): Add static prototype.  Don't needlessly
977         cast away const-ness.
978
979 2000-07-04  Jason Merrill  <jason@redhat.com>
980
981         * frame.h (frame_state): Move base_offset to end.
982
983 Mon Jul  3 21:31:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
984
985         * calls.c (emit_library_call_value_1): Revert previous change.
986
987 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
988
989         * fix-header.c (struct partial_proto): Remove unnecessary fields.
990         (recognized_extern, recognized_function, read_scan_file):
991         Update for new scheme.
992         (check_protection): It's still a multiple include guard even
993         if it doesn't always trigger.
994         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
995         new scheme.
996         * scan.h: Declare struct cpp_token.  Update prototypes.
997
998 2000-07-03  Neil Booth  <neilb@earthling.net>
999             Zack Weinberg  <zack@wolery.cumb.org>
1000
1001         Complete overhaul of the lexer and macro expander.
1002
1003         * cpphash.c (object_defn, funct_defn, push_macro_expansion,
1004         arg, arglist, argdata, reflist, collect_objlike_expansion,
1005         collect_funlike_expansion, collect_params,
1006         warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
1007         unsafe_chars, macarg, compare_defs, special_symbol,
1008         scan_arguments, stringify, funlike_macroexpand,
1009         _cpp_quote_string, monthnames): Delete.
1010         (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
1011         _cpp_create_definition, _cpp_dump_definition,
1012         dump_hash_helper): Adjust.
1013         (find_param, count_params, parse_define, var_args_str,
1014         check_macro_redefinition, save_expansion): New.
1015
1016         * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
1017         parse_string, output_line_command, trigraph_replace,
1018         lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
1019         cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
1020         cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
1021         _cpp_skip_rest_of_line): Modify.
1022
1023         (maybe_macroexpand, skip_comment, copy_comment, skip_string,
1024         find_position, null_warning, bump_column, expand_name_space,
1025         pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
1026         _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
1027         _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
1028         _cpp_prescan): Delete.
1029
1030         (dump_param_spelling, process_directive, lex_next,
1031         is_macro_disabled, stringify_arg, expand_context_stack,
1032         output_token, make_string_token, alloc_number_token,
1033         special_symbol, duplicate_token, maybe_paste_with_next,
1034         can_paste, prevent_macro_expansion, restore_macro_expansion,
1035         get_temp_token, release_temp_tokens, quote_string,
1036         token_names, token_spellings, _cpp_expand_name_space,
1037         _cpp_glue_header_name, _cpp_reserve_name_space,
1038         digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
1039         placemarker_token, eof_token, cpp_context, macro_args,
1040         get_raw_token, parse_arg, parse_args, save_token,
1041         push_arg_context, push_macro_context, pop_context,
1042         do_pop_context, free_macro_args, _cpp_get_line,
1043         _cpp_run_directive): New.
1044
1045         * cpplib.c (validate_else, parse_include, push_conditional,
1046         pass_thru_directive, read_line_number, parse_ifdef,
1047         detect_if_not_defined, _cpp_check_directive, do_define,
1048         do_undef, do_include, do_import, do_include_next, do_error,
1049         do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
1050         top_pragmas, do_pragma_gcc, do_pragma_implementation,
1051         do_pragma_poison, do_pragma_system_header,
1052         do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
1053         dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
1054         do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
1055         cpp_defined): Update for new scheme.
1056         (strtoul_for_line, get_define_node, dump_macro_name,
1057         _cpp_check_linemarker, _cpp_parse_assertion): New.
1058         (_cpp_handle_directive, do_pragma_default): Delete.
1059
1060         * cpphash.h (struct predicate): Now struct answer.
1061         (enum spell_type, struct token_spelling, struct directive,
1062         directive_handler): New.
1063         Update prototypes.  Remove unused macros.
1064         * cpplib.h: Update prototypes.  Remove unused macros,
1065         structure definitions, and fields.
1066
1067         * cpperror.c (print_containing_files, v_message): Adjust.
1068         * cppexp.c (parse_assertion, lex, parse_escape,
1069         _cpp_parse_expr): Adjust.
1070         * cppfiles.c (open_include_file, _cpp_execute_include,
1071         _cpp_compare_file_date, cpp_read_file, read_include_file):
1072         Adjust.
1073         * cppinit.c (dump_special_to_buffer): Delete.
1074         (append_include_chain, merge_include_chains, cpp_reader_init,
1075         cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
1076         cpp_finish, handle_option, print_help): Adjust.
1077         * cppmain.c (main): Adjust.
1078
1079 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
1080
1081         * cppspec.c (lang_specific_driver): Use double quotes in error
1082         message.
1083
1084 Mon Jul  3 16:53:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
1085
1086         * calls.c (emit_library_call_value_1): Use valreg instead
1087         of hard_libcall_value.
1088
1089 2000-07-03  Geoff Keating  <geoffk@cygnus.com>
1090
1091         * config/rs6000/rs6000.c (rs6000_emit_move): New function.
1092         * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
1093         * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
1094         (movhi): Likewise.
1095         (movqi): Likewise.
1096         (movdf): Likewise.
1097         (movsf): Likewise.
1098         (movdi): Likewise.
1099         (movti): Likewise.
1100
1101         * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
1102         mode instead of wider_mode is being used.
1103
1104 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
1105
1106         * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
1107         of 'r'. Use q_regs_operand.
1108         (andsi_1+2): Use q_regs_operand.
1109
1110 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
1111
1112         * builtins.c (get_memory_rtx): Always put into alias set 0.
1113
1114 2000-07-03  Nick Clifton  <nickc@cygnus.com>
1115
1116         * config/arm/arm.md: Fix post increment and pre increment
1117         peepholes so that they do not generate UNPREDICATBLE opcodes.
1118         (ie ones where the increment clobbers the source/destination).
1119
1120 2000-07-01  Marek Michalkiewicz  <marekm@linux.org.pl>
1121
1122         * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
1123         change too big for -mtiny-stack" a warning, if larger than 63.
1124         (out_set_stack_ptr): Change the logic so -mno-interrupts is
1125         always safe to use on possible future devices.
1126         (function_prologue): Write SPH before SPL, for consistency.
1127         If interrupt_func_p true, we know we have enabled interrupts.
1128         (avr_num_arg_regs): New function.  Round up to even number of
1129         bytes if no -mpack-args or if calling a libgcc function.
1130         (function_arg, function_arg_advance): Use it.
1131         (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
1132         Output "movw" if available.
1133         (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
1134         of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
1135         (asm_output_section_name): Add blanks for consistent output.
1136         (encode_section_info): Set TREE_READONLY for progmem data to
1137         avoid gas warnings about changed section attributes.
1138         (avr_hard_regno_mode_ok): Force non-QImode data to start in
1139         even numbered registers on devices with "movw".
1140         * config/avr/avr.h (MASK_*): Define bits for target_flags.
1141         (TARGET_SWITCHES): Mark help strings for translation.
1142         Add new -mpack-args and -menhanced switches.
1143         (TARGET_OPTIONS): Mark help strings for translation.
1144         (progmem_section): Add section attributes.
1145         * config/avr/avr.md (*movhi, call_insn, call_value_insn):
1146         Output "movw" if available.
1147         (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
1148         New patterns.
1149         * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
1150         call convention (arguments aligned on even registers).
1151         (_cleanup, _exit): Make weak symbols libc can override.
1152
1153 2000-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1154
1155         * fp-bit.h: New file.
1156
1157         * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
1158         Comment #endif statements.
1159         (__thenan_sf, __thenan_df): Add missing braces around initializer.
1160
1161 Mon Jul  3 00:32:47 2000  Jeffrey A Law  (law@cygnus.com)
1162
1163         * gcse.c (compute_pre_data): Compute ae_kill using other local
1164         properties instead of calling compute_ae_kill.
1165
1166         * alias.c (init_alias_analysis): Do not call
1167         prologue_epilogue_contains until after reload has completed.
1168
1169 2000-07-02  Benjamin Chelf  <chelf@codesourcery.com>
1170
1171         * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
1172         (genrtl_finish_compound_stmt): Likewise.
1173         (genrtl_compound_stmt): Change to return void.
1174
1175         * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
1176         move code from here to ...
1177         (genrtl_compound_stmt): ... here.
1178         (genrtl_finish_compound_stmt): Remove.
1179         (expand_stmt): Add comment.
1180
1181 2000-07-02  Zack Weinberg  <zack@wolery.cumb.org>
1182
1183         * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
1184         and VOID_TYPE_P.
1185
1186 2000-07-02  Jakub Jelinek  <jakub@redhat.com>
1187
1188         * cpplib.h (struct cpp_reader): New field include_depth.
1189         (struct cpp_printer): Rename last_bsd to last_id.
1190         * cppfiles.c (read_include_file): Bump include_depth.
1191         * cpplex.c (cpp_pop_buffer): Decrement include_depth.
1192         (output_line_command): Output correct #line if a header
1193         is including itself and is not protected against multiple inclusion.
1194         Use include_depth instead of buffer_stack_depth, last_id instead of
1195         last_bsd.
1196         * cppinit.c (cpp_start_read): Initialize last_id instead of
1197         last_bsd.
1198
1199 2000-07-01  Benjamin Chelf  <chelf@codesourcery.com>
1200
1201         * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
1202         (c-semantics.o): New target.
1203
1204         * c-common.h (TREE_LANG_FLAG_?): Added documentation.
1205         (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
1206         (genrtl_clear_out_block): Likewise.
1207         (genrtl_goto_stmt): Likewise.
1208         (genrtl_expr_stmt): Likewise.
1209         (genrtl_decl_stmt): Likewise.
1210         (genrtl_if_stmt): Likewise.
1211         (genrtl_while_stmt): Likewise.
1212         (genrtl_do_stmt): Likewise.
1213         (genrtl_return_stmt): Likewise.
1214         (genrtl_for_stmt): Likewise.
1215         (genrtl_break_stmt): Likewise.
1216         (genrtl_continue_stmt): Likewise.
1217         (genrtl_scope_stmt): Likewise.
1218         (genrtl_switch_stmt): Likewise.
1219         (genrtl_case_label): Likewise.
1220         (genrtl_begin_compound_stmt): Likewise.
1221         (gerntl_finish_compound_stmt): Likewise.
1222         (genrtl_compound_stmt): Likewise.
1223         (genrtl_asm_stmt): Likewise.
1224         (genrtl_decl_cleanup): Likewise.
1225         (DECL_ANON_UNION_ELEMS): Likewise.
1226         (emit_local_var): Likewise.
1227         (make_rtl_for_local_static): Likewise.
1228         (expand_cond): Likewise.
1229         (expand_stmt): Likewise.
1230         (c_expand_return): Likewise.
1231         (c_expand_start_case): Likewise.
1232         (do_case): Likewise.
1233         (COMPOUND_STMT_NO_SCOPE): Likewise.
1234         (c_expand_asm_operands): Likewise.
1235         (NEW_FOR_SCOPE_P): New macro.
1236         (expand_expr_stmt_fn): New type.
1237
1238         (set_current_function_name_declared): Likewise.
1239         (current_function_name_declared): Likewise.
1240         (lang_expand_stmt): Likewise.
1241         (stmts_are_full_exprs_p): Likewise.
1242         (anon_aggr_type_p): Likewise.
1243         (lang_expand_expr_stmt): Likewise.
1244         (build_case_label): Likewise.
1245
1246         * c-decl.c (lang_expand_expr_stmt): Initialize.
1247         (stmts_are_full_exprs_p): Define.
1248         (current_function_name_declared): Likewise.
1249         (do_case): Likewise.
1250         (lang_expand_stmt): Likewise.
1251         (set_current_function_name_declared): Likewise.
1252         (anon_aggr_type_p): Likewise.
1253
1254         * c-semantics.c: New file.
1255         (expand_cond): Moved from cp/semantics.c.
1256         (genrtl_do_pushlevel): Likewise.
1257         (genrtl_clear_out_block): Likewise.
1258         (genrtl_goto_stmt): Likewise.
1259         (genrtl_expr_stmt): Likewise.
1260         (genrtl_decl_stmt): Likewise.
1261         (genrtl_if_stmt): Likewise.
1262         (genrtl_while_stmt): Likewise.
1263         (genrtl_do_stmt): Likewise.
1264         (genrtl_return_stmt): Likewise.
1265         (genrtl_for_stmt): Likewise.
1266         (genrtl_break_stmt): Likewise.
1267         (genrtl_continue_stmt): Likewise.
1268         (genrtl_scope_stmt): Likewise.
1269         (genrtl_switch_stmt): Likewise.
1270         (genrtl_case_label): Likewise.
1271         (genrtl_begin_compound_stmt): Likewise.
1272         (genrtl_finish_compound_stmt): Likewise.
1273         (genrtl_compound_stmt): Likewise.
1274         (genrtl_asm_stmt): Likewise.
1275         (genrtl_decl_cleanup): Likewise.
1276         (make_rtl_for_local_static): Moved from cp/decl.c.
1277         (emit_local_var): Likewise.
1278         (expand_stmt): Define.
1279
1280         * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
1281         (c_expand_return): Likewise.
1282         (c_expand_start_case): Likewise.
1283
1284 2000-07-01  Richard Henderson  <rth@cygnus.com>
1285
1286         * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
1287         with the low 13 bits set.
1288         (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
1289         * config/ia64/ia64.md (movdi): Likewise.  Expand a CONST with one
1290         of the low 13 bits into a CONST plus an adddi3.
1291         (load_symptr): Set RTX_UNCHANGING_P.
1292
1293 2000-06-30  Mark Mitchell  <mark@codesourcery.com>
1294
1295         * Makefile.in (c-common.o): Don't depend on c-tree.h or c-lex.h.
1296         * c-common.c (ridpointers): Declare.
1297         * c-common.h (enum rid): Declare.
1298         (NORID): Likewise.
1299         (ridpointers): Likewise.
1300         * c-lex.c (ridpointers): Don't declare.
1301         (init_lex): Initialize ridpointers.
1302         * c-lex.h (enum rid): Don't declare.
1303         (NORID): Likewise.
1304         (RID_FIRST_MODIFIER): Likewise.
1305         (ridpointers): Likewise.
1306
1307 2000-06-30  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1308
1309         * pa/som.h (ASM_WEAKEN_LABEL): Export weak data symbols so that they
1310         have global scope.
1311
1312 2000-06-30  Martin von Loewis  <loewis@informatik.hu-berlin.de>
1313
1314         * invoke.texi (-Wreturn-type): In C++, a missing return type is
1315         always an error.
1316
1317 2000-06-30  Catherine Moore  <clm@cygnus.com>
1318
1319         * c-common.c (decl_attributes):  Differentiate between
1320         types and type decls for alignment.
1321
1322 2000-06-30  Nathan Sidwell  <nathan@codesourcery.com>
1323
1324         * cpp.texi: Document #pragma GCC dependency
1325         * cppfiles.c (open_include_file): Set date to unknown.
1326         (_cpp_compare_file_date): New function.
1327         (read_include_file): Set file date.
1328         * cpphash.h (struct include_file): Add date member.
1329         (_cpp_compare_file_date): Prototype.
1330         * cpplib.c (parse_include): Add trail parameter. Adjust.
1331         (do_include): Adjust parse_include call.
1332         (do_import): Likewise.
1333         (do_include_next): Likewise.
1334         (gcc_pragmas): Add dependency pragma.
1335         (do_pragma_dependancy): New pragma.
1336
1337 2000-06-29  Jason Merrill  <jason@redhat.com>
1338
1339         * dwarf2out.c (output_loc_operands): Don't abort on codes that have
1340         no operands.
1341
1342 2000-06-29  Jim Wilson  <wilson@cygnus.com>
1343
1344         * config/ia64/ia64.h (PREFERRED_RELOAD_CLASS): Return NO_REGS for
1345         a volatile mem and FR_REGS.
1346
1347 2000-06-29  Mark Mitchell  <mark@codesourcery.com>
1348
1349         * c-common.c: Include c-common.h, not c-lex.h or c-tree.h.
1350         * c-common.h (flag_const_strings): Declare.
1351         (warn_format): Likewise.
1352         (flag_traditional): Likewise.
1353         (flag_isoc99): Likewise.
1354         (warn_parentheses): Likewise.
1355         (warn_conversion): Likewise.
1356         (C_TYPE_OBJECT_P): Likewise.
1357         (C_TYPE_INCOMPLETE_P): Likewise.
1358         (C_TYPE_FUNCTION_P): Likewise.
1359         (C_TYPE_OBJECT_OR_INCOMPLETE_P): Likewise.
1360         (C_EXP_ORIGINAL_CODE): Likewise.
1361         (build_unary_op): Likewise.
1362         (build_binary_op): Likewise.
1363         (lvalue_p): Likewise.
1364         (default_conversion): Likewise.
1365         (common_type): Likewise.
1366         * c-tree.h (C_TYPE_OBJECT_P): Remove.
1367         (C_TYPE_INCOMPLETE_P): Likewise.
1368         (C_TYPE_FUNCTION_P): Likewise.
1369         (C_TYPE_OBJECT_OR_INCOMPLETE_P): Likewise.
1370         (C_EXP_ORIGINAL_CODE): Likewise.
1371         (common_type): Likewise.
1372         (default_conversion): Likewise.
1373         (build_binary_op): Likewise.
1374         (build_unary_op): Likewise.
1375         (lvalue_p): Likewise.
1376         (flag_const_strings): Likewise.
1377         (warn_format): Likewise.
1378         (warn_conversion): Likewise.
1379         (flag_traditional): Likewise.
1380         (flag_isoc99): Likewise.
1381         (warn_parentheses): Likewise.
1382
1383 2000-06-29  James E. Wilson  <wilson@cygnus.com>
1384
1385         * config/ia64/linux.h (LINK_SPEC): Change so.1 to so.2.
1386
1387         * config/ia64/ia64.h (MODES_TIEABLE_P): Only tie if mode class is the
1388         same.  Only tie XFmode with XFmode.
1389
1390 2000-06-29  Zack Weinberg  <zack@wolery.cumb.org>
1391
1392         * c-decl.c, timevar.c, tlink.c: Include intl.h.
1393         * Makefile.in: Update deps.
1394
1395 2000-06-29  Andrew Haley  <aph@cygnus.com>
1396
1397         * toplev.c (main): On an IA-64, make flag_unwind_tables defauit
1398         to true.
1399
1400 2000-06-29  Andrew Haley  <aph@cygnus.com>
1401
1402         * config/ia64/linux.h (JMP_BUF_SIZE): Size is in Pmode units, not
1403         bytes: remove the multiply by 8.
1404
1405 2000-06-29  Philipp Thomas  <pthomas@suse.de>
1406
1407         * rtl.c : Revert NLS changes.
1408         * gcc.c : Fix bug in display_help introced by my last changes.
1409
1410 Wed Jun 28 21:09:33 2000   Raja R Harinath <harinath@cs.umn.edu>
1411
1412         * dbxout.c (dbxout_symbol, case RESULT_DECL, VAR_DECL): Use
1413         DECL_CONTEXT, not DECL_FIELD_CONTEXT.
1414
1415 2000-06-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1416
1417         * flow.c (flow_depth_first_order_compute): Fix algorithm.
1418
1419 2000-06-28  Philipp Thomas  <pthomas@suse.de>
1420
1421         * c-decl.c : Mark strings for translation.
1422         (parmlist_tags_warning): Use distinct messages instead
1423         of conditional expressions.
1424         * diagnostic.c (v_message_with_decl): Mark string for translation.
1425         * gcc.c: Mark messages for translation.
1426         (display_help): Combine messages into one string where necessary.
1427         * mips-tfile: Add intl.h. Mark messages for translation.
1428         * rtl.c (fatal_with_file_and_line): Modify function for NLS. Mark
1429         messages for translation.
1430         * timevar.c: Mark messages for translation.
1431         * tlink.c: Likewise.
1432         * toplev.c: Likewise.
1433
1434 Wed Jun 28 15:39:26 2000  Donn Terry (donnte@microsoft.com)
1435
1436         * i386-interix.h (STRIP_NAME_ENCODING): Declare _new_name properly.
1437
1438         * alpha/alpha-interix.h: Delete redundant -Asystem(interix),
1439         use -isystem instead of -idirafter.
1440         * i386/i386-interix.h: Likewise.
1441
1442 2000-06-28  Jason Merrill  <jason@redhat.com>
1443
1444         * dwarf2out.c (output_loc_operands): Don't support >1 byte output
1445         unless DWARF2_DEBUGGING_INFO is defined.
1446         (ASM_OUTPUT_DWARF_*): Wrap normal output defs with #ifndefs.
1447
1448 2000-06-28  Richard Henderson  <rth@cygnus.com>
1449
1450         * config/alpha/alpha.c (summarize_insn): Ignore SCRATCH.
1451
1452 2000-06-28  Jakub Jelinek  <jakub@redhat.com>
1453
1454         * cpplex.c (output_line_command): Output correct #line if a header
1455         is including itself and is not protected against multiple inclusion.
1456
1457 2000-06-28  Zack Weinberg  <zack@wolery.cumb.org>
1458
1459         * cppfiles.c (open_include_file): If open(2) returns EMFILE or
1460         ENFILE, close all cached file descriptors and try again.
1461         (_cpp_execute_include): Keep a count of the number of times
1462         each header is included.
1463         (close_cached_fd): New function.
1464         * cpphash.h (struct include_file): Rename before to
1465         include_count; all users updated.  Make include_count and sysp
1466         unsigned short.
1467         * cppinit.c (cpp_finish): If -H, report headers that could use
1468         reinclude guards.
1469         (report_missing_guard): New function.
1470
1471 Wed Jun 28 14:46:58 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1472
1473         * i386.md (prologue_set_got): Set length_immediate field.
1474         (testqi_ccno_1):  Add missing '@' character.
1475
1476 2000-06-27  Jason Merrill  <jason@redhat.com>
1477
1478         * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Use
1479         DWARF_FRAME_REGNUM.
1480
1481 2000-06-27  Andrew Macleod <amacleod@cygnus.com>
1482
1483         * dwarf2out.c (ASM_OUTPUT_DWARF_DATA2): Provide default when no
1484         unsigned macros available.
1485
1486 2000-06-27  Richard Henderson  <rth@cygnus.com>
1487
1488         * config/ia64/ia64.c (emit_insn_group_barriers): Special case
1489         epilogue_deallocate_stack.
1490
1491         * config/ia64/ia64.c (ia64_print_operand) [case D]: Emit
1492         completers for UNORDERED and ORDERED as well.
1493         * config/ia64/ia64.md (bunordered, bordered): New.
1494         (sunordered, sordered): New.
1495
1496 Tue Jun 27 12:14:12 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1497
1498         * genattrtab.c (write_attr_value): Do not abort for CONST_INT operands.
1499         * i386.c (ix86_attr_length_default): Kill.
1500         (ix86_attr_length_immediate_default, ix86_attr_length_address_default):
1501         New.
1502         * i386-protos.h (ix86_attr_length_default): Kill
1503         (ix86_attr_length_immediate_default, ix86_attr_length_address_default):
1504         Add prototype
1505         * i386.md (attribute type): Add "test".
1506         (attribute length_prefix): Kill.
1507         (attribute length_opcode): Kill.
1508         (attribute i387, mode, length_immediate, length_address, prefix_data16,
1509         prefix_rep, prefix_0f, modrm): New.
1510         (attribute length): Compute using the new attributes.
1511         (attribute pent_prefix): New.
1512         (attribute pent_pair): Compute using pent_prefix.
1513         (all insn patterns): Set mode,modrm and immediate_length attributes where
1514         needed.
1515         (cmpsi patterns): Compute sizes propertly for test instruction.
1516         (movsi, movhi patterns): Compute sizes propertly for eax shortcuts.
1517         (movstricthi_xor, movstrictqi_xor): New patterns.
1518         (andsi/andhi): Use splitters to generate xor instructions.
1519         (xorqi_ext_1): New pattern.
1520         (movstricthi->movstricthi_xor peep2): New.
1521
1522 Tue Jun 27 12:03:03 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1523
1524         * i386.md (addqi_low_1): Remove.
1525
1526 2000-06-27  Philipp Thomas  <pthomas@suse.de>
1527
1528         * 1750a.h: Mark help strings for options/switches for translation.
1529         * a29k.h: Likewise.
1530         * alpha.h: Likewise.
1531         * arm.h: Likewise.
1532         * pe.h: Likewise.
1533         * riscix.h: Likewise.
1534         * c4x.h: Likewise.
1535         * clipper.h: Likewise.
1536         * convex.h: Likewise.
1537         * elxsi.h: Likewise.
1538         * fr30.h: Likewise.
1539         * fx80.h: Likewise.
1540         * h8300.h: Likewise.
1541         * i370.h: Likewise.
1542         * cygwin.h: Likewise.
1543         * dgux.h: Likewise.
1544         * djgpp.h: Likewise.
1545         * i386.h: Likewise.
1546         * osf1elf.h: Likewise.
1547         * osfrose.h: Likewise.
1548         * sco5.h: Likewise.
1549         * win32.h: Likewise.
1550         * i860.h: Likewise.
1551         * paragon.h: Likewise.
1552         * i960.h: Likewise.
1553         * ia64.h: Likewise.
1554         * m32r.h: Likewise.
1555         * mcore.h: Likewise.
1556         * mips.h: Likewise.
1557         * mn10300.h: Likewise.
1558         * ns32k.h: Likewise.
1559         * pdp11.h: Likewise.
1560         * pj.h: Likewise.
1561         * aix.h: Likewise.
1562         * aix41.h: Likewise.
1563         * aix43.h: Likewise.
1564         * beos.h: Likewise.
1565         * rs6000.h: Likewise.
1566         * sysv4.h: Likewise.
1567         * linux.h: Likewise.
1568         * linux64.h: Likewise.
1569         * sp64-elf.h: Likewise.
1570         * sparc.h: Likewise.
1571         * splet.h: Likewise.
1572         * v850.h: Likewise.
1573         * convex.h (TARGET_SWITCHES): Provide descriptions and mark them
1574         for translation.
1575         * sp86x-aout.h: Remove bogus first definition of SUBTARGET_SWITCHES.
1576         Properly document option and mark for translation.
1577         * sp86x-elf.h: Likewise.
1578
1579 2000-06-27  Bernd Schmidt  <bernds@cygnus.co.uk>
1580
1581         Add MMX and SSE registers to i386 machine description.
1582         * i386-protos.h (ix86_constant_alignment, ix86_data_alignment,
1583         ix86_local_alignment): Declare.
1584
1585         * i386.h (TARGET_MMX, TARGET_SSE): New.
1586         (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS,
1587         REG_ALLOC_ORDER, HARD_REGNO_NREGS, HARD_REGNO_MODE_OK,
1588         REG_CLASS_NAMES, REG_CLASS_CONTENTS,REG_CLASS_FROM_LETTER,
1589         enum reg_class, HI_REGISTER_NAMES): Added MMX/SSE registers.
1590         (FIRST_SSE_REG, LAST_SSE_REG, SSE_REGNO_P): New.
1591         (FIRST_MMX_REG, LAST_MMX_REG, MMX_REGNO_P, MMX_REG_P): New macros.
1592         (RETURN_IN_MEMORY): Handle MMX/SSE.
1593         (REG_PARM_STACK_SPACE): Added so the first three TImode parameters
1594         also get stack space.
1595         (MUST_PASS_IN_STACK): Added TImode to the default definition.
1596         (CUMULATIVE_ARGS): Added sse_nregs, sse_regno and sse_words.
1597         (MMX_REGISTER_NAMES): New.
1598         (ALIGN_MODE_128): New macro.
1599         (CONSTANT_ALIGNMENT): Code moved out-of-line; just call the function.
1600         (DATA_ALIGNMENT): Likewise.
1601         (LOCAL_ALIGNMENT): Likewise.
1602         (CONDITIONAL_REGISTER_USAGE): Make MMX/SSE regs fixed if not
1603         TARGET_MMX/TARGET_SSE.
1604         (VALID_SSE_REG_MODE, VALID_MMX_REG_MODE): New macros.
1605         (REG_CLASS_FROM_LETTER): 'y' for MMX regs.
1606         (SECONDARY_MEMORY_NEEDED): Be conservative about copying between
1607         SSE/MMX regs and something else.
1608         (CLASS_MAX_NREGS): 1 for SSE and MMX regs.
1609         (REGISTER_MOVE_COST): 10 if trying to move between MMX and SSE regs,
1610         3 if moving between MMX regs and something else.
1611
1612         * i386.c (reg_class): Add SSE_REGS, MMX_REGS.
1613         (regclass_map): Add MMX/SSE registers.
1614         (print_operand): Add code to print XMMWORD as appropriate.
1615         (ix86_split_movdi): Abort for MMX regs.
1616         (init_cumulative_args): Also allow SSE_REGS
1617         (function_arg_advance, function_arg): Likewise
1618         (print_reg): Support 'm'.  Add case for TImode.
1619         (override_options): TARGET_SSE implies TARGET_MMX.
1620         (ix86_constant_alignment, ix86_data_alignment, ix86_local_alignment):
1621         New functions.
1622
1623         * config/i386/unix.h (VALUE_REGNO): VECTOR_MODE values go to
1624         FIRST_SSE_REG.
1625         * config/i386/ptx4-i.h (RETURN_IN_MEMORY): Return MMX values in
1626         memory.
1627         * config/i386/sysv4.h (RETURN_IN_MEMORY): Likewise.
1628         * config/i386/i386elf.h (RETURN_IN_MEMORY): Likewise.
1629
1630 2000-06-26  Geoff Keating  <geoffk@cygnus.com>
1631
1632         * ssa.c (struct rename_set_data): Change the name of field
1633         'set_dest' to 'old_reg'.  Add comments.
1634         (struct rename_context): Change the name of 'set_data' to
1635         'new_renames'.  Add new field 'done_renames'.
1636         (create_delayed_rename): New function.
1637         (apply_delayed_renames): New function.
1638         (rename_insn_1): Use the new functions.  Handle CLOBBERS.  Handle
1639         SUBREGs and similar by emitting a move.
1640         (new_registers_for_updates): Delete, functionality moved to
1641         apply_delayed_renames.
1642         (rename_block): Handle moves emitted by rename_insn_1 by putting
1643         them into a SEQUENCE with the original insn.  Add sanity checks
1644         and comments.
1645         (rename_equivalent_regs_in_insn): Don't handle SUBREGs specially.
1646         (rename_equivalent_regs): Expand SEQUENCEs out to individual insns.
1647
1648 2000-06-26  Andrew Macleod <amacleod@cygnus.com>
1649             Jason Merrill <jason@redhat.com>
1650
1651         * dwarf2.h (enum dwarf_call_frame_info): Add
1652         DW_CFA_def_cfa_expression.
1653         * dwarf2out.c (union dw_cfi_oprnd_struct): Add a pointer to a
1654         dw_loc_descr_struct entry.
1655         (struct cfa_loc): New structure to track a CFA location.
1656         (lookup_cfa): Take a cfa_loc parameter instead of a reg and an offset.
1657         (lookup_cfa_1): Take a cfa_loc parameter instead of a reg and an
1658         offset, plus handle DW_CFA_def_cfa_expression.
1659         (def_cfa_1): Use to be dwarf2out_def_cfa, only now it uses a
1660         cfa_loc record.
1661         (dwarf2out_def_cfa): Entry point maintained for compatability.
1662         (dwarf_cfi_name): Add DW_CFA_def_cfa_expression.
1663         (cfa_reg, cfa_offset): Replace with cfa_loc record 'cfa'.
1664         (cfa_store_reg, cfa_store_offset): Replace with cfa_loc 'cfa_store'.
1665         (initial_return_save, dwarf2out_stack_adjust): Use cfa.reg, not
1666         cfa_reg.
1667         (dwarf2out_frame_debug_expr): Use new cfa_loc records. Recognize rtl
1668         sequences for the new DW_CFA_def_cfa_expression record.
1669         (dwarf2out_frame_debug): Use new variables/fields.A
1670         (output_cfi): Handle DW_CFA_def_cfa_expression.
1671         (output_cfa_loc): New function to generate a CFI record for
1672         DW_CFA_def_cfa_expression.
1673         (get_cfa_from_loc_descr): New function to get a cfa_loc record from
1674         a dw_loc_descr sequeunce.
1675         (build_loc_descr): Build a dw_loc_descr from a cfa_loc record.
1676         (dwarf_stack_op_name, new_loc_descr, add_loc_descr, size_of_loc_descr,
1677         size_of_locs, output_loc_operands, output_loc_sequence): Move into
1678         unwind info section.
1679         * frame.h (frame_state): Add base_offset and indirect fields.
1680         * frame-dwarf2.c (decode_stack_op): New function to interpret a
1681         dw_loc_descr operation.
1682         (execute_cfa_insn): Add support for DW_CFA_def_cfa_expression.
1683         (struct frame_state): Add base offset and indirect fields.
1684         * libgcc2.c (next_stack_level): Support indirect loading for CFA.
1685
1686 2000-06-26  Joseph S. Myers  <jsm28@cam.ac.uk>
1687
1688         * c-decl.c (grokdeclarator): Don't warn about `long long' in C99.
1689         Make warnings about implicit int be pedwarns in C99.  Don't warn
1690         about duplicate type qualifiers in C99.
1691         (start_function): Make warning about implict int return type be a
1692         pedwarn in C99.
1693         * c-lex.c (yylex): Don't warn about `long long' in C99.
1694         * c-typeck.c (c_expand_return): In C99, always pedwarn about
1695         `return' with no value in function returning non-void.
1696
1697 2000-06-26  Richard Henderson  <rth@cygnus.com>
1698
1699         * c-typeck.c (pedwarn_c99): New.
1700         * diagnostic.c (verror, vwarning, vpedwarn): Export.
1701         * toplev.h: Prototype them.
1702
1703 2000-06-26  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1704
1705         * c-typeck.c (digest_init): Return error_mark_node node when
1706         TREE_TYPE (init)  == error_mark_node.
1707
1708 2000-06-26  Philipp Thomas  <pthomas@suse.de>
1709
1710         * aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no,
1711         test for msgfmt without path instead.
1712         * configure: Rebuilt.
1713
1714 2000-06-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1715
1716         * gengenrtl.c (special_rtx): Fix typo in comment.
1717
1718 2000-06-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1719
1720         * mklibgcc.in (LIB2FUNCS): Add missing space.
1721
1722 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
1723
1724         * tree.h (enum tree_index): Add vector type nodes.
1725         Add accessor macros for them.
1726         (TYPE_REPRESENATION_TYPE): New macro.
1727         * tree.c (build_common_tree_nodes_2): Build these nodes.
1728         (finish_vector_type): New function.
1729         * c-common.c (type_for_mode): Handle vector modes.
1730         * tm.texi (VECTOR_MODE_SUPPORTED_P): Document.
1731
1732         * dbxout.c (dbxout_type): Handle VECTOR_TYPEs.
1733         * dwarf.h (enum dwarf_fundamental_type): Add 128 bit integers.
1734         * dwarf2out.c (lookup_type_die): Handle VECTOR_TYPEs.
1735         (gen_type_die): Likewise.
1736         * dwarfout.c (dwarf_fund_type_name): Handle 128 bit integers.
1737         (fundamental_type_code): Likewise.
1738         (type_is_fundamental): VECTOR_TYPEs aren't.
1739         (output_type): Handle VECTOR_TYPEs.
1740
1741 2000-06-25  Kazu Hirata  <kazu@hxi.com>
1742
1743         * config/arm.c: Fix a comment typo.
1744         * config/arm.h: Likewise.
1745
1746 2000-06-25  Philipp Thomas  <pthomas@suse.de>
1747
1748         * aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog
1749         compiler found.
1750         AM_GNU_GETTEXT: Don't set CATALOGS if create_catalogs=no.
1751         * configure: Rebuilt.
1752
1753 2000-06-25  John David Anglin  <dave.anglin@nrc.ca>
1754
1755         * config/vax/vax.h (TARGET_SWITCHES): Provide descriptions.
1756
1757 2000-06-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1758
1759         * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating
1760         libgcc.a.
1761
1762 2000-06-24  Marc Espie <espie@cvs.openbsd.org>
1763
1764         * collect2.c (resolve_lib_name): Move '/' check out of loop.
1765
1766 2000-06-24  Dirk Duellmann  <Dirk.Duellmann@cern.ch>
1767
1768         * ginclude/stddef.h (NULL): define for non-gnu C++ parsers as 0.
1769
1770 2000-06-24  Jakub Jelinek  <jakub@redhat.com>
1771
1772         * stmt.c (expand_decl_cleanup): Emit a dummy insn after
1773         last_unconditional_cleanup.
1774
1775 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
1776
1777         * tree.def (VECTOR_TYPE): New node type.
1778         * tree.h: Adjust some comments to reflect addition of vector types.
1779         (TYPE_VECTOR_SUBPARTS): New macro.
1780         * stor-layout.c (layout_type): Handle VECTOR_TYPE.
1781         * c-convert.c (convert): Likewise.
1782         * convert.c (convert_to_integer): Handle vector modes.
1783         (convert_to_vector): New function.
1784         * convert.h (convert_to_vector): Declare.
1785         * expr.c (convert_move): Handle vector modes.
1786         * expmed.c (extract_bit_field): Don't abort for vector modes.
1787
1788 2000-06-24  Marek Michalkiewicz  <marekm@linux.org.pl>
1789
1790         * config/avr/avr-protos.h (avr_hard_regno_mode_ok): New prototype.
1791         * config/avr/avr.c (out_adj_frame_ptr, out_set_stack_ptr):
1792         New functions, common code moved from function_{prologue,epilogue}
1793         and extended to support the -mtiny-stack option.
1794         (function_prologue, function_epilogue): Use them.
1795         Use lo8/hi8 consistently for asm output readability.
1796         (avr_hard_regno_mode_ok): New function.
1797         * config/avr/avr.h (TARGET_SWITCHES): Fix typo.  Add -mtiny-stack.
1798         (UNITS_PER_WORD): Define as 4 (not 1) when compiling libgcc2.c.
1799         (HARD_REGNO_MODE_OK): Call the avr_hard_regno_mode_ok function.
1800         * config/avr/avr.md (*mov_sp_r): Add support for -mtiny-stack.
1801         Write SPH before SPL.
1802         (*movqi): No need to disable interrupts for just one "out"
1803         in alternative 5.  Change length attribute from 4 to 1.
1804         * config/avr/libgcc.S (__prologue_saves__, __epilogue_restores__):
1805         Write SPH before SPL.
1806
1807 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
1808
1809         * rtl.texi (Vector Operations): New node.
1810         (Arithmetic): Add ss_plus, us_plus, ss_minus, us_minus.
1811         (Conversions): Add ss_truncate, us_truncate.
1812         * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_REORDER,
1813         VEC_CONST, VEC_DUPLICATE, SS_PLUS, SS_MINUS, SS_TRUNCATE,
1814         US_TRUNCATE): New rtx codes.
1815         * machmode.def: Add vector modes.
1816         * machmode.h (enum mode_class): Add MODE_VECTOR_INT and
1817         MODE_VECTOR_FLOAT.
1818         (INTEGER_MODE_P): Check for MODE_VECTOR_INT.
1819         (FLOAT_MODE_P): Check for MODE_VECTOR_FLOAT.
1820         (VECTOR_MODE_P): New.
1821
1822 2000-06-24  Nathan Sidwell  <nathan@codesourcery.com>
1823
1824         * cpp.texi: Clarify #pragma GCC namespace.
1825
1826 2000-06-24  Philipp Thomas  <pthomas@suse.de>
1827
1828         * aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build
1829         all catalogs specified in ALL_LINGUAS.
1830         * configure: Rebuilt.
1831
1832 2000-06-23  Jakub Jelinek  <jakub@redhat.com>
1833
1834         * config/sparc/sparc.md (reload_outdi+1): Handle
1835         HOST_BITS_PER_WIDE_INT == 64 case correctly.
1836         (adddi3_insn_sp32+1, adddi3_insn_sp32+2, andsi3+2): Likewise.
1837
1838 2000-06-23  Geoffrey Keating  <geoffk@cygnus.com>
1839
1840         * alias.c (fixed_scalar_and_varying_struct_p): Don't examine
1841         struct vs. scalar-ness when -fno-strict-aliasing.
1842
1843 2000-06-23  Nathan Sidwell  <nathan@codesourcery.com>
1844
1845         * cpplib.c (struct pragma_entry): New structure.
1846         (pragma_dispatch): Pragma dispatcher.
1847         (top_pragmas, gcc_pragmas): New static variables.
1848         (do_pragma): Use pragma_dispatch.
1849         (do_pragma_gcc): New pragma handler.
1850         * cpp.texi: Update.
1851
1852 2000-06-23  Jakub Jelinek  <jakub@redhat.com>
1853
1854         * calls.c (compute_argument_addresses): Force stack slots into
1855         alias set 0.
1856         * expr.c (emit_push_insn): Force pushes into alias set 0.
1857
1858 2000-06-23  Richard Henderson  <rth@cygnus.com>
1859
1860         * config/ia64/ia64.md (pred_rel_mutex): Only take one register.
1861         * config/ia64/ia64.c (emit_predicate_relation_info): Adjust to match.
1862
1863 2000-06-22  Jason Merrill  <jason@redhat.com>
1864
1865         * toplev.c (compile_file): Always call timevar_print.
1866         * Makefile.in (calls.o): Depend on TIMEVAR_H.
1867
1868 2000-06-22  Nathan Sidwell  <nathan@codesourcery.com>
1869
1870         * varasm.c (constant_descriptor): Make contents unsigned char.
1871         (mark_const_hash_entry): Adjust.
1872         (const_hash): Just hash the code of unknown nodes.
1873         (compare_constant_1): Adjust for unsigned char.
1874         Use language specific expander on unknown nodes.
1875         (record_constant_1): Likewise.
1876
1877 2000-06-21  Zack Weinberg  <zack@wolery.cumb.org>
1878
1879         * cppfiles.c (cpp_make_system_header): New function.
1880         * cpplib.h: Prototype it.
1881         * cpplib.c (do_line, do_pragma_system_header): Use it.
1882         * fix-header.c (read_scan_file): Use it.
1883
1884         * fix-header.c (check_macro_names): Cast second arg of
1885         cpp_defined to const unsigned char *.
1886         (read_scan_file): Make getchar_call const unsigned char.
1887
1888 2000-06-21  Zack Weinberg  <zack@wolery.cumb.org>
1889
1890         * cppfiles.c: Include splay-tree.h, not hashtab.h.
1891         (redundant_include_p, make_IHASH, hash_IHASH, eq_IHASH): Delete.
1892         (destroy_include_file_node): New.
1893         (_cpp_init_include_hash): Rename _cpp_init_include_table.
1894         Create a splay tree, not a hash table.
1895         (open_include_file): Look up the path in the include table,
1896         do the multiple include optimization here, etc.
1897         (cpp_included): Walk the path.
1898         (find_include_file): Just walk the path calling
1899         open_include_file, or call it directly for an absolute path.
1900         (_cpp_fake_ihash): Rename _cpp_fake_include and update for new
1901         scheme.
1902         (read_include_file): Update for new scheme.  Don't close the
1903         file unless reading fails.
1904         (_cpp_execute_include, cpp_read_file): Tweak for new scheme.
1905
1906         * cpphash.h (struct ihash, NEVER_REINCLUDE): Delete.
1907         (struct include_file): New.
1908         (NEVER_REREAD, DO_NOT_REREAD, CPP_IN_SYSTEM_HEADER): New
1909         macros.
1910         (CPP_PEDANTIC, CPP_WTRADITIONAL): Update.
1911         Update prototypes.
1912
1913         * cppinit.c: Include splay-tree.h.
1914         (cpp_reader_init, cpp_cleanup): Update.
1915
1916         * cpplib.h (struct cpp_buffer): Change ihash field to
1917         'struct include_file *inc'.  Remove system_header_p.
1918         (struct cpp_reader): Change all_include_files to a
1919         struct splay_tree_s *.
1920
1921         * cpplex.c: Update all references to cpp_buffer->ihash and/or
1922         cpp_buffer->system_header_p.
1923         (cpp_pop_buffer): Close file here, only if DO_NOT_REREAD.
1924
1925         * Makefile.in (SPLAY_TREE_H): New macro.
1926         (cppfiles.o, cppinit.o): Update dependencies.
1927
1928 Wed Jun 21 11:05:48 2000  Martin Buchholz <martin@xemacs.org>
1929
1930         * invoke.texi (g++): "g++" is not a script anymore.
1931
1932 2000-06-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1933
1934         * function.c (round_down): Delete obsolete prototype.
1935
1936         * pa.h (CPP_SPEC): Add whitespace after -D__STDC_EXT__.
1937
1938 2000-06-20  Zack Weinberg  <zack@wolery.cumb.org>
1939
1940         * configure.in: Use 'test a = b' not 'test a == b'.
1941         * configure: Regen.
1942
1943         * Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS).
1944
1945         * Makefile.in: Remove all references to HOST_INTLLIBS.
1946
1947         * cpplex.c (parse_name): Don't warn about $ in identifiers if
1948         skipping.
1949
1950 2000-06-20  Philipp Thomas  <pthomas@suse.de>
1951
1952         * config/pa/pa.h(TARGET_SWITCHES): Require binutils 2.10 or later
1953         for PA 2.0.
1954
1955 Mon Jun 19 23:26:40 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1956
1957         * Take REG_INC notes into account.
1958
1959 2000-06-19  Zack Weinberg  <zack@wolery.cumb.org>
1960
1961         * c-parse.in (undeclared_variable_notice): Moved to c-typeck.c.
1962         (primary: IDENTIFIER): Just call build_external_ref.
1963         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
1964         Regenerate.
1965         * c-lex.c (lastiddecl): Remove.
1966         (yylex): Replace all instances of lastiddecl with local
1967         variables.
1968
1969         * c-typeck.c (build_external_ref): New function.  Treat decls
1970         with C_DECL_ANTICIPATED mostly the same as nonexistent decls.
1971         Look up the decl from the id here.  Call lookup_objc_ivar.
1972         * c-lang.c (lookup_objc_ivar): Stub.
1973         * objc/objc-act.c (lookup_objc_ivar): New function.
1974
1975         * c-tree.h: Prototype lookup_objc_ivar and build_external_ref.
1976         * c-lex.h: Don't declare lastiddecl.
1977
1978 2000-06-19  Benjamin Chelf  <chelf@codesourcery.com>
1979
1980         * c-common.h (IF_COND): Added documentation.
1981         (THEN_CLAUSE): Likewise.
1982         (ELSE_CLAUSE): Likewise.
1983         (WHILE_COND): Likewise.
1984         (WHILE_BODY): Likewise.
1985         (DO_COND): Likewise.
1986         (DO_BODY): Likewise.
1987         (RETURN_EXPR): Likewise.
1988         (EXPR_STMT_EXPR): Likewise.
1989         (FOR_INIT_STMT): Likewise.
1990         (FOR_COND): Likewise.
1991         (FOR_EXPR): Likewise.
1992         (FOR_BODY): Likewise.
1993         (SWITCH_COND): Likewise.
1994         (SWITCH_BODY): Likewise.
1995         (CASE_LOW): Likewise.
1996         (CASE_HIGH): Likewise.
1997         (GOTO_DESTINATION): Likewise.
1998         (COMPOUND_BODY): Likewise.
1999         (ASM_CV_QUAL): Likewise.
2000         (ASM_STRING): Likewise.
2001         (ASM_OUTPUTS): Likewise.
2002         (ASM_INPUTS): Likewise.
2003         (ASM_CLOBBERS): Likewise.
2004         (DECL_STMT_DECL): Likewise.
2005         (STMT_EXPR_STMT): Likewise.
2006         (LABEL_STMT_LABEL): Likewise.
2007
2008         * c-common.def: Added documenetion for SRCLOC, EXPR_STMT,
2009         COMPOUND_STMT, DECL_STMT, IF_STMT, FOR_STMT, WHILE_STMT, DO_STMT,
2010         RETURN_STMT, BREAK_STMT, CONTINUE_STMT, SWITCH_STMT, GOTO_STMT,
2011         LABEL_STMT, ASM_STMT, SCOPE_STMT, CASE_LABEL, STMT_EXPR.
2012
2013 2000-06-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2014
2015         * configure.in (--enable-checking): Update --help doc to reflect
2016         new defaults.  Ensure $ac_save_IFS is set before $IFS is changed.
2017
2018 Sun Jun 18 21:42:15 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2019
2020         * gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.
2021
2022         * function.c (put_var_into_stack): Don't reference DECL_ fields
2023         if input is a SAVE_EXPR.
2024         Use set_mem_attributes in COMPLEX case.
2025
2026 2000-06-18  Richard Henderson  <rth@cygnus.com>
2027
2028         * config/ia64/ia64-protos.h (process_for_unwind_directive): Declare.
2029         (ia64_file_start): Declare.
2030         * config/ia64/ia64.h (ADDL_REGNO_P): Don't compare unsigned against 0.
2031         (GR_REGNO_P): Likewise.
2032         * config/ia64/ia64.c: Many prototypes.
2033         (ia64_reg_numbers): Constify.
2034         (ia64_input_reg_names, ia64_local_reg_names): Likewise.
2035         (ia64_section_threshold): Make unsigned.
2036         (ia64_print_operand): Constify.
2037         (fix_range): Constify.
2038         (ia64_init_builtins): Don't compare signed vs unsigned.
2039         (ia64_expand_builtin): Likewise.
2040
2041         * config/ia64/ia64.h (EXTRA_CONSTRAINT): New.
2042         (CONSTRAINT_OK_FOR_Q): New.
2043         * config/ia64/ia64.md (movdi_internal): Use Q for fp<->mem.
2044         (movsf_internal, movdf_internal): Likewise.
2045         (cmovdi_internal): Rewrite so that constraints and predicates match;
2046         simplify splitters.
2047         (cmovsi_internal): Likewise.
2048
2049         * config/ia64/ia64.h (ASM_SPEC): Add -x for gas.
2050         (ASM_FILE_START): New.
2051         * config/ia64/ia64.c (ia64_file_start): New.
2052         (rtx_needs_barrier): Handle pred.rel.mutex.
2053         (emit_predicate_relation_info): New.
2054         * config/ia64/ia64.md (pred_rel_mutex): New.
2055         * config/ia64/linux.h (ASM_SPEC): Define.
2056         * config/ia64/sysv4.h (ASM_FILE_START): Define.
2057
2058         * config/ia64/ia64.c (ia64_encode_section_info): Fix thinko
2059         filtering global register variables.
2060
2061 2000-06-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2062
2063         * c-common.c (add_c_tree_codes): Fix definition for traditional C.
2064
2065 2000-06-17  Michael Meissner  <meissner@redhat.com>
2066
2067         * gcc.c (do_spec_1, '%v3' case): Do not abort if patch level is
2068         not present and there is a field after a '-'.
2069
2070 2000-06-17  Bruce Korb  <bkorb@gnu.org>
2071
2072         * fixinc/check.tpl:  finish the implementation of multiple tests
2073         for a single fix
2074         * fixinc/inclhack.def(ctrl_quotes_def): add a second test
2075         (io_quotes_def): add a second test
2076         (various): reorder `files' so that "limits.h" is never first
2077         * fixinc/tests/base/*: update the testing output
2078
2079 Sat Jun 17 10:33:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2080
2081         * gcc.texi: Remove reference to stupid.c.
2082
2083 2000-06-16  Benjamin Chelf  <chelf@codesourcery.com>
2084
2085         * c-common.c (c_tree_code_type): New array.
2086         (c_tree_code_length): Likewise.
2087         (c_tree_code_name): Likewise.
2088         (add_c_tree_codes): New function.
2089
2090         * c-common.h (add_c_tree_codes): Declare.
2091         (enum c_tree_code): New enum.
2092
2093         * c-lex.c (init_parse): Added call to add_c_tree_codes.
2094
2095 2000-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2096
2097         * fixinc/inclhack.def (ctrl_quotes_def, io_quotes_def): Modify
2098         select pattern to also match macro defs with only one argument.
2099
2100 Thu Jun 15 18:56:12 2000  Jeffrey A Law  (law@cygnus.com)
2101
2102         * i386.md: Create new [right,left] rotate and right shift
2103         patterns to optimize shift by 1 bit for certain ia32 processors.
2104         Update patterns which perform left shifts to optimize shift by
2105         1 bit for certain ia32 processors.
2106         * i386.c (const_int_1_operand): New predicate.
2107         * i386.h (PREDICATE_CODES): Handle const_int_1_operand.
2108         * i386-protos.h (const_int_1_operand): Prototype.
2109
2110 Wed Jun 14 23:46:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2111
2112         * mips.c (machine_dependent_reorg): Fix braces for nested if.
2113
2114 2000-06-14  Geoff Keating  <geoffk@cygnus.com>
2115
2116         * rs6000.c (toc_hash_eq): Use CODE_LABEL_NUMBER to compare
2117         LABEL_REFs.
2118
2119 2000-06-14  Richard Henderson  <rth@cygnus.com>
2120
2121         * conflict.c (conflict_graph_compute): Don't look for REG_INC.
2122
2123         * config/ia64/ia64.c (ia64_setup_incoming_varargs): Don't emit
2124         auto-inc code.
2125
2126         * print-rtl.c (print_rtx): Emit space before mem alias set.
2127
2128 2000-06-14  David Edelsohn  <edelsohn@gnu.org>
2129
2130         * rs6000.c (expand_block_move): Fix typo in earlier change.
2131         (print_operand): Remove unused variables neg and op.
2132         (toc_hash_mark_entry): Fix prototype.
2133
2134 2000-06-14  Benjamin Chelf  <chelf@codesourcery.com>
2135
2136         * c-common.h (IF_COND): Moved here from cp/cp-tree.h.
2137         (THEN_CLAUSE): Likewise.
2138         (ELSE_CLAUSE): Likewise.
2139         (WHILE_COND): Likewise.
2140         (WHILE_BODY): Likewise.
2141         (DO_COND): Likewise.
2142         (DO_BODY): Likewise.
2143         (RETURN_EXPR): Likewise.
2144         (EXPR_STMT_EXPR): Likewise.
2145         (FOR_INIT_STMT): Likewise.
2146         (FOR_COND): Likewise.
2147         (FOR_EXPR): Likewise.
2148         (FOR_BODY): Likewise.
2149         (SWITCH_COND): Likewise.
2150         (SWITCH_BODY): Likewise.
2151         (CASE_LOW): Likewise.
2152         (CASE_HIGH): Likewise.
2153         (GOTO_DESTINATION): Likewise.
2154         (COMPOUND_BODY): Likewise.
2155         (ASM_CV_QUAL): Likewise.
2156         (ASM_STRING): Likewise.
2157         (ASM_OUTPUTS): Likewise.
2158         (ASM_INPUTS): Likewise.
2159         (ASM_CLOBBERS): Likewise.
2160         (DECL_STMT_DECL): Likewise.
2161         (STMT_EXPR_STMT): Likewise.
2162         (LABEL_STMT_LABEL): Likewise.
2163         (SCOPE_BEGIN_P): Likewise.
2164         (SCOPE_END_P): Likewise.
2165         (SCOPE_STMT_BLOCK): Likewise.
2166         (SCOPE_NULLIFIED_P): Likewise.
2167         (SCOPE_NO_CLEANUPS_P): Likewise.
2168         (SCOPE_PARTIAL_P): Likewise.
2169         (ASM_VOLATILE_P): Likewise.
2170         (STMT_LINENO): Likewise.
2171         (STMT_LINENO_FOR_FN_P): Likewise.
2172
2173         * c-common.def: New file. Added SRCLOC, SIZEOF_EXPR, ARROW_EXPR,
2174         ALIGNOF_EXPR, EXPR_STMT, COMPOUND_STMT, DECL_STMT, IF_STMT,
2175         FOR_STMT, WHILE_STMT, DO_STMT, RETURN_STMT, BREAK_STMT,
2176         CONTINUE_STMT, SWITCH_STMT, GOTO_STMT, LABEL_STMT, ASM_STMT,
2177         SCOPE_STMT, CASE_LABEL, STMT_EXPR.
2178
2179         * gencheck.c (tree_codes[]): Added '#include "c-common.def"'.
2180
2181 2000-06-14  David O'Brien  <obrien@FreeBSD.org>
2182
2183         * gcc.c (main): Quiet compiler warnings.  argv is assumed to be
2184         writable in parts of the GCC code.
2185
2186         * config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
2187         specification match cast.
2188
2189 Wed Jun 14 09:25:57 2000  Jeffrey A Law  (law@cygnus.com)
2190
2191         * configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
2192         * configure, config.in: Rebuilt.
2193         * sys-protos.h: Similarly.
2194
2195 Wed Jun 14 03:39:58 EDT 2000  John Wehle  (john@feith.com)
2196
2197         * ifcvt.c (EDGE_COMPLEX): Move definition ...
2198         * basic-block.h (EDGE_COMPLEX): ... here.
2199
2200         * loop.c (check_dbra_loop): Specify the register when
2201         generating REG_NONNEG notes and don't generate duplicates.
2202
2203 2000-06-13  Jakub Jelinek  <jakub@redhat.com>
2204
2205         * tree.h (TYPE_USER_ALIGN, DECL_USER_ALIGN): Define.
2206         (struct tree_type, struct tree_decl): Add user_align member.
2207         * stor-layout.c (layout_decl): Set DECL_USER_ALIGN.
2208         (place_union_field): If BIGGEST_FIELD_ALIGNMENT is defined
2209         and DECL_USER_ALIGN 0, cap alignment to this value.
2210         (place_field): Likewise.
2211         (finalize_type_size): Set TYPE_USER_ALIGN.
2212         (layout_type): Likewise.
2213         (initialize_sizetypes): Likewise.
2214         * c-common.c (decl_attributes): Set TYPE_USER_ALIGN resp.
2215         DECL_USER_ALIGN to 1.
2216         * c-decl.c (duplicate_decls): Set DECL_USER_ALIGN.
2217         (xfer_tag): Set TYPE_USER_ALIGN.
2218         (finish_struct): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
2219         (finish_enum): Likewise.
2220         * stmt.c (expand_decl): Set DECL_USER_ALIGN.
2221         (expand_anon_union_decl): Likewise.
2222         * tree.c (make_node): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
2223         (build_index_type): Set TYPE_USER_ALIGN.
2224         (build_range_type): Likewise.
2225         (build_common_tree_nodes_2): Likewise.
2226         * tm.texi (BIGGEST_FIELD_ALIGNMENT): Document the changed meaning.
2227
2228 2000-06-13  Andreas Jaeger  <aj@suse.de>
2229
2230         * configure.in: Use --enable-checking=misc,tree,gc by default if
2231         no --enable-checking option is given and for
2232         --enable-checking=yes.
2233         * configure: Rebuilt.
2234
2235 2000-06-13  Richard Henderson  <rth@cygnus.com>
2236
2237         * libgcc2.c (ia64_throw_helper): Use __builtin_return_address.
2238         (__throw): Don't pass the address of a label.
2239
2240         * config/ia64/ia64.c (ia64_compute_frame_size): Use
2241         current_function_is_leaf.
2242         (ia64_expand_prologue): Likewise.  Modify return_address_pointer_rtx
2243         instead of reg_names[RETURN_ADDRESS_REGNUM].
2244         (ia64_init_machine_status): Reset return_address_pointer_rtx.
2245         * config/ia64/ia64.h (RETURN_ADDRESS_POINTER_REGNUM): Rename
2246         from RETURN_ADDRESS_REGNUM.  Update all uses.
2247         (RETURN_ADDR_RTX): Use return_address_pointer_rtx; return
2248         zero instead of null on failure.
2249         (ELIMINABLE_REGS): Add ra->b0 elimination.
2250         (CAN_ELIMINATE): Update accordingly.
2251         (INITIAL_ELIMINATION_OFFSET): Likewise.
2252         (REGISTER_NAMES): Use an illegal assembler name for
2253         RETURN_ADDRESS_POINTER_REGNUM.
2254
2255 2000-06-13  Richard Henderson  <rth@cygnus.com>
2256
2257         * config/ia64/ia64.h (enum reg_class): Remove FR_INT_REGS, FR_FP_REGS,
2258         GR_AND_FR_INT_REGS, GR_AND_FR_FP_REGS.
2259         (REG_CLASS_NAMES): Likewise.
2260         (REG_CLASS_CONTENTS): Likewise.
2261         (FR_FP_REGNO_P, FR_INT_REGNO_P): Remove.
2262         (HARD_REGNO_MODE_OK): Remove references to them.
2263         (REGNO_REG_CLASS): Likewise.
2264         (REG_CLASS_FROM_LETTER): Likewise.
2265         (CLASS_MAX_NREGS): Likewise.
2266         (REGISTER_MOVE_COST): Likewise.
2267         * config/ia64/ia64.c (ia64_secondary_reload_class): Likewise.
2268         * config/ia64/ia64.md (*): Replace "e" constraints with "f".
2269         (movqi_internal): Special case moves from zero.
2270         (movhi_internal, movsi_internal): Likewise.
2271         (movdi_internal): Likewise.  Fill out "f" constraints.
2272         (movsf_internal): Fill out "r" constraints.
2273         (movdf_internal): Likewise.
2274
2275 2000-06-13  Richard Henderson  <rth@cygnus.com>
2276
2277         * flow.c (insn_dead_p): Keep sets to PIC_OFFSET_TABLE_REGNUM
2278         alive before reload.
2279
2280         * haifa-sched.c (struct deps): Add in_post_call_group_p.
2281         (add_dependence): Handle notes between SCHED_GROUP_P insns.
2282         (remove_dependence): Always define.
2283         (set_sched_group_p): New.
2284         (sched_analyze_2): Use it.
2285         (sched_analyze_insn): Don't special-case naked uses.  Look for
2286         and extend in_post_call_group_p.
2287         (sched_analyze): Clear stale SCHED_GROUP_P.  Set in_post_call_group_p.
2288         (init_deps): Clear in_post_call_group_p.
2289
2290 2000-06-13  Richard Henderson  <rth@cygnus.com>
2291
2292         * combine.c (subst): Use CLASS_CANNOT_CHANGE_MODE and
2293         CLASS_CANNOT_CHANGE_MODE_P instead of CLASS_CANNOT_CHANGE_SIZE
2294         and hard-coded tests.
2295         (simplify_set): Likewise.
2296         (gen_lowpart_for_combine): Likewise.
2297         * emit-rtl.c (gen_lowpart_common): Likewise.
2298         * global.c (find_reg): Likewise.
2299         * local-alloc.c (find_free_reg): Likewise.
2300         * recog.c (register_operand): Likewise.
2301         * regclass.c (init_reg_sets_1): Likewise.
2302         (record_operand_costs, regclass): Likewise.
2303         * reload.c (push_reload): Likewise.
2304         * reload1.c (choose_reload_regs): Likewise.
2305         * flow.c (mark_used_regs): Conditionally set REG_CHANGES_MODE.
2306         * local-alloc.c (struct qty): Rename changes_size to changes_mode.
2307         Update all references.
2308         * regs.h (struct reg_info_def): Likewise.
2309         (REG_CHANGES_MODE): Rename from REG_CHANGES_SIZE.
2310         * tm.texi (CLASS_CANNOT_CHANGE_MODE): Document.
2311         (CLASS_CANNOT_CHANGE_MODE_P): Likewise.
2312
2313         * config/alpha/alpha.h (CLASS_CANNOT_CHANGE_MODE): Rename.
2314         (CLASS_CANNOT_CHANGE_MODE_P): New.
2315         * config/mips/mips.h: Likewise.
2316         * config/pa/pa32-regs.h: Likewise.
2317         * config/pa/pa64-regs.h: Likewise.
2318         * config/rs6000/rs6000.h: Likewise.
2319         * config/sh/sh.h: Likewise.
2320         * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE): New.
2321         (CLASS_CANNOT_CHANGE_MODE_P): New.
2322         * config/avr/avr.h (CLASS_CANNOT_CHANGE_SIZE): Remove dead code.
2323         * config/d30v/d30v.h: Likewise.
2324
2325 2000-06-13  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2326
2327         * configure.in: Add AC_TYPE_GETGROUPS test.
2328         * sys-protos.h: Use GETGROUPS_T * for second arg of getgroups.
2329         * configure: Rebuilt.
2330         * config.in: Rebuilt.
2331
2332 2000-06-13  Richard Henderson  <rth@cygnus.com>
2333
2334         * explow.c (set_mem_attributes): Do nothing for NULL type.
2335
2336 Tue Jun 13 14:45:10 2000  Jeffrey A Law  (law@cygnus.com)
2337
2338         * config/m68k/openbsd.h (ASM_SPEC): pass down options to assembler
2339         correctly.
2340
2341 2000-06-13  James E. Wilson  <wilson@cygnus.com>
2342
2343         * config/ia64/ia64.md (movxf_internal): Add missing "e" to ldf/stf.
2344
2345 Tue Jun 13 14:05:35 2000  Jeffrey A Law  (law@cygnus.com)
2346
2347         * Makefile.in (gensupport.o): Remove bogus $(HOST_PREFIX) reference.
2348
2349 2000-06-13  Philipp Thomas  <pthomas@suse.de>
2350
2351         * configure.in(ALL_LINGUAS): Changed en_UK to en_GB.
2352         * configure: Rebuilt.
2353
2354 2000-06-07  David O'Brien  <obrien@FreeBSD.org>
2355
2356         * configure.in:  Adjust FreeBSD bits to match changes to config.guess.
2357         We now default to ELF for the i386, and a.out is the special case.
2358         * configure:  Rebuilt.
2359
2360 Tue Jun 13 10:05:30 2000  Hans-Peter Nilsson  <hp@axis.com>
2361
2362         * final.c (final_scan_insn): Delete notes between cc0 setter and
2363         user when restarting from setter.
2364
2365 2000-06-13  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2366
2367         * vax.h (INDEX_TERM_P): Define evaluation order of &&'s in || and
2368         cast to squelch signed/unsigned warnings.
2369
2370 2000-06-13  Zack Weinberg  <zack@wolery.cumb.org>
2371
2372         * cpplib.c (handle_directive): Print non-NUL-terminated string
2373         with %.*s.
2374
2375 2000-06-12  Michael Meissner  <meissner@redhat.com>
2376
2377         * ifcvt.c (dead_or_predicable): Don't do conditional execution
2378         path if the machine needs extra support to do conditional
2379         execution.
2380
2381 Mon Jun 12 17:04:17 2000  Jeffrey A Law  (law@cygnus.com)
2382
2383         * print-rtl.c (print_rtx, case MEM): Use HOST_WIDE_INT_PRINT_DEC
2384         to print the alias set.
2385         * print-tree.c (print_node, DECL_* nodes and case 't'): Similarly.
2386
2387 2000-06-12  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2388
2389         * config/float-vax.h: Add GFLOAT defines.
2390
2391 Mon Jun  12  9:44:00 2000  Mark Klein  <mklein@dis.com>
2392
2393         * configure.in: Update tm dependencies for MPE.
2394         * configure: Rebuilt.
2395
2396 2000-06-12  H.J. Lu  <hjl@gnu.org>
2397
2398         * gengenrtl.c (obstack_alloc_rtx): Correct the allocated size.
2399
2400 2000-06-12  David Edelsohn  <edelsohn@gnu.org>
2401
2402         * aix41.h (SUBTARGET_SWITCHES): Delete threads.
2403         (CPP_SPEC): Change mthreads to pthread.
2404         (LIB_SPEC): Likewise.
2405         (STARTFILE_SPEC): Likewise.
2406         * aix43.h (SUBTARGET_SWITCHES): Delete threads.
2407         (CPP_SPEC): Change mthreads to pthread.
2408         (LIB_SPEC): Likewise.
2409         (STARTFILE_SPEC): Likewise.
2410         * rs6000-protos.h (reg_or_arith_cint_operand): New.
2411         * rs6000.c (reg_or_arith_cint_operand): New.
2412         (num_insns_constant_wide): Decorate unsigned constant.
2413         * rs6000.h (PREDICATE_CODES): Add reg_or_arith_cint_operand.
2414         * rs6000.md (addsi3): Use new predicate.
2415         (subsi3, adddi3, subdi3): Likewise.
2416
2417 2000-06-12  Mark Mitchell  <mark@codesourcery.com>
2418
2419         * c-common.c (lang_get_alias_set): Fix typo.
2420
2421 2000-06-12  Richard Earnshaw <rearnsha@arm.com>
2422
2423         * flow.c (mark_used_regs): Revert last change.
2424         (life_analysis): Remove PROP_AUTOINC if running after reload.
2425         (propagate_one_insn): PROP_AUTOINC is always off after reload.
2426
2427 2000-06-11  Richard Earnshaw <rearnsha@arm.com>
2428
2429         * flow.c (mark_used_regs): Don't call find_auto_inc after reload
2430         has run.
2431
2432 2000-06-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2433
2434         * bb-reorder.c (build_scope_forest): Initialize variable
2435         `curr_scope'.
2436
2437         * calls.c (expand_call): Likewise for variables
2438         `save_pending_stack_adjust' and `save_stack_pointer_delta'.
2439
2440         * i386.c (function_arg_advance, function_arg): Cast to avoid
2441         signed/unsigned warnings.
2442
2443         * i386.h (MEMORY_MOVE_COST): Likewise.
2444
2445         * ifcvt.c (cond_exec_process_if_block): Initialize variables
2446         `else_start' and `else_end'.
2447
2448         * libgcc2.h (__eh_alloc, __eh_free): Prototype.
2449
2450         * regrename.c (rr_replace_reg): Initialize variable `dest_subregno'.
2451
2452 2000-06-10  Mark Mitchell  <mark@codesourcery.com>
2453
2454         * Makefile.in (libintl.a): Depend on intl.all.
2455
2456 2000-06-09  H.J. Lu  (hjl@gnu.org)
2457
2458         * Makefile.in (c-parse.o): Also depend on output.h.
2459
2460 2000-06-09  Rodney Brown  <RodneyBrown@mynd.com>
2461
2462         * mcore-protos.h: discards const warning removal.
2463         * mcore.c: discards const warning removal.
2464
2465 2000-06-09  Kazu Hirata  <kazu@hxi.com>
2466
2467         * config/h8300/lib1funcs.asm: Declare the machine architecture at
2468         the beginning of the file.
2469
2470 2000-06-09  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2471
2472         * real.h:  Add prototype for ldexp.
2473
2474 2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
2475
2476         * ggc-none.c, ggc-simple.c, ggc-page.c (ggc_alloc_obj): Rename
2477         it ggc_alloc, drop second argument, never clear returned memory.
2478         * ggc-common.c (ggc_alloc_string): Use ggc_alloc.
2479         (ggc_alloc_cleared): New.
2480         * ggc.h: Prototype ggc_alloc and ggc_alloc_cleared, not
2481         ggc_alloc_obj.  Remove ggc_alloc macro.
2482         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Use ggc_alloc.
2483
2484         * rtl.c (rtvec_alloc): Clear the vector always.
2485         (rtx_alloc): Clear the first word always.  Remove dirty
2486         obstack tricks (this routine is no longer a bottleneck).
2487         * tree.c (make_node): Clear the new node always.
2488         (make_tree_vec): Likewise.
2489         (tree_cons): Clear the common structure always.
2490         (build1): Likewise; also, clear TREE_COMPLEXITY.
2491         * gengenrtl.c: Use puts wherever possible.  Remove extra
2492         newlines.
2493         (gendef): Clear the first word of an RTX in the generator
2494         function, irrespective of ggc_p.  Initialize '0' slots to
2495         NULL.
2496         (genlegend): Don't generate obstack_alloc_rtx routine, just a
2497         thin wrapper macro around obstack_alloc.
2498
2499         * stmt.c (expand_fixup): Use ggc_alloc.
2500         * c-typeck.c (add_pending_init): Use ggc_alloc.
2501         * emit-rtl.c (init_emit_once): Clear CONST_DOUBLE_CHAIN(tem).
2502         * varasm.c (immed_double_const): Set CONST_DOUBLE_MEM(r) to
2503         const0_rtx when it is created.
2504         (immed_real_const_1): Set CONST_DOUBLE_CHAIN(r) to NULL_RTX if
2505         we are not in a function.
2506
2507         * tree.c (tree_class_check_failed): Make second arg an int.
2508         * tree.h: Update prototype.
2509
2510 2000-06-09  Geoff Keating  <geoffk@cygnus.com>
2511
2512         * tree.h (VOID_TYPE_P): Don't look at the TYPE_MAIN_VARIANT
2513         of an error_mark_node.
2514
2515 Fri Jun  9 20:35:13 2000  Denis Chertykov  <denisc@overta.ru>
2516
2517         * config/avr/avr.c (asm_output_section_name): bugfix.
2518
2519 2000-06-09  Jason Merrill  <jason@casey.soma.redhat.com>
2520
2521         * timevar.def: Add TV_EXPAND.
2522         * timevar.c (timevar_print): Update timing information.
2523         * calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining.
2524
2525         * stmt.c (expand_return): Check for error_mark_node.
2526
2527 2000-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2528
2529         * configure.in: Also avoid wrapping auto-build.h with IN_GCC.
2530
2531         * scan-types.sh (VALUE) Wrap use with double quotes to protect
2532         variable against filename expansion when it contains "char *".
2533
2534         * system.h (SSIZE_MAX): Delete backup definition.
2535
2536         * cppfiles.c (read_include_file): Use INTTYPE_MAXIMUM(ssize_t)
2537         instead of SSIZE_MAX.
2538
2539 2000-06-09  Jakub Jelinek  <jakub@redhat.com>
2540
2541         * configure.in: Check whether gas supports -relax.
2542         * configure, config.in: Rebuilt.
2543         * config/sparc/sparc.h (ASM_RELAX_SPEC): Define.
2544         (EXTRA_SPECS): Add asm_relax.
2545         (ASM_SPEC): Add %(asm_relax).
2546         (TARGET_SWITCHES): Add -mrelax and -mno-relax.
2547         * config/sparc/linux64.h (LINK_ARCH_SPEC): Rename to LINK_SPEC.
2548         (LINK_SPEC): Pass -relax to linker unless -mno-relax or -r.
2549         (ASM_SPEC): Add %(asm_relax).
2550         * config/sparc/linux.h (LINK_SPEC, ASM_SPEC): Likewise.
2551         * config/sparc/sparc.c (output_sibcall): If HAVE_AS_RELAX_OPTION,
2552         never use sethi/jmpl for leaf tail calls.  Use or with rs2 %g0
2553         instead of mov, so that gas can further optimize it.
2554
2555 2000-06-08  James E. Wilson  <wilson@bletchleypark.cygnus.com>
2556
2557         * dwarf2out.c (size_of_die, case dw_val_class_const): Use
2558         size_of_sleb128.
2559         (value_format, case dw_val_class_const): Use sdata format.
2560         (output_die): Call output_sleb128.
2561
2562 2000-06-08  James E. Wilson  <wilson@cygnus.com>
2563
2564         * dwarf2out.c (ASM_OUTPUT_DWARF_DATA8): Add new macro that uses
2565         UNALIGNED_DOUBLE_INT_ASM_OP.  Rename old macro to
2566         ASM_OUTPUT_DWARF_CONST_DOUBLE.
2567         (output_die, case dw_val_class_unsigned_const): Correct call to
2568         ASM_OUTPUT_DWARF_DATA8.
2569         (output_die, case dw_val_class_long_long): Use
2570         ASM_OUTPUT_DWARF_CONST_DOUBLE.
2571         * tree.c (host_integerp): Accept unsigned HOST_WIDE_INT values when
2572         pos is zero.
2573
2574         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Add.
2575         (output_function_prologue): Fix mispelling.
2576         (output_function_prologue, output_function_epilogue): Reorder to
2577         match ia64.c definition order.
2578         * config/ia64/ia64.c (ia64_expand_prologue): Add comment.
2579         (ia64_expand_epilogue): Set RTX_FRAME_RELATED_P on stack restore insns.
2580         Use r3 instead of r2 for large stack restores.
2581         (ia64_output_end_prologue): New function.
2582         (process_set): Emit ".restore sp" for epilogue stack restores.
2583         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Define.
2584
2585 2000-06-08  Jakub Jelinek  <jakub@redhat.com>
2586
2587         * dbxout.c (dbxout_type_fields): Don't segfault on fields with
2588         incomplete types.
2589
2590 2000-06-08  Nathan Sidwell  <nathan@codesourcery.com>
2591
2592         * frame.c (end_fde_sort): Remove extraneous erratic array test.
2593
2594 2000-06-08  Denis Perchine <dyp@perchine.com>
2595
2596         * frame.c (start_fde_sort): Don't malloc (0).
2597
2598 2000-06-07  Zack Weinberg  <zack@wolery.cumb.org>
2599
2600         * c-decl.c (pushdecl): Do not call COMPLETE_TYPE_P on
2601         error_mark_node.
2602         * print-tree.c (print_node): The transparent_union_flag means
2603         different things for unions and arrays.  Do not inspect it
2604         with TYPE_TRANSPARENT_UNION.
2605
2606 2000-06-06  Jakub Jelinek  <jakub@redhat.com>
2607
2608         * cpplib.c (do_ifdef, do_ifndef): Don't segfault if parse_ifdef
2609         returned NULL.
2610
2611 Wed Jun  7 20:34:33 2000  Denis Chertykov  <denisc@overta.ru>
2612
2613         * config/avr/avr.c (asm_output_section_name): output section
2614         attributes.
2615         * config/avr/libgcc.S (.text.libgcc): declare section attributes.
2616
2617 2000-06-06  James E. Wilson  <wilson@cygnus.com>
2618
2619         * frame.h (struct unwind_info_ptr): Collapse version, flags, and length
2620         fields into header field.
2621         (IA64_UNW_HDR_LENGTH, IA64_UNW_HDR_FLAGS, IA64_UNW_HDR_VERSION): New
2622         macros to access length, flags, and version info from header field.
2623         * config/ia64/crtbegin.asm (__do_frame_setup_aux): Delete here.
2624         * config/ia64/crtend.asm (__do_frame_setup_aux): Add here.
2625         (__do_global_ctors_aux): Fix caller.
2626         * config/ia64/frame-ia64.c (get_unwind_record): Change parameter
2627         prologue_flag to header.  Pass to read_P_record.
2628         (read_P_record): New argument header.  Implement P4 format.
2629         Multiply P7_T_SIZE by 16.
2630         (execute_one_ia64_descriptor): New static local region_header.  Pass to
2631         get_unwind_record.  Copy r to region_header if r is a header record.
2632         (print_all_records): Likewise.
2633         (__build_ia64_frame_state): Use IA64_UNW_HDR_LENGTH.
2634         (__get_personality, __get_except_table): Likewise.
2635         * config/ia64/ia64.c (process_set): Do not divide offsets by 4.
2636
2637 2000-06-06  Philipp Thomas  <pthomas@suse.de>
2638
2639         * configure.in (AC_C_INLINE): Added.
2640         * aclocal.m4 (AM_WITH_NLS): Enable --with-included-gettext by default.
2641         * configure: Regenerate.
2642
2643 2000-06-06  Mark Mitchell  <mark@codesourcery.com>
2644
2645         * c-common.h (c_language_kind): New type.
2646         (c_language): New variab.e
2647         * c-common.c (lang_get_alias_set): Don't put structures in
2648         non-zero alias sets in C++.
2649         * c-decl.c (c_language): Define it.
2650         * c-lex.c (doing_objc_thang): Remove.
2651         * c-tree.h (doing_objc_thang): Make it a macro.
2652         * objc/objc-act.c (lang_decode_option): Set c_language, not
2653         doing_objc_thang.
2654
2655 2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
2656
2657         * diagnostic.c (output_maximum_width): Remove.
2658         (doing_line_wrapping): Tweak.
2659         (diagnostic_buffer): New object.
2660         (global_output_buffer): New object.
2661         (output_destroy_prefix): New function.
2662         (default_initialize_buffer): Likewise.
2663         (reshape_diagnostic_buffer): Likewise.
2664         (initialize_diagnostics): Likewise.
2665         (output_clear): Tweak.
2666         (line_wrapper_printf): Adjust call to init_output_buffer.
2667         (vline_wrapper_message_with_location): Likewise.  Use
2668         output_destroy_prefix.
2669         (v_message_with_decl): Likewise.
2670
2671         * diagnostic.h (struct output_buffer): Constify prefix.
2672         (init_output_buffer, output_get_prefix): Constify.
2673         (diagnostic_message_length_per_line): Likewise.
2674         (reshape_diagnostic_buffer): Declare.
2675         (default_initialize_buffer): Declare.
2676         (initialize_diagnostics): Declare.
2677         (diagnostic_buffer): Declare new obbject.
2678
2679         * toplev.c: #include diagnostic.h
2680         (display_help): Document diagnostic formatting options.
2681         (decode_f_option): Handle diagnostic formatting options.
2682         (main): Setup initialization for diagnostic messages outputter.
2683
2684         * toplev.h (set_message_length): Remove.
2685
2686         * Makefile.in (toplev.o): Depends upon diagnostic.h
2687
2688         * invoke.texi : Document diagnostics formatting options.
2689
2690 Tue Jun  6 19:25:32 2000  Philippe De Muyter  <phdm@macqel.be>
2691
2692         * configure.in (Make the links): Typo fix : the file that must be
2693         included without #ifdef IN_GCC is `auto-host.h', not `auto-config.h'.
2694         * configure: File rebuilt.
2695
2696 2000-06-06  Nathan Sidwell  <nathan@codesourcery.com>
2697
2698         * eh-common.h (EH_ALLOC_SIZE, EH_ALLOC_ALIGN): New #defines.
2699         (eh_context): Add alloc_mask and alloc_buffer emergency fallback
2700         space.
2701         * libgcc2.c (__eh_alloc): Moved from cp/exception.cc. Fallback on
2702         emergency eh_context buffer, if malloc fails.
2703         (__eh_free): Moved from cp/exception.cc. Release to emergency
2704         eh_context buffer, if appropriate.
2705
2706 2000-06-06  Jason Merrill  <jason@casey.soma.redhat.com>
2707
2708         * expr.c (store_expr): Fix typo.
2709
2710 2000-06-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2711
2712         * m68k.c (legitimize_pic_address): Move prototype ...
2713
2714         * m68k-protos.h (legitimize_pic_address): ... here.
2715
2716         * m68k.md (legitimize_pic_address): Delete prototypes.
2717         (untyped_call): Invoke GEN_CALL(), not gen_call().
2718
2719         * nextstep.c: Include system.h and toplev.h.
2720         (get_directive_line): Don't prototype.
2721         (handle_pragma): Mark parameters with ATTRIBUTE_UNUSED and constify.
2722
2723         * nextstep.h (handle_pragma): Prototype.
2724         (SECTION_FUNCTION): Prototype FUNCTION().  Move prototype of
2725         objc_section_init ...
2726         (EXTRA_SECTION_FUNCTIONS): ... here.
2727
2728 Tue Jun  6 08:17:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2729
2730         * sdbout.c (struct sdb_file): NAME now const.
2731         (sdbout_init): input_file_name now const.
2732         (sdbout_start_new_source_file): FILENAME now const.
2733         * sdbout.c (sdbout_init, sdbout_start_new_source_file): Reflect above.
2734
2735 2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
2736
2737         * c-typeck.c (build_conditional_expr): Handle complex data types.
2738
2739 2000-06-05  Jason Merrill  <jason@casey.soma.redhat.com>
2740
2741         * explow.c (maybe_set_unchanging): New function, broken out from...
2742         (set_mem_attributes): Here.
2743         * expr.h: Declare it.
2744         * stmt.c (expand_decl): Call it.
2745
2746 2000-06-05  Richard Henderson  <rth@cygnus.com>
2747
2748         * reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE
2749         while looking for a register to inherit from.
2750
2751 2000-06-05  Jason Merrill  <jason@casey.soma.redhat.com>
2752
2753         * Makefile.in (libgcc.ready): Lose.
2754         (libgcc.mk): Just use mv, not move-if-change.
2755         (LIBGCC_DEPS): New macro.
2756         (libgcc.a): Use it.
2757         (stmp-multilib): Likewise.
2758         * mklibgcc.in (stmp-dirs): New target.  Make everything depend on
2759         it rather than the directories themselves.
2760         (LIB2ADD): Depend on the list file rather than 'force'.
2761
2762         * fold-const.c (fold, case COND_EXPR): Elide conversion between
2763         cv-qualified versions of types.
2764
2765 Mon Jun  5 14:06:18 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2766
2767         * config/sparc/sparc.c (short_branch): Correct error in range
2768         computation.
2769
2770 2000-06-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2771
2772         * fixinc/inclhack.def: New include hacks for ultrix.
2773         * (nested_ultrix): Replaced by ultrix_nested_svc.
2774         * (ultrix_atof_param): test_text string added.
2775         * (ultrix_ifdef): Modified select string.
2776
2777 2000-06-05  Zack Weinberg  <zack@wolery.cumb.org>
2778
2779         * objc/objc-act.c (generate_method_descriptors): Register
2780         objc_method_prototype_template as a GC root.
2781         (comp_method_with_proto): Register function_type as a GC root.
2782         (comp_proto_with_proto): Replace function_type1 and
2783         function_type2 with a two-element array; register it as a GC root.
2784
2785         (generate_protocols, build_protocol_initializer,
2786         generate_protocol_list, build_category_initializer,
2787         build_shared_structure_initializer): Do not cache cast_type
2788         and/or cast_type2.
2789
2790 2000-06-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2791
2792         * function.c (assign_parms): Add missing argument to set_mem_attributes
2793         call.
2794
2795 2000-06-05  Nathan Sidwell  <nathan@codesourcery.com>
2796
2797         * tree.h (VOID_TYPE_P): New macro.
2798         (COMPLETE_OR_VOID_TYPE_P): Use VOID_TYPE_P.
2799         * c-decl.c (grokdeclarator): Use VOID_TYPE_P.
2800         (get_parm_info): Likewise.
2801         (store_parm_decls): Likewise.
2802         (combine_parm_decls): Likewise.
2803         (finish_function): Likewise.
2804         * c-typeck.c (build_function_call): Likewise.
2805         (build_binary_op): Likewise.
2806         (build_conditional_expr): Likewise.
2807         (internal_build_compound_expr): Likewise.
2808         (convert_for_assignment): Likewise.
2809         * stmt.c (expend_expr_stmt): Likewise.
2810         (warn_if_unused_value): Likewise.
2811         (expand_return): Likewise.
2812         * c-parse.in (primary): Likewise.
2813         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
2814         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
2815
2816 Mon Jun  5 06:46:28 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2817
2818         * alias.c (get_alias_set): If compnent is addressable, use alias
2819         set of component.
2820         * c-decl.c (init_decl_processing): Don't call record_component_aliases.
2821         (grokdeclarator): Likewise.
2822         * c-typeck.c (common_type): Likewise.
2823
2824 2000-06-04  Alex Samuel  <samuel@codesourcery.com>
2825
2826         * Makefile.in (OBJS): Remove dyn_string.o
2827         (dyn-string.o): Delete rule.
2828         * dyn-string.c: Delete file
2829         * dyn-string.h: Likewise.
2830
2831 2000-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2832
2833         * Makefile.in (intl.*): Honor non-zero exit codes in the intl
2834         subdir.
2835
2836 2000-06-03  Geoff Keating  <geoffk@cygnus.com>
2837
2838         * alias.c (record_component_aliases): Don't inspect
2839         DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.
2840
2841 Sat Jun  3 19:05:30 2000  Michael Meissner  <meissner@redhat.com>
2842
2843         * ifcvt.c (process_insns): If IFCVT_MODIFY_INSN is defined, call
2844         it with the pattern to do machine dependent work.
2845         (cond_exec_process_if_block): If IFCVT_MODIFY_TESTS is defined,
2846         use it to modify the true/false tests used in conditional
2847         execution.  If IFCVT_MODIFY_FINAL and IFCVT_MODIFY_CANCEL are
2848         defined, invoke them if the conversion to conditional execution
2849         was successful or not.
2850
2851         * tm.texi (IFCVT_MODIFY_TESTS): Document.
2852         (IFCVT_MODIFY_INSN): Ditto.
2853         (IFCVT_MODIFY_FINAL): Ditto.
2854         (IFCVT_MODIFY_CANCEL): Ditto.
2855
2856 Sat Jun  3 15:26:13 2000  Matt Kraai <kraai@alumni.carnegiemellon.edu>
2857
2858         * toplev.c (main): Fix misspellings of possibility and language.
2859
2860 2000-06-03  Richard Henderson  <rth@cygnus.com>
2861
2862         * alias.c (record_alias_subset): Initialize has_zero_child in the
2863         superset.
2864
2865 2000-06-03  Richard Earnshaw (rearnsha@arm.com)
2866
2867         * arm.md (untyped_call): Use GEN_CALL macro.
2868
2869 2000-06-02  Pekka Nikander  <pnr@teldanex.tcm.hut.fi>
2870
2871         * Makefile.in: Use $(MAKE) not "make"
2872
2873 Fri Jun  2 19:31:03 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2874
2875         * alias.c (struct alias_set_entry): New field has_zero_child.
2876         (mem_in_disjoint_alias_sets_p): Return 0 if set in either ase.
2877         (get_alias_set): If language-dependent routine set TYPE_ALIAS_SET,
2878         do nothing.
2879         Call record_component_aliases for aggregate types.
2880         (record_alias_subset): Set has_zero_child.
2881         (record_component_aliases, case ARRAY_TYPE): Do nothing if
2882         TYPE_NONALIASES_COMPONENT.
2883         (record_component_aliases, case RECORD_TYPE): Test
2884         DECL_NONADDRESSABLE_P.
2885         * c-decl.c (grokdeclarator): Set DECL_NONADDRESSABLE_P instead
2886         of TREE_ADDRESSABLE.
2887         * calls.c (initialize_argument_information): Only test
2888         TYPE_TRANSPARENT_UNION for UNION_TYPE.
2889         * function.c (assign_parms): Likewise.
2890         * integrate.c (function_cannot_inline_p): Likewise.
2891         * stor-layout.c (finish_record_layout): Don't call
2892         record_component_aliases.
2893         * tree.h (struct tree_int_cst): Use struct tree_common.
2894         (struct tree_real_cst, struct tree_string): Likewise.
2895         (struct tree_complex, struct tree_identifier): Likewise.
2896         (struct tree_list, struct tree_vec, struct tree_exp): Likewise.
2897         (struct tree_block, struct tree_type, struct tree_decl): Likewise.
2898         (TYPE_TRANSPARENT_UNION): Use UNION_TYPE_CHECK.
2899         (TYPE_NONALIASES_COMPONENT): New macro.
2900         (TYPE_AMBIENT_BOUNDEDNESS): Use FUNCTION_TYPE_CHECK.
2901         (DECL_NONADDRESSABLE_P): New macro.
2902         (struct tree_decl): Reorder bits for clarity of how many left;
2903         add non_adressable.
2904
2905 2000-06-02  Jason Merrill  <jason@casey.soma.redhat.com>
2906
2907         * Makefile.in (libgcc.a): Also depend on $(LIB2ADD).
2908         * mklibgcc.in (force): New target.
2909         Make LIB2ADD stuff depend on it.
2910
2911 2000-06-02  Richard Henderson  <rth@cygnus.com>
2912
2913         * alias.c (lang_get_alias_set): Remove.
2914         (get_alias_set): Call it directly, not indirectly.
2915         * c-common.c (lang_get_alias_set): Rename from c_get_alias_set.
2916         * c-common.h (c_get_alias_set): Don't declare.
2917         * c-decl.c (init_decl_processing): Don't set lang_get_alias_set.
2918         * expr.h (lang_get_alias_set): Declare as function, not pointer.
2919
2920 2000-06-02  Bruce Korb  <bkorb@gnu.org>
2921
2922         * fixinc/server.c(sig_handler):  resume closing server on SIGPIPE
2923         (server_setup):  define the server's master pid
2924         (close_server):  actually do the deed IFF we are the server's master
2925
2926 2000-06-02  Jakub Jelinek  <jakub@redhat.com>
2927
2928         * c-common.c (c_get_alias_set): Check whether signed_type did not
2929         return its argument before calling get_alias_set on the result.
2930
2931 2000-06-02  Andrew MacLeod  <amacleod@cygnus.com>
2932
2933         * expr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.
2934
2935 Fri Jun  2 00:22:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2936
2937         * sh.h (CPP_SPEC): Add -D__NOMACSAVE__ for -mnomacsave.
2938         (CONDITIONAL_REGISTER_USAGE): Mac registers are call used
2939         for TARGET_NOMACSAVE.
2940         (NOMACSAVE_BIT): Define.
2941         (TARGET_NOMACSAVE): Define.
2942         (TARGET_SWITCHES): Add "nomacsave".
2943
2944 2000-06-02  Toshiyasu Morita  <toshi.morita@sega.com>
2945
2946         * sh.md (untyped_call): Remove excess parameters
2947
2948 2000-06-01  Loren J. Rittle  <ljrittle@acm.org>
2949
2950         * fixinc/inclhack.def (osf_namespace_a): Relax expression to
2951         match that used before the conversion to c_fix style.
2952         * fixinc/fixincl.x: regenerate
2953
2954 2000-06-01  Stan Cox  <scox@cygnus.com>
2955
2956         * varray.h (VARRAY_PUSH_GENERIC_PTR, VARRAY_PUSH_CHAR_PTR): Fix
2957         macro argument typo.
2958
2959 2000-06-01  Zack Weinberg  <zack@wolery.cumb.org>
2960
2961         * cpplex.c (maybe_macroexpand): Use CPP_WTRADITIONAL.  Improve
2962         error message.
2963         * cpplib.c (parse_include): Remove support for VAX-C
2964         "#include starlet" misfeature.
2965
2966 2000-05-31 Laurynas Biveinis <lauras@softhome.net>
2967
2968         * cppfiles.c: conditionally define O_BINARY.
2969         (open_include_file): pass O_BINARY to open().
2970
2971 2000-06-01  Richard Henderson  <rth@cygnus.com>
2972
2973         * i960.c (i960_br_predict_opcode): Remove.
2974         (i960_print_operand) [+]: Emit branch prediction hints.
2975         (i960_function_arg): Return early for VOIDmode.
2976         (i960_round_align): Return early for incomplete types.
2977         * i960.h (PRINT_OPERAND_PUNCT_VALID_P): New.
2978         * i960.md (all conditional branches): Add "%+".
2979
2980 Thu Jun  1 12:24:21 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2981
2982         * alias.c (get_alias_set): Don't call language-specific routine more
2983         than is needed and clean up code a bit.
2984         * c-common.c (c_get_alias_set): All references whose type
2985         is char get alias set 0, but character types need not.
2986         * varasm.c (make_function_rtl): Don't call set_mem_attributes.
2987         (make_decl_rtl): Don't call it for FUNCTION_DECL.
2988
2989 2000-06-01  Bruce Korb  <bkorb@gnu.org>
2990
2991         * fixinc/tests/base/...: new base result files
2992
2993 Thu Jun  1 09:37:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
2994
2995         * config/i386/i386.c (ix86_use_fcomi_compare): Make global.
2996         * config/i386/i386-protos.h (ix86_use_fcomi_compare): Declare.
2997         * config/i386/i386.md (*fp_jcc_3, *fp_jcc_4): Disable if we
2998         will use FCOMI.
2999
3000 2000-06-01  Richard Henderson  <rth@cygnus.com>
3001
3002         * Makefile.in (c-decl.o): Depend on $(EXPR_H), not expr.h.
3003
3004         * c-decl.c (init_decl_processing): Set lang_get_alias_set first thing.
3005
3006 2000-05-31  Richard Henderson  <rth@cygnus.com>
3007
3008         * config/ia64/ia64.c (sdata_symbolic_operand): Consider small
3009         CONSTANT_POOL_ADDRESS_P addresses for .sdata.
3010         * config/ia64/sysv4.h (SELECT_RTX_SECTION): New.
3011
3012 2000-05-31  Richard Henderson  <rth@cygnus.com>
3013
3014         * config/ia64/ia64-protos.h (ia64_expand_prediction): Remove.
3015         * config/ia64/ia64.c (ia64_expand_prediction): Move code ...
3016         (ia64_print_operand) [+]: ... here.  Use current_output_insn.
3017         * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): New.
3018         * config/ia64/ia64.md (all branch/call patterns): Use %+.
3019
3020 2000-05-31  Richard Henderson  <rth@cygnus.com>
3021
3022         * ifcvt.c (cond_exec_process_insns): Don't ever ignore clobbers.
3023
3024 2000-05-31  Richard Henderson  <rth@cygnus.com>
3025
3026         * ifcvt.c (merge_if_block): Be prepared for JOIN to have no
3027         remaining edges.
3028         (find_if_block): Allow THEN with no outgoing edges.
3029         * flow.c (merge_blocks_nomove): Remove a barrier not following
3030         a jump as well.
3031
3032 2000-05-31  Richard Henderson  <rth@cygnus.com>
3033
3034         * flow.c (propagate_block): Move initialization of mem_set_list ...
3035         (init_propagate_block_info): ... here.  Also track blocks with
3036         no successors; don't scan insns if ! PROP_SCAN_DEAD_CODE.
3037
3038 2000-05-31  Richard Henderson  <rth@cygnus.com>
3039
3040         * jump.c (jump_optimize_1): Revert 05-18 change.
3041
3042 2000-05-31  Mark Mitchell  <mark@codesourcery.com>
3043
3044         * invoke.texi: Remove documentation for -fguiding-decls.
3045
3046 2000-05-31  Richard Henderson  <rth@cygnus.com>
3047
3048         * configure.in: Fix typo last change.
3049
3050 2000-05-31  Philipp Thomas  <pthomas@suse.de>
3051
3052         * configure.in (enable-nls): Enable if build == host, i.e. when
3053         not building a canadian cross compiler.
3054         (enable-maintainer-mode): Added for use with i18n.
3055         * aclocal.m4 (AM_GNU_GETTEXT): Only build catalogs that are a
3056         cross section of ALL_LINGUAS and LINGUAS.
3057         * configure: Rebuild.
3058
3059 2000-05-31  Bruce Korb  <bkorb@gnu.org>
3060
3061         * fixinc/check.tpl: rework to use test result tree
3062         * fixinc/Makefile.in: change invocation of check script
3063         * fixinc/check.diff: No longer needed
3064         * fixinc/fixincl.x: regenerate
3065         * fixinc/inclhack.def:  add new tests
3066         * fixinc/tests/base/arch/i960/archI960.h:  New test result
3067         * fixinc/tests/base/curses.h: modified test result
3068         * fixinc/tests/base/stdio.h: ditto
3069         * fixinc/tests/base/time.h: ditto
3070         * fixinc/tests/base/sys/asm.h: ditto
3071         * fixinc/tests/base/sys/stat.h: ditto
3072         * fixinc/tests/base/sys/wait.h: ditto
3073
3074 Wed May 31 13:17:20 2000  Philippe De Muyter  <phdm@macqel.be>
3075
3076         * except.c (clear_function_eh_region): Do not free NULL.
3077
3078 Wed May 31 08:07:52 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3079
3080         * Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
3081         * alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
3082         (REG_BASE_VALUE): Remove unneeded cast to unsigned.
3083         (get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
3084         (find_base_decl): New function, from c_find_base_decl in c-common.c.
3085         (new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
3086         (get_alias_set): Likewise.
3087         Major rework to do more things and allow language-specific code
3088         to just handle special-cases.
3089         (record_alias_subset): Args are HOST_WIDE_INT.
3090         (record_component_alias): Local vars are HOST_WIDE_INT.
3091         Don't handle COMPLEX_EXPR.
3092         (get_varargs_alias_set): Moved from builtins.c.
3093         (get_frame_alias_set): New function.
3094         * builtins.c (expand_builtin_return_address): Use frame alias set.
3095         (expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
3096         for setjmp buffer.
3097         (get_memory_rtx): Rework to use set_mem_attributes.
3098         (get_varargs_alias_set): Deleted from here.
3099         * c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
3100         (c_find_base_decl): Deleted from here.
3101         (c_get_alias_set): Remove many cases and rework to just handle
3102         C-specific cases.
3103         * c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
3104         * c-decl.c (rtl.h, expr.h): Now included.
3105         (init_decl_processing): Call record_component_aliases on array types.
3106         (grokdeclarator): Likewise.
3107         Set TREE_ADDRESSABLE for all fields that are not bitfields.
3108         * c-typeck.c (common_type): Call record_component_aliases for array.
3109         * caller-save.c (setup_save_areas): Rework register loop for unsigned.
3110         Set all save areas to the frame alias set.
3111         * calls.c (initialie_argument_information): Call set_mem_attributes.
3112         (compute_argument_addresses, expand_call): Likewise.
3113         * explow.c (set_mem_attributes): New function.
3114         (stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
3115         * expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
3116         LEN and OFFSET now HOST_WIDE_INT.
3117         (clear_by_pieces): Similar changes.
3118         (move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
3119         (move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
3120         (move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
3121         (clear_by_pieces_1): Likewise.
3122         (emit_push_insn): Call set_mem_attributes.
3123         (expand_expr, case INDIRECT_REF): Likewise.
3124         (expand_expr, case VAR_DECL): Call change_address.
3125         * expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
3126         tree_low_cst.
3127         (get_varargs_alias_set, get_frame_alias_set): New decls.
3128         (record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
3129         (new_alias_set, set_mem_attributes): Likewse.
3130         * function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
3131         (assign_stack_temp_for_type): Likewise.
3132         Can split slot even if alias set since can copy.
3133         Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
3134         (assign_temp): Use host_integerp and tree_low_cst.
3135         (put_var_into_stack): Properly handle SAVE_EXPR.
3136         (put_addressof_into_stack): Likewise.
3137         (assign_parms): Call set_mem_attributes.
3138         Delete #if 0 code.
3139         (fix_lexical_address): Put reference to chain into frame alias set.
3140         (expand_function_start): Call set_mem_attributes.
3141         * integrate.c (expand_inline_function): Likewise.
3142         * recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
3143         * regmove.c (try_apply_stack_adjustment): Likewise.
3144         * reload.c (push_reload, make_memloc): Likewise.
3145         * reload1.c (alter_reg): Make alias sets for spilled pseudos.
3146         * rtl.def (MEM): Update comment.
3147         * rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
3148         (move_by_pieces): Change length to HOST_WIDE_INT.
3149         (record_base_value, record_alias_subset): Delete from here.
3150         * stmt.c (expand_decl): Call set_mem_attributes.
3151         * stor-layout.c (finish_record_layout): Call record_component_aliases.i
3152         * toplev.c (compile_file): Call init_alias_once earlier.
3153         * tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
3154         from here: now in alias.c.
3155         * tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
3156         (struct tree_decl): Likewise.
3157         (get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
3158         * varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
3159         (output_constant_def, force_const_mem): Likewise.
3160
3161         * flow.c (propagate_block): If block has no successors, stores to
3162         frame are dead if not used.
3163
3164 2000-05-31  Nathan Sidwell  <nathan@codesourcery.com>
3165
3166         * stmt (expand_end_case): Reorder conversion sequence for jump
3167         table to avoid extra truncations.
3168
3169 Wed May 31 01:31:42 2000  Jeffrey A Law  (law@cygnus.com)
3170
3171         * ifcvt.c (cond_exec_process_if_block): Do nothing if the last insn
3172         in the block is more than just a simple conditional branch.
3173         (noce_process_if_block): Similarly.
3174
3175 Tue May 30 22:25:57 2000  Alexandre Oliva  <aoliva@cygnus.com>
3176
3177         * optabs.c (prepare_float_lib_cmp): Protect *px and *py from
3178         queue.
3179
3180 2000-05-30  Michael Meissner  <meissner@redhat.com>
3181
3182         * dwarf2out.c (dwarf2out_frame_debug_expr): Ignore HIGH
3183         instructions.  Treat LO_SUM operations as loading the full integer
3184         constant.
3185
3186 2000-05-30  Richard Henderson  <rth@cygnus.com>
3187
3188         * combine.c (get_pos_from_mask): Test exact_log2 result as signed.
3189
3190 2000-05-30  Richard Henderson  <rth@cygnus.com>
3191
3192         * bb-reorder.c (emit_jump_to_block_after): Protect use of HAVE_return.
3193
3194 2000-05-30  Bruce Korb  <bkorb@gnu.org>
3195
3196         * fixinc/tests/*:  Added expected result files for fixinc's make check
3197         * fixinc/fixfixes(char_macro_*_fix): Restore original algorithm
3198
3199 2000-05-30  Richard Henderson  <rth@cygnus.com>
3200
3201         * config/alpha/alpha.md (*setne_internal): Use match_operator
3202         instead of working down from insn.
3203
3204 2000-05-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3205
3206         * invoke.texi (-Wtraditional): Update WRT function macros.
3207
3208 Tue May 30 09:57:32 2000  Philippe De Muyter  <phdm@macqel.be>
3209
3210         * except.c (free_exception_table): Do not free NULL.
3211
3212 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
3213
3214         * cpplib.c (do_if): Don't save and restore only_seen_white here.
3215         * cppexp.c (_cpp_parse_expr): Save and restore only_seen_white
3216         and skipping here.
3217
3218 2000-05-29  Richard Earnshaw (rearnsha@arm.com)
3219
3220         * flow.c (mark_used_reg): If a register is unconditionally live,
3221         remove any conditional death information.
3222
3223 2000-05-29  Richard Henderson  <rth@cygnus.com>
3224
3225         * final.c (current_output_insn): New.
3226         (final_scan_insn): Set it.
3227         * output.h: Declare it.
3228
3229 2000-05-29  Richard Henderson  <rth@cygnus.com>
3230
3231         * stor-layout.c (finalize_record_size): Fix typo.
3232
3233         * jump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END
3234         if nlabel is null.
3235
3236 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
3237
3238         * cpplib.h (cpp_reader): Remove if_stack.  Change
3239         potential_control_macro to a cpp_hashnode *.  Add skipping flag.
3240         * cpphash.h (struct ihash): Change control_macro to a
3241         cpp_hashnode * and shorten name to cmacro.
3242         Add NEVER_REINCLUDE constant.
3243
3244         * cppfiles.c (redundant_include_p): Drop cpp_reader argument.
3245         Examine the cmacro node directly, no need to call cpp_defined.
3246         (_cpp_execute_include, read_include_file): Set cmacro to
3247         NEVER_REINCLUDE, not U"".
3248         * cpplex.c (cpp_push_buffer): Don't set new->if_stack.
3249         (cpp_get_token): If pfile->skipping is true, discard text and
3250         keep scanning until we hit a directive; don't expand macros.
3251
3252         * cpplib.c (struct if_stack): Remove if_succeeded, add
3253         was_skipping. Change control_macro to a cpp_hashnode * and
3254         shorten name to cmacro.  Remove typedef IF_STACK.
3255         (parse_ifdef), detect_if_not_defined): Return a cpp_hashnode *.
3256         (conditional_skip, skip_if_group,
3257         consider_directive_while_skipping): Delete.
3258         (push_conditional): New.
3259         (_cpp_handle_directive): Don't process directives other than
3260         conditionals if we are skipping.
3261
3262         (do_ifdef, do_ifndef, do_if, do_else, do_elif, do_endif):
3263         Update to new scheme.
3264         (validate_else): Skip rest of line here, unconditionally.
3265         (_cpp_unwind_if_stack): The stack is per-buffer.  Force
3266         pfile->skipping off.
3267
3268         (all): Remove `scare quotes' from error messages.
3269
3270 2000-05-29  Richard Henderson  <rth@cygnus.com>
3271
3272         * function.c (emit_return_into_block): New line_note arg; emit it.
3273         (thread_prologue_and_epilogue_insns): Attempt to locate a line note
3274         for the close brace to accompany HAVE_return.  Move all line notes
3275         following the epilogue to before the NOTE_INSN_EPILOGUE_BEG.
3276
3277 2000-05-29  Richard Henderson  <rth@cygnus.com>
3278
3279         * longlong.h [__alpha] (count_leading_zeros): New.
3280         (count_trailing_zeros): New.
3281         (COUNT_LEADING_ZEROS_0): New.
3282
3283         * config/alpha/alpha.c (alpha_zero_comparison_operator): New.
3284         (alpha_split_conditional_move): New.
3285         * config/alpha/alpha-protos.h: Prototype them.
3286         * config/alpha/alpha.h (PREDICATE_CODES): Update.
3287         (CPP_CPU_DEFAULT_SPEC): Fix typo for EV67.
3288         * config/alpha/alpha.md: Update ffs cix commentary.
3289         (*ze_and_ne): New.
3290         (*nabssf2, *nabsdf2): New.
3291         (*mov[qhsd]icc_internal): Use add_operand.
3292         (if_then_else constant splitters): New.
3293         (*cmp_sadd_di, *cmp_sadd_si, *cmp_sadd_sidi): New.
3294         (*cmp_ssub_di, *cmp_ssub_si, *cmp_ssub_sidi): New.
3295
3296 2000-05-29  Richard Henderson  <rth@cygnus.com>
3297
3298         * combine.c (force_to_mode) [MINUS]: Convert subtraction from
3299         a constant to NEG or NOT when conditions allow.
3300
3301         * combine.c (combine_simplify_rtx): Don't create an if_then_else
3302         unless both args are general_operand.  Don't canonicalize plus
3303         to ior unless it helps.
3304
3305         * toplev.c (rest_of_compilation): Set no_new_pseudos after flow1;
3306         instead track register_life_up_to_date.  Toggle no_new_pseudos
3307         around if_convert.
3308
3309 2000-05-28  Geoff Keating  <geoffk@cygnus.com>
3310
3311         * config/rs6000/rs6000.c (output_cbranch): Escape '%' characters
3312         so output_operand doesn't see them.
3313
3314 Sun May 28 18:37:07 2000  Clinton Popetz  <cpopetz@cygnus.com>
3315
3316         * lcm.c (make_preds_opaque): Fix comment.
3317         (optimize_mode_switching): Use NORMAL_MODE instead of
3318         MODE_USES_IN_EXIT_BLOCK.  Change leftover instance of
3319         FP_MODE_NONE to no_mode.  Rename MODE_AT_ENTRY to NORMAL_MODE.
3320         Handle insertions before an existing NOTE_INSN_BASIC_BLOCK.
3321         * tm.texi (OPTIMIZE_MODE_SWITCHING): Refer to NORMAL_MODE.
3322         (MODE_USES_IN_EXIT_BLOCK): Delete.
3323         (MODE_AT_ENTRY) Rename to NORMAL_MODE.
3324         * sh.h (MODE_USES_IN_EXIT_BLOCK): Delete.
3325         (MODE_AT_ENTRY): Rename to NORMAL_MODE.
3326         (MODE_NEEDED): Don't look for USE.
3327         (EPILOGUE_USES): Define.
3328
3329 Sun May 28 23:26:59 2000  Philippe De Muyter <phdm@macqel.be>
3330
3331         * mklibgcc.in (all): Variable initialised to `libgcc'.
3332
3333 2000-05-28  Gabriel Dos Reis  <gdr@codesourcery.com>
3334
3335         * toplev.h (skip_leading_substring): New macro.
3336         * toplev.c (decode_f_option): Use skip_leading_substring instead
3337         of strncmp.
3338         (decode_W_option): Likewise.
3339
3340 2000-05-28  Nick Clifton  <nickc@cygnus.com>
3341
3342         * tm.texi (CONDITIONAL_REGISTER_USAGE): Document that it can
3343         modify reg_names.
3344
3345 2000-05-28  Richard Henderson  <rth@cygnus.com>
3346
3347         * regclass.c (record_operand_costs): Protect reg_changes_size
3348         with CLASS_CANNOT_CHANGE_SIZE.
3349
3350         * loop.c (instrument_loop_bct): Set JUMP_LABEL on the new insn.
3351
3352 2000-05-28  Richard Henderson  <rth@cygnus.com>
3353
3354         * function.c (diddle_return_value): A pcc-style struct return
3355         returns a pointer.
3356
3357 2000-05-27  Zack Weinberg  <zack@wolery.cumb.org>
3358
3359         * cppfiles.c: Read files in, using mmap if possible, then
3360         prescan them separately.
3361         (read_file, read_with_read): New functions.
3362         * cpplex.c: Don't define UCHAR_MAX.
3363         (_cpp_read_and_prescan): Rename to _cpp_prescan.  Don't read
3364         the file here.
3365
3366         * cppinit.c (handle_option): Automatically define __cplusplus,
3367         __OBJC__, __ASEEMBLER__, _LANGUAGE_FORTRAN here when we see
3368         the respective -lang switch.
3369
3370         * cpphash.h (enum node_type, struct hashnode, _cpp_lookup
3371         prototype): Move to...
3372         * cpplib.h: ... here.  Rename struct hashnode to struct
3373         cpp_hashnode and give it a typedef.  Rename _cpp_lookup to
3374         cpp_lookup.  Add 'fe_value' slot, a union tree_node *.
3375
3376 2000-05-27  Geoffrey Keating  <geoffk@cygnus.com>
3377
3378         * config/rs6000/rs6000.md (movsi): Constify 'name'.
3379
3380         * regclass.c [CLASS_CANNOT_CHANGE_SIZE]
3381         (class_can_change_size): New variable.
3382         (reg_changes_size): New variable.
3383         (init_reg_sets_1): Initialise class_can_change_size.
3384         (record_operand_costs): Remove subreg_changes_size.
3385         Don't pass it around.  Instead update reg_changes_size.
3386         (regclass): Initialise and free reg_changes_size.  If a register
3387         changes size, don't preference it to a class that contains
3388         registers that can't change size.
3389         (record_reg_classes): Don't look at subreg_changes_size.
3390
3391 2000-05-27  Richard Henderson  <rth@cygnus.com>
3392
3393         * print-rtl.c (reg_names): Remove const.
3394         * regclass.c (reg_names): Likewise.
3395         * regs.h (reg_names): Likewise.
3396         * hard-reg-set.h (reg_names): Likewise.
3397
3398 2000-05-27  Richard Henderson  <rth@cygnus.com>
3399
3400         * config/rs6000/rs6000.md (untyped_call): Use GEN_CALL.
3401
3402 2000-05-27  Richard Henderson  <rth@cygnus.com>
3403
3404         * config/alpha/alpha.c (alpha_does_function_need_gp): Test
3405         TARGET_PROFILING_NEEDS_GP in the if, instead of with an ifdef.
3406         (alpha_expand_prologue): Emit prologue_mcount if needed.
3407         * config/alpha/alpha.h (TARGET_PROFILING_NEEDS_GP): Default to 0.
3408         * config/alpha/alpha.md (prologue_mcount): New.
3409         * config/alpha/linux.h (FUNCTION_PROFILER): Remove.
3410         (TARGET_PROFILING_NEEDS_GP): Undef before redefining.
3411         * config/alpha/netbsd.h: Likewise.
3412
3413 2000-05-27  Richard Henderson  <rth@cygnus.com>
3414
3415         * config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
3416         change to config/elfos.h.
3417
3418 2000-05-27  Richard Henderson  <rth@cygnus.com>
3419
3420         * Makefile.in (resource.o): Depend on except.h.
3421         * except.h (output_exception_table_data): Prototype.
3422         * genconfig.c (gen_peephole2): Prototype.
3423         * genemit.c (main): Include ggc.h.
3424         * genoutput.c: Revert parts of last change: include errors.h
3425         (main): Set progname.
3426         * recog.c: Include hard-reg-set.h before recog.h.
3427         * resource.c: Include except.h.
3428
3429         * config/alpha/alpha-protos.h (alpha_arg_info_reg_val): Protect
3430         with RTX_CODE.
3431         (alpha_write_linkage): Protect with BUFSIZ.
3432         (alpha_need_linkage): Update prototype.
3433         * config/alpha/alpha.c (function_arg): Move VMS code here.
3434         (alpha_links_base): Remove.
3435         (alpha_links): New.
3436         (mark_alpha_links_node, mark_alpha_links): New.
3437         (alpha_write_one_linkage): New.
3438         (alpha_need_linkage): Use a splay tree.  Build the linkage symbol.
3439         (alpha_write_linkage): Use splay_tree_foreach.
3440         * config/alpha/alpha.md (call_vms): Use alpha_need_linkage
3441         to get the linkage symbol.
3442         (call_value_vms): Likewise.
3443         * config/alpha/elf.h (output_file_directive): Remove decl.
3444         (ctors_section, dtors_section): Prototype.
3445         (sbss_section, sdata_section): Prototype.
3446         * config/alpha/vms.h (FUNCTION_ARG): Remove.
3447         (readonly_section, link_section, literals_section): Prototype.
3448         (ctors_section, dtors_section): Prototype.
3449         (vms_valid_decl_attribute_p): Remove decl.
3450         (alpha_arg_type, alpha_arg_info_reg_val): Likewise.
3451
3452 2000-05-27  Geoff Keating  <geoffk@cygnus.com>
3453
3454         * reload.c (get_secondary_mem): Don't widen floating-point modes.
3455
3456         * combine.c (subst): Honour CLASS_CANNOT_CHANGE_SIZE when
3457         substituting the REG in a (subreg:X (reg:Y ...)).
3458
3459 2000-05-28  Neil Booth  <NeilB@earthling.net>
3460
3461         * cpplex.c (_cpp_lex_line): Merge vertical space.  Flag
3462         first token of a line BOL.  Update EOF code for this.
3463         Remove illegal directive check - it appears in the (not
3464         yet committed) caller.
3465         * cpplib.h (BOL): New flag.
3466
3467 2000-05-28  Neil Booth  <NeilB@earthling.net>
3468
3469         * cpplex.c (_cpp_init_toklist): No comment space to initialise.
3470         (_cpp_free_toklist): No comment space to free.
3471         (expand_comment_space): Remove.
3472         (save_comment_space): Place the comment in the current token and
3473         not in a separate comment space.
3474         (_cpp_lex_line): Save comments during plain code and #define
3475         directives only.
3476         * cpplib.h (struct _cpp_toklist): Remove comment space.
3477
3478 2000-05-28  Neil Booth  <NeilB@earthling.net>
3479
3480         * cppexp.c (parse_assertion): Supply extra argument to
3481         _cpp_init_toklist.
3482         * cpplib.c (do_assert, do_unassert): Similarly.
3483         * cpphash.h (_cpp_init_toklist) Update.
3484         (_cpp_expand_token_space): New.
3485         (DUMMY_TOKEN, NO_DUMMY_TOKEN): New.
3486         * cpplex.c (_cpp_init_toklist): New argument.
3487         (parse_string2): New argument multiline_ok.
3488         (spell_token): Take a const cpp_token *.
3489         (INIT_NAME): Replace with INIT_TOKEN_NAME.  Update tokens_used.
3490         (SPELL_ macros): Replace with enum.
3491         (expand_token_space): Replace with _cpp_expand_token_space.
3492         Take COUNT argument.
3493         (IS_DIRECTIVE): Update.
3494         (_cpp_lex_line): Update token structure before parsing number.
3495         Don't assume start at beginning of token list.
3496         (save_comment): Use INIT_TOKEN_NAME.
3497
3498 2000-05-27  Zack Weinberg  <zack@wolery.cumb.org>
3499
3500         * configure.in (stage1_warn_cflags): Add -Wstrict-prototypes
3501         -Wmissing-prototypes.
3502         * configure: Regenerate.
3503         * gcc.texi: Remove explanation of MD_CALL_PROTOTYPES.
3504
3505         * builtins.c, calls.c: Change all instances of gen_call_* or
3506         gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*.
3507         * calls.c (struct_value_size_rtx): Separate definition from
3508         initialization to avoid unused variable warning.
3509
3510         * genflags.c (gen_macro): New function.
3511         (gen_proto): Call it for gen_call_* and gen_sibcall_*.
3512         (gen_nonproto): Delete.
3513         (gen_insn): Put all insns on the same obstack.
3514         (main): Generate prototypes for everything unconditionally.
3515
3516         * configure.in: Add AC_CHECK_TYPE(ssize_t).  Remove commented
3517         out check for wchar_t.
3518         * acconfig.h: Add template for ssize_t.  Remove @TOP@.
3519         * system.h: Add infrastructure for defining missing
3520         TYPE_MAX/TYPE_MIN macros.  Use it to provide fallback
3521         definitions of UCHAR_MAX and SSIZE_MAX.
3522         * configure: Regenerate.
3523         * config.in: Regenerate.
3524
3525         * Makefile.in (libgcc2.ready): Rename to libgcc.ready.
3526         Depend on $(LANGUAGES) as well as $(GCC_PATCHES) and fixed
3527         headers.
3528         (clean): No need to delete libgcc1.a, libgcc1-asm.a,
3529         libgcc2.a, or libgcc1.null.
3530
3531 2000-05-27  Richard Henderson  <rth@cygnus.com>
3532
3533         * Makefile.in (recog.o): Don't depend on resource.h.
3534         * recog.c: Don't include resource.h.
3535         (recog_last_allowed_insn): Remove.
3536         (recog_next_insn): Remove.
3537         (struct peep2_insn_data): New.
3538         (peep2_insn_data, peep2_current): New.
3539         (peep2_next_insn): New.
3540         (peep2_regno_dead_p, peep2_reg_dead_p): New.
3541         (peep2_find_free_register): New.
3542         (peephole2_optimize): Track life information by insn as we go.
3543         * recog.h: Update declarations.
3544         * resource.c (find_free_register, reg_dead_p): Remove.
3545         * resource.h: Remove their declarations.
3546         * toplev.c: Include hard-reg-set.h before recog.h.
3547
3548         * genconfig.c (max_insns_per_peep2): New.
3549         (gen_peephole2): New.
3550         (main): Call it.
3551         * genemit.c (output_peephole2_scratches): Generate calls to
3552         peep2_find_free_register; adjust surrounding code.
3553         (main): Have insn-emit.c include hard-reg-set.h before recog.h.
3554         * genrecog.c (change_state): Don't track last_insn.
3555         (write_action): Write into *_pmatch_len before accepting.
3556         (write_tree): Adjust peephole2_insns and subroutines to match.
3557
3558         * config/i386/i386.md (all peepholes): Use peep2_regno_dead_p.
3559
3560         * config/alpha/alpha.c (hard_fp_register_operand): Mind the mode.
3561         (hard_int_register_operand): New.
3562         * config/alpha/alpha-protos.h: Declare it.
3563         * config/alpha/alpha.h (PREDICATE_CODES): Update.
3564         * config/alpha/alpha.md (peep2 patterns): Use hard_int_register_operand
3565         as needed; use peep2_reg_dead_p instead of dead_or_set_p.
3566
3567 2000-05-27  Richard Henderson  <rth@cygnus.com>
3568
3569         * function.c (thread_prologue_epilogue_insns): Don't move the
3570         line note at the head of the chain.  Only force a lineno note
3571         before the end of block 0.
3572
3573 2000-05-27  Richard Henderson  <rth@cygnus.com>
3574
3575         * gensupport.c (collect_insn_data): Record the maximum number
3576         of alternatives, not the last seen.
3577
3578         * genoutput.c: Don't include errors.h.
3579         (struct data): Add lineno member.
3580         (have_error): New.
3581         (scan_operands): Use message_with_line instead of error.
3582         (validate_insn_alternatives): Likewise.
3583         (gen_insn): Accept and store the pattern's line number.
3584         (gen_peephole, gen_expand, gen_split): Likewise.
3585         (main): Don't set progname.  Pass line_no to gen_foo.
3586
3587 2000-05-27  Richard Henderson  <rth@cygnus.com>
3588
3589         * config/d30v/d30v.c (d30v_print_operand): Handle ':'.
3590         * config/d30v/d30v.h (PRINT_OPERAND_PUNCT_VALID_P): Accept ':'.
3591         * config/d30v/d30v.md (attr predicable): New.
3592         (all insn patterns): Mark non-predicable patterns; use %: on the rest.
3593         (andsi3*): Unify into one pattern.
3594         (iorsi3*, xorsi3*): Likewise.
3595         (peephole2 patterns): Use peep2_reg_dead_p; verify not a
3596         conditional return.
3597         (old cond_exec patterns): Remove.
3598         (define_cond_exec): New.
3599
3600 Sat May 27 11:01:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3601
3602         * tree.h (TREE_CODE_LENGTH): New macro.
3603         * c-common.c (c_find_base_decl): Use it.
3604         * expr.c (safe_from_p): Likewise.
3605         * print-tree.c (print_node): Likewise.
3606         * tree.c (make_node, copy_node, get_identifier): Likewie.
3607         (first_rtl_op, contains_placeholder_p, substitute_in_expr): Likewise.
3608         (build, build_nt, build_parse_node, simple_cst_equal): Likewise.
3609         * fold-const.c (make_range): Likewise.
3610         (fold): Likewise; also use first_rtl_op.
3611         * c-iterate.c (collect_iterators): Use first_rtl_op.
3612         * calls.c (calls_function_1): Likewise; also rename TYPE to CLASS.
3613         Use IS_EXPR_CODE_CLASS.
3614         (preexpand_calls): Likewise.
3615         * ggc-common.c (ggc_mark_trees): Rework to use first_rtl_op
3616         and TREE_CODE_LENGTH.
3617         * stmt.c (warn_if_unused_value): If no operands, no unused value.
3618
3619 2000-05-26  Geoffrey Keating  <geoffk@cygnus.com>
3620
3621         * config/rs6000/rs6000.md (movsi_internal1): Use '%a1' rather
3622         than '%1(%*)'.
3623         (movdi_internal64): Likewise.
3624
3625         * config/rs6000/rs6000.md: Correct order of operands for DImode
3626         boolean patterns.
3627
3628         * config/rs6000/rs6000.c (boolean_or_operator): New function.
3629         * config/rs6000/rs6000-protos.h (boolean_or_operator): Prototype it.
3630         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_or_operator.
3631         * config/rs6000/rs6000.md: Use boolean_or_operator instead of
3632         boolean_operator for the boolean patterns without NOTs.
3633
3634         * config/rs6000/rs6000.c (reg_or_logical_cint_operand): Rename
3635         from reg_or_u_cint_operand.  Change comment and behaviour.
3636         (logical_operand): Clean up, add assertion.
3637         (non_logical_cint_operand): Also check for
3638         reg_or_logical_cint_operand.
3639         * config/rs6000/rs6000.h (PREDICATE_CODES): Update.
3640         * config/rs6000/rs6000.md (iorsi3): Use reg_or_logical_cint_operand
3641         in the expander.
3642         (xorsi3): Likewise.
3643         (iordi3): Likewise.
3644         (xordi3): Likewise.
3645
3646 2000-05-26  Mark Mitchell  <mark@codesourcery.com>
3647
3648         * tree.h (struct record_layout_info): Rename to (struct
3649         record_layout_info_s).
3650         * stor-layout.c (start_record_layout): Replace
3651         `record_layout_info' with `record_layout_info_s'.
3652
3653 2000-05-26  Richard Earnshaw  <rearnsha@arm.com>
3654
3655         * flow.c (find_label_refs): New function.
3656         (find_basic_blocks_1): Call it for each alternative of a call
3657         placeholder.
3658
3659 2000-05-26  Richard Earnshaw  <rearnsha@arm.com>
3660
3661         * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
3662         of get_pc.
3663
3664 2000-05-25  Richard Henderson  <rth@cygnus.com>
3665
3666         * config/alpha/alpha.c (alpha_comparison_operator): Don't be
3667         so strict about DImode.
3668         (alpha_swapped_comparison_operator): Likewise.
3669         * config/alpha/alpha.md (*setne_internal): Name it.  Allow
3670         any integer output mode.
3671         (*setcc_internal): Likewise.
3672         (*setcc_swapped_internal): Likewise.
3673         (*movdicc_internal, *movdicc_lbc, *movdicc_lbs): Name them.
3674         (*mov[qhs]icc_internal): New.
3675         (*mov[qhs]icc_lbc, *mov[qhs]icc_lbs): New.
3676
3677 2000-05-25  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3678
3679         * vax.h (CPP_SPEC): Define __GFLOAT and GFLOAT when -mg is specified.
3680
3681 2000-05-25  Richard Henderson  <rth@cygnus.com>
3682
3683         * bb-reorder.c (reorder_block_def): Reorder elements for size.
3684         Remove add_jump; add next; replace flags with visited.
3685         (rbd_init): Remove.
3686         (REORDER_BLOCK_HEAD, REORDER_BLOCK_VISITED): Remove.
3687         (REORDER_BLOCK_FLAGS, REORDER_BLOCK_INDEX): Remove.
3688         (REORDER_BLOCK_ADD_JUMP, REORDER_BLOCK_EFF_HEAD): Remove.
3689         (REORDER_BLOCK_EFF_END, REORDER_BLOCK_SCOPE): Remove.
3690         (RBI): New.
3691         (reorder_index, reorder_last_visited): Remove.
3692         (skip_insns_after_block): Rewrite to use a switch.
3693         (get_common_dest): Remove.
3694         (chain_reorder_blocks): Remove.
3695         (record_effective_endpoints): Split out from reorder_basic_blocks.
3696         (make_reorder_chain): Likewise.  Loop until all blocks are placed.
3697         (make_reorder_chain_1): Renamed from old make_reorder_chain.
3698         Only construct the reorder chain, do not move insns.  Try harder
3699         to tail recurse.
3700         (label_for_bb, emit_jump_to_block_after): New.
3701         (fixup_reorder_chain): Use them.  Do bulk block movement.  Examine
3702         and adjust the jump insns appropriately.  Fixup basic_block_info.
3703         (verify_insn_chain): Always define.
3704         (relate_bbs_with_scopes): Call xmalloc, not xcalloc.  Fix thinko
3705         in allocation size.
3706         (make_new_scope): Don't write zeros to calloc'd space.
3707         (build_scope_forest): Rely on xrealloc to DTRT.
3708         (reorder_basic_blocks): Don't build loop nest.  Don't fail if
3709         profile_arc_flag.  Streamline EH test.
3710
3711         * flow.c (redirect_edge_succ, redirect_edge_pred): New.
3712         * basic-block.h: Declare them.
3713
3714 2000-05-25  Alexandre Oliva  <aoliva@cygnus.com>
3715
3716         * emit-rtl.c (reset_used_decls): New function.
3717         (unshare_all_rtl_again): Call it.
3718
3719 2000-05-25  Zack Weinberg  <zack@wolery.cumb.org>
3720
3721         * cpplex.c (maybe_macroexpand): Warn about function-like
3722         macros used in non-function context, if -Wtraditional.
3723
3724 2000-05-25  Mark Mitchell  <mark@codesourcery.com>
3725
3726         * recog.c (peephole2_optimize): Use INSN_P.
3727
3728 2000-05-25  Richard Henderson  <rth@cygnus.com>
3729
3730         * ifcvt.c (seq_contains_jump): New.
3731         (noce_try_store_flag_constants): Use it to fail conversion.
3732         (noce_try_store_flag_inc, noce_try_store_flag_mask): Likewise.
3733
3734 2000-05-25  Mark Mitchell  <mark@codesourcery.com>
3735
3736         * except.h (can_throw): Declare it.
3737         * except.c (can_throw): Give it external linkage.
3738         * resource.c (find_dead_or_set_registers): Use can_throw.
3739
3740 2000-05-25  Richard Henderson  <rth@cygnus.com>
3741
3742         * flow.c (mark_set_1): Don't record conditionally dead memory.
3743
3744 2000-05-25  Jan Hubicka  <jh@suse.cz>
3745
3746         * combine.c (try_combine): Use any_condjump_p, any_uncondjump_p
3747         and pc_set at the place of simplejump_p and condjump_p.
3748         * cse.c (record_jump_equiv): Likewise.
3749         * emit-rtl.c (emit): Likewise.
3750         * explow.c (find_next_ref): Likewise.
3751         * flow.c (tidy_fallthru_edge): Likewise.
3752         (init_propagate_block_info): Likewise.
3753         * gcse.c (delete_null_pointer_checks): Likewise.
3754         * ifcvt.c (cond_exec_get_condition, noce_get_condition,
3755         dead_or_predicable): Likewise.
3756         * integrate.c (copy_insn_list): Likewise.
3757         * loop.c (scan_loop, verify_dominator, find_and_verify_loops,
3758         for_each_insn_in_loop, check_dbra_loop, get_condition,
3759         insert_bct, load_mems): Likewise.
3760         * resource.c (find_dead_or_set_registers): Likewise.
3761         * sibcalls.c (simplejump_p): Likewise.
3762         * unroll.c (copy_loop_body, reg_dead_after_loop): Likewise.
3763
3764 2000-05-25  David Edelsohn  <edelsohn@gnu.org>
3765
3766         * rs6000.c (expand_block_move): Add 64-bit PowerPC doubleword move
3767         to STRING case.  Use doubleword STRING move for TARGET_POWERPC64
3768         when unaligned.
3769         * rs6000.h (CONST_OK_FOR_LETTER_P, 'J'): unsigned HOST_WIDE_INT.
3770         (RETURN_ADDR_RTX): Use COUNT and FRAME, not count and frame.
3771         (LEGITIMIZE_RELOAD_ADDRESS): unsigned HOST_WIDE_INT high.
3772         * rs6000.md: Name various internal patterns.
3773
3774 2000-05-25  Jan Hubicka  <jh@suse.cz>
3775
3776         * jump.c (invert_exp_1): Remove first argument, use pc_set
3777         to get the expression.
3778         (redirect_exp): Make static; redirect only the pc_set expression,
3779         remove first argument.
3780         (invert_exp): Remove first argument, make static.
3781         (jump_optimize): Use any_condjump_p, any_uncondjump_p and
3782         any_onlyjump at most places where we originaly did condjump_p
3783         and simplejump_p.
3784         (jump_back_p, follow_jumps, thread_jumps): Likewise.
3785         (delete_barrier_succesors): Use pc_set.
3786         (invert_jump_1, invert_jump, redirect_jump_1, redirect_jump): Update
3787         calls of invert_exp and redirect_exp.
3788         * rtl.h (redirect_exp, invert_exp): Remove.
3789         * unroll.c (copy_loop_body): Use invert_jump and redirect_jump.
3790
3791 2000-05-25  Richard Henderson  <rth@cygnus.com>
3792
3793         * stmt.c (expand_end_bindings): Fix thinko last change.
3794
3795 2000-05-25  Andrew MacLeod  <amacleod@cygnus.com>
3796             Andrew Haley  <aph@cygnus.com>
3797
3798         * except.c  (func_eh_entry): Add emitted field.
3799         (new_eh_region_entry): Set emitted field to 0;
3800         (output_exception_table_entry): Only emit previously un-emitted data,
3801         and send it to the eh_data section.
3802         (output_exception_table): Break out common parts. Output
3803         exception table for entire compilation unit to eh_data section.
3804         (output_exception_table_data): Common parts of output_exception_table.
3805         Send output to eh_data section.
3806         (output_function_exception_table): Output exception table data for
3807         a single function to eh_data section.
3808         (free_exception_table): New external to free the table.
3809         * except.h (free_exception_table): Add prototype.
3810         (output_function_exception_table): Add prototype.
3811         * final.c (final_end_function): Output function exception table
3812         for IA64_UNWIND_INFO.
3813         (final_scan_insn): Emit any unwind directives for an insn.
3814
3815         * frame-dwarf2.c: New file containing all DWARF 2 specific code
3816         from frame.c.
3817         * frame.c: Remove all DWARF 2 specific code.
3818         * config/ia64/frame-ia64.c: New file.
3819         (gthread_stuff): Make all gthread available with
3820         IA64_UNWIND_INFO.
3821         (dwarf_fde): Define an IA64 struct for dwarf_fde.
3822         (__register_frame_info, __register_frame): Move to common area of file.
3823         (__register_frame_info_table, __register_frame_table): Move to common i
3824         area.
3825         (__deregister_frame_info, __deregister_frame): Move to common area.
3826         (__frame_init, find_fde): New versions for IA64_UNWIND_INFO.
3827         (read_uleb128): New version for ia64.
3828         (get_unwind_record): Read the next IA-64 unwind record.
3829         (read_R_record): Read a region header record.
3830         (process_a_b_reg_code): X record helper.
3831         (read_X_record): Read an X format record.
3832         (read_B_record): Read a B format record.
3833         (P3_record_types): List of record types matching the P3 format.
3834         (P7_record_types): List of record types matching the P7 format.
3835         (P8_record_types): List of record types matching the P8 format.
3836         (read_P_record): Read a P format record.
3837         (init_ia64_reg_loc): Set default fields for a register.
3838         (init_ia64_unwind_frame): Set defaults for all register records.
3839         (execute_one_ia64_descriptor): Execute one descriptor record.
3840         (rse_address_add): Calculate the position of a local reg in memory.
3841         (normalize_reg_loc): Turn a location descriptor into a memory address.
3842         (maybe_normalize_reg_loc): Only normalize a descriptor if it falls
3843         within a specified PC offset range.
3844         (get_real_reg_value): Given a register location, retrieve its value.
3845         (set_real_reg_value): Change the value of a register location.
3846         (copy_reg_value): Copy reg values, if needed.
3847         (copy_saved_reg_state): Copy all registers that need to be copied.
3848         (process_state_between): Normalize all frame register records that
3849         fall within the specified PC range.
3850         (frame_translate): Take a processed frame description, and turn
3851         everything into addresses.
3852         (build_ia64_frame_state ): Find and create frame state record for a PC.
3853         (get_personality): Get the personality routine for a given frame.
3854         (get_except_table): Get the exception table for a given frame.
3855         (record_name): Unwind record names for debugging.
3856         (print_record): Print and unwind record.
3857         (print_all_records): Print an entire unwind image.
3858         (__ia64_backtrace): Print a backtrace.
3859         (ia64_backtrace_helper): New function.
3860         (__register_frame_info_aux): New function.
3861         * config/ia64/crtend.asm (__do_frame_setup_aux): New function.
3862
3863         * frame.h (enum unw_record_type): New unwind record types.
3864         (struct unw_p_record, unw_b_record, unw_x_record) : New unwind records.
3865         (struct unw_r_record, unwind_record): New unwind record structs.
3866         (struct unwind_info_ptr): Unwind information layout.
3867         (IA64_UNW_LOC_TYPE_*): Macros for different types for location
3868         descriptors.
3869         (struct ia64_reg_loc): Register location description.
3870         (struct ia64_frame_state): Location of all registers in a frame.
3871         (struct object): Add pc_base and fde_end for IA64_UNWIND_INFO.
3872         * libgcc2.c (__ia64_personality_v1): Personality routine.
3873         (__calc_caller_bsp): Calculate the bsp register for the caller's
3874         frame.
3875         (ia64_throw_helper): Figure out who to return to and set up the
3876         registers.
3877         (__throw): Throw routine.
3878
3879         * output.h (assemble_eh_align, assemble_eh_label): New functions
3880         to generate EH info where we want it.
3881         (assemble_eh_integer): New function.
3882         * toplev.c (compile_file): Output module level exception table for
3883         non-ia64 targets.
3884         (main): Set exceptions_via_longjump and flag_new_exceptions based
3885         on IA64_UNWIND_INFO too.
3886
3887         * varasm.c (assemble_eh_label): Generate a label via
3888         ASM_OUTPUT_EH_LABEL if it has been specified.
3889         (assemble_eh_align): Generate an alignment directive via
3890         ASM_OUTPUT_EH_ALIGN if it has been specified.
3891         (assemble_eh_label): Generate an integer value via
3892         ASM_OUTPUT_EH_type if they have been specified.
3893         * config/ia64/ia64.c (rtx_needs_barrier): Add flushrs.
3894         (ia64_init_builtins): Add __builtin_ia64_bsp
3895         and __builtin_ia64_flushrs.
3896         (ia64_expand_builtin): Add IA64_BUILTIN_BSP and
3897         IA64_BUILTIN_FLUSHRS.
3898         * config/ia64/ia64.h (ia64_builtins): Add IA64_BUILTIN_BSP and
3899         IA64_BUILTIN_FLUSHRS.
3900
3901         * config/ia64/ia64.md (flushrs): New insn to flush the register
3902         stack.  Add to unspec list.
3903
3904         * config/ia64/crtbegin.asm (frame_object): Change size.
3905         (__do_frame_setup_aux): New function.
3906         * config/ia64/crtend.asm: call __do_frame_setup_aux.
3907         * config/ia64/t-ia64 (LIB2ADDEH): Add.
3908         * Makefile.in (LIB2ADDEH): Add.
3909         (LIB2ADD): Use LIB2ADDEH.
3910
3911 2000-05-24  Richard Henderson  <rth@cygnus.com>
3912
3913         * recog.c (offsettable_address_p): If mode size is zero, assume
3914         BIGGEST_ALIGNMENT.
3915
3916 2000-05-24  J. David Anglin  <dave@hiauly.hia.nrc.ca>
3917
3918         * configure.in: Check for -Wno-long-long option support and improve
3919         handling of warning CFLAGS for stages 1 and 2.
3920         * Makefile.in (WARN_CFLAGS): Move definition to configure.in.
3921         * configure: Regenerate.
3922
3923 Wed May 24 19:37:53 2000  Jeffrey A Law  (law@cygnus.com)
3924
3925         * gcc.texi: Remove contributor list.  Instead include contrib.texi.
3926         * contrib.texi: New file.
3927
3928 Thu May 25 02:27:22 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3929
3930         * loop.c (basic_induction_var): Avoid double recording of an increment.
3931
3932 Thu May 25 02:19:27 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3933
3934         * Back out this patch:
3935         Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
3936           * loop.h (struct induction): Add multi_insn_incr.
3937           * loop.c (basic_induction_var): New multi_insn_incr argument.
3938           Set it if we search back through previous insns for the biv.
3939           (record_biv): New multi_insn_incr argument; fill in struct induction.
3940           (strength_reduce): Discard an iv with multiple bivs, any of
3941           which require multiple insns to increment.
3942
3943         * loop.c (check_insn_for_bivs): Remove bits copied from above patch.
3944
3945 Thu May 25 02:09:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3946
3947         * rtl.h (loc_mentioned_in_p): Declare.
3948         * reload.c (loc_mentioned_in_p): Moved from here...
3949         * rtlanal.c (loc_mentioned_in_p): to here.  No longer static.
3950         Fix loop increment for 'E' handling.
3951         * loop.c (strength_reduce): When doing biv->giv conversion,
3952         take multi-insn biv increments into account.
3953
3954 2000-05-24  Jason Merrill  <jason@casey.soma.redhat.com>
3955
3956         * stmt.c (expand_end_bindings): Look through NOTEs to find a
3957         BARRIER.
3958
3959 2000-05-24  Mark Mitchell  <mark@codesourcery.com>
3960
3961         * calls.c (expand_call): Handle cleanups in tail-recursion
3962         arguments analagously to cleanups in sibling calls.
3963
3964 2000-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3965
3966         * simplify-rtx.c: Rename macro SIGN_EXTEND to HWI_SIGN_EXTEND.
3967         All callers changed.
3968
3969 2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
3970
3971         * expr.c (expand_assignment, store_expr, expand_expr,
3972         expand_expr_unaligned): Set in_check_memory_usage while emitting
3973         chkr_check_addr libcall.
3974
3975 2000-05-24  Nick Clifton  <nickc@cygnus.com>
3976
3977         * fold-const.c (extract_muldiv): When constructing a
3978         multiplier/divisor, do not expect const_binop to correctly
3979         determine if overflow has occured, so check explicitly.
3980
3981 2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
3982
3983         * c-decl.c (build_enumerator): Don't modify the value's type,
3984         convert it.
3985
3986 2000-05-24  Andreas Jaeger  <aj@suse.de>
3987
3988         * mips.h (LINKER_ENDIAN_SPEC): Pass -EL to linker by default.
3989
3990 2000-05-24  Eric Christopher <echristo@cygnus.com>
3991
3992         * configure.in: Redefine inhibit_libc conditions.
3993         * libgcc2.c: Remove inhibit_libc conditional define.
3994         * configure: Regenerate.
3995
3996 2000-05-24  Phil Edwards  <pme@sourceware.cygnus.com>
3997
3998         * configure.in:  For --enable-languages=LIST, check for empty LIST.
3999         * configure:  Regenerate.
4000
4001 2000-05-24  Lars Brinkhoff  <lars@nocrew.org>
4002
4003         * pdp11.h (STACK_BOUNDARY): Define.
4004
4005 2000-05-24  Jakub Jelinek  <jakub@redhat.com>
4006
4007         * ifcvt.c (if_convert): Update life info globally.
4008
4009 2000-05-24  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4010
4011         * emit-rtl.c (unshare_all_decls): New function.
4012         (unshare_all_rtl): Call it.
4013
4014 2000-05-23  Nick Clifton  <nickc@cygnus.com>
4015
4016         * configure.in: Treat 'strongarm' as if it were 'arm' when
4017         determining cpu type.
4018
4019         * configure: Regenerate.
4020
4021         * config/arm/arm.c: Change 'char *' to 'const char *' for cases
4022         where constant strings are involved.
4023
4024         * config/arm/arm.h (arm_condition_codes): Change type to 'const
4025         char *'.
4026
4027         * config/arm/arm-protos.h: Change 'char *' to 'const char *' for
4028         cases where constant strings are involved.
4029
4030 Tue May 23 15:08:31 2000  Clinton Popetz  <cpopetz@cygnus.com>
4031
4032         * config/sh/sh.c (gen_far_branch, split_branches): Update
4033         to reflect new prototypes for redirect_jump and invert_jump.
4034         (sh_insn_length_adjustment): Get rid of const warnings.
4035
4036 2000-05-23  Kazu Hirata  <kazu@hxi.com>
4037
4038         * invoke.texi (Options for Debugging Your Program or GCC): Update
4039         the names of dump files.
4040
4041 Tue May 23 13:58:52 2000  Philippe De Muyter  <phdm@macqel.be>
4042
4043         * configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
4044         * configure: Regenerated.
4045
4046 2000-05-23  Zack Weinberg  <zack@wolery.cumb.org>
4047
4048         * simplify-rtx.c (SIGN_EXTEND): New macro.
4049         (simplify_unary_operation, simplify_binary_operation,
4050         simplify_relational_operation): Use SIGN_EXTEND.  Make low
4051         halves of (low, high) pairs unsigned if they weren't already.
4052         (simplify_ternary_operation): Cast INTVAL to unsigned before
4053         comparing to a MODE_BITSIZE.
4054
4055 2000-05-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4056
4057         * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
4058         rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.
4059
4060         * configure.in (gcc_AC_CHECK_DECLS): Call this instead of
4061         gcc_AC_NEED_DECLARATIONS.
4062
4063         * dwarfout.c: Don't prototype time().
4064
4065         * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.
4066
4067         * system.h: Likewise.
4068
4069         * toplev.c: Likewise.
4070
4071 2000-05-23  Zack Weinberg  <zack@wolery.cumb.org>
4072
4073         * c-decl.c (pushdecl): Invert sense of test for non-global types.
4074
4075 Tue May 23 18:11:42 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4076
4077         * reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
4078
4079 2000-05-23  Jonathan Larmour  <jlarmour@redhat.co.uk>
4080
4081         * config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): Define
4082
4083 Tue May 23 06:50:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4084
4085         * config/alpha/alpha.c: Remove #ifdef HAIFA since now only scheduler.
4086         (alpha_start_function): Never write ..ng label if VMS or NT.
4087         (alpha_align_insns): Remove GP_IN_USE arg.
4088         Alignment now unsigned.
4089         (alpha_reorg): Don't pass GP_IN_USE arg to alpha_align_insns.
4090         * config/alpha/alpha.md (prologue_ldgp): Split into one define_expand
4091         and two define_insn's.
4092
4093 2000-05-22  Richard Henderson  <rth@cygnus.com>
4094
4095         * combine.c (simplify_comparison): Use trunc_int_for_mode.
4096
4097 2000-05-22  Richard Henderson  <rth@cygnus.com>
4098
4099         * stor-layout.c (place_field): Change rli->size to rli->offset.
4100
4101 2000-05-22  Richard Henderson  <rth@cygnus.com>
4102
4103         * function.c (thread_prologue_and_epilogue_insns): Make sure
4104         existing line number notes appear after the prologue.
4105
4106 Mon May 22 21:49:00 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4107
4108         * config/alpha/alpha.c (alpha_fnname): New static variable.
4109         (print_operand, case '~'): New case.
4110         (alpha_expand_prologue): Emit prologue_ldgp insn if needed.
4111         (alpha_start_function): Set alpha_fnname.
4112         Write "ng" label if no ldgp; don't write ldgp insn.
4113         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): New case '~'.
4114         * config/alpha/alpha.md (prologue_ldgp): New define_insn.
4115
4116 Mon May 22 11:30:48 2000  Clinton Popetz  <cpopetz@cygnus.com>
4117
4118         * jump.c (jump_optimize_1): Don't increment LABEL_NUSES
4119         on deleted labels.
4120
4121 2000-05-22  Zack Weinberg  <zack@wolery.cumb.org>
4122
4123         * varasm.c (eh_frame_section): Revert change to argument list.
4124
4125 Mon May 22 13:14:03 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4126
4127         * optabs.c (can_extend_p): Allow unsignedp to have any nonzero value.
4128         (gen_extend_insn, can_fix_p, can_float_p): Likewise.
4129
4130         * final.c (final_scan_insn, case NOTE_INSN_FUNCTION_BEG): Remove
4131         dangling "else" that causes "break" to be conditional.
4132         Also remove unneeded code at start.
4133
4134 Mon May 22 17:31:35 2000  Philippe De Muyter  <phdm@macqel.be>
4135
4136         * m68k/m68k.h (STORE_FLAG_VALUE): Macro set to (-1), not -1.
4137         * fx80/fx80.h, i370/i370.h, m88k/m88k.h (STORE_FLAG_VALUE): Ditto.
4138         * gmicro/gmicro.h, we32k/we32k.h (STORE_FLAG_VALUE): Ditto.
4139
4140 2000-05-22  Jakub Jelinek  <jakub@redhat.com>
4141
4142         * config/sparc/sparc.md (movdf_insn_v9only_vis): fzero has
4143         just one argument.
4144
4145 Mon May 22 06:57:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4146
4147         * alias.c (record_component_aliases): New function.
4148         * tree.h: Clean up some declarations and comments.
4149         (record_component_aliases): New declaration.
4150         * tree.c (get_alias_set): If type and has alias set, use it.
4151
4152 2000-05-22  Richard Henderson  <rth@cygnus.com>
4153
4154         * simplify-rtx.c (simplify_ternary_operation): Try to simplify
4155         IF_THEN_ELSE to a setcc form.
4156         * jump.c (can_reverse_comparison_p): Be prepared for insn null.
4157
4158 2000-05-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4159
4160         * fixinc/inclhack.def (sun_malloc): Handle `calloc'.
4161         (sun_malloc, sysz_stdtypes_for_sun): Add test_text.
4162
4163 Sun May 21 16:42:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4164
4165         * combine.c (try_combine): Handle i3_subst_into_i2 case when I2 is
4166         not a PARALLEL.
4167
4168 2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
4169
4170         * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
4171         * config/mn10300/mn10300.c (print_operand): Likewise.
4172
4173         * final.c (split_double): Right shift of negative values is not
4174         portable.
4175
4176         * ifcvt.c (if_convert): Scan and kill dead code.
4177
4178         * emit-rtl.c (unshare_all_rtl): Store the copied rtx.
4179
4180 2000-05-20  Zack Weinberg  <zack@wolery.cumb.org>
4181
4182         * diagnostic.c: Eliminate implicit int.
4183         * except.c, gcc.c: Add static prototypes.
4184         * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED.
4185         * gensupport.c (process_rtx): Use XVEC to initialize vector
4186         slot of 'split'.
4187
4188         * print-rtl.c: If DEBUG_REGISTER_NAMES, define static
4189         debug_reg_names instead of static reg_names.  If not, define
4190         global reg_names.
4191         * regclass.c: Don't define global reg_names unless
4192         DEBUG_REGISTER_NAMES is defined.
4193
4194         * reload1.c (order_regs_for_reload): Remove unused variable.
4195         * varasm.c: Include output.h after defaults.h.  Define
4196         eh_frame_section as function of no args, not of unspecified args.
4197
4198         * gcc.c: Constify argbuf; arguments to store_arg,
4199         process_command, main; elements of struct command and struct
4200         switchstr; local variables in execute, process_command, main.
4201
4202 2000-05-20  Bruce Korb  <bkorb@gnu.org>
4203
4204         * fixinc/inclhack.def:  many applications of c_fix=format + tests
4205         * fixinc/check.diff:  regenerated
4206         * fixinc/fixincl.x:  regenerated
4207
4208 Sat May 20 09:30:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4209
4210         * alias.c: Clarify some comments.
4211         (record_base_value): REGNO is unsigned.
4212         * rtl.h (record_base_value): Likewise.
4213
4214         * alias.c (aliases_everything_p): Don't special-case QImode here.
4215         * c-common.c (c_get_alias_set): Do it here.
4216         Handle BIT_FIELD_REF by getting alias info for arg.
4217         Use POINTER_TYPE_P.
4218
4219 2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
4220
4221         * mklibgcc.in: Restore rule to create ${dir}.
4222
4223 Sat May 20 08:45:41 2000  H.J. Lu  <hjl@gnu.org>
4224
4225         * Makefile.in (libgcc.mk): Depend on xgcc$(exeext) for
4226         GCC_FOR_TARGET used by MULTILIBS.
4227         * mklibgcc.in: Make sure each .o file depends on the
4228         directory it will be in.
4229         Make the multilib directory depends libgcc.
4230
4231 Sat May 20 08:29:28 2000  H.J. Lu  <hjl@gnu.org>
4232
4233         * Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.
4234
4235 Sat May 20 07:27:35 2000  Alexandre Oliva  <aoliva@cygnus.com>
4236
4237         * fold-const.c (make_range): Handle degenerated intervals.
4238         Fixes c-torture/execute/991221-1.c
4239
4240 Fri May 19 18:16:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4241
4242         * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
4243         * reload.c (find_equiv_reg): Likewise.
4244         * alias.c (init_alias_analysis): Likewise.
4245         Only call prologue_epilogue_contains on insns.
4246         * basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
4247         * bb-reorder.c (hard-reg-set.h): Include earlier.
4248         * haifa-sched.c (hard-reg-set.h): Likewise.
4249         * ifcvt.c (hard-reg-set.h): Likewise.
4250         * local-alloc.c (hard-reg-set.h): Likewise.
4251         * loop.c (hard-reg-set.h): Likewise.
4252         * predict.c (hard-reg-set.h): Likewise.
4253         * regrename.c (hard-reg-set.h): Likewise.
4254         * flow.c (hard-reg-set.h): Likewise.
4255         (reg_set_to_hard_reg_set): New function.
4256         * bitmap.c (regs.h, basic-block.h): No longer include.
4257         (bitmap.h): Now include.
4258         * conflict.c (hard-reg-set.h): Include.
4259         * profile.c (hard-reg-set.h): Likewise.
4260         * print-rtl.c (hard-reg-set.h): Likewise.
4261         * sbitmap.c (hard-reg-set.h): Likewise.
4262         * toplev.c (hard-reg-set.h): Likewise.
4263         * unroll.c (hard-reg-set.h, basic-block.h): Likewise.
4264         * hard-reg-set.h (reg_names): Now constant.
4265         * regs.h (reg_names): Likewise.
4266         * regclass.c (reg_names): Likewise.
4267         * loop.h (basic-block.h): No longer include.
4268         (bitmap.h): Now include.
4269         * reload1.c (order_regs_for_reload): Avoid loop over reg sets.
4270         * Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
4271         (toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
4272
4273 2000-05-19  Jan Hubicka  <jh@suse.cz>
4274             Richard Henderson  <rth@cygnus.com>
4275
4276         * basic-block.h (struct edge_def): New field "count".
4277         (struct basic_block_def): Likewise.
4278         * flow.c (entry_exit_blocks): Add count fileds.
4279         (split_edge): Keep count information up-to-date.
4280         (dump_edge_info, dump_flow_info): Dump count fields.
4281
4282         * final.c (count_instrumented_edges): Rename to edge from arc.
4283         (end_final): Update users.
4284         * profile.c: Include expr.h, basic-block.h.
4285         (struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
4286         (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
4287         (ignore_next_note, return_label_execution_count): Kill.
4288         (bbg_file_name, da_file_name): Kill.
4289         (edge_info, bb_info): New structures.
4290         (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
4291         (count_instrumented_edges, total_num_edges): Rename to edge from arc.
4292         (total_num_edges_instrumented): Likewise.
4293         (init_arc, expand_spanning_tree): Kill.
4294         (fill_spanning_tree, tablejump_entry_p): Kill.
4295         (instrument_edges):  Rewrite from instrument_arcs to use
4296         commit_edge_insertions infrastructure.
4297         (compute_branch_probabilities): Remove arguments; rewrite for
4298         CFG infrastructure; use rtl_dump_file directly.
4299         (branch_prob, find_spanning_tree): Likewise.
4300         (union_groups, find_group): New.
4301         (init_branch_prob): Make bbg_file_name and da_file_name local.
4302         (end_branch_prob): Use rtl_dump_file directly.
4303         (init_edge_profiler): Rename to edge from arc.
4304         (output_arc_profiler): Kill.
4305         (gen_edge_profiler): New.
4306         (output_func_start_profiler): Turn off profiling.  Make the
4307         constructor static when we can.
4308         * rtl.h (branch_prob, end_branch_prob): Update prototypes.
4309
4310         * toplev.c (DFI_flow): Remove.
4311         (DFI_cfg, DFI_life): New.
4312         (dump_file): Update accordingly.
4313         (compile_file): Call end_branch_prob if profile_arc_flag too.
4314         (rest_of_compilation): Move flow1 cfg creation to DFI_cfg.  Do edge
4315         profiling after the CFG is built.  Move flow1 life analysis to
4316         DFI_life.  Always estimate remaining probabilities.
4317
4318 2000-05-19  Richard Henderson  <rth@cygnus.com>
4319
4320         * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
4321
4322         * flow.c (make_edges): The sibling call edge to exit is abnormal.
4323
4324 2000-05-19  Richard Henderson  <rth@cygnus.com>
4325
4326         * jump.c (redirect_jump): Add delete_unused argument.  Don't
4327         remove labels and code following when LABEL_NUSES goes to zero.
4328         (invert_jump): Likewise.
4329         (jump_optimize_1): Fix redirect/invert arguments.
4330         (do_cross_jump, thread_jumps): Likewise.
4331         * flow.c (split_edge): Likewise.
4332         * reorg.c (optimize_skip): Likewise.
4333         (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
4334         * profile.c (instrument_arcs): Likewise.
4335         * loop.c (find_and_verify_loops): Likewise.  Fix indentation.
4336         * rtl.h: Update prototypes.
4337
4338 Fri May 19 12:05:13 2000  Clinton Popetz  <cpopetz@cygnus.com>
4339
4340         * ssa.c (convert_from_ssa): Tell life_analysis we need death
4341         notes.
4342         (make_regs_equivalent_over_bad_edges): Only look at abnormal
4343         critical edges.
4344
4345 2000-05-19  Zack Weinberg  <zack@wolery.cumb.org>
4346
4347         * cpphash.c (funlike_macroexpand): Make sure not to walk p1
4348         past l1 when deleting whitespace and markers.
4349
4350         * cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
4351         * cpplib.c (do_unassert): Put the list to compare against on
4352         the stack.
4353
4354 2000-05-19  Bruce Korb  <bkorb@gnu.org>
4355
4356         * fixinc/README:  cleaned up old documentation
4357         * fixinc/check.diff: regenerated & verified on OSR5 on ix86
4358         * fixinc/check.tpl: compute the list of needed directories
4359         emit "#if defined(name)" because of conflict
4360         omit machine name differences from output differences
4361         * fixinc/inclhack.def( m88k_multi_incl ):  Use `wrap' function
4362         (machine_name): change test text to use `sed' markers
4363         * fixinc/fixincl.x: regen
4364
4365 Fri May 19 06:49:35 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4366
4367         * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
4368         a CONSTRUCTOR.
4369
4370 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
4371
4372         * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
4373         it to match the current practice.
4374
4375 2000-05-18  Mark Mitchell  <mark@codesourcery.com>
4376
4377         * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
4378
4379 2000-05-18  Richard Henderson  <rth@cygnus.com>
4380
4381         * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
4382         * rtl.h (insn_dependant_p): Declare it.
4383         * loop.c (strength_reduce): Use it.
4384
4385 2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
4386
4387         * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
4388         16-bit and 64-bit clean-up.
4389
4390 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
4391
4392         * configure.in (*-pc-msdosdjgpp): Set float_format to none.
4393         * configure: Rebuilt.
4394
4395 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
4396
4397         * genopinit.c: Use $ for escape sequences in optab patterns.
4398         Remove backslashes from optab patterns.  Change $A, $B, $C to
4399         expand to (int) whatever instead of just whatever; remove
4400         explicit (int) from all optab patterns.
4401
4402         * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
4403         * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
4404         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
4405         genrecog.c: Remove private copies of xmalloc, xrealloc, and
4406         xstrdup.
4407
4408 2000-05-18  Richard Henderson  <rth@cygnus.com>
4409
4410         * jump.c (jump_optimize_1): Base minimum insn count during
4411         find_cross_jump on BRANCH_COST.
4412
4413 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
4414
4415         * print-rtl.c (print_rtx): Only print note line number as string
4416         if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
4417         * final.c (final_scan_insn): Do nothing for note line number 0.
4418
4419 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
4420
4421         * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
4422         from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
4423         NOTE_INSN_DELETED_LABEL.
4424
4425 2000-05-18  Nick Clifton  <nickc@cygnus.com>
4426
4427         * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
4428         uninitialised data in .rodata not .bss, and do not interpret an
4429         error in the initialisation value as meaning that the variable
4430         should be placed in the .bss section.
4431
4432 Thu May 18 12:10:18 2000  Philippe De Muyter  <phdm@macqel.be>
4433
4434         * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
4435         not `$ac_cv_prog_cc_cc_c_o'.
4436         * configure: Regenerated.
4437
4438 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
4439             Richard Henderson  <rth@cygnus.com>
4440
4441         * c-common.h (enum c_tree_index): Add g77 type entries.
4442         (g77_integer_type_node, g77_uinteger_type_node): New.
4443         (g77_longint_type_node, g77_ulongint_type_node): New.
4444         * c-decl.c (init_decl_processing): Initialize them.
4445
4446 2000-05-18  Richard Henderson  <rth@cygnus.com>
4447
4448         * config/h8300/h8300.md (subs patterns): Use %G to negate.
4449
4450         * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
4451         (small_power_of_two): Likewise; use exact_log2.
4452         (adds_subs_operand, one_insn_adds_subs_operand): Remove.
4453         (output_adds_subs): Remove.
4454         (two_insn_adds_subs_operand): New.
4455         (split_adds_subs): New.
4456         * config/h8300/h8300-protos.h: Update.
4457         * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
4458         (CONST_OK_FOR_L): Match strict adds operands.
4459         (CONST_OK_FOR_N): Match struct subs operands.
4460         * config/h8300/h8300.md (adds_subs insns): Remove.
4461         (addhi patterns): Output adds/subs directly.
4462         (addsi_h8300h): Likewise.
4463         (addhi/addsi splitters): New.  Decompose two_insn_adds_subs_operand.
4464
4465 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
4466
4467         * cppexp.c (parse_assertion): New.
4468         (lex): Call it for CPP_HASH.  Remove CPP_ASSERTION case.
4469         (_cpp_parse_expr): Remove case '#'.  Don't set
4470         parsing_if_directive.
4471         * cpphash.c (collect_objlike_expansion,
4472         collect_funlike_expansion, collect_params,
4473         _cpp_create_definition): The list no longer has a trailing
4474         VSPACE token.
4475         * cpphash.h (enum node_type): Add T_ASSERTION.
4476         (struct hashnode): Remove aschain, add pred.
4477         (struct predicate): New.
4478         Update prototypes.
4479
4480         * cpplex.c (expand_token_space): Handle both offset and
4481         nonoffset lists.
4482         (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
4483         (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
4484         _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
4485         _cpp_equiv_toklists): New.
4486         (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
4487         stop at any single-character token, not just newline.
4488         (_cpp_lex_token): Remove special cases for #define and #if.
4489         (cpp_get_token): Expect # as a separate token type.  Remove
4490         DIRECTIVE case.
4491         (_cpp_get_directive_token): Remove DIRECTIVE case.
4492         (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
4493
4494         * cpplib.c (_cpp_check_directive): Set dirno and
4495         SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
4496         (_cpp_handle_directive): Run # <number> through the same logic
4497         as normal directives.
4498         (do_define): Don't set parsing_define_directive.  Use
4499         _cpp_scan_until.  The list does not have a VSPACE at the end.
4500         (do_if): Save, clear, and restore only_seen_white around
4501         _cpp_parse_expr.
4502         (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
4503         (do_assert, do_unassert): Rewrite.
4504
4505         * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
4506         (LIST_OFFSET): New flag.
4507         (struct cpp_toklist): Replace dir_handler and dir_flags with
4508         dirno and flags.
4509         (struct cpp_reader): Remove parsing_if_directive and
4510         parsing_define_directive.
4511
4512 2000-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4513
4514         * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
4515         following the cabs decl which terminate on the following line.
4516         Add the corresponding test_text case.
4517
4518 2000-05-18  Neil Booth  <NeilB@earthling.net>
4519
4520         * cppinit.c (cpp_reader_init): Initialise col_adjust and
4521         default tab stop size.
4522         (no_num, OPT_ftabstop): New.
4523         (handle_option): Handle "ftabstop=" command-line option.
4524         (print_help): Document it.
4525         * cpplex.c (COLUMN): Remove.
4526         (handle_newline): Reset col_adjust.
4527         (skip_whitespace): Update col_adjust as tabs encountered.
4528         (_cpp_lex_line): Update to use col_adjust.  Call
4529         skip_whitespace for all whitespace.
4530         * cpplib.h (struct cpp_options): New member tabstop.
4531         (struct cpp_reader): New member col_adjust.
4532         (CPP_BUF_COL): Update.
4533         (CPP_BUF_COLUMN): New.
4534         * cpp.texi: Document "-ftabstop=" command line option.
4535
4536 Wed May 17 18:19:41 2000  Philippe De Muyter  <phdm@macqel.be>
4537
4538         * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
4539         files.
4540         * configure: Rebuilt.
4541
4542 Wed May 17 18:06:12 2000  John David Anglin <dave@hiauly1.hia.nrc.ca>
4543
4544         * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
4545
4546         * tree.c (build_common_tree_nodes): Do not build TI nodes unless
4547         HOST_BITS_PER_WIDE_INT is >= 64.
4548
4549 2000-05-17  Richard Henderson  <rth@cygnus.com>
4550
4551         * jump.c (jump_optimize_1): Remove inactive but real insns
4552         in jump-to-next-insn optimization.
4553
4554 2000-05-17  Richard Henderson  <rth@cygnus.com>
4555
4556         * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
4557         unless OPTIMIZE_MODE_SWITCHING.  Conditionally set no_new_pseudos.
4558         Don't call recompute_reg_usage if no_new_pseudos is true.
4559         * lcm.c (optimize_mode_switching): Move ifdefs outside function.
4560         Return true if we did work; update global life information.
4561         * basic-block.h (optimize_mode_switching): Update decl.
4562
4563 2000-05-17  Neil Booth  <neilb@earthling.net>
4564
4565         * cpplex.c (expand_name_space): Don't use ptrdiff_t.
4566
4567 2000-05-17  Zack Weinberg  <zack@wolery.cumb.org>
4568
4569         * cpplib.c: New feature, #pragma system_header.
4570         * cpp.texi: Document special treatment of system headers, and
4571         the various mechanisms to get a header that special treatment.
4572
4573 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4574
4575         * system.h (offsetof): Define at the very end, to ensure we prefer
4576         the platform's definition if available.
4577
4578 2000-05-16  Bruce Korb  <bkorb@gnu.org>
4579
4580         * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
4581         * fixinc/server.c: likewise
4582         * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
4583         + #ifdef debugging code + use #def constant for
4584         sub-pattern count
4585         * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
4586         on C++ math namespace
4587
4588 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4589
4590         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
4591         Don't check the return value of sprintf.  Use asprintf to avoid
4592         buffer overflows.
4593
4594 Wed May 17 17:27:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4595
4596         * flags.h (warn_unused_function, warn_unused_label,
4597         warn_unused_parameter, warn_unused_variable, warn_unused_value):
4598         Replace ``warn_unused''.
4599         (set_Wunused): Add declaration.
4600         * toplev.c (set_Wunused): New function.
4601         (warn_unused_function, warn_unused_label, warn_unused_parameter,
4602         warn_unused_variable, warn_unused_value): New variables.
4603         (W_options): Add -Wunused-function, -Wunused-function,
4604         -Wunused-label, -Wunused-parameter, -Wunused-variable and
4605         -Wunused-value.  Delete -Wunused.  Handled in decode_W_option.
4606
4607         * toplev.c (decode_W_option): Update -Wunused flags by calling
4608         set_Wunused.
4609         * c-decl.c (c_decode_option): Ditto for -Wall.
4610
4611         * stmt.c (expand_expr_stmt, expand_expr_stmt,
4612         warn_about_unused_variables): Replace warn_unused with more
4613         explicit warn_unused_value et.al.
4614         * function.c (expand_function_end): Ditto.
4615         * c-typeck.c (internal_build_compound_expr,
4616         internal_build_compound_expr): Ditto.
4617         * c-decl.c (poplevel, pop_label_level): Ditto.
4618         * toplev.c (check_global_declarations): Replace warn_unused with
4619         check for either warn_unused_function or warn_unused_variable.
4620
4621         * gcc.1, invoke.texi (Warning Options): Document
4622         -Wunused-function, -Wunused-function, -Wunused-label,
4623         -Wunused-parameter, -Wunused-variable and -Wunused-value options.
4624
4625 Wed May 17 10:28:12 2000  Philippe De Muyter  <phdm@macqel.be>
4626
4627         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
4628         $(srcdir), not in the current directory.
4629
4630 2000-05-16  Richard Henderson  <rth@cygnus.com>
4631
4632         * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
4633         assembler supports it.
4634         (.fini, .init): Use a gp-relative indirect call.
4635         (__do_global_dtors_aux): Preserve the gp; rebundle.
4636         (__do_frame_setup): Likewise.
4637         * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
4638         (.init): Use a gp-relative indirect call.
4639         (__do_global_ctors_aux): Preserve the gp.
4640
4641 2000-05-16  Richard Henderson  <rth@cygnus.com>
4642
4643         * flow.c (commit_one_edge_insertion): Be prepared for a return
4644         insn to be inserted on the edge with a normal jump.
4645         * jump.c (jump_optimize_1): Don't look to create return isns.
4646
4647         * flow.c (flow_delete_insn): Don't adjust reference count of notes.
4648         * jump.c (jump_optimize_1): Likewise.
4649         (returnjump_p): Verify the argument is a JUMP_INSN.
4650         * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
4651
4652 2000-05-16  Nick Clifton  <nickc@cygnus.com>
4653
4654         * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
4655         GET_RTX_CLASS (GET_CODE ()) == 'i'.
4656         (large_insn_p): Ditto.
4657         (m32r_is_insn): New function: Return true if the insn contains
4658         an executable instruction.
4659         (m32r_adjust_insn): Use m32r_is_insn.
4660         (m32r_sched_reorder): Use m32r_is_insn.
4661         (m32r_sched_variable_issue): Use m32r_is_insn.
4662
4663 2000-05-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4664
4665         * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
4666         VAR_DECL.
4667
4668         * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
4669
4670         * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
4671         according to given options.
4672
4673 Tue May 16 12:17:31 2000  Jeffrey A Law  (law@cygnus.com)
4674
4675         * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
4676         if X has VOIDmode either.
4677         (LIMIT_RELOAD_CLASS): Similarly.
4678
4679         * mn10200.md (indirect_jump, tablejump): Use "register_operand",
4680         not "general_operand" to match the processor's capabilities.
4681
4682 2000-05-16  Bruce Korb  <bkorb@gnu.org>
4683
4684         * fixinc/README:  corrected return address
4685         * fixinc/check.diff:  regenerate, now that test works
4686         * fixinc/fixfixes.c(format_fix,format_write): reformatted
4687         (char_macro_def_fix,char_macro_use_fix): corrected and
4688         rewrote to use regex to parse the text
4689         * fixinc/inclhack.def: more testing
4690         * fixinc/fixincl.x:  regenerated
4691
4692         * fixinc/inclhack.def: added several "test_text" attributes
4693         changed several fixes to use `c_fix = format'
4694         re-alphabetized the fixes
4695
4696         * fixinc/check.diff: regenerate
4697         * fixinc/fixincl.x: regenerate
4698         * fixinc/check.tpl: added `sparc' and `netinet' to the list
4699         of created dirs
4700
4701
4702 2000-05-16  Alexandre Oliva  <aoliva@cygnus.com>
4703
4704         * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
4705
4706 2000-05-15  Richard Henderson  <rth@cygnus.com>
4707
4708         * toplev.c (rest_of_compilation): Run full jump pass before
4709         find_basic_blocks of flow2.
4710
4711 2000-05-15  Richard Henderson  <rth@cygnus.com>
4712
4713         * jump.c: Fix typos and clarify commentary from last change.
4714         (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
4715         (safe_to_remove_jump_p): Remove.
4716         (condjump_label): Use pc_set.
4717
4718 2000-05-15  Richard Henderson  <rth@cygnus.com>
4719
4720         * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
4721         that get in the way after reload.
4722         (cond_exec_process_if_block): Skip a label heading THEN block.
4723
4724 2000-05-15  Richard Henderson  <rth@cygnus.com>
4725
4726         * varasm.c (output_constant_pool): Abort instead of converting
4727         (improperly) deleted labels to zero.
4728
4729 2000-05-16  Neil Booth  <NeilB@earthling.net>
4730
4731         * cpplex.c (parse_string2): Update comment.
4732         (cpp_lex_line): No special assertion treatment for '('.
4733         * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
4734         * cpplib.h (SYNTAX_ASSERT): Remove.
4735
4736 Mon May 15 21:45:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4737
4738         * jump.c (condjump_p):  Mark as depreached.
4739         (any_condump_p): New.
4740         (any_uncondump_p): New.
4741         (pc_set): New.
4742         (safe_to_remove_jump_p): New.
4743         * rtl.h (any_condump_p, any_uncondjump_p, pc_set
4744         safe_to_remove_jump_p): Declare.
4745
4746 Mon May 15 21:07:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4747
4748         * calls.c: Re-install both patches reverted by last patch.
4749         (struct arg_data): New field tail_call_reg.
4750         (initialize_argument_information): Initialize tail_call_reg
4751         (load_register_parameters): New argument flags, use
4752         tail_call_reg when emiting tail call sequence.
4753         (expand_call): Update call of load_register_parameters;
4754         copy unadjusted_args_size to adjusted_args_size.
4755
4756 Mon May 15 19:01:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4757
4758         * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
4759         and bct_p parameters to flags.
4760         * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
4761         * rtl.h (loop_optimize): Update prototype.
4762         * toplev.c (rest_of_compilation): Update call of loop_optimize.
4763
4764 2000-05-15  Jakub Jelinek  <jakub@redhat.com>
4765
4766         * calls.c (expand_call): Move expand_start_target_temps call after
4767         start_sequence().
4768
4769 2000-05-15  Neil Booth  <NeilB@earthling.net>
4770
4771         * cpphash.c (trad_stringify, warn_trad_stringify,
4772         collect_params): Make some pointers pointers to const.
4773         * cpplex.c (auto_expand_name_space) Guaranteed to always
4774         expand by at least one character.
4775         (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
4776         (struct token_spelling): Use const U_CHAR * rather than PTR.
4777         (expand_name_space): Fix up token pointers if name space
4778         is moved when expanding.
4779         (INIT_NAME, cpp_scan_line, parse_name, parse_number,
4780         parse_string2, save_comment, spell_token, cpp_output_list):
4781         Update so the routines handle tokens with a direct pointer to
4782         their text, rather than an offset into the token's list's namebuf.
4783         (_cpp_lex_line): Rearrange for clarity.
4784
4785         * cpplib.c (_cpp_check_directive): Similarly.
4786         (do_define): Make SYM a pointer to const.
4787         * cpplib.h (struct cpp_name): Replace offset with direct pointer.
4788         (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
4789         (TOK_OFFSET): Delete.
4790         (TOK_NAME): Update.
4791
4792 2000-05-14  Geoffrey Keating  <geoffk@cygnus.com>
4793
4794         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
4795         64-bit ABI.
4796
4797         * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
4798         into account.
4799         (logical_u_operand): Delete.
4800         (non_logical_cint_operand): Rewrite to take MODE into account.
4801         (non_logical_u_cint_operand): Delete.
4802         (boolean_operator): New function.
4803         (print_operand): Add new %q operand.
4804         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
4805         remove logical_u_operand and non_logical_u_cint_operand,
4806         update logical_operand and non_logical_cint_operand.
4807         * config/rs6000/rs6000.md: Rewrite the patterns for performing
4808         logical operations to use %q.
4809
4810         * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
4811         (movdi): Make similar to movsi.
4812         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
4813         is no such thing as a DImode CONST_DOUBLE.
4814         * config/rs6000/rs6000.c (output_toc): Likewise.
4815
4816         * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
4817         codes when old mnemonics are in use.  Print register names
4818         for cc registers when requested.
4819
4820         * optabs.c (expand_float): Don't allow mode widening that causes
4821         double rounding.
4822
4823         * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
4824         flags to their current names -maix64 and -maix32.
4825
4826 2000-05-14  Bruce Korb  <bkorb@gnu.org>
4827
4828         * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
4829         and/or after current text of file
4830         * fixinc/fixlib.c(must_malloc):
4831         * fixinc/fixlib.h(must_malloc): + reformatting
4832         * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
4833         with usages of ``c_fix = wrap;''
4834         Add several tests and use the ``c_fix = format'' fixer more.
4835         * fixinc/fixincl.x: regen
4836         * fixinc/check.diff: regen
4837         * fixinc/check.tpl: emit the associated header with the missing
4838         test message
4839
4840 Sun May 14 17:58:59 2000  Hans-Peter Nilsson  <hp@axis.com>
4841
4842         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
4843         variables $src and $dst.
4844
4845 2000-05-13  Gabriel Dos Reis <gdr@codesourcery.com>
4846
4847         * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
4848         (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
4849         (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
4850         (struct output_buffer: emitted_prefix_p, prefixing_rule): New
4851         fields.
4852         (set_message_prefixing_rule): Declare.
4853
4854         * diagnostic.c: (current_prefixing_rule): New variable.
4855         (set_message_prefixing_rule): Define.
4856         (output_set_prefix): Adjust buffer->emitted_prefix_p.
4857         (init_output_buffer): Adjust Initialization.
4858         (output_emit_prefix): Rewrite.  Take prefixing rules into account.
4859
4860 Sat May 13 11:05:47 2000  Philippe De Muyter  <phdm@macqel.be>
4861
4862         * ifcvt.c (if_convert): Do not free NULL.
4863
4864 2000-05-12  Nick Clifton  <nickc@cygnus.com>
4865
4866         * config/fr30/fr30.c (fr30_move_double): New function:  Emit code
4867         to move a double word value.
4868         (di_operand): New function: Return true if the operand is suitbale
4869         for a double word move operation.
4870         (nonimmediate_di_operand): New function: Return true if the
4871         operand is a DImode register or MEM.
4872
4873         * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
4874         nonimmediate_di_operand.
4875
4876         * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
4877         nonimmediate_di_operand.
4878
4879         * config/fr30/fr30.md (movdi): New pattern.  Required because
4880         other patterns generate DImode results.
4881         (movdi_insn): New pattern.
4882
4883 2000-05-12  Richard Henderson  <rth@cygnus.com>
4884
4885         * config/alpha/alpha.c (struct shadow_summary): Define
4886         bitfields as type unsigned int.
4887
4888 Sat May 13 00:09:59 2000  Denis Chertykov  <denisc@overta.ru>
4889
4890         * config/avr/t-avr: Added definition of FLOAT while generates
4891         fp-bit.c
4892
4893         * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
4894         peepholes for tst+jump = sbrs/sbrc optimization.
4895
4896 Fry May 12 20:03:00 CEST 2000  Jan Hubicka  <jh@suse.cz>
4897
4898         * expr.c (emit_push_insn): Do not adjust stack pointer when
4899         preallocating.
4900
4901 Fri May 12 19:03:58 2000  Philippe De Muyter  <phdm@macqel.be>
4902
4903         * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
4904         * system.h (offsetof): ... to here.
4905
4906 2000-05-12  Richard Henderson  <rth@cygnus.com>
4907
4908         * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
4909         * final.c (final_end_function): Use app_disable.  Rearrange note
4910         handling into a switch.  Emit deleted labels.
4911         (output_asm_label): Generate label strings for deleted labels.
4912         * flow.c (tail_recursion_label_list): New.
4913         (find_basic_blocks_1): Set label_value_list directly.  Collect list
4914         of tail recursion labels from call_placeholders.  Don't add deleted
4915         labels to the label value list.
4916         (cleanup_cfg): Use free_EXPR_LIST_list.
4917         (flow_delete_insn_chain): Turn non-removable labels into notes.
4918         (flow_delete_block): Don't disable deleting the block because of
4919         a non-removable label.
4920         (tail_recursion_label_p): New.
4921         (merge_blocks_move_predecessor_nojumps): Don't disable the merge
4922         because of a label.
4923         (merge_blocks_move_successor_nojumps): Likewise.  Also move a
4924         jump table.
4925         (merge_blocks): Disable a merge because of tail recursion labels.
4926         * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
4927         Use a more accurate measure of not merging the join block.
4928         (find_if_block): Don't disable conversion because of a label.
4929         (find_if_case_1, find_if_case_2): Likewise.
4930         * jump.c (duplicate_loop_exit_test): Preserve the kind of list
4931         element when copying.
4932         (squeeze_notes): Also leave EH notes.
4933         (mark_jump_label): Ignore deleted labels.  Use an INSN_LIST for
4934         REG_LABEL notes.
4935         (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
4936         deleting a label.
4937         * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
4938         NOTE_INSN_DELETED_LABEL.  Print `[# deleted]' for a label_ref
4939         referring to a deleted label.  Convert tail handling to a switch.
4940         * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
4941         for NOTE_INSN_DELETED_LABEL.
4942         (NOTE): Fix commentary.
4943         * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
4944         (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
4945         (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
4946         (LABEL_NUSES, LABEL_REFS): Likewise.
4947         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
4948
4949 2000-05-12  Bruce Korb  <bkorb@gnu.org>
4950
4951         * fixinc/fixfixes.c(format_write): buglet & relaxed rules
4952         * fixinc/check.diff: updated
4953         * fixinc/inclhack.def: corrected & added some test_text-s
4954         * fixinc/genfixes: removed unneeded options to autogen invocation
4955         * fixinc/fixincl.tpl: Specified the output file
4956         * fixinc/fixfixes.c: visual appearance
4957         * fixinc/fixincl.x: regenerate
4958
4959 2000-05-12  Zack Weinberg <zack@wolery.cumb.org>
4960
4961         * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
4962         CTRL_defn_fix): Delete.
4963         (fix_char_macro_defines, fix_char_macro_uses): Rename to
4964         char_macro_def_fix and char_macro_use_fix, respectively.  Put
4965         them into the FIXUP_TABLE.  Get the string to search for from
4966         a c_fix_arg.
4967
4968         (format_write): New function.
4969         (format_fix): Use it.
4970
4971         (FIX_PROC_HEAD): Constify text parameter.
4972         (machine_name_fix): Constify all char *s.
4973         * fixtests.c (skip_quote): Remove double static.
4974
4975         * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
4976         ctrl_use_quotes): Update for new scheme.
4977         * fixincl.x: Regenerate.
4978
4979 2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
4980
4981         * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
4982         DWARF2_DEBUG.
4983         (DWARF2_ASM_LINE_DEBUG_INFO): Define.
4984         (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
4985
4986 2000-05-11  Robert Lipe <robertlipe@usa.net>
4987
4988         * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
4989         * fixincl.x: Regenerate.
4990
4991 2000-05-11  Richard Henderson  <rth@cygnus.com>
4992
4993         * calls.c: Revert both 05-09 patches.
4994
4995 2000-05-11  Alexandre Oliva  <aoliva@cygnus.com>
4996
4997         * config/mn10300/mn10300.c (print_operand): Print FP constants in
4998         hexadecimal.
4999         * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
5000         for FP values.
5001
5002         * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
5003         and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
5004
5005 2000-05-11  Jason Merrill  <jason@casey.cygnus.com>
5006
5007         * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
5008
5009 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
5010
5011         * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
5012
5013 Thu May 11 22:28:05 2000  Denis Chertykov  <denisc@overta.ru>
5014
5015         * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
5016         * config/avr/avr.c (jump_over_one_insn_p): New function.
5017         * config/avr/avr.md: New peepholes added. Output test and
5018         conditional jump to "sbrc" or "sbrs" command.
5019
5020 2000-05-11  Mark Elbrecht  <snowball3@bigfoot.com>
5021
5022         * cppmain.c (main): Use IS_DIR_SEPARATOR.
5023
5024 2000-05-11  Jakub Jelinek  <jakub@redhat.com>
5025
5026         * except.c (find_exception_handler_labels_1): New function.
5027         (find_exception_handler_labels): Split into two functions, dive
5028         into CALL_PLACEHOLDERs when looking for exception handler labels.
5029
5030 2000-05-11 Stan Cox <scox@cygnus.com>
5031
5032         * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
5033         * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
5034         * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
5035
5036 2000-05-11  Bruce Korb  <bkorb@gnu.org>
5037
5038         * fixinc/fixfixes.c (double_slash_fix):  obsolete
5039         (else_endif_label_fix): obsolete
5040         (format_fix):  new, unused as yet
5041         (main): obsolete
5042         * fixinc/fixlib.h: added fix description struct for use by format_fix
5043         * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
5044         * fixinc/Makefile.in:  compile fixfixes.c and fixtests.c as separate
5045         modules.  Removed the vestiges of the script version.
5046         Added support for "make check".
5047         * fixinc/check.diff: base diff file (needs work!!)
5048         * fixinc/check.tpl: quiet the fixup output
5049         * fixinc/fixtests.c (main): obsolete
5050         * fixinc/fixincl.sh:  don't bother copying fixincl to ..
5051         * fixinc/fixincl.tpl:  provide for arguments to c_fix routines
5052
5053 Thu May 11 11:57:02 MET DST 2000  Jan Hubicka <jh@suse.cz>
5054
5055         * toplev.c (rest_of_compilation): Remove dead code after
5056         combine.
5057
5058 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
5059
5060         * cpphash.c (collect_funlike_expansion): Make "# is not
5061         followed by a macro argument name" a pedwarn, not an error.
5062         Preserve the # in the output.  Suppress the warning if lang_asm.
5063
5064 Thu May 11 01:19:31 2000  Jeffrey A Law  (law@cygnus.com)
5065
5066         * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
5067         * configure: Rebuilt.
5068
5069 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
5070
5071         * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
5072
5073 2000-05-10  Kazu Hirata  <kazu@hxi.com>
5074
5075         * combine.c (try_combine): Fix a typo.
5076
5077 Wed May 10 21:31:44 2000  Jim Wilson  <wilson@cygnus.com>
5078
5079         * config/ia64/ia64.md (insv): Add comment.
5080
5081 2000-05-10  Richard Henderson  <rth@cygnus.com>
5082
5083         * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
5084         * mklibgcc.in: Rewrite to not use functions.  Don't shortcut
5085         dependancies on FPBIT and DPBIT.
5086
5087 2000-05-10  Nick Clifton  <nickc@redhat.com>
5088
5089         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
5090         when optimising for size.
5091         (mark_used_regs:) Ditto.
5092         (try_pre_increment_1): Ditto.
5093
5094 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
5095
5096         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
5097         Make error message friendlier.
5098
5099         * cpphash.h (struct hashnode): Use struct hack for name
5100         member.
5101         * cpphash.c (struct hashdummy): New.
5102         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
5103         (make_HASHNODE): No need to set ->name pointer.  Correct
5104         setting of p.
5105         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
5106
5107 2000-05-10  Richard Henderson  <rth@cygnus.com>
5108
5109         * flow.c (find_basic_blocks_1): Remove any spare bb_note
5110         after completion.
5111
5112 2000-05-10  Bruce Korb  <bkorb@gnu.org>
5113
5114         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
5115
5116 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
5117
5118         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
5119         after we enter .debug.
5120
5121 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
5122
5123         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
5124         abstract instance of a nested inline function.
5125
5126         * stor-layout.c (finish_record_layout): finalize_type_size
5127         before laying out the pending_statics.
5128
5129 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
5130
5131         * cpplex.c (spell_token): New function.
5132         (spell_string, spell_comment, spell_name): fold into
5133         spell_token.
5134         (I, S): Add macros.
5135         (E, H): Remove macros.
5136         (save_comment): Save comment opening characters too.
5137         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
5138         handling.
5139         * cpplib.h (I, S): Add macros.
5140         (E, H): Remove macros.
5141         (TTYPE_TABLE): Update entries for new speller.
5142         (SYNTAX_ASSERT): Remove.
5143
5144 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
5145
5146         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
5147         when removing escaped newlines.  Reverse sense of test for
5148         escaped newline.
5149
5150 2000-05-09  Richard Henderson  <rth@cygnus.com>
5151
5152         * flow.c (find_basic_blocks_1): Do not delete the first
5153         bb_note we run across.
5154         (create_basic_block): Use reorder_insns to move an existing
5155         bb_note to the correct place.
5156
5157 2000-05-09  Richard Henderson  <rth@cygnus.com>
5158
5159         * calls.c (expand_call): Increment currently_expanding_call
5160         before calling optimize_tail_recursion.
5161
5162 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5163
5164         * reload1.c (reload_combine): Fix errors in last change.
5165
5166 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
5167
5168         * gcc.c (used_arg): Skip over a semicolon at the end of the
5169         split-up loop; don't break out of it.
5170
5171         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
5172         (tree.o): Depend on output.h.
5173
5174         * c-decl.c (pending_invalid_xref_file,
5175         current_function_prototype_file): Constify.
5176         (pushdecl): Constify a local char *.
5177         (define_label): Constify filename parameter.
5178         * c-lex.c (init_parse): Constify parameter and return value.
5179         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
5180         * c-tree.h: Update prototypes.
5181         * c-parse.in: Constify filename member of %union, and if_stmt_file.
5182         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
5183         objc/objc-parse.c: Regenerate.
5184
5185         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
5186         * dwarfout.h: Update prototypes.
5187         * expr.c (expand_expr): Constify a local char *.
5188         * flags.h: Constify main_input_filename.
5189         * function.c (expand_function_end): Constify filename parameter.
5190         * genrecog.c (make_insn_sequence): Use a character array for
5191         c_test_pos.
5192         (main): Remove unused variables.
5193         * input.h: Constify input_filename, main_input_filename, and
5194         file_stack.name.  Update prototypes.
5195         * output.h: Declare first_global_object_name and
5196         weak_global_object_name here, as const char *.
5197         * stmt.c (expand_asm_operands): Constify filename parameter.
5198         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
5199         Constify filename parameter.
5200         (input_filename, main_input_filename): Constify.
5201         * toplev.h: Update prototypes.
5202         * tree.c: Include output.h.  Don't declare
5203         first_global_object_name or weak_global_object_name.  Clean up string
5204         bashing in get_file_function_name_long.
5205         * tree.h (struct tree_decl): Constify filename member.
5206         (input_filename): Constify.
5207         Update prototypes.
5208         * varasm.c (first_global_object_name, weak_global_object_name):
5209         Constify.
5210         (assemble_start_function, assemble_variable): Clean up string bashing.
5211
5212         * gcc.c: Constify all spec-related strings initialized,
5213         transitively, from string constants.  Constify all strings
5214         and string variables related to multilibs.
5215         (set_spec, read_specs): Cast argument to free to PTR.
5216         (used_arg): Do not modify multilib_matches.  Use strncmp plus
5217         length comparison to compare multilib switches.
5218         * genmultilib: Constify everything declared in multilib.h.
5219
5220 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
5221
5222         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
5223         as deleted.
5224
5225 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
5226
5227         * config/avr/avr-protos.h (extra_constraint): change a type of
5228         second argument from char to int to avoid warnings.
5229         (asm_output_byte): Likewise.
5230
5231         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
5232         (initial_elimination_offset): Handle elimination from
5233         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
5234         (legitimate_address_p): Use MAX_LD_OFFSET.
5235         (legitimize_address): Likewise.
5236         (out_movqi_r_mr): Likewise.
5237         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
5238         (out_movsi_r_mr): Use MAX_LD_OFFSET.
5239         (out_movsi_mr_r): Likewise.
5240         (out_movqi_mr_r): Likewise.
5241         (out_movhi_mr_r): Likewise.
5242         (notice_update_cc): Correct CC for the ashrqi3 with the shift
5243         count as CONST_INT != 6.
5244         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
5245         shift count is a CONSTANT_P, but not a CONST_INT.
5246         (ashlhi3_out): Coding style modifications.
5247         (ashlsi3_out): Likewise.
5248         (ashrhi3_out): Likewise.
5249         (ashrsi3_out): Likewise.
5250         (lshrhi3_out): Likewise.
5251         (lshrsi3_out): Likewise.
5252         (ashrqi3_out): Generate shift for any known constant count without
5253         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
5254         but not a CONST_INT.
5255         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
5256         shift count is a CONSTANT_P, but not a CONST_INT.
5257         (extra_constraint): change a type of
5258         second argument from char to int to avoid warnings.
5259         (asm_output_byte): Likewise.
5260         (asm_file_end): Output size generated commands count as a hex
5261         number too.
5262
5263         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
5264
5265         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
5266         removed.
5267         (ashlqi3): Values of "length" attribute changed. Shift count
5268         uses constraints 'n' instead of 'i'.
5269         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
5270         shifts without clobber register.
5271         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
5272         (call_insn): Correct test for which_alternative == 1 (was 0).
5273         (call_value_insn): Likewise.
5274
5275         * config/avr/t-avr: Remove definition of FLOAT while generates
5276         fp-bit.c
5277
5278 2000-05-09  Bruce Korb  <bkorb@gnu.org>
5279
5280         * fixinc/check.tpl:  Template for checking fixes
5281         * fixinc/inclhack.def:  Added 'test_text' for many fixes
5282         disable hpux8_bogus_inlines on SCO
5283         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
5284
5285 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5286
5287         * calls.c (expand_call): Reorganize somewhat in order
5288         to avoid unnecesary recalculation inside loop and make
5289         tail call failure code cleaner.
5290
5291 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5292
5293         * alias.c (nonlocal_reference_p): Minor reformatting.
5294         * reload.c (find_equiv_reg): Simplify logic for
5295         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
5296         some some reformatting.
5297         * reload1.c (reload_combine): Don't assume everything in
5298         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
5299
5300 2000-05-08  Richard Henderson  <rth@cygnus.com>
5301
5302         * final.c (current_insn_predicate): New.
5303         (final_scan_insn): Set it.
5304         * output.h (current_insn_predicate): Declare.
5305
5306         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
5307         Attach it to call insns.
5308         (cond_exec_process_if_block): Track probability for true and
5309         false branches.
5310         (dead_or_predicable): Likewise.
5311
5312         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
5313         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
5314         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
5315         (estimate_probability, expected_value_to_br_prob): Use them.
5316
5317         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
5318         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
5319         (ia64_expand_prediction): New.
5320         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
5321         as needed after calls.
5322         (ia64_epilogue_uses): Mark b0 used.
5323         * config/ia64/ia64.md (beq_true, beq_false): Remove.
5324         (bne_true, bne_false): Remove.
5325         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
5326         (br_true, br_false): New.  Use predicate_operator and
5327         ia64_expand_prediction.
5328         (return_true, return_false): Likewise.
5329         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
5330         (call_internal1, call_value_internal): Likewise.
5331         (call_value_internal1, call_multiple_values_internal1): Likewise.
5332
5333         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
5334
5335         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
5336
5337 2000-05-08  Richard Henderson  <rth@cygnus.com>
5338
5339         * rtlanal.c (may_trap_p): Consider old-style and volatile
5340         asms to trap.
5341
5342 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
5343
5344         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
5345
5346 2000-05-08  Richard Henderson  <rth@cygnus.com>
5347
5348         * config/ia64/ia64.h (predicate_operator): Declare.
5349
5350         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
5351         of existance.
5352
5353         * gensupport.c (process_rtx): Copy and post-process each member
5354         of the define_insn rtvec individually.
5355
5356 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
5357
5358         * cpplex.c (spell_token): New function.
5359         (TOKEN_LEN): Add 1 for whitespace.
5360         (_cpp_lex_file): Update to use spell_token.
5361         * cpplib.h (E): Remove.
5362         (TTYPE_TABLE): Update CPP_VSPACE entry.
5363
5364 2000-05-08  Richard Henderson  <rth@cygnus.com>
5365
5366         * flow.c (init_propagate_block_info): Watch out for conditional
5367         branch to next instruction, and thus one outgoing edge.
5368
5369         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
5370         for global register variables; don't special case __[CD]TOR_LIST__;
5371         mind ggc_p for string allocation.
5372
5373 2000-05-08  Nick Clifton  <nickc@cygnus.com>
5374
5375         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
5376
5377 2000-05-08  Bruce Korb  <bkorb@gnu.org>
5378
5379         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
5380         i?86-*-msdosdjgpp* no longer uses fixincludes
5381         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
5382         * fixinc/inclhack.sh:  deleted
5383         * fixinc/hackshell.tpl:  deleted
5384         * fixinc/inclhack.tpl:  deleted
5385         * fixinc/Makefile.in:  Remove dependencies on above
5386         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
5387
5388 2000-05-08  Andreas Jaeger  <aj@suse.de>
5389
5390         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
5391         support.
5392
5393 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
5394
5395         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
5396         substitutions.
5397
5398 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
5399
5400         * cpplex.c: Move new lexer definitions and prototypes
5401         to top.  Conditional include these and the code if
5402         NEW_LEXER is defined.  Rename functions whose names
5403         clash if this code included.
5404
5405 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
5406
5407         * rtl.def (COND_EXEC): Clarify.
5408
5409         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
5410         same fashion as zero_extendsidi2.
5411
5412 2000-05-06  Richard Henderson  <rth@cygnus.com>
5413
5414         * config/ia64/ia64.c (predicate_operator): New.
5415         (ia64_print_operand): Handle 'J'.
5416         (rtx_needs_barrier): Handle COND_EXEC.
5417         * config/ia64/ia64.h (BRANCH_COST): Define.
5418         (PREDICATE_CODES): Update.
5419         * config/ia64/ia64.md: Docuement used unspec values.
5420         (attr predicable): New.
5421         (movxf, movxf_internal): New.
5422         (extendsfdf2): Don't comment out nop.
5423         (floatdidf2): Remove.
5424         (truncxfsf2, truncxfdf2, floatdixf2): New.
5425         (abssi2, absdi2): Put the neg in the "true" slot.
5426         (conditional branch instructions): Mark not predicable.
5427         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
5428         (abs*_internal): Likewise.
5429         (alloc, set_bsp): Mark not predicable.
5430         (barrier, insn_group_barrier, flush_cache): Likewise.
5431         (define_cond_exec): New.
5432
5433 2000-05-06  Richard Henderson  <rth@cygnus.com>
5434
5435         * c-decl.c: Include "tm_p.h".
5436
5437         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
5438         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
5439         (ia64_expand_op_and_fetch): Declare.
5440         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
5441         (setjmp_operand): Constify variables for XSTR.
5442         (ia64_encode_section_info): Likewise.
5443         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
5444         values to int.
5445         (ia64_asm_output_external): Constify name.
5446         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
5447         (process_for_unwind_directive): Provide switch default.
5448         (ia64_expand_compare_and_swap): Remove unused variables.
5449         (ia64_expand_builtin): Likewise.
5450         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
5451         for printing.
5452
5453         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
5454         (symbolic_operand, function_operand, setjmp_operand): Likewise.
5455         (shift_count_operand, shift_32bit_count_operand): Likewise.
5456         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
5457         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
5458         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
5459         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
5460         (ia64_expand_builtin): Likewise.
5461         (call_multiple_values_operation): Make dest_regno unsigned.
5462
5463 2000-05-06  Richard Henderson  <rth@cygnus.com>
5464
5465         * rtl.def (DEFINE_COND_EXEC): New.
5466         * md.texi: Document it.
5467
5468         * gensupport.c (input_file): Remove.
5469         (struct queue_elem): Add lineno.
5470         (rtx_ready_queue): Remove.
5471         (errors): New.
5472         (predicable_default): New.
5473         (predicable_true, predicable_false): New.
5474         (define_attr_queue, define_attr_tail): New.
5475         (define_insn_queue, define_insn_tail): New.
5476         (define_cond_exec_queue, define_cond_exec_tail): New.
5477         (other_queue, other_tail): New.
5478         (queue_pattern): New.
5479         (process_rtx): Add patterns to the appropriate queues.
5480         (is_predicable, identify_predicable_attribute): New.
5481         (n_alternatives, collect_insn_data): New.
5482         (alter_predicate_for_insn, alter_test_for_insn): New.
5483         (shift_output_template, alter_output_for_insn): New.
5484         (process_one_cond_exec, process_define_cond_exec): New.
5485         (init_md_reader): Read the entire file.  Process define_cond_exec.
5486         (read_md_rtx): Return elements from the queues.
5487
5488 2000-05-06  Richard Henderson  <rth@cygnus.com>
5489
5490         * flow.c (mark_set_1): Don't update conditional life info
5491         if the register is not_dead.
5492
5493 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
5494
5495         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
5496         (mostlyclean): Also delete fixincl, fixinc.sh, and
5497         specs.ready, and make clean in the fixinc subdir.
5498
5499 2000-05-06  Richard Henderson  <rth@cygnus.com>
5500
5501         * Makefile.in (gensupport.o): Compile for the host.
5502         (host-prefix gensuuprt.o): Remove.
5503         (genflags.o): Depend on gensupport.h and OBSTACK_H.
5504         (genattrtab.o): Likewise.
5505         (gencodes.o): Depend on gensupport.h.
5506         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
5507         (genpeep.o, genattr.o, genoutput.o): Likewise.
5508
5509         * gensupport.c (obstack, rtl_obstack): New.
5510         (init_md_reader): Initialize rtl_obstack.
5511         * gensupport.h (rtl_obstack): Declare.
5512         (message_with_line): Declare.
5513
5514         * genattr.c: Remove all traces of obstack manipulation.
5515         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
5516         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
5517
5518         * genattrtab.c (obstack, rtl_obstack): Remove.
5519         (main): Don't init rtl_obstack.
5520         * genflags.c: Likewise.
5521
5522         * genrecog.c (message_with_line): Move ...
5523         * gensupport.c: ... here.
5524
5525 2000-05-06  Richard Henderson  <rth@cygnus.com>
5526
5527         * c-typeck.c (build_c_cast): Remove dead code.
5528
5529 2000-05-06  Richard Henderson  <rth@cygnus.com>
5530
5531         * flow.c (split_edge): Don't allocate global_live_at_start for
5532         the new block unless the old blocks had them as well.
5533
5534         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
5535
5536         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
5537         test_bb if a or b uses x.
5538
5539 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
5540
5541         * cpphash.h: Remove conditional #define of __extension__.
5542         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
5543         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
5544         (ENABLE_RTL_CHECKING only).
5545         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
5546         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
5547         (ENABLE_TREE_CHECKING only).
5548         * varray.h: Add __extension__ to VARRAY_CHECK macro
5549         (ENABLE_CHECKING only).
5550
5551 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
5552
5553         Use new tail-calling mechanism on ARM.
5554         * arm.md (sibcall, sibcall_value): New expands.
5555         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
5556         (tailcalling peepholes): Delete.
5557         (push_multi): Simplify.
5558         * arm.c (lr_save_eliminated): Delete definition.
5559         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
5560         (output_return_instruction): Remove checks on lr_save_eliminated.
5561         (output_arm_prologue): Remove old tail-calling code.
5562         (arm_output_epilogue): New parameter, really_return.  All callers
5563         changed.  Handle tail-calling epilogues.
5564         * arm.h (lr_save_eliminated): Delete declaration.
5565         (frame_pointer_needed): Delete declaration.
5566         * arm-protos.h (arm_output_epilogue): Adjust prototype.
5567
5568         * arm.md (is_thumb): Examine symbol thumb_code, not expression
5569         TARGET_ARM.
5570         * arm.c (thumb_code): Define it.
5571         (arm_override_options): Set it.
5572         * arm.h (thumb_code): Declare it.
5573
5574 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
5575
5576         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
5577
5578 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
5579
5580         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
5581         bogus clobber to insns.
5582         (load_multiple_operation, store_mulitple_operation): Don't check
5583         for it.
5584         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
5585
5586         * arm.md (and_scc, ior_scc): Add missing mode.
5587
5588         * arm.md (call_value_symbol): Remove predicate from op2.
5589
5590         * arm.h (SPECIAL_MODE_PREDICATES): Define.
5591
5592 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5593
5594         * expr.c (get_subtarget): New function.
5595         (force_operand, expand_expr, do_store_flag): Use it.
5596
5597         * toplev.c (compile_file): Don't take strlen of NAME if null.
5598
5599 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
5600
5601         * xcoffout.c (xcoff_current_include_file,
5602         xcoff_current_function_file, xcoff_lastfile): Constify char *.
5603         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
5604         char *'.
5605         (xcoffout_declare_function): Make name 'const char *'.
5606         (xcoffout_end_epilogue): Make fname 'const char *'
5607         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
5608         xcoffout_declare_function, xcoffout_source_line): Match above.
5609
5610         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
5611         -maix64 is error.
5612         * rs6000.c (print_operand): Fix lossage typo.
5613         (output_cbranch): Remove "cr" decoration for now.
5614         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
5615
5616 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
5617
5618         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
5619         constant count.
5620
5621 2000-05-05  Bruce Korb  <bkorb@gnu.org>
5622
5623         * fixinc/genfixes: Improve the matching for make target names
5624
5625 2000-05-05  Catherine Moore  <clm@cygnus.com>
5626
5627         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
5628         attribute to the decl.
5629         * c-decl.c (pushdecl): Propagate the USED attribute to the
5630         type copy.
5631
5632 2000-05-05  Richard Henderson  <rth@cygnus.com>
5633
5634         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
5635         same way emit_group_load does.
5636
5637 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
5638
5639         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
5640
5641         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
5642         (main): Likewise.
5643
5644 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
5645
5646         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
5647
5648 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
5649
5650         * config/openbsd.h (LINK_SPEC): pass correct flags to ld
5651         to support -shared, on platforms with dynamic libraries.
5652
5653 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
5654
5655         * system.h (S_ISBLK): Provide fallback definition.
5656
5657 2000-05-05  Geoff Berry  <geoffb@bops.com>
5658
5659         * extend.texi (Extended Asm): Document inability to give asm
5660         statements access to condition codes.
5661
5662 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
5663
5664         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
5665         as arg 2 of UNIQUE_SECTION.
5666
5667 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
5668
5669         * predict.c: Remove May 4 change.
5670         * bb-reorder.c (make_reorder_chain): Do not perform block movement
5671         if we have predicted the branch at 50-50 probability.
5672
5673 2000-05-05  Richard Henderson  <rth@cygnus.com>
5674
5675         * flow.c (init_propagate_block_info): Fix merge error
5676         in HAVE_conditional_execution code.
5677
5678 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
5679
5680         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
5681         shift cycle for unknown shift count. Also generates dec + brpl.
5682         (ashlqi3_out): Don't generate dec + brpl which now generates by
5683         `out_shift_with_cnt'.
5684         (ashlhi3_out): Likewise.
5685         (ashlsi3_out): Likewise.
5686         (ashrqi3_out): Likewise.
5687         (ashrhi3_out): Likewise.
5688         (ashrsi3_out): Likewise.
5689         (lshrqi3_out): Likewise.
5690         (lshrhi3_out): Likewise.
5691         (lshrsi3_out): Likewise.
5692
5693 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
5694
5695         * gcc.c (free_split_directories): Correct typo in explanation
5696         of make_relative_prefix.
5697
5698 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
5699
5700         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
5701         comparison codes to branch_comparison_operator.
5702
5703 2000-05-04  Richard Henderson  <rth@cygnus.com>
5704
5705         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
5706
5707 2000-05-04  Richard Henderson  <rth@cygnus.com>
5708
5709         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
5710         (DPBIT_FUNCS): Remove _sf_to_usi.
5711         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
5712
5713         * ifcvt.c (noce_process_if_block): Fail if A or B modified
5714         between condition and jump.
5715
5716         * libgcc2.c (near eh_context_specific): Comment #endif string.
5717         * longlong.h: Don't use strings with embedded newlines.
5718
5719 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
5720
5721         * config/rs6000/rs6000-protos.h: Add output_cbranch.
5722         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
5723         (print_operand): Delete %t and %T codes.
5724         (output_cbranch): New function.  Support branch prediction.
5725         * config/rs6000/rs6000.md: Use output_cbranch for
5726         conditional branches and returns.
5727
5728 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
5729
5730         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
5731         * stor-layout.c (place_field): Likewise.
5732         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
5733         * expr.c (store_expr): Make align unsigned.
5734         * explow.c (plus_constant_wide): Make low words unsigned.
5735         * expmed.c (choose_multiplier): Likewise.
5736         * fold-const.c (fold):  Likewise.
5737         * tree.h (build_int_2): Likewise.
5738         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
5739         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
5740         (init_emit): Change cast to unsigned char*.
5741         * varasm.c (compare_constant_1): Add cast to char*.
5742         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
5743         * reload1.c (reload): Likewise.
5744
5745         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
5746
5747 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
5748
5749         * predict.c (estimate_probability): If no prediction was found, then
5750         predict the successor that is the next physical block (if such a
5751         successor exists).
5752
5753 2000-05-04  Richard Henderson  <rth@cygnus.com>
5754
5755         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
5756
5757 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5758
5759         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
5760
5761 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
5762
5763         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
5764         attribute macros from here ...
5765         (CPP_SPEC): to here.
5766         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
5767         (CPP_SPEC): Likewise.
5768         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
5769
5770         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
5771         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
5772
5773 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5774
5775         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
5776
5777         * diagnostic (vbuild_message_string, build_message_string,
5778         build_location_prefix, output_get_prefix, init_output_buffer,
5779         output_notice, vline_wrapper_message_with_location,
5780         v_message_with_decl, default_print_error_function): De-constify.
5781         (set_real_maximum_length): Prototype.
5782
5783         * diagnostic.h (struct output_buffer, init_output_buffer,
5784         output_get_prefix, output_set_prefix): De-constify.
5785
5786         * function.c (init_function_start): Constify.
5787
5788         * gensupport.c (remove_constraints, process_rtx): Prototype.
5789
5790         * gthr-posix.h: Indent uses of #pragma.
5791
5792         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
5793         Prototype.
5794
5795         * predict.c (find_expected_value): Delete prototype.
5796         (expected_value_to_br_prob): Initialize variable `ev_reg'.
5797
5798         * sbitmap.h (debug_sbitmap): Prototype.
5799
5800         * ssa.c (compute_coalesced_reg_partition): Prototype.
5801
5802         * stor-layout.c (debug_rli): Prototype.
5803
5804         * tree.h (round_down): Prototype.
5805         (init_function_start): Constify.
5806
5807 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
5808
5809         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
5810         (overly conservative).  Change extern inline wrappers to
5811         static inline, define them always, use PARAMS properly.
5812         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
5813         whitespace warnings for \f and \v at the beginning of a line.
5814
5815 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
5816
5817         * haifa-sched.c (schedule_insns): Free the flow edge list when it
5818         is no longer needed
5819
5820 2000-05-04  Bruce Korb  <bkorb@gnu.org>
5821
5822         * fixincl/inclhack.def: added broken_cabs -
5823         Remove `extern double cabs' declarations from math.h
5824         * fixincl/inclhack.sh: regen
5825         * fixincl/fixincl.x: regen
5826         * fixincl/fixincl.c: Remove BOGOSITY code
5827         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
5828
5829 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5830
5831         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
5832         MEM_ALIAS_SET.
5833         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
5834         when calling MEM_COPY_ATTRIBUTES.
5835         * emit-rtl.c (operand_subword, change_address): Likewise.
5836         * explow.c (stabilize): Likewise.
5837         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
5838         * integrate.c (copy_rtx_and_substitute): Likewise.
5839         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
5840         when calling MEM_COPY_ATTRIBUTES.
5841         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
5842         Likewise.
5843         * cse.c (gen_lowpart_if_possible): Likewise.
5844         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
5845         * optabs.c (gen_move_insn): Likewise.
5846         * recog.c (validate_replace_rtx_1): Likewise.
5847         * simplify-rtx.c (add_mem_for_addr): Likewise.
5848         * stmt.c (expand_anon_union_decl): Likewise.
5849         * config/arm/arm.md: Likewise.
5850         * config/h8300/h7300.c (fix_bit_operand): Likewise.
5851         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
5852         (block_move_no_loop, block_move_sequence): Likewise.
5853         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
5854         * config/alpha/alpha.c (get_aligned_mem): Likewise.
5855         Clear MEM_ALIAS_SET.
5856         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
5857         MEM_COPY_ATTRIBUTES.
5858
5859 2000-05-03  Robert Lipe <robertlipe@usa.net>
5860
5861         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
5862         to suppress libgcc1.
5863         (i[34567]86-*-sco3.2v5*) Likewise.
5864         (i[34567]86-*-sco3.2v4*) Likewise.
5865         (i[34567]86-*-sco) Likewise.
5866         (i[34567]86-*-solaris2) Likewise.
5867         (i[34567]86-*-sysv5*) Likewise.
5868         (i[34567]86-*-sysv4*) Likewise.
5869         (i[34567]86-*-udk*) Likewise.
5870         (i[34567]86-*-sysv*) Likewise.
5871
5872 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
5873
5874         * cpphash.h (U): New define, to correct type of string constants.
5875         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
5876         routines, to do casts when passing unsigned strings to libc.
5877         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
5878
5879         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
5880         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
5881         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
5882         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
5883         second argument an U_CHAR *.
5884
5885         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
5886         length field, clean up initializer.
5887         (ISTABLE): Add __extension__ to designated-
5888         initializers version.
5889         * cpplex.c (CHARTAB): Likewise.
5890
5891         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
5892         case so the file won't be empty.
5893
5894 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
5895
5896         * bb-reorder.c (struct reorder_block_def): Member succ removed.
5897         (REORDER_BLOCK_SUCC): Removed.
5898         (enum reorder_skip_type): Removed.
5899         (skip_insns_between_block): Renamed to skip_insns_after_block.
5900         Removed second argument. Removed dead code and cleaned up.
5901         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
5902         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
5903         second parameter to skip_insns_after_block.
5904
5905 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5906
5907         * tree.c (staticp, case LABEL_DECL): New case.
5908
5909 2000-05-03  Richard Henderson  <rth@cygnus.com>
5910
5911         * Makefile.in (start.encap): Do not depend on LIBGCC1.
5912
5913         * mklibgcc1.in: Fix typo last change.
5914
5915 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
5916
5917         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
5918         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
5919         (GCC_CFLAGS): Use it.
5920         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
5921         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
5922         objc/Make-lang.in: Use it.
5923
5924 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
5925
5926         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
5927
5928 2000-05-03  Richard Henderson  <rth@cygnus.com>
5929
5930         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
5931         LIBGCC1 empty with libgcc1.null.
5932
5933 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
5934
5935         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
5936         change.
5937
5938 2000-05-03  Greg McGary  <gkm@gnu.org>
5939
5940         * tree.h (tree_common): Add bounded_flag member.  Remove
5941         inaccurate comment about number of remaining bits.
5942         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
5943         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
5944         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
5945         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
5946         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
5947         (TYPE_QUAL_BOUNDED): New constant.
5948         (TYPE_QUALS): Handle bounded qualifier.
5949         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
5950         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
5951         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
5952         TYPE_AMBIENT_BOUNDEDNESS): New macros.
5953         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
5954         (tree_type): Add pointer_depth member.  Remove
5955         inaccurate comment about number of remaining bits.
5956         (DECL_POINTER_DEPTH): Add macro.
5957         (tree_decl): Add pointer_depth member.
5958
5959 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
5960
5961         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
5962         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
5963         (lshrhi3_out): Likewise.
5964         (ashrsi3_out): bugfix in shift by 8.
5965         (test_hard_reg_class): New function.
5966         * config/avr/avr.md: Bugfix inside conditions in peepholes.
5967         (ashlhi3): removed define_expand of this pattern.
5968         (*ashlhi3_insn): renamed to ashlhi3.
5969         (ashlsi3): removed define_expand of this pattern.
5970         (*ashlsi3_insn): renamed to ashlsi3.
5971         (ashrqi3): removed define_expand of this pattern.
5972         (*ashrqi3_insn): renamed to ashrqi3.
5973         (ashrhi3): removed define_expand of this pattern.
5974         (*ashrhi3_insn): renamed to ashrhi3.
5975         (ashrsi3): removed define_expand of this pattern.
5976         (*ashrsi3_insn): renamed to ashrsi3.
5977         (lshrhi3): removed define_expand of this pattern.
5978         (*lshrhi3_insn): renamed to lshrhi3.
5979         (lshrsi3): removed define_expand of this pattern.
5980         (*lshrsi3_insn): renamed to lshrsi3.
5981
5982 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
5983
5984         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
5985         inclusion of "system.h".
5986
5987 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
5988
5989         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
5990         TREE_ASM_WRITTEN.
5991
5992 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
5993
5994         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
5995         if -mauto-pic is on.
5996         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
5997         -mconstant-gp is in effect and function-descriptors are being used
5998         to make indirect calls.
5999         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
6000         (MASK_AUTO_PIC): Ditto.
6001         (TARGET_CONST_GP): Ditto.
6002         (TARGET_AUTO_PIC): Ditto.
6003         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
6004         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
6005         -mno-pic is in effect.
6006         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
6007         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
6008         -mauto-pic is in effect.
6009         (gprel64_offset): New pattern.
6010         (load_gprel64): Ditto.
6011         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
6012         -mconstant-gp is in effect, no need to preserve gp around direct
6013         calls.
6014         (call_value): Ditto.
6015         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
6016         (FUNCTION_PROFILER): Define.
6017         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
6018         @fptr() directive when -mno-pic or -mauto-pic is in effect.
6019         (ASM_OUTPUT_DESTRUCTOR): Ditto.
6020
6021 2000-05-03  Richard Henderson  <rth@cygnus.com>
6022
6023         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
6024         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
6025         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
6026         (mklibgcc, libgcc.mk): New targets.
6027         (libgcc.a): Use libgcc.mk.
6028         (stmp-multilib): Likewise.
6029         (stmp-multilib-sub): Remove.
6030         (mostlyclean): Don't delete libgcc2 temp files.
6031         * configure.in (AC_PROG_CC_C_O): Add.
6032         (NO_MINUS_C_MINUS_O): Substitute it.
6033         (all_outputs): Add mklibgcc.
6034         * mklibgcc.in: New file.
6035
6036 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
6037
6038         * cppexp.c (op_t): Make an int.
6039
6040         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
6041
6042         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
6043
6044         * gensupport.c (process_rtx): Fix macros used.
6045
6046 2000-05-03  Richard Henderson  <rth@cygnus.com>
6047
6048         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
6049         call-clobbered registers of a call.
6050
6051 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
6052
6053         * gensupport.c: New file.
6054         * gensupport.h: New file.
6055         * Makefile.in (HOST_RTL): Depend on gensupport.
6056         (gensupport.o) New rule.
6057         * genattr.c: Use gensupport for reading .md files.
6058         * genattrtab.c: Ditto.
6059         * gencodes.c: Ditto.
6060         * genconfig.c: Ditto.
6061         * genemit.c: Ditto.
6062         * genextract.c: Ditto.
6063         * genflags.c: Ditto.
6064         * genopinit.c: Ditto.
6065         * genoutput.c: Ditto.
6066         * genpeep.c: Ditto.
6067         * genrecog.c: Ditto.
6068         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
6069         * md.texi (Insn Splitting): Document define_insn_and_split.
6070
6071 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
6072
6073         * flow.c (verify_flow_info): Added two more sanity checks. The
6074         first checks that the blocks are numbered consecutively. The second
6075         checks that n_basic_blocks is actually equal to the number of
6076         basic blocks in the insn chain.
6077
6078 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
6079
6080         * cpplib.h: Add accessor macros for token lists.
6081         * cpplib.c, cpphash.c, cpplex.c: Use them.
6082
6083 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6084
6085         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
6086         memory usage if not in a function.
6087         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
6088         return address if static.
6089
6090 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6091
6092         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
6093         whether address may trap.
6094
6095 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
6096
6097         * bb-reorder (chain_reorder_blocks): Changed code to test for
6098         EDGE_FALLTHRU rather than making erroneous assumption that the
6099         first outgoing edge is the fall-through edge.
6100
6101 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
6102
6103         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
6104         ABI for varargs, across all MIPS. This is incompatible because the
6105         va_list (__builtin_va_list) structure is different, so a compilation
6106         unit passing a va_list and a compilation unit being passed one, should
6107         both be compiled with the same ABI. (The old structure had two
6108         pointers, now it has three.)
6109
6110 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
6111
6112         * bb-reorder.c (struct reorder_block_def): Remove members end,
6113         block_begin, and block_end.
6114         (REORDER_BLOCK_OLD_END): Delete.
6115         (REORDER_BLOCK_BEGIN): Delete.
6116         (REORDER_BLOCK_END): Delete.
6117         (chain_reorder_blocks): Remove dead code.
6118
6119 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
6120
6121         * bb-reorder.c (remove_scope_notes): Check for both types of scope
6122         notes as the end of a basic block before deleting.
6123
6124 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
6125
6126         * final.c (final_start_function): Fix spelling of "necessary".
6127
6128 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
6129
6130         * toplev.c (debug_ignore_block): Return int.
6131         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
6132         * toplev.h, dwarf2out.h: Adjust.
6133         * emit-rtl.c (remove_unnecessary_notes): Test return value.
6134
6135         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
6136         * toplev.c, final.c, rtl.h: Adjust.
6137
6138 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
6139
6140         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
6141         * configure.in: Look for makeinfo in the unified tree, then
6142         for a system makeinfo which is sufficiently new.
6143         * Makefile.in: If configure says makeinfo is too old, don't
6144         build or install Info documentation.
6145
6146 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
6147
6148         * cpphash.c (collect_params): Fix off-by-one error.
6149         (dump_hash_helper): Dump all four macro nodetypes.
6150
6151 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
6152
6153         * cpphash.c (trad_stringify): Adjust p after stringification as
6154         well.
6155
6156 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
6157
6158         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
6159         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
6160
6161         * cppfiles.c (file_cleanup): Delete.
6162         * cpphash.c (macro_cleanup): Delete.
6163         (collect_objlike_expansion, collect_funlike_expansion,
6164         macarg, scan_arguments): Remove CPP_POP case.
6165
6166         * cpplex.c (null_cleanup): Delete.
6167         (cpp_pop_buffer): Do the work that was done in the cleanups
6168         here.  Call _cpp_unwind_if_stack from here.
6169         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
6170         cpp_scan_buffer): Run until we see CPP_EOF and the top of
6171         stack is the buffer _below_ the one we stacked.
6172         (cpp_get_token): Always pop an exhausted buffer.  Return
6173         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
6174         * cpplib.c (skip_if_group): Don't call cpp_get_token to
6175         increment the line number.
6176         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
6177
6178         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
6179         we see CPP_EOF and the top of stack is the buffer _below_ the
6180         one we stacked.
6181         * scan-decls.c: Likewise.
6182
6183 2000-05-02  Andrew Haley  <aph@cygnus.com>
6184
6185         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
6186         where this function is called for the second time on a decl that
6187         has had its section info changed in such a way as to move it out
6188         of small data/bss.
6189         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
6190
6191 2000-05-01  Richard Henderson  <rth@cygnus.com>
6192
6193         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
6194         the sequence we're moving, not to merge_bb->head.
6195
6196 2000-05-01  Richard Henderson  <rth@cygnus.com>
6197
6198         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
6199         reference to alpha/t-linux.
6200         (alpha*-*-linux-gnu*): Likewise.
6201         * configure: Rebuild.
6202
6203         * calls.c (expand_call): Don't emit reg notes for a sibcall.
6204
6205         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
6206         if not in SSA form.
6207
6208         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
6209
6210 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
6211
6212         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
6213         TREE_THIS_VOLATILE.
6214
6215 2000-05-01  Richard Henderson  <rth@cygnus.com>
6216
6217         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
6218         emit_conditional_move.
6219
6220 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
6221
6222         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
6223         as the dynamic linker.
6224
6225 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
6226
6227         * cppfiles.c (open_include_file): Open file in blocking mode.
6228         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
6229         Only exclude block devices and directories.
6230
6231         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
6232         static.  Allocate the hashnode and its string in the same
6233         block of memory.
6234         (del_HASHNODE): Don't free h->name.
6235         (_cpp_lookup): If there is no entry for this string, create
6236         one, of type T_VOID.
6237         (_cpp_lookup_slot): Delete.
6238         * cpphash.h: Update prototypes.
6239
6240         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
6241         not hp == NULL.
6242         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
6243         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
6244         node here, just fill in the value field properly.  "Delete"
6245         entries by setting the value field to T_VOID.  Check for
6246         hp->type == T_VOID, not hp == NULL.
6247
6248         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
6249         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
6250         hashtab.h.
6251
6252 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
6253
6254         * config/mn10300/mn10300.c (print_operand_address): Do not add
6255         zero to SP.
6256
6257         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
6258         adjusted by less than 256 bytes, use ret regardless of having any
6259         callee-saved register to restore.
6260
6261 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
6262
6263         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
6264
6265 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
6266
6267         * config/i386/djgpp.h (INT_ASM_OP): Define.
6268         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
6269         (ASM_WEAKEN_LABEL): Define.
6270         (MASK_BNU210): Define.
6271         (SUBTARGET_SWITCHES): Define.
6272         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
6273         (MAKE_DECL_ONE_ONLY): Define.
6274         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
6275
6276 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
6277
6278         * i386/cygwin.h (INT_ASM_OP): Define.
6279
6280 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
6281
6282         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
6283         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
6284
6285 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
6286
6287         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
6288         __tmp_reg__ and __zero_reg__ initialization.
6289
6290 2000-04-30  Richard Henderson  <rth@cygnus.com>
6291
6292         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
6293
6294         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
6295         referenced bewteen the condition and the jump.  Don't delete
6296         anything but the jump.
6297
6298 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
6299
6300         * bb-reorder.c (scope_def): New struct.
6301         (scope_forest_info): New struct.
6302         (struct reorder_block_def): New member "scope".
6303         (REORDER_BLOCK_SCOPE): New macro.
6304         (relate_bbs_with_scopes): New function and prototype.
6305         (make_new_scope): Likewise.
6306         (build_scope_forest): Likewise.
6307         (remove_scope_notes): Likewise.
6308         (insert_intra_1): Likewise.
6309         (insert_intra_bb_scope_notes): Likewise.
6310         (insert_inter_bb_scope_notes): Likewise.
6311         (rebuild_scope_notes): Likewise.
6312         (free_scope_forest_1): Likewise.
6313         (free_scope_forest): Likewise.
6314         (dump_scope_forest): Likewise.
6315         (dump_scope_forest_1): Likewise.
6316         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
6317         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
6318         block.
6319         (reorder_basic_blocks): Added calls to build_scope_scope_forest
6320         and remove_scope_notes before reordering is done. Added calls to
6321         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
6322         after reordering is done.
6323
6324 2000-40-30  Bruce Korb  <bkorb@gnu.org>
6325
6326         * fixinc/inclhack.def:  Added definitions needed by OSR5,
6327         removed two stale entries (defined away with OLD_CPP).
6328         * fixinc/inclhack.sh: regen
6329         * fixinc/fixincl.x: regen
6330
6331 2000-04-30  Richard Henderson  <rth@cygnus.com>
6332
6333         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
6334         from the last insn in the sequence.
6335
6336 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
6337
6338         * cpplex.c (cpp_idcmp): New function.
6339         * cpplib.h: Prototype it.
6340         * scan_decls.c (scan_decls): Use it to inspect token names.
6341         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
6342         the file being run through the preprocessor.
6343         (check_macro_names): Provide length of token to cpp_defined.
6344
6345         * Makefile.in: Remove stale warning message.
6346
6347         * cppfiles.c (redundant_include_p): Provide length of token to
6348         cpp_defined.
6349         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
6350         values are unsigned int.
6351         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
6352         (_cpp_lookup_slot): Do not calculate the hash, either.
6353         * cpphash.h: Update prototypes.
6354         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
6355         Hashes are unsigned int.  Calculate hash here, pass by value
6356         to _cpp_lookup_slot.
6357
6358 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
6359
6360         * simplify-rtx.c (check_value_useless): Delete function.
6361         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
6362         by hand.
6363         (cselib_invalidate_regno): Likewise.
6364         (cselib_invalidate_mem_1): Likewise.
6365         (references_value_p): Recognize useless values by the fact that they
6366         have no locations.
6367         (discard_useless_values): Likewise.
6368         (cselib_record_set): This may turn a useless value
6369         into a useful one.
6370
6371 2000-04-30  Richard Henderson  <rth@cygnus.com>
6372
6373         * config/d30v: New port.
6374
6375         * configure.in (d30v-*): Set fp format.
6376         * configure: Rebuild.
6377
6378 2000-04-30  Richard Henderson  <rth@cygnus.com>
6379
6380         * ifcvt.c: New file.
6381         * Makefile.in (OBJS): Add it.
6382         (ifcvt.o): New target.
6383         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
6384         and conditional arithmetic.
6385         (find_insert_position): Remove.
6386         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
6387         * toplev.c (DFI_ce, DFI_ce2): New.
6388         (dump_file): Add ce and ce2 dumps.
6389         (rest_of_compilation): Run if_convert a couple o times.  Set
6390         cse_not_expected after cse2.  Don't set no_new_pseudos until
6391         after sched1 or recompute_reg_usage.
6392
6393 2000-04-30  Richard Henderson  <rth@cygnus.com>
6394
6395         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
6396         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
6397
6398 2000-04-30  Richard Henderson  <rth@cygnus.com>
6399
6400         * flow.c (struct reg_cond_life_info): New.
6401         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
6402         (init_propagate_block_info): Initialize them.
6403         (free_propagate_block_info): Destruct them.
6404         (mark_set_1): Consider conditional life before killing a register.
6405         (mark_regno_cond_dead): New.
6406         (free_reg_cond_life_info): New.
6407         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
6408         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
6409         (mark_used_reg): Record conditional life.
6410
6411         * haifa-sched.c (schedule_insns): Disable death counting
6412         sanity check for HAVE_conditional_execution.
6413
6414 2000-04-30  Richard Henderson  <rth@cygnus.com>
6415
6416         * Makefile.in (TIMEVAR_H): New.
6417         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
6418         (timevar.h): Remove rule.
6419
6420 2000-04-29  Richard Henderson  <rth@cygnus.com>
6421
6422         * config/alpha/crtend.asm: Use C comments instead of #.
6423         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
6424
6425         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
6426
6427 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
6428
6429         * cpphash.h (enum node_type: Take out T_MCONST.
6430         (union hashval): Move into struct hashnode.
6431         (struct hashnode): Pack tighter.  Remove file, line, col
6432         members.
6433         * cpphash.c: Constify most of the macro-definition structures.
6434         (struct definition): Replace by struct object_defn
6435         and struct funct_defn.  Put file, line, column information
6436         here.  All users updated to match.
6437         (_cpp_create_definition, _cpp_macroexpand): Remove special
6438         case for #define WORD OTHERWORD.
6439         * cpplib.c (do_undef): Remove T_MCONST case.
6440
6441         * cpphash.h: Move struct reflist, struct definition, and the
6442         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
6443         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
6444         * cpphash.c (_cpp_free_definition): Free data pointed to by
6445         MCONST, XCONST, MACRO, and FMACRO nodes properly.
6446         (_cpp_create_definition, del_HASHNODE): Just call
6447         _cpp_free_definition to clear out a hashnode.
6448         * cpplib.c (do_pragma_poison): Likewise.
6449
6450 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
6451
6452         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
6453         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
6454         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
6455         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
6456         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
6457         REGNO_AM33_P): Redefine in terms of the new macros.
6458         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
6459         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
6460         STRUCT_VALUE): Likewise.
6461         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
6462         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
6463
6464 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6465
6466         * regmove.c (struct record_stack_memrefs_data): New.
6467         (record_stack_memrefs): New function.
6468         (combine_stack_adjustments_for_block): Use it.
6469
6470 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6471
6472         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
6473         use special_function_p to detect alloca.
6474
6475 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
6476
6477         * gcc.texi: Fixes for makeinfo 4.0 --html.
6478
6479 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
6480
6481         * pcp.h: Delete file.
6482
6483 2000-04-28  Kazu Hirata  <kazu@hxi.com>
6484
6485         * h8300.c (function_epilogue): Clean up flags when the last insn
6486         in a function is a barrier.
6487
6488 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
6489
6490         * configure.in (sparc-hal-solaris2*): protect [] glob from
6491         my expansion.
6492         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
6493         rather than hard-coded constants in target_cpu_default2.
6494         * configure: Regenerate.
6495
6496 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
6497
6498         * tree.c (get_callee_fndecl): Extract the initial value from
6499         a readonly decl.
6500
6501 2000-04-28  Richard Henderson  <rth@cygnus.com>
6502
6503         * varasm.c (record_constant_1): Record the CODE_LABEL when
6504         taking the address of a LABEL_REF.
6505
6506 2000-04-28  Richard Henderson  <rth@cygnus.com>
6507             Jan Hubicka  <jh@suse.cz>
6508
6509         * calls.c (combine_pending_stack_adjustment_and_call): Return the
6510         adjustment; don't do the stack adjust.
6511         (expand_call): Call compute_argument_block_size right before
6512         allocating the block; update comment; don't do alignment sanity
6513         checking for sibling call; use args_size instead of
6514         unadjusted_args_size before args_size is adjusted.  Use
6515         combine_pending_stack_adjustment_and_call to compute stack adjust
6516         for must_preallocate case.
6517
6518         * expr.c (push_block): Remove shadow `temp' in inner scope.
6519
6520 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
6521
6522         * toplev.c (rest_of_compilation): Call
6523         note_deferral_of_defined_inline_function even if the function
6524         can't be inlined.
6525
6526 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
6527
6528         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
6529
6530 2000-04-28  Richard Henderson  <rth@cygnus.com>
6531
6532         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
6533
6534 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6535
6536         * timevar.c (init_timevar): DeANSIfy function definition.
6537
6538 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
6539
6540         * Makefile.in (timevar.o): Depend on flags.h.
6541         * timevar.c (unused_stack_instances): New variable.
6542         (timevar_push): Take a timevar_stack_def from
6543         unused_stack_instances if available.
6544         (timevar_pop): Push the popped timevar_stack_def onto
6545         unused_stack_instances.
6546         (TIMEVAR_ENABLE): New macro.
6547         (timevar_def): Make standalone a 1-bit field.  Add field used.
6548         (get_time): Rename parameter to now.  Return after clearing it if
6549         not TIMEVAR_ENABLE.
6550         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
6551         (timevar_pop): Likewise.
6552         (timevar_stop): Likewise.
6553         (timevar_push): Likewise.  Mark the timing variable as used.
6554         (timevar_start): Likewise.
6555         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
6556         timevars that were never used.
6557
6558 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
6559
6560         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
6561         always TREE_READONLY.
6562
6563 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
6564
6565         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
6566         for call instruction with mode QImode.
6567
6568 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
6569
6570         * Makefile.in (OBJS): Add timevar.o.
6571         (toplev.o): Depend on timevar.h.
6572         (ggc-simple.o): Likewise.
6573         (ggc-page.o): Likewise.
6574         (timevar.o): New rule.
6575         (timevar.h): New rule.
6576
6577         * timevar.h: New file.
6578         * timevar.c: Likewise.
6579         * timevar.def: Likewise.
6580
6581         * toplev.h (gc_time, parse_time, varconst_time): Remove.
6582         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
6583         throughout.
6584         (TIMEVAR): Remove macro.
6585         (gc_time, parse_time, varconst_time, integration_time, jump_time,
6586         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
6587         flow_time, combine_time, regmove_time, sched_time,
6588         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
6589         sched2_time, dbr_sched_time, reorder_blocks_time,
6590         rename_registers_time, shorten_branch_time, stack_reg_time,
6591         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
6592         all_time): Remove.
6593         (compile_file): Don't initialize time variables.  Call
6594         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
6595         of many calls to print_time.
6596         (rest_of_compilation): Add timing for reload_cse_regs.
6597         (get_run_time): Removed to timevar.c.
6598         (print_time): Likewise.
6599         (get_run_time): Implement using TV_TOTAL time variable.
6600         (print_time): Get total run time from get_run_time.
6601         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
6602         computing elapsed time explicitly.
6603         * ggc-simple.c (ggc_collect): Likewise.
6604         (gc_time): Remove declaration.
6605
6606 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
6607
6608         * calls.c (combine_pending_stack_adjustment_and_call): New function.
6609         (expand_call): Use it.
6610
6611 2000-04-27  Jan Hubicka  <jh@suse.cz>
6612
6613         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
6614         fields.
6615
6616 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
6617
6618         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
6619         registers.
6620
6621 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6622
6623         * function.c (epilogue_done): Pass whole insn to record_insns.
6624
6625 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6626
6627         * cse.c (CSE_ADDRESS_COST): Remove.
6628         (find_best_addr): Add new parameter "MODE", use address_cost instead
6629         of CSE_ADDRESS_COST
6630         (address_cost): New.
6631         (fold_rtx): Update call of find_best_addr.
6632         * rtl.h (address_cost): Declare.
6633         * loop.c (general_induction_var): Add new parameter "MODE", use
6634         address_cost instead of ADDRESS_COST
6635         (init_loop): Use address_cost instead of ADDRESS_COST.
6636         (check_insn_for_givs): Update call of general_induction_var.
6637         (find_mem_givs): Likewise.
6638         (consec_sets_giv): Likewise.
6639         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
6640         * i386.c (ix86_address_cost): New.
6641         * i386-protos.h (ix86_address_cost): Declare.
6642
6643 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
6644
6645         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
6646         registers.
6647
6648 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6649
6650         * expr.c (store_expr): Use clear_storage instead of direct memset
6651         libcall.
6652
6653 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
6654
6655         * config/mn10300/mn10300.c (mn10300_address_cost): Test
6656         ASHIFT, AND and LABEL_REF.
6657
6658 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6659
6660         * invoke.texi (-foptimize-sibling-calls): Fix.
6661
6662 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6663
6664         * loop.c (load_mems)  Don't use hard registers for the hoisting.
6665
6666         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
6667         calculation; rename const_equiv array in the preconditioning code
6668         from loop_unroll to loop_unroll_precondition
6669
6670 2000-04-27  Richard Henderson  <rth@cygnus.com>
6671
6672         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
6673         add new_set.
6674         (propagate_one_insn): Clear it.  Don't update reg_live here.
6675         (init_propagate_block_info): Update for pbi member changes.
6676         (free_propagate_block_info): Likewise.
6677         (mark_set_1): Know that zero_extract, sign_extract, and
6678         strict_low_part don't kill their argument.  Alter hard subregs.
6679         Update new_set for non-CLOBBER sets.  Update reg_live.
6680         (find_auto_inc): Update reg_live, not new_dead.
6681         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
6682         to determine if the reg in question was set this insn.  Only update
6683         reg info with PROP_REG_INFO.
6684
6685 2000-04-26  Richard Henderson  <rth@cygnus.com>
6686
6687         * flow.c (allocate_reg_life_data): Set max_regno here ...
6688         (life_analysis): ... not here.
6689
6690         * flow.c (calculate_global_regs_live): Force stack pointer
6691         live at end.
6692
6693 2000-04-26  Richard Henderson  <rth@cygnus.com>
6694
6695         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
6696         commit change group changes.
6697         (invert_exp_1): Similarly.
6698         (redirect_exp, invert_exp): Use them.
6699         (redirect_jump_1): New.
6700         (invert_jump_1): New.
6701         (jump_optimize_1): Remove code subsumed by condexec.c.
6702         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
6703
6704 2000-04-26  Richard Henderson  <rth@cygnus.com>
6705
6706         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
6707
6708         * genconfig.c (main): Set all HAVE_foo to 1.
6709
6710         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
6711
6712 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
6713
6714         * invoke.texi: Document -fssa flag.
6715
6716 2000-04-26  Richard Henderson  <rth@cygnus.com>
6717
6718         * flow.c (count_reg_sets_1): Remove.
6719         (count_reg_sets, count_reg_references): Remove.
6720         (recompute_reg_usage): Implement with update_life_info.
6721         Reallocate life data.
6722
6723 2000-04-26  Richard Henderson  <rth@cygnus.com>
6724
6725         * flow.c (update_life_info): Consider blocks null to mean the
6726         universal set.
6727         (calculate_global_regs_live): Likewise.
6728         (life_analysis): Do that instead of collecting all_blocks.
6729
6730 2000-04-26  Richard Henderson  <rth@cygnus.com>
6731
6732         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
6733         a still-valid conditional jump.
6734
6735 2000-04-26  Richard Henderson  <rth@cygnus.com>
6736
6737         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
6738
6739         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
6740         * flow.c (calculate_loop_depth): Remove.
6741         * output.h (calculate_loop_depth): Don't declare.
6742         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
6743         inline; run estimate_probability at the same time.
6744
6745 2000-04-26  Neil Booth  <NeilB@earthling.net>
6746
6747         * cpplib.h: "~=" is not a single pp-token.
6748         * cpplex.c: Correct commentary.
6749
6750 2000-04-26  Richard Henderson  <rth@cygnus.com>
6751
6752         * flow.c (mark_set_1): New arguments code and flags; update all
6753         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
6754         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
6755         loop_depth when optimizing for size.  Do new_dead update after
6756         emitting REG_UNUSED notes.  Merge mark_set_reg code.
6757         (mark_set_reg): Remove.
6758         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
6759         arrange to not emit REG_UNUSED notes.
6760
6761 2000-04-26  Richard Henderson  <rth@cygnus.com>
6762
6763         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
6764         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
6765
6766 2000-04-26  Richard Henderson  <rth@cygnus.com>
6767
6768         * flow.c (propagate_one_insn): Break out from propagate_block.
6769         (init_propagate_block_info): Likewise.
6770         (free_propagate_block_info): Likewise.
6771         (propagate_block): Use them.  Export.
6772         * basic-block.h: Declare them all.
6773
6774 2000-04-26  Richard Henderson  <rth@cygnus.com>
6775
6776         * basic-block.h (life_analysis): Declare here ...
6777         * output.h: ... not here.
6778         * flow.c (life_analysis): Remove nregs parameter; replace
6779         remove_dead_code with flags.  Remove ssa dead code check.
6780         Only init alias analysis if we'll use it.
6781         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
6782         * ssa.c (convert_to_ssa): Likewise.
6783         (convert_from_ssa): Likewise.
6784         * toplev.c (rest_of_compilation): Likewise.
6785
6786 2000-04-26  Richard Henderson  <rth@cygnus.com>
6787
6788         * flow.c (flow_delete_block): Rename from delete_block.  Export.
6789         * basic-block.h (flow_delete_block): Declare.
6790
6791 2000-04-26  David S. Miller  <davem@redhat.com>
6792
6793         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
6794         taking a PATTERN of it.
6795
6796 2000-04-26  <NeilB@earthling.net>
6797
6798         * cpplex.c (spell_other, spell_char): Remove.
6799         (SPELL_CHAR): New.
6800         (token_spelling, trigraph_map): Use unsigned chars.
6801         (_cpp_lex_line): Tidy up the switch statement.
6802         * cpplib.h: Implement spell_char with spell_string.
6803         (C): New.
6804
6805 2000-04-26  <RodneyBrown@pmsc.com>
6806
6807         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
6808         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
6809
6810 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6811
6812         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
6813         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
6814         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
6815         dwarf2out_return_save, dwarf2out_return_reg,
6816         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
6817         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
6818         gen_compile_unit_die, dwarf2out_init): Constify a char*.
6819
6820         * dwarf2out.h (dwarf2out_init): Likewise.
6821
6822         * dwarfout.c (filename_entry, primary_filename, last_filename,
6823         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
6824
6825         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
6826         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
6827         dwarf2out_return_reg): Likewise.
6828
6829 2000-04-26  Andreas Jaeger  <aj@suse.de>
6830
6831         * extend.texi (Function Attributes): Fix description of pure
6832         attribute.
6833
6834 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
6835
6836         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
6837         before calling rest_of_compilation.
6838
6839 2000-04-26  Andreas Jaeger  <aj@suse.de>
6840
6841         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
6842         last patch.
6843
6844 2000-04-25  Richard Henderson  <rth@cygnus.com>
6845
6846         * cse.c (cse_insn): Emit barrier after unconditional jump.
6847
6848         * calls.c (expand_call): Disable tail call generation once
6849         rtx_equal_function_value_matters is false.
6850
6851         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
6852         like EDGE_EH edges.
6853
6854 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
6855
6856         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
6857
6858         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
6859
6860         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
6861         is the primary DIE for a member function.
6862         (gen_decl_die): Call set_decl_origin_self here.
6863         * dwarfout.c (output_decl): And here.
6864         * integrate.c (output_inline_function): Not here.
6865         Don't clear DECL_INLINE until after calling rest_of_compilation.
6866         (set_decl_origin_self): No longer static.
6867         * tree.h: Add prototype.
6868         * toplev.c (note_deferral_of_defined_inline_function): Only write
6869         out abstract instance for actual inlines.
6870
6871 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
6872
6873         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
6874         EXTENDED_REGS only if TARGET_AM33.
6875         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
6876         SP_REGS to register allocation and reloading unless absolutely
6877         necessary.
6878         (movsi3): Remove special-case of adding non-constants to SP.
6879
6880 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6881
6882         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
6883         INCLUDES to search and does not provide any of its own.  Also it
6884         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
6885         parameters.  Also it does not call AC_DEFINE.
6886         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
6887         AC_DEFINE and provides for automatic entries for autoheader.
6888         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
6889
6890         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
6891         so we can pass -I flags and include gansidecl.h/system.h in this
6892         test.
6893
6894         * acconfig.h: Delete all NEED_DECLARATION_* entries.
6895
6896 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6897
6898         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
6899         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
6900         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
6901
6902         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
6903         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
6904         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
6905         for these macros.  Clean up spacing and linewraps.
6906
6907 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
6908
6909         * calls.c (expand_call): Use get_callee_fndecl.
6910
6911         * print-tree.c (print_node): Print the chain of an _EXPR.
6912
6913 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
6914                           Jim Wilson  <wilson@cygnus.com>
6915                           Andrew Haley  <aph@cygnus.com>
6916
6917         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
6918         and gp save/restore problems.
6919         * config/ia64/crtend.asm: Add IA-64 unwind support.
6920         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
6921         in fr_pad_size calculation.
6922         (save_restore_insns): Move PR save area.  Correct uses of
6923         RTX_FRAME_RELATED_P.
6924         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
6925         (ia64_expand_epilogue): Add eh_epilogue support.
6926         (ia64_function_prologue): Emit .prologue directive.
6927         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
6928         (ia64_override_options): Set init_machine_status and
6929         mark_machine_status.
6930         (rtx_needs_barrier): Handle bsp reads and writes.
6931         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
6932         New static variables.
6933         (process_set, process_for_unwind_directive): New functions.
6934         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
6935         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
6936         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
6937         macros.
6938         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
6939         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
6940         (struct machine_function): Define.
6941         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
6942
6943 2000-04-25  Bruce Korb  <bkorb@gnu.org>
6944
6945         * fixinc/Makefile.in: make the removal of old programs more
6946         robust
6947         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
6948         install-bin and install-sh
6949
6950 2000-04-25  Nick Clifton  <nickc@cygnus.com>
6951
6952         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
6953         defined, define to return zero.
6954         (function_cannot_inline_p): If a function has any target
6955         specific attributes, then use the macro
6956         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
6957         whether it can be inlined.  If it cannot, issue a suitable
6958         explanation.
6959
6960         * tm.texi: Add a new node 'Inlining' to document the new macro
6961         FUNCTION_ATTRIBUTE_INLINABLE_P.
6962
6963 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
6964
6965         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
6966         commentary.
6967
6968 2000-04-25  Neil Booth  <NeilB@earthling.net>
6969
6970         Restore previous patch, plus the following fixes:
6971
6972         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
6973         flags, not CPP_OPEN_PAREN.
6974         * cpplex.c (expand_token_space, init_token_list,
6975         cpp_free_token_list): Put the dummy token at list->tokens[-1].
6976         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
6977
6978 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6979
6980         * config/i386/freebsd.h (INT_ASM_OP): Define.
6981
6982 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6983
6984         * loop.c (strength_reduce): Fix typo in the last checkin.
6985
6986 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6987
6988         * stor-layout.c (finalize_record_size): Simplify to use existing
6989         functions.
6990         (compute_record_mode): No longer static.
6991         * tree.h (compute_record_mode): New declaration.
6992
6993 2000-04-25  Neil Booth  <NeilB@earthling.net>
6994
6995         * Revert my patch below until cause of build failures
6996         determined.
6997
6998 2000-04-25  Richard Henderson  <rth@cygnus.com>
6999
7000         * combine.c (combine_instructions): Add missing argument
7001         to try_combine.
7002
7003         * toplev.c (rest_of_compilation): Delay sibcall optimization
7004         until after emit_eh_context.
7005
7006 2000-04-24  Nick Clifton  <nickc@redhat.com>
7007
7008         * combine.c (combine_instructions): Do not try to combine a
7009         sequence of insns when the second insn has been replaced by a
7010         note.
7011
7012 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
7013
7014         * gcc.c (load_specs): New static function.
7015         (read_specs): Use it.
7016
7017         * gcc.c (lookup_compiler): Make multiple passes for case
7018         insensitive filesystems.
7019
7020 2000-04-24  Neil Booth  <NeilB@earthling.net>
7021
7022         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
7023         * cpphash.h (_cpp_check_directive): new.
7024         * cpplex.c (handle_newline, cpp_free_token_list,
7025         init_trigraph_map, trigraph_ok, trigraph_replace,
7026         backslash_start, skip_block_comment, skip_line_comment,
7027         skip_whitespace, parse_name, parse_number, parse_string,
7028         copy_comment, _cpp_lex_line, spell_char, spell_string,
7029         spell_comment, spell_name, spell_other, _cpp_lex_file,
7030         _cpp_output_list): new.
7031         (expand_name_space): take length argument.
7032         (init_token_list): add comment list initialisation.
7033         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
7034         instead of HSPACE_BEFORE.
7035
7036         * cpplib.c (_cpp_check_directive): new
7037         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
7038         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
7039         (HSPACE_BEFORE): delete.
7040         (TTYPE_TABLE): rearrange.
7041         (struct cpp_toklist): update.
7042
7043 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7044
7045         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
7046         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
7047         argument form of AC_DEFINE.
7048
7049         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
7050         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
7051         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
7052         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
7053         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
7054
7055         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
7056
7057 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7058
7059         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
7060         deduced.h): Use -isystem, not -I, for including system headers.
7061
7062 2000-04-24  Nick Clifton  <nickc@cygnus.com>
7063
7064         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
7065         the source register is the frame pointer or arg pointer.
7066         (addsi3_small_int): Disallow if source register is the frame
7067         pointer or arg pointer.
7068
7069 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7070
7071         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
7072         call to AC_MSG_RESULT.
7073
7074 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7075
7076         * invoke.texi: Correct grammatical errors, document
7077         -fno-gnu-keywords as identical to -fno-asm for C++.
7078
7079 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7080
7081         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
7082         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
7083         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
7084         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
7085         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
7086
7087         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
7088         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
7089         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
7090         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
7091         new macros names.
7092
7093 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
7094
7095         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
7096         (pop_alignment): Likewise.
7097         (handle_pragma_token): Likewise.
7098
7099 2000-04-24  Robert Lipe <robertlipe@usa.net>
7100
7101         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
7102
7103 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
7104
7105         * combine.c (try_combine): Update reg_nonzero_bits of
7106         newi2pat before newpat.
7107
7108 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7109
7110         * loop.c (strength_reduce): Simplify test to INSN_P.
7111         (record_giv): Attempt to simplify the add value, use CONSTANT_P
7112         expressions instead of CONST_INT.
7113         (express_from_1): Likewise.
7114
7115 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
7116
7117         * regs.h (reg_n_max): Don't declare.
7118         * flow.c (reg_n_max): Don't define.
7119         * regclass.c (renumber): Don't initialize to zero.
7120         (regno_allocated): Likewise.
7121         (reg_n_max): Define.
7122         (allocate_reg_info): Don't initialize unnecessarily.
7123
7124 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
7125
7126         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
7127         and blockage_p in the newly allocated attribute.
7128
7129 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
7130
7131         * config/mn10300/mn10300.md (addsi): `inc4' on address
7132         registers does not modify cc, but `inc' on an extended
7133         register does.
7134
7135 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
7136
7137         * reload.c (find_equiv_reg): Checks all valueno regs
7138         as a reload_reg_p regs.
7139
7140 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
7141
7142         * cpphash.c (collect_objlike_expansion): Add sanity check.
7143         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
7144         the buffer is the empty string, return.  Mark __DATE__ and
7145         __TIME__ as XCONST nodes, not MCONST.
7146         (_cpp_macroexpand): Avoid pushing an empty buffer.
7147         (funlike_macroexpand): Don't pop token_buffer here.
7148
7149 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
7150
7151         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
7152         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
7153         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
7154         (REGNO_OK_FOR_BASE_P): Define in terms of them.
7155         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
7156         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
7157         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
7158
7159 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7160
7161         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
7162         constant MULT givs.
7163
7164 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
7165
7166         * cpphash.h (struct definition): Move file, line, col members...
7167         (struct hashnode): ... here.  Also add 'disabled' flag.
7168         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
7169         T_IDENTITY.  Remove T_DISABLED.
7170         Update prototypes.
7171
7172         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
7173         (collect_expansion): Split into collect_objlike_expansion and
7174         collect_funlike_expansion.
7175         (_cpp_macroexpand): Split out scan_arguments, stringify, and
7176         funlike_macroexpand.
7177         (_cpp_compare_defs): Rename compare_defs, make static.
7178         (_cpp_make_hashnode): Initialize hp->disabled.
7179         (macro_cleanup): Adjust for new token types.  Clear
7180         m->disabled.
7181         (_cpp_create_definition): Move code here to determine what
7182         sort of macro it is, and code to check for redefinitions, from
7183         do_define.  Implement a few simple cases without creating a
7184         full DEFINITION.
7185         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
7186         Handle the simple cases.
7187         (push_macro_expansion): Set buf->has_escapes and hp->disabled
7188         here.
7189
7190         * cppinit.c (builtin_array): Change MCONST to XCONST
7191         everywhere.
7192         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
7193         fix check for disabled and function-like macros.
7194         * cpplib.c (do_define): Move most logic to
7195         _cpp_create_definition.
7196         (do_undef): Handle new special token types.
7197
7198 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7199
7200         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
7201         of CONSTANT_P for mult_val; always use validate_change to update insn.
7202
7203 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
7204
7205         * cpphash.c (trad_stringify, add_pat): New functions.
7206         (collect_expansion): Restore support for -traditional syntax.
7207         Use trad_stringify and add_pat.
7208         (_cpp_macroexpand): Restore support for -traditional semantics.
7209         * cpplex.c (_cpp_scan_line): Don't change space_before if we
7210         get a COMMENT token.
7211         (_cpp_lex_token): Provide COMMENT tokens to caller if
7212         traditional and parsing_define_directive.
7213         (skip_comment): Warn about // comments if -Wtraditional.
7214         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
7215         proper node type.
7216         (do_undef): Don't warn about undefining EMPTY nodes.
7217
7218 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7219
7220         * loop.c (strength_reduce): Fix biv removal code.
7221
7222 2000-04-22  Richard Henderson  <rth@cygnus.com>
7223
7224         * predict.c (estimate_probability): Examine both sides of
7225         a branch for no exits.  Use 90% not 50% for predict taken.
7226         Reorg for one copy of note generation code.
7227
7228 2000-04-22  Richard Henderson  <rth@cygnus.com>
7229
7230         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
7231
7232 2000-04-22  Richard Henderson  <rth@cygnus.com>
7233
7234         * diagnostic.c (init_output_buffer): Don't initialize format_args.
7235         (output_clear): Likewise.
7236         (output_printf): Use va_copy.
7237         (vline_wrapper_message_with_location): Likewise.
7238         (v_message_with_decl): Likewise.
7239         (line_wrapper_printf): VA_START infor buffer.format_args directly.
7240         * system.h (va_copy): Provide default implementation.
7241
7242 2000-04-22  Richard Henderson  <rth@cygnus.com>
7243
7244         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
7245         the collected condition is not a constant.
7246
7247 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
7248
7249         * diagnostic.h: New file.
7250
7251         * Makefile.in (diagnostic.o): Depends on diagnostic.h
7252
7253         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
7254         various function prototypes.
7255         (diagnostic.h): #include.
7256         (struct output_buffer): Move into diagnostic.h.
7257         (get_output_prefix): Rename to output_get_prefix.  Export.
7258         (init_output_buffer): Export. Break out.  Ajust intialization.
7259         (output_space_left, output_append): Export.
7260         (output_newline): Rename to output_add_newline.  Export.
7261         (output_clear): Nullify additional output_buffer fields.
7262         (output_puts): Rename to output_add_string.  Export.
7263         (dump_output): Rename to output_flush_on.  Export.
7264         (build_location_prefix): Constify return-type.
7265         (emit_output_prefix): Rename to output_emit_prefix. Export.
7266         (set_real_maximum_length): New function.
7267         (output_set_maximum_length): Ditto
7268         (output_clear): Ditto.
7269         (output_add_character): Ditto.
7270         (output_add_integer): Ditto.
7271         (output_add_space): Ditto.
7272         (output_format): Ditto.
7273         (output_printf): Adjust buffer initialization.
7274         (vline_wrapper_message_with_location): Ditto.
7275         (v_message_with_decl): Ditto.  Adjust call to output_puts
7276         and get_output_prefix.
7277         (default_print_error_function): Adjust buffer intialization.
7278
7279 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7280
7281         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
7282         of VOID_TYPE.
7283
7284 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
7285
7286         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
7287         of explicit 0.
7288
7289 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
7290
7291         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
7292         accurate data about SP moves.
7293
7294 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
7295
7296         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
7297         aliases to AM33 registers.
7298
7299 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
7300
7301         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
7302         to all EXTENDED bitmaps.
7303
7304 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
7305
7306         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
7307         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
7308         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
7309
7310 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
7311
7312         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
7313         the operand is not constant.
7314
7315 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
7316
7317         * reload.c (find_equiv_reg): Checks all valueno and regno regs
7318         as a call-clobbered regs.
7319
7320 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7321
7322         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
7323         * rtl.h: Likewise.
7324         * rtl.def: Update comment.
7325         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
7326         * integrate.c (expand_inline_function): Likewise.
7327         * profile.c (branch_prob): Likewise.
7328         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
7329         * print-rtl.c (print_rtx): Likewise.
7330         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
7331         (reemit_notes): Likewise; also use enum insn_note.
7332
7333         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
7334         (place_field): Properly compute know and actual alignment.
7335
7336         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
7337         in proper format.
7338
7339         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
7340         note for REG1.
7341
7342 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
7343
7344         * cpphash.c (struct arg, struct arglist): Const-ify strings.
7345         (warn_trad_stringify, duplicate_arg_p): New helper functions.
7346         (collect_expansion): Rewrite to scan over a token list.
7347         Remove -traditional support.
7348         (collect_formal_parameters): Rename to collect_params; rewrite
7349         to scan over a token list.
7350         (_cpp_create_definition): Adjust to scan a token list.
7351         (_cpp_macroexpand): Remove -traditional support.
7352         (_cpp_compare_defs): Whitespace is now canonicalized.
7353         (comp_def_part): Delete function.
7354
7355         * cpphash.h: Update prototypes.
7356         * cpplex.c (init_token_list): Don't set lineno if there is no
7357         buffer.
7358         (pedantic_whitespace): New function.
7359         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
7360         consume a newline.  Use pedantic_whitespace.
7361         (_cpp_lex_token): Remove support for -traditional macros.
7362         (_cpp_get_define_token): Delete.
7363         (_cpp_get_directive_token): Do the real work here.  Use
7364         pedantic_whitespace.
7365         (_cpp_init_input_buffer): Initialize pfile->directbuf.
7366
7367         * cpplib.c (get_macro_name): Delete.
7368         (do_define): Read the entire line into pfile->directbuf, then
7369         feed the token list to _cpp_create_definition.
7370         * cpplib.h (HSPACE_BEFORE): new define.
7371         (struct cpp_reader): Add a toklist member, "directbuf".
7372
7373         * predict.c (estimate_probability): New heuristic: if a jump
7374         branches around a block with no successors, predict it taken.
7375         Disentangle control flow.
7376
7377 2000-04-20  Richard Henderson  <rth@cygnus.com>
7378
7379         * loop.c (emit_iv_add_mult): Revert last change.
7380
7381 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
7382
7383         * cpplib.h (enum cpp_ttype): Add token types for all
7384         punctuators.  Distinguish pp-numbers from valid C numbers.
7385         Give some tokens better names.  Initialize from macro.
7386         (struct cpp_name, cpp_token, cpp_toklist): New data
7387         structures.
7388         Update prototypes.
7389         * cpplex.c (bump_column, expand_name_space,
7390         expand_token_space, init_token_list, cpp_output_list,
7391         _cpp_scan_line):  New functions.
7392         (output_line_command): Add third argument, new line number.
7393         * cpphash.h: Update prototypes.
7394         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
7395         token names.
7396
7397 2000-04-20  Richard Henderson  <rth@cygnus.com>
7398
7399         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
7400
7401 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
7402
7403         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
7404         object pointed to.
7405
7406 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7407
7408         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
7409         REG_EQUAL note explaining the calculated value.
7410
7411         * calls.c (expand_call): Avoid unnecesary precalculation
7412         and outgoing parameters space guarding for sibling calls.
7413         (store_one_arg): Likewise.
7414
7415 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7416
7417         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
7418         (rest_of_compilation): Write sibling dump file and account
7419         for time as jump time.
7420         * invoke.texi: Update documentation on dump flags.
7421
7422 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
7423
7424         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
7425
7426 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
7427
7428         * cpphash.c (special_symbol): Represent an empty macro with
7429         "\r \r " not just "\r ".
7430         (_cpp_macroexpand): Correct condition for the foo ( ) special
7431         case.
7432         (unsafe_chars): Handle EOF as second argument.
7433         (push_macro_expansion): Simplify test for removing escape at
7434         end.  Do not trim both escapes if there is no text in between.
7435
7436 2000-04-19  Jim Blandy  <jimb@redhat.com>
7437
7438         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
7439         of PTR_SIZE, when appropriate.
7440
7441 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
7442
7443         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
7444         (USE_ENUM_BITFIELDS): Fix typo.
7445
7446 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7447
7448         * stor-layout.c (place_field): Set rli->offset_align properly.
7449
7450 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7451
7452         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
7453         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
7454         PARM_BOUNDARY): Remove unnecessary casts.
7455
7456 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7457
7458         * calls.c (precompute_arguments): Remove must_preallocate and
7459         args_size calls.
7460         (expand_call): Update call of precompute_arguments.
7461
7462         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
7463         check_insn_for_givs): Break out from ...
7464         (strength_reduce) ... here; use for_every_insn_in_loop to call
7465         check_insn_for_givs.
7466         * loop.h (for_every_insn_in_loop): Declare.
7467         (loop_insn_callback): New type.
7468
7469 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
7470
7471         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
7472         not nul-terminated.
7473
7474 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
7475
7476         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
7477         flag_pic and RELOC.
7478
7479 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
7480
7481         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
7482
7483         * configure.in: Delete --disable-cpplib option and all
7484         references to cpp_main.
7485         * configure: Regenerate.
7486         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
7487         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
7488         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
7489         cpp$(exeext).  Add --no-headers to makeinfo command line when
7490         generating INSTALL.  Install and uninstall cpp.1 manpage, not
7491         cccp.1.
7492         * install.texi: Delete all references to cexp.y/cexp.c.
7493         Delete ancient instructions for compiling GCC on 3b1.
7494         * INSTALL: Regenerate.
7495
7496         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
7497         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
7498         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
7499         cexp.c/cexp.y.
7500         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
7501         which is no longer tested anywhere.
7502
7503         * cppinit.c (handle_option): Don't run error message through
7504         gettext twice.
7505
7506 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7507
7508         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
7509         * cpperror.c (hashtab.h): Now include.
7510         * cppexp.c (hashtab.h): Likewise.
7511         * cpplex.c (hashtab.h): Likewise.
7512         * cppfiles.c (hashtab.h): Likewise.
7513         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
7514         to htab_find_slot_with_hash.
7515         * cpphash.c (hashtab.h): Now include.
7516         (_cpp_lookup_slot): INSERT is now enum insert_option.
7517         * cpphash.h (_cpp_lookup_slot): Likewise.
7518         * cppinit.c (hashtab.h): Include earlier.
7519         (initialize_builtins): Pass enum to htab_find_slot.
7520         * cpplib.c (hashtab.h): Now include.
7521         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
7522         (do_pragma_poison, do_assert): Likewise.
7523         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
7524         htab_find_slot_with_hash.
7525         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
7526         * tree.c (type_hash_add): Likewise.
7527         (build1): Minor cleanup.
7528
7529         * ggc-common.c: Add missing blanks.
7530         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
7531         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
7532
7533         * stmt.c (mark_case_node): New function.
7534         (mark_case_nesting): Call it.
7535
7536         * expmed.c (emit_store_flag): If comparing two-word integer
7537         with zero, can optimize NE, EQ, GE, and LT.
7538
7539         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
7540         * conflict.c: Minor cleanups.
7541         * optabs.c: Add blank line
7542         * simplify-rtx.c: Minor cleanups.
7543
7544 2000-04-18  Stan Cox  <scox@cygnus.com>
7545
7546         * gengenrtl.c (genlegend): Fix misspelling.
7547
7548 2000-04-18  Robert Lipe  <robertlipe@usa.net>
7549
7550         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
7551         bitfields of the host compiler are not signed quantities.
7552         * config.in: Regenerate.
7553         * configure: Regenerate.
7554         * system.h (USE_ENUM_BITFIELDS): Added.
7555         (ENUM_BITFIELDS): Added.
7556         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
7557         (SHORT_ENUM_BUG): Deleted.
7558         * tree.h (tree_common): Members `code', `mode', `built_in_class',
7559         now ENUM_BITFIELD.
7560         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
7561         (CODE_FIELD_BUG): Likewise.
7562         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
7563         (OLD_CC): Likewise.
7564         * config/m68k/x-ccur (X_CFLAGS): Likewise.
7565
7566 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
7567
7568         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
7569         mark is active.
7570
7571 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
7572
7573         * cppexp.c (lex): Don't assume tokens are NUL terminated.
7574         * cpplib.c (do_include, do_import, do_include_next,
7575         read_line_number, detect_if_not_defined): Likewise.
7576         * cpphash.c (collect_expansion): Likewise.
7577         (special_symbol, _cpp_macroexpand): Check return from
7578         cpp_file_buffer.
7579         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
7580         macros.  Delete all uses.
7581
7582         * gcc.dg/cpp-mi.c: Add two more test cases.
7583         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
7584
7585 2000-04-17  Richard Henderson  <rth@cygnus.com>
7586
7587         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
7588         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
7589
7590 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
7591
7592         * function.c (expand_function_start): Use hard_function_value to
7593         compute the RTL to use for DECL_RESULT.
7594
7595 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7596
7597         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
7598         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
7599          x86_memory_mismatch_stall): New global variables.
7600         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
7601         alloved; fix load penalties for Athlon.
7602         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
7603         x86_memory_mismatch_stall): Declare.
7604         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
7605          TARGET_MEMORY_MISMATCH_STALL): New.
7606         * i386.md (athlon scheduling parameters): Fix latencies according to
7607         Athlon Optimization Manual.
7608         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
7609         vector.
7610         (fsqrt instruction patterns): Set athlon_decode to direct.
7611         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
7612         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
7613         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
7614         and TARGET_PARTIAL_REGISTER_STALL machines.
7615         (pushdf_nointeger): New pattern.
7616         (pushdf_integer): Rename from pushdf.
7617         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
7618         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
7619
7620 2000-04-17  Richard Henderson  <rth@cygnus.com>
7621
7622         * loop.c (canonicalize_condition): Add WANT_REG argument.
7623         Stop the search if we match it.
7624         * expr.h (canonicalize_condition): Update decl.
7625         * predict.c (expected_value_to_br_prob): Use it.  Track last
7626         expected value note.
7627         (find_expected_value): Remove.
7628
7629         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
7630
7631 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
7632
7633         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
7634         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
7635         a plain file.
7636         * configure.in: Call AC_FUNC_MMAP_FILE.
7637         * configure: Regenerate.
7638         * config.in: Regenerate.
7639
7640         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
7641         * fixinc/fixincl.c: Likewise.
7642
7643 2000-04-17  Richard Henderson  <rth@cygnus.com>
7644
7645         * builtins.c (expand_builtin_expect): New.
7646         (expand_builtin): Call it.
7647         * builtins.def (BUILT_IN_EXPECT): New.
7648         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
7649         * extend.texi: Document it.
7650
7651         * predict.c (expected_value_to_br_prob): New.
7652         (find_expected_value): New.
7653         * basic-block.h (expected_value_to_br_prob): Declare.
7654         * toplev.c (rest_of_compilation): Invoke it.
7655
7656         * rtl.h (NOTE_EXPECTED_VALUE): New.
7657         (NOTE_INSN_EXPECTED_VALUE): New.
7658         * rtl.c (note_insn_name): Update.
7659         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
7660         cases; handle NOTE_INSN_EXPECTED_VALUE.
7661
7662 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
7663
7664         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
7665         leaf sibcall delay slot if flag_pic.
7666         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
7667
7668 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7669
7670         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
7671
7672         * fixproto: If fix-header fails, exit with an error.
7673
7674 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7675
7676         * cse.c (struct check_depdendence_data): New.
7677         (check_dependence): New function.
7678         (invalidate): Use check_depdenence.
7679
7680 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
7681
7682         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
7683         UNITS_PER_WORD is unsigned.
7684
7685         * tree.h (struct tree_common): Remove misleading comment.
7686
7687 2000-04-16  Dave Pitts  <dpitts@cozx.com>
7688
7689         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
7690         message in quotes. Otherwise, IBM's make program treats the '#' as the
7691         start of a comment and ignores the remainder of the line.
7692
7693         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
7694         upper case.
7695         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
7696         * cexp.y (initialize_random_junk): Likewise.
7697         * cppfiles.c (find_include_file): Cast alloca return value.
7698         * cppinit.c (initialize_standard_includes): Likewise.
7699         * cpplib.c (cpp_define, cpp_undef): Likewise.
7700         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
7701         * final.c (output_asm_insn): Allow for holes in EBCDIC.
7702         * fold-const.c (CHARMASK): New.
7703         (real_hex_to_f): Use it.
7704         * real.c (CHARMASK): New.
7705         (etoasc, asctoeg): Use it.
7706         (asctoeg): EBCDIC lower case characters preceed upper case.
7707
7708         * i370.c (mvs_add_label): Change spacing for coding conventions.
7709         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
7710         outputing case vectors.
7711         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
7712         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
7713         since vector in in the data CSECT.
7714         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
7715         * i370.md (Many patterns): Put the length in the XL directives.
7716         (movdi): Put back STM and MVC in definition.
7717         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
7718         pattern using the TCA.
7719         * oe.h (CPP_SPEC): Added to allow trigraphs.
7720         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
7721         not support the "long long" type.
7722
7723 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
7724
7725         * config/mips/mips-protos.h (mips_legitimate_address_p): New
7726         function.
7727         (mips_reg_mode_ok_for_base_p): Likewise.
7728         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
7729         (REG_OK_FOR_INDEX_P): Define unconditionally.
7730         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
7731         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
7732         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
7733         that GET_MODE_SIZE is unsigned.
7734         (mips_reg_mode_ok_for_base_p): Define.
7735         (mips_legitimate_address_p): Likewise.  Adjust now
7736         that GET_MODE_SIZE is unsigned.
7737         (block_move_loop): Make the number of bytes unsigned.
7738         (expand_block_move): Likewise.
7739         (function_arg): Make the loop counter unsigned to match the
7740         boundary condition.
7741
7742 2000-04-16  Richard Henderson  <rth@cygnus.com>
7743
7744         * rtl.h (enum insn_note): New enumeration.  Subsume
7745         NOTE_INSN_DELETED and friends.
7746         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
7747         * rtl.c (note_insn_name): Tweak string order.
7748
7749 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
7750
7751         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
7752         to offset * 2.
7753
7754         * cpplex.c (output_line_command): Remove debugging prints.
7755         (cpp_output_tokens): Don't write out a zero-length buffer or
7756         try to see if it has a newline in it.
7757         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
7758         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
7759         the end of the loop.  Use memmove.  Don't read past the end of
7760         the buffer.  Remove trailing newlines from error messages.
7761
7762 2004-04-16  Neil Booth  <NeilB@earthling.net>
7763
7764         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
7765         * cpplib.c: Add new syntax flags to directive table, and
7766         supporting macros.
7767
7768 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
7769
7770         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
7771         using ret $N.
7772
7773 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
7774
7775         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
7776         * haifa-sched.c: Update -fsched-verbose comments to use "=".
7777
7778 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7779
7780         * Makefile.in (ggc-page.o): Now includes toplev.h.
7781         * ggc-page.c (toplev.h): Now included.
7782         (gc_time): Remove declaration.
7783         (ggc_collect): TIME now long.
7784         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
7785         others static.
7786         * toplev.h (gc_time, parse_time, gc_time): New declarations.
7787
7788         * toplev.c: Make *_time variable long to reduce chance of overflow.
7789         (TIMEVAR): Likewise for `otime'.
7790         (print_time): Arg is now long; compute percentage in FP and round.
7791         * toplev.h (print_time): Arg is long.
7792
7793         * tree.c: Minor whitespace changes.
7794
7795         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
7796         * configure: Rebuilt.
7797         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
7798         (__fixunsxfDI): Renamed from __fixunsxfdi.
7799         (__fixunsdfDI): Renamed from __fixunsdfdi.
7800         (__fixunssfDI): Renamed from __fixunssfdi.
7801         (__floatdisf): Use proper type in REP_BIT macro.
7802         (__fixunsxfSI): Renamed from __fixunsxfsi.
7803         (__fixunsdfSI): Renamed from __fixunsdfsi.
7804         (__fixunssfSI): Renamed from __fixunssfsi.
7805         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
7806         Change location of macros and upper-case some names as above.
7807         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
7808         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
7809
7810         * varasm.c (assemble_variable): Add cast to remove warning.
7811         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
7812
7813         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
7814         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
7815         region number to -1.
7816
7817 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
7818
7819         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
7820         call unshare_all_rtl.
7821
7822         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
7823
7824 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
7825
7826         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
7827         Use .s1 not .s0 for all FP instructions.
7828
7829 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
7830
7831         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
7832         interfaces.
7833         (safe_fwrite, output_line_command): New static functions.
7834         (cpp_expand_to_buffer): Now private to cpplib.
7835         (cpp_scan_buffer): Take a printer.
7836
7837         * cpphash.h: Update prototypes.
7838         * cpplib.h: Update prototypes.
7839         (cpp_printer): New.
7840         (cpp_buffer): Remove last_nominal_fname.
7841         (cpp_reader): Remove lineno.
7842
7843         * cppmain.c: Use a cpp_printer.
7844         * fix-header.c: No need to inhibit line commands.  Call
7845         cpp_start_read with no printer.
7846
7847         * cpperror.c (cpp_notice_from_errno): Provide default name.
7848         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
7849         (find_include_file, cpp_read_file): Use make_IHASH.
7850         (file_cleanup): Set control_macro and clear
7851         input_stack_listing_current here.
7852         (_cpp_execute_include): Don't output entering-file marker.
7853         * cpphash.c (special_symbol): Look for the line number in the
7854         buffer, not the reader.
7855         (_cpp_macroexpand): No need to disable line commands.
7856         (_cpp_dump_definition): No need to generate line commands.
7857         (dump_hash_helper): Remove excess newline from output.
7858         * cppinit.c (dump_special_to_buffer): No need to generate line
7859         commands.
7860         (cpp_printer_init): New.
7861         (cpp_start_read): Take a printer, and start it up if it's not
7862         NULL.  No need to generate line commands.
7863         (cpp_finish): Expect no buffers stacked at all.  Take a
7864         printer argument, and flush the output buffer if it's not
7865         NULL.
7866         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
7867         Don't put two hashes at the beginning of an assertion.
7868         (cpp_get_token): Don't increment pfile->lineno or emit line
7869         commands here.  Return EOF if there's no buffer when we get
7870         EOF.
7871         * cpplib.c (do_define, skip_if_group):
7872         No need to disable line commands.
7873         (_cpp_output_line_command): Delete function.
7874         (do_line): Don't emit line commands here, but set things up so
7875         they will be emitted if necessary.  Use _cpp_fake_ihash to
7876         make unique nominal_fnames if necessary.
7877         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
7878         with 0 for column, not -1.
7879         (_cpp_handle_eof): Don't set the control macro here.  Don't
7880         clear input_stack_listing_current here.  Don't emit line
7881         commands.
7882
7883 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
7884
7885         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
7886         always, use the default SVR4 start address.
7887
7888         * config/rs6000/linux.h (LINK_SPEC): Don't define.
7889         (LINK_SHLIB_SPEC): Define.
7890         (LINK_START_DEFAULT_SPEC): Define.
7891         (LINK_OS_DEFAULT_SPEC): Define.
7892
7893         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
7894
7895         * config/rs6000/eabi.asm (__eabi): Call __init rather than
7896         __do_global_ctors to handle constructors.
7897         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
7898         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
7899         (STARTFILE_MVME_SPEC): Likewise.
7900         (STARTFILE_SIM_SPEC): Likewise.
7901         (ENDFILE_ADS_SPEC): Use crtend.
7902         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
7903         (ENDFILE_MVME_SPEC): Likewise.
7904         (ENDFILE_SIM_SPEC): Likewise.
7905         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
7906         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
7907         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
7908         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
7909         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
7910         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
7911         (CRTSTUFF_T_CFLAGS_S): Define.
7912         * config/rs6000/eabi-ctors.c: Delete.
7913
7914         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
7915         boundary.
7916         (__fini): Likewise.
7917         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
7918         boundary.
7919         (__fini): Likewise.
7920
7921 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
7922
7923         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
7924         plus mask size is smaller or equal to the mode size.
7925
7926 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7927
7928         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
7929         not yet set.
7930
7931         * expr.c (reload.h): Now included.
7932         (emit_block_move): Set volatile_ok when checking for movstr.
7933         (emit_move_1): Check for replacements in addresses in multi-word case.
7934         * Makefile.in (expr.o): Now includes reload.h.
7935
7936         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
7937         Never have a LIBCALL end a basic block.
7938         (find_basic_blocks_1): Likewise.
7939         Reorganize CALL_INSN cases.
7940
7941         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
7942
7943 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
7944
7945         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
7946         completers from mov.ret instruction.
7947
7948 2000-04-14  Richard Henderson  <rth@cygnus.com>
7949
7950         * fold-const.c (extract_muldiv): Don't distribute and widen
7951         multiply across plus for non-sizetype unsigned types.
7952
7953 2000-04-14  Richard Henderson  <rth@cygnus.com>
7954
7955         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
7956         If the original source is dead in the incr insn, it's dead now.
7957
7958 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7959
7960         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
7961         see if DECL_BIT_FIELD needs to still be set.
7962
7963         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
7964
7965         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
7966         print_int_cst_octal with something that's not an INTEGER_CST.
7967
7968         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
7969         and not a SUBREG to a FLOAT rtl.
7970
7971 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
7972
7973         * emit-rtl.c (try_split): Avoid infinite loop if the split
7974         results in a sequence that contains the original insn.
7975
7976 2000-04-13  Andreas Jaeger  <aj@suse.de>
7977
7978         * config/mips/mips.c (expand_block_move): Pass alignment
7979         argument to move_by_pieces in bits, not bytes.
7980
7981         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
7982         __pic__ for little endian.
7983
7984 2000-04-13  Andreas Jaeger  <aj@suse.de>
7985
7986         * config/i386/i386-protos.h: Add prototype for
7987         uno_comparison_operator.
7988
7989 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7990
7991         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
7992         * calls.c (ECF_PURE): New flag.
7993         (emit_call_1): Handle ECF_PURE calls.
7994         (initialize_argument_information): Unset ECF_PURE flag too.
7995         (precompute_arguments): Precompute for ECF_PURE too.
7996         (expand_call): Handle ECF_PURE calls too.
7997         (emit_library_call_value_1): Rename no_queue argument to fn_type,
7998         accept value of 2 as pure function.
7999         (emit_library_call_value, emit_library_call): Rename no_queue argument
8000         to fn_type.
8001         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
8002
8003         * tree.h (DECL_IS_PURE): New macro.
8004         (struct tree_decl): Add pure_flag.
8005         * c-common.c (enum attrs): Add attribute "pure".
8006         (init_attributes): Initialize attribute "pure"
8007         (decl_attributes): Handle attribute "pure".
8008         * extend.texi (Attribute "pure"): Document.
8009         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
8010         in pure function.
8011         (flags_from_decl_or_type): Support attribute "pure".
8012
8013 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
8014
8015         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
8016         the token except for numbers and identifiers.
8017
8018 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
8019
8020         * i386.c (ix86_expand_binary_operator,
8021         ix86_expand_unary_operator): Check no_new_pseudos
8022         instead of reload_in_progress and reload_completed.
8023         (ix86_split_ashldi, ix86_split_ashrdi,
8024         ix86_split_lshrdi): Check no_new_pseudos instead
8025         of reload_completed.
8026
8027 2000-04-12  Jeffrey A Law  (law@cygnus.com)
8028
8029         * function.c (purge_addressof): Unshare any shared rtl created by
8030         purge_addressof and its children.
8031
8032 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
8033
8034         * function.c (aggregate_value_p): VOID_TYPE nodes are never
8035         aggregates.
8036
8037 2000-04-05  Andreas Jaeger  <aj@suse.de>
8038
8039         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
8040         not compiling PIC code, add flags for mabi=64.
8041         (SUBTARGET_CPP_SIZE_SPEC): New.
8042         (SUBTARGET_CPP_SPEC): New.
8043         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
8044         for MIPS/Linux and lots of code needs these defines.
8045
8046 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
8047
8048         * reorg.c (fill_slots_from_thread): Check side_effects_p when
8049         trying the "opposite arithmetic" approach.
8050
8051 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8052
8053         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
8054         (struct sh_args): Add new field force_mem.
8055         (INIT_CUMULATIVE_ARGS): Initialize it.
8056         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
8057
8058 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8059
8060         * calls.c (expand_call): Do not reverse args in "equal from" field.
8061         (emit_library_call_value_1): Emit_libcall_block for const and pure
8062         function.
8063
8064 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8065
8066         * reload1.c (reload_combine): Don't enable optimization for fixed
8067         registers when encountering a BARRIER.
8068
8069 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8070
8071         * builtins.c (expand_builtin_memcmp): Do expansion even with
8072         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
8073
8074         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
8075         stack is propertly aligned; add sanity checking for aligned
8076         stack pointer.
8077         (expand_library_call_value_1): Add sanity checking for aligned
8078         stack pointer.
8079
8080 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
8081
8082         * calls.c (emit_library_call_value_1): Change 3rd arg to
8083         locate_and_pad_parm to disregard the setting of partial.
8084
8085 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8086
8087         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
8088
8089         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
8090         CALL_INSN from the normal case.
8091
8092 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8093
8094         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
8095         New global variables.
8096         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
8097         adjustment.
8098         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
8099         Declare,
8100         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
8101          TARGET_ADD_ESP_8): New macros.
8102         * i386.md: Add peep2s to convert esp adjustments to push and pop
8103         instructions.
8104         (pushsi_prologue, popsi_epilogue): New patterns.
8105
8106 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
8107
8108         * real.c (toe64): Remove stale #endif from the last change.
8109
8110 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
8111
8112         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
8113         * real.c (toe64): Revert previous change.
8114
8115 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
8116
8117         * objc/objc-act.c: Include ggc.h.
8118         (objc_tree_index, objc_global_trees): Convert most of the
8119         static tree variables into a static array with previous names
8120         as defines.
8121         (objc_ellipsis_node): New variable.
8122         (lang_init): Call objc_act_parse_init and c_parse_init.
8123         Create objc_ellipsis_node.
8124         (build_selector_translation_table): Use objc_ellipsis_node instead
8125         of (tree)1.
8126         (hack_method_prototype): Likewise.
8127         (get_arg_type_list): Likewise.
8128         (start_method_def): Likewise.
8129         (continue_method_def): Likewise.
8130         (gen_method_decl): Likewise.
8131         (ggc_mark_imp_list): New function.
8132         (ggc_mark_hash_table): New function.
8133         (objc_act_parse_init): New function.
8134         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
8135         * c-parse.in (c_parse_init): For objc add roots of objc specific
8136         local tree variables.
8137         * objc/objc-parse.y: Rebuilt.
8138         * objc/objc-parse.c: Rebuilt.
8139         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
8140
8141 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
8142
8143         * cse.c (delete_trivially_dead_insns): Also delete insns
8144         that copy a register to itself where the destination is
8145         a strict_low_part.
8146
8147 2000-04-11  Richard Henderson  <rth@cygnus.com>
8148
8149         * flow.c (struct propagate_block_info): Add new_dead, new_live.
8150         (propagate_block): Initialize them.  Use them in parallel instead
8151         of one tmp variable, ie revert much of the 0408 and 0407 functional
8152         changes, but keep the structural changes.
8153         (mark_set_regs): Take new_dead from propagate_block_info instead.
8154         (mark_set_1, mark_set_reg): Likewise.
8155         (mark_used_regs): Likewise with new_live.
8156         (mark_used_reg): Likewise.  Revert 0408 change.
8157
8158 2000-04-11  Nick Clifton  <nickc@cygnus.com>
8159
8160         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
8161         restriction.
8162         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
8163
8164 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8165
8166         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
8167         const section to output a CONSTRUCTOR based on the same conditions
8168         used for VAR_DECLs.
8169
8170 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
8171
8172         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
8173         * pa/pa-protos.h (output_call): Add additional argument indicating
8174         if the call is a sibling/tail call.
8175         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
8176         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
8177         (function_arg, function_arg_partial_nregs): Likewise
8178         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
8179         (emit_move_sequence): Zero extend certain constants as needed
8180         for TARGET_64BIT.
8181         (compute_zdepdi_operands, output_64bit_and): New functions.
8182         (output_64bit_ior, function_arg): Likewise.
8183         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
8184         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
8185         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
8186         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
8187         (output_bvb): Likewise.
8188         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
8189         (output_call): New argument 'sibcall'.  Generate sibcall sequences
8190         as needed.
8191         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
8192         (ouput_arg_descriptor): Do not emit argument descriptors for
8193         TARGET_64BIT.
8194         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
8195         defined.
8196         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
8197         (FUNCTION_OK_FOR_SIBALL): Define.
8198         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
8199         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
8200         (CPP_SPEC): Use new spec infrastructure.
8201         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
8202         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
8203         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
8204         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
8205         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
8206         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
8207         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
8208         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
8209         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
8210         (FUNCTION_ARG); Call out to C code.
8211         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
8212         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
8213         (MIN_UNITS_PER_WORD): Likewise.
8214         * pa/pa.md (cmpdi): New expander.
8215         (scc patterns, movstrsi): Not available for TARGET_64BIT.
8216         (64bit conditional arithmetic): New patterns.
8217         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
8218         (movsicc): Not available if modes on all the operands to not match.
8219         (movdicc): New expander and associated patterns.
8220         (64bit branches): New patterns.
8221         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
8222         (pre_ldd, post_std): New patterns.
8223         (64bit addil, load low part): New patterns.
8224         (special movsf constant): Not available for TARGET_64BIT.
8225         (movsf, movdf expanders): Force constants into memory.
8226         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
8227         (64bit movdf/movdi patterns): New patterns.
8228         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
8229         for TARGET_64BIT.
8230         (extendqidi2, extendhidi2, extendsidi2): Similarly.
8231         (adddi3 expander): Allow "arith_operand" for second input.
8232         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
8233         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
8234         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
8235         (muldi3): New expander for TARGET_64BIT.
8236         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
8237         for TARGET_64BIT.
8238         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
8239         patterns for TARGET_64BIT.
8240         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
8241         patterns for TARGET_64BIT.
8242         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
8243         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
8244         (sibcall_epilogue): New expander.
8245         (casesi): Tweak for TARGET_64BIT.
8246         (call expanders): Set & use the outgoing argument pointer.  Use the
8247         64bit call patterns as needed. Add additional arg to output_call.
8248         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
8249         (sibcall, sibcall_internal_symref): New expanders.
8250         (sibcall_value, sibcall_value_internal_symref
8251         (interspace_jump): Turn into an expander + matching patterns.
8252         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
8253         * pa/pa64-regs.h: Eliminate trigraph sequences.
8254         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
8255
8256 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
8257
8258         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
8259         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
8260         cpp_token with cpp_ttype everywhere.
8261         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
8262         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
8263         CPP_BUF_COL.  Line and column numbers are unsigned int, not
8264         long.
8265         * cpplex.c (cpp_buf_line_and_col): Delete.
8266         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
8267         'long lineno' to 'unsigned int lineno'.
8268         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
8269
8270 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8271
8272         * extend.texi: ISO C99 is not a draft anymore.
8273         * invoke.texi: ISO C++ is not a draft anymore.
8274         * cpp.texi: __cplusplus is required by the ISO standard.
8275
8276         * extend.texi (-fthis-is-variable): Undocument.
8277         * flags.h (warn_template_debugging): Remove declaration.
8278         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
8279         -Wenum-clash, -Wtemplate-debugging): Undocument.
8280
8281 2000-04-10  Nick Clifton  <nickc@cygnus.com>
8282
8283         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
8284         integer.
8285         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
8286         integer.
8287         (ARM_SIGN_EXTEND): Use HOST_UINT.
8288         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
8289         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
8290         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
8291         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
8292
8293         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
8294         (arm_gen_constant): Use HOST_UINT.
8295         (arm_canonicalize_constant): Use HOST_UINT.
8296         (arm_reload_in_hi): Use HOST_UINT.
8297         (arm_reload_out_hi): Use HOST_UINT.
8298         (output_multi_immediate): Use HOST_UINT.
8299         (int_log2): Use HOST_UINT.
8300         (arm_poke_function_name): Use HOST_UINT.
8301         (arm_output_epilogue): Use arm_volatile_func().
8302         (output_thumb_prologue): Use arm_strip_name_encoding().
8303
8304 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8305
8306         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
8307         of sequence point problems.
8308
8309 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
8310
8311         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
8312         Recomment.
8313         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
8314
8315 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8316
8317         * sbitmap.h: Whitespace changes and use upper-case macro args.
8318         (struct simple_bitmap_def): All sizes now unsigned.
8319         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
8320         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
8321         (sbitmap_vector_alloc): Parms and local vars now unsigned.
8322         (sbitmap_zero): Cast bzero arg to PTR.
8323         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
8324         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
8325         loop to make structure clearer.
8326         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
8327         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
8328         (sbitmap_a_and_b_or_c): Likewise.
8329         (sbitmap_intersection_of_succs): Minor cleanups.
8330         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
8331         (sbitmap_union_of_preds): Likewise.
8332         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
8333         (debug_sbitmap): New function.
8334
8335         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
8336         * c-typeck.c (convert_for_assignment): Likewise.
8337
8338         * expmed.c (init_expmed): Don't free objects we make.
8339         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
8340
8341         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
8342         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
8343
8344         * gcse.c (expr_hash_table_size): Now unsigned.
8345         (compute_ae_gen): Local variable `i' now unsigned.
8346         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
8347         (compute_transout, hoist_code): Likewise.
8348         (compute_local_properties): Likewise, also hash_table_size.
8349         (alloc_expr_hash_table): N_INSNS now unsigned.
8350         (delete_null_pointer_checks): Mark arg F as unused.
8351
8352         * regrename.c: Minor cleanups, including chang some variables
8353         to unsigned int.
8354
8355 2000-04-10  Neil Booth  <NeilB@earthling.net>
8356
8357         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
8358         than GETC ().
8359         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
8360
8361 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8362
8363         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
8364         __classof__, and __headof__ from the list of gnu keywords.
8365         (-ansi): Remove -foperator-names from list of implied options.
8366         Do not call it ANSI C++.
8367         (-foperator-names): Document as -fno-operator-names.
8368
8369 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
8370
8371         * cpphash.c (timestamp): Delete.
8372         (del_HASHNODE): If type is T_MCONST, free value.cpval.
8373         (special_symbol): Remove unnecessary braces.  Remove
8374         T_VERSION.  Treat T_STDC like T_CONST unless
8375         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
8376         when one is encountered, then convert them into T_MCONST
8377         nodes.
8378         * cppinit.c (builtin_array): version_string is T_MCONST.
8379         __STDC__ has a "1" in its cpval.  Don't have a terminator
8380         entry.  Clean up which entries are dumped.
8381         (initialize_builtins): Only __STDC__ gets the special
8382         -traditional treatment.  Count the length of builtin_array.
8383         Render version_string here.
8384         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
8385         * cpplib.h (struct cpp_reader): Remove timebuf.
8386
8387 2000-04-09  Richard Henderson  <rth@cygnus.com>
8388
8389         * genrecog.c (pred): Update comparison_operator for the unordered
8390         operators.
8391
8392         * config/i386/i386.c (no_comparison_operator): Disallow unordered
8393         operators.
8394         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
8395         (uno_comparison_operator): New.
8396         (put_condition_code): Handle UNORDERED/ORDERED.
8397         (unsigned_comparison): Likewise.
8398         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
8399         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
8400         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
8401         update all callers.  Handle all 8 unordered operators.
8402         (ix86_expand_setcc): Lose the unordered argument, update all callers.
8403         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
8404         * config/i386/i386.h (PREDICATE_CODES): Update.
8405         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
8406         (ix86_expand_branch, ix86_expand_setcc): Update.
8407         * config/i386/i386.md (sunordered, sordered): New.
8408         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
8409         (bunordered, bordered): New.
8410         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
8411         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
8412         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
8413
8414 2000-04-09  Philip Blundell  <philb@gnu.org>
8415
8416         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
8417
8418 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
8419
8420         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
8421         fix_truncxfhi2): New patterns.
8422         * i386.c (output_fix_trunc): Handle converting to HImode.
8423
8424 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
8425
8426         * ssa.c (convert_to_ssa): Eliminate dead code when calling
8427         life_analysis.
8428         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
8429         (for_each_successor_phi): Change parameter to basic_block.
8430         (coalesce_regs_in_successor_phi_nodes): Likewise.
8431         (coalesce_regs_in_copies): Likewise.
8432         (compute_coalesced_reg_partition): Use basic_block instead of index.
8433         * rtl.h (convert_to_ssa): Delete.
8434         (convert_from_ssa): Likewise.
8435         (successor_phi_fn): Likewise.
8436         (for_each_successor_phi): Likewise.
8437         (in_ssa_form): Likewise.
8438         * basic-block.h (convert_to_ssa): Moved from rtl.h.
8439         (convert_from_ssa): Likewise.
8440         (successor_phi_fn): Likewise.
8441         (in_ssa_form): Likewise.
8442         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
8443         * flow.c (calculate_global_regs_live): Pass a basic_block to
8444         for_each_successor_phi.
8445
8446 2000-04-08  Richard Henderson  <rth@cygnus.com>
8447
8448         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
8449         was modified in the current insn.
8450
8451 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
8452
8453         * arm/thumb.md: Delete.
8454         * arm/thumb-protos.h: Delete.
8455
8456 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
8457
8458         Merge changes from merged-arm-thumb-backend-branch onto trunk.
8459
8460         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
8461
8462         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
8463         into branch.
8464
8465         * arm.md (nop): Use the standard RTL expression.  Don't code as a
8466         define_expand.
8467         (*arm_nop, *thumb_nop): Delete.
8468
8469         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
8470         constants.  Use casts instead.
8471         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
8472         output_multi_immediate, arm_poke_function_name): Likewise.
8473         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
8474         MASK_RETURN_ADDDR): Likewise.
8475
8476         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
8477
8478         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
8479         into branch.
8480
8481         * arm.md (eh_epilogue): New function.
8482         * arm.h (struct machine_function): Move to here ...
8483         * arm.c: ... from here.
8484         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
8485         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
8486         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
8487
8488         2000-03-30  Nick Clifton  <nickc@cygnus.com>
8489
8490         * config/arm/semi.h (ASM_SPEC): Restore definition.
8491         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
8492
8493         * config/arm/elf.h (ASM_SPEC): Restore definition.
8494         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
8495
8496         * config/arm/arm.h (ASM_SPEC): Remove definition.
8497         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
8498
8499         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
8500
8501         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
8502
8503         2000-03-24  Nick Clifton  <nickc@cygnus.com>
8504
8505         Various formating tidyups, elimination of compile time
8506         warnings and synchronisation with internal sources:
8507
8508         * config/arm/arm-protos.h (assemble_align): Add prototype.
8509         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
8510         (gen_comapre_reg): Rename to arm_gen_compare_reg.
8511         (arm_return_addr_rtx): Rename to arm_return_addr.
8512
8513         * config/arm/arm.c: Include except.h.
8514         Define shorter typenames for strict minipool_node and struct
8515         minipool_fix.
8516         (arm_return_in_memory): For WinCE return all structures <= 32 bits
8517         in memory.
8518         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
8519         (gen_comapre_reg): Rename to arm_gen_compare_reg.
8520
8521         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
8522         already defined.
8523         (ASM_SPEC): Define if not already defined.
8524         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
8525
8526         * config/arm/arm.md: Rename references to gen_rotated_half_load to
8527         arm_gen_rotated_half_load, and references to gen_comapre_reg to
8528         arm_gen_compare_reg.
8529         (indirect_jump):  Only accept register operands.
8530         (load_indirect_jump): Keep this pattern since combine can generate
8531         it.
8532
8533         * config/arm/coff.h: Include aout.h.
8534         (MULTILIB_DEFAULTS): Only define if not already defined.
8535
8536         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
8537         into arm.h (so that COFF ports can support thumb based aliases).
8538         (ASM_SPEC): Move definition into arm.h
8539
8540         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
8541         redundant apcs spec.
8542         (ASM_SPEC): Move definition to arm.h
8543
8544         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
8545
8546         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
8547         for entries in the .bss section
8548
8549         2000-03-23  Nick Clifton  <nickc@cygnus.com>
8550
8551         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
8552         to thumb_far_jump_used_p.
8553
8554         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
8555         single integer parameter.
8556
8557         * config/arm/arm.c (struct machine_function): Add two new
8558         fields, 'far_jump_used' and 'arg_pointer_live'.
8559         (thumb_far_jump_used_p): Once the decision has been made that
8560         far jumps might be used, always return true.
8561         If being called from the initial elimination offset macro then
8562         do not bother to perform the test if the arg pointer is not
8563         being used.
8564         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
8565         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
8566
8567         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
8568
8569         * arm.c (output_return_instruction): Handle more cases where we can
8570         return from a function with an ldr instruction.
8571         (arm_output_epilogue): Likewise.
8572
8573         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
8574         if we need to push a large stack frame and there are no callee-saved
8575         registers.
8576
8577         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
8578         in ARM code if the frame pointer has been eliminated.
8579
8580         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
8581         unspec_volatile arguments to avoid duplicates.
8582         (consttable_1, consttable_2): Fixes for big-endian mode.
8583
8584         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
8585         as appropriate.
8586
8587         Re-write constant pool code.
8588         * arm.c (minipool_node, minipool_fix): New types.
8589         (minifix): Delete type.
8590         (arm_add_minipool_constant): Delete.
8591         (arm_compute_minipool_offsets, arm_find_barrier,
8592         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
8593         (get_jump_table_size): Now returns HOST_WIDE_INT.
8594         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
8595         functions.
8596         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
8597         (assign_minipool_offsets, arm_print_value): Likewise.
8598         (dump_minipool): Rewrite.
8599         (arm_barrier_cost): New function.
8600         (create_fix_barrier): New function.
8601         (push_minipool_barrier): New function.
8602         (push_minipool_fix): Record additional information about the fixup
8603         required.
8604         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
8605         check the mode of what needs fixing.
8606         (arm_reorg): Rewrite.
8607
8608         2000-03-08  Nick Clifton  <nickc@cygnus.com>
8609
8610         * config/arm/arm.md (indirect_jump): Force constant addresses into
8611         a register.
8612
8613         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
8614
8615         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
8616
8617         2000-02-24  Nick Clifton  <nickc@cygnus.com>
8618
8619         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
8620         adjust is word aligned.
8621         (thumb_expand_epilogue): Make sure that stack adjust is word
8622         aligned.
8623
8624         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
8625
8626         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
8627
8628         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
8629         pointer relative addresses.
8630
8631         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
8632
8633         * arm.c (find_barrier): Find the last barrier within the allowed
8634         range.
8635
8636         2000-02-09  Nick Clifton  <nickc@cygnus.com>
8637
8638         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
8639
8640         2000-02-09  Nick Clifton  <nickc@cygnus.com>
8641
8642         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
8643         ARM_FUNCTION_PROFILER.
8644
8645         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
8646         ARM_FUNCTION_PROFILER.
8647
8648         * config/arm/linux-oldld.h: Imported from mainline sources.
8649
8650         2000-02-07  Nick Clifton  <nickc@cygnus.com>
8651
8652         * config/arm/lib1funcs.asm: Merge in thumb functions from
8653         lib1thumb.asm.
8654
8655         * config/arm/lib1thumb.asm: Delete.
8656
8657         2000-02-04  Nick Clifton  <nickc@cygnus.com>
8658
8659         * config/arm/arm.c: Sychronised with current Red hat local
8660         sources.
8661         * config/arm/arm.h: Ditto.
8662         * config/arm/arm-protos.h: Ditto.
8663
8664         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
8665
8666         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
8667
8668         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
8669         byte stores.
8670
8671         2000-02-02  Nick Clifton  <nickc@cygnus.com>
8672
8673         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
8674
8675         * config/arm/arm.md (epilogue): Fix rtl checking abort because
8676         (return) was emited using an emit_insn() call.
8677
8678         2000-01-31  Nick Clifton  <nickc@cygnus.com>
8679
8680         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
8681         thumb stack frame.
8682         (thumb_exit): Move frame pointer back into hard frame pointer
8683         register if backtracing is being used.
8684
8685         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
8686
8687         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
8688         into branch.
8689
8690         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
8691
8692         * config/arm/arm.md (neg_pool_offset): Provide default for new
8693         attribute.
8694         (arm_movsi_insn): Add neg_pool_offset attribute.
8695         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
8696         rtx for the insn that starts the scan and an unsigned long for its
8697         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
8698         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
8699         instructions in *PINSERTED.
8700         (struct minipool_fixup): Add MIN_ADDRESS elt.
8701         (sort_fixups): Compute it.
8702         (arm_reorg): Changes to support inserting pools before the insn to be
8703         fixed up.
8704
8705         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
8706
8707         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
8708         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
8709         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
8710
8711         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
8712
8713         * config/arm/semi.h (TARGET_VERSION): Do not define if already
8714         defined.
8715         (TARGET_DEFAULT): Do not define if already defined.
8716
8717         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
8718
8719         * config/arm/arm.md (anddi3): Allow disjoint source operands.
8720         (iordi3): Allow disjoint source operands.
8721         (xordi3): Allow disjoint source operands.
8722         (negdi2): Permit construction for ARM and Thumb.
8723         (arm_negdi2): Renamed version of old negdi2 pattern.
8724         (thumb_negdi2): New pattern: Only permit non-overlapping
8725         source and destination.
8726
8727         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
8728
8729         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
8730         scratch low register so that it will not be deleted.
8731
8732         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
8733
8734         * config/arm/pe.h (ARM_PE): Define.
8735
8736         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
8737         interfacearm attribute if this is a PE toolchain.
8738         (output_return_instruction): Do not emit anything if the function
8739         has the naked attribute set.
8740         (is_called_in_ARM_mode): If the function has the interfacearm
8741         attribute then return true.
8742         (thumb_expand_prologue): Do not generate a prologue for naked
8743         functions.
8744         (thumb_expand_epilogue): Do not generate an epilogie for a naked
8745         function.
8746         (output_thumb_prologue): Do not bother if the function is naked.
8747         Strip PE encoding from function name before emitting.
8748
8749         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
8750
8751         * arm.md (pic_load_addr): Fix constraints.
8752
8753         * arm.md (casesi_insn): Fix mis-applied patch.
8754
8755         * arm.md ("core" function unit): Add rules for single- and
8756         multi-cycle insns.
8757         (All TARGET_THUMB patterns): Add "type" attribute information
8758         where needed.
8759         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
8760         the following insn is a CALL.
8761
8762         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
8763         pointer.
8764         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
8765         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
8766         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
8767
8768         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
8769
8770         * config/arm/linux-gas.h: oops - this file was missed out when the
8771         branch was created...
8772
8773         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
8774
8775         * thumb.c: Deleted.  Move contents to ...
8776         * arm.c: ... here.
8777         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
8778         rule for thumb.o
8779         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
8780         * configure: Regen.
8781
8782         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
8783         declare a prototype for asm_output_align();
8784
8785         * arm.c (thumb_condition_code): Delete.
8786         (arm_print_operand): Always use arm_condition_code array.
8787
8788         * arm.c (thumb_return_addr_rtx): Delete.
8789         (arm_save_machine_status, arm_restore_machine_status): Delete.
8790         (arm_init_machine_status, arm_mark_machine_status): New functions.
8791         (arm_init_expanders): Update accordingly.
8792         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
8793         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
8794         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
8795
8796         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
8797
8798         * configure.in : Fix arm-*-aout target to use new t-arm-aout
8799         script.
8800         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
8801         targets.
8802
8803         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
8804
8805         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
8806         stack backtrace structure.
8807
8808         * config/arm/arm-protos.h: Add prototypes for functions defined in
8809         arm/pe.h.
8810
8811         * config/arm/arm.c (arm_override_options): Fix selection of
8812         attributes of default processor.
8813
8814         * config/arm/coff.h: Delete needless #include.
8815
8816         * config/arm/pe.c: Delete unused code.
8817
8818         * config/arm/pe.h (CPP_DEFINES): Delete
8819         (SUBTARGET_CPP_SPEC): Define.
8820         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
8821
8822         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
8823
8824         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
8825
8826         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
8827         updated.
8828         (CAN_DEBUG_WITHOUT_FP): Define.
8829         (FIXED_REGISTERS): Make r11 call-saved.
8830         (CALL_USED_REGISTERS): Likewise.
8831         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
8832         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
8833         frame-pointer is required.
8834         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
8835         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
8836         if the target normally needs a stack frame in non-leaf functions.
8837         (use_return_insn): Correct logic for determining when a return
8838         instruction can be used.
8839         (output_return_instruction): Handle the frame-pointer register as
8840         a normal register when not TARGET_APCS_FRAME.
8841         (arm_output_prologue): Likewise.
8842         (arm_output_epilogue): Likewise.
8843         (output_func_epilogue): Likewise.
8844         (arm_expand_prologue): Likewise.
8845         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
8846
8847         * arm.c (use_return_insn): No need to check floating point regs if
8848         TARGET_SOFT_FLOAT.
8849         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
8850         the code of value stored in the minipool array.
8851         (arm_add_minipool_constant): Likewise.
8852
8853 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8854
8855         * basic-block.h (conflict_graph_enum_fn): K&R fix.
8856
8857 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8858
8859         * tree.c (tree_expr_nonnegative_p): New function.
8860
8861         * tree.h (tree_expr_nonnegative_p): Declare.
8862
8863         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
8864         elide some sign_compare warnings.
8865         (build_conditional_expr): Likewise.
8866
8867 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
8868
8869         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
8870
8871         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
8872         * i386.c (print_operand): Use the proper suffix for a 387 HImode
8873         operand.  Abort if a 387 operand has an unsupported size.
8874
8875 2000-04-08  Neil Booth  <NeilB@earthling.net>
8876
8877         * cppexp.c (parse_charconst): Null does not end character
8878         constants.
8879         * cppinit.c (ISTABLE): Null character handled as whitespace.
8880         * cpplex.c (null_warning):  new function.
8881         (skip_string): Emit warning if nulls encountered.
8882         (_cpp_skip_hspace): Emit warning if nulls encountered.
8883         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
8884         them.
8885         * cpp.texi: Update.
8886
8887 2000-04-07  Richard Henderson  <rth@cygnus.com>
8888
8889         * flow.c (loop_depth): Remove.
8890         (reg_next_use, cc0_live, mem_set_list): Replace with ...
8891         (struct propagate_block_info): New.
8892         (life_analysis): Don't allocate reg_next_use.
8893         (propagate_block_delete_insn): Break out of propagate_block.
8894         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
8895         (propagate_block_delete_libcall): Likewise.
8896         (propagate_block): Create a propagate_block_info struct to pass
8897         to subroutines.  Allocate one not two temporary regsets.  Don't
8898         clobber memory for const calls.  Look for clobbers in
8899         CALL_INSN_FUNCTION_USAGE.
8900         (mark_set_regs): Recognize COND_EXEC.
8901         (mark_set_reg): Break out of mark_set_1.
8902         (mark_used_reg): Break out of mark_used_regs.
8903         (mark_used_regs): Recognize COND_EXEC.
8904         (insn_dead_p): Use propagate_block_info struct.
8905         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
8906         (find_auto_inc, try_pre_increment_1): Likewise.
8907         (print_rtl_with_bb): Dump regs live at end too.
8908         (count_reg_sets_1): Pass in loop_depth.
8909         (count_reg_sets, count_reg_references): Likewise.
8910         (recompute_reg_usage): Provide it.
8911
8912 2000-04-07  Richard Henderson  <rth@cygnus.com>
8913
8914         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
8915         not the raw files.
8916
8917 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
8918
8919         * cpplib.c (do_elif): Skip the rest of the line if we're
8920         not going to bother evaluating it.
8921         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
8922         to avoid pointless calls to the lexer.
8923
8924 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
8925
8926         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
8927
8928 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
8929
8930         * calls.c (expand_call): emit_queue if we're trying a sibcall.
8931
8932 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
8933
8934         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
8935
8936 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
8937
8938         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
8939         crtend so they can be multilibbed.
8940         (STAGESTUFF): Remove s-crt and s-crtS.
8941
8942 2000-04-07  Richard Henderson  <rth@cygnus.com>
8943
8944         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
8945         if we discover we need a pseudo and no_new_pseudos is true.
8946         * config/alpha/alpha.md (ne:DI insn): New.
8947         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
8948
8949 2000-04-07  Richard Henderson  <rth@cygnus.com>
8950
8951         * rtl.def (COND_EXEC): New.
8952         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
8953         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
8954
8955         * genconfig.c (have_cond_arith_flag): Remove.
8956         (have_cond_exec_flag): New.
8957         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
8958         (main): Print HAVE_conditional_execution.
8959
8960         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
8961         (sched_analyze_insn, print_pattern): Likewise.
8962         * reload.c (find_equiv_reg): Likewise.
8963         * rtlanal.c (reg_referenced_p): Likewise.
8964         (note_stores, dead_or_set_regno_p): Likewise.
8965         (reg_overlap_mentioned_p): Rewrite to use a switch.
8966
8967         * ggc.h (struct rtx_def): Forward declare.
8968
8969         * print-rtl.c (debug_rtx_range): New.
8970         * rtl.h (debug_rtx_range): Declare.
8971
8972         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
8973
8974         * gcse.c (gcse_main): Don't rebuild the CFG here.
8975         (delete_null_pointer_checks): Likewise.
8976         * ssa.c (convert_to_ssa): Likewise.
8977         * toplev.c (rest_of_compilation): Do it here instead.  Combine
8978         sequential calls to TIMEVAR.  Consistently use `insns' instead of
8979         `get_insns()'.  Always split insns after reload when optimizing.
8980
8981         * basic-block.h (merge_blocks_nomove): Declare.
8982         (tidy_fallthru_edge): Declare.
8983         * flow.c (merge_blocks_nomove): Document as merging into previous
8984         blocks.  Remove cruft from between blocks; remove all edges out of A.
8985         (tidy_fallthru_edge): Export.
8986
8987 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
8988
8989         * ssa.c (compute_conservative_reg_partition): Declare with
8990         void arguments.
8991         * toplev.c (clean_dump_file): Remove previously-deleted function
8992         inadvertantly merged back in.
8993         * conflict.c (conflict_graph_add): Use a single call to
8994         htab_find_slot to look up and insert.
8995
8996 2000-04-06  Richard Henderson  <rth@cygnus.com>
8997
8998         * genrecog.c (*): Rename _last_insn to last_insn.
8999         (make_insn_sequence): Set the position of the peephole2 C test
9000         to be at the last insn.
9001
9002 2000-04-06  Richard Henderson  <rth@cygnus.com>
9003
9004         * flow.c (compute_flow_dominators): Free worklist.
9005
9006 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
9007
9008         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
9009
9010 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
9011
9012         * rtl.h (INSN_P): New macro.
9013         (successor_phi_fn): New typedef.
9014         (for_each_successor_phi): New prototype.
9015         (in_ssa_form): New variable.
9016         (PHI_NODE_P): Likewise.
9017         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
9018         phi nodes in successors.
9019         (mark_used_regs): Add PHI case.
9020         (set_phi_alternative_reg): New function.
9021         (life_analysis): Assert that dead code elimination is not selected
9022         when in SSA form.
9023         * toplev.c (to_ssa_time): New variable.
9024         (from_ssa_time): Likewise.
9025         (compile_file): Zero to_ssa_time and from_ssa_time.
9026         Print time to convert to and from SSA.
9027         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
9028         (print_time): Compute percent fraction as integer.
9029         * ssa.c (PHI_NODE_P): Moved to rtl.h.
9030         (convert_to_ssa): Check if we're already in SSA.
9031         Don't eliminate dead code in life_analysis.
9032         Rerun flow and life analysis at bottom.
9033         (eliminate_phi): Use canonical regnos when adding nodes.
9034         (mark_reg_in_phi): New function.
9035         (mark_phi_and_copy_regs): Likewise.
9036         (convert_from_ssa): Rerun life analysis at top.
9037         Use coalesced partition.
9038         Check for removing a phi node at the end of the block.
9039         (compute_coalesced_reg_partition): New function.
9040         (coalesce_regs_in_copies): Likewise.
9041         (coalesce_reg_in_phi): Likewise.
9042         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
9043         (for_each_successor_phi): Likewise.
9044         (rename_context): New struct.
9045         (rename_block): Use a rename_context with rename_insn_1.  When
9046         renaming sets of a subreg, emit a copy of the entire reg first.
9047         (rename_insn_1): Treat data as a rename_context *.  Save current
9048         insn in set_data.
9049         (rename_set_data): Add field set_insn.
9050         * Makefile.in (HASHTAB_H): Move up in file.
9051         (OBSTACK_H): New macro.
9052         (collect2.o): Use OBSTACK_H in dependencies.
9053         (sdbout.o): Likewise.
9054         (emit-rtl.o): Likewise.
9055         (simplify-rtx.o): Likewise.
9056         (fix-header.o): Likewise.
9057         (OBJS): Add conflict.o.
9058         (conflict.o): New rule.
9059         * basic-block.h: Include partition.h.
9060         (conflict_graph): New typedef.
9061         (conflict_graph_enum_fn): Likewise.
9062         (conflict_graph_new): New prototype.
9063         (conflict_graph_delete): Likewise.
9064         (conflict_graph_add): Likewise.
9065         (conflict_graph_conflict_p): Likewise.
9066         (conflict_graph_enum): Likewise.
9067         (conflict_graph_merge_regs): Likewise.
9068         (conflict_graph_print): Likewise.
9069         (conflict_graph_compute): Likewise.
9070         * conflict.c: New file.
9071
9072 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
9073
9074         * tlink.c (read_repo_files): Don't look for .rpo info for
9075         linker flags.
9076
9077 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9078
9079         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
9080
9081 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9082
9083         * config/sh/lib1funcs.asm (___udivsi3_i4):
9084         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
9085         only depends on FMOVD_WORKS.
9086
9087 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9088
9089         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
9090         make double constant 8-byte aligned.
9091
9092 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
9093
9094         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
9095         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
9096         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
9097         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
9098         Accept storing GENERAL_REGS into offsetable memory.
9099         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
9100         building a TFmode constant other than 0.0L into GENERAL_REGS.
9101
9102 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
9103
9104         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
9105
9106 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
9107
9108         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
9109         (macro_cleanup): No need to cast pbuf->macro.
9110         (collect_expansion): Use _cpp_get_define_token.  Goto done if
9111         it returns VSPACE.  Remove check for trailing space after
9112         CPP_COMMENT.
9113         (_cpp_create_definition): Don't diddle flags here.  Return
9114         directly on error.
9115         (unsafe_chars): Handle c1 being EOF.
9116         (push_macro_expansion): Use unsafe_chars for both accidental-paste
9117         checks.  Don't push the buffer till after we're done with
9118         them.
9119         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
9120         (PEEKN, FORWARD, GETC, PEEKC): Use them.
9121         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
9122         appropriately.
9123         (_cpp_parse_assertion): Don't NUL terminate.
9124         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
9125         hspace before calling _cpp_parse_assertion.  Remove all sets
9126         of only_seen_white. Treat '\f' as hspace.  Don't do anything
9127         special with '\n' here.
9128         (maybe_macroexpand): Handle T_EMPTY hash entries without
9129         pushing a buffer at all.
9130         (cpp_get_token): Handle clearing only_seen_white here.  Handle
9131         incrementing the line number here.  Clear
9132         potential_control_macro as well as only_seen_white, if
9133         appropriate.
9134         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
9135         (_cpp_get_define_token): New function, basically like
9136         _cpp_get_directive_token was but doesn't eat horizontal space.
9137         Don't do anything with only_seen_white here.
9138         (_cpp_get_directive_token): Just call _cpp_get_define_token
9139         repeatedly till it returns non-hspace.
9140
9141         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
9142         (conditional_skip, skip_if_group): Return int.
9143         (DIRECTIVE_TABLE): Change origin of all conditional directives
9144         to "COND".
9145         (TRAD_DIRECT_P): New macro.
9146         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
9147         an error for a bogus directive, unless -lang-asm.  Use
9148         TRAD_DIRECT_P. Loop calling handler functions till one returns
9149         zero.
9150         (get_macro_name): Don't diddle flags here.
9151         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
9152         Create T_EMPTY nodes for #define macro /* nothing */.
9153         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
9154         Use hp->name when calling pass_thru_directive.
9155         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
9156         Return the result of conditional_skip and/or skip_if_group.
9157         Don't call _cpp_output_line_command.
9158         (consider_directive_while_skipping): Use _cpp_get_directive_token.
9159         Issue -Wtraditional warnings as appropriate.  Don't complain
9160         about unrecognized directives.  If we are to stop skipping,
9161         return the number of the directive that ended the skip.
9162         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
9163         expansion and line commands while skipping.  Return the result
9164         of consider_directive_while_skipping, if nonzero.
9165         (do_endif): Just set potential_control_macro here.
9166         (validate_else): Use _cpp_get_directive_token.
9167         (do_assert, do_unassert): Don't save pointers into the
9168         token_buffer across calls to the lexer.  Use
9169         _cpp_get_directive_token.
9170
9171         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
9172         pointer, not an offset.  Replace 'data', which was a generic
9173         pointer, with 'macro', which points to a struct hashnode.
9174         (cpp_reader): Add 'potential_control_macro' pointer.
9175         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
9176         (CPP_BUF_GET, CPP_FORWARD): Delete.
9177         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
9178         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
9179         ACTIVE_MARK_P): Update.
9180         (_cpp_get_define_token): New internal function.
9181         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
9182
9183 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
9184
9185         * configure.in: And here.
9186         * configure: Regenerate.
9187         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
9188         --enable-libstdcxx-v3 is passed at configure time.
9189         * config.h.in: Regenerate.
9190
9191 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
9192
9193         * final.c (final): Use xcalloc to allocate line_note_exists.
9194         * function.c (free_after_compilation): Free the temp_slots.
9195         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
9196         (combine_temp_slot): Free temp_slots when they get combined.
9197         (purge_addressof): Fix typo in comment.
9198         * stmt.c (mark_goto_fixup): Mark the fixup itself.
9199         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
9200
9201         * ggc.h: Include varray.h.
9202         (ggc_pending_trees): Declare.
9203         (ggc_mark_tree_children): Remove declaration.
9204         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
9205         * ggc-common.c (ggc_pending_trees): New variable.
9206         (ggc_mark_roots): Call ggc_mark_trees.
9207         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
9208         the ggc_pending_trees.
9209         * Makefile.in (GGC_H): New variable.  Use it throughout in place
9210         of ggc.h.
9211
9212 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9213
9214         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
9215         GET_MODE_SIZE.
9216
9217 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9218
9219         * sh.c (sh_insn_length_adjustment): New function.
9220         * sh-protos.h (sh_insn_length_adjustment): Declare.
9221         * sh.h (ADJUST_INSN_LENGTH): Use it.
9222
9223 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
9224
9225         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
9226         from the insn where REG_RETVAL is added.
9227         (emit_no_conflict_block): Ditto.
9228
9229         * md.texi (Standard Names): Clarify when movX is needed.
9230
9231         * combine.c (simplify_comparison) [MINUS]: Do not replace
9232         all (op (minus A B) 0) with (op A B).
9233
9234 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
9235                           J"orn Rennecke <amylaar@cygnus.co.uk>
9236
9237         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
9238         (block_lump_real): Likewise.
9239
9240 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
9241
9242         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
9243         remaining non-zero debugging masks.
9244
9245 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
9246
9247         * basic-block.h (verify_flow_info): Declare.
9248         (flow_loop_outside_edge_p): Declare.
9249         * flow.c (verify_flow_info): Remove declaration.
9250         (clear_log_links, flow_loop_outside_edge_p): Likewise.
9251
9252 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
9253
9254         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
9255         not C++ comments.
9256
9257 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
9258
9259         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
9260         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
9261         seqdi_zero_trunc+1): Allow splits only if registers are
9262         different.
9263
9264 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
9265
9266         * acconfig.h: Add HAVE_GAS_HIDDEN.
9267         * config.in: Regenerated.
9268         * configure.in: Add test for .hidden pseudo-op in gas.
9269         * configure: Regenerated.
9270         * crtstuff.c: Include auto-host.h.
9271         Emit additional .hidden pseudo-op for __dso_handle if the
9272         assembler knows about it.
9273
9274 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
9275
9276         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
9277         before freeing argnames.
9278         * cpplib.c (do_ifndef): Cast return value of xstrdup.
9279
9280 2000-04-05  Michael Meissner  <meissner@redhat.com>
9281
9282         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
9283         Walton <jonboy@gordian.com> to make memory references with update
9284         work wtih -mregnames.
9285
9286 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9287
9288         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
9289         (regrename_optimize): Rename variables `def_uses' and
9290         `ext_basic_blocks' to avoid conflicts with similarly named
9291         typedefs in traditional C.
9292
9293         * calls.c (initialize_argument_information): Fix typo in previous
9294         change.
9295
9296 2000-04-04  Richard Henderson  <rth@cygnus.com>
9297
9298         * regrename.c (consider_available): Test fixed_regs not
9299         PIC_OFFSET_TABLE_REGNUM.
9300
9301 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
9302
9303         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
9304         crtend.
9305         (CRTSTUFF_T_CFLAGS_S): Delete definition.
9306         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
9307         (ENDFILE_LINUX_SPEC): Always use crtend.
9308         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
9309         (powerpc-*-linux-gnu): Likewise.
9310         * configure: Regenerate.
9311
9312         * config/rs6000/eabi.h: Don't include sysv4.h.
9313         (MULTILIB_DEFAULTS): Don't define.
9314         * config/rs6000/eabiaix.h: Don't include eabi.h.
9315         * config/rs6000/eabile.h: Delete.
9316         * config/rs6000/eabilesim.h: Delete.
9317         * config/rs6000/eabisim.h: Don't include eabi.h.
9318         * config/rs6000/linux.h: Don't include sysv4.h.
9319         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
9320         (MULTILIB_DEFAULTS): Don't redefine.
9321         * config/rs6000/rtems.h: Don't include eabi.h.
9322         * config/rs6000/sol2.h: Don't include sysv4le.h.
9323         * config/rs6000/sysv4le.h: Don't include sysv4.h.
9324         * config/rs6000/t-ppc: Delete.
9325         * config/rs6000/t-ppcgas: Correct comment.
9326         * config/rs6000/t-ppcos: Correct comment.  Don't build
9327         multilibs for -fPIC, rather use -fPIC -mstrict-align
9328         as default.
9329         * config/rs6000/t-ppc: Delete.
9330         * config/rs6000/vxppc.h: Don't include sysv4.h.
9331         * config/rs6000/vxppcle.h: Delete.
9332         * configure.in: Use multiple header files for p2pc ELF targets
9333         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
9334         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
9335         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
9336         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
9337         always available for these platforms.
9338
9339 2000-04-04  Richard Henderson  <rth@cygnus.com>
9340
9341         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
9342
9343 2000-04-04  Stan Cox  <scox@cygnus.com>
9344
9345         * Makefile.in: Add rules for regrename.o
9346         * regrename.c: New file.
9347         * rtl.h (regrename_optimize): Add prototype.
9348         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
9349         (compile_file, decode_d_option): Add support for -frename-registers.
9350         (rest_of_compilation): Call regrename_optimize.
9351         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
9352         New macros.
9353
9354 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9355
9356         * Makefile (gccbug): New target.
9357         (doc): Depend on it.
9358         * gcc.texi (Bugs): Link subnodes.
9359         (gccbug): New node.
9360         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
9361         Document severities, priorities, and classes in bug form.
9362
9363 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
9364
9365         * cpplex.c (trigraph_map, speccase): Combine into single
9366         table, chartab.
9367         (NORMAL, NONTRI): New macros.
9368         (_cpp_read_and_prescan): Change to use unified table.  Use
9369         is_hspace to test for whitespace.
9370
9371         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
9372         definition that doesn't provoke the "empty body in an
9373         if-statement" warning.
9374
9375 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
9376
9377         * builtins.c (expand_builtin_strlen): Force the source to
9378         be a memory address.
9379
9380 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9381
9382         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
9383
9384 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
9385
9386         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
9387          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
9388         (ECF_IS_CONST): Rename to ECF_CONST.
9389         (special_function_p): Make static, change interface.
9390         (flags_from_decl_or_type, try_to_integrate): Break out from ...
9391         (expand_call) ... here; convert number of variables to flags.
9392         (emit_library_call_vlue_1): Likewise.
9393         (setjmp_call_p): New function.
9394         (initialize_argument_information): Accepts flags as argument;
9395         return flags.
9396         (precompute_arguments): Likewise.
9397         * tree.h (special_function_p): Remove.
9398         (setjmp_call_p): Add prototype.
9399
9400 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
9401
9402         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
9403         so that addresses are offsetable by up to 16 bytes.
9404         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
9405         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
9406         offsetable.
9407
9408         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
9409         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
9410         (movsf): Don't force any constant to memory if target is integer
9411         hard register.
9412         Move fp_zero_operand check below the const0_rtx check.
9413         (movtf): Likewise. Also allow fp_zero_operand for stores into
9414         memory.
9415         (movdf): Likewise. Also allow fp_zero_operand for stores into
9416         memory and into integer hard registers.
9417         (clear_df, clear_dfp, movdf_const_intreg_sp32,
9418         movdf_const_intreg_sp64): Remove.
9419         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
9420         conditions.
9421         (movdf_no_e_insn_v9_sp32): New pattern.
9422         (movdf_insn_v9only): Remove.
9423         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
9424         (movdf_insn_sp64): Remove.
9425         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
9426         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
9427         (following splits): Rewrite conditions. Add two new splits
9428         for storing 0.0 into memory and registers.
9429         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
9430         (movtf_insn_sp32): Redo constraints and conditions.
9431         (movtf_insn_vis_sp32): New pattern.
9432         (movtf_no_e_insn_sp32): Redo constraints and conditions.
9433         (movtf_insn_hq_sp64): Likewise.
9434         (movtf_insn_hq_vis_sp64): New pattern.
9435         (movtf_insn_sp64): Redo constraints and conditions.
9436         (movtf_insn_vis_sp64): New pattern.
9437         (movtf_no_e_insn_sp64): Redo constraints and conditions.
9438         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
9439         or memory.
9440         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
9441         -mvis or -m64 to take down the number of various reload patterns.
9442
9443 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
9444
9445         * pa/pa-64.h: New file.
9446         * pa/pa64-regs.h: New file.
9447         * pa/pa64-start.h: New file.
9448         * pa/t-pa64: New file.
9449         * pa/xm-pa64hpux.h: New file.
9450
9451 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9452
9453         * sparc.c (output_restore_regs): Prototype.
9454         (sparc_emit_float_lib_cmp): Constification.
9455
9456         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
9457
9458         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
9459         Prototype.
9460
9461         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
9462         (get_value_hash, hash_rtx): Likewise.
9463
9464         * ssa.c (compute_conservative_reg_partition): Prototype.
9465
9466         * tree.c (mark_hash_entry): Prototype.
9467
9468 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
9469
9470         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
9471         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
9472         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
9473
9474         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
9475         * objc/lang-specs.h: Likewise.
9476
9477 2000-04-03  Neil Booth  <NeilB@earthling.net>
9478
9479         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
9480         and SYNTAX_ERROR2. Replace `' in messages with ''.
9481         (op_to_str): Make re-entrant.
9482         (_cpp_parse_expr): Implement new error macros. Use | rather
9483         than || to logically or 2 boolean integers.  Simply expression
9484         checking we have a left operand iff needed.
9485
9486 2000-04-03  Nick Clifton  <nickc@cygnus.com>
9487
9488         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
9489
9490 2000-04-03  Philip Blundell  <philb@gnu.org>
9491
9492         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
9493
9494 2000-04-03  Felix Lee  <flee@cygnus.com>
9495
9496         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
9497         (run_shell): Use it.
9498
9499 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
9500
9501         * Makefile.in (stmp-int-hdrs): Make include subdir here...
9502         (stmp-fixproto): ...rather than here.
9503
9504 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
9505
9506         * pa.c (print_operand): Compute 'base' only inside the code paths
9507         that use it.
9508
9509 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
9510
9511         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
9512         CEIL_DIV_EXPR.
9513
9514 2000-04-03  Philipp Thomas  <pthomas@suse.de>
9515
9516         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
9517
9518 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
9519
9520         * Makefile.in (alias.o): Depend on $(TREE_H).
9521
9522 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
9523
9524         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
9525         processing C++.
9526         * cpplib.c (_cpp_handle_directive): Improve warnings for
9527         traditional C and indented directives.
9528
9529         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
9530         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
9531         fixinc/inclhack.def: Indent the # of #include_next one space.
9532         * cp/rtti.c: Un-indent #if and #endif.
9533
9534         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
9535         syntax error, but an error has already been printed.
9536         * cpplex.c (_cpp_parse_assertion): Give a more specific error
9537         message when called with nothing remaining on the line.
9538         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
9539         OTHER token, not an ASSERTION.
9540         * cpplib.c (do_assert): When we create a 'base' node, clear
9541         its aschain pointer.
9542
9543 2000-04-02  Neil Booth <NeilB@earthling.net>
9544
9545         * cppexp.c:  New typedef op_t.  struct operation and struct
9546         token updated to use it.
9547         (op_to_str): New function.
9548         (_cpp_parse_expr): Error messages modified to use op_to_str.
9549
9550 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9551
9552         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
9553         before checking MUST_PASS_IN_STACK.
9554
9555 2000-04-02  Neil Booth <NeilB@earthling.net>
9556
9557         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
9558         flags and initial priority into a single constant.  New
9559         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
9560         (_parse_cpp_expr): Implement new constants.  Take left operand
9561         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
9562         parse indicated by reducing FINISHED token.  Remove new lines
9563         from cpp_error messages.
9564
9565 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
9566
9567         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
9568         permanent obstack.
9569
9570 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
9571
9572         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
9573         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
9574         the strings and function names on the fly.  Take the #sccs
9575         entry out of the table if SCCS_DIRECTIVE is not defined.
9576         (_cpp_handle_directive): Decide if the # was at the beginning
9577         of the line here.  Issue -pedantic warnings for extended
9578         directives here.  Warn about K+R directives with the #
9579         indented, and C89/extended directives with the # not indented,
9580         here.
9581         (do_import, do_include_next, do_warning, do_ident, do_sccs,
9582         do_assert, do_unassert): Don't issue pedantic warning here.
9583
9584         * cpphash.h: Add CPP_WTRADITIONAL macro.
9585         * cpplib.h (struct cpp_options): Rename warn_stringify to
9586         warn_traditional; update comments.
9587         * cppinit.c (handle_option): Set warn_traditional not
9588         warn_stringify.
9589         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
9590         CPP_WTRADITIONAL (pfile).
9591         * cpplex.c (_cpp_lex_token): Don't decide if directives should
9592         be ignored in -traditional mode here.
9593
9594         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
9595         to initialize speccase[] and trigraph_map[].  Delete all
9596         references to pfile->input_speccase.  Always treat '?' as a
9597         special character.  Remove table-initialization code from
9598         _cpp_init_input_buffer.
9599
9600         * cpplib.h (struct cpp_reader): Remove input_speccase field.
9601         * cppinit.c (cpp_cleanup): Don't free input_speccase.
9602
9603 2000-04-01  Richard Henderson  <rth@cygnus.com>
9604
9605         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
9606         (mostlyclean): Likewise.
9607
9608         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
9609         (struct dump_file_info, enum dump_file_index, dump_file): New.
9610         (open_dump_file): Take a dump_file_index not a suffix, and a decl
9611         not a string.  Clean out file if we havn't yet done so.  Do nothing
9612         if the dump isn't enabled.
9613         (close_dump_file): Do nothing if the dump isn't open.  Dump
9614         graph data if requested.
9615         (dump_rtl, clean_dump_file): Remove.
9616         (compile_file): Don't clean the dump files.  Only finalize .bp dump
9617         if flag_test_coverage or flag_branch_probabilities.  Only finalize
9618         .combine dump if optimizing.  Iterate over dump_file to finalize the
9619         graph dumps.
9620         (rest_of_compilation): Update for open_dump_file/close_dump_file.
9621         Convert all uses of dump_rtl.
9622         (decode_d_option): Iterate over dump_file to implement 'a' and to
9623         locate pass-specific dumps.
9624
9625 2000-04-01  Neil Booth <NeilB@earthling.net>
9626
9627         * cppexp.c: Redefine priority constants.
9628         (_cpp_parse_expr): Replace left and right priority scheme with
9629         single priority logic.  Move LOGICAL to same place as COMPARE.
9630         Remove bogus check for multiple unary +/- operators.
9631
9632 2000-04-01  Neil Booth <NeilB@earthling.net>
9633
9634         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
9635         within the switch statement.  Binary operations break out of
9636         the switch naturally.  '(' tokens handled by forcing
9637         immediate shift.  ')' handled by forcing immediate reduce to
9638         the previous '('.  New error messages.
9639
9640 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
9641
9642         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
9643         part', it's already in use.  Use %K instead.  Add a return at the
9644         end of what is now %K.
9645         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
9646
9647 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
9648
9649         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
9650         allocate_dynamic_stack_space.
9651         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
9652         update stack_pointer_delta; do not update arg_size_so_far.
9653         (compute_argument_block_size): Use stack_delta instead of
9654         stack_pointer_pending and arg_size_so_far.
9655         (expand_call): Add sanity checking for stack_pointer_delta;
9656         save and restore stack_pointer_delta for SIB, use
9657         stack_pointer_delta for alignment; do not update arg_space_so_far.
9658         (emit_library_call_value): Use stack_pointer_delta for alignment.
9659         (store_one_arg): Do not update arg_space_so_far.
9660         * explow.c (adjust_stack, anti_adjust_stack): Update
9661         stack_pointer_delta.
9662         (allocate_dynamic_stack_space): Add sanity checking for
9663         stack_pointer_delta.
9664         * expr.c (init_expr, clear_pending_stack_adjust): Clear
9665         stack_pointer_delta.
9666         (emit_push_insn): Update stack_pointer_delta.
9667         * function.h (struct expr_status): Add x_stack_pointer_delta;
9668         remove x_arg_space_so_far.
9669         (arg_space_so_far): Remove.
9670         (stack_pointer_delta): New macro.
9671
9672 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
9673
9674         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
9675         Reorder struct cpp_options and struct cpp_reader for better
9676         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
9677         takes two args.  Change all 'char' flags to 'unsigned char'.
9678         Move show_column flag into struct cpp_options.  Don't
9679         prototype cpp_options_init.
9680         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
9681         cppinit.c, cpplex.c, cpplib.c:
9682         Replace CPP_OPTIONS (pfile)->whatever with
9683         CPP_OPTION (pfile, whatever), and likewise for
9684         opts = CPP_OPTIONS (pfile); ... opts->whatever;
9685
9686         * cppinit.c (merge_include_chains): Take a cpp_reader *.
9687         Extract CPP_OPTION (pfile, pending) and work with that
9688         directly.
9689         (cpp_options_init): Delete.
9690         (cpp_reader_init): Turn on on-by-default options here.
9691         Allocate the pending structure here.
9692         (cl_options, enum opt_code): Define these from the same table,
9693         kept in a large macro.  Add -fshow-column and -fno-show-column
9694         options.
9695
9696         * cpperror.c (v_message): If show_column is off, don't print
9697         the column number.
9698
9699         * cppmain.c: Update for new interface.
9700         * fix-header.c: Likewise.
9701
9702 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
9703
9704         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
9705         definition.
9706         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
9707         are passed to any invocation of AR_FOR_TARGET.
9708         (AR_CREATE_FOR_TARGET): New macro.
9709         (AR_EXTRACT_FOR_TARGET): New macro.
9710         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
9711         AR_EXTRACT_FOR_TARGET.
9712         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
9713         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
9714         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
9715         AR_EXTRACT_FOR_TARGET to sub-makes.
9716
9717 2000-03-31  Neil Booth <NeilB@earthling.net>
9718
9719         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
9720         PAREN_INNER_PRIO.
9721         (_cpp_parse_expr): Check for multiple unary +/- operators.
9722         Correct priorities of ':' and '?'.  Treat ')' as having a
9723         value.  Ensure conditional expression is not void.
9724
9725 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
9726
9727         * alias.c (canon_rtx): Make it global.
9728         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
9729         equality.
9730         * cse.c (struct table_elt): Add canon_exp.
9731         (insert): Clear it.
9732         (invalidate): Canonicalize expressions only once.
9733         * rtl.h (canon_rtx): Declare.
9734
9735 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
9736
9737         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
9738         * alias.c (reg_known_value): Add comments.
9739         (init_alias_analysis): Likewise.
9740         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
9741         address.
9742         (cse_basic_block): Fix typo in comment.
9743         * emit-rtl.c: Include hashtab.h.
9744         (const_int_htab): New variable.
9745         (const_int_htab_hash): New function.
9746         (const_int_htab_eq): Likewise.
9747         (rtx_htab_mark_1): Likewise.
9748         (rtx_htab_mark): Likewise.
9749         (gen_rtx_CONST_INT): Cache all CONST_INTs.
9750         (unshare_all_rtx): Fix formatting.
9751         (init_emit_once): Initialize const_int_htab.
9752         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
9753         address.
9754         * rtl.texi: Document the fact that all CONST_INTs with the same
9755         value are shared.
9756
9757 2000-03-30  Richard Henderson  <rth@cygnus.com>
9758
9759         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
9760
9761 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
9762
9763         * configure.in: Comment out --enable-c-cpplib stanza.
9764         * configure: Regenerate.
9765
9766 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9767
9768         * expr.c (store_constructor): Properly compute displacement and
9769         alignment when offset is variable.
9770
9771         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
9772         cases of alignment in bytes.
9773
9774 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
9775
9776         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
9777         since it is used to generate c-parse.y.
9778         * objc-parse.c, objc-parse.y: Regenerated.
9779
9780         * function.c (expand_function_end): Pass alignment argument to
9781         emit_block_move in bits, not bytes.
9782
9783 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9784
9785         * expr.c (move_by_pieces_ninsns): Fix one more missing align
9786         correction.
9787
9788         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
9789
9790         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
9791         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
9792         * function.c (assign_parms): Likewise.
9793         * integrate.c (expand_inline_function): Likewise.
9794         * stmt.c (expand_decl): Likewise.
9795         (copy_rtx_and_substitute): Likewise.
9796         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
9797         (clear_by_pieces): Fix error in last change.
9798         * emit-rtl.c (init_emit): Set known registers alignment in bits.
9799         * function.h (regno_pointer_align): Now unsigned.
9800         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
9801         is in bits.
9802         * config/i386/i386.c (aligned_operand): Likewise.
9803         * config/sparc/sparc.c (mem_min_alignment): Likewise.
9804         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
9805         (unaligned_memory_operand): Likewise.
9806         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
9807         Also make alignments and sizes unsigned and some whitespace cleanup.
9808         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
9809
9810         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
9811         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
9812         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
9813         (expand_builtin_memset): Likewise, but to clear_storage.
9814         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
9815         (restore_fixed_argument_area): Likewise.
9816         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
9817         (load_register_parameters): Likewise, to emit_group_load.
9818         (expand_call): Likewise, to emit_group_store and emit_block_move.
9819         (emit_library_call_value_1): Likewise, to emit_block_move.
9820         (store_one_arg): Likewise, and to emit_push_insn.
9821         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
9822         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
9823         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
9824         (emit_block_move, emit_group_load, emit_group_store): Likewise.
9825         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
9826         (expand_assigment, store_expr, store_constructor_field): Likewise.
9827         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
9828         (store_constructor, store_field, get_inner_reference): Likewise.
9829         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
9830         (expand_expr, case COMPONENT_REF): Likewise.
9831         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
9832         and positions; reindent code.
9833         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
9834         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
9835         (assign_parms): Likewise to emit_group_store.
9836         * optabs.c (prepare_cmp_insn): Alignment is in bits.
9837         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
9838         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
9839         (expand_return): Likewise to {extract,store}_bit_field.
9840         * stor-layout.c (get_mode_alignment): Minor cleanup.
9841         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
9842         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
9843
9844 2000-03-29  Nick Clifton  <nickc@cygnus.com>
9845
9846         * config/arm/arm.h: Undo effects of previous delta:
9847         (ASM_SPEC): Do not define.
9848         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
9849
9850         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
9851         typo.
9852
9853 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
9854
9855         * cppinit.c (cpp_start_read): Call initialize_dependency_output
9856         only after reading in the primary source file.
9857
9858 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
9859
9860         * c-common.c (c_common_nodes_and_builtins): The first parameter to
9861         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
9862         or a reference to a va_list.
9863         * builtins.c (stabilize_va_list): Simplify now we don't have to
9864         work around C array address decay.
9865         * c-typeck.c (convert_for_assignment): Handle assignment to
9866         a reference parameter by taking the address of the RHS.
9867         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
9868         (va_copy): Likewise.
9869         (__va_copy): Likewise.
9870         * ginclude/varargs.h (va_start): Likewise.
9871         (__va_copy): Likewise.
9872
9873 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
9874
9875         * i386/djgpp.h: Remove extraneous "+".
9876
9877         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
9878
9879         * calls.c (expand_call): Fix typo in last change.
9880
9881 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
9882
9883         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
9884         been expanded.
9885
9886 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9887
9888         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
9889         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
9890         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
9891         * tree.c (bit_position, byte_position): Likewise.
9892         * tree.h: Declare new functions.
9893
9894 2000-03-29  Nick Clifton  <nickc@cygnus.com>
9895
9896         * config/arm/arm.c: Minor formatting changes/
9897         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
9898         already defined.
9899         (ASM_SPEC): Define if not already defined.
9900
9901 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
9902
9903         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
9904         _cpp_calc_hash.
9905
9906 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
9907
9908         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
9909         value, don't output it as unsigned.
9910
9911 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
9912
9913         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
9914
9915 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9916
9917         * c-common.c (c_common_nodes_and_builtins): Don't special case
9918         cplus_mode when declaring builtin bzero/bcmp, always avoid
9919         prototype arguments.
9920
9921 2000-03-29  Bruce Korb  <bkorb@gnu.org>
9922
9923         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
9924         to a non-file
9925
9926 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
9927
9928         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
9929         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
9930         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
9931         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
9932         (save_fixed_argument_area, restore_fixed_argument_area):
9933         conditionize by #ifdef REG_PARM_STACK_SPACE only.
9934         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
9935         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
9936         (precompute_register_parameters): Avoid #ifdefs on
9937         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
9938         (stire_one_args): Likewise.
9939         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
9940         (emit_library_call_value_1): Likewise.
9941         (compute_argument_block_size): Align to STACK_BOUNDARY only for
9942         ACCUMULATE_OUTGOING_ARGS.
9943         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
9944         value.
9945         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
9946         (use_crosses_set_p): Likewise.
9947         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
9948         #define ACCUMULATE_OUTGOING_ARGS 1.
9949         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
9950         frames.
9951         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
9952         constants.
9953         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
9954         (TARGET_SWITCHES): Add push-args, no-push-args,
9955         accumulate-outgoing-args and no-accumulate-outgoing-args.
9956         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
9957         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
9958         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
9959         and PUSH_ROUNDING.
9960         (emit_push_insn): Likewise.
9961         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
9962         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
9963         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
9964         (STACK_DYNAMIC_OFFSET): Define correctly for both
9965         ACCUMULATE_OUTGOING_ARGS and normal mode.
9966         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
9967         * tm.texi (PUSH_ARGS): Document.
9968         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
9969
9970 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
9971
9972         * flags.h (flag_optimize_sibling_calls): Declare.
9973         * calls.c (expand_call): Fail sibcall when
9974         !flag_optimize_sibling_calls
9975         * invoke.texi (flag_optimize_sibling_calls): Document.
9976         * toplev.c (flag_optimize_sibling_calls): New global variable.
9977         (f_options): Add flag_optimize_sibling_calls.
9978         (rest_of_compilation): Conditionize
9979         optimize_sibling_and_tail_recursive_calls by
9980         flag_optimize_sibling_calls.
9981         (main): Set flag_optimize_sibling_calls for -O2.
9982         * stmt.c (expand_return): Conditionize tail recursion by
9983         flag_optimize_sibling_calls.
9984
9985 2000-03-29  Richard Henderson  <rth@cygnus.com>
9986
9987         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
9988         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
9989
9990 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
9991
9992         * except.c (add_eh_table_entry): Mark type_info's as referenced.
9993
9994 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9995
9996         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
9997         is given.
9998         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
9999         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
10000         * config/rs6000/aix.h: then modified likewise.
10001
10002 2000-03-28  Richard Henderson  <rth@cygnus.com>
10003
10004         * rtl.h: Redistribute enum reg_note documentation.
10005         Kill trailing whitespace.
10006         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
10007         Kill trailing whitespace.
10008
10009 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
10010
10011         * cppfiles.c (hash_IHASH): Just return i->hash.
10012         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
10013         htab_find_with_hash.
10014         (cpp_read_file): Likewise.
10015         (find_include_file): Likewise.  Properly initialize
10016         ih->nshort.  Share ih->name and ih->nshort if possible.
10017         * cpphash.c (_cpp_calc_hash): New function.
10018         (hash_HASHNODE): Just return h->hash.
10019         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
10020         htab_find_with_hash.
10021         * cpphash.h: Prototype _cpp_calc_hash.
10022         * cppinit.c (initialize_builtins): Provide a valid hash
10023         to _cpp_make_hashnode, using _cpp_calc_hash.
10024
10025         * cpphash.c (collect_expansion): # is not a special character
10026         in object-like macros.  In -traditional mode, /**/ is not
10027         token paste at the beginning or end of the line.
10028         * cpplib.c (do_include, do_import, do_include_next): If
10029         parse_include fails, return immediately.
10030
10031 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
10032
10033         * config/arm/arm.md (return peepholes): Update to reflect the new
10034         call insn patterns.
10035         * config/arm/arm.c (arm_volatile_func): Also check
10036         current_function_nothrow.
10037         (output_return_instruction, output_func_prologue): Use it.
10038         (arm_output_epilogue, arm_expand_prologue): Likewise.
10039
10040 2000-03-27  Tom Tromey  <tromey@cygnus.com>
10041
10042         * gcc.c (handle_braces): In {x*...} case, break out of loop if
10043         switch is found.
10044
10045 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10046
10047         * expr.c (store_constructor): SIZE now signed.
10048         For EXPR_SIZE, don't evaluate size; just needed if constant.
10049         * fold-const.c (fold): Fix a number of cases when folded tree is
10050         wrong type.
10051         * function.c (flush_addressof): Reenable.
10052         * tree.h (flush_addressof): Likewise.
10053         * toplev.c (independent_decode_option): Look at strings_processed.
10054         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
10055
10056 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
10057
10058         * sibcall.c (indentify_call_return_value): Find last call in the chain;
10059         Allow stack adjustment after function call.
10060
10061         * regmove.c (struct csa_memlist): Make mem field rtx *.
10062         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
10063         (try_apply_stack_adjustment): Replace whole MEM rtx.
10064         (combine_stack_adjustments_for_block): Update calls
10065         to record_one_stack_ref.
10066
10067 2000-03-28  Neil Booth  <NeilB@earthling.net>
10068
10069         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
10070         '\\' rather than a null character, so nulls are not special.  Fix
10071         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
10072         speed trigraph conversion.
10073         (_cpp_init_input_buffer): Initialize trigraph map.
10074
10075 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
10076
10077         * config/i386/i386.c (output_387_binary_op): Correct intel
10078         mode assembly output, and add spaces after commas in AT&T
10079         output.  Correct Unixware assembler comment.  Document input
10080         constraints.  Comment fp operations.  Reduce profligate buffer
10081         size.  Remove extraneous abort.  Localize temp var.
10082         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
10083         (output_fix_trunc): Add spaces after commas in assembly output.
10084
10085 2000-03-27  Richard Henderson  <rth@cygnus.com>
10086
10087         * i386-protos.h (ix86_match_ccmode): Declare.
10088         * i386.c (ix86_match_ccmode): New.
10089         (ix86_expand_fp_compare): Update for pattern renames.
10090         (ix86_expand_strlensi_unroll_1): Likewise.
10091         * i386.h (EXTRA_CC_MODES): Add CCZ.
10092         (SELECT_CC_MODE): Use it for EQ/NE zero.
10093         * i386.md (cmpsi_ccz_1): New.
10094         (cmpqi_ccz_1): New.
10095         (*testsi_ccz_1): New.
10096         (testqi_ccz_1): New.
10097         (cmpsi_ccno_1): Rename from cmpsi_0.
10098         (testsi_ccno_1): Rename from testsi_1.
10099         (testqi_ccno_1): Rename from testqi_1.
10100         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
10101         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
10102         (*cmphi_0): Use ix86_match_ccmode.
10103         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
10104         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
10105         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
10106         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
10107         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
10108         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
10109         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
10110         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
10111         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
10112         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
10113         (appropriate peepholes): Likewise.
10114         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
10115         (*subsi_3, *subhi_3, *subqi_3): Remove.
10116         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
10117         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
10118         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
10119         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
10120         (x86_shift_adj_1): Use CCZ.
10121         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
10122
10123 2000-03-27  Stan Cox  <scox@cygnus.com>
10124
10125         * resource.h (mark_resource_type): New.
10126         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
10127         find_free_register): Use mark_resource_type.
10128         (mark_set_resources): Change include_delayed_effects
10129         to mark_resource_type.
10130         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
10131         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
10132         Use mark_resource_type.
10133
10134 2000-03-27  Richard Henderson  <rth@cygnus.com>
10135
10136         * i386.md (call_pop_0, call_value_pop_0): New.
10137         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
10138         (call_value_pop_1): Likewise.
10139         (call_0, call_value_0): New.
10140         (call_1, call_value_1): Remove constraint from unused arg.
10141
10142 2000-03-27  Nick Clifton  <nickc@cygnus.com>
10143
10144         * invoke.texi (Spec Files): Document new spec % command created by
10145         Tom Tromey's recent patch.
10146
10147 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
10148
10149         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
10150         if not defined.
10151
10152 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10153
10154         * expr.c (expand_assignment): Fix typo in last change.
10155
10156         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
10157
10158 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10159
10160         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
10161         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
10162         and DECL_INLINE if FUNCTION_DECL.
10163         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
10164         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
10165         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
10166         (combine_parm_decls): Likewise.
10167         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
10168         * print-tree.c (print_node): Likewise.
10169         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
10170         DECL_TRANSPARENT_UNION on proper decl types.
10171         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
10172         * stor-layout.c (layout_decl): Only check DECL_PACKED and
10173         DECL_BIT_FIELD of FIELD_DECL.
10174         * tree.h (DECL_RESULT_FLD): New macro.
10175
10176         * expr.c (expand_assignment): Add code to handle variable-sized
10177         BLKmode case.
10178
10179 2000-03-26  Richard Henderson  <rth@cygnus.com>
10180
10181         * calls.c (expand_call): Pass parms not original exp to
10182         optimize_tail_recursion.  Mind return value instead of looking
10183         for a barrier.
10184         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
10185         call_expr.  Move checks for call_expr and current_function_decl ...
10186         (expand_return): ... here.
10187
10188 2000-03-26  Tom Tromey  <tromey@cygnus.com>
10189
10190         * gcc.c (handle_braces): Recognize `%{<S}' construct.
10191         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
10192         defines.
10193         (process_command): Use them.
10194         (check_live_switch): Likewise.
10195         (give_switch): Skip ignored switches.
10196
10197 2000-03-26  Jan Hubicka  <jh@suse.cz>
10198
10199         * jump.c (jump_optimize_1): Fix typo in elide optimizations
10200         for minimal jump pass test.
10201
10202 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
10203
10204         * integrate.c (function_cannot_inline_p): Do inline functions that
10205         return `void'.
10206
10207 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10208
10209         * stor-layout.c (layout_type, set_sizetype): early_type_list is
10210         now a list of TREE_LIST entries, not types.
10211         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
10212
10213         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
10214         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
10215         int_bit_position.
10216         * config/mips/mips.c (function_arg): Likewise; also remove cast
10217         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
10218         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
10219         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
10220         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
10221         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
10222         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
10223         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
10224         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
10225         num_adjusts now unsigned.
10226         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
10227         * config/sparc/sparc.c (struct function_arg_record_value_parms):
10228         NREGS now unsigned.
10229         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
10230         as is BITPOS variable; use host_integerp and int_bit_position.
10231         (function_arg_record_value_2): Likewise.
10232         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
10233         Variable REGNO now unsigned.
10234         (function_arg_record_value): NREGS now unsigned.
10235
10236 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
10237
10238         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
10239
10240 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10241
10242         * Rework fields used to describe positions of bitfields and
10243         modify sizes to be unsigned and use HOST_WIDE_INT.
10244         * alias.c (reg_known_value_size): Now unsigned.
10245         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
10246         (really_start_incremental_init): Use bitsize_zero_node.
10247         (push_init_level, pop_init_level, output_init_element): Likewise.
10248         Use bitsize_unit_node and bitsize_one_node.
10249         (output_pending_init_elements, process_init_element): Likewise.
10250         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
10251         (make_extraction): Position and length HOST_WIDE_INT and unsigned
10252         HOST_WIDE_INT, respectively.
10253         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
10254         (num_sign_bit_copies): Returns unsigned.
10255         BITWIDTH now unsigned; rework arithmetic.
10256         Remove recursive call from arg to MAX.
10257         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
10258         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
10259         REGNO now unsigned.
10260         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
10261         (find_split_point, expand_compound_operation, make_extraction): LEN
10262         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
10263         (make_field_assignment): Likewise.
10264         (combine_simplify_rtx): Add cast.
10265         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
10266         (force_to_mode): WIDTH now unsigned; add cast.
10267         (if_then_else_cond): SIZE now unsigned.
10268         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
10269         (extended_count): Now returns unsigned.
10270         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
10271         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
10272         (simplify_comparison): MODE_WIDTH now unsigned.
10273         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
10274         (mark_used_regs_combine): Likewise; rework arithmetic.
10275         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
10276         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
10277         (record_promoted_value): REGNO now unsigned.
10278         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
10279         (get_last_value): REGNO now unsigned.
10280         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
10281         (reg_dead_regno, reg_dead_endregno): Now unsigned.
10282         (remove_death): Arg REGNO now unsigned.
10283         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
10284         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
10285         now unsigned.
10286         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
10287         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
10288         (struct cse_reg_info): REGNO now unsigned.
10289         (cached_regno): Now unsigned.
10290         (REGNO_QTY_VALID_P): Add cast.
10291         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
10292         (remove_invalid_regs): Likewise.
10293         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
10294         as are variables END and I.
10295         (get_cse_reg_info, insert): Likewise.
10296         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
10297         (canon_hash): Likewise.
10298         (insert_regs, lookup_for_remove): REGNO now unsigned.
10299         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
10300         New variable RN.
10301         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
10302         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
10303         * emit-rtl.c (subreg_realpart_p): Add cast.
10304         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
10305         (operand_subword_force): Arg I is now unsigned.
10306         * except.c (eh_regs): Variable I is now unsigned.
10307         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
10308         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
10309         length is unsigned HOST_WIDE_INT; likewise for internal variables.
10310         (store_split_bit_field, extract_fixed_bit_field): Likewise.
10311         (extract_split_bit_field, store_bit_field, extract_bit_field):
10312         Likewise.
10313         * expr.c (store_constructor_fields, store_constructor, store_field):
10314         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
10315         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
10316         (do_jump): Likewise.
10317         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
10318         MAX_SIZE is now unsigned.
10319         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
10320         (emit_group_store): Likewise.
10321         (emit_move_insn): I now unsigned.
10322         (store_constructor): Use host_integerp, tree_low_cst, and
10323         bitsize_unit_node.
10324         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
10325         Rework all calculations to use trees and new fields.
10326         * expr.h (promoted_input_arg): Regno now unsigned.
10327         (store_bit_field, extract_bit_field): Adjust types of pos and size.
10328         (mark_seen_cases): Arg is HOST_WIDE_INT.
10329         * flow.c (verify_wide_reg_1): REGNO now unsigned.
10330         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
10331         precisions and alignments are unsigned.
10332         (optimize_bit_field_compare, fold_truthop): Likewise.
10333         (int_const_binop): Adjust threshold for size_int_type_wide call.
10334         (fold_convert): Likewise.
10335         (size_int_type_wide): Make table larger and fix thinko that only
10336         had half of table used.
10337         (all_ones_mask_p, fold): Precisions are unsigned.
10338         * function.c (put_reg_info_stack): REGNO is unsigned.
10339         (instantiate_decl): Size is HOST_WIDE_INT.
10340         (instantiate_virtual_regs): I is unsigned.
10341         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
10342         (promoted_input_arg): REGNO is unsigned.
10343         * function.h (struct function): x_max_parm_reg is now unsigned.
10344         * gcse.c (max_gcse_regno): Now unsigned.
10345         (struct null_pointer_info): min_reg and max_reg now unsigned.
10346         (lookup_set, next_set): REGNO arg now unsigned.
10347         (compute_hash_table): REGNO and I now unsigned.
10348         (handle_avail_expr): regnum_for_replacing now unsigned.
10349         (cprop_insn): REGNO now unsigned.
10350         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
10351         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
10352         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
10353         * hard-reg-set.h (reg_class_size): Now unsigned.
10354         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
10355         * jump.c (mark_modified_reg): I now unsigned; add cast.
10356         (rtx_equal_for_thread_p): Add cast.
10357         * loop.c (max_reg_before_loop): Now unsigned.
10358         (struct_movable): REGNO now unsigned.
10359         (try_copy_prop): REGNO arg unsigned.
10360         (regs_match_p): XN and YN now unsigned.
10361         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
10362         (strength_reduce): Likewise; NREGS also unsigned.
10363         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
10364         * loop.h (struct iv_class): REGNO now unsigned.
10365         (max_reg_before_loop, first_increment_giv, last_increment_giv):
10366         Now unsigned.
10367         * machmode.h (mode_size, mode_unit_size): Now unsigned.
10368         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
10369         * optabs.c (expand_binop): I and NWORDS now unsigned.
10370         (expand_unop): I now unsigned.
10371         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
10372         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
10373         * real.c (significand_size): Now returns unsigned.
10374         * real.h (significand_size): Likewise.
10375         * regclass.c (reg_class_size): Now unsigned.
10376         (choose_hard_reg_mode): Both operands now unsigned.
10377         (record_reg_classes): REGNO and NR now unsigned.
10378         (reg_scan): NREGS now unsigned.
10379         (reg_scan_update): old_max_regno now unsigned.
10380         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
10381         * reload.c (find_valid_class): BEST_SIZE now unsigned.
10382         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
10383         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
10384         Likewise for variable R.
10385         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
10386         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
10387         (find_equiv_reg): Add casts.
10388         (regno_clobbered_p): Arg REGNO now unsigned.
10389         * reload.h (struct reload): NREGS now unsigned.
10390         (refers_to_regno_for_reload_p): Regno args are unsigned.
10391         (regno_clobbered_p): Likewise.
10392         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
10393         (compute_use_by_pseudos): REGNO now unsigned.
10394         (find_reg): I and J now unsigned, new variable K, and change loop
10395         variables accordingly; THIS_NREGS now unsigned.
10396         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
10397         (spill_hard_reg): REGNO arg now unsigned; add casts.
10398         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
10399         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
10400         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
10401         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
10402         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
10403         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
10404         (emit_reload_insns): REGNO now unsigned.
10405         (reload_cse_move2add): Add cast.
10406         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
10407         and rework loop.
10408         * resource.c (mark_referenced_resources, mark_set_resources): New
10409         variable R; REGNO and LAST_REGNO now unsigned.
10410         (mark_target_live_regs): J and REGNO now unsigned.
10411         * rtl.c (mode_size, mode_unit_size): Now unsigned.
10412         * rtl.h (union rtunion_def): New field rtuint.
10413         (XCUINT): New macro.
10414         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
10415         (operand_subword, operand_subword_force): Word number is unsigned.
10416         (choose_hard_reg_mode): Operands are unsigned.
10417         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
10418         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
10419         (regno_use_in, combine_instructions, remove_death): Likewise.
10420         (reg_scan, reg_scan_update): Likewise.
10421         (extended_count): Return is unsigned.
10422         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
10423         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
10424         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
10425         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
10426         (reg_reg_last_1): FIRS and LAST now unsigned.
10427         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
10428         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
10429         now unsigned.
10430         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
10431         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
10432         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
10433         (replace_regs): Arg NREGS now unsigned.
10434         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
10435         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
10436         (simplify_binary_operation): Likewise.
10437         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
10438         THIS_LAST now unsigned.
10439         (cselib_record_set): Add cast.
10440         * ssa.c (ssa_max_reg_num): Now unsigned.
10441         (rename_block): REGNO now unsigned.
10442         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
10443         sizes now unsigned.
10444         (all_cases_count): Just return -1 not -2.
10445         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
10446         Rework tests to use trees whenever possible.
10447         Use host_integerp and tree_low_cst.
10448         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
10449         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
10450         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
10451         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
10452         (smallest_mode_for_size): Likewise.
10453         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
10454         KNOWN_ALIGN is now an alignment, so simplify code.
10455         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
10456         (start_record_layout): Renamed from new_record_layout_info.
10457         Update to new fields.
10458         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
10459         New functions.
10460         (place_union_field): Renamed from layout_union_field.
10461         Update to use new fields in rli.
10462         (place_field): Renamed from layout_field.
10463         Major rewrite to use new fields in rli; pass alignment to layout_decl.
10464         (finalize_record_size): Rework to use new fields in rli and handle
10465         union.
10466         (compute_record_mode): Rework to simplify and to use new DECL fields.
10467         (finalize_type_size): Make rounding more consistent.
10468         (finish_union_layout): Deleted.
10469         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
10470         (layout_type, case RECORD_TYPE): Call new function names.
10471         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
10472         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
10473         (get_best_mode): UNIT is now unsigned; remove casts.
10474         * tree.c (bit_position): Compute from new fields.
10475         (byte_position, int_byte_position): New functions.
10476         (print_type_hash_statistics): Cast to remove warning.
10477         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
10478         (build_index_type): Likewise; make subtype of sizetype.
10479         (build_index_2_type): Pass sizetype to build_range_type.
10480         (build_common_tree_nodes): Use size_int and bitsize_int to
10481         initialize nodes; add bitsize_{zero,one,unit}_node.
10482         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
10483         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
10484         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
10485         (DECL_FIELD_BITPOS): Deleted.
10486         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
10487         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
10488         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
10489         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
10490         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
10491         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
10492         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
10493         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
10494         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
10495         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
10496         (DECL_ALIGN): Adjust to new field in union.
10497         (DECL_OFFSET_ALIGN): New field.
10498         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
10499         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
10500         (union tree_decl): Add struct for both aligns.
10501         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
10502         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
10503         (struct record_layout_info): Rework fields to have offset
10504         alignment and byte and bit position.
10505         (start_record_layout, place_field): Renamed from old names.
10506         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
10507         (byte_position, int_byte_position): Likewise.
10508         (get_inner_reference): Change types of position and length.
10509         * unroll.c (unroll_loop): New variable R; use for some loops.
10510         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
10511         (calculate_giv_inc): Arg REGNO now unsigned.
10512         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
10513         * varasm.c (assemble_variable): Clean up handling of size using
10514         host_integerp and tree_low_cst.
10515         (decode_addr_const): Use byte, not bit, position.
10516         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
10517         use tree_low_cst and int_bit_position.
10518         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
10519
10520 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
10521
10522         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
10523         (reorder_block_def): New members eff_head and eff_end.
10524         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
10525         (verify_insn_chain): New function.
10526         (skip_insns_between_block): Add code to skip deleted insns.
10527         Check for note before using.
10528         (chain_reorder_blocks): Replace calls to skip_insns_between_block
10529         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
10530         Check for note before using.
10531         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
10532         (fixup_reorder_chain): Restructure, clean up, defect removal.
10533         (reorder_basic_blocks): Remove last_insn and references to it.
10534         Moved insn chain verification code into a new function (see above).
10535         Delete defective code that sets last insn.
10536         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
10537         all blocks.
10538
10539 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10540
10541         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
10542
10543 2000-03-24  Richard Henderson  <rth@cygnus.com>
10544
10545         * tree.c (lang_safe_for_unsave): Remove.
10546         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
10547         allowing for two levels of unsafeness.  Remove lang hook.
10548         * tree.h: Update declarations.
10549         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
10550         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
10551         Always fail sibcalls when there are pending cleanups.
10552
10553 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
10554
10555         * flow.c (propagate_block): When we delete an ADDR_VEC,
10556         also delete the BARRIER following it if there is one.
10557
10558 2000-03-24  Richard Henderson  <rth@cygnus.com>
10559
10560         * builtins.c (expand_builtin_bzero): Convert `length' argument
10561         to sizetype.
10562
10563 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
10564
10565         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
10566         comparison if regno's are equal.
10567         * calls.c (initialize_argument_informat): Add ecf_flags argument.
10568         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
10569         (expand_call): Update caller.
10570         Avoid making a sibling call if argument size of the callee is larger
10571         than argument size of the caller.
10572         Call hard_function_value with outgoing set if in sibcall pass.
10573         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
10574
10575         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
10576         Change LEAF_REGISTERS from an array initializer to actual array
10577         identifier. Move static global variable into the function.
10578         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
10579         sequences for leaf functions.
10580         * global.c (global_alloc): Likewise.
10581         * tm.texi (LEAF_REGISTERS): Update documentation.
10582
10583         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
10584         TARGET_FLAT leaf disabling hack.
10585         (LEAF_REGISTERS): Changed from an array initializer to actual array
10586         identifier to avoid duplication and remove the above hack.
10587         (FUNCTION_OK_FOR_SIBCALL): Define.
10588         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
10589         always like call attribute.
10590         (eligible_for_sibcall_delay): New attribute.
10591         (sibcall): New delay type.
10592         (sibcall, sibcall_value, sibcall_epilogue): New expands.
10593         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
10594         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
10595         * config/sparc/sparc.c (sparc_leaf_regs): New array.
10596         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
10597         New functions.
10598         (output_function_epilogue): Move part of the code into
10599         output_restore_regs.
10600         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
10601         TYPE_SIBCALL.
10602         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
10603         prototypes.
10604
10605         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
10606         until infrastructure is finished.
10607
10608 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
10609
10610         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
10611         (save_parm_insns): Not here.
10612
10613 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10614
10615         * builtins.c (expand_builtin_bzero): New function.
10616         (expand_builtin): Handle bzero.
10617
10618         * builtins.def: Add BUILT_IN_BZERO.
10619
10620         * c-common.c (c_common_nodes_and_builtins): Provide builtin
10621         prototype & function for bzero.
10622
10623 2000-03-23  Michael Meissner  <meissner@redhat.com>
10624
10625         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
10626         change adding TARGET_FP to the TF floating point insns, except for
10627         trunctfsf2, which generates direct calls to truncdfsf2.
10628
10629 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
10630
10631         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
10632         try to protect against middle-end changes that break binary
10633         compatibility.
10634         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
10635
10636 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10637
10638         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
10639
10640 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10641
10642         * calls.c (expand_call): If TARGET is passed by reference and
10643         is readonly, write a CLOBBER.
10644
10645 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10646
10647         * builtins.c (expand_builtin): Handle bcmp.
10648
10649         * builtins.def: Add BUILT_IN_BCMP.
10650
10651         * c-common.c (c_common_nodes_and_builtins): Provide builtin
10652         prototype & function for bcmp.
10653
10654 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
10655
10656         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
10657         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
10658         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
10659
10660 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
10661
10662         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
10663         alternative when using -fp64 -gp32.
10664
10665 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
10666
10667         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
10668         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
10669         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
10670
10671         * frame.h (frame_state): Revert last change.
10672         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
10673         * libgcc2.c (throw_helper): Revert last change.
10674
10675 2000-03-22  Richard Henderson  <rth@cygnus.com>
10676
10677         * stmt.c (expand_asm_operands): Don't promote the temporary.
10678
10679 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
10680
10681         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
10682         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
10683           c_get_alias_set): Likewise.
10684         * c-decl.c (duplicate_decls): Likewise.
10685         * c-typeck.c (default_conversion,build_unary_op): Likewise.
10686         * calls.c (initialize_argument_information): Likewise.
10687         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
10688         Likewise.
10689         * dwarfout.c (decl_class_context,output_type): Likewise.
10690         * expr.c (get_inner_reference): Likewise.
10691         * fold-const.c (simple_operand_p,fold): Likewise.
10692         * function.c (aggregate_value_p): Likewise.
10693         * stmt.c (expand_asm_operands): Likewise.
10694         * varasm.c (named_section): Likewise.
10695
10696 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
10697
10698         Implement dwarf2 exception handling for the ARM.
10699         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
10700         (DWARF_FRAME_RETURN_COLUMN): Define.
10701         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
10702         REG_FRAME_RELATED_EXPR note.
10703         (emit_sfm): Likewise.
10704         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
10705         * dwarf2out.c (reg_save): Handle saving a register to itself.
10706         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
10707         * except.c (eh_regs): Don't use the static chain reg if it's
10708         callee-saved.
10709         * frame.h (frame_state): Add cfa_saved field.
10710         * frame.c (execute_cfa_insn): Set it.
10711         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
10712         the epilogue.
10713         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
10714         Now takes a parm.
10715         (instantiate_virtual_regs): Adjust.
10716         * tm.texi: Adjust.
10717         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
10718         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
10719         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
10720
10721         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
10722         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
10723
10724 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10725
10726         * builtins.def: New file.
10727
10728         * Makefile.in (TREE_H): Depend on builtins.def.
10729
10730         * builtins.c (built_in_names): Use builtins.def.
10731
10732         * tree.h (built_in_function): Likewise.
10733
10734 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
10735
10736         * tree.c (size_in_bytes): Return size_zero_node, not
10737         integer_zero_node.
10738
10739 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
10740
10741         * config/fp-bit.c (pack_d): Correct the case when a denormal
10742         is rounded up and stops being denormal.
10743
10744 2000-03-21  Richard Henderson  <rth@cygnus.com>
10745
10746         * config/alpha/alpha.c (function_arg): Check for void_type_node
10747         before using MUST_PASS_IN_STACK.
10748
10749 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
10750
10751         * regmove.c (combine_stack_adjustments_for_block): Check that
10752         the stack pointer is a valid memory address.
10753
10754 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
10755
10756         * calls.c: re-install Mar 16 emit_library_call merge.
10757
10758 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
10759
10760         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
10761         we cannot be sure that if reload_completed base register will
10762         be properly aligned.
10763
10764 2000-03-21  Richard Henderson  <rth@cygnus.com>
10765
10766         * flow.c (delete_block): Fix typo last change.
10767
10768 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
10769
10770         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
10771         not COMPLETE_TYPE_P, to check the type of the expression.
10772
10773 2000-03-21  Michael Meissner  <meissner@redhat.com>
10774
10775         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
10776         all floating point insns that just tested the macro
10777         TARGET_HAS_XFLOATING_LIBS.
10778         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
10779         used to only use the gprs.
10780
10781 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
10782
10783         * tree.h (COMPLETE_TYPE_P): New macro.
10784         (COMPLETE_OR_VOID_TYPE_P): New macro.
10785         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
10786         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
10787         * c-aux-info.c (gen_type): Use them.
10788         * c-common.c (c_expand_expr_stmt): Likewise.
10789         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
10790         grokdeclarator, grokparms, finish_struct, start_function,
10791         store_parm_decls, combine_parm_decls): Likewise.
10792         * c-parse.y (cast_expr): Likewise.
10793         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
10794         c_size_in_bytes, c_alignof, build_component_ref,
10795         build_indirect_ref, build_array_ref, convert_arguments,
10796         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
10797         * calls.c (initialize_argument_information): Likewise.
10798         * convert.c (convert_to_integer): Likewise.
10799         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
10800         * dwarfout.c (location_or_const_value_attribute,
10801         output_enumeration_type_die, output_structure_type_die,
10802         output_union_type_die, output_type): Likewise.
10803         * expr.c (safe_from_p, expand_expr): Likewise.
10804         * function.c (assign_parms): Likewise.
10805         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
10806         * tree.c (build_array_type, build_function_type,
10807         build_method_type, build_offset_type, build_complex_type): Likewise.
10808         * c-parse.c, c-parse.h: Regenerated.
10809
10810 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10811
10812         * config/c4x/rtems.h: Include config/rtems.h.
10813
10814 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
10815
10816         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
10817         decl is a FUNCTION_DECL
10818
10819 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
10820
10821         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
10822         function uses output registers.  Don't save RP for leaf functions.
10823         Do save RP even if no epilogue.
10824         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
10825         (CALL_USED_REGISTERS): Unmark in registers.
10826         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
10827         to near the middle.
10828
10829 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
10830
10831         * config/rs6000/rs6000.md (bunordered): New expander.
10832         (bordered): New expander.
10833         (buneq): New expander.
10834         (bunge): New expander.
10835         (bungt): New expander.
10836         (bunle): New expander.
10837         (bunlt): New expander.
10838         (bltgt): New expander.
10839
10840         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
10841         (ccr_bit_negated_p): New function.
10842         (print_operand): For %C, generate appropriate cror for UNEQ,
10843         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
10844
10845 2000-03-20  Andreas Jaeger  <aj@suse.de>
10846
10847         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
10848         warning.
10849
10850         * tree.h (safe_for_unsave): Prototype.
10851
10852 2000-03-20  Richard Henderson  <rth@cygnus.com>
10853
10854         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
10855         (combine_stack_adjustments_for_block): Don't allow sp references
10856         in the side of a set we're not fixing up.
10857         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
10858         after life_analysis.
10859
10860 2000-03-20  Richard Henderson  <rth@cygnus.com>
10861
10862         * calls.c (expand_call): Don't bother generating tail call
10863         sequences if there are pending cleanups.  Use
10864         expand_start_target_temps/expand_end_target_temps to elide
10865         cleanups created during sibcall expansion.
10866
10867 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
10868
10869         * configure.in: Set $IFS to a value if it doesn't already have one
10870         in the --enable-checking handling.
10871         * configure: Regenerate.
10872
10873 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10874
10875         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
10876         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
10877         Regenerated.
10878
10879 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
10880
10881         * jump.c (delete_noop_moves): Remove code attempting to
10882         combine stack adjustments.
10883
10884 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10885
10886         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
10887         * except.c (emit_cleanup_handler): Use them.
10888         (expand_end_all_catch): Likewise.
10889         * function.c (fixup_var_refs): Likewise.
10890         (expand_function_end): Clear catch_clauses_last.
10891         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
10892         * except.h (struct eh_status): New field x_catch_clauses_last.
10893         (catch_clauses_last): New define.
10894
10895         * Makefile.in (tree.o): Depend on HASHTAB_H.
10896         * tree.c: Include hashtab.h.
10897         (struct type_hash): Remove next field.
10898         (TYPE_HASH_SIZE): Remove.
10899         (TYPE_HASH_INITIAL_SIZE): New define.
10900         (type_hash_table): Change type to htab_t.
10901         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
10902         mark_hash_entry): New functions.
10903         (init_obstacks): Allocate type hash.
10904         (type_hash_lookup): Use htab functions.
10905         (type_hash_add, mark_type_hash): Likewise.
10906         (dump_tree_statistics): Call print_type_hash_statistics.
10907
10908 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10909
10910         * rs6000/t-aix41: New file.
10911
10912         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
10913
10914 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
10915
10916         * tm.texi (Driver): Fix typos and tweak entry for
10917         INCLUDE_DEFAULTS.
10918         Move misplaced STRUCT_FORCE_BLK entry ...
10919         (Storage Layout): ... to here.
10920         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
10921
10922 2000-03-19  Richard Henderson  <rth@cygnus.com>
10923
10924         * flow.c (delete_block): Delete the addr_vec along with the block.
10925         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
10926         reference labels.
10927
10928         * fold-const.c (extract_muldiv): Apply type check for defined
10929         overflow to multiply as well as divide.
10930
10931         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
10932
10933 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
10934
10935         * emit-rtl.c (remove_unncessary_notes): Check that all
10936         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
10937         associated NOTE_BLOCK.
10938         * function.h (identify_blocks): Update comments.
10939         (reorder_blocks): Declare.
10940         * function.c (identify_blocks): Don't take paramters.
10941         (reorder_blocks): Don't take parameters.
10942         * loop.h (find_loop_tree_blocks): Remove.
10943         (unroll_block_trees): Likewise.
10944         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
10945         reorder_blocks instead of unroll_block_trees.h
10946         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
10947         * stmt.c (find_loop_tree_blocks): Remove.
10948         (unroll_block_trees): Likewise.
10949         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
10950         in whole-function mode.
10951         * tree.h (reorder_blocks): Remove declaration.
10952
10953         * expr.c: Include intl.h.
10954         * Makefile.in (expr.o): Depend on intl.h.
10955
10956 2000-03-18  Richard Henderson  <rth@cygnus.com>
10957
10958         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
10959
10960 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
10961
10962         * tree.h (tree_index): Remove enumerals for integer types.
10963         (integer_type_kind): New type.
10964         (integer_types): New variable.
10965         (char_type_node): Adjust.
10966         (signed_char_type_node): Likewise.
10967         (unsigned_char_type_node): Likewise.
10968         (short_integer_type_node): Likewise.
10969         (short_unsigned_type_node): Likewise.
10970         (integer_type_node): Likewise.
10971         (unsigned_type_node): Likewise.
10972         (long_integer_type_node): Likewise.
10973         (long_unsigned_type_node): Likewise.
10974         (long_long_integer_type_node): Likewise.
10975         (long_long_unsigned_type_node): Likewise.
10976         * tree.c (integer_types): New variable.
10977         (init_obstacks): Register it as a root.
10978
10979 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
10980
10981         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
10982         NEXT_INSN. Update last insn in chain.
10983
10984 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
10985
10986         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
10987         with TYPE_DECL_SUPPRESS_DEBUG set.
10988
10989 2000-03-18  Richard Henderson  <rth@cygnus.com>
10990
10991         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
10992
10993 2000-03-18  Richard Henderson  <rth@cygnus.com>
10994
10995         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
10996         care for HALF_PIC_P.
10997         (expander_call_insn_operand): Remove.
10998         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
10999         * i386.h (PREDICATE_CODES): Update.
11000         * i386.md (all call expanders): Remove predicates, remove special
11001         handling for half-pic.
11002         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
11003         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
11004         (sibcall_epilogue): New.
11005
11006 2000-03-17  Richard Henderson  <rth@cygnus.com>
11007
11008         * rtlanal.c (single_set): Reject if the parallel has anything
11009         except SET or USE or CLOBBER.
11010
11011 2000-03-17  Jeff Law  <law@cygnus.com>
11012             Richard Henderson  <rth@cygnus.com>
11013
11014         * Makefile.in (OBJS): Add sibcall.o.
11015         (sibcall.o): New.
11016         * sibcall.c: New file.
11017         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
11018         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
11019         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
11020         Emit sibcall patterns when requested.  Update all callers.
11021         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
11022         elimination seems feasable.
11023         * final.c (leaf_function_p): Sibling calls don't discount being
11024         a leaf function.
11025         * flow.c (HAVE_sibcall_epilogue): Provide default.
11026         (find_basic_blocks_1): Sibling calls don't throw.
11027         (make_edges): Make edge from sibling call to EXIT.
11028         (propagate_block): Don't remove sibcall_epilogue insns.
11029         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
11030         (sibcall_epilogue): New.
11031         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
11032         (identify_blocks_1): Likewise.  Break out from ...
11033         (identify_blocks): ... here.
11034         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
11035         (reorder_blocks): ... here.
11036         (init_function_for_compilation): Zap prologue/epilogue as varrays.
11037         (record_insns): Extend a varray instead of mallocing new memory.
11038         (contains): Read a varray not array of ints.
11039         (sibcall_epilogue_contains): New.
11040         (thread_prologue_and_epilogue_insns): Emit and record
11041         sibcall_epilogue patterns.
11042         (init_function_once): Allocate prologue/epilogue varrays.
11043         * genflags.c (gen_insn): Treat sibcall patterns as calls.
11044         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
11045         Broken out from ...
11046         (save_for_inline_nocopy): ... here.
11047         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
11048         Broken out from ...
11049         (expand_inline_function): ... here.
11050         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
11051         (subst_constants): Handle 'n' formats.
11052         * jump.c (jump_optimize_minimal): New.
11053         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
11054         optimizations if it's set.
11055         * rtl.c (copy_rtx): Do copy jump & call for insns.
11056         * rtl.h (struct rtx_def): Document use of jump and call for insns.
11057         (SIBLING_CALL_P): New.
11058         (sibcall_use_t): New.
11059         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
11060         Invoke optimize_sibling_and_tail_recursive_calls.
11061         * tree.c (lang_safe_for_unsave): New.
11062         (safe_for_unsave): New.
11063         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
11064
11065         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
11066         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
11067         (*sibcall_osf_1, *sibcall_value_osf_1): New.
11068
11069 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
11070
11071         * objc/objc-act.c (encode_method_prototype): Pass types, not
11072         PARM_DECLs, to int_size_in_bytes.
11073
11074 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
11075
11076         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
11077
11078         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
11079         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
11080
11081 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11082
11083         * Clean up usages of TREE_INT_CST_LOW.
11084         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
11085         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
11086         Regenerated.
11087         * c-tree.h (min_precision): Move declaration to here.
11088         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
11089         (build_unary_op, add_pending_init): Use bit_position.
11090         (pending_init_member, process_init_element): Likewise.
11091         (really_start_incremental_init, push_init_level, pop_init_level):
11092         Don't make copies of nodes or modify them in place, use consistent
11093         types when tracking positions, and use tree routines computations.
11094         (set_init_index, output_init_element): Likewise.
11095         (output_pending_init_elements, process_init_element): Likewise.
11096         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
11097         tree_low_cst and int_bit_position; also minor cleanup.
11098         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
11099         (print_cst_octal): Precision is unsigned.
11100         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
11101         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
11102         (simple_type_align_in_bits): Result is unsigned int.
11103         Use tree_int_low_cst and host_integerp.
11104         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
11105         (field_byte_offset): Result is HOST_WIDE_INT.
11106         Change types of internal variables so alignments are unsigned int,
11107         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
11108         Use host_integerp, tree_low_cst, and int_bit_position.
11109         (add_bit_offset_attribute): Likewise.
11110         (add_data_member_location_attribute): Use tree_cst_low.
11111         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
11112         (add_bit_size_attribute): Use tree_low_cst.
11113         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
11114         * dwarfout.c: Similar changes to dwarf2out.c.
11115         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
11116         * genoutput.c (n_occurences): Return -1 for null string.
11117         (strip_whitespace): Accept null string and make into function.
11118         (scan_operands): Reflect above changes.
11119         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
11120         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
11121         * ssa.c (rename_registers): Add missing cast of arg to bzero.
11122         * tree.c (int_size_in_bytes): Check for too big to represent.
11123         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
11124         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
11125         New declarations.
11126         (min_precision): Delete from here.
11127         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
11128         and int_bit_position.
11129         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
11130         (encode_method_def): Likewise.
11131         (build_ivar_list_initializer): Use int_bit_position.
11132         (generate_shared_structures): Convert size.
11133         (encode_type, encode_complete_bitfield): Use integer_zerop.
11134         (encode_bitfield): Use tree_low_cst and int_bit_position.
11135
11136 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11137
11138         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
11139
11140 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11141
11142         * call.c (special_function_p): It is only malloc if it returns
11143         Pmode.
11144
11145 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11146
11147         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
11148         (C33_FLAG, TARGET_C3X): Add macros.
11149         (TARGET_SWITCHES): Add -m33 option.
11150         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
11151
11152 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11153
11154         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
11155         (PARALLEL_PACK_FLAG): Delete.
11156         (TARGET_SWITCHES): Update.
11157         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
11158
11159 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11160
11161         * fold-const.c (fold): Fix a few cases when the returned result
11162         is not of the same type as the input.
11163
11164 2000-03-16  Nick Clifton  <nickc@cygnus.com>
11165
11166         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
11167         warning.
11168
11169 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11170
11171         * libgcc2.h: Move prototypes above macros with the same name.
11172         Wrap some function prototypes in the conditional which indicates
11173         whether they are supported, i.e. "BITS_PER_UNIT == 8".
11174
11175 2000-03-16  Richard Henderson  <rth@cygnus.com>
11176
11177         * calls.c: Revert last two changes.
11178
11179 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
11180
11181         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
11182         has exponent 0 is a zero.
11183
11184         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
11185         HASH may already be nonzero.  Add code/mode into hash value
11186         immediately after repeat label.
11187         (cselib_lookup): Don't leave the hash table in an inconsistent
11188         state before a hash lookup operation.
11189
11190 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
11191
11192         * i386.md (all HI and QI mode non-move patterns):  Conditionize
11193         by TARGET_[HQ]IMODE_MATH.
11194         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
11195         x86_promote_qi_regs): Declare.
11196         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
11197         TARGET_PROMOTE_QI_REGS): New macros.
11198         (PROMOTE_MODE): New macro.
11199         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
11200         x86_promote_qi_regs): New global variables.
11201
11202 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
11203
11204         * calls.c (emit_library_call_value_1): Break out from ...; handle
11205         VOIDmode function calls too.
11206         (emit_library_call_value): ... here.
11207         (emit_library_call): Implement by calling emit_library_call_value_1.
11208
11209 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
11210
11211         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
11212         Update arg_space_so_far on stack adjustments.
11213         (emit_library_call, emit_library_call_value): Likewise; take into
11214         account arg_space_so_far and pending_stack_adjust when calculcating
11215         the boundary.
11216
11217 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
11218
11219         * flow.c: Move all basic block reordering code into its own file.
11220         (create_basic_block): Externalize.
11221         * bb-reorder.c: New file. Copy all basic block reordering code from
11222         flow.c to this file.
11223         (reorder_basic_blocks): Fix fencepost error in for-loop.
11224         (reorder_basic_blocks): Remove braces from single statement for-loops.
11225         * basic-block.h: Add declaration for create_basic_block.
11226         * Makefile.in: Add rules for bb-reorder.o.
11227
11228 2000-03-16  Neil Booth  <NeilB@earthling.net>
11229
11230         * cppinit.c (handle_option):  Implement #unassert directive
11231         as -A- command line option.
11232         (print_help):  Update.
11233         * cpptexi.c:  Update.
11234
11235 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11236
11237         * md.texi (Standard Names): Document `jump'.
11238
11239 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
11240
11241         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
11242         gotos.
11243
11244 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
11245
11246         Merge changes from newppc-branch onto trunk.
11247
11248         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
11249
11250         * rs6000.c (toc_hash_table): Update for new hash table functions.
11251         (toc_hash_function): Likewise.
11252         (toc_hash_eq): Likewise.
11253         (toc_hash_mark_entry): Likewise.
11254         (toc_hash_mark_table): Likewise.
11255         (output_toc): Likewise.
11256         (rs6000_add_gc_roots): Likewise.
11257
11258         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11259
11260         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
11261         (AR_FLAGS_FOR_TARGET): here.  New macro.
11262
11263         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
11264
11265         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
11266         fpmem_operand) Delete.
11267         (xer_operand) New.
11268         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
11269         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
11270         (rs6000_save_machine_status, rs6000_restore_machine_status,
11271         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
11272         references to above variables.
11273         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
11274         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
11275         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
11276         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
11277         (XER_REGNO_P, XER_REGNO): New.
11278         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
11279         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
11280         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
11281         XER_REGNO_P.
11282         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
11283         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
11284         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
11285
11286         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11287
11288         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
11289         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
11290         * rs6000.h: from here.
11291
11292         * rs6000-protos.h (rs6000_select_section): Provide prototype.
11293         (rs6000_select_rtx_section): Likewise.
11294         (rs6000_encode_section_info): Likewise.
11295         (sdata_section): Likewise.
11296         (sdata2_section): Likewise.
11297         (sbss_section): Likewise.
11298         * sysv4.h (rs6000_select_section): Delete prototype.
11299         (rs6000_select_rtx_section): Likewise.
11300         (rs6000_encode_section_info): Likewise.
11301         (sdata_section): Likewise.
11302         (sdata2_section): Likewise.
11303         (sbss_section): Likewise.
11304         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
11305
11306         * sysv4.h: Delete various unnecessary #undef's and put a comment
11307         on the remaining ones.
11308         Change various comments according to coding standard.
11309
11310         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
11311
11312         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
11313         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
11314         (CR0_REGNO_P) Remove.
11315         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
11316         setup_incoming_varargs, mtcrf_operation, print_operand,
11317         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
11318         Use the above macros.
11319
11320         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
11321
11322         * config/rs6000/rs6000.md: Added a new alternative for each
11323         pattern that had a 'x' alternative but no 'y' alternative.
11324         Added a new split for each of the above patterns.
11325
11326         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
11327
11328         * aix41.h (ASM_CPU_SPEC): Delete.
11329         (CPP_CPU_SPEC): Delete.
11330
11331         * aix.h (RS6000_OUTPUT_BASENAME): Define.
11332         (ASM_OUTPUT_LABEL): Define.
11333         (ASM_GLOBALIZE_LABEL): Define.
11334         (STRIP_NAME_ENCODING): Define.
11335         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
11336         (STRIP_NAME_ENCODING): Don't define.
11337         (ASM_OUTPUT_LABEL): Don't define.
11338         (ASM_GLOBALIZE_LABEL): Don't define.
11339         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
11340         names, and ASM_OUTPUT_LABEL to output labels, rather than
11341         asm_fprintf.
11342         (ASM_OUTPUT_LABEL): Define.
11343         (ASM_OUTPUT_INT): Use assemble_name.
11344         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
11345         (STRIP_NAME_ENCODING): Don't undefine first.
11346         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
11347         ELF.
11348         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
11349         specified with 'asm' even with -fleading-underscore.
11350         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
11351         (output_epilog): Likewise.
11352         (output_toc): Likewise.
11353         * tramp.asm: Handle -fleading-underscore correctly.
11354
11355         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
11356         -mminimal-toc.
11357         (nonlocal_goto_receiver): Delete.
11358         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
11359
11360         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
11361         (SET_ASM_OP): Define.
11362         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
11363
11364         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
11365         (ASM_LONG): Define.
11366
11367         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
11368         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
11369
11370         * rs6000.h: Add 'u' to more constants.
11371
11372         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
11373
11374         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
11375
11376         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
11377
11378         * rs6000.c (reg_or_u_cint_operand): New function.
11379         (logical_operand): Handle 64-bit hosts.
11380         (logical_u_operand): New function.
11381         (non_logical_cint_operand): Handle 64-bit hosts.
11382         (non_logical_u_cint_operand): New function.
11383         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
11384         (PREDICATE_CODES): Define new functions.
11385         * rs6000-protos.h: Declare new functions.
11386         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
11387         (movdi_64): Bracket code intended for 64-bit hosts.  Create
11388         CONST_DOUBLE for 32-bit values.
11389         (scc insns): Generate DImode compares.
11390         (mfcr insns): Create DImode versions.
11391         (sge matchers): New patterns.
11392
11393         2000-02-15  Gabriel Paubert  <paubert@iram.es>
11394
11395         * rs6000.md: Correct instructions length attributes and
11396         constraints on unsigned compare instructions.
11397         (*ne0): Disable for PowerPC64.
11398
11399         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
11400
11401         * rs6000.c (output_function_profiler): Use .long for a 32-bit
11402         quantity, fix profile1.C test failure under -fPIC.
11403
11404         * rs6000.c: Add 'u' to many constants to suppress warnings.
11405         (constant_pool_expr_1): Make static.
11406         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
11407         * rs6000.h: Add 'u' to many constants to suppress warnings.
11408
11409         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
11410         for the start of the TOC, instead of LCTOC..0.
11411         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
11412         of the TOC.
11413         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
11414         (load_toc_aix_di): Use LCTOC..1.
11415
11416         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
11417         * rs6000.c (rs6000_legitimize_address): New function from
11418         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
11419         symbols in the constant pool that really are TOC references.
11420         (print_operand_address): For ELF, write TOC offsets under
11421         -fPIC as subtractions in the insn.
11422         (output_toc): For ELF, define symbols in TOC as normal labels,
11423         to match RTL.
11424         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
11425         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
11426         (create_TOC_reference): Prototype only when RTX_CODE is defined.
11427         * rs6000.md (movsi): Only use create_TOC_reference on
11428         symbols in the constant pool that really are TOC references.
11429
11430         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
11431         * rs6000.c (rs6000_reorg): Delete.
11432         * rs6000-protos.h (rs6000_reorg): Delete.
11433
11434         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
11435
11436         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
11437
11438         * aix.h (SETUP_FRAME_ADDRESSES): Define.
11439         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
11440         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
11441         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
11442         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
11443         rs6000_aix_emit_builtin_unwind_init.
11444         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
11445         rs6000_emit_eh_toc_restore on AIX.
11446         (return_eh_si): Use r2.
11447         (return_eh_di): Use r2.
11448
11449         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
11450         since we're breaking binary compatibility anyway.
11451
11452         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
11453
11454         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
11455         constant_pool_expr_p): Declare them.
11456         (constant_pool_expr_p): Declare it.
11457         * config/rs6000/rs6000.c (toc_label_name): Define.
11458         (rs6000_override_options): Set toc_label_name.
11459         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
11460         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
11461         uses_TOC): New functions.
11462         (print_operand): Delete old '*' case.
11463         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
11464         and strip off rtl for TOC before calling output_addr_const.
11465         (rs6000_emit_load_toc_table): Use toc_label_name.
11466         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
11467         the default.
11468         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
11469         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
11470         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
11471         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
11472         into explicit TOC_REGISTER offsets.
11473         (TOC_REGISTER): New macro.
11474         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
11475         TARGET_TOC to reference TOC_REGISTER.
11476         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
11477         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
11478         uses_TOC before emitting label references.
11479
11480         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
11481
11482         * rs6000.md (stack_tie): Fix warning.
11483
11484         * eabi-ctors.c: Use 'asm' names for the start/end variables,
11485         to handle -fleading-underscore.
11486         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
11487         (USER_LABEL_PREFIX): New macro.
11488         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
11489         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
11490         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
11491         call-linux can use the same multilibs.
11492         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
11493         and call-linux multilibs.  Do multilib with -fleading-underscore.
11494         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
11495         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
11496         to call-aix.
11497
11498         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
11499         have MASK_SOFT_FLOAT set.
11500         (CPP_FLOAT_DEFAULT_SPEC): New macro.
11501         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
11502         CPP_FLOAT_DEFAULT_SPEC.
11503
11504         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
11505         * rs6000.md: Whitespace change.
11506         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
11507         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
11508
11509         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
11510
11511         * rs6000.md (eh_epilogue): New expander.
11512         (eh_reg_restore): New expand/split/insn combination.
11513         (return_eh_si): New insn.
11514         (return_eh_di): New insn.
11515
11516         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
11517         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
11518         * eabi-ctors.c (__do_global_ctors): Register this object's
11519         frame.  Clean up.  Call atexit() after the constructors.
11520         (__do_global_dtors): Deregister this object's frame.  Clean up.
11521         Allow for recursive calls to exit().
11522         * rs6000.c (fixuplabelno): New variable.
11523         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
11524         TARGET_RELOCATABLE, it slows down exec() under linux.
11525         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
11526
11527         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
11528         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
11529         (ASM_OUTPUT_DWARF_DELTA2): New macro.
11530         (ASM_OUTPUT_DWARF_DELTA4): New macro.
11531         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
11532         (ASM_OUTPUT_DWARF_ADDR): New macro.
11533         (ASM_OUTPUT_DWARF_DATA4): New macro.
11534         (ASM_OUTPUT_DWARF_DATA2): New macro.
11535         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
11536         (ASM_OUTPUT_DWARF_OFFSET): New macro.
11537         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
11538
11539         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
11540
11541         * rs6000.c (rs6000_sr_alias_set): New variable.
11542         (rs6000_override_options): Initialise rs6000_sr_alias_set.
11543         (rs6000_emit_stack_tie): New function.
11544         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
11545         in a way that dwarf2out can understand.
11546         (rs6000_frame_related): New function.
11547         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
11548         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
11549         Use rs6000_emit_stack_tie when needed.
11550         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
11551         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
11552         * rs6000.md (stack_tie): New insn.
11553         (return_internal_si): Allow return value to be in the count
11554         register.
11555         (return_internal_di): Likewise.
11556
11557         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
11558
11559         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
11560
11561         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
11562
11563         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
11564
11565         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
11566
11567         * rs6000.md (stmw): Use the right POWER opcode.
11568         (lmw): Likewise.
11569
11570         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11571
11572         * rs6000-protos.h: New file.
11573
11574         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
11575
11576         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
11577         warnings.
11578
11579         * sysv4.h: Likewise.
11580
11581         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
11582
11583         * ../../configure.in: Delete powerpcle-*-winnt*
11584         and powerpcle-*-pe|powerpcle-*-cygwin*.
11585         * ../../configure: Regenerated.
11586         * cygwin.h: Delete.
11587         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
11588         (TARGET_WINDOWS_NT): Delete.
11589         (ABI_NT): Delete.
11590         (CALL_NT_DLLIMPORT): Delete.
11591         Delete NT-specific code.
11592         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
11593         * win-nt.h: Delete.
11594         * t-winnt: Delete.
11595         * nt-ci.asm: Delete.
11596         * nt-cn.asm: Delete.
11597         * ntstack.asm: Delete.
11598
11599         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11600
11601         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
11602         (ASM_FILE_START): Likewise.
11603         (ASM_DECLARE_FUNCTION_NAME): Likewise.
11604         (ASM_OUTPUT_LABELREF): Likewise.
11605         (ASM_OUTPUT_SKIP): Likewise.
11606         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
11607         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
11608         (ASM_OUTPUT_CASE_LABEL): Likewise.
11609         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
11610         (ASM_OUTPUT_ASCII): Likewise.
11611
11612         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
11613
11614         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
11615         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
11616         increment rs6000_pic_labelno here.
11617         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
11618         and increment rs6000_pic_labelno here.
11619
11620         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
11621
11622         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
11623         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
11624         allocation knows (reg) is dead before the insn.
11625
11626         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
11627
11628         * rs6000.md (movsi_to_cr): Correct typo in output template.
11629
11630         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
11631
11632         * rs6000.c (rs6000_pic_labelno): Always define.
11633         (rs6000_pic_func_labelno): Delete.
11634         (lmw_operation): Check for a zero base register,
11635         which doesn't mean what we want.
11636         (stmw_operation): New function.
11637         (print_operand): Define new 'l' modifier.
11638         (rs6000_stack_info): We must save all 64 bits of the registers
11639         if TARGET_POWERPC64.
11640         (rs6000_output_load_toc_table): Delete.
11641         (rs6000_emit_load_toc_table): New function.
11642         (rs6000_allocate_stack_space): Delete.
11643         (rs6000_emit_allocate_stack): New function.
11644         (rs6000_emit_prologue): New function.
11645         (output_prolog): Use rs6000_emit_prologue.
11646         (rs6000_emit_epilogue): Change a few variable names to be
11647         more accurate.  Restore all 64 bits of the registers if
11648         TARGET_POWERPC64.  Only restore the FP registers which were used
11649         if they are being saved/restored one-at-a-time.
11650         (output_mi_thunk): Delete inefficient code generation.
11651         (output_function_profiler): Don't use rs6000_output_load_toc_table.
11652         * rs6000.h: Declare rs6000_emit_load_toc_table,
11653         rs6000_allocate_stack_space, stmw_operation.  Don't declare
11654         rs6000_output_load_toc_table.
11655         * rs6000.md (elf_high): Allow register 0, but discourage it
11656         heavily.
11657         (elf_low): Support loading into register 0.
11658         (load_toc_aix_si): New pattern.
11659         (load_toc_aix_di): New pattern.
11660         (load_toc_v4_pic_si): New pattern.
11661         (load_toc_v4_pic_di): New pattern.
11662         (load_toc_v4_PIC_1): New pattern.
11663         (load_toc_v4_PIC_1b): New pattern.
11664         (load_toc_v4_PIC_2): New pattern.
11665         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
11666         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
11667         (prologue): New expander.
11668         (movesi_from_cr): New pattern.
11669         (stmw): New pattern.
11670         (save_fpregs_si): New pattern.
11671         (save_fpregs_di): New pattern.
11672
11673         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11674
11675         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
11676         (movdi): Likewise.
11677         (movhi): Likewise.
11678         (movqi): Likewise.
11679
11680         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11681
11682         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
11683         at present.
11684         (movsi_got_internal): Likewise.
11685         (movsi_got_internal+1): Likewise.
11686         (set_sp): 'unspec 7' does a SImode clobber.
11687
11688         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11689
11690         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
11691         allocate a stack temporary.
11692         (floatsidf2_internal): Likewise.
11693         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
11694         with unspec.
11695         (floatunssidf2): Don't use the fpmem "register", just
11696         allocate a stack temporary.
11697         (floatunssidf2_internal): Likewise.
11698         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
11699         with unspec.
11700         (floatsidf2_loadaddr): Delete.
11701         (floatsidf2_store1): Delete.
11702         (floatsidf2_store2): Delete.
11703         (floatsidf2_load): Delete.
11704         (fix_truncdfsi2): Don't use the fpmem "register", just
11705         allocate a stack temporary.
11706         (fix_truncdfsi2_internal_si): Delete.
11707         (fix_truncdfsi2_internal_di): Delete.
11708         (fix_truncdfsi2_internal): New insn.
11709         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
11710         (fix_truncdfsi2_store): Delete.
11711         (fix_truncdfsi2_load): Delete.
11712         (fctiwz): Produce gen_fctiwz.
11713
11714         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
11715
11716         * eabi.h (INVOKE__main): Define.
11717         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
11718         specially.
11719         (rs6000_emit_prologue): Likewise.
11720         * rs6000.h (struct rs6000_stack): Don't keep track of whether
11721         this is the main program.
11722
11723         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11724
11725         * rs6000.c (rs6000_va_arg): Delete some unused variables.
11726
11727         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11728
11729         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
11730         goes after the argument.
11731
11732         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
11733
11734         * rs6000.md: Document 'unspec' values used.
11735         (epilogue): New expander.
11736         (movesi_to_cr_one): New expander.
11737         (movesi_to_cr and following): New pattern.
11738         (lmw): New pattern.
11739         (return_internal_si): New pattern.
11740         (return_internal_di): New pattern.
11741         (return_and_restore_fpregs_si): New pattern.
11742         (return_and_restore_fpregs_di): New pattern.
11743         * rs6000.h: Declare new functions.
11744         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
11745         rather than rs6000_calls_p.
11746         (rs6000_makes_calls): Delete.
11747         (lmw_operation): New function.
11748         (mtcrf_operation): New function.
11749         (rs6000_emit_epilogue): New function.
11750         (output_epilog): Call rs6000_emit_epilogue and final if
11751         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
11752
11753         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
11754
11755         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
11756         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
11757         * aix.h (SUBTARGET_SWITCHES): Document switches.
11758         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
11759         sched-prolog and sched-epilog the same.  Document all the
11760         switches.
11761         (TARGET_OPTIONS): No longer allow -mdebug-.
11762
11763         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
11764
11765         * rs6000.h (ASM_FILE_END): Move to aix.h.
11766         (EXTRA_SECTIONS): Move to aix.h.
11767         (READONLY_DATA_SECTION): Move to aix.h.
11768         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
11769         (SELECT_SECTION): Move to aix.h.
11770         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
11771         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
11772         (LINK_REGISTER_REGNUM): New definition.
11773         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
11774         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
11775         AIX and SVR4.
11776         * sysv4.h: Delete the code between the inclusion of rs6000.h
11777         and svr4.h.
11778         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
11779         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
11780         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
11781         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
11782         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
11783         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
11784         (fix_truncdfsi2_internal_di): New pattern.
11785         (fix_truncdfsi2_store): The second arg here is Pmode too.
11786         (fix_truncdfsi2_load): The second arg here is Pmode too.
11787         (tablejumpdi): Now that switch tables hold only SImode values,
11788         gcc needs to know how to add them to the pc which is DImode.
11789         * rs6000.c (rs6000_stack_info): Use symbolic name for
11790         LINK_REGISTER_REGNUM.
11791         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
11792         (output_toc): Delete unused variables s1 and s2.
11793         (output_ascii): Use fputs not fprintf on a variable string.
11794
11795         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
11796
11797         * rs6000.c (processor_target_table): Add power3 as alias for 630.
11798         * aix43.h: Revert Aug 2 change.
11799         (HAS_INIT_SECTION): Define, not visible yet.
11800         (LD_INIT_SWITCH): Define, not visible yet.
11801         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
11802
11803         2000-01-04  Joel Sherrill (joel@OARcorp.com>
11804
11805         * config/rs6000/rtems.h: Include config/rtems.h.
11806
11807         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
11808
11809         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
11810         (SLOW_UNALIGNED_ACCESS): Define.
11811         (CASE_VECTOR_MODE): Always use 32-bit offsets.
11812         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
11813         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
11814         (toc_section): Likewise and .toc pseudo-op.
11815         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
11816         64-bit mode.
11817         (TEXT_SECTION_ASM_OP): Likewise.
11818         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
11819         32-bit offsets.
11820
11821         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
11822
11823         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
11824         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
11825         compiling libgcc2.
11826
11827         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11828
11829         * rs6000.h: Move more stuff from here...
11830         * aix.h: to here.
11831         * sysv4.h: Cleanup accordingly.
11832         * netware.h: Likewise
11833
11834         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11835
11836         * rs6000.h: Continue cleanup.
11837         * aix.h: Likewise.
11838         * lynx.h: Likewise.
11839         * netware.h: Likewise.
11840         * sol2.h: Likewise.
11841         * sysv4.h: Likewise.
11842         * win-nt.h: Likewise.
11843
11844         * rs6000.h (TARGET_SWITCHES): Add descriptions.
11845         (TARGET_OPTIONS): Likewise.
11846
11847         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
11848         (SUBTARGET_OPTIONS): Likewise.
11849
11850         * rs6000.md: Fix compile time warnings.
11851
11852         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
11853
11854         vxworks patches from the Cygnus tree originally by
11855         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
11856         <vmakarov@cygnus.com>.
11857         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
11858         (ENDFILE_SPEC): Likewise.
11859         (LIB_VXWORKS_SPEC): New macro.
11860         (STARTFILE_VXWORKS_SPEC): New macro.
11861         (ENDFILE_VXWORKS_SPEC): New macro.
11862         (LINK_START_VXWORKS_SPEC): New macro.
11863         (LINK_OS_VXWORKS_SPEC): New macro.
11864         (CPP_OS_VXWORKS_SPEC): New macro.
11865         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
11866         * vxppc.h: Rewrite to use proper configuration method.
11867         * vxppcle.h: New file.
11868         * ../../configure.in: Add powerpcle-wrs-vxworks*.
11869         * ../../configure: Rebuilt.
11870
11871         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
11872
11873         Lots of changes to rs6000.h, sysv4.h, aix.h,
11874         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
11875         with the aim that rs6000.h is the first header
11876         included and the others override it.
11877         * aix.h: New file.
11878
11879         * x-aix41-gld: Remove.
11880         * x-aix43: Remove.
11881         * x-aix41: Remove target-specific switches, and don't specify
11882         -Wl,-bbigtoc as we don't need it any more.
11883         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
11884         Use t-aix43 for AIX 4.3 and above.
11885         * ../../configure: Regenerated.
11886
11887         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
11888         options, that don't do anything yet.
11889         (MASK_SCHED_PROLOG): New macro.
11890         (MASK_SCHED_EPILOG): New macro.
11891         (TARGET_SCHED_PROLOG): New macro.
11892         (TARGET_SCHED_EPILOG): New macro.
11893
11894         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
11895
11896         * rs6000.c: Correct comment, the `minimal' TOCs are actually
11897         one per translation unit, not one per function.
11898         (output_toc): Also do duplicate constant elimination
11899         for per-translation-unit TOCs.
11900
11901         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
11902         a comment explaining _exactly_ when this pattern gets used.
11903         (builtin_setjmp_receiver): New pattern for better clarity.
11904         (init_v4_pic): Move it into a section dealing with TOC registers.
11905
11906         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
11907
11908         * rs6000.c (toc_hash_table): New variable.
11909         (rs6000_hash_constant): New function.
11910         (toc_hash_function): New function.
11911         (toc_hash_eq): New function.
11912         (toc_hash_mark_entry): New function.
11913         (toc_hash_mark_table): New function.
11914         (output_toc): Don't output duplicate TOC entries in
11915         a single file.
11916         (rs6000_add_gc_roots): Add the hash table as a GC root.
11917         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
11918         where they clearly shouldn't be.  This may need to be fixed
11919         later when there is a GNU ar for AIX.
11920         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
11921         Don't define BOOT_LDFLAGS as it is now not necessary.
11922
11923         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
11924
11925         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
11926         for va_list on AIX.  Use unsigned_char_type_node rather than
11927         constructing our own version on svr4.
11928
11929         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
11930
11931         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
11932         since patently it's not.
11933
11934         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
11935
11936         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
11937         define_expand/define_insn pair, and handle restore of the
11938         SVR4 -fpic register.
11939
11940 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
11941
11942         * acconfig.h (HAVE_GAS_WEAK): New define.
11943         * configure.in (assembler weak support): Check for .weak support.
11944         * config.in, configure: Rebuilt.
11945         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
11946         HAVE_GAS_WEAK is defined.
11947
11948 2000-03-15  Nick Clifton  <nickc@cygnus.com>
11949
11950         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
11951         asm_fprintf().
11952
11953 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
11954
11955         * cppfiles.c (open_include_file): New function.
11956         (find_include_file, cpp_read_file): Use it.
11957
11958 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
11959
11960         * cpphash.c (dump_hash_helper): Take the slot, not the element.
11961
11962 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
11963
11964         * flow.c (verify_flow_info): Check for unconditional return.
11965
11966 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
11967
11968         * config/ia64/ia64.md (restore_stack_nonlocal): New.
11969         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
11970         (__ia64_restore_stack_nonlocal): New.
11971         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
11972
11973 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11974
11975         * cpphash.c (collect_formal_parameters): Do not complain about
11976         parameter names that just start with `__VA_ARGS__'.
11977
11978 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
11979
11980         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
11981         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
11982         * i386.c (pentiumpro_cost): Set mul cost to 4.
11983         (x86_use_movx): Set for PPro.
11984
11985 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
11986
11987         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
11988         STACK_BOUNDARY for empty frames now.
11989
11990 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
11991
11992         * stor-layout.c (layout_union): Remove.
11993         (layout_union_field): New function, split out from layout_union.
11994         (finish_union_layout): Likewise.
11995         (layout_field): Handle unions by calling layout_union_field.
11996         (finish_record_layout): Handle unions.
11997         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
11998         QUAL_UNION_TYPE handling.
11999
12000 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
12001
12002         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
12003         end of basic block is jump_insn, not barrier; use create_basic_block
12004         instead of creating basic block by hand.
12005
12006 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
12007
12008         * flow.c (reorder_basic_blocks): Account for barriers when writing
12009         over NEXT_INSN (last_bb->end).
12010         (verify_flow_info): Add check for missing barriers.
12011
12012 2000-03-14  Greg McGary  <gkm@gnu.org>
12013
12014         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
12015         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
12016         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
12017         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
12018         __unbounded, __unbounded__): New keywords.
12019         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
12020         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
12021         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
12022
12023 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12024
12025         * cselib.h: New file.
12026         * alias.c: Include "cselib.h".
12027         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
12028         MEMs as two new arguments.
12029         (get_addr): New static function.
12030         (find_base_term): Handle VALUEs.
12031         (memrefs_conflict_p): Likewise.
12032         (true_dependence): Call get_addr on the addresses.
12033         Call fixed_scalar_and_varying_struct_p with addresses that have been
12034         passed through get_addr and canon_rtx.
12035         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
12036         with true_dependence.
12037         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
12038         * loop.c: Include "cselib.h".
12039         (load_mems): Process extended basic block that enters the loop with
12040         cselib.  Use that information to change initialization of the shadow
12041         register so that a constant equivalence is seen by later passes.
12042         * reload1.c: Include "cselib.h".
12043         (reload_cse_invalidate_regno): Delete function.
12044         (reload_cse_mem_conflict_p): Likewise.
12045         (reload_cse_invalidate_mem): Likewise.
12046         (reload_cse_invalidate_rtx): Likewise.
12047         (reload_cse_regno_equal_p): Likewise.
12048         (reload_cse_check_clobber): Likewise.
12049         (reload_cse_record_set): Likewise.
12050         (reg_values): Delete static variable.
12051         (invalidate_regno_rtx): Likewise.
12052         (reload_cse_delete_noop_set): New static function.
12053         (reload_cse_simplify): New static function, broken out of
12054         reload_cse_regs_1.
12055         (reload_cse_noop_set_p): Delete unused argument INSN.
12056         Just call rtx_equal_for_cselib_p on set source and destination.
12057         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
12058         reload_cse_delete_noop_set.  Delete code to keep track of values; use
12059         cselib functions instead.  Delete code to push/pop obstacks.
12060         (reload_cse_simplify_set): Use cselib to find equivalent values.
12061         Delete code to push/pop obstacks.
12062         (reload_cse_simplify_operands): Likewise.
12063         * rtl.def (VALUE): New rtx code.
12064         * rtl.h (union rtunion_def): New elt rt_cselib.
12065         (X0CSELIB, CSELIB_VAL_PTR): New macros.
12066         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
12067         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
12068         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
12069         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
12070         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
12071         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
12072         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
12073         cselib_record_set, cselib_record_sets): New static functions.
12074         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
12075         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
12076         references_value_p): New functions.
12077         (MAX_USELESS_VALUES, REG_VALUES): New macros.
12078         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
12079         n_useless_values, reg_values, callmem, cselib_obstack,
12080         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
12081         New static variables.
12082         * varray.h (union varray_data_tag): New elt te.
12083         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
12084         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
12085         dependencies.
12086
12087 2000-03-14  Nick Clifton  <nickc@cygnus.com>
12088
12089         * gcc.c (do_spec_1): Catch the case where %* is used in a
12090         substitution pattern, but it has not been initialised.
12091         Issue a meaningful error message if an unrecognised operator
12092         is encountered in a spec string.
12093
12094 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
12095
12096         * function.c (prepare_function_start): Correctly initialize
12097         cfun->stack_alignment_needed.
12098
12099 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
12100
12101         * cppfiles.c (find_include_file): Don't assume nshort is a
12102         substring of name.
12103
12104 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
12105
12106         * configure.in (hppa configurations): Add pa32-regs.h to the
12107         list of tm files as appropriate.
12108         * configure: Rebuilt.
12109         * pa.c (compute_frame_size): Remove explicit knowledge about FP
12110         register numbering.
12111         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
12112         (fmpyaddoperands, fmpysuboperands): Likewise.
12113         * pa.h: Remove various definitions which depend on knowing
12114         how registers are numbered.
12115         * pa32-regs.h: New file with PA32 register numbering specific
12116         definitions.
12117
12118 2000-03-14  Richard Henderson  <rth@cygnus.com>
12119
12120         * regmove.c (combine_stack_adjustments): New.
12121         (stack_memref_p, single_set_for_csa): New.
12122         (free_csa_memlist, record_one_stack_memref): New.
12123         (try_apply_stack_adjustment): New.
12124         (combine_stack_adjustments_for_block): New.
12125         * rtl.h (combine_stack_adjustments): Declare.
12126         * toplev.c (rest_of_compilation): Call it.
12127
12128         * i386.md: Revert 2000-01-16 change.
12129
12130 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12131
12132         * gccbug.in: Add web category, gcc specific classes.
12133
12134 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
12135
12136         * stor-layout.c (finalize_record_size): Fix typo.
12137
12138 2000-03-14  Stan Shebs  <shebs@apple.com>
12139
12140         * c-typeck.c (c_alignof): Error on incomplete types.
12141         * extend.texi (Alignment): Document this.
12142
12143 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
12144
12145         * cppfiles.c: Include mkdeps.h.
12146         (find_include_file, read_include_file): Remove _cpp_ prefix
12147         from name, make static.
12148         (_cpp_execute_include): New function, broken out of
12149         do_include.
12150
12151         * cpplib.c: Don't include mkdeps.h.
12152         (struct directive): Remove type field. Reorder entries.  The
12153         function takes only one argument.
12154         (struct if_stack): Make type field an int.
12155         (directive_table): Rename to dtable.  Generate it, the
12156         prototypes of the directive handlers, and the enum for the
12157         directive numbers, from a template macro.
12158         (do_ifndef, do_include_next, do_import): New functions.
12159         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
12160         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
12161         do_ident, do_assert, do_unassert, do_sccs): Take only one
12162         argument.
12163         (do_sccs): Define always, but alter behavior based on
12164         SCCS_DIRECTIVE.
12165         (_cpp_handle_directive, consider_directive_while_skipping):
12166         Restructure for new directive table layout.
12167
12168         (pass_thru_directive): Take a directive number, not a pointer
12169         to a struct directive.
12170         (parse_include): New function, broken out of do_include.
12171         (do_include, do_import, do_include_next): Use parse_include
12172         and _cpp_execute_include.
12173         (do_elif, do_else): Test for T_ELSE specifically when checking
12174         for #elif/#else after #else.
12175         (parse_ifdef): New function, broken out of do_ifdef.
12176         (validate_else): Expect a name arg without a leading #.
12177         (if_directive_name): Delete.
12178         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
12179         directive handlers with only one argument.
12180
12181         * cpphash.h: Update prototypes.
12182         (enum node_type): Remove entries for directives.
12183         * Makefile.in: Update dependencies.
12184
12185         * cpphash.c (dump_hash_helper): Only dump nodes of type
12186         T_MACRO.  Emit a newline after each definition.
12187
12188 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12189
12190         * gccbug.in: New file.
12191         * configure.in (all_outputs): Add gccbug.
12192         * Makefile.in (install-common): Install gccbug.
12193         (GCCBUG_INSTALL_NAME): New variable.
12194         * configure: Rebuilt.
12195
12196 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
12197
12198         * function.c (put_var_into_stack): Use type_for_mode to calculate
12199         part_type.  Use MEM_SET_IN_STRUCT_P.
12200         * expr.c (store_field): Handle CONCAT.
12201         (store_constructor): Use fields_length.
12202         * tree.c (fields_length): New fn.
12203         * tree.h: Declare it.
12204
12205 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
12206
12207         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
12208         (cpplex.o): New target.
12209         * po/POTFILES.in: Add cpplex.c.
12210
12211         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
12212         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
12213         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
12214         skip_block_comment, skip_line_comment, skip_comment,
12215         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
12216         _cpp_parse_name, skip_string, parse_string,
12217         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
12218         _cpp_get_directive_token, find_position,
12219         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
12220         (maybe_macroexpand, _cpp_lex_token): New functions.
12221
12222         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
12223         parse_goto_mark): Delete.
12224         (_cpp_handle_eof): New function.
12225         (_cpp_handle_directive): Rename from handle_directive.
12226         (_cpp_output_line_command): Rename from output_line_command.
12227         (do_if, do_elif): Call _cpp_parse_expr directly.
12228         * cppfiles.c (_cpp_read_include_file): Don't call
12229         init_input_buffer here.
12230         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
12231         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
12232         here; pop the token_buffer and skip the rest of the line here.
12233         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
12234         here.
12235
12236         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
12237         Define here.
12238         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
12239         CPP_GOTO_MARK): New macros.
12240         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
12241         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
12242         _cpp_read_and_prescan, _cpp_init_input_buffer,
12243         _cpp_grow_token_buffer, _cpp_get_directive_token,
12244         _cpp_handle_directive, _cpp_handle_eof,
12245         _cpp_output_line_command): Prototype them here.
12246         * cpplib.h (enum cpp_token): Add CPP_MACRO.
12247         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
12248         quote_string, output_line_command): Remove.
12249
12250 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
12251
12252         * stmt.c (expand_end_case): RANGE may be signed, and when checking
12253         whether it is too large we must also verify that it isn't negative.
12254
12255 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
12256
12257         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
12258         (movsi_zero_liveg0): Remove.
12259         (movsf_insn_novis_liveg0): Remove.
12260         (negsi2): Remove.
12261         (negsi2_not_liveg0): Rename to negsi2.
12262         (one_cmplsi2): Remove.
12263         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
12264         (one_cmplsi2_liveg0): Remove.
12265         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
12266         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
12267         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
12268         (PREDICATE_CODES): Remove zero_operand.
12269         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
12270         TARGET_BROKEN_SAVERESTORE.
12271         (zero_operand): Remove.
12272         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
12273         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
12274         options.
12275         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
12276         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
12277         TARGET_BROKEN_SAVERESTORE): Remove.
12278         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
12279         Remove.
12280         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
12281         Remove.
12282         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
12283         Remove.
12284
12285         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
12286
12287 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
12288
12289         * cpplib.c (do_pragma_implementation): Fix off-by-one error
12290         truncating a string.  Don't assume tokens are nul terminated.
12291         Problem noted by Andreas Jaeger <aj@suse.de>
12292
12293 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
12294
12295         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
12296         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
12297         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
12298
12299 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
12300
12301         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
12302         STRUCTURE_SIZE_BOUNDARY.
12303
12304 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
12305
12306         * tree.h (record_layout_info_s): New structure.
12307         (record_layout_info): New type.
12308         (new_record_layout_info): New function.
12309         (layout_field): Likewise.
12310         (finish_record_layout): Likewise.
12311         * stor-layout.c (layout_record): Remove.
12312         (new_record_layout_info): New function.
12313         (layout_field): New function, broken out from layout_record.
12314         (finalize_record_size): Likewise.
12315         (compute_record_mode): Likewise.
12316         (finalize_type_size): New function, broken out from layout_type.
12317         (finish_record_layout): Likewise.
12318         (layout_type): Use them.
12319
12320 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
12321
12322         * cpphash.c: Don't include version.h.
12323         (special_symbol) [case T_VERSION]: Look for the string in
12324         hp->value.cpval; don't use version_string.
12325         * cppinit.c (initialize_builtins): Set hp->value.cpval for
12326         __VERSION__ to version_string.
12327         * Makefile.in (cpphash.o): Update deps.
12328
12329 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
12330
12331         Convert cpplib to use libiberty/hashtab.c.
12332
12333         * cpplib.h (struct cpp_reader): Make hashtab and
12334         all_include_files of type 'struct htab *'.  Delete HASHSIZE
12335         and ALL_INCLUDE_HASHSIZE macros.
12336
12337         * cpphash.h: Update prototypes.
12338         (struct hashnode): Remove next, prev, and bucket_hdr members.
12339         Make length a size_t.  Add hash member.
12340         (struct ihash): Remove next member.  Add hash member.  Make
12341         name a flexible array member.
12342
12343         * cppfiles.c: Include hashtab.h.
12344         (include_hash): Delete.
12345         (IHASHSIZE): New macro.
12346         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
12347         (cpp_included): Do the hash lookup here.
12348         (_cpp_find_include_file): Rewrite.
12349         (cpp_read_file): Put the "fake" hash entry into the hash
12350         table.  Honor the control_macro, if it turns out we've seen
12351         the file before.  Don't push the buffer here.
12352         (_cpp_read_include_file): Push the buffer here.
12353         (OMODES): New macro.  Use it whenever we call open(2).
12354
12355         * cpphash.c: Include hashtab.h.
12356         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
12357         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
12358         _cpp_lookup_slot): New functions.
12359         (HASHSIZE): new macro.
12360         (hashf, _cpp_install, _cpp_delete_macro): Delete.
12361         (_cpp_lookup): Use hashtab.h routines.
12362
12363         * cppinit.c: Include hashtab.h.
12364         (cpp_reader_init): Call _cpp_init_macro_hash and
12365         _cpp_init_include_hash.  Don't allocate hashtab directly.
12366         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
12367         pfile->all_include_files.
12368         (initialize_builtins): Use _cpp_make_hashnode and
12369         htab_find_slot to add hash entries.
12370         (cpp_finish): Just call _cpp_dump_macro_hash.
12371         * cpplib.c: Include hashtab.h.
12372         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
12373         create hash entries.
12374         (do_pragma_poison, do_assert): Likewise.
12375         (do_include): Don't push the buffer here.  Don't increment
12376         system_include_depth unless _cpp_read_include_file succeeds.
12377         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
12378         or htab_remove_elt.
12379         (do_pragma_implementation): Use alloca to create copy.
12380
12381         * Makefile.in: Update dependencies.
12382
12383 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12384
12385         * cppinit.c (cl_directive_handler): More K&R fixing.
12386
12387 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
12388
12389         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
12390         STACK_BOUNDARY.
12391         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
12392
12393 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12394
12395         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
12396         Change from char[] to macros.
12397
12398 2000-03-12  Neil Booth  <NeilB@earthling.net>
12399
12400         * cppinit.c (cpp_start_read): Update indirect function
12401         call to K&R C.
12402
12403 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
12404
12405         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
12406         entry.
12407
12408         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
12409         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
12410
12411 2000-03-11  Neil Booth  <NeilB@earthling.net>
12412
12413         * cppinit.c (struct pending option): Replace undef with a
12414         pointer to a directive handling routine.
12415         (struct cpp_pending): Replace separate assert_ and define_
12416         lists with one directive_ list.
12417         (new_pending_define): Rename new_pending_directive. Extra
12418         argument is the directive's handling routine.
12419         (handle_option): Update to use new_pending_directive.
12420
12421 2000-03-11  Neil Booth  <NeilB@earthling.net>
12422
12423         * cppfiles.c (file_cleanup, _cpp_find_include_file,
12424         remap_filename, _cpp_read_include_file, actual_directory,
12425         hack_vms_include_specification): Replace bcopy(), index() etc
12426         calls.  Add casts to some allocations.  Make some variables
12427         pointers to const [unsigned] char.
12428         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
12429         collect_formal_parameters): Similarly.
12430         * cppinit.c (struct pending_option, append_include_chain,
12431         cpp_options_init, cpp_reader_init, initialize_standard_includes,
12432         cpp_start_read, new_pending_define, handle_option): Similarly.
12433         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
12434         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
12435         do_pragma_implementation, detect_if_not_defined,
12436         do_ifdef, skip_if_group, cpp_get_token, parse_string,
12437         do_assert, do_unassert): Similarly.
12438         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
12439         function prototypes.
12440         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
12441
12442 2000-03-10  Richard Henderson  <rth@cygnus.com>
12443
12444         * builtins.c (expand_builtin_strlen): Revert last change.
12445         Use emit_insn_before if we're at the beginning of a sequence.
12446
12447 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
12448
12449         * builtins.c (expand_builtin_strlen): Make sure that we have something
12450         at the beginning of the sequence.
12451
12452         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
12453         deferred inlines.
12454
12455         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
12456
12457 2000-03-10  Richard Henderson  <rth@cygnus.com>
12458
12459         * except.c (can_throw): Use INTVAL on a CONST_INT.
12460         (reachable_handlers): Likewise.
12461         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
12462
12463 2000-03-10  Andreas Jaeger  <aj@suse.de>
12464
12465         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
12466         MD_STARTFILE_PREFIX since those are not needed on linux.
12467         (ASM_FILE_START): New, from mips/gnu.h.
12468
12469 2000-03-09  Richard Henderson  <rth@cygnus.com>
12470             Alex Samuel  <samuel@codesourcery.com> and others
12471
12472         * Makefile.in (ssa.o): New rule.
12473         (OBJS): Add ssa.o.
12474         (STAGESTUFF): Add *.ssa and *.ussa.
12475         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
12476         * rtl.def (PHI): New RTL expression.
12477         * rtl.h (clear_log_links): New declaration.
12478         (convert_to_ssa): Likewise.
12479         (convert_from_ssa): Likewise.
12480         * flow.c (split_edge): If the entry node falls through to the
12481         split edge's source block, split the entry edge.
12482         (clear_log_links): New function.
12483         * toplev.c (ssa_dump): New variable.
12484         (flag_ssa): Likewise.
12485         (f_options): Add "ssa".
12486         (compile_file): Create SSA dump files.
12487         (rest_of_compilation): Go to and from SSA if enabled.
12488         (decide_d_option): Handle -de for SSA dump files.
12489         * ssa.c: New file.
12490
12491 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
12492
12493         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
12494         same as VAR_DECL.
12495
12496 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
12497
12498         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
12499
12500 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
12501
12502         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
12503         (MD_STARTFILE_PREFIX_1): New macro.
12504
12505 2000-03-09  Robert Lipe  <robertl@sco.com>
12506
12507         * config/ia64/ia64.c: Include system.h.
12508
12509 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
12510
12511         * except.c (nothrow_function_p): If -fno-exceptions, just return.
12512         (init_eh_nesting_info): Likewise.
12513
12514         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
12515         (TREE_NOTHROW): Rename from TREE_RAISES.
12516         * toplev.c (rest_of_compilation): Set it.
12517         * print-tree.c (print_node): Adjust.
12518         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
12519         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
12520         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
12521         REG_EH_REGION note as appropriate.
12522         (libfunc_nothrow): New fn.
12523         (emit_library_call, emit_library_call_value): Use it.
12524         (expand_call): Check TREE_NOTHROW.
12525
12526         * varasm.c (make_decl_rtl): Skip initial '*' when setting
12527         DECL_ASSEMBLER_NAME.
12528
12529 2000-03-09  Andreas Jaeger  <aj@suse.de>
12530
12531         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
12532         (TARGET_MEM_FUNCTIONS): Define.
12533
12534 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
12535
12536         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
12537
12538         * except.c (can_throw): See through a SEQUENCE.
12539         (nothrow_function_p): New fn.
12540         * except.h: Declare it.
12541         * function.c (current_function_nothrow): New var.
12542         (prepare_function_start): Initialize it.
12543         * output.h: Declare it.
12544         * toplev.c (rest_of_compilation): Set it.
12545         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
12546
12547 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
12548
12549         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
12550         match.  (cpp_compare_defs): Count the nul separator when
12551         advancing over argument names.
12552
12553 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
12554
12555         * recog.c (preprocess_constraints): Matching constraints affect
12556         same alternative/different operand, not same operand/different
12557         alternative.
12558
12559         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
12560         register and a constant specially.
12561
12562 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12563
12564         * libgcc2.h: New file.
12565         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
12566
12567 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
12568
12569         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
12570         * configure: Regenerate.
12571         * config/ia64: New.
12572
12573 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
12574
12575         * Makefile.in (LIBCPP_DEPS): New macro.
12576         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
12577         it to declare deps.
12578         * cpperror.c: Include cpphash.h.
12579         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
12580         dingleberry.
12581         (lex): Don't use CPP_WARN_UNDEF.
12582         (_cpp_parse_expr): Return an int, the truth value.
12583         * cppfiles.c: Include cpphash.h.
12584         (_cpp_merge_include_chains): Move to cppinit.c and make static.
12585         * cppinit.c (include_defaults_array): Disentangle.
12586         (cpp_cleanup): Don't free the if stack here.
12587         (cpp_finish): Pop off all buffers, not just one.
12588         * cpplib.c (eval_if_expr): Return int.
12589         (do_xifdef): Rename do_ifdef.
12590         (handle_directive): Don't use CPP_PREPROCESSED.
12591         (cpp_get_token): Don't use CPP_C89.
12592         * fix-header.c: Don't use CPP_OPTIONS.
12593
12594         * cpplib.h: Move U_CHAR, enum node_type, struct
12595         file_name_list, struct ihash, is_idchar, is_idstart,
12596         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
12597         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
12598         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
12599         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
12600         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
12601         of _cpp_simplify_pathname, _cpp_find_include_file,
12602         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
12603         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
12604         cppinit.c.
12605         Change all uses of U_CHAR to be unsigned char instead.
12606         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
12607
12608 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
12609
12610         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
12611         (dwarf2out_begin_prologue): Set it.
12612         (output_call_frame_info): Don't emit EH unwind info for leaves.
12613
12614         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
12615         can occur outside of an EH region.
12616         * except.c: Correct comments about rethrow behavior.
12617         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
12618
12619 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
12620
12621         * flow.c (make_edges): Always call make_eh_edge for calls.
12622
12623 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
12624
12625         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
12626         (struct cpp_buffer): Remove fname and underflow fields.
12627         (struct cpp_reader): Remove get_token field.
12628         (struct include_hash): Rename to struct ihash.  Add typedef to
12629         IHASH.
12630         (struct if_stack): Remove fname field.
12631         (IF_STACK_FRAME): Rename to IF_STACK.
12632
12633         * cpperror.c (print_containing_files): Trust that there are no
12634         macro buffers below the top file buffer.
12635         * cppfiles.c: Replace all references to 'struct include_hash'
12636         with 'IHASH'.  Rename initialize_input_buffer to
12637         init_input_buffer.  Don't set or reference cpp_buffer->fname,
12638         use buffer->ihash->name instead.
12639         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
12640         not CPP_NULL_BUFFER.
12641         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
12642         IF_STACK_FRAME, IHASH not struct include_hash.
12643         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
12644         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
12645         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
12646         references to cpp_buffer->fname (delete entirely, or use
12647         ->ihash->name instead) and IF_STACK->fname.
12648         (cpp_push_buffer): Don't set new->underflow.
12649         (do_include): Use cpp_file_buffer.
12650
12651         * cpphash.c (collect_formal_parameters): Remove duplicate
12652         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
12653         used as a macro argument name.  Don't append "..." to namebuf
12654         for varargs macros.  After we're done scanning, go through
12655         namebuf and make it NUL separated, not comma separated.
12656         (_cpp_compare_defs): Remove register tag from variables.
12657         Expect defn->argnames to be NUL separated.
12658         (_cpp_dump_definition): Expect defn->argnames to be NUL
12659         separated and in forward order.
12660         * cpphash.h: Update documentation of argnames field.
12661
12662 2000-03-08  Richard Henderson  <rth@cygnus.com>
12663
12664         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
12665         to fail.  Don't pre-expand the source operand.
12666
12667         * i386.md (strlensi): Initialize eoschar and align before use.
12668
12669 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
12670
12671         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
12672         CONSTRUCTOR element.
12673
12674 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
12675
12676         * mips.c (mips_expand_prologue): If the last
12677         named argument is the vararg marker "va_list", treat it as
12678         an unnamed argument.
12679
12680 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
12681
12682         * dbxout.c (dbxout_parms): When correcting for promoted
12683         big-endian parameters, use the mode of the DECL_RTL rather
12684         than UNITS_PER_WORD.
12685
12686 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
12687
12688         * c-common.h (make_fname_decl): Declare.
12689         * c-common.c (make_fname_decl): Define.
12690         (declare_hidden_char_array): Remove.
12691         (declare_function_name): Use make_fname_decl.
12692         * c-decl.c (c_make_fname_decl): New function.
12693         (init_decl_processing): Set make_fname_decl.
12694
12695 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
12696
12697         * cccp.c (handle_directive): Initialize backslash_newlines_p.
12698
12699 2000-03-07  Philipp Thomas  <pthomas@suse.de>
12700
12701         * po/POTFILES.in: Remove cppalloc.c from file list.
12702
12703 2000-03-07  Steve Chamberlain  <sac@pobox.com>
12704
12705         * pj.c (pj_expand_prologue): current_function->args_info is
12706         now current_function_args_info.
12707
12708         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
12709         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
12710         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
12711
12712 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12713
12714         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
12715         output as hexadecimal rather than the default octal.
12716
12717 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
12718
12719         * cpphash.c (special_symbol): Fix thinko in previous commit.
12720
12721 2000-03-07  Neil Booth  <NeilB@earthling.net>
12722
12723         * cppexp.c (struct operation, left_shift, right_shift,
12724         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
12725         "int"s to "unsigned int"s.
12726         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
12727         Similarly.
12728         * cpplib.h: Update for above.
12729         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
12730         returned from allocations.
12731
12732         * cppinit.c (opt_comp, parse_options): New functions.
12733         (handle_option): Use parse_option to parse a single command
12734         line option, that possibly takes an argument.
12735         (cpp_handle_options): Sort the array of command line options on
12736         first invocation (non-ASCII hosts only).
12737         (print_help): Update.
12738
12739 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
12740
12741         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
12742         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
12743
12744         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
12745         initialized.
12746         * cppinit.c (cpp_cleanup): Free imp->nshort also.
12747
12748         * cpperror.c (cpp_print_containing_files,
12749         cpp_print_file_and_line, v_cpp_message): Rename to
12750         print_containing_files, print_file_and_line, and v_message.
12751         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
12752         to _cpp_parse_expr, parse_escape, and lex.
12753         (parse_charconst): Remove broken multibyte support.
12754         * cppfiles.c (include_hash): Make static.
12755         (cpp_included): New function.
12756         (merge_include_chains, find_include_file, finclude,
12757         simplify_pathname): Rename to _cpp_merge_include_chains,
12758         _cpp_find_include_file, _cpp_read_include_file, and
12759         _cpp_simplify_pathname.
12760         * cpphash.c (cpp_lookup, free_definition, delete_macro,
12761         cpp_install, create_definition, macroexpand, compare_defs,
12762         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
12763         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
12764         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
12765         * cppinit.c (cpp_handle_option): Rename to handle_option, make
12766         static.
12767         * cpplib.c: Remove extern prototype of cpp_parse_expr.
12768
12769         * cpphash.h: Update prototypes.
12770         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
12771
12772 2000-03-07  Andrew Haley  <aph@cygnus.com>
12773
12774         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
12775         PTRDIFF_TYPE should be based solely on Pmode.
12776         (SIZE_TYPE): ditto.
12777
12778 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12779
12780         * rtl.h (rtunion_def): Constify member `rtstr'.
12781         (emit_line_note_after, emit_line_note, emit_line_note_force,
12782         emit_note, decode_asm_operands): Constify.
12783
12784         * cse.c (canon_hash): Likewise.
12785
12786         * dbxout.c (dbxout_block): Likewise.
12787
12788         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
12789         v_warning_for_asm): Likewise.
12790
12791         * dwarfout.c (function_start_label): Likewise.
12792
12793         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
12794         emit_line_note_force): Likewise.
12795
12796         * final.c (last_filename, asm_insn_count, final_scan_insn,
12797         output_source_line): Likewise.
12798
12799         * function.h (struct emit_status): Likewise.
12800
12801         * gcse.c (hash_expr_1): Likewise.
12802
12803         * genattr.c (gen_attr, main): Likewise.
12804
12805         * genattrtab.c (struct function_unit, current_alternative_string,
12806         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
12807         attr_numeral, check_attr_test, check_attr_value,
12808         convert_set_attr_alternative, convert_set_attr,
12809         compute_alternative_mask, simplify_by_exploding, gen_attr,
12810         gen_unit): Likewise.
12811
12812         * genflags.c (gen_insn): Likewise.
12813
12814         * gengenrtl.c (type_from_format): Likewise.
12815
12816         * genopinit.c (gen_insn): Likewise.
12817
12818         * genoutput.c (n_occurrences, process_template, process_template):
12819         Likewise.
12820
12821         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
12822         Likewise.
12823
12824         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
12825         Likewise.
12826
12827         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
12828         ggc_set_mark, ggc_get_size): Likewise.
12829
12830         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
12831
12832         * optabs.c (init_one_libfunc): Likewise.
12833
12834         * output.h (assemble_start_function): Likewise.
12835
12836         * recog.c (decode_asm_operands): Likewise.
12837
12838         * toplev.c (rest_of_compilation): Likewise.
12839
12840         * tree.h (emit_line_note_after, emit_line_note,
12841         emit_line_note_force): Likewise.
12842
12843         * varasm.c (asm_output_bss, asm_output_aligned_bss,
12844         asm_emit_uninitialised, assemble_start_function,
12845         assemble_variable, const_hash, compare_constant_1,
12846         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
12847
12848         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
12849
12850         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
12851
12852         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
12853
12854         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
12855
12856         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
12857         arm_dllimport_name_p): Likewise.
12858
12859         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
12860         Likewise.
12861
12862         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
12863
12864         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12865
12866         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
12867         arm_mark_dllexport, arm_mark_dllimport,
12868         arm_pe_encode_section_info): Likewise.
12869
12870         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
12871         ASM_FINISH_DECLARE_OBJECT): Likewise.
12872
12873         * arm/thumb.c (thumb_function_prologue): Likewise.
12874
12875         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
12876
12877         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12878
12879         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
12880
12881         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
12882
12883         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
12884
12885         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12886
12887         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
12888         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
12889
12890         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
12891
12892         * i386/i386.c (asm_output_function_prefix): Likewise.
12893
12894         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
12895
12896         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12897
12898         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
12899
12900         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
12901         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
12902         ASM_OUTPUT_SECTION_NAME): Likewise.
12903
12904         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
12905
12906         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
12907
12908         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
12909
12910         * m32r/m32r.c (m32r_encode_section_info): Likewise.
12911
12912         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12913
12914         * mcore/mcore.c (mcore_encode_section_info): Likewise.
12915
12916         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12917
12918         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12919
12920         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12921
12922         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
12923
12924         * mips/mips.md (movdi, movsi): Likewise.
12925
12926         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12927
12928         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12929
12930         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12931
12932         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
12933         ASM_OUTPUT_ASCII): Likewise.
12934
12935         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
12936         output_mi_thunk, output_toc): Likewise.
12937
12938         * rs6000/rs6000.md (movsi): Likewise.
12939
12940         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
12941
12942         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
12943
12944         * v850/v850.c (print_operand, print_operand_address,
12945         v850_encode_data_area): Likewise.
12946
12947 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
12948
12949         * config/mips/mips.md (zero_extendsidi2): Always force operand
12950         one to memory for mips16.
12951
12952 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12953
12954         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
12955         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
12956         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
12957         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
12958         (min_precision): Result is unsigned.
12959         (add_double, neg_double, mul_double): Low word is unsigned.
12960         (lshift_double, rshift_double, lrotate_double): Likewise.
12961         (rrotate_double, div_and_round_double): Likewise.
12962         (tree_floor_log2, compare_tree_int): New functions.
12963         (preserve_rtl_expr_temps): New declaration.
12964         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
12965         (decl_attributes): Use tree_log2 to find alignment.
12966         Check for TREE_INT_CST_HIGH for format args.
12967         (min_precision): Now unsigned.
12968         Use tree_floor_log2.
12969         (truthvalue_conversion): Delete long-disabled code.
12970         * c-decl.c (finish_struct): Clean up tests on field width.
12971         (finish_function): Use compare_tree_int.
12972         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
12973         * c-typeck.c (comptypes): Use tree_int_cst_equal.
12974         (default_conversion, digest_init): Use compare_tree_int.
12975         (build_binary_op): Use integer_all_onesp and compare_tree_int.
12976         Fix type errors in forming masks.
12977         * calls.c (initialize_argument_information): Use compare_tree_int.
12978         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
12979         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
12980         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
12981         (store_field): Use compare_tree_int.
12982         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
12983         (expand_expr, case ARRAY_REF): Use compare_tree_int.
12984         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
12985         (do_store_flag): Use compare_tree_int.
12986         * fold-const.c (encode, decode): Low part is always unsigned.
12987         (force_fit_type, add_double, neg_double, mul_double): Likewise.
12988         (lshift_double, rshift_double, lrotate_double): Likewise.
12989         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
12990         (fold_convert): Use compare_tree_int.
12991         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
12992         (invert_truthvalue, case INTEGER_CST): Likewise.
12993         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
12994         * mkdeps.c (deps_dummy_targets): Make I unsigned.
12995         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
12996         (lshift_double, rshift_double, lrotate_double, rrotate_double):
12997         Likewise.
12998         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
12999         (expand_end_case): Use compare_tree_int.
13000         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
13001         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
13002         (layout_decl): Likewise.
13003         (layout_record, layout_union): Make sizes unsigned.
13004         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
13005         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
13006         * tree.c (struct type_hash): hashcode is unsigned.
13007         (build_type_attribute_variant, type_hash_list): Likewise.
13008         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
13009         (attribute_hash_list, build_array_type, build_method_type): Likewise.
13010         (build_complex_type): Likewise.
13011         (real_value_from_int_cst): Remove unneeded casts.
13012         (integer_all_onesp): Add casts.
13013         (tree_floor_log2, compare_tree_int): New functions.
13014         (build_index_type): Use tree_int_cst_sgn.
13015         * varasm.c (assemble_variable): Use compare_tree_int.
13016
13017 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
13018
13019         * cpphash.c (collect_expansion): Also catch ## at start of macro.
13020
13021         * varasm.c (make_decl_rtl): Don't add a number to members of
13022         local classes.
13023         (make_function_rtl): Likewise.
13024
13025 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13026
13027         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
13028         patch from 2000-01-28.
13029
13030 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
13031
13032         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
13033         filled with an insn from the jump target.
13034
13035 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13036
13037         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
13038         (c4x_external_ref): Likewise.
13039         * config/c4x/c4x.c (struct name_list): Likewise.
13040
13041 1999-12-16  Ben Collins  <bcollins@debian.org>
13042
13043         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
13044         argument to genmultilib.
13045         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
13046         the contents into the multilib.h header.
13047         * gcc.c: Declare multilib_exclusions for the specs file.
13048         (set_multilib_dir): Use it.
13049         (print_multilib_info): Likewise.
13050         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
13051         to pass to genmultilib.
13052
13053 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13054
13055         * builtins.c (built_in_class_names, built_in_names): Constify a
13056         char*.
13057
13058         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
13059         int.
13060         (_mcleanup): Ensure value matches format specifier in sprintf.
13061
13062         * cpphash.c (special_symbol): Don't needlessly cast away
13063         const-ness.
13064
13065         * cppinit.c (base_name): Delete unused prototype.
13066
13067         * mkdeps.c (deps_init): Make definition K&R safe.
13068
13069         * tree.h (built_in_class_names, built_in_names): Constify a
13070         char*.
13071
13072 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
13073
13074         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
13075         floating point instructions for epilogue delay.
13076
13077         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
13078         to gas if it supports .register pseudo.
13079
13080         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
13081         LONG_DOUBLE_TYPE_SIZE if not defined.
13082         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
13083         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
13084         * real.c: Likewise.
13085         * gengenrtl.c: Likewise.
13086         * print-rtl.c: Likewise.
13087         * rtl.c: Likewise.
13088         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
13089         MASK_LONG_DOUBLE_128.
13090         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
13091         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
13092         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
13093         (SUBTARGET_SWITCHES): Define.
13094         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
13095         with -mlong-double-128.
13096         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
13097         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
13098         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
13099         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
13100         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
13101         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
13102         with -mlong-double-128.
13103         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
13104         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
13105         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
13106         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
13107         TARGET_LONG_DOUBLE_128): Define.
13108         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
13109         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
13110         long double on TARGET_ARCH64.
13111
13112 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
13113
13114         * function.c (free_temps_for_rtl_expr): Don't free slots
13115         that have been pushed into a higher level.
13116
13117         Revert this patch:
13118         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
13119
13120 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
13121
13122         * basic-block.h (ALLOCA_REG_SET): Remove.
13123         (INITIALIZE_REG_SET): New macro.
13124         * flow.c (update_life_info): Use it.
13125         (calculate_global_regs_live): Likewise.
13126         (propagate_block): Likewise.
13127         * global.c (build_insn_chain): Likewise.
13128         * haifa-sched.c (schedule_region): Likewise.
13129
13130 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
13131
13132         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
13133         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
13134         (DWARF_ARANGES_PAD_SIZE): New define.
13135         (output_aranges): Use it to pad the address range header.
13136         (DWARF_ROUND): Fix for non power of 2 rounding.
13137
13138 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
13139
13140         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
13141
13142 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
13143
13144         * tree.def (RTL_EXPR): Update documentation.
13145         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
13146         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
13147         * function.c (preserve_rtl_expr_temp): New function.
13148         (preserve_rtl_expr_temps): Likewise.
13149         (preserve_rtl_expr_result): Use it.
13150
13151         Revert this patch:
13152         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
13153
13154 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
13155
13156         * regmove.c (copy_src_to_dest)  Do not create src->dest move
13157         for unchanging destination.
13158
13159 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
13160
13161         * function.h (struct sequence_stack): Remove rtl_expr.
13162         (struct emit_staus): Likewise.
13163         (seq_rtl_expr): Remove.
13164         * tree.h (free_temps_for_rtl_expr): Don't declare.
13165         (start_sequence_for_rtl_expr): Likewise.
13166         * rtl.h (preserve_rtl_expr_result): Likewise.
13167         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
13168         (start_sequence_for_rtl_expr): Remove.
13169         (push_topmost_sequence): Don't save sequence_rtl_expr.
13170         (pop_topmost_sequence): Remove comment about not restoring it.
13171         (end_sequence): Don't set seq_rtl_expr.
13172         (init_emit): Don't initialize it.
13173         (mark_sequence_stack): Don't mark it.
13174         (mark_emit_status): Likewise.
13175         * except.c (protect_with_terminate): Use
13176         start_sequence_for_rtl_expr, not start_sequence.
13177         * expr.c (expand_expr, case RTL_EXPR): Don't call
13178         preserve_rtl_expr_result or free_temps_for_rtl_expr.
13179         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
13180         (preserve_rtl_expr_result): Remove.
13181         (free_temps_for_rtl_expr): Likewise.
13182         (pop_temp_slots): Likewise.
13183         (mark_temp_slot): Don't mark the rtl_expr.
13184         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
13185         start_sequence_for_rtl_expr.
13186
13187 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
13188
13189         * mkdeps.c, mkdeps.h: New files.
13190         * po/POTFILES.in: Add them.
13191         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
13192         (cpplib.o, cppinit.o): Depend on mkdeps.h.
13193         (mkdeps.o): New target.
13194
13195         * cppfiles.c: Delete deps_output.
13196         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
13197         OBJECT_SUFFIX, and base_name.
13198         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
13199         the include hash.
13200         (initialize_dependency_output): Use deps_init,
13201         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
13202         all the unnecessary string bashing.
13203         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
13204         level.
13205         * cpplib.c (do_include): Use deps_add_dep.
13206         * cpplib.h (struct cpp_reader): Replace deps_buffer,
13207         deps_allocated_size, deps_size, deps_column members with
13208         single pointer to a struct deps.  Delete prototype of
13209         deps_output.
13210
13211         * cppinit.c: Fix thinko in previous patch.
13212
13213 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13214
13215         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
13216         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
13217         (mode_for_size_tree): New function.
13218         (layout_decl, layout_type): Call it and clean up BLKmode checks.
13219         * tree.h (mode_for_size_tree): New declaration.
13220
13221         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
13222
13223 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
13224
13225         * stmt.c (is_body_block): Move...
13226         * dwarfout.c, dwarf2out.c: ...from here.
13227         * tree.h: Declare it.
13228         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
13229         * final.c (final_start_function): Do call remove_unnecessary_notes
13230         when scheduling.
13231
13232 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
13233
13234         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
13235
13236         * cpplib.h (_dollar_ok): New macro.
13237         (is_idchar, is_idstart): Use it.
13238         (IStable): Rename to _cpp_IStable.  Declare it const if
13239         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
13240         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
13241         is_space): Update for renamed IStable.
13242
13243         * cppinit.c: Delete all references to FAKE_CONST and CAT
13244         macros. Define init_IStable as empty macro if gcc >=2.7 or
13245         C99. Change TABLE() to ISTABLE and hardcode name of table.
13246         (cpp_start_read): Don't change the IStable based on
13247         dollars_in_ident.
13248
13249         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
13250         changed.  Handle '$' for char1 correctly.
13251         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
13252
13253         * cppexp.c (tokentab2): Make const.
13254         (cpp_lex): Make toktab const.
13255         * cppinit.c (include_defaults_array): Make const.
13256         (initialize_standard_includes): Make default_include const.
13257
13258 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
13259
13260         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
13261         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
13262         (gen_decl_die): Likewise.
13263         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
13264         (output_decl): Likewise.
13265
13266         * varasm.c (make_function_rtl): If we change the name used in the
13267         rtl, update DECL_ASSEMBLER_NAME accordingly.
13268         (make_decl_rtl): Likewise.
13269
13270         * toplev.c (rest_of_compilation): Tweak formatting.
13271
13272         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
13273         remove_unnecessary_notes.
13274         (debug_ignore_block): New fn.
13275         * toplev.h: Declare it.
13276         * emit-rtl.c (remove_unncessary_notes): Call it.
13277         * dwarf2out.c (dwarf2out_ignore_block): New fn.
13278         * dwarf2out.h: Declare it.
13279         * final.c (final_start_function): Don't call remove_unnecessary_notes
13280         if we did insn scheduling.
13281
13282 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
13283
13284         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
13285         * cpplib.h: Delete SET_CPP_PEDANTIC.
13286
13287 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13288
13289         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
13290         result is a RECORD_TYPE.
13291
13292 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13293
13294         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
13295
13296 2000-03-03  Richard Henderson  <rth@cygnus.com>
13297
13298         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
13299         addition over compliments over shifts.
13300
13301 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13302
13303         * reload1.c (reload_combine_note_use): Handle return register USEs.
13304         REG case: Handle multi-hard-register hard regs.
13305
13306 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13307
13308         * md.texi: Document use of '*' in insn pattern name.
13309
13310 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
13311
13312         * calls.c (special_function_p): operator new may not be malloc-like.
13313
13314         * gcse.c (dump_hash_table): Really fix error in last change.
13315
13316 2000-03-02  Denis Chertykov  <denisc@overta.ru>
13317
13318         * avr.c (print_operand): Use print_operand_address instead of
13319         output_addr_const.
13320         * avr/libgcc.S: Cleanup code.
13321
13322 2000-03-02  Richard Henderson  <rth@cygnus.com>
13323
13324         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
13325
13326 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
13327
13328         * tree.h (TYPE_ALIGN_UNIT): New macro.
13329
13330 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
13331
13332         * i386.c: (constant_call_address_operand): Reject CONST_INT.
13333
13334 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
13335
13336         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
13337         for the buffer.
13338         (SET_CPP_PEDANTIC): New macro.
13339         * cpplib.c (do_include): Don't bother checking system_header_p.
13340         (do_warning, do_ident, do_assert, do_unassert): Likewise.
13341         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
13342
13343         * function.h (struct expr_status): Add x_arg_space_so_far.
13344         (arg_space_so_far): New macro.
13345         * expr.c (init_expr): Initialize it.
13346         * calls.c (emit_call_1): Reset it.
13347         (compute_argument_block_size, expand_call): Use it.
13348         (expand_call, store_one_arg): Increment it.
13349
13350 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13351
13352         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
13353         a UNION_TYPE.
13354
13355 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
13356
13357         * cppfiles.c (cpp_read_file): New function.
13358
13359         * cpphash.c (collect_expansion): Make sure to reset last_token
13360         to NORM when we hit a string.  Handle trailing whitespace
13361         properly when the expansion is empty.
13362         (create_definition): Disable line commands while parsing the
13363         directive line.
13364         (dump_definition): If pfile->lineno == 0, output a line
13365         command ahead of the dump, and add a trailing newline.
13366
13367         * cppinit.c (append_include_chain): Add fifth argument, which
13368         indicates whether or not system headers are C++ aware.
13369         (initialize_standard_includes): New function,
13370         broken out of read_and_prescan.  Pass 'cxx_aware' value from
13371         the include_defaults_array on to append_include_chain.
13372         (dump_special_to_buffer): Const-ify char array.
13373         (builtin_array): Don't dump __BASE_FILE__.
13374         (cpp_start_read): Use cpp_read_file.  Reorder code for
13375         clarity.  Don't output line commands here for -D/-A/-U
13376         switches.  Don't call deps_output for files included with
13377         -include or -imacros.
13378
13379         * cpplib.c (do_define): Don't pay any attention to the second
13380         argument.
13381         (cpp_expand_to_buffer): Disable line commands while scanning.
13382         (output_line_command): Work in the file buffer.
13383         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
13384         Fix formatting of comments.  Prototype cpp_read_file.
13385
13386 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13387
13388         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
13389         reference the language-equivalent of sizetype.
13390         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
13391         * fold-const.c (size_binop, size_diffop): Put back checks.
13392         * gcse.c (dump_hash_table): Fix minor error in last change.
13393         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
13394         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
13395         all sizetypes.
13396
13397 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
13398
13399         * calls.c (expand_call)  Do not attempt to combine stack adjustments
13400         with inhibit_defer_pop set.
13401
13402 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
13403
13404         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
13405         the DECL_SIZE for a FIELD_DECL.
13406
13407 2000-03-01  Bruce Korb  <bkorb@gnu.org>
13408
13409         * fixinc/inclhack.tpl: remove unused symlinks
13410         * fixinc/README: GCC Maintainer info
13411         * fixinc/inclhack.sh: regen
13412         * fixinc/fixincl.sh: regen
13413
13414 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
13415
13416         * cpphash.c (collect_expansion): Trim trailing white space
13417         from macro definitions, but don't go past the last insertion
13418         point.
13419
13420 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
13421
13422         * i386.md (mulqi3): New pattern.
13423
13424 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
13425
13426         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
13427         token types.
13428         (struct cpp_reader): Add parsing_if_directive and
13429         parsing_define_directive flags.
13430         (struct cpp_options): Remove output_conditionals flag.
13431         (check_macro_name): Delete prototype.
13432
13433         * cpphash.h (struct macrodef): Delete.
13434         (struct reflist): Separate from struct definition.
13435         (struct definition): Remove unused fields.  Add column number.
13436         (create_definition): Returns a DEFINITION *.  Takes a
13437         cpp_reader * and an int.
13438
13439         * cpphash.c (SKIP_WHITE_SPACE): Delete.
13440         (PEEKC): Copy defn from cpplib.c.
13441         (rest_extension, REST_EXTENSION_LENGTH): Delete.
13442         (struct arg): New.
13443         (struct arglist): Simplify.
13444         (collect_expansion): Rewrite.  Get tokens by calling
13445         cpp_get_token.  Add more error checking.
13446         (collect_formal_parameters): New function, broken out of
13447         create_definition and reworked to use get_directive_token.
13448         (create_definition): All real work is now in collect_expansion
13449         and collect_formal_parameters.  do_define handles finding the
13450         macro name.  Return a DEFINITION, not a MACRODEF.
13451         (macroexpand): Replace bcopy with memcpy throughout.  Replace
13452         character-at-a-time copy loop with memcpy and pointer increments.
13453         (compare-defs): d1->argnames / d2->argnames might be null.
13454
13455         * cpplib.c (copy_rest_of_line): Delete function.
13456         (skip_rest_of_line): Do all the work ourselves.
13457         (skip_string): New function.
13458         (parse_string): Use skip_string.
13459         (get_macro_name): New function.
13460         (check_macro_name): Delete.
13461         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
13462         (cpp_skip_hspace): Use CPP_BUMP_LINE.
13463         (handle_directive): ICE if we're called on a macro buffer.
13464         (do_define): Determine macro name and type (funlike/objlike)
13465         here.  Expunge all uses of MACRODEF.
13466         (cpp_push_buffer): Set line_base to NULL.
13467         (do_undef, read_line_number): Don't worry about getting a POP token.
13468         (eval_if_expression): Set/reset parsing_if_directive around
13469         cpp_parse_expr. Don't clear only_seen_white.
13470         (skip_if_group): Remove output_conditionals logic.  Use
13471         skip_rest_of_line.
13472         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
13473         tokens under appropriate conditions.
13474         (cpp_unassert): Call do_unassert not do_assert.  Oops.
13475
13476         * cppexp.c (parse_defined): New function, break out of
13477         cpp_lex.
13478         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
13479         ourselves, with cpp_defined.
13480         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
13481
13482         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
13483         * gcc.dg/strpaste-2.c: New.
13484
13485 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
13486
13487         * fold-const.c (size_binop): Don't asert inputs are the same and
13488         have TYPE_IS_SIZETYPE set.
13489         (size_diffop): Likewise.
13490
13491 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
13492
13493         * dwarfout.c (output_block): Output abstract blocks even if they
13494         don't have TREE_ASM_WRITTEN set.
13495
13496         * calls.c (emit_library_call): Check for null REG.
13497
13498 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
13499
13500         * c-decl.c (current_function_decl): Move to toplev.c.
13501         (init_decl_processing): Don't add current_function_decl as a ggc
13502         root here.
13503         * dbxout.c (dbxout_symbol): Change return type to int.
13504         (dbxout_symbol_location, dbxout_syms): Likewise.
13505         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
13506         any locals. Use current_function_func_begin_label if set.
13507         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
13508         * dwarf2out.c (dwarf2out_begin_prologue): Set
13509         current_function_func_begin_label.
13510         * final.c (final_start_function): Reset it.
13511         * toplev.c (current_function_decl): Define it here.
13512         (current_function_func_begin_label): New variable.
13513         (main): Add both as ggc roots.
13514         * tree.h (current_function_func_begin_label): Declare.
13515
13516 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13517
13518         * gcse.c: Cleanups throughout: mostly white-space, but also
13519         some minor rearrangement of code.
13520
13521 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
13522
13523         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
13524         returns a PARALLEL.  Use emit_group_load and use_group_regs
13525         as needed.
13526         (emit_library_call_value): Similarly.
13527
13528         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
13529         * pa/quadlib.asm: Remove.
13530         * pa/quadlib.c: New file.
13531
13532         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
13533         * configure: Rebuilt.
13534
13535 2000-02-29  Philip Blundell  <pb@futuretv.com>
13536
13537         * config/arm/conix-elf.h: New file.
13538         * configure.in (arm*-*-conix*): New configuration.
13539         * configure: Regenerate.
13540
13541 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
13542
13543         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
13544         don't have TREE_ASM_WRITTEN set.
13545
13546 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13547
13548         * Eliminate DECL_FIELD_SIZE.
13549         * builtins.c (built_in_class_names, built_in_names): New variables.
13550         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
13551         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
13552         DECL_SIZE, not DECL_FIELD_SIZE.
13553         * print-tree.c (print_node): Remove code that prints extra blank
13554         lines in some cases.
13555         Properly handle inline and builtin function cases.
13556         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
13557         * tree.h (built_in_class_named, built_in_names): New declarations.
13558         (union tree_decl): Rename internal unions to u1 and u2 and change
13559         some of their components.
13560         Add new field built_in_class.
13561         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
13562         Reflect above changes.
13563         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
13564         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
13565         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
13566         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
13567
13568 2000-02-28  Dmitri Makarov  <dim@windriver.com>
13569
13570         * extend.texi: Document ARM's support for long/short calls.
13571
13572         * invoke.texi: Document ARM's -mlong-calls command line switch.
13573
13574         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
13575         (arm_encode_call_attribute): Add prototype.
13576         (arm_set_default_type_attribute): Add prototype.
13577         (arm_strip_name_encoding): Add prototype.
13578
13579         * config/arm/arm.c (arm_init_cumulative_args): replace
13580         initialisation og 'long_calls' field with initialisation of
13581         'call_cookie' field.
13582         (enum arm_pragma_enum): New enum.
13583         (arm_pragma_long_calls): New static variable.
13584         (arm_process_pragma): Also process "#pragma long_calls_off".
13585         (arm_valid_type_attribute_p): Accept short_call attribute.
13586         (arm_comp_type_attributes): Check long/short call attributes.
13587         (arm_encode_call_attribute):  New function:  Encode long_call
13588         or short_call attribute in function name.
13589         (arm_set_default_type_attributes): New function: Assign
13590         default attributes to newly defined type.
13591         (current_file_function_operand): New function: Return true if
13592         the symbol is a function which has already been compiled.
13593         (arm_is_longcall_p): New function: Return true if the
13594         indicated function should be called via a long call.
13595         (arm_get_strip_length): New function.  Returns number of
13596         prefix characters to be stripped from a function's name.
13597         (arm_strip_name_encoding): New function.  Strip prefix characters
13598         from a function's name.
13599
13600         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
13601         with 'call_cookie'.
13602         (SHORT_CALL_FAG_CHAR): Define.
13603         (LONG_CALL_FAG_CHAR): Define.
13604         (ENCODED_SHORT_CALL_ATTR_P): Define.
13605         (ENCODED_LONG_CALL_ATTR_P): Define.
13606         (ARM_NAME_ENCODING_LENGTHS): Define.
13607         (STRIP_NAME_ENCODING): Define.
13608         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
13609         (ARM_ENCODE_CALL_TYPE): Define.
13610         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
13611         (ARM_DECLARE_FUNCTION_SIZE): Define.
13612         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
13613
13614         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
13615         if a long call is needed.
13616         (call_value): Ditto.
13617         (call_symbol): Ditto.
13618
13619         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
13620         ARM_DECLARE_FUNCTION_SIZE.
13621
13622         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
13623         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
13624         (ARM_STRIP_NAME_ENCODING): Undefine.
13625         (STRIP_NAME_ENCODING): Undefine.
13626         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
13627         (ASM_DECLARE_FUNCTION_NAME): Ditto.
13628         (ASM_OUTPUT_COMMON): Ditto.
13629         (ASM_DECLARE_OBJECT_NAME): Ditto.
13630
13631         * config/arm/pe.c (arm_dllexport_name_p): Check for
13632         ARM_PE_FLAG_CHAR.
13633         (arm_dllimport_name_p): Ditto.
13634         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
13635         (arm_mark_dllimport): Ditto.
13636
13637 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13638
13639         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
13640
13641 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
13642
13643         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
13644
13645 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
13646
13647         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
13648         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
13649         NO_BUILTIN_WCHAR_TYPE is not defined.
13650         (CPP_WCHAR_TYPE): Delete.
13651         * cccp.c (main): Don't change wchar_type if cplusplus.
13652         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
13653
13654 2000-02-28  Nick Clifton  <nickc@cygnus.com>
13655
13656         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
13657
13658 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
13659
13660         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
13661         (ASM_WEAKEN_LABEL): Define.
13662
13663 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
13664
13665         * expr.c (store_constructor): Do not emit USE.
13666         * rtl.h (stupid_life_analysis): Remove.
13667
13668 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13669
13670         * function.c (number_blocks): Reset next_block_index based on
13671         what debugging format is used, not what is defined.
13672
13673         * lcm.c: Minor reformatting throughout.
13674         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
13675
13676         * toplev.c (rest_of_compilation): Account for time in
13677         optimize_mode_switching.
13678
13679         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
13680         if only marking labels.
13681
13682 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
13683
13684         * calls.c (expand_call): Attempt to combine stack adjustments with
13685         pending stack adjustments.
13686
13687 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13688
13689         * loop.c (reg_in_basic_block_p): Don't abort when falling through
13690         to the end of the function.
13691
13692 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
13693
13694         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
13695         blocks.
13696         * final.c (next_block_index): Remove.
13697         (max_block_depth): Likewise.
13698         (pending_blocks): Likewise.
13699         (init_final): Don't initialize them.
13700         (final_start_function): Don't set next_block_index.  Set up
13701         BLOCK_NUMBER.
13702         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
13703         * function.h (number_blocks): New function.
13704         * function.c (get_block_vector): New function.
13705         (identify_blocks): Use it.
13706         (reorder_blocks): Set NOTE_BLOCK.
13707         (number_blocks): New function.
13708         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
13709         * tree.h (BLOCK_NUMBER): New macro.
13710         (tree_block): Add block_num field.
13711         * dbxout.c (next_block_number): Remove.
13712         (dbxout_init): Don't set it.
13713         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
13714         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
13715         block numbers.
13716         * toplev.c (rest_of_compilation): Always call
13717         find_loop_tree_blocks.  Fix indentation.
13718         * dwarf2out.c (next_block_number): Remove.
13719         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
13720         to determine block numbers.
13721         (gen_inlined_subroutine_die): Likewise.
13722         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
13723         (decls_for_scope): Don't increment next_block_number.
13724         * dwarfout.c (next_block_number): Remove.
13725         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
13726         to determine block numbers.
13727         (output_inlined_subroutine_die): Likewise.
13728         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
13729         (output_decls_for_scope): Don't increment next_block_number.
13730         * sdbout.c (next_block_number): Remove.
13731         (sdbout_block): Use BLOCK_NUMBER.
13732         (sdbout_begin_block): Simplify.
13733         * xcoffout.c (next_block_number): Remove.
13734         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
13735         (xcoffout_begin_block): Don't set next_block_number.
13736         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
13737         next_block_number.
13738
13739 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13740
13741         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
13742         (expand_builtin_strcpy): Pass correct type to size_binop.
13743         (expand_builtin_strcmp): Likewise.
13744         Clean up conditional structure.
13745         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
13746         (complete_array_type): Don't use size_binop for MAXINDEX.
13747         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
13748         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
13749         (c_alignof): Use size_one_node.
13750         (build_unary_op): Pass arg of proper type to size_binop.
13751         (really_start_incremental_init, push_init_level): Use sizetype for
13752         constructor{,_bit,_unfilled}_index.
13753         (pop_init_label, output_init_element): Likewise.
13754         (output_pending_init_elements, process_init_element): Likewise.
13755         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
13756         * expr.c (store_expr): Use size_int.
13757         (store_constructor): Use proper types for size_binop args.
13758         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
13759         (expand_expr_unaligned): Likewise.
13760         (string_contant): Return object of sizetype.
13761         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
13762         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
13763         (ARGS_SIZE_TREE): Pass proper types to size_binop.
13764         * fold-const.c (int_const_binop): Refine when size_int is called.
13765         (fold_convert): Likewise.
13766         (size_int_wide): Rework to take KIND as arg, only take low order
13767         bits, handle new sizetype_tab datatype, and chain entries in
13768         size_table.
13769         (size_int_type_wide): New function.
13770         (size_binop): Validate types of arguments.
13771         (ssize_binop): Deleted.
13772         (size_diffop): New function.
13773         (extract_muldiv): Only fold division into multiplication for sizetypes.
13774         * function.c (assign_parms): Use size_diffop and make sure
13775         VAR field is of ssizetype; also pass proper type to size_binop.
13776         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
13777         (round_down): Deleted from here.
13778         * store-layout.c (sizetype_tab): Now an array.
13779         (sizetype_set, early_root_list): New variables.
13780         (variable_size): Use size_one_node.
13781         (round_up): Pass proper type to size_binop.
13782         (round_down): Moved to here and corrected as above.
13783         (layout_record): Pass proper arg types to size_binop.
13784         (layout_type): Likewise.
13785         If sizetype_set is zero, record the type just laid out.
13786         (make_unsigned_type): Don't call set_sizetype;
13787         (make_signed_type): Likewise; also, call fixup_signed_type.
13788         (initialize_sizetypes): New function.
13789         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
13790         set name of bitsizetype to "bit_size_type".
13791         Fix up type of sizes of all types made before call.
13792         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
13793         * tree.c (fix_sizetype): Deleted.
13794         (build_common_tree_nodes): Call initialize_sizetypes.
13795         (build_common_tree_nodes_2): Don't call fix_sizetype.
13796         * tree.h (TYPE_IS_SIZETYPE): New macro.
13797         (initialize_sizetype): New declaration.
13798         (enum size_type_kind): New type.
13799         (struct sizetype_tab): Deleted.
13800         (sizetype_tab): Now array; adjust sizetype macros.
13801         (size_diffop, size_int_type_wide): New functions.
13802         (size_int_wide): Change number of args and type; access macros changed.
13803         (ssize_int, sbitsize_int): New macros.
13804         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
13805         (ROUND_TYPE_SIZE_UNIT): New macro.
13806
13807 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
13808
13809         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
13810
13811 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13812
13813         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
13814         Mark as possibly unused.
13815
13816         * cse.c (cse_insn): Delete dead code involving tablejump.
13817         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
13818
13819         * Makefile.in (libcpp.a): Start by deleting it.
13820
13821 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13822
13823         * cpplib.h (enum file_change_code): Added rename_file.
13824         * cpplib.c (do_line): If a filename is given, set file_change to
13825         rename_file.
13826         (output_line_command): If file_change is rename_file, always
13827         output a # directive with the file name.
13828
13829         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
13830
13831 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
13832
13833         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
13834         when copying a PARM_DECL or RESULT_DECL.
13835
13836 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13837
13838         * fix-header.c (recognized_function): Also fix prototypes for
13839         functions taking "void".
13840
13841 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
13842
13843         * reload1.c (do_output_reload): Check reg_reloaded_valid before
13844         looking at reg_reloaded_contents.
13845
13846 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
13847
13848         * Makefile.in (STMP_FIXINC): New toggle.
13849         (LIBGCC2_DEPS): Delete all references.
13850         (stmp-headers): Delete target.  All references either deleted
13851         or changed to stmp-int-headers.
13852         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
13853         (LIBCPP_OBJS): Take out cppalloc.o.
13854         (cppalloc.o): Delete target.
13855         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
13856         (gen-protos, fix-header): Link with libiberty.a.
13857         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
13858         to empty.
13859
13860         * configure.in: Remove refs to strerror.
13861         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
13862         * system.h: Take out strerror stanza.
13863
13864         * cpperror.c (my_strerror): Delete function.
13865         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
13866         * cppmain.c (main): Call xmalloc_set_program_name first thing.
13867         * cppalloc.c: Delete file.
13868         * gen-protos.c: Don't provide xrealloc.
13869
13870         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
13871         xstrerror throughout.
13872
13873 2000-02-26  Bruce Korb  <bkorb@gnu.org>
13874
13875         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
13876         match for DOS headers, too.
13877         * fixinc/inclhack.sh,fixincl.x: Regenerate.
13878
13879 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
13880
13881         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
13882         is right for most ELF targets.
13883         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
13884         Let the default file use %U properly.
13885         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
13886         default.
13887
13888         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
13889         numbers.
13890
13891 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13892
13893         * toplev.c (documented_lang_options): Correct spelling error.
13894         (decode_d_option, decode_f_option, main): Likewise.
13895
13896         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
13897
13898         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
13899         to tell assembler it is permitted to expand large constants.
13900
13901 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
13902
13903         * protoize.c: (AUX_INFO_SUFFIX): New macro.
13904         (aux_info_suffix): Use.
13905         (SAVE_SUFFIX): New macro.
13906         (save_suffix): Use.
13907         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
13908         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
13909         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
13910
13911         * invoke.texi (Running Protoize): Update documentation.
13912
13913 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
13914
13915         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
13916
13917 2000-02-25  John Wehle  (john@feith.com)
13918
13919         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
13920
13921 2000-02-25  Anthony Green  <green@cygnus.com>
13922
13923         * toplev.c (rest_of_compilation): Rebuild jump labels if
13924         combine_instructions has created a new direct jump.
13925         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
13926         when appropriate.
13927         (combine_instructions): Call try_combine with new argument.
13928         Return non-null value when new direct jump instruction is created.
13929         * rtl.h: combine_instructions returns an int.
13930
13931 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
13932
13933         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
13934         jump when changing a computed jump into a jump to a known
13935         target.
13936
13937 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
13938
13939         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
13940         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
13941
13942         * i386.md (define_expand "clrstrsi"): Fix typo.
13943
13944 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
13945
13946         * rtl.texi: Fix typo.
13947
13948 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13949
13950         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
13951         UNITS_PER_WORD.  Change caller initial_elimination_offset.
13952         (rounded_frame_size): Take into account that argument pushed has
13953         changed.  Fix TARGET_ALIGN_DOUBLE problem.
13954
13955 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
13956
13957         * haifa-sched.c (schedule_block): Explain the real reason
13958         we delete REG_SAVE_NOTEs on the first insn of a block.
13959         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
13960
13961 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
13962
13963         * input.h (push_srcloc): New function.
13964         (pop_srcloc): Likewise.
13965         * toplev.c (push_srcloc): Define it.
13966         (pop_srcloc): Likewise.
13967
13968 2000-02-24  Richard Henderson  <rth@cygnus.com>
13969
13970         * flow.c (life_analysis): When collecting reg info, clear
13971         regs_ever_live.
13972
13973 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13974
13975         Fix bug exposed by reload.c no longer rounding the frame
13976         size to BIGGEST_ALIGNMENT:
13977         * sh.c (rounded_frame_size): New function.
13978         (sh_expand_prologue, sh_expand_epilogue): Use it.
13979         (initial_elimination_offset): Likewise.
13980
13981 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13982
13983         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
13984         * sh-protos.h (sh_need_epilogue): Declare.
13985         * sh.c (sh_need_epilogue_known): New static variable.
13986         (sh_need_epilogue): New function.
13987         (function_epilogue): Clear need_epilogue_known.
13988         * sh.md (return): Split into expander / insn pattern.
13989         Make the expander conditional on ! sh_need_epilogue ().
13990
13991 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
13992
13993         * machmode.h (get_mode_alignment): Declare.
13994         (GET_MODE_ALIGNMENT): Call it.
13995         * stor-layout.c (get_mode_alignment): New function. Make
13996         sure alignment is always power of 2.
13997
13998 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
13999
14000         * i386.h: Remove useless definition of "I386" and misleading
14001         comment above it.
14002
14003 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
14004
14005         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
14006         under which TREE_PERMANENT will be set.
14007         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
14008         build1): Use TREE_SET_PERMANENT.
14009         * print-tree.c (print_node): Don't report value of
14010         TREE_PERMANENT if ggc_p is true.
14011
14012         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
14013         decide whether to give a type a new alias set.
14014         * objc/objc-act.c (build_objc_string_object): Never copy the string.
14015         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
14016         of value of 'obstack'.
14017
14018
14019 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14020
14021         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
14022
14023 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14024
14025         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
14026         * cpplib.c (cpp_get_token): Produce them.
14027         * cppexp.c (cpp_lex): Handle them.
14028
14029 2000-02-23  Nick Clifton  <nickc@cygnus.com>
14030
14031         * config/arm/arm.c (arm_comp_type_attributes): Simply and
14032         comment tests on type attributes.
14033
14034 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14035
14036         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
14037         conform to documentation.
14038         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
14039         to check for special cases.
14040         * sh-protos.h (sh_loop_align): Declare.
14041         * sh.c (sh_loop_align): Define.
14042
14043 2000-02-22  Andrew Haley  <aph@cygnus.com>
14044
14045         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
14046         (SIZE_TYPE): Is 32 bits when using -mgp32.
14047         (PTRDIFF_TYPE): Ditto.
14048
14049 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14050
14051         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
14052
14053 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
14054
14055         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
14056         BIGGEST_FIELD_ALIGNMENT a constant.
14057
14058 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
14059
14060         * dwarf2out.c (output_line_info): Put the marker for the end of
14061         the line number info at the actual end.
14062         (gen_struct_or_union_type_die): Use decl_function_context
14063         to check for local classes.
14064         * dwarfout.c (output_type): Likewise.
14065
14066 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
14067
14068         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
14069         for arguments with a mode, but no type.
14070         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
14071         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
14072         * pa/long_double.h: New file.
14073         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
14074         both have 128bit wide long doubles.
14075         * configure: Rebuilt.
14076
14077 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14078
14079         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
14080
14081         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
14082         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
14083         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
14084
14085         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
14086
14087         * integrate.c (compare_blocks, find_block): Likewise.
14088
14089         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
14090
14091         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
14092
14093         * stmt.c (stmt_status, set_file_and_line_for_stmt,
14094         expand_asm_operands): Likewise.
14095
14096 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
14097
14098         * predict.c (estimate_probability): Added the pointer heuristic to
14099         the collection of static branch predictors.
14100
14101 2000-02-21  Catherine Moore  <clm@cygnus.com>
14102
14103         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
14104         * invoke.texi (-mfix7000): Document.
14105
14106 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
14107
14108         * diagnostic.c (init_output_buffer): Make it possible to output at
14109         least 32 characters if we're given a too long prefix.
14110
14111 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
14112
14113         * varasm.c (initializer_constant_valid_p): Call
14114         lang_expand_constant to simplify the constant.
14115
14116 2000-02-20  Bruce Korb  <bkorb@gnu.org>
14117
14118         * fixinc/inclhack.def(stdio_va_list):
14119         typedef needs to be disabled.
14120         * fixinc/inclhack.sh: regen
14121         * fixinc/fixincl.x: regen
14122
14123 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
14124
14125         * print-rtl.c (print_rtx): Don't print addresses when
14126         flag_dump_unnumbered.
14127
14128 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14129
14130         * sparc.c (sparc_output_scratch_registers): Mark parameter with
14131         ATTRIBUTE_UNUSED.
14132         (sparc_va_arg, sparc_flat_output_function_prologue,
14133         sparc_flat_output_function_epilogue): Cast value to unsigned in
14134         comparison.
14135         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
14136
14137         * sparc.md: Add default case in switch.
14138
14139 2000-02-19  Richard Henderson  <rth@cygnus.com>
14140
14141         * c-typeck.c (add_pending_init): Don't abort for multiple
14142         fields at the same offset.
14143         (pending_init_member): Test the correct member.
14144
14145 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14146
14147         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
14148         instead of SImode.
14149         (start_catch_handler) : Same.
14150
14151 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
14152
14153         * Makefile.in: Have flow.o depend on $(EXPR_H)
14154
14155 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14156
14157         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
14158         * c-decl.c (duplicate_decls, finish_enum): Likewise.
14159         (finish_decl): Remove -Wlarger-than code from here.
14160         * flags.h (id_clash_len): Now int.
14161         (larger_than_size): Now HOST_WIDE_INT.
14162         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
14163         Clean up checking to see if in table.
14164         (make_bit_field_ref): Remove extra parm to bitsize_int.
14165         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
14166         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
14167         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
14168         and for computing size of decl.
14169         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
14170         Move -Wlarger-than code to here.
14171         (layout_record): Remove extra arg to bitsize_int.
14172         Set TYPE_BINFO_SIZE_UNIT.
14173         (layout_union): Remove extra arg to bitsize_int.
14174         Use proper type for size of QUAL_UNION.
14175         (layout_type): Remove extra arg to bitsize_int.
14176         * toplev.c (id_clash_len): Now int.
14177         (larger_than_size): Now HOST_WIDE_INT.
14178         (decode_W_option): Clean up id-clash and larger-than- cases.
14179         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
14180         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
14181         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
14182         (struct tree_decl): New field size_unit.
14183         (size_int_wide): No HIGH operand; NUMBER is now signed.
14184         (size_int_2): Deleted.
14185         (size_int, bitsize_int): Don't use it and rework args.
14186         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
14187
14188 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
14189
14190         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
14191
14192 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
14193
14194         * invoke.texi (Warning Options): Add an explanation of why
14195         you might want the -Wfloat-equal flag.
14196
14197 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14198
14199         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
14200         * cppinit.c (new_pending_define): Add cast to avoid warning.
14201         * expmed.c (extract_bit_field): Likewise.
14202         * flow.c (enum reorder_skip_type): New type.
14203         (skip_insns_between_blcok): New it.
14204         Rework to avoid warning about possibly undefined variable.
14205         * function.c (assign_parms): Make thisparm_boundary unsigned.
14206         * genrecog.c (write_switch): Cast XWINT result to int.
14207         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
14208         * mips-tfile.c (init_file): Make two versions of FDR intializer:
14209         one for MIPS and one for Alpha.
14210         (get_tag, copy_object): Add casts to avoid warnings.
14211         * optabs.c (init_one_libfunc): Cast NAME to (char *).
14212         * reload.c (find_reloads): Make TYPE enum reload_type.
14213         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
14214         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
14215         * varasm.c (compare_constant_1): Add cast to avoid warning.
14216         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
14217         to (char *).
14218         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
14219         Cast switch operand of size to int.
14220         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
14221         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
14222         in unhandled case.
14223
14224 2000-02-18  Nick Clifton  <nickc@cygnus.com>
14225
14226         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
14227         anything for an alignment of zero.
14228
14229         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
14230         anything for an alignment of zero.
14231
14232 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
14233
14234         * gcc.texi (Bug Reporting): Refer to bugs.html.
14235         (Bug Lists): Likewise.
14236         * system.h (GCCBUGURL): New preprocessor define.
14237         * rtl.c (fancy_abort): Use it.
14238         * gcc.c (main): Likewise.
14239
14240 2000-02-18  Richard Henderson  <rth@cygnus.com>
14241
14242         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
14243         (life_analysis_1): Subsume into ...
14244         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
14245         Use update_life_info for the relaxation.
14246         (update_life_info): Update REG_BASIC_BLOCK for registers live on
14247         entry and regs_live_at_setjmp.
14248         (set_noop_p): Simplify.
14249         (notice_stack_pointer_modification_1): Renamed from s/_1//.
14250         (record_volatile_insns): Split into ...
14251         (delete_noop_moves): ... here,
14252         (notice_stack_pointer_modification): ... here,
14253         (insn_dead_p): ... and here.
14254         (propagate_block): Don't query INSN_VOLATILE.
14255         (mark_used_regs): Mind !PROP_REG_INFO.
14256         * toplev.c (rest_of_compilation): Call mark_constant_function here,
14257         not in life_analysis.
14258
14259 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
14260
14261         * loop.c (canonicalize_condition): New function,
14262         broken out of get_condition.
14263         (get_condition): Use it.
14264         * expr.h (canonicalize_condition): Prototype it.
14265
14266         * tree.h (tree_int_cst_msb): Declare.
14267         * tree.c (tree_int_cst_msb): New function.
14268
14269 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
14270
14271         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
14272         isn't set.
14273
14274         * invoke.texi (-fmessage-length=n): Document.
14275
14276 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
14277
14278         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
14279
14280 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
14281
14282         * function.c (thread_prologue_and_epilogue_insns): Put a line note
14283         after the prologue.
14284
14285 2000-02-17  Nick Clifton  <nickc@cygnus.com>
14286
14287         * config/arm/thumb.c: Replace includes of system headers with
14288         #include "system.h".
14289
14290 2000-02-16  Richard Henderson  <rth@cygnus.com>
14291
14292         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
14293         Add crtbeginS.o and crtendS.o.
14294         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
14295         (ENDFILE_SPEC): Use crtendS.o.
14296         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
14297
14298         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
14299         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
14300         shared and present.
14301         (__dso_handle): New variable.
14302         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
14303         bias to __CTOR_END__.
14304
14305 2000-02-16  Richard Henderson  <rth@cygnus.com>
14306
14307         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
14308
14309 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14310
14311         * longlong.h (__clz_tab): Declare as static to match definition.
14312
14313 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
14314
14315         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
14316         (XREF_FILE_NAME): Define.
14317
14318         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
14319         (EH_FRAME_SECTION_ASM_OP): Define.
14320         (IDENT_ASM_OP): Define.
14321         (TEXT_SECTION_ASM_OP): Define.
14322         (CPP_SPEC): Define.
14323         (CTORS_SECTION_ASM_OP): Define.
14324         (CTOR_SECTION_FUNCTION): Use it.
14325         (DTORS_SECTION_ASM_OP): Define.
14326         (DTOR_SECTION_FUNCTION): Use it.
14327
14328 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
14329
14330         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
14331         NOTE_BASIC_BLOCK.
14332
14333         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
14334         debug_bb_n): New functions.
14335         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
14336         * basic-block.h: Prototype new functions.
14337
14338 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
14339
14340         * configure.in: Add support for avr target.
14341         * configure: Rebuilt.
14342
14343         * invoke.texi: Add AVR invocation docs.
14344         * install.texi: Add information about AVR.
14345         * md.texi: Add AVR constraint letters description.
14346         * extend.texi: Add description for AVR specific attributes.
14347
14348 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
14349
14350         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
14351
14352 2000-02-16  Nick Clifton  <nickc@cygnus.com>
14353
14354         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
14355         (make_insn_raw): Move RTL check here.
14356
14357 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14358
14359         * version.c: Include gansidecl.h and version.h.
14360
14361         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
14362
14363         * configure.in (gcc_version): When setting, narrow search to
14364         lines containing `version_string'.
14365
14366         * Makefile.in (mainversion): Likewise.
14367         (GCC_H): New variable.
14368         (gcc.h): Delete target.
14369         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
14370         (version.o): Depend on version.h.
14371         (dbxout.o): Don't depend on gcc.h.
14372
14373 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14374                           Michael Meissner  <meissner@cygnus.com>
14375
14376         * md.texi (Simple Constraints): Add item about whitespace.
14377         * genoutput.c (strip_whitespace): New.
14378         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
14379         strip_whitespace for constraints.
14380         Test pointer using NULL, not 0.
14381
14382 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14383
14384         * cpplib.c (do_line): Pedwarn for #line > 32767.
14385
14386         * c-lex.c (readescape): Warn about '\x', but do not reject it.
14387
14388 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
14389
14390         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
14391         to default cpp spec.
14392         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
14393         * cpp.texi: Document __GNUC_PATCHLEVEL__.
14394         * cpp.1: Likewise.
14395
14396         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
14397         default spec.
14398
14399 2000-02-15  Denis Chertykov  <denisc@overta.ru>
14400
14401         * configure.in: Add support for avr target.
14402
14403 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14404
14405         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
14406         (sh_addr_diff_vec_mode): Don't declare.
14407         * sh.c (sh_addr_diff_vec_mode): Delete.
14408
14409 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14410
14411         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
14412
14413 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14414
14415         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
14416         (smulsi3_highpart_i): Name.
14417         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
14418         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
14419         (smulsi3_highpart, umulsi3_highpart): Likewise.
14420
14421         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
14422         correctly independent of endianness.
14423         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
14424         confuse the optimizers.
14425         (mulsidi3+1, umulsidi3+1): New define_split.
14426
14427 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
14428
14429         * config/sh/sh.md: Guard insn splits against illegal registers.
14430         * config/sh/sh.h: Correct comment about macros.
14431
14432 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14433                           Andrew MacLeod  <amacleod@cygnus.com>
14434
14435         * Makefile.in (lcm.o): Depend on insn-attr.h.
14436         * basic-block.h (optimize_mode_switching): Declare.
14437         * lcm.c (tm_p.h, insn-attr.h): #include.
14438         (seginfo, bb_info): New structs.
14439         (antic, transp, comp, delete, insert) : New file-scope static variables.
14440         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
14441         (reg_becomes_live, optimize_mode_switching): Likewise.
14442         * tm.texi: Add description of mode switching macros.
14443         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
14444
14445         * sh-protos.h (remove_dead_before_cse): Remove prototype.
14446         (fldi_ok, fpscr_set_from_mem): New prototypes.
14447         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
14448         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
14449         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
14450         (sh_flag_remove_dead_before_cse): Remove declaration.
14451         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
14452         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
14453         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
14454         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
14455         (barrier_align): Allow for JUMP_INSNS containing a parallel.
14456         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
14457         (fldi_ok): New function.
14458         (get_fpscr_rtx): Add fpscr_rtx as GC root.
14459         (emit_sf_insn): Only generate fpu switches when optimize < 1.
14460         (emit_df_insn): Likewise.
14461         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
14462         (sh_flag_remove_dead_before_cse): Delete.
14463         (get_free_reg, fpscr_set_from_mem): New functions.
14464         * sh.md (movdf, movsf): Remove no_new_pseudos code.
14465         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
14466
14467 2000-02-15  Loren Rittle  <ljrittle@acm.org>
14468
14469         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
14470
14471 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14472
14473         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
14474         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
14475
14476         * cccp.c: Include version.h and/or don't declare `version_string'.
14477         * collect2.c: Likewise.
14478         * alpha.c: Likewise.
14479         * arm/aof.h: Likewise.
14480         * arm/coff.h: Likewise.
14481         * arm/elf.h: Likewise.
14482         * arm/pe.h: Likewise.
14483         * arm/tcoff.h: Likewise.
14484         * arm/telf.h: Likewise.
14485         * arm/tpe.h: Likewise.
14486         * arm/vxarm.h: Likewise.
14487         * convex/convex.c: Likewise.
14488         * i386/dgux.c: Likewise.
14489         * i386/sun386.h: Likewise.
14490         * m88k/m88k.c: Likewise.
14491         * mcore/mcore-pe.h: Likewise.
14492         * mips/mips.h: Likewise.
14493         * romp/romp.h: Likewise.
14494         * sh/sh.c: Likewise.
14495         * cpphash.c: Likewise.
14496         * cppinit.c: Likewise.
14497         * dwarf2out.c: Likewise.
14498         * dwarfout.c: Likewise.
14499         * gcc.c: Likewise.
14500         * gcc.h: Likewise.
14501         * mips-tfile.c: Likewise.
14502         * protoize.c: Likewise.
14503         * toplev.c: Likewise.
14504         * tree.h: Likewise.
14505
14506         * version.c (version_string): Constify a char*.
14507
14508         * version.h: New file.
14509
14510 2000-02-14  Nick Clifton  <nickc@cygnus.com>
14511
14512         * configure.in: Add mcore-elf and mcore-pe targets.
14513         * configure: Regenerate.
14514
14515         * NEWS: Add note that MCore port has been contributed.
14516
14517         * invoke.texi: Document command line switches for MCore port.
14518         * install.texi: Add MCore to list of supported targets.
14519
14520 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
14521
14522         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
14523         then we will need to import the frame handling functions.
14524         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
14525         to import the frames themselves.
14526
14527 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
14528                           Jason Eckhardt  <jle@cygnus.com>
14529
14530         * basic_block.h: Added prototype for reorder_basic_blocks.
14531         * toplev.c: Changes to add -freorder-blocks and graph dump after
14532         block reordering is done.
14533         * flow.c (reorder_block_def): New structure for use during block
14534         reordering.
14535         (REORDER_BLOCK_*): New macros to access members of above structure.
14536         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
14537         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
14538         functions for block reordering.
14539
14540 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14541
14542         * gcc.texi (Passes): Fix typo.
14543         * md.texi (Standard Names): Ditto.
14544         * tm.texi (Storage Layout): Ditto.
14545
14546 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
14547
14548         * cpplib.c (do_define): Only free the old definition if it
14549         actually had one.
14550
14551 2000-02-13   Neil Booth  <NeilB@earthling.net>
14552
14553         * cppfiles.c (read_and_prescan): When emitting deferred
14554         newlines, test speccase[] again instead of checking each
14555         possible whitespace character in turn.  When we encounter \r,
14556         look behind for \n first, then ahead.
14557
14558 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
14559
14560         * cse.c (cse_altered): New internal flag.
14561         (cse_insn): Set it if we changed an insn.
14562         (cse_main): Clear cse_altered before each basic block.
14563         Only garbage collect if cse_altered is true afterward.
14564
14565 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14566
14567         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
14568
14569 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
14570
14571         * combine.c (simplify_comparison): Fix typo.
14572
14573 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
14574
14575         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
14576         consistently.
14577
14578 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14579
14580         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
14581         previously inserted node instead of root node.  Caller changed.
14582
14583 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14584
14585         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
14586
14587 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14588
14589         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
14590         __dereg_frame_dtor): Add prototype argument.
14591
14592         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
14593
14594         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
14595
14596         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
14597
14598         * gthr-vxworks.h (__gthread_once): Likewise.
14599
14600         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
14601
14602 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
14603
14604         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
14605         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
14606         stack pointer in functions w/o saved registers, output LEAVE more often
14607         on TARGET_USE_LEAVE machines.
14608
14609 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
14610
14611         * config/arm/arm.c (arm_init_cumulative_args); New function:
14612         Initlaise the CUMULATIE_ARGS strcuture for a function
14613         defintion.
14614         (arm_function_arg): New function: Determine where to place a
14615         function's argument.  Also handles deciding the function's
14616         call cookie.
14617         (current_file_function_operand): New function: Return true if
14618         the symbol is a function which has already been compiled.
14619         (arm_is_long_call_p): New function: Return true if the
14620         indicated function should be called via a long call.
14621         (arm_valid_type_attribute_p): New function: Return true if the
14622         attribute is a valid, arm specific, attribute.
14623         (arm_comp_type_attribute): New function: Return true if the
14624         two types have compatable, arm specific, attributes.
14625
14626         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
14627         structure.
14628         (FUNCTION_ARG): Redefine to call arm_function_arg.
14629         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
14630         structure field.
14631         (INIT_CUMULATIVE_ARGS): Redefine to call
14632         arm_init_cumulative_args.
14633         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
14634         field.
14635         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
14636         field.
14637         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
14638         functions.
14639         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
14640         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
14641         (COMP_TYPE_ATTRIBUTES): Define.
14642
14643         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
14644         if a long call is needed.
14645         (call_value): Call arm_is_long_call_p to decide if a long call
14646         is needed.
14647         (call_symbol): Call arm_is_long_call_p to decide if a long call
14648         is needed.
14649
14650         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
14651
14652 2000-02-11  Denis Chertykov  <denisc@overta.ru>
14653
14654         * README.AVR: New file with information about the avr ports.
14655         * config/avr: New directory with avr port files.
14656
14657 2000-02-11  Andreas Jaeger  <aj@suse.de>
14658
14659         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
14660
14661 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
14662
14663         * cpphash.c: Fix formatting, update commentary.
14664         (dump_definition): Take three separate arguments instead of a
14665         MACRODEF structure argument.
14666         * cpphash.h: Update prototype of dump_definition.
14667         * cppinit.c (cpp_finish): Update call of dump_definition.
14668
14669         * cpplib.c (do_define): Always create new hash entry with
14670         T_MACRO type.  Remove redundant check for redefinition of
14671         poisoned identifier.  Update call of dump_definition.
14672         (do_undef): Don't call check_macro_name.  Rename sym_length to
14673         len.
14674         (do_error, do_warning): Don't use copy_rest_of_line or
14675         SKIP_WHITE_SPACE.
14676         (do_warning): Don't use pedwarn for the actual warning,
14677         only the notice about its not being in the standard.  (Fixes
14678         bug with #warning in system headers.)
14679         (do_ident): Stricter argument checking - accept only a single
14680         string after #ident.  Also, macro-expand the line.
14681         (do_xifdef): Use cpp_defined.  De-obfuscate.
14682
14683         (do_pragma): Split out specific pragma handling to separate
14684         functions.  Use get_directive_token.  Update commentary.  Do
14685         not pass on #pragma once or #pragma poison to the front end.
14686         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
14687         do_pragma_default): New.
14688
14689 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
14690
14691         * jump.c (jump_optimize_1): The first operand in a relational
14692         can be a CONST_INT.
14693         * optabs.c (emit_conditional_move): Handle relationals which
14694         have a known true/false result.
14695
14696 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
14697
14698         * function.c (thread_prologue_and_epilogue_insns): Don't insert
14699         a RETURN insn into a block which already ends with a jump.
14700
14701 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
14702
14703         * haifa-sched.c (BUF_LEN): Increase a lot.
14704
14705 2000-02-11  Nick Clifton  <nickc@cygnus.com>
14706
14707         * configure.in: Add tm_p_file specification for thumb targets.
14708         * configure: Regenerate.
14709
14710         * config/arm/thumb-protos.h: New file: Prototypes for exported
14711         functions defined in thumb.c.
14712
14713 2000-02-11  Robert Lipe  <robertl@sco.com>
14714
14715         * Makefile.in (bootstrap-lean): Remove additional files.
14716         (bootstrap2-lean): Likewise.
14717         (VOL_FILES): List of files for above.
14718
14719 2000-02-11  Nathan Sidwell  <nathan@acm.org>
14720
14721         * cpphash.c (special_symbol): Remove spurious argument to
14722         cpp_lookup.
14723
14724 2000-02-11  Joel Sherrill (joel@OARcorp.com>
14725
14726         * configure.in: (i*86-*-rtems*): Swapped elf and coff
14727         stanzas.
14728         * configure: Rebuilt.
14729
14730 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
14731
14732         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
14733
14734 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
14735
14736         * pa.c, pa.h: Remove trigraph sequences within comments.
14737
14738 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
14739
14740         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
14741
14742 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
14743
14744         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
14745
14746 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14747
14748         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
14749
14750 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14751
14752         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
14753         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
14754         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
14755         (ASM_FILE_END): Use c4x_file_end.
14756         * config/c4x/c4x.c (c4x_global_label): New function.
14757         (c4x_external_ref, c4x_file_end): Likewise.
14758
14759         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
14760         (c4x_external_ref, c4x_end_file): Likewise.
14761
14762 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
14763
14764         * cppexp.c: Don't include cpphash.h.
14765         (parse_charconst, cpp_lex): Use cpp_defined.
14766         (cpp_lex): Use get_directive_token throughout.  Remove
14767         unnecessary cases from switch.  Move assertion-handling code
14768         down to OTHER case.
14769         (cpp_parse_expr): If we see '+' or '-', check the context to
14770         determine if they are unary or binary operators.  Streamline
14771         the jumps a bit.  Do not call skip_rest_of_line.
14772
14773         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
14774         static.  Export get_directive_token.  Update commentary.
14775         (cpp_defined): New function.
14776         (do_define): Remove reference to T_PCSTRING.  Call
14777         free_definition to release memory for old definition, when
14778         redefining a macro.
14779         (eval_if_expression): Set only_seen_white to 0 before calling
14780         cpp_parse_expr.  Call skip_rest_of_line after it returns.
14781         (cpp_read_check_assertion): Don't preserve a pointer into the
14782         token buffer across a call to cpp_get_token.
14783
14784         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
14785         * cppfiles.c (redundant_include_p): Use cpp_defined.
14786         * cpphash.c (free_definition): New function.
14787         (delete_macro): Use it.  Update commentary.
14788         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
14789         free_definition.
14790         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
14791         from enum node_type.  Prototype cpp_defined and get_directive_token.
14792         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
14793
14794         * fix-header.c (check_macro_names): Use cpp_defined.
14795         (read_scan_file): Set inhibit_warnings and inhibit_errors in
14796         the options structure.
14797
14798 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14799
14800         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
14801
14802 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
14803
14804         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
14805         rather than die->die_tag.
14806
14807 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14808
14809         * combine.c (make_extraction, force_to_mode): Avoid warning on
14810         mixed-signedness conditionals.
14811         (make_field_assignment, nonzero_bits): Likewise.
14812         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
14813         (store_split_bit_field, extract_split_bit_field): Likewise.
14814         (extract_fixed_bit_field, store_bit_field,
14815         * expr.c: Change alignment to be unsigned everywhere.
14816         (move_by_pieces, store_constructor_field, store_constructor):
14817         Alignment parm is unsigned.
14818         (emit_block_move, emit_group_load, emit_group_store): Likewise.
14819         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
14820         (do_compare_rtx_and_jump): Likewise.
14821         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
14822         Compare align with GET_MODE_ALIGNMENT.
14823         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
14824         (get_inner_reference): Likewise.
14825         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
14826         (expand_assignment): Local vars for alignment now unsigned.
14827         (store_constructor, store_field, expand_expr, do_jump): Likewise.
14828         (do_compare_and_jump): Likewise.
14829         (store_field): Call new function expr_align.
14830         * expr.h (emit_block_move, emit_group_load, emit_group_store):
14831         Alignment arg now unsigned.
14832         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
14833         (do_compare_rtx_and_jump, store_bit_field): Likewise.
14834         (extract_bit_field): Likewise.
14835         * fold-const.c (add_double): Add cast to eliminate signedness warning.
14836         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
14837         (get_best_mode): Alignment arg is unsigned.
14838         * rtl.h (move_by_pieces): Likewise.
14839         * store-layout.c (maximum_field_alignment, set_alignment):
14840         Now unsigned.
14841         (layout_decl): Alignment arg is now unsigned.
14842         Remove unneeded casts.
14843         (layout_record, layout_union, layout_type): Remove unneeded casts.
14844         Local alignment variables now unsigned.
14845         (get_best_mode): Alignment arg now unsigned.
14846         * tree.c (expr_align): New function.
14847         * tree.h (expr_align): Likewise.
14848         (maximum_field_alignment, set_alignment): Now unsigned.
14849         (get_inner_reference): Alignment argument is now pointer to unsigned.
14850         * varasm.c (assemble_variable): Add cast to eliminate warning.
14851
14852 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
14853
14854         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
14855         then store directly into op0.
14856
14857         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
14858         the CALL_INSN, and emit the note immediately after it.
14859
14860 2000-02-10  Nick Clifton  <nickc@cygnus.com>
14861
14862         * config/arm/thumb.md (epilogue): Include a (return) in the
14863         generated insn, and emit it using emit_jump_insn not
14864         emit_insn.
14865
14866 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
14867
14868         * function.c (assign_temp): Change zero-sized arrays to size 1.
14869         * integrate.c (expand_inline_function): Do not update
14870         stack_alignment_needed
14871         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
14872         add some sanity checking, remove optimization for function with
14873         zero frame size.
14874
14875 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14876
14877         * flow.c (mark_regs_live_at_end): Delete unused variables.
14878
14879         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
14880
14881         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
14882         in macro FRAME_GROWS_DOWNWARD.
14883
14884         * stmt.c (expand_end_bindings): Delete unused variable.
14885
14886         * unroll.c (iteration_info): Mark parameter `loop' with
14887         ATTRIBUTE_UNUSED.
14888
14889 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14890
14891         * fixinc/server.c (load_data): Return NULL if the marker line is
14892         not found.
14893         (run_shell): If load_data returns NULL, retry the command once, in
14894         a new shell.
14895
14896         * configure: Rebuilt.
14897
14898 2000-02-09  Bruce Korb  <bkorb@gnu.org>
14899
14900         * gcc/fixincludes:  ** DELETED **
14901         * gcc/fixcpp:  ** DELETED **
14902         * gcc/fixinc-nt.sed:  ** DELETED **
14903         * gcc/just-fixinc:  ** DELETED **
14904         * gcc/Makefile.in:  Removed out-dated commentary
14905         * gcc/configure.in: Removed fast-fixincludes disablement.
14906         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
14907
14908 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
14909         * function.c (thread_prologue_and_epilogue_insns): Uncomment
14910         last change.
14911
14912 2000-02-09  Richard Henderson  <rth@cygnus.com>
14913
14914         * jump.c (delete_insn): Don't delete user labels at -O0.
14915
14916 2000-02-09  Robert Lipe  <robertl@sco.com>
14917
14918         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
14919         Don't link with HOST_LIBS.
14920
14921 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
14922
14923         * configure.in: Correct --help text for --with-dwarf2.
14924         Put tm-dwarf2.h after other tm files, if it's requested.
14925         * configure: Regenerate.
14926         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
14927         defining it.
14928
14929 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
14930
14931         * cpplib.h: Provide HASHNODE typedef and forward decl of
14932         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
14933         DEFINITION, struct hashnode, struct macrodef, struct
14934         definition, scan_decls prototype, default defn of
14935         INCLUDE_LEN_FUDGE moved elsewhere.
14936
14937         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
14938         definition, and struct hashnode moved here. Remove the unused
14939         'predefined' field from struct definition.  Replace the 'args'
14940         union with its sole member.  All users updated (cpphash.c).
14941         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
14942         multiple include guard.
14943
14944         * cpphash.c (hashf): Make static; use better algorithm; drop
14945         HASHSIZE parameter; return an unsigned int.
14946         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
14947         used. Calculate HASHSIZE modulus here.
14948         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
14949         here.
14950         (create_definition): Drop PREDEFINITION parameter.
14951         * cpplib.c (do_define): Don't calculate a hash value here.
14952         Don't pass (keyword == NULL) to create_definition.
14953
14954         * scan.h: Prototype scan_decls here.
14955         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
14956         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
14957         callers of cpp_lookup and cpp_install updated.
14958
14959         * cpphash.c (macarg): Hoist all the flag diddling out of the
14960         function...
14961         (macroexpand): ... and out of the loop that calls macarg.
14962         Skip over the initial paren before macro arguments with
14963         cpp_get_non_space_token; point may be some distance before
14964         that paren.  Abort if it's not there.
14965
14966         * cpplib.c (parse_clear_mark): Delete function.
14967         (parse_set_mark, parse_goto_mark): Make static.
14968         (ACTIVE_MARK_P): New macro.
14969         (skip_block_comment, skip_line_comment): Do not bump the line
14970         if ACTIVE_MARK_P is true.
14971         (cpp_pop_buffer): The buffer to be popped may not have an
14972         active mark.
14973         (cpp_get_token): When looking for the initial paren before
14974         macro arguments, only set a mark in a file buffer, Always
14975         return to that mark before proceeding to call macroexpand or
14976         return a NAME token.
14977
14978         * cpplib.h: Remove prototypes of parse_set_mark,
14979         parse_clear_mark, parse_goto_mark.
14980         (struct cpp_options): Rename 'put_out_comments' to
14981         'discard_comments' and invert its sense.
14982         * cppinit.c, cpphash.c, cpplib.c: All users of
14983         put_out_comments changed to use discard_comments, with
14984         opposite sense.
14985
14986 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
14987
14988         * function.c (thread_prologue_and_epilogue_insns): Don't delete
14989         the edge from a block that both jumps and falls through to the
14990         fallthru block.
14991
14992 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
14993
14994         * config/arm/arm.md (movsi): In PIC mode, make sure that a
14995         constant source address is legitimate.
14996
14997 2000-02-09  Philip Blundell  <pb@futuretv.com>
14998
14999         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
15000         correctly.
15001
15002         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
15003         generating PIC.
15004         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
15005
15006 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
15007
15008         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
15009         ends with a newline and a NUL.  Don't be so clever manipulating
15010         strings.
15011
15012 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
15013
15014         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
15015         not to BIGGEST_ALIGNMENT.
15016
15017 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
15018
15019         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
15020         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
15021         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
15022         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
15023         * frame.c (execute_cfa_insn): Handle
15024         DW_CFA_GNU_negative_offset_extended.
15025
15026 2000-02-08  Richard Henderson  <rth@cygnus.com>
15027
15028         * flow.c (tidy_fallthru_edges): Split out from ...
15029         (delete_unreachable_blocks): ... here.
15030         (find_basic_blocks): Use it.
15031
15032 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15033
15034         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
15035
15036 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
15037
15038         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
15039         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
15040         (fix-header.o): Don't depend on cpphash.h.
15041
15042         * scan.c (hashstr): New function.
15043         * scan.h: Prototype it.
15044         * fix-header.c: Don't include cpphash.h.  Use hashstr.
15045         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
15046         hashstr.  Report hash table statistics.  Add private
15047         definition of xrealloc.
15048
15049 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15050
15051         * i386.h (TARGET_SWITCHES): Fix typo in option name.
15052
15053 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
15054
15055         * function.c (thread_prologue_and_epilogue_insns): Don't replace
15056         jumps with returns unless they are jumps to the fallthru block.
15057
15058 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
15059
15060         * i386.md (addqi3_cc): Fix contraints.
15061
15062 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
15063
15064         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
15065
15066 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
15067
15068         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
15069         carriage return after a macro name.
15070
15071 2000-02-07  Fred Fish  <fnf@be.com>
15072
15073         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
15074         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
15075
15076 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
15077
15078         * cppfiles.c (deps_output): Count spacers in deps_column.
15079
15080 2000-02-07  Neil Booth  <NeilB@earthling.net>
15081
15082         * cppinit.c (initialize_dependency_output): If there is no
15083         suffix, don't try to look for known suffixes.  Use strrchr.
15084         (cpp_start_read): Remove duplicate initialization.
15085
15086 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
15087
15088         * calls.c (compute_argument_block_size): New argument
15089         preferred_stack_boundary.
15090         (expand_call): update cfun->preferred_stack_boundary, update call of
15091         compute_argument_block_size
15092         (emit_library_call): Increate cfun->preferred_stack_boundary
15093         to PREFERRED_STACK_BOUNDARY
15094         (emit_library_call_value): Likewise.
15095         * explow.c (allocate_dynamic_stack_spave): Likewise.
15096         * function.c (prepare_function_start): Set
15097         cfun->preferred_stack_boundary
15098         * function.h (struct function): Add preferred_stack_boundary field.
15099         * integrate.c (expand_inline_function): Update
15100         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
15101         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
15102         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
15103
15104 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
15105
15106         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
15107         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
15108         cpp_pedwarn, cpp_pedwarn_with_line,
15109         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
15110         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
15111         v_cpp_error_with_line, v_cpp_warning_with_line,
15112         cpp_message_from_errno, cpp_perror_with_name): Delete.
15113
15114         * cpperror.c (cpp_print_containing_files): Take starting
15115         buffer as argument.
15116         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
15117         (v_cpp_message): Now called directly by all entry points.
15118         Remove -1 case.
15119         (cpp_pfatal_with_name, cpp_message): Delete.
15120         (cpp_notice_from_errno, cpp_ice): New functions.
15121         (cpp_notice): Is now for reporting error conditions, just
15122         without an associated file.
15123         (cpp_error, cpp_error_with_line): Don't do anything if
15124         opts->inhibit_errors is on.
15125         (cpp_pedwarn_with_file_and_line): Take column argument also.
15126
15127         * cpplib.h: Update prototypes of exported functions.
15128         (struct cpp_options): Add inhibit_errors.
15129
15130         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
15131         non-error messages.  Include intl.h.
15132
15133         * cppinit.c, cppmain.c: Likewise.  Also, use
15134         cpp_notice_from_errno instead of cpp_perror_with_name or
15135         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
15136
15137         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
15138         report internal errors.
15139
15140         * cpplib.c (do_define): Switch bcopy to memcpy.
15141         Give cpp_pedwarn_with_file_and_line a dummy column argument.
15142
15143         * cpplib.c (copy_rest_of_line): Revert previous change: don't
15144         bail out early if we hit a line comment.
15145
15146 2000-02-06  Richard Henderson  <rth@cygnus.com>
15147
15148         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
15149         * basic-block.h: Declare them.
15150         * emit-rtl.h (active_insn_p): New.
15151         (next_active_insn, prev_active_insn): Use it.
15152         * rtl.h: Declare it.
15153         * function.c (emit_return_into_block): New.
15154         (thread_prologue_and_epilogue_insns): Insert return insns instead
15155         of epilogues when possible.
15156         * jump.c (jump_optimize_1): Remove code to insert a return insn
15157         on the fallthru to the exit block.
15158
15159         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
15160         and for non-empty stack frames.
15161         * i386.md (return): Expand to return-pop as needed.
15162
15163 2000-02-06  Richard Henderson  <rth@cygnus.com>
15164
15165         * simplify-rtx.c (simplify_relational_operation): Canonicalize
15166         constant to op1 for testing.
15167
15168 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15169
15170         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
15171         (fixuns_truncqfqi2): Use it.
15172
15173 2000-02-06  Richard Henderson  <rth@cygnus.com>
15174
15175         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
15176         as a TYPE_LEA insn.
15177
15178         * i386.md (widening and peepholes): Mask the constant instead of
15179         using gen_lowpart.
15180
15181 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
15182
15183         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
15184         input pointer before possibly branching off to the backslash
15185         code.
15186         * cpphash.c (macroexpand): Correctly delete \r escapes when
15187         stringifying parameters.
15188         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
15189         if we can; bail out early if we hit a line comment.
15190         (handle_directive): Treat '# 123' in an .S file just like
15191         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
15192         Return 1 for '# not_a_directive'.
15193         (get_directive_token): Pop macro buffers here, so that
15194         cpp_get_token can't sneakily move past a newline.
15195         Add sanity checks.
15196         (cpp_get_token): goto randomchar if handle_directive returns 0.
15197
15198         * cppalloc.c: Update copyright.
15199         * cpplib.c: Merge all the static function prototypes into one
15200         block.
15201         * cpplib.h: Remove #if 0 block.
15202
15203         * cpperror.c: Remove #ifdef EMACS block.
15204         * cppmain.c: Likewise.
15205         * cpphash.c: Remove #if 0 blocks.
15206         * cppinit.c: Remove #if 0 blocks, and the -lint option.
15207         * cpplib.c: Remove #if 0 blocks and code referencing
15208         pcp_inside_if or for_lint.  Remove duplicate error message.
15209         Fix error messages for #else after #else or #elif.  Reformat.
15210         Remove archaic TODO list.
15211         * cpplib.h: Remove pcp_inside_if and for_lint flags.
15212
15213 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
15214
15215         * i386/osf1elf.h: Add missing backslash to multiline string.
15216
15217 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15218
15219         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
15220
15221 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15222
15223         * Makefile.in (c-common.o): Depend on $(EXPR_H).
15224
15225         * c-common.c: Include expr.h.
15226
15227         * c-pragma.c (mark_align_stack): Add prototype.
15228
15229         * caller-save.c (add_stored_regs): Likewise.
15230
15231         * combine.c (record_promoted_value): Likewise.
15232
15233         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
15234         Likewise.
15235
15236         * cppinit.c (new_pending_define): Likewise.
15237
15238         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
15239
15240         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
15241         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
15242         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
15243         class_scope_p): Likewise.
15244
15245         * dwarf2out.h (dwarf2out_set_demangle_name_func,
15246         dwarf2out_add_library_unit_info): Likewise.
15247
15248         * ggc.h (ggc_page_print_statistics): Likewise.
15249
15250         * haifa-sched.c (propagate_deps): Likewise.
15251
15252         * reg-stack.c (next_flags_user, record_label_references): Likewise.
15253
15254         * rtl.h (set_stack_check_libfunc): Likewise.
15255
15256         * toplev.h (set_fatal_function): Likewise.
15257
15258         * toplev.c (set_fatal_function): Delete prototype.
15259
15260         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
15261
15262 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
15263
15264         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
15265         (FUNC_END): Likewise.
15266
15267 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15268
15269         * caller-save.c: Include tm_p.h.
15270
15271 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15272
15273         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
15274
15275 2000-02-04  Neil Booth  <NeilB@earthling.net>
15276
15277         * cccp.c (main): Check 'dir' for a NULL pointer before passing
15278         it to strcmp.
15279
15280 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
15281
15282         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
15283         * genflags.c: Use the max_operand_1 logic from genemit.c to
15284         calculate how many arguments gen_insn prototypes have.  Remove
15285         NO_MD_PROTOTYPES ifdefs from the generated file.
15286         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
15287         file.  Cast gen_insn initializers to insn_gen_fn.
15288         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
15289         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
15290
15291 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15292
15293         * fixinc/Makefile.in (HDR): Add machname.h.
15294         (clean): Likewise.
15295
15296 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15297
15298         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
15299         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
15300         (c4x_cpu_version): Ditto.
15301         * config/c4x/c4x-protos.h: ... here.
15302
15303 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
15304
15305         * dwarf2out.c (add_abstract_origin_attribute): Don't call
15306         gen_abstract_function on our context if we're a nested function.
15307
15308 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15309
15310         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
15311         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
15312
15313 2000-02-04  Bruce Korb  <bkorb@gnu.org>
15314
15315         * fixinc/genfixes(machname.h):
15316         Move the functionality from gen-machine.h into this file.
15317         UNdef MN_NAME_PAT if there are no names to change.
15318         Also, be a little kinder when AutoGen is not present.
15319
15320         * fixinc/Makefile.in(machname.h):
15321         Change the generation rule to use genfixes.
15322
15323         * fixinc/fixfixes.c(machine_name):
15324         machine_name_fix's functionality now dependent upon whether
15325         MN_NAME_PAT is defined.
15326
15327         * fixinc/fixtests.c(machine_name):
15328         ditto.
15329
15330         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
15331         of MN_NAME_PAT.
15332
15333         * fixinc/fixlib.h(mn_get_regexps):
15334         ditto
15335
15336         * fixinc/gen-machine.h: DELETED
15337
15338 2000-02-04  Jan Hubicka  <jh@suse.cz>
15339             Richard Henderson  <rth@cygnus.com>
15340
15341         * i386.c (SAVE_REGS_FIRST): Remove.
15342         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
15343         (ix86_compute_frame_size): Likewise.
15344         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
15345         (ix86_emit_restore_regs): Remove.
15346         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
15347         when a frame pointer is in use.
15348         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
15349         instead of pop to restore a register when profitable; emit leave
15350         when profitable.
15351         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
15352         as a TYPE_LEA insn.
15353         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
15354         * i386.md (prologue_allocate_stack): Remove.
15355         (epilogue_deallocate_stack): Remove.
15356         (pro_epilogue_adjust_stack): New.
15357
15358 2000-02-04  Richard Henderson  <rth@cygnus.com>
15359
15360         * function.c (diddle_return_value): Rework to use a callback function.
15361         Use current_function_return_rtx if it's been set up.
15362         (do_clobber_return_reg, clobber_return_register): New.
15363         (do_use_return_reg, use_return_register): New.
15364         (expand_function_end): Use them.
15365         * stmt.c (expand_null_return): Likewise.
15366         * function.h: Declare them.
15367         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
15368         (mark_reg): Change arguments as appropriate for callback.
15369         * integrate.c (expand_inline_function): Revert 19 Jan change.
15370
15371 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
15372
15373         * tm.texi (Values in Registers): Fix typo: "fo" "for".
15374         (Misc): Say the scheduler, not the Haifa scheduler.
15375
15376 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
15377
15378         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
15379         when in_mem is set.  Update all callers.
15380
15381 2000-02-04  Richard Henderson  <rth@cygnus.com>
15382
15383         * i386/openbsd.h (INT_ASM_OP): Define.
15384
15385 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
15386
15387         * tm.texi: Fix various typos.
15388
15389 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
15390
15391         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
15392         (MD_STARTFILE_PREFIX_1): New macro.
15393
15394 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
15395
15396         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
15397         destination when needed.
15398         (strmovsi, strsetsi): New expander.
15399         (strmovsi_1, strsetsi_1): New pattern.
15400         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
15401         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
15402         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
15403         * invoke.texi (align-stringops, inline-all-stringops): Document.
15404
15405 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
15406
15407         * i386/netbsd.h (INT_ASM_OP): Define.
15408
15409 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
15410
15411         * cpplib.h (cpp_reader): Add new flag, no_directives.
15412         * cpphash.c (macarg): Set it.
15413         * cpplib.c (handle_directive): If no_directives is on and we
15414         find a directive, issue an error and discard the line.
15415
15416 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
15417
15418         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
15419         FP constants.  Add ! TARGET_FPU check for FP constants.
15420
15421 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
15422
15423         * flow.c (find_basic_blocks): Don't kill label_value_list
15424         here.
15425         (cleanup_cfg): Kill it here.
15426
15427 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15428
15429         * expr.c (store_field): Ensure ALIGN is no stricter than the
15430         alignment of EXP.
15431
15432 2000-02-02  Richard Henderson  <rth@cygnus.com>
15433
15434         * jump.c (delete_insn): Partially revert 19 Jan change;
15435         don't convert unused code labels to notes at -O0.
15436
15437 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15438
15439         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
15440         split_all_insns to recreate REG_LABEL notes for flow2 pass.
15441
15442 2000-02-01  Richard Henderson  <rth@cygnus.com>
15443
15444         * i386.c (general_no_elim_operand): New.
15445         (nonmemory_no_elim_operand): New.
15446         (ix86_expand_move): Copy eliminable operands before a push.
15447         * i386-protos.h: Declare new functions.
15448         * i386.h (CAN_ELIMINATE): Simplify.
15449         (PREDICATE_CODES): Update.
15450         * i386.md (push insns): Don't allow eliminable register operands.
15451
15452 2000-02-01  Richard Henderson  <rth@cygnus.com>
15453
15454         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
15455         replace BLKmode with DECL_RTL's mode.
15456
15457 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
15458
15459         * frame.c (find_fde): Convert for loop to do-while so compiler
15460         sees it's always executed at least once.
15461         * libgcc2.c (BBINBUFSIZE): Kill.
15462         (__bb_init_prg): Use fgets.
15463         (__bb_exit_trace_func): Don't paste strings.
15464         * unroll.c (unroll_loop): Initialize unroll_type, not
15465         unroll_number, and tweak logic to match.
15466
15467         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
15468         all failure paths.
15469         (ix86_flags_dependant): Likewise.  Disentangle control flow.
15470         (ix86_sched_reorder): Break guts out to
15471         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
15472         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
15473         any possible use.
15474
15475         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
15476         use string concatenation.  Don't save and restore esi.
15477
15478         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
15479         (machname.h): Remove script to separate file.  Use two-step
15480         sequence so target is not created if script fails.
15481         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
15482         identifiers are defined.
15483         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
15484         an empty string, machine_name doesn't need to do anything at
15485         all.
15486         (is_cxx_header): Add more cases to regexp.
15487         * fixinc/fixlib.h: Update prototype.
15488         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
15489         mn_get_regexps.
15490         * fixinc/fixincl.c: Define NO_BOGOSITY.
15491
15492         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
15493         (hp_sysfile): Add missing comma.
15494         (math_exception): Put the wrapper ifdefs at the beginning and
15495         the end of the file.
15496         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
15497
15498 2000-02-01  Richard Henderson  <rth@cygnus.com>
15499
15500         * sparc.c (fp_zero_operand): Turn into a normal predicate.
15501         Use CONST0_RTX.  Update all callers.
15502         * sparc.h, sparc-protos.h: Update accordingly.
15503         * sparc.md (fp mov insns): Use fp_zero_operand directly
15504         where applicable.
15505
15506 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
15507
15508         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
15509         example.
15510
15511 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15512
15513         * Makefile.in (specs.ready): New target.
15514         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
15515
15516 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15517
15518         * fixinc.irix: Use unique filenames for writing into /tmp,
15519         * fixinc.ptx: Likewise.
15520         * fixinc.sco: Likewise.
15521         * fixinc.svr4: Likewise.
15522         * fixinc.winnt: Likewise.
15523
15524 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15525
15526         * tsystem.h: New file.
15527
15528         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
15529         s-crtS): Depend on tsystem.h.
15530
15531         * crtstuff.c: Include tsystem.h.
15532         * frame.c: Likewise.
15533         * libgcc2.c: Likewise.
15534
15535 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
15536
15537         * builtins.c (expand_builtin_memset): Expand for variable sized
15538         lengths too.
15539
15540 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
15541
15542         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
15543         on ABI.
15544
15545 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
15546
15547         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
15548
15549         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
15550
15551 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
15552
15553         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
15554         case 3->2 combining (combining with splitting) in which 2 is CC0
15555         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
15556         checked at the begining of the function with the aid of calling
15557         function 'can_combine_p'.
15558
15559 2000-01-31  Dave Brolley  <brolley@redhat.com>
15560
15561         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
15562
15563 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
15564
15565         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
15566         new label.
15567
15568 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15569
15570         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
15571
15572         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
15573         PROTO -> PARAMS.
15574
15575 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
15576
15577         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
15578         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
15579         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
15580         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
15581         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
15582         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
15583         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
15584         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
15585         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
15586         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
15587
15588         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
15589         Add %(cpp_cpu) to CPP_SPEC.
15590
15591         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
15592         Add %(cc1_cpu) to CC1_SPEC.
15593
15594 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
15595
15596         * c-decl.c (c_decode_option): Accept optional numeric argument to
15597         -Wformat and set warn_format.
15598         * c-common.c: Don't emit warning about non-constant printf format
15599         string unless warn_format > 1.
15600
15601 2000-01-30  Richard Henderson  <rth@cygnus.com>
15602
15603         * alpha.md (return_internal): Allow after reload only.
15604
15605 2000-01-30  Richard Henderson  <rth@cygnus.com>
15606
15607         * i386.c (ix86_compute_frame_size): Omit padding1 if the
15608         local frame size is zero.
15609
15610 2000-01-30  Richard Henderson  <rth@cygnus.com>
15611
15612         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
15613         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
15614         * alpha.md (return): Turn into an expander.
15615         (return_internal): Don't use $26.
15616         (epilogue): Emit the return insn.
15617
15618 2000-01-30  Richard Henderson  <rth@cygnus.com>
15619
15620         * alpha.md (negtf2, abstf2): Fix word order thinko.
15621         (extendsftf2): New.
15622         (trunctfsf2): Avoid intermediate rounding errors.
15623
15624 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
15625
15626         * cppfiles.c (find_position): Drop 'colp' argument, return the
15627         new line base.
15628         (read_and_prescan): Adjust to match.  Don't ever manipulate
15629         line or line_base except via find_position.
15630
15631 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
15632
15633         * c-parse.in: Apply Ulrich's changes from c-parse.y.
15634         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
15635         Regenerate.
15636
15637 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
15638
15639         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
15640         just print "<command line>".  If 'filename' is null or an
15641         empty string, print "<stdin>" for the filename.
15642         * cpplib.c (do_define): Don't print the 'location of the
15643         previous definition' message if we're still parsing the
15644         command line.
15645         (cpp_pedwarn_with_file_and_line): Always call
15646         cpp_file_line_for_message.
15647
15648 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
15649
15650         * flow.c (mark_regs_live_at_end): Fix typo.
15651
15652 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
15653
15654         * c-common.c: Adjust variable names, comments, help strings to c99.
15655         * c-lex.c: Likewise.
15656         * c-parse.y: Likewise.
15657         * c-tree.h: Likewise.
15658         * cccp.c: Likewise.
15659         * cpplib.h: Likewise.
15660         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
15661         * cppinit.c: Likewise.
15662
15663 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15664
15665         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
15666         * c4x.c: Define the optab rtx values.
15667         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
15668         (c4x_emit_libcall): Use new optab rtx values.
15669         (c4x_emit_libcall3): Likewise.
15670         (c4x_emit_libcall_mulhi): Likewise.
15671         * c4x-protos.h: Add prototypes for optab rtx values and change
15672         prototypes for above c4x_emit_libcall functions.
15673
15674 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15675
15676         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
15677         syntax is used.
15678         (c4x_function_prologue): Use regnames intead of float_reg_names when
15679         TI syntax is used.
15680         (c4x_function_epilogue): Likewise.
15681         (c4x_print_operand): Likewise.
15682         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
15683         * c4x.md (set_high): Disable for TARGET_TI.
15684
15685 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15686
15687         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
15688         of framepointer + constant to ADDR_REGS class.
15689         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
15690         * c4x.c (std_or_reg_operand): New function.
15691         * c4x-protos.h (std_or_reg_operand): Prototype it.
15692
15693 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15694
15695         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
15696                 object names as libgcc2.c.
15697         * libgcc.S: Use newly defined names.
15698
15699 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
15700         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
15701         function.
15702         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
15703         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
15704         (FLOW_LOOP_LAST_BLOCK): Likewise.
15705
15706 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15707
15708         * basic-block.h (struct loop): New fields 'first' and 'last'.
15709         * flow.c (flow_loops_find): Compute loop->first and loop->last.
15710         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
15711         and loop->last to check for NOTE_INSN_LOOP_END.
15712
15713 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
15714
15715         * predict.c (estimate_probability): Use the new FIRST and LAST fields
15716         of the loop descriptor rather than HEADER and LATCH. Also added
15717         missing break statements as well making some coding style modifications
15718         as suggested by Michael Hayes.
15719
15720 2000-01-28  Richard Henderson  <rth@cygnus.com>
15721
15722         * flow.c (find_basic_blocks): Remove do_cleanup argument.
15723         Break out that code ...
15724         (cleanup_cfg): ... here.
15725         (commit_one_edge_insertion): Detect a return instruction being
15726         emitted to an edge.  Emit a barrier following; clear fallthru.
15727         (commit_edge_insertions): Verify CFG consistency.
15728         * function.c (expand_function_start): Kill unused variable.
15729         (expand_function_end): Likewise.
15730         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
15731         to insert the epilogue.
15732
15733         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
15734         (delete_null_pointer_checks): Likewise.
15735         * output.h: Likewise.
15736         * reg-stack.c (reg_to_stack): Likewise.
15737         * toplev.c (rest_of_compilation): Likewise.  Run
15738         thread_prologue_and_epilogue_insns after rebuilding the CFG.
15739
15740 2000-01-28  Richard Henderson  <rth@cygnus.com>
15741
15742         * Makefile.in (flow.o): Revert 24 Jan change.
15743         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
15744         FUNCTION_VALUE result to DECL_RESULT's mode.
15745
15746         * haifa-sched.c (schedule_insns): Don't recompute reg info
15747         after reload.
15748
15749 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
15750
15751         * configure.in: Make --enable-cpplib the default.
15752         * configure: Regenerate.
15753         * gcc.dg/990119-1.c: No longer expected to fail.
15754
15755 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
15756
15757         * jump.c (jump_optimize_1): Delete an optimization that is also done
15758         by merge_blocks in flow.
15759
15760 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15761
15762         * diagnostic.c (build_message_string, output_printf,
15763         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
15764         (build_location_prefix): Fix non-literal format string.
15765
15766 2000-01-27  Richard Henderson  <rth@cygnus.com>
15767
15768         * alpha.md (trunctfsf2): New.
15769
15770 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
15771
15772         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
15773
15774 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
15775
15776         * cppinit.c (cpp_handle_option): Recognize C++ comments under
15777         -std=gnu89.
15778         * cpplib.c (skip_block_comment, skip_line_comment): Split code
15779         out of...
15780         (skip_comment) ... here.  Permit C++ comments in system
15781         headers always.  Warn about C++ comments in user code under
15782         -std=gnu89 -pedantic.
15783         (copy_comment): Use skip_comment.
15784         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
15785         return EOF.
15786         (consider_directive_while_skipping, do_else, do_endif): Call
15787         validate_else unconditionally.
15788         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
15789         text after the conditional in a system header.
15790         * cpplib.h (struct cpp_buffer): Add flag
15791         warned_cplusplus_comments.
15792
15793 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
15794
15795         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
15796         Use unshare_all_rtl_1.
15797         (unshare_all_rtl_again): New function.
15798         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
15799
15800         * function.c (purge_addressof_1): Use unshare_all_rtl_again
15801         rather than resetting the 'used' flags ourself.
15802
15803         * toplev.c (rest_of_compilation): Add current_function_decl
15804         to the unshare_all_rtl call.
15805         * tree.h: Prototype unshare_all_rtl.
15806         * rtl.h: Prototype unshare_all_rtl_again here.
15807
15808 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
15809
15810         * genoutput.c (output_prologue): Include ggc.h in generated
15811         files.
15812         * Makefile.in (insn-output.o): Depends on ggc.h.
15813
15814 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
15815             Hans-Peter Nilsson  <hp@bitrange.com>
15816
15817         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
15818         Remove redundant include of xm-ns32k.h.
15819         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
15820         Remove redundant include of xm-ns32k.h.
15821         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
15822         Remove redundant include of xm-ns32k.h.
15823         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
15824
15825         * ns32k/ns32k.h: Update comment on multiply-add instructions.
15826         (TARGET_SWITCHES): Add documentation strings.
15827         (DWARF_FRAME_REGNUM): Override default definition.
15828         (REG_CLASS_CONTENTS): Add comments.
15829         (SUBSET_P): Format to reduce line length.
15830         (SMALL_REGISTER_CLASSES): Make a run time option.
15831         (GO_IF_NONINDEXED_ADDRESS): Reformat.
15832         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
15833         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
15834         (regclass_map): fix typo in comment.
15835         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
15836         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
15837         (trace, reg_or_mem_operand): Delete, unused function.
15838         (calc_address_cost): Small offsets are cheaper than large ones.
15839         (expand_block_move): Generate more efficient code when bytes is a
15840         known at compile time.
15841         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
15842         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
15843         instead of reg_or_mem_operand.
15844
15845         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
15846         not general_operand.  Similarly use "=rm" or stricter, not "=g".
15847         For input operands, use stricter constraints than "g" if not
15848         general_operand.  Similarly use stricter predicate than
15849         "general_operand" when stricter constraints than "g" are present,
15850         except for matching constraints.
15851         (movstrsi): Use "memory_operand" for operands 0 and 1.
15852         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
15853         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
15854         not reg_or_mem_operand.
15855         (udivmoddisi4): Ditto.
15856         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
15857         Use nonimmediate_operand for operand 3, not register_operand.
15858         (udivmoddiqi4_internal): Use register_operand for operand 1, not
15859         reg_or_mem_operand.
15860
15861 2000-01-27  Fred Fish  <fnf@be.com>
15862
15863         * gthr-posix.h: Fix typo; compatibily -> compatibility.
15864         * gthr-single.h: Likewise.
15865         * gthr-solaris.h: Likewise.
15866         * gthr-vxworks.h: Likewise.
15867         * gthr-win32.h: Likewise.
15868         * gthr.h: Likewise.
15869
15870 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
15871
15872         * cppinit.c: Add " (cpplib)" to end of string printed by
15873         -v / --version.
15874
15875 2000-01-27  Richard Henderson  <rth@cygnus.com>
15876
15877         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
15878         testing for a signed comparison.
15879         (alpha_emit_floatuns): New.
15880         * alpha-protos.h: Declare it.
15881         * alpha.md (floatunsdisf2, floatunsdidf2): New.
15882         (extendsfdf2): Tidy.
15883
15884 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
15885
15886         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
15887         no -g option specifying debugging format, default to -gstabs+.
15888
15889 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
15890
15891         * calls.c (special_function_p): New argument fork_or_exec.
15892         (expand_call): When profile_arc_flag is set and the function
15893         is in the fork_or_exec group, call __bb_fork_func first.
15894         * libgcc2.c, _bb module (__bb_fork_func): New function.
15895         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
15896         output file.
15897         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
15898         * tree.h (special_function_p): Update prototype.
15899
15900 2000-01-26  Richard Henderson  <rth@cygnus.com>
15901
15902         * alpha.c (alpha_split_tfmode_pair): New.
15903         * alpha-protos.h: Declare it.
15904         * alpha.md (abstf2, negtf2): New.
15905         (movtf insn): Add input G constraint.
15906         (movtf splitter): Use alpha_split_tfmode_pair.
15907
15908 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15909
15910         * i386/cygwin.h: PROTO -> PARAMS.
15911
15912 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
15913
15914         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
15915         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
15916         using _Qp_cmp/_Q_cmp and testing the return value.
15917         (print_operand): Call reverse_condition_maybe_unordered if
15918         we are handling CCFPmode or CCFPEmode.
15919         Handle ORDERED, UN* and LTGT comparisons.
15920         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
15921         if not TARGET_HARD_QUAD.
15922         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
15923         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
15924         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
15925         Adjust gen_b* calls so that they reflect return comparison of
15926         sparc_emit_float_lib_cmp.
15927
15928 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15929
15930         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
15931         incoming operands array is large enough for one more operand.
15932         (alpha_emit_xfloating_arith): Likewise.
15933
15934 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
15935
15936         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
15937         file with one line and no trailing newline.
15938         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
15939         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
15940         checking if the match is on the line.
15941         * fixinc/gnu-regex.c: Provide regerror not __regerror.
15942
15943 2000-01-25  Richard Henderson  <rth@cygnus.com>
15944
15945         * sparc.c (output_cbranch): Fix accidental squashing of the
15946         fp branch pre-delay nop.
15947
15948 2000-01-25  Richard Henderson  <rth@cygnus.com>
15949
15950         * tree.def (UNNE_EXPR): Remove.
15951         * c-typeck.c (build_binary_op): Don't handle it.
15952         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
15953
15954         * rtl.def (UNNE): Remove.
15955         (LTGT): Add.
15956         * jump.c (reverse_condition): Update accordingly.
15957         (swap_condition): Likewise.
15958         (comparison_dominates_p): Handle unordered comparisons.
15959         (reverse_condition_maybe_unordered): New.
15960         * rtl.h (reverse_condition_maybe_unordered): Declare.
15961
15962         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
15963         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
15964         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
15965         * sparc.md (bltgt): New.
15966
15967 2000-01-25  Nick Clifton  <nickc@redhat.com>
15968
15969         * emit-rtl.c (emit_insn): Only check machine class insns for
15970         improper emission of a RETURN.
15971
15972 2000-01-25  Richard Henderson  <rth@cygnus.com>
15973
15974         * Makefile.in (flow.o): Depend on $(EXPR_H).
15975         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
15976         duplicate the structure of diddle_return_value for keeping regs live.
15977
15978 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15979
15980         * loop.c (current_loop_info): Delete.
15981         (consec_sets_invariant_p): Add loop argument, update callers.
15982         (get_condition_for_loop): Likewise.
15983         (count_nonfixed_reads, update_giv_derive): Likewise.
15984         (simplify_giv_expr, general_induction_var): Likewise.
15985         (consec_sets_giv, recombine_givs): Likewise.
15986         (move_movables): Delete loop_start and loop_end arguments,
15987         add loop argument, and update callers.
15988         (find_mem_givs, check_final_value): Likewise.
15989         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
15990         (loop_invariant_p): Rename from invariant_p, add loop argument, and
15991         update callers.
15992         (basic_induction_var): Add loop argument, delete loop_level argument,
15993         and update callers.
15994         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
15995         add loop argument, and update callers.
15996         (find_splittable_regs, find_splittable_givs): Likewise.
15997         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
15998         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
15999         (biv_total_increment): Delete loop_start and loop_end arguments;
16000         update callers.
16001         (precondition_loop_p): Delete loop_start and loop_info arguments;
16002         update callers.
16003         * loop.h (get_condition_for_loop): Add loop argument.
16004         (biv_total_increment): Delete loop_start and loop_end arguments.
16005         (precondition_loop_p): Delete loop_start and loop_info arguments;
16006         add loop argument.
16007         (final_biv_value): Delete loop_start and loop_end arguments;
16008         add loop argument.
16009         (final_giv_value, back_branch_in_range_p): Likewise.
16010
16011 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
16012
16013         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
16014
16015 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
16016
16017         * Makefile.in (c-gperf.h) : Change the "See" pointer to
16018         point to the new "generated_files" doc.
16019
16020 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
16021
16022         * config/fp-bit.c (_unord_f2): Fix typo.
16023
16024 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
16025
16026         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
16027         c-typeck.c, objc/objc-act.c: Remove all references to obstack
16028         functions obsoleted by GC, such as push_obstacks_nochange,
16029         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
16030         and code which existed only to decide whether or not to call
16031         them.  Remove now-unused NESTED argument from start_function;
16032         all callers changed.  Do not change behavior based on ggc_p.
16033         The use of the ixp_obstack in c-iterate.c and the util_obstack
16034         in objc/objc-act.c remain; these are not obsoleted by garbage
16035         collection.
16036         * c-tree.h: Update prototype for start_function.
16037
16038         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
16039
16040 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
16041
16042         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
16043         mips16.
16044
16045 2000-01-25  Richard Henderson  <rth@cygnus.com>
16046
16047         * sparc-protos.h (select_cc_mode): Declare.
16048         * sparc.c (select_cc_mode): New.  Handle unordered compares.
16049         (output_cbranch): Always reverse via code change.  Handle
16050         unordered compares.  Factor tests and string updates.
16051         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
16052         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
16053         * sparc.md (bunordered, bordered): New.
16054         (bungt, bunlt, buneq, bunge, bunle): New.
16055
16056 2000-01-25  Richard Henderson  <rth@cygnus.com>
16057
16058         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
16059         * ggc-common.c (ggc_add_rtx_varray_root): New.
16060         (ggc_mark_rtx_varray): New.
16061         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
16062         functions down below ggc_mark_foo.
16063         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
16064
16065 2000-01-25  Richard Henderson  <rth@cygnus.com>
16066
16067         * alpha.c (secondary_reload_class): Don't allocate a secondary
16068         for integral mode memories into FLOAT_REGS.  Rearrange the more
16069         complicated memory expression inward.
16070
16071 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
16072
16073         * inclhack.def: Fixes to play nicer with FreeBSD, and
16074         corrections to comments.
16075         (cxx_unready): Add select expression.
16076         (irix_sockaddr): Add bypass expression.
16077         (machine_ansi_h_va_list): New fix.
16078         (stdio_va_list): No need to edit _BSD_VA_LIST_.
16079         Split out addition of "#include <stdarg.h>" to...
16080         (stdio_stdarg_h): ... here.
16081         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
16082         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
16083         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
16084         size_t.
16085         (ultrix_ifdef): Tighten up select expression.
16086
16087         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
16088         re_ct and max_mach to avoid use of shell.  Make printed names
16089         match names in inclhack.def.  Use static copyright date.
16090         Don't count c_test and test expressions as requiring regex_t
16091         slots.  Add some commentary.
16092         * inclhack.tpl: Do not include the 'This script contains N
16093         fixup scripts' line if PROGRAM is defined.  Use static
16094         copyright date.
16095
16096 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
16097
16098         * dwarf2out.c: include "varray.h", not dyn-string.h.
16099         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
16100         (addr_const_to_string, addr_to_string): Lose.
16101         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
16102         (struct dw_val_struct): val_addr is now an rtx.
16103         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
16104         (used_rtx_varray): New varray.
16105         (dwarf2out_init): Initialize it.
16106         (save_rtx): New fn.
16107         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
16108         addr_to_string.
16109         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
16110         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
16111         * Makefile.in (dwarf2out.o): Update dependencies.
16112
16113 2000-01-24  Richard Henderson  <rth@cygnus.com>
16114
16115         * i386.c (i386_dwarf_output_addr_const): New.
16116         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
16117
16118         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
16119         if defined.
16120         * dwarfout.c (output_mem_loc_descriptor): Likewise.
16121         * i386.c (i386_simplify_dwarf_addr): New.
16122         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
16123
16124 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
16125
16126         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
16127         TYPE_STUB_DECL is NULL.
16128
16129 2000-01-24  Richard Henderson  <rth@cygnus.com>
16130
16131         * builtins.c (expand_tree_builtin): Move ...
16132         * c-common.c (expand_tree_builtin): ... here.
16133
16134 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16135
16136         * loop.h (LOOP_INFO): New accessor macro.
16137         * basic-block.h (struct loop): Rename field `info' to `aux'.
16138         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
16139         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
16140         * unroll.c (loop_iterations, unroll_loop): Likewise.
16141
16142 2000-01-24  Christopher Faylor <cgf@cygnus.com>
16143
16144         * config/i386/t-cygwin: Accomodate new winsup directory layout
16145         when searching for include files.
16146
16147 2000-01-24  Richard Henderson  <rth@cygnus.com>
16148
16149         * rtl.def: Add unordered fp comparisions.
16150         * tree.def: Likewise.
16151         * tree.h: Add ISO C 9x unordered fp comparision builtins.
16152
16153         * builtins.c (expand_tree_builtin): New function.
16154         * c-typeck.c (build_function_call): Use it.
16155         (build_binary_op): Support unordered compares.
16156         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
16157
16158         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
16159         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
16160         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
16161         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
16162         * jump.c (reverse_condition): Don't abort for UNLE etc, but
16163         return UNKNOWN.
16164         (swap_condition): Handle unordered compares.
16165         (thread_jumps): Check can_reverse before reversing.
16166         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
16167         reversed for FP.
16168
16169         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
16170         setcc is present before acking for cmp_optab.  Update all callers.
16171         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
16172         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
16173         * expr.c (expand_expr): Likewise.  Support unordered compares.
16174         (do_jump, do_store_flag): Likewise.
16175         * expr.h (enum libfunc_index): Add unordered compares.
16176
16177         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
16178         (DPBIT_FUNCS): Add _unord_df.
16179         * config/fp-bit.c (_unord_f2): New.
16180         * fp-test.c (main): Try unordered compare builtins.
16181
16182         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
16183         * alpha.c (alpha_comparison_operator): Check mode properly.
16184         (alpha_swapped_comparison_operator): Likewise.
16185         (signed_comparison_operator): Likewise.
16186         (alpha_fp_comparison_operator): New.
16187         (alpha_emit_conditional_branch): Handle unordered compares.
16188         * alpha.h (PREDICATE_CODES): Update.
16189         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
16190         (bunordered, bordered): New.
16191
16192 2000-01-24  Richard Henderson  <rth@cygnus.com>
16193
16194         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
16195         * alpha.md (movtf): New expander, insn, and splitter.
16196
16197 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
16198
16199         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
16200         dead registers.
16201
16202 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
16203
16204         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
16205         (FIXED_REGISTERS, CALL_USED_REGISTERS,
16206          REG_ALLOC_ORDER): Add frame pointer
16207         (FRAME_POINTER_REGNUM): Set to 20
16208         (HARD_FRAME_POINTER_REGNUM): New macro.
16209         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
16210         to HARD_FRAME_POINTER.
16211         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
16212         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
16213         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
16214         (HI_REGISTER_NAMES): Add "frame".
16215         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
16216         (debug_reg): Handle FRAME_POINTER_REGNUM.
16217         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
16218         GENERAL_REGS and INDEX_REGS.
16219         * i386.c (SAVED_REGS_FIRST): new macro.
16220         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
16221         (ix86_decompose_address, memory_address_length): Likewise.
16222         (regclass_map): Add frame pointer.
16223         (call_insn_operand): Handle frame_pointer_rtx.
16224         (reg_no_sp_operand): Likewise.
16225         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
16226         (print_operand, legitimize_pic_address): Fix formating.
16227         (ix86_compute_frame_size): Make static, update prototype, new
16228         parameters padding1, padding2, use ix86_nsaved_regs, use
16229         stack_alignment_needed.
16230         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
16231         to HARD_FRAME_POINTER_REGNUM conversions.
16232         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
16233         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
16234         (print_reg): Abort on FRAME_POINTER_REGNUM
16235
16236 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
16237
16238         * i386.h (PREDICATE_CODES): Add aligned_operand.
16239         * i386.c (aligned_operand): New function.
16240         (ix86_aligned_p): Kill.
16241         * i386.md (movhi_1): Emit mov for aligned operands.
16242         (promoting peep2s): Use aligned_operand.
16243
16244 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
16245
16246         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
16247         expression to allow underscores in macro names.
16248         (fix_char_macro_defines): Increment scanning pointer.
16249
16250 2000-01-23  Richard Henderson  <rth@cygnus.com>
16251
16252         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
16253         * alpha/osf5.h: New file.
16254         * configure.in (alpha-*-osf5): Add it to tm_file.
16255
16256         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
16257
16258         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
16259         (alpha_emit_xfloating_cvt, function_arg): Declare.
16260         * alpha.c (alpha_emit_conditional_branch): Call
16261         alpha_emit_xfloating_compare for TFmode compares.
16262         (alpha_lookup_xfloating_lib_func): New.
16263         (alpha_compute_xfloating_mode_arg): New.
16264         (alpha_emit_xfloating_libcall): New.
16265         (alpha_emit_xfloating_arith): New.
16266         (alpha_emit_xfloating_compare): New.
16267         (alpha_emit_xfloating_cvt): New.
16268         (print_operand): Add default abort case.
16269         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
16270         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
16271         (BIGGEST_ALIGNMENT): Increase to 128 bits.
16272         (RETURN_IN_MEMORY): True for TF/TCmode.
16273         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
16274         (FUNCTION_ARG): Move to function_arg.
16275         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
16276         (ASM_OUTPUT_LONG_DOUBLE): New.
16277         (ASM_OUTPUT_DOUBLE): Always output bits.
16278         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
16279         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
16280         (extenddftf2, trunctfdf2): New.
16281
16282 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16283
16284         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
16285         * config/sparc/sol2.h: ... here.
16286
16287 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16288
16289         * basic-block.h (struct loops): New field `levels'.
16290         * flow.c (flow_loops_level_compute): Traverse all outer loops.
16291         (flow_loop_level_compute): Initialise level to 1.
16292         (flow_loops_find): Set loops->levels.
16293         (flow_loops_dump): Print loops->levels.
16294
16295 2000-01-23  Richard Henderson  <rth@cygnus.com>
16296
16297         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
16298         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
16299
16300 2000-01-23  Richard Henderson  <rth@cygnus.com>
16301
16302         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
16303         * i386.h (DBX_REGISTER_NUMBER): Use them.
16304         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
16305         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
16306         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
16307         * i386/sequent.h: Kill incorrect comment.
16308
16309 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
16310
16311         * ggc-page.c (struct page_entry): Make `context_depth' an
16312         `unsigned short'.
16313         (struct globals): Likewise.
16314
16315 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
16316
16317         * loop.c (check_dbra_loop): When checking a loop for
16318         reversability, check the source of any stores to ensure
16319         they don't depend on an initial value.
16320
16321 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16322
16323         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
16324
16325 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
16326
16327         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
16328         'pz_scan' into scope of entire function.  Only affects
16329         compiles with -DDEBUG.
16330
16331 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
16332
16333         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
16334         section naming to that prior to 2000-01-07 patch.
16335         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
16336         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
16337         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
16338         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
16339         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
16340
16341 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
16342
16343         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
16344         constant.
16345
16346 2000-01-21  Jim Wilson  <wilson@cygnus.com>
16347
16348         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
16349         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
16350
16351 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
16352
16353         * cpphash.c (change_newlines): Delete function.
16354         (struct argdata): Delete 'newlines' and 'use_count' fields.
16355         (macroexpand): Remove code referencing those fields.
16356
16357 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16358
16359         * loop.c (loops_info): New variable.
16360         (loop_optimize): Allocate loops->array and free it on exit.
16361         Allocate memory for loops_info and assign to each loop,
16362         replacing alloca.
16363         (find_and_verify_loops): Do not allocate loops->array.
16364
16365 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
16366
16367         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
16368
16369 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
16370
16371         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
16372         pseudos if expanded after first flow.
16373         (movdi_pic_label_ref): Likewise.
16374
16375 2000-01-20  Richard Henderson  <rth@cygnus.com>
16376
16377         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
16378
16379 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
16380
16381         * Makefile.in (fixinc.sh): Depend on specs.
16382         * fixinc/Makefile.in: Add rule to create machname.h.
16383         (fixlib.o): Depend on machname.h.
16384         * fixinc/fixtests.c (machine_name): New test.
16385         * fixinc/fixfixes.c (machine_name): New fix.
16386         * fixinc/fixlib.c (mn_get_regexps): New helper function for
16387         the machine_name test and fix.
16388         * fixinc/fixlib.h: Prototype it.
16389         * fixinc/inclhack.def (machine_name): Use the C test and fix.
16390         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
16391
16392         * gcc.c (do_spec_1) [case P]: Take care not to create
16393         identifiers with three leading or trailing underscores.
16394
16395         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
16396         (fixincl): Don't specify libraries twice on link line.
16397         (gnu-regex.o): Remove special rule.
16398         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
16399         defined by config.h.  Do not define _REGEX_RE_COMP.
16400         (regcomp): Allocate and initialize a fastmap.
16401         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
16402
16403 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
16404
16405         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
16406
16407 2000-01-19  Richard Henderson  <rth@cygnus.com>
16408
16409         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
16410         arguments with BB.  Update all callers.  Tidy line wrapping.
16411
16412 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
16413
16414         * emit-rtl.c (try_split): Return last_insn if we split the
16415         last_insn.
16416
16417 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
16418
16419         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
16420         (ix86_initial_elimination_offset): Declare.
16421         * i386.c (ix86_nsaved_regs): Break out from ...
16422         (ix86_can_use_return_insn_p): ... here.
16423         (ix86_emit_save_regs): Break out from ...
16424         (ix86_expand_prologue): ... here.
16425         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
16426         out from ...
16427         (ix86_expand_epilogue): ... here.
16428         (ix86_compute_frame_size): Make static, add prototype.
16429         (ix86_initial_elimination_offset): Break out from ...
16430         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
16431
16432 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16433
16434         * recog.h (OUT_FCN): Delete.
16435
16436         * vax.md: Call `get_insn_template' instead of OUT_FCN.
16437
16438 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16439
16440         * cppalloc.c: PROTO -> PARAMS.
16441         * cpperror.c: Likewise.
16442         * cppfiles.c: Likewise.
16443         * cpplib.c: Likewise.
16444         * cpplib.h: Likewise.
16445
16446         * config/arm/arm-protos.h: PROTO -> PARAMS.
16447         * config/arm/arm.c: Likewise.
16448         * config/c4x/c4x.c: Likewise.
16449         * config/fr30/fr30-protos.h: Likewise.
16450         * config/nextstep.c: Likewise.
16451         * config/pa/pa.c: Likewise.
16452         * config/pj/pj.c: Likewise.
16453         * config/rs6000/rs6000.c: Likewise.
16454         * config/v850/v850-protos.h: Likewise.
16455         * config/v850/v850.c: Likewise.
16456
16457 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16458
16459         * i370-protos.h: New file.
16460
16461         * i370.c: Include tm_p.h.  Fix compile time warnings.
16462
16463         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
16464         warnings.
16465
16466         * i370.md: Likewise.
16467
16468 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16469
16470         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
16471         (target_isinf, target_isnan, eisnan): Mark parameter with
16472         ATTRIBUTE_UNUSED.
16473         (eiisinf): Wrap in INFINITY.
16474         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
16475         (ibmtoe): Remove unused variable `rndsav'.
16476
16477 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
16478
16479         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
16480         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
16481
16482 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
16483
16484         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
16485         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
16486         (fix_char_macro_defines, fix_char_macro_uses): New functions.
16487
16488         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
16489         Recognize Emacs mode markers also.
16490         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
16491         C++ comments in C++ headers.  Call is_cxx_header only if
16492         necessary.
16493
16494         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
16495         bypass for ncurses.
16496         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
16497         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
16498         ... these, which use the new C fixes.
16499         (math_exception): Escape literal '+' in bypass expression.
16500
16501         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
16502         Regenerate.
16503
16504 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
16505
16506         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
16507         inside the MEM.
16508
16509 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16510
16511         * loop.c (loop_optimize): Allocate loop_info structure for each loop
16512         prior to calling scan_loop.
16513
16514 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
16515
16516         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
16517         (split_branches, calc_live_regs): Likewise.
16518
16519 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
16520
16521         * sh.md (fpu_single, fp_mode): New attributes.
16522
16523 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16524
16525         * loop.c (current_loop_info): Renamed from loop_info_data
16526         and changed to a pointer.
16527         (loop_optimize): Allocate loop_info structure for each loop
16528         and initialise to zero.
16529         (scan_loop): Set current_loop_info.
16530
16531         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
16532         on iteration_var.
16533
16534 2000-01-19  Richard Henderson  <rth@cygnus.com>
16535
16536         * stupid.c: Die die die.
16537         * Makefile.in (OBJS): Remove stupid.o.
16538         (stupid.o): Likewise.
16539
16540         * except.c (emit_eh_context): Don't emit USEs for stupid.
16541         * explow.c (probe_stack_range): Likewise.
16542         * flags.h (obey_regdecls): Remove.
16543         * flow.c (find_basic_blocks): Don't run try_merge_blocks
16544         when not optimizing.
16545         (life_analysis): Limit data collection when not optimizing.
16546         (mark_regs_live_at_end): Always mark the return value registers.
16547         (mark_used_regs): Remove dummy RETURN case.
16548         (print_rtl_with_bb): Don't consult obey_regdecls.
16549         * function.c (use_variable, use_variable_after): Remove.
16550         (assign_parms): Consult optimize not obey_regdecls.
16551         (expand_function_start): Don't emit USEs for stupid.
16552         (expand_function_end): Likewise.
16553         * global.c (build_insn_chain): Export.
16554         * integrate.c (expand_inline_function): Kill return-value USE
16555         handling code.
16556         * jump.c (jump_optimize_1): Do simple jump optimizations and
16557         dead code elimination.
16558         (calculate_can_reach_end): Remove check_deleted argument.
16559         (delete_insn): Patch out insns even when not optimizing.
16560         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
16561         * rtl.h (use_variable, use_variable_after): Remove declarations.
16562         (build_insn_chain): Declare.
16563         * stmt.c (expand_value_return): Don't emit USEs for stupid.
16564         (expand_end_bindings): Likewise.
16565         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
16566         * toplev.c (obey_regdecls): Remove.
16567         (rest_of_compilation): Don't set it.  Kill stupid in favour of
16568         flow1, local-alloc, and reload.
16569         (main): Don't set obey_regdecls.
16570
16571         * config/nextstep.c (handle_pragma): Likewise.
16572
16573         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
16574
16575         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
16576
16577 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16578
16579         * alpha-protos.h: PROTO -> PARAMS.
16580         * alpha.c: Likewise.
16581         * elf.h: Likewise.
16582         * h8300.c: Likewise.
16583         * i386-protos.h: Likewise.
16584         * i386.c: Likewise.
16585         * m32r-protos.h: Likewise.
16586         * m32r.c: Likewise.
16587         * mips.c: Likewise.
16588         * mips.md: Likewise.
16589         * gmon-sol2.c: Likewise.
16590         * sparc.c: Likewise.
16591
16592 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16593
16594         * ns32k-protos.h: New file.
16595
16596         * ns32k.c: Fix compile time warnings.
16597
16598         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
16599         warnings.
16600
16601         * ns32k.md: Likewise.
16602
16603 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16604
16605         * vax-protos.h: New file.
16606
16607         * vax.c: Fix compile time warnings.
16608
16609         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
16610         warnings.
16611
16612         * vax.md: Likewise.
16613
16614         * vaxv.md: Likewise.
16615
16616 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16617
16618         * romp-protos.h: New file.
16619
16620         * romp.c: Fix compile time warnings.
16621
16622         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
16623         warnings.
16624
16625         * romp.md: Likewise.
16626
16627 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16628
16629         * we32k-protos.h: New file.
16630
16631         * we32k.c: Fix compile time warnings.
16632
16633         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
16634         warnings.
16635
16636 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16637
16638         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
16639
16640         * except.c (eh_regs): Likewise.
16641
16642         * final.c (output_operand): Likewise.
16643
16644         * fold-const.c (target_isinf, target_isnan): Likewise.
16645
16646 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
16647
16648         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
16649         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
16650
16651         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
16652         when optimize_size.
16653         (clrstrsi): Rewrite.
16654         (strsethi, strsetqi): New expanders.
16655         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
16656         (cmpstrsi): Emit compare insn before cmpstrsi_1
16657         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
16658         (strlensi_1): Likewise.
16659         (cmpstrsi_1): Likewise; do not output compare.
16660         (strlen expander): Do not unroll when optimizing for size.
16661         (*subsi3_carry): Rename to subsi3_carry
16662         (addqi3_cc): New pattern.
16663         * i386.h (processor_costs): Add move_ratio field.
16664         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
16665         * i386.c (*_cost): Set move_ratio.
16666         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
16667         (x86_expand_strlensi_1): Rewrite the main loop.
16668
16669 2000-01-17  Richard Henderson  <rth@cygnus.com>
16670
16671         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
16672         * cse.c (find_comparison_args, fold_rtx): Likewise.
16673         * integrate.c (subst_constants): Likewise.
16674         * loop.c (get_condition): Likewise.
16675
16676         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
16677
16678         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
16679
16680 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
16681
16682         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
16683         (RESTORE_WARN_FLAGS): Unpack it.
16684         Change semantic type of extension to ttype.
16685         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
16686         * c-parse.y, c-parse.c, objc/objc-parse.y,
16687         objc/objc-parse.c: Regenerate.
16688
16689 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
16690
16691         * fixinc/fixlib.c: Add copyright notice.
16692         (compile_re): New function.
16693         * fixinc/fixlib.h: Prototype compile_re.
16694
16695         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
16696         Use compile_re to compile regular expressions.
16697
16698         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
16699         where the pattern matched.
16700
16701         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
16702         use 'replace'.
16703         (ultrix_ansi_compat): Likewise.
16704         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
16705         add egrep test.
16706         (interactv_add2, interactv_add3): Delete.
16707         (x11_sprintf): Don't use filename glob.
16708         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
16709         Regenerate.
16710
16711 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16712
16713         * print-rtl.c: PROTO -> PARAMS.
16714         * real.c: Likewise.
16715         * reg-stack.c: Likewise.
16716         * resource.c: Likewise.
16717         * sdbout.h: Likewise.
16718         * simplify-rtx.c: Likewise.
16719         * stor-layout.c: Likewise.
16720         * stupid.c: Likewise.
16721         * xcoffout.c: Likewise.
16722         * xcoffout.h: Likewise.
16723
16724 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16725
16726         * toplev.c: PROTO -> PARAMS.
16727         * toplev.h: Likewise.
16728         * tree.c: Likewise.
16729         * tree.h: Likewise.
16730         * unroll.c: Likewise.
16731         * varasm.c: Likewise.
16732         * varray.c: Likewise.
16733         * varray.h: Likewise.
16734
16735 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16736
16737         * reload.c: PROTO -> PARAMS.
16738         * reload.h: Likewise.
16739         * reload1.c: Likewise.
16740         * reorg.c: Likewise.
16741         * resource.h: Likewise.
16742         * rtl.c: Likewise.
16743         * rtl.h: Likewise.
16744         * rtlanal.c: Likewise.
16745         * sbitmap.h: Likewise.
16746         * sdbout.c: Likewise.
16747         * stack.h: Likewise.
16748         * stmt.c: Likewise.
16749         * system.h: Likewise.
16750
16751 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16752
16753         * machmode.h: PROTO -> PARAMS.
16754         * mbchar.h: Likewise.
16755         * mips-tdump.c: Likewise.
16756         * mips-tfile.c: Likewise.
16757         * optabs.c: Likewise.
16758         * output.h: Likewise.
16759         * prefix.c: Likewise.
16760         * profile.c: Likewise.
16761         * protoize.c: Likewise.
16762         * real.h: Likewise.
16763         * recog.c: Likewise.
16764         * recog.h: Likewise.
16765         * regclass.c: Likewise.
16766         * regmove.c: Likewise.
16767         * regs.h: Likewise.
16768
16769 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16770
16771         * ggc-common.c: PROTO -> PARAMS.
16772         * ggc-page.c: Likewise.
16773         * ggc-simple.c: Likewise.
16774         * ggc.h: Likewise.
16775         * global.c: Likewise.
16776         * graph.c: Likewise.
16777         * gthr-win32.h: Likewise.
16778         * haifa-sched.c: Likewise.
16779         * halfpic.h: Likewise.
16780         * integrate.c: Likewise.
16781         * integrate.h: Likewise.
16782         * jump.c: Likewise.
16783         * lcm.c: Likewise.
16784         * local-alloc.c: Likewise.
16785         * loop.c: Likewise.
16786         * loop.h: Likewise.
16787
16788 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16789
16790         * genattr.c: PROTO -> PARAMS.
16791         * genattrtab.c: Likewise.
16792         * gencheck.c: Likewise.
16793         * gencodes.c: Likewise.
16794         * genconfig.c: Likewise.
16795         * genemit.c: Likewise.
16796         * genextract.c: Likewise.
16797         * genflags.c: Likewise.
16798         * gengenrtl.c: Likewise.
16799         * genopinit.c: Likewise.
16800         * genoutput.c: Likewise.
16801         * genpeep.c: Likewise.
16802         * genrecog.c: Likewise.
16803
16804 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
16805
16806         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
16807
16808 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16809
16810         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
16811         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
16812         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
16813         * configure, config.in: Rebuilt.
16814
16815 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
16816
16817         * config/i386/i386.md: Add peephole to merge successive stack
16818         adjusts.
16819
16820 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
16821
16822         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
16823         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
16824         when walking backwards to find all the parameter loads when
16825         the basic block ends in a call.
16826
16827 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16828
16829         * loop.c (this_loop_info): Delete.
16830         (uid_loop): Add in place of uid_loop_num.  All uses updated.
16831         (loop_number_exit_count): Delete and replace with entry in loop
16832         structure.  All uses updated.
16833         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
16834         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
16835         (loop_outer_loop): Likewise.
16836         (loop_invalid, loop_number_exit_labels): Likewise.
16837         (loop_used_count_register): Delete and replace with entry in
16838         loop_info structure.
16839         (find_and_verify_loops): Add loops argument.
16840         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
16841         loop_end, etc. arguments with loop structure pointer.  All callers
16842         changed.
16843         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
16844         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
16845         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
16846         (insert_bct): Likewise.
16847         (basic_induction_var): New argument level.
16848         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
16849         vtop, and cont.  Add used_count_register.
16850         (uid_loop): Delete declaration.
16851         (loop_number_exit_count): Likewise.
16852         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
16853         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
16854         (loop_outer_loop, loop_used_count_register): Likewise.
16855         (loop_invalid, loop_number_exit_labels): Likewise.
16856         (unroll_loop): Replace loop_start and loop_end arguments
16857         with loop structure pointer.
16858         (loop_precondition_p, loop_iterations): Likewise.
16859         Include basic-block.h.
16860         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
16861         with loop structure pointer.
16862         (loop_precondition_p, loop_iterations): Likewise.
16863         * basic-block.h (struct loop): New entries vtop, cont,
16864         cont_dominator, start, end, top, scan_start, exit_labels,
16865         exit_count.
16866         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
16867
16868 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16869
16870         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
16871
16872 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
16873
16874         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
16875
16876 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16877
16878         * pdp11-protos.h: New file.
16879
16880         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
16881         time warnings.
16882
16883         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
16884         warnings.
16885
16886         * pdp11.md: Likewise.
16887
16888         * 2bsd.h: Likewise.
16889
16890 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16891
16892         * mn10300-protos.h: New file.
16893
16894         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
16895         time warnings.
16896
16897         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
16898         warnings.
16899
16900         * mn10300.md: Likewise.
16901
16902 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16903
16904         * mn10200-protos.h: New file.
16905
16906         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
16907         time warnings.
16908
16909         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
16910         warnings.
16911
16912         * mn10200.md: Likewise.
16913
16914 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16915
16916         * h8300-protos.h: New file.
16917
16918         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
16919         time warnings.
16920
16921         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
16922         warnings.
16923
16924         * h8300.md: Likewise.
16925
16926 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16927
16928         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
16929         (asm_emit_uninitialised): Likewise.
16930
16931 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
16932
16933         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
16934         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
16935
16936 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
16937
16938         * config/mips/mips.c (override_options): Don't turn on extra
16939         alignment for mips16.
16940
16941 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
16942
16943         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
16944         eabi, and make sure queued POSTINCREMENT rtl is emitted at
16945         the right point.
16946
16947 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
16948
16949         * builtins.c (PAD_VARARGS_DOWN): Define.
16950         (std_expand_builtin_va_arg): Use the above macro.
16951         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
16952         * tm.texi (Register Arguments): Document the above macro.
16953
16954 2000-01-14  Nick Clifton  <nickc@cygnus.com>
16955
16956         * emit-rtl.c (emit_insn): If checking is enabled, make sure
16957         that this function has not been used to emit a jump
16958         instruction.
16959
16960         * jump.c (return_jump_1): Cope with being passed a null rtx.
16961
16962 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16963
16964         * eh-common.h: PROTO -> PARAMS.
16965         * emit-rtl.c: Likewise.
16966         * errors.c: Likewise.
16967         * errors.h: Likewise.
16968         * except.c: Likewise.
16969         * except.h: Likewise.
16970         * explow.c: Likewise.
16971         * expmed.c: Likewise.
16972         * expr.c: Likewise.
16973         * expr.h: Likewise.
16974         * final.c: Likewise.
16975         * fix-header.c: Likewise.
16976         * flow.c: Likewise.
16977         * fold-const.c: Likewise.
16978         * function.c: Likewise.
16979         * function.h: Likewise.
16980         * gcc.c: Likewise.
16981         * gcov-io.h: Likewise.
16982         * gcov.c: Likewise.
16983         * gcse.c: Likewise.
16984
16985 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16986
16987         * sh-protos.h: New file.
16988
16989         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
16990         Add static prototypes.  Fix compile time warnings.
16991
16992         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
16993         * sh.md: Likewise.
16994         * elf.h: Likewise.
16995
16996 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16997
16998         * arc-protos.h: New file.
16999
17000         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
17001         time warnings.
17002
17003         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
17004         warnings.
17005
17006         * arc.md: Likewise.
17007
17008 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17009
17010         * dsp16xx-protos.h: New file.
17011
17012         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
17013         time warnings.
17014
17015         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
17016         warnings.
17017
17018         * dsp16xx.md: Likewise.
17019
17020 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17021
17022         * convex-protos.h: New file.
17023
17024         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
17025         time warnings.
17026
17027         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
17028         warnings.
17029
17030 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17031
17032         * elxsi-protos.h: New file.
17033
17034         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
17035         time warnings.
17036
17037         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
17038         warnings.
17039
17040         * elxsi.md: Likewise.
17041
17042 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
17043
17044         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
17045         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
17046         match the comment for MIPS16.
17047
17048 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
17049
17050         * flow.c (split_edge): Do not call set_block_for_insn if we
17051         do not have a basic_block_for_insn structure.
17052
17053         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
17054         and destination functions are 32bit aligned within the trampoline.
17055         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
17056         (TRAMPOLINE_ALIGNMENT): Define.
17057
17058         * cse.c (cse_insn): When changing (set (pc) (reg)) to
17059         (set (pc) (label_ref)), verify the change creates a valid insn.
17060
17061         * fr30.c (call_operand): Tighten and rework to match rules for
17062         call RTL expressions.
17063         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
17064         * fr30.md (call patterns): Improve constraints.
17065
17066 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
17067
17068         * fr30.c (fr30_expand_epilogue): Revert last change.
17069         Use emit_jump_insn for the return insn.
17070
17071 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
17072                           Stan Cox  <scox@cygnus.com>
17073
17074         * predict.c: New file. Preliminary infrastructure work for static
17075         branch prediction and basic block reordering.
17076         * basic-block.h: Add prototype for estimate_probability.
17077         * Makefile.in: Add rules for predict.o.
17078
17079 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
17080
17081         * fixincludes (va_list): Use __not_va_list__ for the dummy.
17082         * fixinc/*: Likewise.
17083
17084 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17085
17086         * cccp.c: PROTO -> PARAMS.
17087         * cexp.y: Likewise.
17088         * collect2.c: Likewise.
17089         * combine.c: Likewise.
17090         * convert.h: Likewise.
17091         * cse.c: Likewise.
17092         * dbxout.c: Likewise.
17093         * dbxout.h: Likewise.
17094         * diagnostic.c: Likewise.
17095         * doprint.c: Likewise.
17096         * dwarf2out.c: Likewise.
17097         * dwarf2out.h: Likewise.
17098         * dwarfout.c: Likewise.
17099         * dwarfout.h: Likewise.
17100         * dyn-string.h: Likewise.
17101
17102 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17103
17104         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
17105         macro conditionals guarding use.
17106
17107         * dwarf2out.c: Include "tm_p.h".
17108
17109         * function.c (locate_and_pad_parm): Mark parameter with
17110         ATTRIBUTE_UNUSED.
17111         (expand_function_end): Likewise for variable `context'.
17112
17113         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
17114
17115 2000-01-13  Nick Clifton  <nickc@cygnus.com>
17116
17117         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
17118         register to prevent compile time warnings.
17119
17120 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
17121
17122         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
17123         to avoid -Wtraditional warning.
17124
17125 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17126
17127         * 1750a-protos.h: New file.
17128
17129         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
17130         time warnings.
17131
17132         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
17133         warnings.
17134
17135         * 1750a.md: Likewise.
17136
17137 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17138
17139         * a29k-protos.h: New file.
17140
17141         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
17142         time warnings.
17143
17144         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
17145         warnings.
17146
17147 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17148
17149         * clipper-protos.h: New file.
17150
17151         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
17152         time warnings.
17153
17154         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
17155         warnings.
17156
17157 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
17158
17159         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
17160
17161 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
17162
17163         * configure.in (--enable-new-gxx-abi): New option.
17164         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
17165         * Makefile.in (GXX_ABI_FLAG): New variable.
17166         * configure: Regenerate.
17167
17168 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17169
17170         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
17171         * tm.texi (FORCE_STRUCT_BLK): Document.
17172         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
17173
17174 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
17175
17176         * config/ns32k/ns32k.md: Revert Jan 9 change.
17177
17178         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
17179         to a mode-test, if the predicate is address_operand.
17180
17181 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
17182
17183         * combine.c (if_then_else_cond): Be careful about what kinds
17184         of RTL expressions are passed to operand_subword.
17185
17186         * flow.c (split_edge): If we have to insert a new jump, make
17187         sure to associate it with a basic block.
17188
17189         * flow.c (commit_one_edge_insertion): A block with one successor
17190         can end in a JUMP_INSN that is not a simplejump.
17191
17192 2000-01-12  Robert Lipe  <robertl@sco.com>
17193
17194         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
17195         (BUILD_VA_LIST_TYPE): Define.
17196         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
17197         with crtstuff.c.
17198
17199 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
17200
17201         * cccp.c (do_pragma): Add cast to (char *).
17202
17203 2000-01-12  Richard Henderson  <rth@cygnus.com>
17204             Fred Fish  <fnf@be.com>
17205             Jason Merrill  <jason@cygnus.com>
17206
17207         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
17208         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
17209         * i386/beos-elf.h, i386/beos-pe.h: New files.
17210
17211         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
17212         * cross-make (SYSTEM_HEADER_DIR): Define using
17213         CROSS_SYSTEM_HEADER_DIR.
17214
17215         * gcc.c (LIBRARY_PATH_ENV): Provide default.
17216         (process_command): Use it.
17217         (main): Likewise.  Kill trailing = from env vars.
17218         (build_search_list): Put it back.
17219         * collect2.c (main): Use LIBRARY_PATH_ENV.
17220
17221         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
17222         * toplev.c: Use NEED_DECLARATION_ENVIRON.
17223
17224         * tm.texi (Frame Layout): Document SMALL_STACK.
17225         * c-common.c (c_common_nodes_and_builtins): Check it.
17226
17227         * system.h: Undef alloca after including glibc's <stdlib.h>,
17228         if USE_C_ALLOCA is defined.
17229
17230         * gcc.c (set_input): New fn.
17231         (main): After all input files are compiled, reset the input file
17232         info to the first.
17233
17234         * aclocal.m4 (rindex, index): If already defined, don't attempt
17235         to redefine.
17236
17237         * ginclude/varargs.h: (__va_list__): Define ifndef.
17238         * ginclude/stdarg.h: Likewise.
17239
17240         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
17241         instead of unsigned char.
17242
17243         * hash.h (true, false, boolean): Undef before enum.
17244
17245         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
17246         proper type of "HOST_WIDE_INT *", rather than their natural type of
17247         "unsigned HOST_WIDE_INT *".
17248
17249 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17250
17251         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
17252
17253         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
17254
17255         * regclass.c (choose_hard_reg_mode): Likewise.
17256
17257         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
17258
17259         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
17260
17261 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17262
17263         * c-common.c: PROTO -> PARAMS.
17264         * c-common.h: Likewise.
17265         * c-decl.c: Likewise.
17266         * c-iterate.c: Likewise.
17267         * c-lang.c: Likewise.
17268         * c-lex.c: Likewise.
17269         * c-lex.h: Likewise.
17270         * c-parse.in: Likewise.
17271         * c-pragma.c: Likewise.
17272         * c-pragma.h: Likewise.
17273         * c-tree.h: Likewise.
17274         * c-typeck.c: Likewise.
17275         * objc/objc-act.c: Likewise.
17276         * objc/objc-act.h: Likewise.
17277
17278 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17279
17280         * m88k-protos.h: New file.
17281
17282         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
17283         time warnings.
17284
17285         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
17286
17287         * m88k.md: Likewise.
17288
17289         * tekXD88.h: Likewise.
17290
17291 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17292
17293         * m68k-protos.h: New file.
17294
17295         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
17296         time warnings.
17297
17298         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
17299
17300         * mot3300.h: Likewise.
17301
17302 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
17303
17304         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
17305         extract_bitlst.
17306         (extract_bitlist): Declare bitlen.
17307
17308 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
17309
17310         * cccp.c: Accept and ignore -lang-fortran.
17311
17312         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
17313         qualifiers don't match at any level of pointerness.
17314
17315 2000-01-12  Robert Lipe  <robertl@sco.com>
17316
17317         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
17318
17319 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
17320
17321         * reload1.c (reload_reg_unavailable): New static variable.
17322         (reload_reg_free_p): Test it.
17323         (reload_reg_free_for_value_p): Test it instead of
17324         reload_reg_used.
17325         (choose_reload_regs_init): Compute it.
17326
17327 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
17328
17329         * reorg.c (fill_slots_from_thread): Check modified_in_p
17330         before replacing.
17331
17332 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
17333
17334         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
17335         these nodes even if INTERNALS is not set.
17336
17337 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
17338
17339         * gcse.c (delete_null_pointer_checks_1): Cope when
17340         get_condition cannot determine the condition.
17341
17342 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
17343
17344         * toplev.h (set_message_length): Declare.
17345
17346         * diagnostic.c (obstack_chunk_alloc): Define macro.
17347         (obstack_chunk_free): Likewise.
17348         (struct output_buffer): New data structure.
17349         (vmessage): Remove.
17350         (output_maximum_width): New variable.
17351         (doing_line_wrapping, set_message_length, init_output_buffer,
17352         get_output_prefix, output_space_left, emit_output_prefix,
17353         output_newline, output_append, output_puts, dump_output,
17354         vbuild_message_string, build_message_string, build_location_prefix,
17355         voutput_notice, output_printf, line_wrapper_printf,
17356         vline_wrapper_message_with_location):  New functions. Implement
17357         automatic line wrapping.
17358         (v_message_with_decl): Make it handle automatic line wrapping.
17359         (v_error_with_file_and_line): Likewise.
17360         (v_warning_with_file_and_line): Likewise.
17361         (announce_function): Likewise.
17362         (default_print_error_function): Likewise.
17363
17364 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
17365
17366         * cpplib.h (struct cpp_options): Change lang_asm to char.
17367         Add lang_fortran.
17368         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
17369         done in cpp_handle_option now.
17370         (initialize_builtins): Take out special case code used only by
17371         __STDC_VERSION__.
17372         (cpp_handle_option): Turn off trigraphs and trigraph warnings
17373         if -traditional.  Recognize -lang-fortran and set
17374         lang_fortran, also turn off cplusplus_comments.
17375         (print_help): Document -lang-fortran.
17376         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
17377         lang_asm. Ignore all directives other than `# 123 "file"' if
17378         CPP_PREPROCESSED.
17379         (cpp_get_token): If -traditional, don't recognize directives
17380         unless the # is in column 1.
17381         (parse_string): If lang_fortran or lang_asm, silently
17382         terminate strings ('' or "") at end of line.
17383         Remove unnecessary braces.
17384
17385 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17386             Richard Henderson  <rth@cygnus.com>
17387
17388         * resource.c (mark_referenced_resources): Mark a set strict_low_part
17389         as used.
17390         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
17391         strict_low_part when possible.
17392
17393 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17394
17395         * alias.c: PROTO -> PARAMS.
17396         * basic-block.h: Likewise.
17397         * bitmap.c: Likewise.
17398         * bitmap.h: Likewise.
17399         * builtins.c: Likewise.
17400         * c-aux-info.c: Likewise.
17401         * caller-save.c: Likewise.
17402         * calls.c: Likewise.
17403
17404 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17405
17406         * Makefile.in (toplev.o): Depend on regs.h.
17407
17408         * output.h (tdesc_section): Prototype.
17409
17410         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
17411
17412         * sdbout.c: Include "tm_p.h".
17413
17414         * toplev.c: Include "regs.h".
17415
17416 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
17417
17418         * unroll.c (unroll_loop): Add EH support.
17419
17420 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17421
17422         * pa-protos.h: New file.
17423
17424         * pa.c: Include recog.h and tm_p.h.
17425         (compute_zdepwi_operands, compute_movstrsi_length,
17426         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
17427         find_addr_reg, import_milli): Add static prototypes.
17428         (pa_cpu_string, pa_arch_string): Constify a char*.
17429         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
17430         (read_only_operand): Add argument `mode'.
17431         (singlemove_string, output_move_double, output_fp_move_double,
17432         output_block_move, output_and, output_ior, output_ascii,
17433         remove_useless_addtr_insns, milli_names, output_mul_insn,
17434         output_div_insn, output_mod_insn, output_arg_descriptor,
17435         output_cbranch, output_bb, output_bvb, output_dbra, ,
17436         output_millicode_call, output_call, hppa_encode_label,
17437         output_parallel_movb, output_parallel_addb): Constify a char*.
17438         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
17439         (output_parallel_addb): Remove extra arg to `constrain_operands'
17440
17441         * pa.h:  Move all prototypes to pa-protos.h.
17442         (pa_cpu_string, pa_arch_string): Constify a char*.
17443         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
17444
17445         * pa.md: Call `function_label_operand' with mode argument.
17446         Likewise for `read_only_operand'.
17447         Fix nesting of parens in call to `symbolic_operand'.
17448
17449 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17450
17451         * i860-protos.h: New file.
17452
17453         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
17454         time warnings.
17455
17456         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
17457
17458         * i860.md: Likewise.
17459
17460 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
17461
17462         * i386.md (movstrsi expander): Rewrite.
17463         (movstrsi_1 insn): Deleted.
17464         (strmovhi, strmovqi expander): New expanders.
17465         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
17466         * i386.c (x86_single_stringop): New global variable.
17467         * i386.h (x86_single_stringop): Declare.
17468         (TARGET_SINGLE_STRINGOP): New macro.
17469
17470 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
17471
17472         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
17473         integer vararg POSTINCREMENT before the destination of the jump
17474         for the hard fp case.
17475         (function_arg_pass_by_reference): Pass a copy of CUM to
17476         FUNCTION_ARG.
17477
17478         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
17479         for CONSTANT_ADDRESS_P above while loop for subreg.
17480
17481 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
17482
17483         * flow.c (propagate_block): When a prologue/epilogue insn
17484         is marked dead, unconditionally clear libcall_is_dead and
17485         insn_is_dead, and only dump rtl if warnings aren't being
17486         suppressed.
17487
17488 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
17489
17490         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
17491         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
17492         (FIXED_REGISTERS): Set dirflag as fixed.
17493         (CALL_USED_REGISTERS): Set dirflag as used.
17494         (REG_ALLOC_ORDER): Set dirflag as last one.
17495         (DIRFLAG_REG): New macro.
17496         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
17497         (HI_REGISTER_NAMES): Add dirflag.
17498         (DEBUF_PRINT_REG): Handle dirflag.
17499         * i386.md (type attribute): New cld and str types.
17500         (length_opcode attribute): Set cld and str to 1.
17501         (memory attribute): Set str to unknown - it is not clear from the
17502         patterns.
17503         (pent_np function unit): Prefixed string operations takes 12 cycles
17504         minimally; cld takes 2 cycles.
17505         (ppro_uops attribute): Str is "many" and cld is "few".
17506         (ppro_p0 unit): Handle cld here.
17507         (k6_alux unit): Handle cld and str types.
17508         (k6_load unit): It is ocupied by str opcodes.
17509         (k6_store unit): It is ocupied by str opcodes.
17510         (athlon_decode): Str is vector decoded.
17511         (athlon_ieu): Handle str and cld.
17512         (cld pattern): New.
17513         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
17514         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
17515         cmpstrsi_nz_1 insn): Do not output cld instruction
17516
17517 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
17518
17519         * gcc.texi (G++ and GCC): Add Java and Chill.
17520         (Bug Critera): Don't list languages.
17521
17522         * gcc.texi (Incompatibilities): No longer claim most C compilers
17523         are K&R.
17524
17525         * gcc.texi (G++ and GCC): Update other front-ends list.
17526
17527 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
17528
17529         * i386.c (ix86_expand_setcc): Fix typo.
17530         (ix86_expand_movcc): Similarly.
17531
17532         * Band-aid until haifa's bitset implementation is nuked.
17533         * haifa-sched.c (extract_bitlst): New parameter for size of the
17534         bitset in bits.  All callers changed.  Avoid looking at undefined
17535         bits in the bitset.
17536         (edgeset_bitsize): New variable.
17537         (schedule_region): Initialize edgeset_bitsize.
17538
17539 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17540
17541         * Makefile.in (optabs.o): Depend on real.h
17542         (resource.o): Depend on insn-attr.h
17543
17544         * builtins.c (result_vector): Wrap prototype in macro conditions
17545         governing definition and use.
17546
17547         * c-common.c: Include tm_p.h.
17548
17549         * c-lex.c: Likewise.
17550
17551         * elfos.h: Constify a char*.
17552
17553         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
17554         (get_attr_length, shorten_branches, profile_after_prologue): Mark
17555         parameter with ATTRIBUTE_UNUSED.
17556
17557         * fold-const.c (exact_real_inverse): Wrap variable `i' in
17558         CHECK_FLOAT_VALUE.
17559
17560         * haifa-sched.c (schedule_insns): Mark parameter with
17561         ATTRIBUTE_UNUSED.
17562
17563         * optabs.c: Include real.h.
17564
17565         * real.h (ereal_atof): Add prototype arguments.
17566
17567         * resource.c: Include insn-attr.h.
17568
17569         * sdbout.c (sdbout_queue_anonymous_type,
17570         sdbout_dequeue_anonymous_types): Wrap in macro
17571         SDB_ALLOW_FORWARD_REFERENCES.
17572         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
17573         ATTRIBUTE_UNUSED.
17574
17575         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
17576
17577         * stupid.c: Include tm_p.h.
17578
17579         * tree.c (real_value_from_int_cst): Mark parameter with
17580         ATTRIBUTE_UNUSED.
17581
17582 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17583
17584         * i960-protos.h: New file.
17585
17586         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
17587         time warnings.
17588
17589         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
17590
17591 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17592
17593         * combine.c (expand_field_assignment): Do not discard SUBREGs
17594         while computing nonzero_bits.
17595
17596 2000-01-09  Nick Clifton  <nickc@cygnus.com>
17597
17598         * config/arm/arm.c: Fix compile time warnings about signed vs
17599         unsigned constants.
17600         * config/arm/arm.h: Fix compile time warnings about signed vs
17601         unsigned constants.
17602
17603 2000-01-09  Philip Blundell  <philb@gnu.org>
17604
17605         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
17606         than `ldm' with only one register.
17607         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
17608         only one register.
17609
17610         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
17611         clobbered.
17612
17613 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
17614
17615         * config/ns32k/ns32k.md (load or push effective address): Operand 1
17616         must have SImode.
17617
17618 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17619
17620         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
17621         assignment used as truth value.
17622
17623         * function.c (assign_temp): Mark parameter `dont_promote' with
17624         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
17625         PROMOTE_FOR_CALL_ONLY.
17626
17627         * genrecog.c (write_subroutine): Mark variable `operands' with
17628         ATTRIBUTE_UNUSED.
17629
17630         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
17631         ATTRIBUTE_UNUSED.
17632
17633         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
17634         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
17635
17636         * toplev.c (note_deferral_of_defined_inline_function): Likewise
17637         for `decl'.
17638
17639 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17640
17641         * config/c4x.h: Tidy up comments.
17642         * config/c4x.c: Likewise.
17643
17644 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
17645
17646         * fold-const.c (lshift_double, rshift_double): Handle
17647         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
17648
17649 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17650
17651         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
17652         in prepare_function_start().
17653
17654 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
17655
17656         * config/v850/v850.c (expand_epilogue): Interrupt functions no
17657         longer allocate extra stack for function calls.
17658
17659 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17660
17661         * config/c4x/c4x.md (*subqf3_set): Fix typo.
17662
17663 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17664
17665         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
17666
17667 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
17668
17669         * rs6000.c (processor_target_table): Add power3 as alias for 630.
17670         * aix43.h: Revert Aug 2 change.
17671         (HAS_INIT_SECTION): Define, not visible yet.
17672         (LD_INIT_SWITCH): Define, not visible yet.
17673         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
17674
17675         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
17676
17677         * collect2.c (main): Expand ld2 size further.
17678         (export_object_lst): Cast assignment to avoid warning.
17679         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
17680         (scan_prog_file, COFF): Do not collect initialization or
17681         finalization functions generated for entire shared object if
17682         init/fini support present.
17683
17684 2000-01-07  Nick Clifton  <nickc@cygnus.com>
17685
17686         * config/elfos.h: Tidy up formatting of marcos.  Make sure
17687         that .section directives are always prefixed by a tab.
17688
17689         * config/svr4.h: Add #include "elfos.h" and remove duplicate
17690         definitions.
17691
17692 2000-01-07  Matt Austern  <austern@sgi.com>
17693
17694         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
17695         expon.
17696
17697 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
17698
17699         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
17700         crtstuff.c.
17701         (crtbegin.o, s-crtS): Likewise.
17702
17703 2000-01-06  Richard Henderson  <rth@cygnus.com>
17704
17705         * alpha.md (adddi_2+1): Limit offset such that it will be
17706         loadable with a single ldah+lda pair.
17707         (adddi_2+2): Explicitly fail split if we can't make it work.
17708
17709 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
17710
17711         * protoize.c: Conditionally include unistd.h.
17712         (IS_SAME_PATH_CHAR): New macro.
17713         (IS_SAME_PATH): New macro.
17714         (CPLUS_FILE_SUFFIX): New macro.
17715         (cplus_suffix): New static variable.
17716         (is_abspath): New static function.
17717         (in_system_include_dir): Handle DOS style pathnames.
17718         (file_could_be_converted): Likewise.
17719         (file_normally_convertible): Likewise.
17720         (directory_specified_p): Likewise.
17721         (file_excluded_p): Likewise.
17722         (abspath): Likewise.
17723         (shortpath): Likewise.
17724         (referenced_file_is_newer): Likewise.
17725         (save_def_or_dec): Likewise.
17726         (do_processing): Likewise.
17727         (main): Likewise.
17728         (edit_file): Likewise. Use rename instead of link.
17729         (rename_c_file): Likewise. Don't rename syscalls file.
17730         (munge_compile_params): Define null device for DOS based systems.
17731         (process_aux_info_file): Use binary mode if appliable.
17732         (edit_file): Likewise.
17733         * invoke.texi (Running Protoize): Document C++ suffixes used.
17734
17735         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
17736         IS_DIR_SEPARATOR macros.
17737         * collect2.c: Likewise.
17738         * cppinit.c: Likewise.
17739         * dwarf2out.c: Likewise.
17740         * gcc.c: Likewise.
17741         * gcov.c: Likewise.
17742         * prefix.c: Likewise.
17743         * rtl.c: Likewise.
17744         * toplev.c: Likewise.
17745         * system.h: And move to here.
17746
17747         * prefix.c (update_path): Fix typo in variable name.
17748
17749 2000-01-06  Richard Henderson  <rth@cygnus.com>
17750
17751         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
17752         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
17753         (count_reg_sets_1, count_reg_references): Likewise.
17754         (flow_loops_level_compute): Start counting actual loop depth at 1.
17755         (flow_loops_find): Likewise.
17756         * local-alloc.c (update_equiv_regs): Likewise.
17757         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
17758
17759 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
17760
17761         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
17762         FIRST_PSEUDO_REGISTER
17763         * dwarf2out.c: Don't include frame.h
17764         * dwarfout.c: Likewise
17765         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
17766         frame.h
17767
17768 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
17769
17770         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
17771         dead registers.
17772
17773         * i386.c (movsf splitter): Fix typo in my last checkin.
17774
17775 2000-01-05  Nick Clifton  <nickc@cygnus.com>
17776
17777         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
17778         own definition of this macro.
17779         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
17780         flag_data_sections or UNIQUE_SECTION_P are true.
17781
17782         * tm.texi (UNIQUE_SECTION): Document that it can be called for
17783         unitialised data decls.
17784
17785         * config/i386/winnt.c (i386_pe_unique_section): Cope with
17786         being called for uninitialised data.
17787
17788         * config/i386/interix.c (i386_pe_unique_section): Cope with
17789         being called for uninitialised data.
17790
17791         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
17792         for uninitialised data.
17793
17794         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
17795         for uninitialised data.
17796
17797         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
17798         for uninitialised data.
17799
17800         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
17801         (UNIQUE_SECTION_P): Always generate a unique section if
17802         flag_data_sections is true.
17803         (UNIQUE_SECTION): Also generate unique sections for
17804         uninitialised data.
17805         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
17806         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
17807         named_section().
17808
17809 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17810
17811         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
17812         SI, or DI.
17813
17814 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17815
17816         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
17817         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
17818         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
17819         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
17820         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
17821
17822         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
17823
17824 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
17825
17826         * c-decl.c (finish_enum): Simplify code to determine minimum and
17827         maximum values of the enum, and calculate the type.  Remove check
17828         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
17829         the DECL_INITIAL of each enumeration constant with a copy converted
17830         to the enumeration type.  When updating variant types, don't bother
17831         updating the type itself.
17832
17833         * c-typeck.c (build_binary_op): Simplify conditional expressions
17834         when weeding out spurious signed-unsigned warnings.  Add new
17835         spurious warning category: if the unsigned quantity is an enum
17836         and its maximum value fits in signed_type(result_type).  Update
17837         commentary.
17838         (build_conditional_expr): Warn here if one alternative is signed
17839         and the other is unsigned.
17840
17841 2000-01-05  Nick Clifton  <nickc@cygnus.com>
17842
17843         * config/fr30/fr30.h: Remove extraneous comments.
17844
17845 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
17846
17847         * reload1.c (choose_reload_regs): When disabling a reload, also
17848         set reload_spill_index to -1.
17849
17850 2000-01-04  Joel Sherrill (joel@OARcorp.com>
17851
17852         * configure.in (m68*-*-rtemscoff*): New target, formal name for
17853         old m68*-*-rtems*.
17854         (m68*-*-rtemself*): New target.
17855         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
17856         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
17857         (sparc*-*-rtemself*): New target.
17858         (sparc*-*-rtems*): Now elf not a.out.
17859         * config/i386/rtems.h: Include config/rtems.h.
17860         * config/i386/rtemself.h: Include config/rtems.h.
17861         * config/i960/rtems.h: Include config/rtems.h.
17862         * config/m68k/rtems.h: Include config/rtems.h.
17863         * config/m68k/rtemself.h: Include config/rtems.h.
17864         * config/mips/rtems64.h: Include config/rtems.h.
17865         * config/pa/rtems.h: Include config/rtems.h.
17866         * config/rs6000/rtems.h: Include config/rtems.h.
17867         * config/sh/rtems.h: Include config/rtems.h.
17868         * config/sh/rtemself.h: Include config/rtems.h.
17869         * config/sparc/rtems.h: Include config/rtems.h.
17870         * config/sparc/rtemself.h: Include config/rtems.h
17871
17872 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
17873
17874         * final.c (shorten_branches): Correctly compute length of
17875         asms without operands.
17876
17877 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
17878
17879         * configure.in: Add pj target.
17880         * configure: Regenerate.
17881         * config/pj: New directory.
17882         * config/pj/lib1funcs.S: New file.
17883         * config/pj/linux.h: New file.
17884         * config/pj/pj.c: New file.
17885         * config/pj/pj.md: New file.
17886         * config/pj/pjl.h: New file.
17887         * config/pj/t-pj: New file.
17888         * config/pj/xm-pj.h: New file
17889
17890 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
17891
17892         * toplev.c (rest_of_compilation): Run shorten-branches before
17893         reg-stack for now.
17894
17895 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17896
17897         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
17898         macros so that they're consistent with their names.
17899         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
17900         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
17901
17902 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17903
17904         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
17905         modified inadvertently.
17906
17907 2000-01-04  Joel Sherrill <joel@OARcorp.com>
17908
17909         * configure.in (v850*-*-rtems*): New target.
17910         * configure: Regenerate.
17911         * config/v850/rtems.h: New file.
17912
17913 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
17914
17915         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
17916         (__gthread_key_create): Likewise.
17917         (__gthread_key_dtor):  Likewise.
17918         (__gthread_once): Fix logic.
17919         (__gthread_key_delete): Cast away constness.
17920
17921         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
17922         * invoke.texi: Document.
17923         * i386/mingw32.h (CPP_SPEC): Use.
17924         (LIBGCC_SPEC): Likewise.
17925         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
17926
17927 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
17928
17929         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
17930         (HANDLE_PRAGMA_PACK): Undefine.
17931         (SLOW_UNALIGNED_ACCESS): Define.
17932
17933 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
17934
17935         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
17936         to default definition.
17937         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
17938         (store_fixed_bit_field): Call macro with word_mode and alignment.
17939         (extract_bit_field): Call macro with relevant mode and alignment.
17940         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
17941         to default definition.
17942         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
17943         and alignment.
17944         (move_by_pieces_ninsns): Likewise.
17945         (clear_by_pieces): Likewise.
17946         (emit_push_insn): Likewise.
17947         (store_field): Call macro with relevant mode and alignment.
17948         (expand_expr): Likewise.
17949         (expand_expr_unaligned): Likewise.
17950
17951         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
17952         (SLOW_UNALIGNED_ACCESS): Define.
17953         (CASE_VECTOR_MODE): Always use 32-bit offsets.
17954         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
17955         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
17956         (toc_section): Likewise and .toc pseudo-op.
17957         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
17958         64-bit mode.
17959         (TEXT_SECTION_ASM_OP): Likewise.
17960         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
17961         32-bit offsets.
17962
17963         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
17964         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
17965         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
17966         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
17967         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
17968
17969 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
17970
17971         * regclass.c: Revert my Jan 4 change to loop cost computation.
17972
17973 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
17974
17975         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
17976         compilation.
17977
17978 2000-01-04  Stan Cox  <scox@cygnus.com>
17979
17980         * haifa-sched.c (build_control_flow): Change unreachable simple
17981         loop test to check if current block has only one predecessor.
17982         (find_rgns): Initialize degree.  Use dest as degree index, not src.
17983
17984 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17985
17986         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
17987
17988         * calls.c (expand_call): Likewise for
17989         `old_stack_arg_under_construction'.
17990
17991         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
17992
17993         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
17994         `save_constant'.
17995
17996         * gcc.c (execute): Likewise for `ut' and `st'.
17997
17998         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
17999
18000         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
18001
18002         * jump.c (jump_optimize_1): Likewise for `temp2'.
18003
18004         * local-alloc.c (block_alloc): Likewise for `r1'.
18005
18006         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
18007
18008         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
18009         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
18010
18011         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
18012         and `set2'.
18013
18014         * reload.c (find_reloads): Likewise for `goal_alternative_number'
18015         and `goal_earlyclobber'.
18016
18017         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
18018
18019         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
18020
18021         * stupid.c (stupid_life_analysis): Likewise for `chain'.
18022
18023         * unroll.c (copy_loop_body): Likewise for `copy'.
18024
18025         * varasm.c (output_constructor): Likewise for `byte'.
18026
18027 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
18028
18029         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
18030         all FP constants for constant->reg moves.
18031         (ix86_split_to_parts): Try to convert memory address into immediate
18032         when available in the constant pool.
18033         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
18034         moves.
18035         (LEGITIMATE_CONSTANT_P): Return 1.
18036         * i386.md (pushsf): New splitter to convert constant pool memory
18037         reference to immediate.
18038         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
18039         reload.
18040
18041 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
18042
18043         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
18044         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
18045         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
18046         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
18047         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
18048
18049 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
18050
18051         * ginclude/stdbool.h:  Support compilation as C++.
18052
18053 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
18054
18055         * fold-const.c (make_range): Don't try to reverse an unbounded range.
18056
18057 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
18058
18059         * regclass.c (regclass): Properly compute loop_cost.  Adjust
18060         comments.
18061
18062         * regclass.c: Fix minor whitespace problems.
18063
18064 2000-01-03  Anthony Green  <green@cygnus.com>
18065
18066         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
18067         Restore the pic register if required.
18068
18069 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
18070
18071         * c-common.c (format_char_info): Update comment.
18072         (check_format_info): Recognize 'z' modifier in the same way 'Z'
18073         was recognized.  Emit warning for formats new in ISO C99 only
18074         if flag_isoc9x is not set.
18075
18076 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
18077
18078         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
18079
18080 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
18081
18082         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
18083         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
18084         (make_compound_operation): Choose cheaper alternative between
18085         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
18086
18087         * regclass.c (op_costs): Remove global variable.
18088         (record_reg_classes): New parameter "op_costs" and "reg_pref".
18089         (record_operand_costs): Break out from ...
18090         (scan_one_insn): ... here.
18091         (dump_regclass): Make dumps nicer.
18092         (regclass): Dump preferrences choosed and changes done during passes.
18093
18094 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
18095
18096         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
18097
18098 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
18099
18100         * config/sparc/sparc.c (gen_df_reg): New function.
18101         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
18102         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
18103         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
18104         movtf_cc_reg_sp64+1): Use it.
18105
18106 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
18107
18108         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
18109         copied LABEL_DECLs.
18110
18111 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
18112
18113         * config/i386/i386.c (ix86_expand_unary_operator): Function
18114         definition made void.
18115         (ix86_expand_binary_operator): Update outdated preceding comment.
18116         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
18117         prototype.
18118
18119         * config/i386/i386.c (override_options): Fix option-name typo.
18120
18121 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
18122
18123         * system.h (CEIL): Define.
18124         * builtins.c (CEIL): Remove.
18125         * expmed.c (CEIL): Likewise.
18126         * expr.c (CEIL): Likewise.
18127         * stor-layout.c (CEIL): Likewise.
18128
18129 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18130
18131         * expr.c (store_constructor_field): Fix typo introduced with last
18132         gcc2 merge.
18133
18134 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
18135
18136         * tree.h (BINFO_N_BASETYPES): New macro.
18137
18138 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
18139
18140         * expmed.c (emit_store_flag): Prevent losing a pending stack
18141         adjust the same way we prevent losing queued increments.
18142
18143 See ChangeLog.2 for earlier changes.