OSDN Git Service

* gcc.c (do_spec_1): Add new %B operator.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-07-13  Zack Weinberg  <zack@wolery.cumb.org>
2
3         * gcc.c (do_spec_1): Add new %B operator.
4         (set_input): Prepare for %B.
5
6         (link_command_spec): Move up with the other tm.h-
7         overrideable specs.  Factor out the portion conditional on
8         LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
9         (struct compiler): Just have a single spec string.  All users
10         updated.
11         (default_compilers): Remove unnecessary braces.
12         (static_specs): Update.
13
14         (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
15         named specs.
16         (C and assembly specs): Use the new named specs, as appropriate.
17
18         * objc/lang-specs.h: Use the new named specs.  
19         Remove unnecessary braces.
20
21 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
22
23         * gcc.c (execute): If a subprocess gets a fatal signal, report
24         strsignal() of the signal number, and ask for a bug report.
25         Do not do this for SIGPIPE if there's already been an error.
26
27         * tradcpp.c: Don't include signal.h.  Don't catch SIGPIPE.
28         Delete pipe_closed.
29
30         * tradcif.c: Remove.
31
32 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
33
34         * final.c (profile_function): Do not emit profile counters in
35         the data section, if NO_PROFILE_COUNTERS is defined.
36         * tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
37         FUNCTION_PROFILER.
38
39         * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
40         (FUNCTION_PROFILER): Just emit a call to mcount.
41
42 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
43
44         * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
45
46         * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
47         cpplib.c, cpplib.h: Eradicate all traces of code dependent on
48         traditional, lang_chill, or lang_fortran.
49
50         * cppfiles.c: #undef strcmp to suppress warning about macros
51         used without arguments.
52         (_cpp_execute_include): Use f, not fname, in "No include path"
53         error.
54         (_cpp_pop_file_buffer): New function.
55         * cpplib.c: Don't include <sys/mman.h>.
56         (cpp_push_buffer): Set line_base and lineno in new buffer.
57         (cpp_pop_buffer): Use _cpp_pop_file_buffer.
58
59         * cpplex.c: Move all prototypes and structure declarations to the
60         top of the file.  Properly parenthesise some macro arguments.
61         (cpp_scan_line): New function.
62         (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
63         don't need to walk up the stack counting.
64
65 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
66
67         * c-common.c (combine_strings): Emit a pedantic warning when a
68         string length is greater than the minimum ANSI C is required
69         to support.
70
71 Wed Jul 12 13:24:30 2000  Jeffrey A Law  (law@cygnus.com)
72
73         * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
74         * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
75
76 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
77
78         * c-decl.c (define_label): Warn about identifier conflicts with
79         labels in traditional C.
80
81         * c-parse.in (unop +): Warn about the unary plus operator for
82         traditional C.
83
84         * c-typeck.c (store_init_value): Warn about automatic aggregate
85         initialization for traditional C.
86
87         * invoke.texi (-Wtraditional): Document new warnings.
88
89 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
90
91         * Makefile.in (c-errors.o): Fix thinko in dependency.
92
93 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
94
95         * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
96         -traditional, -ftraditional, or -traditional-cpp was given.
97         Do not pass -traditional to the preprocessor.
98         (.S spec): Likewise.  Don't bother defining __ASSEMBLER__, the
99         preprocessor does it automatically.
100         * objc/lang-specs.h: Likewise.  Don't bother defining __OBJC__.
101
102         * ch/lang-specs.h: Always use tradcpp.  Do not pass
103         -traditional, -trigraphs, or -pedantic to the preprocessor.
104         * f/lang-specs.h (.F spec): Likewise.  Don't bother defining
105         _LANGUAGE_FORTRAN.
106
107 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
108
109         * cppexp.c (LOGICAL): Delete macro.
110         (_cpp_parse_expr): Do not use UNARY for unary +.  Implement ||
111         and && directly.
112
113         * cpphash.c (HASHSIZE): Increase to 4096.
114         (struct hashdummy): Add hash field.
115         (eq_HASHNODE): Compare unreduced hashes, then lengths, then
116         the string values using memcmp.
117         (cpp_lookup): Set dummy.hash.
118
119 Wed Jul 12 13:15:16 2000  Marc Espie <espie@openbsd.org>
120
121         * configure.in (m88k-openbsd): Express configuration using new fragment
122         style.
123         * configure: Rebuilt.
124         * m88k/aout-dbx.h: New.
125         * m88k/openbsd.h: New.
126         * m88k/xm-openbsd.h: New.
127
128 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
129
130         * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
131
132 2000-07-12  Richard Henderson  <rth@cygnus.com>
133
134         * reload.c (push_secondary_reload): Make sure to add the new
135         reload at the end, after acquiring secondary memory.
136
137 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
138
139         * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
140
141         * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
142         lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
143
144         * c-parse.in (stmt): Delete unused variables.
145
146         * convert.c (convert_to_vector): Likewise.
147
148         * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
149
150         * tree.c (finish_vector_type): Prototype.
151
152 2000-07-12  Bruce Korb  <bkorb@gnu.org>
153
154         * fixinc/fixfixes.c: use xmalloc
155         * fixinc/fixincl.c(initialize): set program name for xmalloc
156         * fixinc/fixlib.c(must_malloc): obsolete
157         (is_cxx_header): no longer used - disabled
158         (skip_quote): inserted and disabled for future use
159         * fixinc/fixlib.h: reflects above
160         * fixinc/fixtests.c: removed dinkleberries
161
162 2000-07-12  Neil Booth  <NeilB@earthling.net>
163
164         * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
165         * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
166
167         * cpphash.c: (struct macro_info, alloc_macro, free_macro,
168         struct toklist_dummy): New.
169         (cpp_free_definition): Free macros with free_macro.
170         (count_params): Don't save paramter spellings.  Save macro
171         information in a struct macro_info.
172         (parse_define): Don't allocate a token list.
173         (save_expansion): Allocate the macro's token list, and
174         save parameter spellings if necessary.  Use TOKEN_SPELL.
175         (cpp_create_definition): Make list const.
176
177 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
178
179         * c-typeck.c (pedwarn_c99): Move to
180         * c-errors.c: ... Here.
181         * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
182         * diagnostic.c (verror, vwarning, vpedwarn): Make static.
183         * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
184         (c-errors.o): List dependency.
185
186 2000-07-12  Mark Mitchell  <mark@codesourcery.com>
187
188         * c-parse.c: Remove.
189         * c-parse.h: Likewise.
190         * c-parse.y: Likewise.
191         * objc/objc-parse.c: Likewise.
192         * objc/objc-pasre.y: Likewise.
193
194 2000-07-11  Rodney Brown  <RodneyBrown@pmsc.com>
195
196         * gcc.texi: Fix minor typos
197         * extend.texi: Fix minor typos
198
199 2000-07-11  Marc Espie <espie@openbsd.org>
200
201         * collect2.c (main): Recognize .lo as object files.
202
203 2000-07-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
204
205         * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
206         true.
207
208         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
209         with MAP_ANONYMOUS and MAP_ANON.
210         * configure, config.in: Rebuilt.
211
212 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
213
214         * diagnostic.c (save_output_state): Remove.
215         (restore_output_state): Likewise.
216         (clear_text_info): New function.
217         (clear_diagnostic_info): Likewise.
218         (output_text_length, is_starting_newline, output_prefix,
219         line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
220         prefixing_policy, output_buffer_ptr_to_format_args): New macros
221         (set_real_maximum_length, output_set_maximum_length,
222         output_set_prefix, output_get_prefix, output_set_maximum_length,
223         output_destroy_prefix, init_output_buffer,
224         reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
225         output_add_newline, output_add_character, output_add_space,
226         output_append_r, output_append, wrap_text, output_format,
227         output_do_printf, output_printf, output_do_verbatim,
228         output_verbatim, verbatim): Use them.
229         (output_clear): Split into cleat_text_info and
230         clear_diagnostic_info.
231         (struct output_state): Move to...
232
233         * diagnostic.h: ...Here
234         (struct output_buffer): Adjust.
235
236 2000-07-11  Zack Weinberg  <zack@wolery.cumb.org>
237
238         * cpplex.c (parse_name): No longer inline (premature optimization).
239         (do_pop_context): Fold into pop_context.
240         (pop_context): Returns int.
241         (lex_next): Hoist test for end of directive into pop_context.
242         (push_macro_context): Returns int; takes just reader and token.
243         Hoist test for excessive nesting to caller.
244         (push_arg_context): Returns void; takes just reader and token.
245         Do not call stringify_arg or get_raw_token.
246         (get_raw_token): Convert tail recursion through push_arg_context
247         to a loop at this level.  Call stringify_arg here if appropriate.
248         (maybe_paste_with_next): Convert tail recursion to a while loop.
249         Hoist test of paste_level to caller.
250
251         (stringify_arg): Push arg context at beginning.
252         (cpp_get_token): Split out core into _cpp_get_token.  Call
253         process_directive here.  Throw away CPP_PLACEMARKER tokens.
254         (_cpp_get_token): Convert tail recursion through
255         push_macro_context to a loop at this level.
256         (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
257         _cpp_get_raw_token): Use _cpp_get_token.
258         (_cpp_skip_rest_of_line): Drop the context stack directly; do
259         not call pop_context.
260         (_cpp_run_directive): Call lex_next directly.
261
262         * cpphash.h: Prototype _cpp_get_token.
263         * cppexp.c (lex): Use it.
264         * cpphash.c (parse_define): Use it.
265         * cpplib.c (get_define_node, do_undef, parse_include,
266         read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
267         do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
268         parse_ifdef, validate_else): Use it.
269         (cpp_push_buffer): Tweak error message; abort if anyone tries
270         to push a buffer while macro expansions are stacked.
271
272 2000-07-11  Donn Terry  <donnte@microsoft.com>
273
274         * cpplex.c (free_macro_args, save_token): Cast arg of free
275         and/or xrealloc to PTR.
276         (_cpp_init_input_buffer): Clear all fields of the base context.
277
278 Tue Jul 11 15:28:21 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
279
280         * gensupport.c (process_rtx): Make rtl checking stop
281         complaining about the define_insn while it is being
282         converted from a define_insn_and_split.
283
284 Tue Jul 11 16:26:17 2000  Clinton Popetz  <cpopetz@cygnus.com>
285
286         * config/mips/mips.c (simple_memory_operand): Access the
287         INTVAL of the address, not it's containing MEM.
288
289 2000-07-11  Bruce Korb  <bkorb@gnu.org>
290
291         * fixinc/fixtests.c(double_slash): obsolete
292         (else_endif_label): likewise
293         * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
294         (libc1_ifdefd_memx): correct initial comment
295         and omit the #if/#endif pair from the memxxx declarations
296         * fixinc/fixincl.x: regen
297
298 2000-07-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
299
300         * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
301
302 2000-07-11  Neil Booth  <NeilB@earthling.net>
303
304         * cpp.texi: Update.
305
306 2000-07-11  Neil Booth  <NeilB@earthling.net>
307
308         * cppinit.c: (cpp_reader_init): Allow digraphs by default.
309         (handle_option): Set digraphs according to standard.
310         Merge OPT_lang_c89 handler with OPT_std_c89.
311
312         * cpplex.c: (lex_line, can_paste): Honour digraphs in
313         accordance with the digraphs flag.
314
315         * cpplib.h: (struct cpp_options): New option digraphs.
316
317 2000-07-10  Hans-Peter Nilsson  <hp@axis.com>
318             Bruce Korb  <bkorb@gnu.org>
319
320         * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
321         * fixinc/fixincl.x: Regenerate.
322         * fixinc/tests/base/testing.h: Add testcase.
323
324 2000-07-10  Richard Henderson  <rth@cygnus.com>
325
326         * config/ia64/ia64.c (got_symbolic_operand): New.
327         (symbolic_operand, move_operand): Revert 0701 change.
328         * config/ia64/ia64.h (PREDICATE_CODES): Update.
329         * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
330         * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
331         split the offset into a 14-bit low part instead of a 13-bit low part.
332         (load_fptr): Mark the mem as unchanging.
333         (load_symptr): Use got_symbolic_operand.
334
335 2000-07-10  Nick Clifton  <nickc@cygnus.com>
336
337         * libgcc2.c (next_stack_level): Cast result of computation to
338         (void **) so that the assignment does not generate a warning.
339
340 2000-07-10  Chandrakala Chavva  <cchavva@redhat.com>
341
342         * flags.h : Add new variable flag_single_precision_constant.
343         * toplev.c (display_help) : Add -fsingle-precision-constant option.
344         (flag_single_precision_constant): New.
345         * c-lex.c (yylex): Convert floating point constant to single
346         precision constant.
347         * invoke.texi : Add documentation for this new option.
348
349 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
350
351         * diagnostic.c (output_octal): Second parameter is unsigned.
352         (output_long_octal): Likewise.
353         (output_hexadecimal): Likewise.
354         (output_long_hexadecimal): Likewise.
355         (output_format): Adjust arguments extraction. Tweak.
356         (output_verbatim, verbatim): End variable argument list.
357         (report_diagnostic): Improve documentation.
358
359 2000-07-10  Benjamin Chelf  <chelf@codesourcery.com>
360
361         * c-common.h (build_stmt): Declare.
362         (build_continue_stmt): Likewise.
363         (build_break_stmt): Likewise.
364         (build_return_stmt): Likewise.
365
366         * c-decl.c (do_case): Rewrite to do what previously done in
367         c-parse.in.
368
369         * c-semantics.c (build_stmt): Define.
370         (build_return_stmt): Likewise.
371         (build_break_stmt): Likewise.
372         (build_continue_stmt): Likewise.
373         (build_case_label): Likewise.
374
375         * c-parse.in (BREAK): Change to build tree, then generate RTL.
376         (CONTINUE): Likewise.
377         (RETURN): Likewise.
378         (CASE): Likewise.
379         (DEFAULT): Likewise.
380
381         * c-parse.y: Regenerate.
382         * c-pasre.c: Likewise.
383
384 2000-07-09  Jason Merrill  <jason@redhat.com>
385
386         * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
387
388         * tree.h (STRIP_NOPS): Check for error_mark_node.
389         (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
390         (dwarf2out_*): Remove duplicate declarations.
391
392         * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
393         DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
394
395 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
396
397         * diagnostic.c (wrap_text): New function.
398         (maybe_wrap_text): Likewise.
399         (output_add_string): Use it.
400         (output_format): Likewise.
401         (count_error): Use verbatim instead of notice.
402         (report_error_function): Likewise. Don't use plain fprintf.
403         (finish_diagnostic): New function.
404         (output_do_verbatim): Tweak.  Commonalize functionalities in
405         output_verbatim and verbatim.
406         (output_verbatim): Adjust.
407         (verbatim): Likewise.
408         (report_diagnostic): Define.
409
410         * diagnostic.h (report_diagnostic): Prototype.
411
412 2000-07-09  Zack Weinberg  <zack@wolery.cumb.org>
413
414         * cppexp.c (_cpp_parse_expr): Don't use unary plus.
415
416 2000-07-09  Neil Booth  <NeilB@earthling.net>
417
418         * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
419         IShspace, ISspace: Update.
420
421         * cppinit.c: ISTABLE: Update.
422         V: New.
423
424         * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
425         (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
426         (skip_block_comment, skip_line_comment, parse_string,
427         lex_line): Use is_vspace rather than IS_NEWLINE.
428         (skip_whitespace, lex_line): Clean up to use is_nvspace.
429         (lex_line): Use KNOWN_DIRECTIVE.  Any kind of directive
430         gets a BOL flag.
431         (lex_next): Unconditionally stop if within a directive.
432         Treat directives within macro invocations as directives
433         (after parse_args emits error), not as the argument.
434
435 2000-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
436
437         * diagnostic.c (diagnostic_args): New macro.
438         (diagnostic_msg): Likewise.
439         (output_formatted_integer): Likewise.
440         (output_state): New data type.
441         (digit_buffer): Make global.
442         (output_add_integer): Rename to output_decimal. Squeeze
443         digit_buffer.
444         (output_long_decimal, output_unsigned_decimal,
445         output_long_unsigned_decimal, output_octal, output_long_octal,
446         output_hexadecimal, output_long_hexadecimal): New functions.
447         (output_append_r): New function.
448         (output_append): Tweak.
449         (output_flush_on): Rename to output_to_stream.
450         (output_format): Change prototype.  Improve documentation. Handle
451         more format specifiers.
452         (build_location_prefix): Rename to context_as_prefix.
453         (output_notice): Rename to output_do_printf.
454         (output_printf): Tweak.
455         (line_wrapper_printf): Likewise.
456         (vline_wrapper_message_with_location): Adjust call to renamed
457         functions.
458         (v_message_with_decl): Likewise.
459         (default_print_error_function): Likewise.
460         (save_output_state): New function.
461         (restore_output_state): Likewise.
462         (output_do_verbatim): Likewise.
463         (output_verbatim): Define.
464         (verbatim): Likewise.
465
466         * diagnostic.h (printer_fn): Change return type from void to int.
467         Improve documentation.
468         (output_add_integer): Rename to output_decimal.
469         (output_flush_on, output_format): Don't export.
470         (output_verbatim, verbatim): Declare.
471
472 2000-07-08  Toon Moene  <toon@moene.indiv.nluug.nl>
473
474         * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
475         Check whether c divides op1 exactly if operation is not
476         multiplication.
477
478 2000-07-08  Richard Henderson  <rth@cygnus.com>
479
480         * final.c (final): Do not abort when reg-stack introduces
481         a new insn.
482
483 2000-07-08  Zack Weinberg  <zack@wolery.cumb.org>
484
485         * cpplib.h (struct cpp_name): Now struct cpp_string.
486         (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
487         CPP_HEADER_NAME): Change to type S.
488         (struct cpp_token): Rename 'name' field to 'str'.  Add 'node'
489         field, a cpp_hashnode *.  All references to val.name updated
490         to use val.str or val.node as appropriate.
491         (struct cpp_reader): Add spec_nodes field.
492         (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
493
494         * cpphash.h (struct spec_nodes): New.
495         (enum spell_type): Reorder.  Only SPELL_STRING tokens use
496         val.str.  All references to 'spelling > SPELL_NONE' updated to
497         match.
498
499         (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
500         pfile->buffer->inc are not NULL before dereferencing them.
501
502         * cpplex.c (parse_name): Take a pointer to the current token,
503         plus current position and limit as args; return the new
504         position; don't copy the text of a name into the string
505         buffer, instead call cpp_lookup and store the node pointer.
506         If extending a token, copy out the text of the old into a
507         scratch buffer, append the new, look that up and store the new
508         node pointer.  Inline.
509         (maybe_paste_with_next): If the result of paste is a NAME,
510         then look up the pasted text and store its node pointer.
511         (lex_line): Adjust for new parse_name interface.
512         Check for L"str", L'str' using spec_nodes->n_L.
513         (spell_token): SPELL_IDENT tokens have their spelling in
514         val.node->name.  Handle SPELL_STRING tokens that don't have
515         string delimiters.
516         (_cpp_expand_name_space,
517         (can_paste): Check for L ## "str" using spec_nodes->n_L.
518         (cpp_get_token, special_symbol): No need to call cpp_lookup.
519         (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
520         return 1=equal 0=not, not a tristate.
521
522         * cpphash.c (var_args_str): Delete.
523         (find_param): Compare node fields directly.
524         (is__va_args__): Use CPP_PEDANTIC.  Just compare
525         token->val.node with spec_nodes->n__VA_ARGS__.
526         (dump_funlike_macro): Don't use var_args_str.
527
528         * cpplib.c (_cpp_check_directive): Just walk through
529         spec_nodes->dirs comparing pointers.
530         (get_define_node, do_pragma_poison, detect_if_not_defined,
531         parse_ifdef): The identifier has already been looked up.
532         (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
533         node.
534         (do_if): Only call detect_if_not_defined at beginning of file.
535         (_cpp_parse_assertion): Only copy string pointers for
536         SPELL_STRING tokens.
537         (pragma_dispatch): Take a node pointer and examine its name
538         field.
539         (_cpp_init_stacks): Also initialize the spec_nodes structure.
540
541         * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
542         _cpp_init_macros.
543         (cpp_cleanup): Free pfile->spec_nodes.  Call _cpp_cleanup_* in
544         reverse order from the corresponding _cpp_init_* routines.
545
546         * cppexp.c (parse_number, parse_charconst, parse_defined,
547         lex): Check val.node->type instead of calling cpp_defined.
548         Use spec_nodes entries where appropriate.
549
550         * fix-header.c, scan-decls.c: Update for interface changes.
551
552 2000-07-08  Geoffrey Keating  <geoffk@cygnus.com>
553
554         * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
555         emitting aux_truncdfsf2.
556
557 2000-07-03  Donn Terry  (donnte@microsoft.com)
558
559         * cppinit.c (print_help): split overlong line into ISO C89
560         maximum chunks.
561
562 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
563
564         * cppexp.c: Update all code for new lexer interface.
565         (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
566         (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
567         * cpplex.c (token_names): Trim leading CPP_ from names; make
568         the strings unsigned.
569         (_cpp_spell_operator): New.
570         (is_macro_disabled): Disable all macros if rescanning
571         preprocessed text.
572         (_cpp_get_directive_token): Remove.
573
574         * cppinit.c: Don't set no_macro_expand.
575         * cpplib.c (read_line_number, do_line): Check only for EOF,
576         not VSPACE.
577         * cpphash.h: Update prototypes.
578         * cpplib.h (CPP_VSPACE): Remove.
579         (struct cpp_reader): Remove no_macro_expand.
580
581 2000-07-08  Neil Booth  <NeilB@earthling.net>
582
583         * cpphash.c (is__va_args__): New function.
584         (count_params): Fix line reported in error messages.  Use
585         is__va_args__.  Don't return ')' on error.  Flag GNU style
586         rest args macro definitions.
587         (parse_define): Check macro name is not __VA_ARGS__.
588         (save_expansion): Check identifier in non-varargs-macro is
589         not __VA_ARGS__.  Don't flag GNU_VARARGS.
590         * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
591         (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
592          than per-token GNU_VARARGS.
593         * cpplib.h (GNU_VARARGS): Remove.
594         (GNU_REST_ARGS): New.
595
596 Sat Jul  8 01:38:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
597
598         * i386.md (call_pop, call, call_value_pop): Do not set
599         current_function_uses_pic_offset_table for calls to static
600         functions or indirect calls.
601
602 2000-07-07  Jim Wilson  <wilson@cygnus.com>
603
604         * config/ia64/ia64.c (rws_access_reg): New local write_count.  If
605         is_predicate_reg, then take max write_count of register pair.
606
607 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
608
609         * tradcpp.c (main): Rename label `include' to `add_include' to
610         avoid conflicts with variable `include' in traditional C.
611
612 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
613
614         * integrate.c (copy_insn_list): Remove REG_LABEL notes.
615
616 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
617
618         * sibcall.c (uses_addressof): Add INMEM argument, check for
619         current_function_internal_arg_pointer outside of MEM rtxs in addition
620         to ADDRESSOFs.
621         (sequence_uses_addressof): Update caller.
622
623 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
624
625         * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
626         and friends.
627
628 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
629
630         * system.h (UNION_INIT_ZERO): New macro for initializing union
631         members in structs.
632
633         * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
634
635 2000-07-07  Neil Booth  <NeilB@earthling.net>
636
637         * cpp.texi: Update.
638
639 Fri Jul  7 07:47:35 2000  Jeffrey A Law  (law@cygnus.com)
640
641         * final.c (final): Detect out of bounds array access to
642         the insn_lengths array.
643
644 2000-07-07  Kazu Hirata  <kazu@hxi.com>
645
646         * fold-const.c (fold): Fix a comment typo.
647
648 2000-07-07  Neil Booth  <NeilB@earthling.net>
649
650         * cpp.texi: Update to new lexer.
651
652 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
653
654         * tradcpp.c: New file.
655         * tradcif.y: New file.
656         * tradcif.c: New generated file.
657
658         * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
659         $(srcdir)/tradcif.c.  Add tradcpp to STAGESTUFF and
660         dependencies of C.  Install tradcpp from install-common, in
661         $(libsubdir).
662
663 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
664
665         * cppinit.c: Include cppdefault.h.  Refer to
666         cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
667         to GCC_INCLUDE_DIR and its length.
668         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
669         USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
670         STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT):  Move to
671         cppdefault.h.
672         (include_defaults_array): Move to cppdefault.c.
673
674         * cppdefault.h: New file.
675         * cppdefault.c: New file.
676
677         * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
678         (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
679         (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
680         this file.
681
682 Thu Jul  6 18:30:36 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
683
684         * reload.c (push_reload): When seeing if can reuse a register,
685         check extra registers against widest of INMODE and OUTMODE.
686
687 2000-07-06  Neil Booth  <NeilB@earthling.net>
688
689         * cpplib.c: (_cpp_parse_assertion):  Perform hash lookups
690         based on full length of predicate.
691
692 2000-07-06  Hans-Peter Nilsson  <hp@axis.com>
693
694         * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
695         [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
696
697 2000-07-05  Kazu Hirata  <kazu@hxi.com>
698
699         * h8300-proto.h: Fix formatting.
700         * h8300.c: Likewise.
701         * h8300.h: Likewise.
702
703 2000-07-05  Jim Wilson  <wilson@cygnus.com>
704
705         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
706         CCmode.
707
708 2000-07-05  Rodney Brown  <RodneyBrown@pmsc.com>
709
710         * invoke.texi: Fix minor typos
711         * md.texi: Fix minor typos
712
713 2000-07-05  Zack Weinberg  <zack@wolery.cumb.org>
714
715         * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
716
717 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
718
719         * cpplex.c: Don't include sys/mman.h.
720         (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
721
722         * cpplib.c: Include sys/mman.h and obstack.h.
723         (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
724         obstack.
725         (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
726         (_cpp_unwind_if_stack): Now static, unwind_if_stack.  Don't
727         bother freeing if stack entries (they will be freed with their buffer).
728         (do_endif): Free if stack entries from the buffer obstack.
729         (push_conditional): Allocate if stack entries from the buffer obstack.
730
731         (find_answer): Rename to _cpp_find_answer.
732         (do_assert, do_unassert): Update.
733
734         * cpphash.h: Update prototypes.
735         (xobnew): New convenience macro.
736         * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
737         Update comments.
738         (struct cpp_hashnode): Remove disabled field.
739
740         * cppinit.c: Don't include hashtab.h or splay-tree.h.
741         (report_missing_guard): Moved to cppfiles.c.
742         (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
743         cpp_init_includes.
744         (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
745         cpp_cleanup_includes.  Don't destroy hashtab or
746         all_include_files here.
747         (cpp_finish): Use _cpp_report_missing_guards.
748
749         * cppfiles.c (report_missing_guard): Moved from cppinit.c.
750         (_cpp_init_include_table): Rename _cpp_init_includes.
751         (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
752
753         * cppexp.c (parse_assertion): Update for new name of
754         find_answer.
755
756         * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
757
758 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
759
760         * cpplib.c (do_ident): s/VSPACE/EOF/
761
762 2000-07-05  Neil Booth  <NeilB@earthling.net>
763
764         * cpplex.c: Fix trigraph replacement within strings.
765
766 2000-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
767
768         * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
769
770         * xcoffout.c (assign_type_number): Constify.
771         (xcoffout_source_file): Add static prototype.  Don't needlessly
772         cast away const-ness.
773
774 2000-07-04  Jason Merrill  <jason@redhat.com>
775
776         * frame.h (frame_state): Move base_offset to end.
777
778 Mon Jul  3 21:31:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
779
780         * calls.c (emit_library_call_value_1): Revert previous change.
781
782 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
783
784         * fix-header.c (struct partial_proto): Remove unnecessary fields.
785         (recognized_extern, recognized_function, read_scan_file):
786         Update for new scheme.
787         (check_protection): It's still a multiple include guard even
788         if it doesn't always trigger.
789         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
790         new scheme.
791         * scan.h: Declare struct cpp_token.  Update prototypes.
792
793 2000-07-03  Neil Booth  <neilb@earthling.net>
794             Zack Weinberg  <zack@wolery.cumb.org>
795
796         Complete overhaul of the lexer and macro expander.
797
798         * cpphash.c (object_defn, funct_defn, push_macro_expansion,
799         arg, arglist, argdata, reflist, collect_objlike_expansion,
800         collect_funlike_expansion, collect_params,
801         warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
802         unsafe_chars, macarg, compare_defs, special_symbol,
803         scan_arguments, stringify, funlike_macroexpand,
804         _cpp_quote_string, monthnames): Delete.
805         (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
806         _cpp_create_definition, _cpp_dump_definition,
807         dump_hash_helper): Adjust.
808         (find_param, count_params, parse_define, var_args_str,
809         check_macro_redefinition, save_expansion): New.
810
811         * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
812         parse_string, output_line_command, trigraph_replace,
813         lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
814         cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
815         cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
816         _cpp_skip_rest_of_line): Modify.
817
818         (maybe_macroexpand, skip_comment, copy_comment, skip_string,
819         find_position, null_warning, bump_column, expand_name_space,
820         pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
821         _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
822         _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
823         _cpp_prescan): Delete.
824
825         (dump_param_spelling, process_directive, lex_next,
826         is_macro_disabled, stringify_arg, expand_context_stack,
827         output_token, make_string_token, alloc_number_token,
828         special_symbol, duplicate_token, maybe_paste_with_next,
829         can_paste, prevent_macro_expansion, restore_macro_expansion,
830         get_temp_token, release_temp_tokens, quote_string,
831         token_names, token_spellings, _cpp_expand_name_space,
832         _cpp_glue_header_name, _cpp_reserve_name_space,
833         digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
834         placemarker_token, eof_token, cpp_context, macro_args,
835         get_raw_token, parse_arg, parse_args, save_token,
836         push_arg_context, push_macro_context, pop_context,
837         do_pop_context, free_macro_args, _cpp_get_line,
838         _cpp_run_directive): New.
839
840         * cpplib.c (validate_else, parse_include, push_conditional,
841         pass_thru_directive, read_line_number, parse_ifdef,
842         detect_if_not_defined, _cpp_check_directive, do_define,
843         do_undef, do_include, do_import, do_include_next, do_error,
844         do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
845         top_pragmas, do_pragma_gcc, do_pragma_implementation,
846         do_pragma_poison, do_pragma_system_header,
847         do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
848         dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
849         do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
850         cpp_defined): Update for new scheme.
851         (strtoul_for_line, get_define_node, dump_macro_name,
852         _cpp_check_linemarker, _cpp_parse_assertion): New.
853         (_cpp_handle_directive, do_pragma_default): Delete.
854
855         * cpphash.h (struct predicate): Now struct answer.
856         (enum spell_type, struct token_spelling, struct directive,
857         directive_handler): New.
858         Update prototypes.  Remove unused macros.
859         * cpplib.h: Update prototypes.  Remove unused macros,
860         structure definitions, and fields.
861
862         * cpperror.c (print_containing_files, v_message): Adjust.
863         * cppexp.c (parse_assertion, lex, parse_escape,
864         _cpp_parse_expr): Adjust.
865         * cppfiles.c (open_include_file, _cpp_execute_include,
866         _cpp_compare_file_date, cpp_read_file, read_include_file):
867         Adjust.
868         * cppinit.c (dump_special_to_buffer): Delete.
869         (append_include_chain, merge_include_chains, cpp_reader_init,
870         cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
871         cpp_finish, handle_option, print_help): Adjust.
872         * cppmain.c (main): Adjust.
873
874 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
875
876         * cppspec.c (lang_specific_driver): Use double quotes in error
877         message.
878
879 Mon Jul  3 16:53:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
880
881         * calls.c (emit_library_call_value_1): Use valreg instead
882         of hard_libcall_value.
883
884 2000-07-03  Geoff Keating  <geoffk@cygnus.com>
885
886         * config/rs6000/rs6000.c (rs6000_emit_move): New function.
887         * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
888         * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
889         (movhi): Likewise.
890         (movqi): Likewise.
891         (movdf): Likewise.
892         (movsf): Likewise.
893         (movdi): Likewise.
894         (movti): Likewise.
895
896         * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
897         mode instead of wider_mode is being used.
898
899 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
900
901         * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
902         of 'r'. Use q_regs_operand.
903         (andsi_1+2): Use q_regs_operand.
904
905 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
906
907         * builtins.c (get_memory_rtx): Always put into alias set 0.
908
909 2000-07-03  Nick Clifton  <nickc@cygnus.com>
910
911         * config/arm/arm.md: Fix post increment and pre increment
912         peepholes so that they do not generate UNPREDICATBLE opcodes.
913         (ie ones where the increment clobbers the source/destination).
914
915 2000-07-01  Marek Michalkiewicz  <marekm@linux.org.pl>
916
917         * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
918         change too big for -mtiny-stack" a warning, if larger than 63.
919         (out_set_stack_ptr): Change the logic so -mno-interrupts is
920         always safe to use on possible future devices.
921         (function_prologue): Write SPH before SPL, for consistency.
922         If interrupt_func_p true, we know we have enabled interrupts.
923         (avr_num_arg_regs): New function.  Round up to even number of
924         bytes if no -mpack-args or if calling a libgcc function.
925         (function_arg, function_arg_advance): Use it.
926         (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
927         Output "movw" if available.
928         (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
929         of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
930         (asm_output_section_name): Add blanks for consistent output.
931         (encode_section_info): Set TREE_READONLY for progmem data to
932         avoid gas warnings about changed section attributes.
933         (avr_hard_regno_mode_ok): Force non-QImode data to start in
934         even numbered registers on devices with "movw".
935         * config/avr/avr.h (MASK_*): Define bits for target_flags.
936         (TARGET_SWITCHES): Mark help strings for translation.
937         Add new -mpack-args and -menhanced switches.
938         (TARGET_OPTIONS): Mark help strings for translation.
939         (progmem_section): Add section attributes.
940         * config/avr/avr.md (*movhi, call_insn, call_value_insn):
941         Output "movw" if available.
942         (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
943         New patterns.
944         * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
945         call convention (arguments aligned on even registers).
946         (_cleanup, _exit): Make weak symbols libc can override.
947
948 2000-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
949
950         * fp-bit.h: New file.
951
952         * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
953         Comment #endif statements.
954         (__thenan_sf, __thenan_df): Add missing braces around initializer.
955
956 Mon Jul  3 00:32:47 2000  Jeffrey A Law  (law@cygnus.com)
957
958         * gcse.c (compute_pre_data): Compute ae_kill using other local
959         properties instead of calling compute_ae_kill.
960
961         * alias.c (init_alias_analysis): Do not call
962         prologue_epilogue_contains until after reload has completed.
963
964 2000-07-02  Benjamin Chelf  <chelf@codesourcery.com>
965
966         * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
967         (genrtl_finish_compound_stmt): Likewise.
968         (genrtl_compound_stmt): Change to return void.
969
970         * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
971         move code from here to ...
972         (genrtl_compound_stmt): ... here.
973         (genrtl_finish_compound_stmt): Remove.
974         (expand_stmt): Add comment.
975
976 2000-07-02  Zack Weinberg  <zack@wolery.cumb.org>
977
978         * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
979         and VOID_TYPE_P.
980
981 2000-07-02  Jakub Jelinek  <jakub@redhat.com>
982
983         * cpplib.h (struct cpp_reader): New field include_depth.
984         (struct cpp_printer): Rename last_bsd to last_id.
985         * cppfiles.c (read_include_file): Bump include_depth.
986         * cpplex.c (cpp_pop_buffer): Decrement include_depth.
987         (output_line_command): Output correct #line if a header
988         is including itself and is not protected against multiple inclusion.
989         Use include_depth instead of buffer_stack_depth, last_id instead of
990         last_bsd.
991         * cppinit.c (cpp_start_read): Initialize last_id instead of
992         last_bsd.
993
994 2000-07-01  Benjamin Chelf  <chelf@codesourcery.com>
995
996         * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
997         (c-semantics.o): New target.
998
999         * c-common.h (TREE_LANG_FLAG_?): Added documentation.
1000         (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
1001         (genrtl_clear_out_block): Likewise.
1002         (genrtl_goto_stmt): Likewise.
1003         (genrtl_expr_stmt): Likewise.
1004         (genrtl_decl_stmt): Likewise.
1005         (genrtl_if_stmt): Likewise.
1006         (genrtl_while_stmt): Likewise.
1007         (genrtl_do_stmt): Likewise.
1008         (genrtl_return_stmt): Likewise.
1009         (genrtl_for_stmt): Likewise.
1010         (genrtl_break_stmt): Likewise.
1011         (genrtl_continue_stmt): Likewise.
1012         (genrtl_scope_stmt): Likewise.
1013         (genrtl_switch_stmt): Likewise.
1014         (genrtl_case_label): Likewise.
1015         (genrtl_begin_compound_stmt): Likewise.
1016         (gerntl_finish_compound_stmt): Likewise.
1017         (genrtl_compound_stmt): Likewise.
1018         (genrtl_asm_stmt): Likewise.
1019         (genrtl_decl_cleanup): Likewise.
1020         (DECL_ANON_UNION_ELEMS): Likewise.
1021         (emit_local_var): Likewise.
1022         (make_rtl_for_local_static): Likewise.
1023         (expand_cond): Likewise.
1024         (expand_stmt): Likewise.
1025         (c_expand_return): Likewise.
1026         (c_expand_start_case): Likewise.
1027         (do_case): Likewise.
1028         (COMPOUND_STMT_NO_SCOPE): Likewise.
1029         (c_expand_asm_operands): Likewise.
1030         (NEW_FOR_SCOPE_P): New macro.
1031         (expand_expr_stmt_fn): New type.
1032
1033         (set_current_function_name_declared): Likewise.
1034         (current_function_name_declared): Likewise.
1035         (lang_expand_stmt): Likewise.
1036         (stmts_are_full_exprs_p): Likewise.
1037         (anon_aggr_type_p): Likewise.
1038         (lang_expand_expr_stmt): Likewise.
1039         (build_case_label): Likewise.
1040
1041         * c-decl.c (lang_expand_expr_stmt): Initialize.
1042         (stmts_are_full_exprs_p): Define.
1043         (current_function_name_declared): Likewise.
1044         (do_case): Likewise.
1045         (lang_expand_stmt): Likewise.
1046         (set_current_function_name_declared): Likewise.
1047         (anon_aggr_type_p): Likewise.
1048
1049         * c-semantics.c: New file.
1050         (expand_cond): Moved from cp/semantics.c.
1051         (genrtl_do_pushlevel): Likewise.
1052         (genrtl_clear_out_block): Likewise.
1053         (genrtl_goto_stmt): Likewise.
1054         (genrtl_expr_stmt): Likewise.
1055         (genrtl_decl_stmt): Likewise.
1056         (genrtl_if_stmt): Likewise.
1057         (genrtl_while_stmt): Likewise.
1058         (genrtl_do_stmt): Likewise.
1059         (genrtl_return_stmt): Likewise.
1060         (genrtl_for_stmt): Likewise.
1061         (genrtl_break_stmt): Likewise.
1062         (genrtl_continue_stmt): Likewise.
1063         (genrtl_scope_stmt): Likewise.
1064         (genrtl_switch_stmt): Likewise.
1065         (genrtl_case_label): Likewise.
1066         (genrtl_begin_compound_stmt): Likewise.
1067         (genrtl_finish_compound_stmt): Likewise.
1068         (genrtl_compound_stmt): Likewise.
1069         (genrtl_asm_stmt): Likewise.
1070         (genrtl_decl_cleanup): Likewise.
1071         (make_rtl_for_local_static): Moved from cp/decl.c.
1072         (emit_local_var): Likewise.
1073         (expand_stmt): Define.
1074
1075         * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
1076         (c_expand_return): Likewise.
1077         (c_expand_start_case): Likewise.
1078
1079 2000-07-01  Richard Henderson  <rth@cygnus.com>
1080
1081         * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
1082         with the low 13 bits set.
1083         (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
1084         * config/ia64/ia64.md (movdi): Likewise.  Expand a CONST with one
1085         of the low 13 bits into a CONST plus an adddi3.
1086         (load_symptr): Set RTX_UNCHANGING_P.
1087
1088 2000-06-30  Mark Mitchell  <mark@codesourcery.com>
1089
1090         * Makefile.in (c-common.o): Don't depend on c-tree.h or c-lex.h.
1091         * c-common.c (ridpointers): Declare.
1092         * c-common.h (enum rid): Declare.
1093         (NORID): Likewise.
1094         (ridpointers): Likewise.
1095         * c-lex.c (ridpointers): Don't declare.
1096         (init_lex): Initialize ridpointers.
1097         * c-lex.h (enum rid): Don't declare.
1098         (NORID): Likewise.
1099         (RID_FIRST_MODIFIER): Likewise.
1100         (ridpointers): Likewise.
1101
1102 2000-06-30  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1103
1104         * pa/som.h (ASM_WEAKEN_LABEL): Export weak data symbols so that they
1105         have global scope.
1106
1107 2000-06-30  Martin von Loewis  <loewis@informatik.hu-berlin.de>
1108
1109         * invoke.texi (-Wreturn-type): In C++, a missing return type is
1110         always an error.
1111
1112 2000-06-30  Catherine Moore  <clm@cygnus.com>
1113
1114         * c-common.c (decl_attributes):  Differentiate between
1115         types and type decls for alignment.
1116
1117 2000-06-30  Nathan Sidwell  <nathan@codesourcery.com>
1118
1119         * cpp.texi: Document #pragma GCC dependency
1120         * cppfiles.c (open_include_file): Set date to unknown.
1121         (_cpp_compare_file_date): New function.
1122         (read_include_file): Set file date.
1123         * cpphash.h (struct include_file): Add date member.
1124         (_cpp_compare_file_date): Prototype.
1125         * cpplib.c (parse_include): Add trail parameter. Adjust.
1126         (do_include): Adjust parse_include call.
1127         (do_import): Likewise.
1128         (do_include_next): Likewise.
1129         (gcc_pragmas): Add dependency pragma.
1130         (do_pragma_dependancy): New pragma.
1131
1132 2000-06-29  Jason Merrill  <jason@redhat.com>
1133
1134         * dwarf2out.c (output_loc_operands): Don't abort on codes that have
1135         no operands.
1136
1137 2000-06-29  Jim Wilson  <wilson@cygnus.com>
1138
1139         * config/ia64/ia64.h (PREFERRED_RELOAD_CLASS): Return NO_REGS for
1140         a volatile mem and FR_REGS.
1141
1142 2000-06-29  Mark Mitchell  <mark@codesourcery.com>
1143
1144         * c-common.c: Include c-common.h, not c-lex.h or c-tree.h.
1145         * c-common.h (flag_const_strings): Declare.
1146         (warn_format): Likewise.
1147         (flag_traditional): Likewise.
1148         (flag_isoc99): Likewise.
1149         (warn_parentheses): Likewise.
1150         (warn_conversion): Likewise.
1151         (C_TYPE_OBJECT_P): Likewise.
1152         (C_TYPE_INCOMPLETE_P): Likewise.
1153         (C_TYPE_FUNCTION_P): Likewise.
1154         (C_TYPE_OBJECT_OR_INCOMPLETE_P): Likewise.
1155         (C_EXP_ORIGINAL_CODE): Likewise.
1156         (build_unary_op): Likewise.
1157         (build_binary_op): Likewise.
1158         (lvalue_p): Likewise.
1159         (default_conversion): Likewise.
1160         (common_type): Likewise.
1161         * c-tree.h (C_TYPE_OBJECT_P): Remove.
1162         (C_TYPE_INCOMPLETE_P): Likewise.
1163         (C_TYPE_FUNCTION_P): Likewise.
1164         (C_TYPE_OBJECT_OR_INCOMPLETE_P): Likewise.
1165         (C_EXP_ORIGINAL_CODE): Likewise.
1166         (common_type): Likewise.
1167         (default_conversion): Likewise.
1168         (build_binary_op): Likewise.
1169         (build_unary_op): Likewise.
1170         (lvalue_p): Likewise.
1171         (flag_const_strings): Likewise.
1172         (warn_format): Likewise.
1173         (warn_conversion): Likewise.
1174         (flag_traditional): Likewise.
1175         (flag_isoc99): Likewise.
1176         (warn_parentheses): Likewise.
1177
1178 2000-06-29  James E. Wilson  <wilson@cygnus.com>
1179
1180         * config/ia64/linux.h (LINK_SPEC): Change so.1 to so.2.
1181
1182         * config/ia64/ia64.h (MODES_TIEABLE_P): Only tie if mode class is the
1183         same.  Only tie XFmode with XFmode.
1184
1185 2000-06-29  Zack Weinberg  <zack@wolery.cumb.org>
1186
1187         * c-decl.c, timevar.c, tlink.c: Include intl.h.
1188         * Makefile.in: Update deps.
1189
1190 2000-06-29  Andrew Haley  <aph@cygnus.com>
1191
1192         * toplev.c (main): On an IA-64, make flag_unwind_tables defauit
1193         to true.
1194
1195 2000-06-29  Andrew Haley  <aph@cygnus.com>
1196
1197         * config/ia64/linux.h (JMP_BUF_SIZE): Size is in Pmode units, not
1198         bytes: remove the multiply by 8.
1199
1200 2000-06-29  Philipp Thomas  <pthomas@suse.de>
1201
1202         * rtl.c : Revert NLS changes.
1203         * gcc.c : Fix bug in display_help introced by my last changes.
1204
1205 Wed Jun 28 21:09:33 2000   Raja R Harinath <harinath@cs.umn.edu>
1206
1207         * dbxout.c (dbxout_symbol, case RESULT_DECL, VAR_DECL): Use
1208         DECL_CONTEXT, not DECL_FIELD_CONTEXT.
1209
1210 2000-06-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1211
1212         * flow.c (flow_depth_first_order_compute): Fix algorithm.
1213
1214 2000-06-28  Philipp Thomas  <pthomas@suse.de>
1215
1216         * c-decl.c : Mark strings for translation.
1217         (parmlist_tags_warning): Use distinct messages instead
1218         of conditional expressions.
1219         * diagnostic.c (v_message_with_decl): Mark string for translation.
1220         * gcc.c: Mark messages for translation.
1221         (display_help): Combine messages into one string where necessary.
1222         * mips-tfile: Add intl.h. Mark messages for translation.
1223         * rtl.c (fatal_with_file_and_line): Modify function for NLS. Mark
1224         messages for translation.
1225         * timevar.c: Mark messages for translation.
1226         * tlink.c: Likewise.
1227         * toplev.c: Likewise.
1228
1229 Wed Jun 28 15:39:26 2000  Donn Terry (donnte@microsoft.com)
1230
1231         * i386-interix.h (STRIP_NAME_ENCODING): Declare _new_name properly.
1232
1233         * alpha/alpha-interix.h: Delete redundant -Asystem(interix),
1234         use -isystem instead of -idirafter.
1235         * i386/i386-interix.h: Likewise.
1236
1237 2000-06-28  Jason Merrill  <jason@redhat.com>
1238
1239         * dwarf2out.c (output_loc_operands): Don't support >1 byte output
1240         unless DWARF2_DEBUGGING_INFO is defined.
1241         (ASM_OUTPUT_DWARF_*): Wrap normal output defs with #ifndefs.
1242
1243 2000-06-28  Richard Henderson  <rth@cygnus.com>
1244
1245         * config/alpha/alpha.c (summarize_insn): Ignore SCRATCH.
1246
1247 2000-06-28  Jakub Jelinek  <jakub@redhat.com>
1248
1249         * cpplex.c (output_line_command): Output correct #line if a header
1250         is including itself and is not protected against multiple inclusion.
1251
1252 2000-06-28  Zack Weinberg  <zack@wolery.cumb.org>
1253
1254         * cppfiles.c (open_include_file): If open(2) returns EMFILE or
1255         ENFILE, close all cached file descriptors and try again.
1256         (_cpp_execute_include): Keep a count of the number of times
1257         each header is included.
1258         (close_cached_fd): New function.
1259         * cpphash.h (struct include_file): Rename before to
1260         include_count; all users updated.  Make include_count and sysp
1261         unsigned short.
1262         * cppinit.c (cpp_finish): If -H, report headers that could use
1263         reinclude guards.
1264         (report_missing_guard): New function.
1265
1266 Wed Jun 28 14:46:58 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1267
1268         * i386.md (prologue_set_got): Set length_immediate field.
1269         (testqi_ccno_1):  Add missing '@' character.
1270
1271 2000-06-27  Jason Merrill  <jason@redhat.com>
1272
1273         * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Use
1274         DWARF_FRAME_REGNUM.
1275
1276 2000-06-27  Andrew Macleod <amacleod@cygnus.com>
1277
1278         * dwarf2out.c (ASM_OUTPUT_DWARF_DATA2): Provide default when no
1279         unsigned macros available.
1280
1281 2000-06-27  Richard Henderson  <rth@cygnus.com>
1282
1283         * config/ia64/ia64.c (emit_insn_group_barriers): Special case
1284         epilogue_deallocate_stack.
1285
1286         * config/ia64/ia64.c (ia64_print_operand) [case D]: Emit
1287         completers for UNORDERED and ORDERED as well.
1288         * config/ia64/ia64.md (bunordered, bordered): New.
1289         (sunordered, sordered): New.
1290
1291 Tue Jun 27 12:14:12 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1292
1293         * genattrtab.c (write_attr_value): Do not abort for CONST_INT operands.
1294         * i386.c (ix86_attr_length_default): Kill.
1295         (ix86_attr_length_immediate_default, ix86_attr_length_address_default):
1296         New.
1297         * i386-protos.h (ix86_attr_length_default): Kill
1298         (ix86_attr_length_immediate_default, ix86_attr_length_address_default):
1299         Add prototype
1300         * i386.md (attribute type): Add "test".
1301         (attribute length_prefix): Kill.
1302         (attribute length_opcode): Kill.
1303         (attribute i387, mode, length_immediate, length_address, prefix_data16,
1304         prefix_rep, prefix_0f, modrm): New.
1305         (attribute length): Compute using the new attributes.
1306         (attribute pent_prefix): New.
1307         (attribute pent_pair): Compute using pent_prefix.
1308         (all insn patterns): Set mode,modrm and immediate_length attributes where
1309         needed.
1310         (cmpsi patterns): Compute sizes propertly for test instruction.
1311         (movsi, movhi patterns): Compute sizes propertly for eax shortcuts.
1312         (movstricthi_xor, movstrictqi_xor): New patterns.
1313         (andsi/andhi): Use splitters to generate xor instructions.
1314         (xorqi_ext_1): New pattern.
1315         (movstricthi->movstricthi_xor peep2): New.
1316
1317 Tue Jun 27 12:03:03 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1318
1319         * i386.md (addqi_low_1): Remove.
1320
1321 2000-06-27  Philipp Thomas  <pthomas@suse.de>
1322
1323         * 1750a.h: Mark help strings for options/switches for translation.
1324         * a29k.h: Likewise.
1325         * alpha.h: Likewise.
1326         * arm.h: Likewise.
1327         * pe.h: Likewise.
1328         * riscix.h: Likewise.
1329         * c4x.h: Likewise.
1330         * clipper.h: Likewise.
1331         * convex.h: Likewise.
1332         * elxsi.h: Likewise.
1333         * fr30.h: Likewise.
1334         * fx80.h: Likewise.
1335         * h8300.h: Likewise.
1336         * i370.h: Likewise.
1337         * cygwin.h: Likewise.
1338         * dgux.h: Likewise.
1339         * djgpp.h: Likewise.
1340         * i386.h: Likewise.
1341         * osf1elf.h: Likewise.
1342         * osfrose.h: Likewise.
1343         * sco5.h: Likewise.
1344         * win32.h: Likewise.
1345         * i860.h: Likewise.
1346         * paragon.h: Likewise.
1347         * i960.h: Likewise.
1348         * ia64.h: Likewise.
1349         * m32r.h: Likewise.
1350         * mcore.h: Likewise.
1351         * mips.h: Likewise.
1352         * mn10300.h: Likewise.
1353         * ns32k.h: Likewise.
1354         * pdp11.h: Likewise.
1355         * pj.h: Likewise.
1356         * aix.h: Likewise.
1357         * aix41.h: Likewise.
1358         * aix43.h: Likewise.
1359         * beos.h: Likewise.
1360         * rs6000.h: Likewise.
1361         * sysv4.h: Likewise.
1362         * linux.h: Likewise.
1363         * linux64.h: Likewise.
1364         * sp64-elf.h: Likewise.
1365         * sparc.h: Likewise.
1366         * splet.h: Likewise.
1367         * v850.h: Likewise.
1368         * convex.h (TARGET_SWITCHES): Provide descriptions and mark them
1369         for translation.
1370         * sp86x-aout.h: Remove bogus first definition of SUBTARGET_SWITCHES.
1371         Properly document option and mark for translation.
1372         * sp86x-elf.h: Likewise.
1373
1374 2000-06-27  Bernd Schmidt  <bernds@cygnus.co.uk>
1375
1376         Add MMX and SSE registers to i386 machine description.
1377         * i386-protos.h (ix86_constant_alignment, ix86_data_alignment,
1378         ix86_local_alignment): Declare.
1379
1380         * i386.h (TARGET_MMX, TARGET_SSE): New.
1381         (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS,
1382         REG_ALLOC_ORDER, HARD_REGNO_NREGS, HARD_REGNO_MODE_OK,
1383         REG_CLASS_NAMES, REG_CLASS_CONTENTS,REG_CLASS_FROM_LETTER,
1384         enum reg_class, HI_REGISTER_NAMES): Added MMX/SSE registers.
1385         (FIRST_SSE_REG, LAST_SSE_REG, SSE_REGNO_P): New.
1386         (FIRST_MMX_REG, LAST_MMX_REG, MMX_REGNO_P, MMX_REG_P): New macros.
1387         (RETURN_IN_MEMORY): Handle MMX/SSE.
1388         (REG_PARM_STACK_SPACE): Added so the first three TImode parameters
1389         also get stack space.
1390         (MUST_PASS_IN_STACK): Added TImode to the default definition.
1391         (CUMULATIVE_ARGS): Added sse_nregs, sse_regno and sse_words.
1392         (MMX_REGISTER_NAMES): New.
1393         (ALIGN_MODE_128): New macro.
1394         (CONSTANT_ALIGNMENT): Code moved out-of-line; just call the function.
1395         (DATA_ALIGNMENT): Likewise.
1396         (LOCAL_ALIGNMENT): Likewise.
1397         (CONDITIONAL_REGISTER_USAGE): Make MMX/SSE regs fixed if not
1398         TARGET_MMX/TARGET_SSE.
1399         (VALID_SSE_REG_MODE, VALID_MMX_REG_MODE): New macros.
1400         (REG_CLASS_FROM_LETTER): 'y' for MMX regs.
1401         (SECONDARY_MEMORY_NEEDED): Be conservative about copying between
1402         SSE/MMX regs and something else.
1403         (CLASS_MAX_NREGS): 1 for SSE and MMX regs.
1404         (REGISTER_MOVE_COST): 10 if trying to move between MMX and SSE regs,
1405         3 if moving between MMX regs and something else.
1406
1407         * i386.c (reg_class): Add SSE_REGS, MMX_REGS.
1408         (regclass_map): Add MMX/SSE registers.
1409         (print_operand): Add code to print XMMWORD as appropriate.
1410         (ix86_split_movdi): Abort for MMX regs.
1411         (init_cumulative_args): Also allow SSE_REGS
1412         (function_arg_advance, function_arg): Likewise
1413         (print_reg): Support 'm'.  Add case for TImode.
1414         (override_options): TARGET_SSE implies TARGET_MMX.
1415         (ix86_constant_alignment, ix86_data_alignment, ix86_local_alignment):
1416         New functions.
1417
1418         * config/i386/unix.h (VALUE_REGNO): VECTOR_MODE values go to
1419         FIRST_SSE_REG.
1420         * config/i386/ptx4-i.h (RETURN_IN_MEMORY): Return MMX values in
1421         memory.
1422         * config/i386/sysv4.h (RETURN_IN_MEMORY): Likewise.
1423         * config/i386/i386elf.h (RETURN_IN_MEMORY): Likewise.
1424
1425 2000-06-26  Geoff Keating  <geoffk@cygnus.com>
1426
1427         * ssa.c (struct rename_set_data): Change the name of field
1428         'set_dest' to 'old_reg'.  Add comments.
1429         (struct rename_context): Change the name of 'set_data' to
1430         'new_renames'.  Add new field 'done_renames'.
1431         (create_delayed_rename): New function.
1432         (apply_delayed_renames): New function.
1433         (rename_insn_1): Use the new functions.  Handle CLOBBERS.  Handle
1434         SUBREGs and similar by emitting a move.
1435         (new_registers_for_updates): Delete, functionality moved to
1436         apply_delayed_renames.
1437         (rename_block): Handle moves emitted by rename_insn_1 by putting
1438         them into a SEQUENCE with the original insn.  Add sanity checks
1439         and comments.
1440         (rename_equivalent_regs_in_insn): Don't handle SUBREGs specially.
1441         (rename_equivalent_regs): Expand SEQUENCEs out to individual insns.
1442
1443 2000-06-26  Andrew Macleod <amacleod@cygnus.com>
1444             Jason Merrill <jason@redhat.com>
1445
1446         * dwarf2.h (enum dwarf_call_frame_info): Add
1447         DW_CFA_def_cfa_expression.
1448         * dwarf2out.c (union dw_cfi_oprnd_struct): Add a pointer to a
1449         dw_loc_descr_struct entry.
1450         (struct cfa_loc): New structure to track a CFA location.
1451         (lookup_cfa): Take a cfa_loc parameter instead of a reg and an offset.
1452         (lookup_cfa_1): Take a cfa_loc parameter instead of a reg and an
1453         offset, plus handle DW_CFA_def_cfa_expression.
1454         (def_cfa_1): Use to be dwarf2out_def_cfa, only now it uses a
1455         cfa_loc record.
1456         (dwarf2out_def_cfa): Entry point maintained for compatability.
1457         (dwarf_cfi_name): Add DW_CFA_def_cfa_expression.
1458         (cfa_reg, cfa_offset): Replace with cfa_loc record 'cfa'.
1459         (cfa_store_reg, cfa_store_offset): Replace with cfa_loc 'cfa_store'.
1460         (initial_return_save, dwarf2out_stack_adjust): Use cfa.reg, not
1461         cfa_reg.
1462         (dwarf2out_frame_debug_expr): Use new cfa_loc records. Recognize rtl
1463         sequences for the new DW_CFA_def_cfa_expression record.
1464         (dwarf2out_frame_debug): Use new variables/fields.A
1465         (output_cfi): Handle DW_CFA_def_cfa_expression.
1466         (output_cfa_loc): New function to generate a CFI record for
1467         DW_CFA_def_cfa_expression.
1468         (get_cfa_from_loc_descr): New function to get a cfa_loc record from
1469         a dw_loc_descr sequeunce.
1470         (build_loc_descr): Build a dw_loc_descr from a cfa_loc record.
1471         (dwarf_stack_op_name, new_loc_descr, add_loc_descr, size_of_loc_descr,
1472         size_of_locs, output_loc_operands, output_loc_sequence): Move into
1473         unwind info section.
1474         * frame.h (frame_state): Add base_offset and indirect fields.
1475         * frame-dwarf2.c (decode_stack_op): New function to interpret a
1476         dw_loc_descr operation.
1477         (execute_cfa_insn): Add support for DW_CFA_def_cfa_expression.
1478         (struct frame_state): Add base offset and indirect fields.
1479         * libgcc2.c (next_stack_level): Support indirect loading for CFA.
1480
1481 2000-06-26  Joseph S. Myers  <jsm28@cam.ac.uk>
1482
1483         * c-decl.c (grokdeclarator): Don't warn about `long long' in C99.
1484         Make warnings about implicit int be pedwarns in C99.  Don't warn
1485         about duplicate type qualifiers in C99.
1486         (start_function): Make warning about implict int return type be a
1487         pedwarn in C99.
1488         * c-lex.c (yylex): Don't warn about `long long' in C99.
1489         * c-typeck.c (c_expand_return): In C99, always pedwarn about
1490         `return' with no value in function returning non-void.
1491
1492 2000-06-26  Richard Henderson  <rth@cygnus.com>
1493
1494         * c-typeck.c (pedwarn_c99): New.
1495         * diagnostic.c (verror, vwarning, vpedwarn): Export.
1496         * toplev.h: Prototype them.
1497
1498 2000-06-26  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1499
1500         * c-typeck.c (digest_init): Return error_mark_node node when
1501         TREE_TYPE (init)  == error_mark_node.
1502
1503 2000-06-26  Philipp Thomas  <pthomas@suse.de>
1504
1505         * aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no,
1506         test for msgfmt without path instead.
1507         * configure: Rebuilt.
1508
1509 2000-06-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1510
1511         * gengenrtl.c (special_rtx): Fix typo in comment.
1512
1513 2000-06-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1514
1515         * mklibgcc.in (LIB2FUNCS): Add missing space.
1516
1517 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
1518
1519         * tree.h (enum tree_index): Add vector type nodes.
1520         Add accessor macros for them.
1521         (TYPE_REPRESENATION_TYPE): New macro.
1522         * tree.c (build_common_tree_nodes_2): Build these nodes.
1523         (finish_vector_type): New function.
1524         * c-common.c (type_for_mode): Handle vector modes.
1525         * tm.texi (VECTOR_MODE_SUPPORTED_P): Document.
1526
1527         * dbxout.c (dbxout_type): Handle VECTOR_TYPEs.
1528         * dwarf.h (enum dwarf_fundamental_type): Add 128 bit integers.
1529         * dwarf2out.c (lookup_type_die): Handle VECTOR_TYPEs.
1530         (gen_type_die): Likewise.
1531         * dwarfout.c (dwarf_fund_type_name): Handle 128 bit integers.
1532         (fundamental_type_code): Likewise.
1533         (type_is_fundamental): VECTOR_TYPEs aren't.
1534         (output_type): Handle VECTOR_TYPEs.
1535
1536 2000-06-25  Kazu Hirata  <kazu@hxi.com>
1537
1538         * config/arm.c: Fix a comment typo.
1539         * config/arm.h: Likewise.
1540
1541 2000-06-25  Philipp Thomas  <pthomas@suse.de>
1542
1543         * aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog
1544         compiler found.
1545         AM_GNU_GETTEXT: Don't set CATALOGS if create_catalogs=no.
1546         * configure: Rebuilt.
1547
1548 2000-06-25  John David Anglin  <dave.anglin@nrc.ca>
1549
1550         * config/vax/vax.h (TARGET_SWITCHES): Provide descriptions.
1551
1552 2000-06-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1553
1554         * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating
1555         libgcc.a.
1556
1557 2000-06-24  Marc Espie <espie@cvs.openbsd.org>
1558
1559         * collect2.c (resolve_lib_name): Move '/' check out of loop.
1560
1561 2000-06-24  Dirk Duellmann  <Dirk.Duellmann@cern.ch>
1562
1563         * ginclude/stddef.h (NULL): define for non-gnu C++ parsers as 0.
1564
1565 2000-06-24  Jakub Jelinek  <jakub@redhat.com>
1566
1567         * stmt.c (expand_decl_cleanup): Emit a dummy insn after
1568         last_unconditional_cleanup.
1569
1570 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
1571
1572         * tree.def (VECTOR_TYPE): New node type.
1573         * tree.h: Adjust some comments to reflect addition of vector types.
1574         (TYPE_VECTOR_SUBPARTS): New macro.
1575         * stor-layout.c (layout_type): Handle VECTOR_TYPE.
1576         * c-convert.c (convert): Likewise.
1577         * convert.c (convert_to_integer): Handle vector modes.
1578         (convert_to_vector): New function.
1579         * convert.h (convert_to_vector): Declare.
1580         * expr.c (convert_move): Handle vector modes.
1581         * expmed.c (extract_bit_field): Don't abort for vector modes.
1582
1583 2000-06-24  Marek Michalkiewicz  <marekm@linux.org.pl>
1584
1585         * config/avr/avr-protos.h (avr_hard_regno_mode_ok): New prototype.
1586         * config/avr/avr.c (out_adj_frame_ptr, out_set_stack_ptr):
1587         New functions, common code moved from function_{prologue,epilogue}
1588         and extended to support the -mtiny-stack option.
1589         (function_prologue, function_epilogue): Use them.
1590         Use lo8/hi8 consistently for asm output readability.
1591         (avr_hard_regno_mode_ok): New function.
1592         * config/avr/avr.h (TARGET_SWITCHES): Fix typo.  Add -mtiny-stack.
1593         (UNITS_PER_WORD): Define as 4 (not 1) when compiling libgcc2.c.
1594         (HARD_REGNO_MODE_OK): Call the avr_hard_regno_mode_ok function.
1595         * config/avr/avr.md (*mov_sp_r): Add support for -mtiny-stack.
1596         Write SPH before SPL.
1597         (*movqi): No need to disable interrupts for just one "out"
1598         in alternative 5.  Change length attribute from 4 to 1.
1599         * config/avr/libgcc.S (__prologue_saves__, __epilogue_restores__):
1600         Write SPH before SPL.
1601
1602 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
1603
1604         * rtl.texi (Vector Operations): New node.
1605         (Arithmetic): Add ss_plus, us_plus, ss_minus, us_minus.
1606         (Conversions): Add ss_truncate, us_truncate.
1607         * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_REORDER,
1608         VEC_CONST, VEC_DUPLICATE, SS_PLUS, SS_MINUS, SS_TRUNCATE,
1609         US_TRUNCATE): New rtx codes.
1610         * machmode.def: Add vector modes.
1611         * machmode.h (enum mode_class): Add MODE_VECTOR_INT and
1612         MODE_VECTOR_FLOAT.
1613         (INTEGER_MODE_P): Check for MODE_VECTOR_INT.
1614         (FLOAT_MODE_P): Check for MODE_VECTOR_FLOAT.
1615         (VECTOR_MODE_P): New.
1616
1617 2000-06-24  Nathan Sidwell  <nathan@codesourcery.com>
1618
1619         * cpp.texi: Clarify #pragma GCC namespace.
1620
1621 2000-06-24  Philipp Thomas  <pthomas@suse.de>
1622
1623         * aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build
1624         all catalogs specified in ALL_LINGUAS.
1625         * configure: Rebuilt.
1626
1627 2000-06-23  Jakub Jelinek  <jakub@redhat.com>
1628
1629         * config/sparc/sparc.md (reload_outdi+1): Handle
1630         HOST_BITS_PER_WIDE_INT == 64 case correctly.
1631         (adddi3_insn_sp32+1, adddi3_insn_sp32+2, andsi3+2): Likewise.
1632
1633 2000-06-23  Geoffrey Keating  <geoffk@cygnus.com>
1634
1635         * alias.c (fixed_scalar_and_varying_struct_p): Don't examine
1636         struct vs. scalar-ness when -fno-strict-aliasing.
1637
1638 2000-06-23  Nathan Sidwell  <nathan@codesourcery.com>
1639
1640         * cpplib.c (struct pragma_entry): New structure.
1641         (pragma_dispatch): Pragma dispatcher.
1642         (top_pragmas, gcc_pragmas): New static variables.
1643         (do_pragma): Use pragma_dispatch.
1644         (do_pragma_gcc): New pragma handler.
1645         * cpp.texi: Update.
1646
1647 2000-06-23  Jakub Jelinek  <jakub@redhat.com>
1648
1649         * calls.c (compute_argument_addresses): Force stack slots into
1650         alias set 0.
1651         * expr.c (emit_push_insn): Force pushes into alias set 0.
1652
1653 2000-06-23  Richard Henderson  <rth@cygnus.com>
1654
1655         * config/ia64/ia64.md (pred_rel_mutex): Only take one register.
1656         * config/ia64/ia64.c (emit_predicate_relation_info): Adjust to match.
1657
1658 2000-06-22  Jason Merrill  <jason@redhat.com>
1659
1660         * toplev.c (compile_file): Always call timevar_print.
1661         * Makefile.in (calls.o): Depend on TIMEVAR_H.
1662
1663 2000-06-22  Nathan Sidwell  <nathan@codesourcery.com>
1664
1665         * varasm.c (constant_descriptor): Make contents unsigned char.
1666         (mark_const_hash_entry): Adjust.
1667         (const_hash): Just hash the code of unknown nodes.
1668         (compare_constant_1): Adjust for unsigned char.
1669         Use language specific expander on unknown nodes.
1670         (record_constant_1): Likewise.
1671
1672 2000-06-21  Zack Weinberg  <zack@wolery.cumb.org>
1673
1674         * cppfiles.c (cpp_make_system_header): New function.
1675         * cpplib.h: Prototype it.
1676         * cpplib.c (do_line, do_pragma_system_header): Use it.
1677         * fix-header.c (read_scan_file): Use it.
1678
1679         * fix-header.c (check_macro_names): Cast second arg of
1680         cpp_defined to const unsigned char *.
1681         (read_scan_file): Make getchar_call const unsigned char.
1682
1683 2000-06-21  Zack Weinberg  <zack@wolery.cumb.org>
1684
1685         * cppfiles.c: Include splay-tree.h, not hashtab.h.
1686         (redundant_include_p, make_IHASH, hash_IHASH, eq_IHASH): Delete.
1687         (destroy_include_file_node): New.
1688         (_cpp_init_include_hash): Rename _cpp_init_include_table.
1689         Create a splay tree, not a hash table.
1690         (open_include_file): Look up the path in the include table,
1691         do the multiple include optimization here, etc.
1692         (cpp_included): Walk the path.
1693         (find_include_file): Just walk the path calling
1694         open_include_file, or call it directly for an absolute path.
1695         (_cpp_fake_ihash): Rename _cpp_fake_include and update for new
1696         scheme.
1697         (read_include_file): Update for new scheme.  Don't close the
1698         file unless reading fails.
1699         (_cpp_execute_include, cpp_read_file): Tweak for new scheme.
1700
1701         * cpphash.h (struct ihash, NEVER_REINCLUDE): Delete.
1702         (struct include_file): New.
1703         (NEVER_REREAD, DO_NOT_REREAD, CPP_IN_SYSTEM_HEADER): New
1704         macros.
1705         (CPP_PEDANTIC, CPP_WTRADITIONAL): Update.
1706         Update prototypes.
1707
1708         * cppinit.c: Include splay-tree.h.
1709         (cpp_reader_init, cpp_cleanup): Update.
1710
1711         * cpplib.h (struct cpp_buffer): Change ihash field to
1712         'struct include_file *inc'.  Remove system_header_p.
1713         (struct cpp_reader): Change all_include_files to a
1714         struct splay_tree_s *.
1715
1716         * cpplex.c: Update all references to cpp_buffer->ihash and/or
1717         cpp_buffer->system_header_p.
1718         (cpp_pop_buffer): Close file here, only if DO_NOT_REREAD.
1719
1720         * Makefile.in (SPLAY_TREE_H): New macro.
1721         (cppfiles.o, cppinit.o): Update dependencies.
1722
1723 Wed Jun 21 11:05:48 2000  Martin Buchholz <martin@xemacs.org>
1724
1725         * invoke.texi (g++): "g++" is not a script anymore.
1726
1727 2000-06-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1728
1729         * function.c (round_down): Delete obsolete prototype.
1730
1731         * pa.h (CPP_SPEC): Add whitespace after -D__STDC_EXT__.
1732
1733 2000-06-20  Zack Weinberg  <zack@wolery.cumb.org>
1734
1735         * configure.in: Use 'test a = b' not 'test a == b'.
1736         * configure: Regen.
1737
1738         * Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS).
1739
1740         * Makefile.in: Remove all references to HOST_INTLLIBS.
1741
1742         * cpplex.c (parse_name): Don't warn about $ in identifiers if
1743         skipping.
1744
1745 2000-06-20  Philipp Thomas  <pthomas@suse.de>
1746
1747         * config/pa/pa.h(TARGET_SWITCHES): Require binutils 2.10 or later
1748         for PA 2.0.
1749
1750 Mon Jun 19 23:26:40 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1751
1752         * Take REG_INC notes into account.
1753
1754 2000-06-19  Zack Weinberg  <zack@wolery.cumb.org>
1755
1756         * c-parse.in (undeclared_variable_notice): Moved to c-typeck.c.
1757         (primary: IDENTIFIER): Just call build_external_ref.
1758         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
1759         Regenerate.
1760         * c-lex.c (lastiddecl): Remove.
1761         (yylex): Replace all instances of lastiddecl with local
1762         variables.
1763
1764         * c-typeck.c (build_external_ref): New function.  Treat decls
1765         with C_DECL_ANTICIPATED mostly the same as nonexistent decls.
1766         Look up the decl from the id here.  Call lookup_objc_ivar.
1767         * c-lang.c (lookup_objc_ivar): Stub.
1768         * objc/objc-act.c (lookup_objc_ivar): New function.
1769
1770         * c-tree.h: Prototype lookup_objc_ivar and build_external_ref.
1771         * c-lex.h: Don't declare lastiddecl.
1772
1773 2000-06-19  Benjamin Chelf  <chelf@codesourcery.com>
1774
1775         * c-common.h (IF_COND): Added documentation.
1776         (THEN_CLAUSE): Likewise.
1777         (ELSE_CLAUSE): Likewise.
1778         (WHILE_COND): Likewise.
1779         (WHILE_BODY): Likewise.
1780         (DO_COND): Likewise.
1781         (DO_BODY): Likewise.
1782         (RETURN_EXPR): Likewise.
1783         (EXPR_STMT_EXPR): Likewise.
1784         (FOR_INIT_STMT): Likewise.
1785         (FOR_COND): Likewise.
1786         (FOR_EXPR): Likewise.
1787         (FOR_BODY): Likewise.
1788         (SWITCH_COND): Likewise.
1789         (SWITCH_BODY): Likewise.
1790         (CASE_LOW): Likewise.
1791         (CASE_HIGH): Likewise.
1792         (GOTO_DESTINATION): Likewise.
1793         (COMPOUND_BODY): Likewise.
1794         (ASM_CV_QUAL): Likewise.
1795         (ASM_STRING): Likewise.
1796         (ASM_OUTPUTS): Likewise.
1797         (ASM_INPUTS): Likewise.
1798         (ASM_CLOBBERS): Likewise.
1799         (DECL_STMT_DECL): Likewise.
1800         (STMT_EXPR_STMT): Likewise.
1801         (LABEL_STMT_LABEL): Likewise.
1802
1803         * c-common.def: Added documenetion for SRCLOC, EXPR_STMT,
1804         COMPOUND_STMT, DECL_STMT, IF_STMT, FOR_STMT, WHILE_STMT, DO_STMT,
1805         RETURN_STMT, BREAK_STMT, CONTINUE_STMT, SWITCH_STMT, GOTO_STMT,
1806         LABEL_STMT, ASM_STMT, SCOPE_STMT, CASE_LABEL, STMT_EXPR.
1807
1808 2000-06-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1809
1810         * configure.in (--enable-checking): Update --help doc to reflect
1811         new defaults.  Ensure $ac_save_IFS is set before $IFS is changed.
1812
1813 Sun Jun 18 21:42:15 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1814
1815         * gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.
1816
1817         * function.c (put_var_into_stack): Don't reference DECL_ fields
1818         if input is a SAVE_EXPR.
1819         Use set_mem_attributes in COMPLEX case.
1820
1821 2000-06-18  Richard Henderson  <rth@cygnus.com>
1822
1823         * config/ia64/ia64-protos.h (process_for_unwind_directive): Declare.
1824         (ia64_file_start): Declare.
1825         * config/ia64/ia64.h (ADDL_REGNO_P): Don't compare unsigned against 0.
1826         (GR_REGNO_P): Likewise.
1827         * config/ia64/ia64.c: Many prototypes.
1828         (ia64_reg_numbers): Constify.
1829         (ia64_input_reg_names, ia64_local_reg_names): Likewise.
1830         (ia64_section_threshold): Make unsigned.
1831         (ia64_print_operand): Constify.
1832         (fix_range): Constify.
1833         (ia64_init_builtins): Don't compare signed vs unsigned.
1834         (ia64_expand_builtin): Likewise.
1835
1836         * config/ia64/ia64.h (EXTRA_CONSTRAINT): New.
1837         (CONSTRAINT_OK_FOR_Q): New.
1838         * config/ia64/ia64.md (movdi_internal): Use Q for fp<->mem.
1839         (movsf_internal, movdf_internal): Likewise.
1840         (cmovdi_internal): Rewrite so that constraints and predicates match;
1841         simplify splitters.
1842         (cmovsi_internal): Likewise.
1843
1844         * config/ia64/ia64.h (ASM_SPEC): Add -x for gas.
1845         (ASM_FILE_START): New.
1846         * config/ia64/ia64.c (ia64_file_start): New.
1847         (rtx_needs_barrier): Handle pred.rel.mutex.
1848         (emit_predicate_relation_info): New.
1849         * config/ia64/ia64.md (pred_rel_mutex): New.
1850         * config/ia64/linux.h (ASM_SPEC): Define.
1851         * config/ia64/sysv4.h (ASM_FILE_START): Define.
1852
1853         * config/ia64/ia64.c (ia64_encode_section_info): Fix thinko
1854         filtering global register variables.
1855
1856 2000-06-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1857
1858         * c-common.c (add_c_tree_codes): Fix definition for traditional C.
1859
1860 2000-06-17  Michael Meissner  <meissner@redhat.com>
1861
1862         * gcc.c (do_spec_1, '%v3' case): Do not abort if patch level is
1863         not present and there is a field after a '-'.
1864
1865 2000-06-17  Bruce Korb  <bkorb@gnu.org>
1866
1867         * fixinc/check.tpl:  finish the implementation of multiple tests
1868         for a single fix
1869         * fixinc/inclhack.def(ctrl_quotes_def): add a second test
1870         (io_quotes_def): add a second test
1871         (various): reorder `files' so that "limits.h" is never first
1872         * fixinc/tests/base/*: update the testing output
1873
1874 Sat Jun 17 10:33:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1875
1876         * gcc.texi: Remove reference to stupid.c.
1877
1878 2000-06-16  Benjamin Chelf  <chelf@codesourcery.com>
1879
1880         * c-common.c (c_tree_code_type): New array.
1881         (c_tree_code_length): Likewise.
1882         (c_tree_code_name): Likewise.
1883         (add_c_tree_codes): New function.
1884
1885         * c-common.h (add_c_tree_codes): Declare.
1886         (enum c_tree_code): New enum.
1887
1888         * c-lex.c (init_parse): Added call to add_c_tree_codes.
1889
1890 2000-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1891
1892         * fixinc/inclhack.def (ctrl_quotes_def, io_quotes_def): Modify
1893         select pattern to also match macro defs with only one argument.
1894
1895 Thu Jun 15 18:56:12 2000  Jeffrey A Law  (law@cygnus.com)
1896
1897         * i386.md: Create new [right,left] rotate and right shift
1898         patterns to optimize shift by 1 bit for certain ia32 processors.
1899         Update patterns which perform left shifts to optimize shift by
1900         1 bit for certain ia32 processors.
1901         * i386.c (const_int_1_operand): New predicate.
1902         * i386.h (PREDICATE_CODES): Handle const_int_1_operand.
1903         * i386-protos.h (const_int_1_operand): Prototype.
1904
1905 Wed Jun 14 23:46:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1906
1907         * mips.c (machine_dependent_reorg): Fix braces for nested if.
1908
1909 2000-06-14  Geoff Keating  <geoffk@cygnus.com>
1910
1911         * rs6000.c (toc_hash_eq): Use CODE_LABEL_NUMBER to compare
1912         LABEL_REFs.
1913
1914 2000-06-14  Richard Henderson  <rth@cygnus.com>
1915
1916         * conflict.c (conflict_graph_compute): Don't look for REG_INC.
1917
1918         * config/ia64/ia64.c (ia64_setup_incoming_varargs): Don't emit
1919         auto-inc code.
1920
1921         * print-rtl.c (print_rtx): Emit space before mem alias set.
1922
1923 2000-06-14  David Edelsohn  <edelsohn@gnu.org>
1924
1925         * rs6000.c (expand_block_move): Fix typo in earlier change.
1926         (print_operand): Remove unused variables neg and op.
1927         (toc_hash_mark_entry): Fix prototype.
1928
1929 2000-06-14  Benjamin Chelf  <chelf@codesourcery.com>
1930
1931         * c-common.h (IF_COND): Moved here from cp/cp-tree.h.
1932         (THEN_CLAUSE): Likewise.
1933         (ELSE_CLAUSE): Likewise.
1934         (WHILE_COND): Likewise.
1935         (WHILE_BODY): Likewise.
1936         (DO_COND): Likewise.
1937         (DO_BODY): Likewise.
1938         (RETURN_EXPR): Likewise.
1939         (EXPR_STMT_EXPR): Likewise.
1940         (FOR_INIT_STMT): Likewise.
1941         (FOR_COND): Likewise.
1942         (FOR_EXPR): Likewise.
1943         (FOR_BODY): Likewise.
1944         (SWITCH_COND): Likewise.
1945         (SWITCH_BODY): Likewise.
1946         (CASE_LOW): Likewise.
1947         (CASE_HIGH): Likewise.
1948         (GOTO_DESTINATION): Likewise.
1949         (COMPOUND_BODY): Likewise.
1950         (ASM_CV_QUAL): Likewise.
1951         (ASM_STRING): Likewise.
1952         (ASM_OUTPUTS): Likewise.
1953         (ASM_INPUTS): Likewise.
1954         (ASM_CLOBBERS): Likewise.
1955         (DECL_STMT_DECL): Likewise.
1956         (STMT_EXPR_STMT): Likewise.
1957         (LABEL_STMT_LABEL): Likewise.
1958         (SCOPE_BEGIN_P): Likewise.
1959         (SCOPE_END_P): Likewise.
1960         (SCOPE_STMT_BLOCK): Likewise.
1961         (SCOPE_NULLIFIED_P): Likewise.
1962         (SCOPE_NO_CLEANUPS_P): Likewise.
1963         (SCOPE_PARTIAL_P): Likewise.
1964         (ASM_VOLATILE_P): Likewise.
1965         (STMT_LINENO): Likewise.
1966         (STMT_LINENO_FOR_FN_P): Likewise.
1967
1968         * c-common.def: New file. Added SRCLOC, SIZEOF_EXPR, ARROW_EXPR,
1969         ALIGNOF_EXPR, EXPR_STMT, COMPOUND_STMT, DECL_STMT, IF_STMT,
1970         FOR_STMT, WHILE_STMT, DO_STMT, RETURN_STMT, BREAK_STMT,
1971         CONTINUE_STMT, SWITCH_STMT, GOTO_STMT, LABEL_STMT, ASM_STMT,
1972         SCOPE_STMT, CASE_LABEL, STMT_EXPR.
1973
1974         * gencheck.c (tree_codes[]): Added '#include "c-common.def"'.
1975
1976 2000-06-14  David O'Brien  <obrien@FreeBSD.org>
1977
1978         * gcc.c (main): Quiet compiler warnings.  argv is assumed to be
1979         writable in parts of the GCC code.
1980
1981         * config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
1982         specification match cast.
1983
1984 Wed Jun 14 09:25:57 2000  Jeffrey A Law  (law@cygnus.com)
1985
1986         * configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
1987         * configure, config.in: Rebuilt.
1988         * sys-protos.h: Similarly.
1989
1990 Wed Jun 14 03:39:58 EDT 2000  John Wehle  (john@feith.com)
1991
1992         * ifcvt.c (EDGE_COMPLEX): Move definition ...
1993         * basic-block.h (EDGE_COMPLEX): ... here.
1994
1995         * loop.c (check_dbra_loop): Specify the register when
1996         generating REG_NONNEG notes and don't generate duplicates.
1997
1998 2000-06-13  Jakub Jelinek  <jakub@redhat.com>
1999
2000         * tree.h (TYPE_USER_ALIGN, DECL_USER_ALIGN): Define.
2001         (struct tree_type, struct tree_decl): Add user_align member.
2002         * stor-layout.c (layout_decl): Set DECL_USER_ALIGN.
2003         (place_union_field): If BIGGEST_FIELD_ALIGNMENT is defined
2004         and DECL_USER_ALIGN 0, cap alignment to this value.
2005         (place_field): Likewise.
2006         (finalize_type_size): Set TYPE_USER_ALIGN.
2007         (layout_type): Likewise.
2008         (initialize_sizetypes): Likewise.
2009         * c-common.c (decl_attributes): Set TYPE_USER_ALIGN resp.
2010         DECL_USER_ALIGN to 1.
2011         * c-decl.c (duplicate_decls): Set DECL_USER_ALIGN.
2012         (xfer_tag): Set TYPE_USER_ALIGN.
2013         (finish_struct): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
2014         (finish_enum): Likewise.
2015         * stmt.c (expand_decl): Set DECL_USER_ALIGN.
2016         (expand_anon_union_decl): Likewise.
2017         * tree.c (make_node): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
2018         (build_index_type): Set TYPE_USER_ALIGN.
2019         (build_range_type): Likewise.
2020         (build_common_tree_nodes_2): Likewise.
2021         * tm.texi (BIGGEST_FIELD_ALIGNMENT): Document the changed meaning.
2022
2023 2000-06-13  Andreas Jaeger  <aj@suse.de>
2024
2025         * configure.in: Use --enable-checking=misc,tree,gc by default if
2026         no --enable-checking option is given and for
2027         --enable-checking=yes.
2028         * configure: Rebuilt.
2029
2030 2000-06-13  Richard Henderson  <rth@cygnus.com>
2031
2032         * libgcc2.c (ia64_throw_helper): Use __builtin_return_address.
2033         (__throw): Don't pass the address of a label.
2034
2035         * config/ia64/ia64.c (ia64_compute_frame_size): Use
2036         current_function_is_leaf.
2037         (ia64_expand_prologue): Likewise.  Modify return_address_pointer_rtx
2038         instead of reg_names[RETURN_ADDRESS_REGNUM].
2039         (ia64_init_machine_status): Reset return_address_pointer_rtx.
2040         * config/ia64/ia64.h (RETURN_ADDRESS_POINTER_REGNUM): Rename
2041         from RETURN_ADDRESS_REGNUM.  Update all uses.
2042         (RETURN_ADDR_RTX): Use return_address_pointer_rtx; return
2043         zero instead of null on failure.
2044         (ELIMINABLE_REGS): Add ra->b0 elimination.
2045         (CAN_ELIMINATE): Update accordingly.
2046         (INITIAL_ELIMINATION_OFFSET): Likewise.
2047         (REGISTER_NAMES): Use an illegal assembler name for
2048         RETURN_ADDRESS_POINTER_REGNUM.
2049
2050 2000-06-13  Richard Henderson  <rth@cygnus.com>
2051
2052         * config/ia64/ia64.h (enum reg_class): Remove FR_INT_REGS, FR_FP_REGS,
2053         GR_AND_FR_INT_REGS, GR_AND_FR_FP_REGS.
2054         (REG_CLASS_NAMES): Likewise.
2055         (REG_CLASS_CONTENTS): Likewise.
2056         (FR_FP_REGNO_P, FR_INT_REGNO_P): Remove.
2057         (HARD_REGNO_MODE_OK): Remove references to them.
2058         (REGNO_REG_CLASS): Likewise.
2059         (REG_CLASS_FROM_LETTER): Likewise.
2060         (CLASS_MAX_NREGS): Likewise.
2061         (REGISTER_MOVE_COST): Likewise.
2062         * config/ia64/ia64.c (ia64_secondary_reload_class): Likewise.
2063         * config/ia64/ia64.md (*): Replace "e" constraints with "f".
2064         (movqi_internal): Special case moves from zero.
2065         (movhi_internal, movsi_internal): Likewise.
2066         (movdi_internal): Likewise.  Fill out "f" constraints.
2067         (movsf_internal): Fill out "r" constraints.
2068         (movdf_internal): Likewise.
2069
2070 2000-06-13  Richard Henderson  <rth@cygnus.com>
2071
2072         * flow.c (insn_dead_p): Keep sets to PIC_OFFSET_TABLE_REGNUM
2073         alive before reload.
2074
2075         * haifa-sched.c (struct deps): Add in_post_call_group_p.
2076         (add_dependence): Handle notes between SCHED_GROUP_P insns.
2077         (remove_dependence): Always define.
2078         (set_sched_group_p): New.
2079         (sched_analyze_2): Use it.
2080         (sched_analyze_insn): Don't special-case naked uses.  Look for
2081         and extend in_post_call_group_p.
2082         (sched_analyze): Clear stale SCHED_GROUP_P.  Set in_post_call_group_p.
2083         (init_deps): Clear in_post_call_group_p.
2084
2085 2000-06-13  Richard Henderson  <rth@cygnus.com>
2086
2087         * combine.c (subst): Use CLASS_CANNOT_CHANGE_MODE and
2088         CLASS_CANNOT_CHANGE_MODE_P instead of CLASS_CANNOT_CHANGE_SIZE
2089         and hard-coded tests.
2090         (simplify_set): Likewise.
2091         (gen_lowpart_for_combine): Likewise.
2092         * emit-rtl.c (gen_lowpart_common): Likewise.
2093         * global.c (find_reg): Likewise.
2094         * local-alloc.c (find_free_reg): Likewise.
2095         * recog.c (register_operand): Likewise.
2096         * regclass.c (init_reg_sets_1): Likewise.
2097         (record_operand_costs, regclass): Likewise.
2098         * reload.c (push_reload): Likewise.
2099         * reload1.c (choose_reload_regs): Likewise.
2100         * flow.c (mark_used_regs): Conditionally set REG_CHANGES_MODE.
2101         * local-alloc.c (struct qty): Rename changes_size to changes_mode.
2102         Update all references.
2103         * regs.h (struct reg_info_def): Likewise.
2104         (REG_CHANGES_MODE): Rename from REG_CHANGES_SIZE.
2105         * tm.texi (CLASS_CANNOT_CHANGE_MODE): Document.
2106         (CLASS_CANNOT_CHANGE_MODE_P): Likewise.
2107
2108         * config/alpha/alpha.h (CLASS_CANNOT_CHANGE_MODE): Rename.
2109         (CLASS_CANNOT_CHANGE_MODE_P): New.
2110         * config/mips/mips.h: Likewise.
2111         * config/pa/pa32-regs.h: Likewise.
2112         * config/pa/pa64-regs.h: Likewise.
2113         * config/rs6000/rs6000.h: Likewise.
2114         * config/sh/sh.h: Likewise.
2115         * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE): New.
2116         (CLASS_CANNOT_CHANGE_MODE_P): New.
2117         * config/avr/avr.h (CLASS_CANNOT_CHANGE_SIZE): Remove dead code.
2118         * config/d30v/d30v.h: Likewise.
2119
2120 2000-06-13  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2121
2122         * configure.in: Add AC_TYPE_GETGROUPS test.
2123         * sys-protos.h: Use GETGROUPS_T * for second arg of getgroups.
2124         * configure: Rebuilt.
2125         * config.in: Rebuilt.
2126
2127 2000-06-13  Richard Henderson  <rth@cygnus.com>
2128
2129         * explow.c (set_mem_attributes): Do nothing for NULL type.
2130
2131 Tue Jun 13 14:45:10 2000  Jeffrey A Law  (law@cygnus.com)
2132
2133         * config/m68k/openbsd.h (ASM_SPEC): pass down options to assembler
2134         correctly.
2135
2136 2000-06-13  James E. Wilson  <wilson@cygnus.com>
2137
2138         * config/ia64/ia64.md (movxf_internal): Add missing "e" to ldf/stf.
2139
2140 Tue Jun 13 14:05:35 2000  Jeffrey A Law  (law@cygnus.com)
2141
2142         * Makefile.in (gensupport.o): Remove bogus $(HOST_PREFIX) reference.
2143
2144 2000-06-13  Philipp Thomas  <pthomas@suse.de>
2145
2146         * configure.in(ALL_LINGUAS): Changed en_UK to en_GB.
2147         * configure: Rebuilt.
2148
2149 2000-06-07  David O'Brien  <obrien@FreeBSD.org>
2150
2151         * configure.in:  Adjust FreeBSD bits to match changes to config.guess.
2152         We now default to ELF for the i386, and a.out is the special case.
2153         * configure:  Rebuilt.
2154
2155 Tue Jun 13 10:05:30 2000  Hans-Peter Nilsson  <hp@axis.com>
2156
2157         * final.c (final_scan_insn): Delete notes between cc0 setter and
2158         user when restarting from setter.
2159
2160 2000-06-13  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2161
2162         * vax.h (INDEX_TERM_P): Define evaluation order of &&'s in || and
2163         cast to squelch signed/unsigned warnings.
2164
2165 2000-06-13  Zack Weinberg  <zack@wolery.cumb.org>
2166
2167         * cpplib.c (handle_directive): Print non-NUL-terminated string
2168         with %.*s.
2169
2170 2000-06-12  Michael Meissner  <meissner@redhat.com>
2171
2172         * ifcvt.c (dead_or_predicable): Don't do conditional execution
2173         path if the machine needs extra support to do conditional
2174         execution.
2175
2176 Mon Jun 12 17:04:17 2000  Jeffrey A Law  (law@cygnus.com)
2177
2178         * print-rtl.c (print_rtx, case MEM): Use HOST_WIDE_INT_PRINT_DEC
2179         to print the alias set.
2180         * print-tree.c (print_node, DECL_* nodes and case 't'): Similarly.
2181
2182 2000-06-12  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2183
2184         * config/float-vax.h: Add GFLOAT defines.
2185
2186 Mon Jun  12  9:44:00 2000  Mark Klein  <mklein@dis.com>
2187
2188         * configure.in: Update tm dependencies for MPE.
2189         * configure: Rebuilt.
2190
2191 2000-06-12  H.J. Lu  <hjl@gnu.org>
2192
2193         * gengenrtl.c (obstack_alloc_rtx): Correct the allocated size.
2194
2195 2000-06-12  David Edelsohn  <edelsohn@gnu.org>
2196
2197         * aix41.h (SUBTARGET_SWITCHES): Delete threads.
2198         (CPP_SPEC): Change mthreads to pthread.
2199         (LIB_SPEC): Likewise.
2200         (STARTFILE_SPEC): Likewise.
2201         * aix43.h (SUBTARGET_SWITCHES): Delete threads.
2202         (CPP_SPEC): Change mthreads to pthread.
2203         (LIB_SPEC): Likewise.
2204         (STARTFILE_SPEC): Likewise.
2205         * rs6000-protos.h (reg_or_arith_cint_operand): New.
2206         * rs6000.c (reg_or_arith_cint_operand): New.
2207         (num_insns_constant_wide): Decorate unsigned constant.
2208         * rs6000.h (PREDICATE_CODES): Add reg_or_arith_cint_operand.
2209         * rs6000.md (addsi3): Use new predicate.
2210         (subsi3, adddi3, subdi3): Likewise.
2211
2212 2000-06-12  Mark Mitchell  <mark@codesourcery.com>
2213
2214         * c-common.c (lang_get_alias_set): Fix typo.
2215
2216 2000-06-12  Richard Earnshaw <rearnsha@arm.com>
2217
2218         * flow.c (mark_used_regs): Revert last change.
2219         (life_analysis): Remove PROP_AUTOINC if running after reload.
2220         (propagate_one_insn): PROP_AUTOINC is always off after reload.
2221
2222 2000-06-11  Richard Earnshaw <rearnsha@arm.com>
2223
2224         * flow.c (mark_used_regs): Don't call find_auto_inc after reload
2225         has run.
2226
2227 2000-06-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2228
2229         * bb-reorder.c (build_scope_forest): Initialize variable
2230         `curr_scope'.
2231
2232         * calls.c (expand_call): Likewise for variables
2233         `save_pending_stack_adjust' and `save_stack_pointer_delta'.
2234
2235         * i386.c (function_arg_advance, function_arg): Cast to avoid
2236         signed/unsigned warnings.
2237
2238         * i386.h (MEMORY_MOVE_COST): Likewise.
2239
2240         * ifcvt.c (cond_exec_process_if_block): Initialize variables
2241         `else_start' and `else_end'.
2242
2243         * libgcc2.h (__eh_alloc, __eh_free): Prototype.
2244
2245         * regrename.c (rr_replace_reg): Initialize variable `dest_subregno'.
2246
2247 2000-06-10  Mark Mitchell  <mark@codesourcery.com>
2248
2249         * Makefile.in (libintl.a): Depend on intl.all.
2250
2251 2000-06-09  H.J. Lu  (hjl@gnu.org)
2252
2253         * Makefile.in (c-parse.o): Also depend on output.h.
2254
2255 2000-06-09  Rodney Brown  <RodneyBrown@mynd.com>
2256
2257         * mcore-protos.h: discards const warning removal.
2258         * mcore.c: discards const warning removal.
2259
2260 2000-06-09  Kazu Hirata  <kazu@hxi.com>
2261
2262         * config/h8300/lib1funcs.asm: Declare the machine architecture at
2263         the beginning of the file.
2264
2265 2000-06-09  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2266
2267         * real.h:  Add prototype for ldexp.
2268
2269 2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
2270
2271         * ggc-none.c, ggc-simple.c, ggc-page.c (ggc_alloc_obj): Rename
2272         it ggc_alloc, drop second argument, never clear returned memory.
2273         * ggc-common.c (ggc_alloc_string): Use ggc_alloc.
2274         (ggc_alloc_cleared): New.
2275         * ggc.h: Prototype ggc_alloc and ggc_alloc_cleared, not
2276         ggc_alloc_obj.  Remove ggc_alloc macro.
2277         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Use ggc_alloc.
2278
2279         * rtl.c (rtvec_alloc): Clear the vector always.
2280         (rtx_alloc): Clear the first word always.  Remove dirty
2281         obstack tricks (this routine is no longer a bottleneck).
2282         * tree.c (make_node): Clear the new node always.
2283         (make_tree_vec): Likewise.
2284         (tree_cons): Clear the common structure always.
2285         (build1): Likewise; also, clear TREE_COMPLEXITY.
2286         * gengenrtl.c: Use puts wherever possible.  Remove extra
2287         newlines.
2288         (gendef): Clear the first word of an RTX in the generator
2289         function, irrespective of ggc_p.  Initialize '0' slots to
2290         NULL.
2291         (genlegend): Don't generate obstack_alloc_rtx routine, just a
2292         thin wrapper macro around obstack_alloc.
2293
2294         * stmt.c (expand_fixup): Use ggc_alloc.
2295         * c-typeck.c (add_pending_init): Use ggc_alloc.
2296         * emit-rtl.c (init_emit_once): Clear CONST_DOUBLE_CHAIN(tem).
2297         * varasm.c (immed_double_const): Set CONST_DOUBLE_MEM(r) to
2298         const0_rtx when it is created.
2299         (immed_real_const_1): Set CONST_DOUBLE_CHAIN(r) to NULL_RTX if
2300         we are not in a function.
2301
2302         * tree.c (tree_class_check_failed): Make second arg an int.
2303         * tree.h: Update prototype.
2304
2305 2000-06-09  Geoff Keating  <geoffk@cygnus.com>
2306
2307         * tree.h (VOID_TYPE_P): Don't look at the TYPE_MAIN_VARIANT
2308         of an error_mark_node.
2309
2310 Fri Jun  9 20:35:13 2000  Denis Chertykov  <denisc@overta.ru>
2311
2312         * config/avr/avr.c (asm_output_section_name): bugfix.
2313
2314 2000-06-09  Jason Merrill  <jason@casey.soma.redhat.com>
2315
2316         * timevar.def: Add TV_EXPAND.
2317         * timevar.c (timevar_print): Update timing information.
2318         * calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining.
2319
2320         * stmt.c (expand_return): Check for error_mark_node.
2321
2322 2000-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2323
2324         * configure.in: Also avoid wrapping auto-build.h with IN_GCC.
2325
2326         * scan-types.sh (VALUE) Wrap use with double quotes to protect
2327         variable against filename expansion when it contains "char *".
2328
2329         * system.h (SSIZE_MAX): Delete backup definition.
2330
2331         * cppfiles.c (read_include_file): Use INTTYPE_MAXIMUM(ssize_t)
2332         instead of SSIZE_MAX.
2333
2334 2000-06-09  Jakub Jelinek  <jakub@redhat.com>
2335
2336         * configure.in: Check whether gas supports -relax.
2337         * configure, config.in: Rebuilt.
2338         * config/sparc/sparc.h (ASM_RELAX_SPEC): Define.
2339         (EXTRA_SPECS): Add asm_relax.
2340         (ASM_SPEC): Add %(asm_relax).
2341         (TARGET_SWITCHES): Add -mrelax and -mno-relax.
2342         * config/sparc/linux64.h (LINK_ARCH_SPEC): Rename to LINK_SPEC.
2343         (LINK_SPEC): Pass -relax to linker unless -mno-relax or -r.
2344         (ASM_SPEC): Add %(asm_relax).
2345         * config/sparc/linux.h (LINK_SPEC, ASM_SPEC): Likewise.
2346         * config/sparc/sparc.c (output_sibcall): If HAVE_AS_RELAX_OPTION,
2347         never use sethi/jmpl for leaf tail calls.  Use or with rs2 %g0
2348         instead of mov, so that gas can further optimize it.
2349
2350 2000-06-08  James E. Wilson  <wilson@bletchleypark.cygnus.com>
2351
2352         * dwarf2out.c (size_of_die, case dw_val_class_const): Use
2353         size_of_sleb128.
2354         (value_format, case dw_val_class_const): Use sdata format.
2355         (output_die): Call output_sleb128.
2356
2357 2000-06-08  James E. Wilson  <wilson@cygnus.com>
2358
2359         * dwarf2out.c (ASM_OUTPUT_DWARF_DATA8): Add new macro that uses
2360         UNALIGNED_DOUBLE_INT_ASM_OP.  Rename old macro to
2361         ASM_OUTPUT_DWARF_CONST_DOUBLE.
2362         (output_die, case dw_val_class_unsigned_const): Correct call to
2363         ASM_OUTPUT_DWARF_DATA8.
2364         (output_die, case dw_val_class_long_long): Use
2365         ASM_OUTPUT_DWARF_CONST_DOUBLE.
2366         * tree.c (host_integerp): Accept unsigned HOST_WIDE_INT values when
2367         pos is zero.
2368
2369         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Add.
2370         (output_function_prologue): Fix mispelling.
2371         (output_function_prologue, output_function_epilogue): Reorder to
2372         match ia64.c definition order.
2373         * config/ia64/ia64.c (ia64_expand_prologue): Add comment.
2374         (ia64_expand_epilogue): Set RTX_FRAME_RELATED_P on stack restore insns.
2375         Use r3 instead of r2 for large stack restores.
2376         (ia64_output_end_prologue): New function.
2377         (process_set): Emit ".restore sp" for epilogue stack restores.
2378         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Define.
2379
2380 2000-06-08  Jakub Jelinek  <jakub@redhat.com>
2381
2382         * dbxout.c (dbxout_type_fields): Don't segfault on fields with
2383         incomplete types.
2384
2385 2000-06-08  Nathan Sidwell  <nathan@codesourcery.com>
2386
2387         * frame.c (end_fde_sort): Remove extraneous erratic array test.
2388
2389 2000-06-08  Denis Perchine <dyp@perchine.com>
2390
2391         * frame.c (start_fde_sort): Don't malloc (0).
2392
2393 2000-06-07  Zack Weinberg  <zack@wolery.cumb.org>
2394
2395         * c-decl.c (pushdecl): Do not call COMPLETE_TYPE_P on
2396         error_mark_node.
2397         * print-tree.c (print_node): The transparent_union_flag means
2398         different things for unions and arrays.  Do not inspect it
2399         with TYPE_TRANSPARENT_UNION.
2400
2401 2000-06-06  Jakub Jelinek  <jakub@redhat.com>
2402
2403         * cpplib.c (do_ifdef, do_ifndef): Don't segfault if parse_ifdef
2404         returned NULL.
2405
2406 Wed Jun  7 20:34:33 2000  Denis Chertykov  <denisc@overta.ru>
2407
2408         * config/avr/avr.c (asm_output_section_name): output section
2409         attributes.
2410         * config/avr/libgcc.S (.text.libgcc): declare section attributes.
2411
2412 2000-06-06  James E. Wilson  <wilson@cygnus.com>
2413
2414         * frame.h (struct unwind_info_ptr): Collapse version, flags, and length
2415         fields into header field.
2416         (IA64_UNW_HDR_LENGTH, IA64_UNW_HDR_FLAGS, IA64_UNW_HDR_VERSION): New
2417         macros to access length, flags, and version info from header field.
2418         * config/ia64/crtbegin.asm (__do_frame_setup_aux): Delete here.
2419         * config/ia64/crtend.asm (__do_frame_setup_aux): Add here.
2420         (__do_global_ctors_aux): Fix caller.
2421         * config/ia64/frame-ia64.c (get_unwind_record): Change parameter
2422         prologue_flag to header.  Pass to read_P_record.
2423         (read_P_record): New argument header.  Implement P4 format.
2424         Multiply P7_T_SIZE by 16.
2425         (execute_one_ia64_descriptor): New static local region_header.  Pass to
2426         get_unwind_record.  Copy r to region_header if r is a header record.
2427         (print_all_records): Likewise.
2428         (__build_ia64_frame_state): Use IA64_UNW_HDR_LENGTH.
2429         (__get_personality, __get_except_table): Likewise.
2430         * config/ia64/ia64.c (process_set): Do not divide offsets by 4.
2431
2432 2000-06-06  Philipp Thomas  <pthomas@suse.de>
2433
2434         * configure.in (AC_C_INLINE): Added.
2435         * aclocal.m4 (AM_WITH_NLS): Enable --with-included-gettext by default.
2436         * configure: Regenerate.
2437
2438 2000-06-06  Mark Mitchell  <mark@codesourcery.com>
2439
2440         * c-common.h (c_language_kind): New type.
2441         (c_language): New variab.e
2442         * c-common.c (lang_get_alias_set): Don't put structures in
2443         non-zero alias sets in C++.
2444         * c-decl.c (c_language): Define it.
2445         * c-lex.c (doing_objc_thang): Remove.
2446         * c-tree.h (doing_objc_thang): Make it a macro.
2447         * objc/objc-act.c (lang_decode_option): Set c_language, not
2448         doing_objc_thang.
2449
2450 2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
2451
2452         * diagnostic.c (output_maximum_width): Remove.
2453         (doing_line_wrapping): Tweak.
2454         (diagnostic_buffer): New object.
2455         (global_output_buffer): New object.
2456         (output_destroy_prefix): New function.
2457         (default_initialize_buffer): Likewise.
2458         (reshape_diagnostic_buffer): Likewise.
2459         (initialize_diagnostics): Likewise.
2460         (output_clear): Tweak.
2461         (line_wrapper_printf): Adjust call to init_output_buffer.
2462         (vline_wrapper_message_with_location): Likewise.  Use
2463         output_destroy_prefix.
2464         (v_message_with_decl): Likewise.
2465
2466         * diagnostic.h (struct output_buffer): Constify prefix.
2467         (init_output_buffer, output_get_prefix): Constify.
2468         (diagnostic_message_length_per_line): Likewise.
2469         (reshape_diagnostic_buffer): Declare.
2470         (default_initialize_buffer): Declare.
2471         (initialize_diagnostics): Declare.
2472         (diagnostic_buffer): Declare new obbject.
2473
2474         * toplev.c: #include diagnostic.h
2475         (display_help): Document diagnostic formatting options.
2476         (decode_f_option): Handle diagnostic formatting options.
2477         (main): Setup initialization for diagnostic messages outputter.
2478
2479         * toplev.h (set_message_length): Remove.
2480
2481         * Makefile.in (toplev.o): Depends upon diagnostic.h
2482
2483         * invoke.texi : Document diagnostics formatting options.
2484
2485 Tue Jun  6 19:25:32 2000  Philippe De Muyter  <phdm@macqel.be>
2486
2487         * configure.in (Make the links): Typo fix : the file that must be
2488         included without #ifdef IN_GCC is `auto-host.h', not `auto-config.h'.
2489         * configure: File rebuilt.
2490
2491 2000-06-06  Nathan Sidwell  <nathan@codesourcery.com>
2492
2493         * eh-common.h (EH_ALLOC_SIZE, EH_ALLOC_ALIGN): New #defines.
2494         (eh_context): Add alloc_mask and alloc_buffer emergency fallback
2495         space.
2496         * libgcc2.c (__eh_alloc): Moved from cp/exception.cc. Fallback on
2497         emergency eh_context buffer, if malloc fails.
2498         (__eh_free): Moved from cp/exception.cc. Release to emergency
2499         eh_context buffer, if appropriate.
2500
2501 2000-06-06  Jason Merrill  <jason@casey.soma.redhat.com>
2502
2503         * expr.c (store_expr): Fix typo.
2504
2505 2000-06-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2506
2507         * m68k.c (legitimize_pic_address): Move prototype ...
2508
2509         * m68k-protos.h (legitimize_pic_address): ... here.
2510
2511         * m68k.md (legitimize_pic_address): Delete prototypes.
2512         (untyped_call): Invoke GEN_CALL(), not gen_call().
2513
2514         * nextstep.c: Include system.h and toplev.h.
2515         (get_directive_line): Don't prototype.
2516         (handle_pragma): Mark parameters with ATTRIBUTE_UNUSED and constify.
2517
2518         * nextstep.h (handle_pragma): Prototype.
2519         (SECTION_FUNCTION): Prototype FUNCTION().  Move prototype of
2520         objc_section_init ...
2521         (EXTRA_SECTION_FUNCTIONS): ... here.
2522
2523 Tue Jun  6 08:17:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2524
2525         * sdbout.c (struct sdb_file): NAME now const.
2526         (sdbout_init): input_file_name now const.
2527         (sdbout_start_new_source_file): FILENAME now const.
2528         * sdbout.c (sdbout_init, sdbout_start_new_source_file): Reflect above.
2529
2530 2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
2531
2532         * c-typeck.c (build_conditional_expr): Handle complex data types.
2533
2534 2000-06-05  Jason Merrill  <jason@casey.soma.redhat.com>
2535
2536         * explow.c (maybe_set_unchanging): New function, broken out from...
2537         (set_mem_attributes): Here.
2538         * expr.h: Declare it.
2539         * stmt.c (expand_decl): Call it.
2540
2541 2000-06-05  Richard Henderson  <rth@cygnus.com>
2542
2543         * reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE
2544         while looking for a register to inherit from.
2545
2546 2000-06-05  Jason Merrill  <jason@casey.soma.redhat.com>
2547
2548         * Makefile.in (libgcc.ready): Lose.
2549         (libgcc.mk): Just use mv, not move-if-change.
2550         (LIBGCC_DEPS): New macro.
2551         (libgcc.a): Use it.
2552         (stmp-multilib): Likewise.
2553         * mklibgcc.in (stmp-dirs): New target.  Make everything depend on
2554         it rather than the directories themselves.
2555         (LIB2ADD): Depend on the list file rather than 'force'.
2556
2557         * fold-const.c (fold, case COND_EXPR): Elide conversion between
2558         cv-qualified versions of types.
2559
2560 Mon Jun  5 14:06:18 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2561
2562         * config/sparc/sparc.c (short_branch): Correct error in range
2563         computation.
2564
2565 2000-06-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2566
2567         * fixinc/inclhack.def: New include hacks for ultrix.
2568         * (nested_ultrix): Replaced by ultrix_nested_svc.
2569         * (ultrix_atof_param): test_text string added.
2570         * (ultrix_ifdef): Modified select string.
2571
2572 2000-06-05  Zack Weinberg  <zack@wolery.cumb.org>
2573
2574         * objc/objc-act.c (generate_method_descriptors): Register
2575         objc_method_prototype_template as a GC root.
2576         (comp_method_with_proto): Register function_type as a GC root.
2577         (comp_proto_with_proto): Replace function_type1 and
2578         function_type2 with a two-element array; register it as a GC root.
2579
2580         (generate_protocols, build_protocol_initializer,
2581         generate_protocol_list, build_category_initializer,
2582         build_shared_structure_initializer): Do not cache cast_type
2583         and/or cast_type2.
2584
2585 2000-06-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2586
2587         * function.c (assign_parms): Add missing argument to set_mem_attributes
2588         call.
2589
2590 2000-06-05  Nathan Sidwell  <nathan@codesourcery.com>
2591
2592         * tree.h (VOID_TYPE_P): New macro.
2593         (COMPLETE_OR_VOID_TYPE_P): Use VOID_TYPE_P.
2594         * c-decl.c (grokdeclarator): Use VOID_TYPE_P.
2595         (get_parm_info): Likewise.
2596         (store_parm_decls): Likewise.
2597         (combine_parm_decls): Likewise.
2598         (finish_function): Likewise.
2599         * c-typeck.c (build_function_call): Likewise.
2600         (build_binary_op): Likewise.
2601         (build_conditional_expr): Likewise.
2602         (internal_build_compound_expr): Likewise.
2603         (convert_for_assignment): Likewise.
2604         * stmt.c (expend_expr_stmt): Likewise.
2605         (warn_if_unused_value): Likewise.
2606         (expand_return): Likewise.
2607         * c-parse.in (primary): Likewise.
2608         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
2609         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
2610
2611 Mon Jun  5 06:46:28 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2612
2613         * alias.c (get_alias_set): If compnent is addressable, use alias
2614         set of component.
2615         * c-decl.c (init_decl_processing): Don't call record_component_aliases.
2616         (grokdeclarator): Likewise.
2617         * c-typeck.c (common_type): Likewise.
2618
2619 2000-06-04  Alex Samuel  <samuel@codesourcery.com>
2620
2621         * Makefile.in (OBJS): Remove dyn_string.o
2622         (dyn-string.o): Delete rule.
2623         * dyn-string.c: Delete file
2624         * dyn-string.h: Likewise.
2625
2626 2000-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2627
2628         * Makefile.in (intl.*): Honor non-zero exit codes in the intl
2629         subdir.
2630
2631 2000-06-03  Geoff Keating  <geoffk@cygnus.com>
2632
2633         * alias.c (record_component_aliases): Don't inspect
2634         DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.
2635
2636 Sat Jun  3 19:05:30 2000  Michael Meissner  <meissner@redhat.com>
2637
2638         * ifcvt.c (process_insns): If IFCVT_MODIFY_INSN is defined, call
2639         it with the pattern to do machine dependent work.
2640         (cond_exec_process_if_block): If IFCVT_MODIFY_TESTS is defined,
2641         use it to modify the true/false tests used in conditional
2642         execution.  If IFCVT_MODIFY_FINAL and IFCVT_MODIFY_CANCEL are
2643         defined, invoke them if the conversion to conditional execution
2644         was successful or not.
2645
2646         * tm.texi (IFCVT_MODIFY_TESTS): Document.
2647         (IFCVT_MODIFY_INSN): Ditto.
2648         (IFCVT_MODIFY_FINAL): Ditto.
2649         (IFCVT_MODIFY_CANCEL): Ditto.
2650
2651 Sat Jun  3 15:26:13 2000  Matt Kraai <kraai@alumni.carnegiemellon.edu>
2652
2653         * toplev.c (main): Fix misspellings of possibility and language.
2654
2655 2000-06-03  Richard Henderson  <rth@cygnus.com>
2656
2657         * alias.c (record_alias_subset): Initialize has_zero_child in the
2658         superset.
2659
2660 2000-06-03  Richard Earnshaw (rearnsha@arm.com)
2661
2662         * arm.md (untyped_call): Use GEN_CALL macro.
2663
2664 2000-06-02  Pekka Nikander  <pnr@teldanex.tcm.hut.fi>
2665
2666         * Makefile.in: Use $(MAKE) not "make"
2667
2668 Fri Jun  2 19:31:03 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2669
2670         * alias.c (struct alias_set_entry): New field has_zero_child.
2671         (mem_in_disjoint_alias_sets_p): Return 0 if set in either ase.
2672         (get_alias_set): If language-dependent routine set TYPE_ALIAS_SET,
2673         do nothing.
2674         Call record_component_aliases for aggregate types.
2675         (record_alias_subset): Set has_zero_child.
2676         (record_component_aliases, case ARRAY_TYPE): Do nothing if
2677         TYPE_NONALIASES_COMPONENT.
2678         (record_component_aliases, case RECORD_TYPE): Test
2679         DECL_NONADDRESSABLE_P.
2680         * c-decl.c (grokdeclarator): Set DECL_NONADDRESSABLE_P instead
2681         of TREE_ADDRESSABLE.
2682         * calls.c (initialize_argument_information): Only test
2683         TYPE_TRANSPARENT_UNION for UNION_TYPE.
2684         * function.c (assign_parms): Likewise.
2685         * integrate.c (function_cannot_inline_p): Likewise.
2686         * stor-layout.c (finish_record_layout): Don't call
2687         record_component_aliases.
2688         * tree.h (struct tree_int_cst): Use struct tree_common.
2689         (struct tree_real_cst, struct tree_string): Likewise.
2690         (struct tree_complex, struct tree_identifier): Likewise.
2691         (struct tree_list, struct tree_vec, struct tree_exp): Likewise.
2692         (struct tree_block, struct tree_type, struct tree_decl): Likewise.
2693         (TYPE_TRANSPARENT_UNION): Use UNION_TYPE_CHECK.
2694         (TYPE_NONALIASES_COMPONENT): New macro.
2695         (TYPE_AMBIENT_BOUNDEDNESS): Use FUNCTION_TYPE_CHECK.
2696         (DECL_NONADDRESSABLE_P): New macro.
2697         (struct tree_decl): Reorder bits for clarity of how many left;
2698         add non_adressable.
2699
2700 2000-06-02  Jason Merrill  <jason@casey.soma.redhat.com>
2701
2702         * Makefile.in (libgcc.a): Also depend on $(LIB2ADD).
2703         * mklibgcc.in (force): New target.
2704         Make LIB2ADD stuff depend on it.
2705
2706 2000-06-02  Richard Henderson  <rth@cygnus.com>
2707
2708         * alias.c (lang_get_alias_set): Remove.
2709         (get_alias_set): Call it directly, not indirectly.
2710         * c-common.c (lang_get_alias_set): Rename from c_get_alias_set.
2711         * c-common.h (c_get_alias_set): Don't declare.
2712         * c-decl.c (init_decl_processing): Don't set lang_get_alias_set.
2713         * expr.h (lang_get_alias_set): Declare as function, not pointer.
2714
2715 2000-06-02  Bruce Korb  <bkorb@gnu.org>
2716
2717         * fixinc/server.c(sig_handler):  resume closing server on SIGPIPE
2718         (server_setup):  define the server's master pid
2719         (close_server):  actually do the deed IFF we are the server's master
2720
2721 2000-06-02  Jakub Jelinek  <jakub@redhat.com>
2722
2723         * c-common.c (c_get_alias_set): Check whether signed_type did not
2724         return its argument before calling get_alias_set on the result.
2725
2726 2000-06-02  Andrew MacLeod  <amacleod@cygnus.com>
2727
2728         * expr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.
2729
2730 Fri Jun  2 00:22:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2731
2732         * sh.h (CPP_SPEC): Add -D__NOMACSAVE__ for -mnomacsave.
2733         (CONDITIONAL_REGISTER_USAGE): Mac registers are call used
2734         for TARGET_NOMACSAVE.
2735         (NOMACSAVE_BIT): Define.
2736         (TARGET_NOMACSAVE): Define.
2737         (TARGET_SWITCHES): Add "nomacsave".
2738
2739 2000-06-02  Toshiyasu Morita  <toshi.morita@sega.com>
2740
2741         * sh.md (untyped_call): Remove excess parameters
2742
2743 2000-06-01  Loren J. Rittle  <ljrittle@acm.org>
2744
2745         * fixinc/inclhack.def (osf_namespace_a): Relax expression to
2746         match that used before the conversion to c_fix style.
2747         * fixinc/fixincl.x: regenerate
2748
2749 2000-06-01  Stan Cox  <scox@cygnus.com>
2750
2751         * varray.h (VARRAY_PUSH_GENERIC_PTR, VARRAY_PUSH_CHAR_PTR): Fix
2752         macro argument typo.
2753
2754 2000-06-01  Zack Weinberg  <zack@wolery.cumb.org>
2755
2756         * cpplex.c (maybe_macroexpand): Use CPP_WTRADITIONAL.  Improve
2757         error message.
2758         * cpplib.c (parse_include): Remove support for VAX-C
2759         "#include starlet" misfeature.
2760
2761 2000-05-31 Laurynas Biveinis <lauras@softhome.net>
2762
2763         * cppfiles.c: conditionally define O_BINARY.
2764         (open_include_file): pass O_BINARY to open().
2765
2766 2000-06-01  Richard Henderson  <rth@cygnus.com>
2767
2768         * i960.c (i960_br_predict_opcode): Remove.
2769         (i960_print_operand) [+]: Emit branch prediction hints.
2770         (i960_function_arg): Return early for VOIDmode.
2771         (i960_round_align): Return early for incomplete types.
2772         * i960.h (PRINT_OPERAND_PUNCT_VALID_P): New.
2773         * i960.md (all conditional branches): Add "%+".
2774
2775 Thu Jun  1 12:24:21 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2776
2777         * alias.c (get_alias_set): Don't call language-specific routine more
2778         than is needed and clean up code a bit.
2779         * c-common.c (c_get_alias_set): All references whose type
2780         is char get alias set 0, but character types need not.
2781         * varasm.c (make_function_rtl): Don't call set_mem_attributes.
2782         (make_decl_rtl): Don't call it for FUNCTION_DECL.
2783
2784 2000-06-01  Bruce Korb  <bkorb@gnu.org>
2785
2786         * fixinc/tests/base/...: new base result files
2787
2788 Thu Jun  1 09:37:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
2789
2790         * config/i386/i386.c (ix86_use_fcomi_compare): Make global.
2791         * config/i386/i386-protos.h (ix86_use_fcomi_compare): Declare.
2792         * config/i386/i386.md (*fp_jcc_3, *fp_jcc_4): Disable if we
2793         will use FCOMI.
2794
2795 2000-06-01  Richard Henderson  <rth@cygnus.com>
2796
2797         * Makefile.in (c-decl.o): Depend on $(EXPR_H), not expr.h.
2798
2799         * c-decl.c (init_decl_processing): Set lang_get_alias_set first thing.
2800
2801 2000-05-31  Richard Henderson  <rth@cygnus.com>
2802
2803         * config/ia64/ia64.c (sdata_symbolic_operand): Consider small
2804         CONSTANT_POOL_ADDRESS_P addresses for .sdata.
2805         * config/ia64/sysv4.h (SELECT_RTX_SECTION): New.
2806
2807 2000-05-31  Richard Henderson  <rth@cygnus.com>
2808
2809         * config/ia64/ia64-protos.h (ia64_expand_prediction): Remove.
2810         * config/ia64/ia64.c (ia64_expand_prediction): Move code ...
2811         (ia64_print_operand) [+]: ... here.  Use current_output_insn.
2812         * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): New.
2813         * config/ia64/ia64.md (all branch/call patterns): Use %+.
2814
2815 2000-05-31  Richard Henderson  <rth@cygnus.com>
2816
2817         * ifcvt.c (cond_exec_process_insns): Don't ever ignore clobbers.
2818
2819 2000-05-31  Richard Henderson  <rth@cygnus.com>
2820
2821         * ifcvt.c (merge_if_block): Be prepared for JOIN to have no
2822         remaining edges.
2823         (find_if_block): Allow THEN with no outgoing edges.
2824         * flow.c (merge_blocks_nomove): Remove a barrier not following
2825         a jump as well.
2826
2827 2000-05-31  Richard Henderson  <rth@cygnus.com>
2828
2829         * flow.c (propagate_block): Move initialization of mem_set_list ...
2830         (init_propagate_block_info): ... here.  Also track blocks with
2831         no successors; don't scan insns if ! PROP_SCAN_DEAD_CODE.
2832
2833 2000-05-31  Richard Henderson  <rth@cygnus.com>
2834
2835         * jump.c (jump_optimize_1): Revert 05-18 change.
2836
2837 2000-05-31  Mark Mitchell  <mark@codesourcery.com>
2838
2839         * invoke.texi: Remove documentation for -fguiding-decls.
2840
2841 2000-05-31  Richard Henderson  <rth@cygnus.com>
2842
2843         * configure.in: Fix typo last change.
2844
2845 2000-05-31  Philipp Thomas  <pthomas@suse.de>
2846
2847         * configure.in (enable-nls): Enable if build == host, i.e. when
2848         not building a canadian cross compiler.
2849         (enable-maintainer-mode): Added for use with i18n.
2850         * aclocal.m4 (AM_GNU_GETTEXT): Only build catalogs that are a
2851         cross section of ALL_LINGUAS and LINGUAS.
2852         * configure: Rebuild.
2853
2854 2000-05-31  Bruce Korb  <bkorb@gnu.org>
2855
2856         * fixinc/check.tpl: rework to use test result tree
2857         * fixinc/Makefile.in: change invocation of check script
2858         * fixinc/check.diff: No longer needed
2859         * fixinc/fixincl.x: regenerate
2860         * fixinc/inclhack.def:  add new tests
2861         * fixinc/tests/base/arch/i960/archI960.h:  New test result
2862         * fixinc/tests/base/curses.h: modified test result
2863         * fixinc/tests/base/stdio.h: ditto
2864         * fixinc/tests/base/time.h: ditto
2865         * fixinc/tests/base/sys/asm.h: ditto
2866         * fixinc/tests/base/sys/stat.h: ditto
2867         * fixinc/tests/base/sys/wait.h: ditto
2868
2869 Wed May 31 13:17:20 2000  Philippe De Muyter  <phdm@macqel.be>
2870
2871         * except.c (clear_function_eh_region): Do not free NULL.
2872
2873 Wed May 31 08:07:52 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2874
2875         * Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
2876         * alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
2877         (REG_BASE_VALUE): Remove unneeded cast to unsigned.
2878         (get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
2879         (find_base_decl): New function, from c_find_base_decl in c-common.c.
2880         (new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
2881         (get_alias_set): Likewise.
2882         Major rework to do more things and allow language-specific code
2883         to just handle special-cases.
2884         (record_alias_subset): Args are HOST_WIDE_INT.
2885         (record_component_alias): Local vars are HOST_WIDE_INT.
2886         Don't handle COMPLEX_EXPR.
2887         (get_varargs_alias_set): Moved from builtins.c.
2888         (get_frame_alias_set): New function.
2889         * builtins.c (expand_builtin_return_address): Use frame alias set.
2890         (expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
2891         for setjmp buffer.
2892         (get_memory_rtx): Rework to use set_mem_attributes.
2893         (get_varargs_alias_set): Deleted from here.
2894         * c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
2895         (c_find_base_decl): Deleted from here.
2896         (c_get_alias_set): Remove many cases and rework to just handle
2897         C-specific cases.
2898         * c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
2899         * c-decl.c (rtl.h, expr.h): Now included.
2900         (init_decl_processing): Call record_component_aliases on array types.
2901         (grokdeclarator): Likewise.
2902         Set TREE_ADDRESSABLE for all fields that are not bitfields.
2903         * c-typeck.c (common_type): Call record_component_aliases for array.
2904         * caller-save.c (setup_save_areas): Rework register loop for unsigned.
2905         Set all save areas to the frame alias set.
2906         * calls.c (initialie_argument_information): Call set_mem_attributes.
2907         (compute_argument_addresses, expand_call): Likewise.
2908         * explow.c (set_mem_attributes): New function.
2909         (stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
2910         * expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
2911         LEN and OFFSET now HOST_WIDE_INT.
2912         (clear_by_pieces): Similar changes.
2913         (move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
2914         (move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
2915         (move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
2916         (clear_by_pieces_1): Likewise.
2917         (emit_push_insn): Call set_mem_attributes.
2918         (expand_expr, case INDIRECT_REF): Likewise.
2919         (expand_expr, case VAR_DECL): Call change_address.
2920         * expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
2921         tree_low_cst.
2922         (get_varargs_alias_set, get_frame_alias_set): New decls.
2923         (record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
2924         (new_alias_set, set_mem_attributes): Likewse.
2925         * function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
2926         (assign_stack_temp_for_type): Likewise.
2927         Can split slot even if alias set since can copy.
2928         Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
2929         (assign_temp): Use host_integerp and tree_low_cst.
2930         (put_var_into_stack): Properly handle SAVE_EXPR.
2931         (put_addressof_into_stack): Likewise.
2932         (assign_parms): Call set_mem_attributes.
2933         Delete #if 0 code.
2934         (fix_lexical_address): Put reference to chain into frame alias set.
2935         (expand_function_start): Call set_mem_attributes.
2936         * integrate.c (expand_inline_function): Likewise.
2937         * recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
2938         * regmove.c (try_apply_stack_adjustment): Likewise.
2939         * reload.c (push_reload, make_memloc): Likewise.
2940         * reload1.c (alter_reg): Make alias sets for spilled pseudos.
2941         * rtl.def (MEM): Update comment.
2942         * rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
2943         (move_by_pieces): Change length to HOST_WIDE_INT.
2944         (record_base_value, record_alias_subset): Delete from here.
2945         * stmt.c (expand_decl): Call set_mem_attributes.
2946         * stor-layout.c (finish_record_layout): Call record_component_aliases.i
2947         * toplev.c (compile_file): Call init_alias_once earlier.
2948         * tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
2949         from here: now in alias.c.
2950         * tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
2951         (struct tree_decl): Likewise.
2952         (get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
2953         * varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
2954         (output_constant_def, force_const_mem): Likewise.
2955
2956         * flow.c (propagate_block): If block has no successors, stores to
2957         frame are dead if not used.
2958
2959 2000-05-31  Nathan Sidwell  <nathan@codesourcery.com>
2960
2961         * stmt (expand_end_case): Reorder conversion sequence for jump
2962         table to avoid extra truncations.
2963
2964 Wed May 31 01:31:42 2000  Jeffrey A Law  (law@cygnus.com)
2965
2966         * ifcvt.c (cond_exec_process_if_block): Do nothing if the last insn
2967         in the block is more than just a simple conditional branch.
2968         (noce_process_if_block): Similarly.
2969
2970 Tue May 30 22:25:57 2000  Alexandre Oliva  <aoliva@cygnus.com>
2971
2972         * optabs.c (prepare_float_lib_cmp): Protect *px and *py from
2973         queue.
2974
2975 2000-05-30  Michael Meissner  <meissner@redhat.com>
2976
2977         * dwarf2out.c (dwarf2out_frame_debug_expr): Ignore HIGH
2978         instructions.  Treat LO_SUM operations as loading the full integer
2979         constant.
2980
2981 2000-05-30  Richard Henderson  <rth@cygnus.com>
2982
2983         * combine.c (get_pos_from_mask): Test exact_log2 result as signed.
2984
2985 2000-05-30  Richard Henderson  <rth@cygnus.com>
2986
2987         * bb-reorder.c (emit_jump_to_block_after): Protect use of HAVE_return.
2988
2989 2000-05-30  Bruce Korb  <bkorb@gnu.org>
2990
2991         * fixinc/tests/*:  Added expected result files for fixinc's make check
2992         * fixinc/fixfixes(char_macro_*_fix): Restore original algorithm
2993
2994 2000-05-30  Richard Henderson  <rth@cygnus.com>
2995
2996         * config/alpha/alpha.md (*setne_internal): Use match_operator
2997         instead of working down from insn.
2998
2999 2000-05-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3000
3001         * invoke.texi (-Wtraditional): Update WRT function macros.
3002
3003 Tue May 30 09:57:32 2000  Philippe De Muyter  <phdm@macqel.be>
3004
3005         * except.c (free_exception_table): Do not free NULL.
3006
3007 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
3008
3009         * cpplib.c (do_if): Don't save and restore only_seen_white here.
3010         * cppexp.c (_cpp_parse_expr): Save and restore only_seen_white
3011         and skipping here.
3012
3013 2000-05-29  Richard Earnshaw (rearnsha@arm.com)
3014
3015         * flow.c (mark_used_reg): If a register is unconditionally live,
3016         remove any conditional death information.
3017
3018 2000-05-29  Richard Henderson  <rth@cygnus.com>
3019
3020         * final.c (current_output_insn): New.
3021         (final_scan_insn): Set it.
3022         * output.h: Declare it.
3023
3024 2000-05-29  Richard Henderson  <rth@cygnus.com>
3025
3026         * stor-layout.c (finalize_record_size): Fix typo.
3027
3028         * jump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END
3029         if nlabel is null.
3030
3031 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
3032
3033         * cpplib.h (cpp_reader): Remove if_stack.  Change
3034         potential_control_macro to a cpp_hashnode *.  Add skipping flag.
3035         * cpphash.h (struct ihash): Change control_macro to a
3036         cpp_hashnode * and shorten name to cmacro.
3037         Add NEVER_REINCLUDE constant.
3038
3039         * cppfiles.c (redundant_include_p): Drop cpp_reader argument.
3040         Examine the cmacro node directly, no need to call cpp_defined.
3041         (_cpp_execute_include, read_include_file): Set cmacro to
3042         NEVER_REINCLUDE, not U"".
3043         * cpplex.c (cpp_push_buffer): Don't set new->if_stack.
3044         (cpp_get_token): If pfile->skipping is true, discard text and
3045         keep scanning until we hit a directive; don't expand macros.
3046
3047         * cpplib.c (struct if_stack): Remove if_succeeded, add
3048         was_skipping. Change control_macro to a cpp_hashnode * and
3049         shorten name to cmacro.  Remove typedef IF_STACK.
3050         (parse_ifdef), detect_if_not_defined): Return a cpp_hashnode *.
3051         (conditional_skip, skip_if_group,
3052         consider_directive_while_skipping): Delete.
3053         (push_conditional): New.
3054         (_cpp_handle_directive): Don't process directives other than
3055         conditionals if we are skipping.
3056
3057         (do_ifdef, do_ifndef, do_if, do_else, do_elif, do_endif):
3058         Update to new scheme.
3059         (validate_else): Skip rest of line here, unconditionally.
3060         (_cpp_unwind_if_stack): The stack is per-buffer.  Force
3061         pfile->skipping off.
3062
3063         (all): Remove `scare quotes' from error messages.
3064
3065 2000-05-29  Richard Henderson  <rth@cygnus.com>
3066
3067         * function.c (emit_return_into_block): New line_note arg; emit it.
3068         (thread_prologue_and_epilogue_insns): Attempt to locate a line note
3069         for the close brace to accompany HAVE_return.  Move all line notes
3070         following the epilogue to before the NOTE_INSN_EPILOGUE_BEG.
3071
3072 2000-05-29  Richard Henderson  <rth@cygnus.com>
3073
3074         * longlong.h [__alpha] (count_leading_zeros): New.
3075         (count_trailing_zeros): New.
3076         (COUNT_LEADING_ZEROS_0): New.
3077
3078         * config/alpha/alpha.c (alpha_zero_comparison_operator): New.
3079         (alpha_split_conditional_move): New.
3080         * config/alpha/alpha-protos.h: Prototype them.
3081         * config/alpha/alpha.h (PREDICATE_CODES): Update.
3082         (CPP_CPU_DEFAULT_SPEC): Fix typo for EV67.
3083         * config/alpha/alpha.md: Update ffs cix commentary.
3084         (*ze_and_ne): New.
3085         (*nabssf2, *nabsdf2): New.
3086         (*mov[qhsd]icc_internal): Use add_operand.
3087         (if_then_else constant splitters): New.
3088         (*cmp_sadd_di, *cmp_sadd_si, *cmp_sadd_sidi): New.
3089         (*cmp_ssub_di, *cmp_ssub_si, *cmp_ssub_sidi): New.
3090
3091 2000-05-29  Richard Henderson  <rth@cygnus.com>
3092
3093         * combine.c (force_to_mode) [MINUS]: Convert subtraction from
3094         a constant to NEG or NOT when conditions allow.
3095
3096         * combine.c (combine_simplify_rtx): Don't create an if_then_else
3097         unless both args are general_operand.  Don't canonicalize plus
3098         to ior unless it helps.
3099
3100         * toplev.c (rest_of_compilation): Set no_new_pseudos after flow1;
3101         instead track register_life_up_to_date.  Toggle no_new_pseudos
3102         around if_convert.
3103
3104 2000-05-28  Geoff Keating  <geoffk@cygnus.com>
3105
3106         * config/rs6000/rs6000.c (output_cbranch): Escape '%' characters
3107         so output_operand doesn't see them.
3108
3109 Sun May 28 18:37:07 2000  Clinton Popetz  <cpopetz@cygnus.com>
3110
3111         * lcm.c (make_preds_opaque): Fix comment.
3112         (optimize_mode_switching): Use NORMAL_MODE instead of
3113         MODE_USES_IN_EXIT_BLOCK.  Change leftover instance of
3114         FP_MODE_NONE to no_mode.  Rename MODE_AT_ENTRY to NORMAL_MODE.
3115         Handle insertions before an existing NOTE_INSN_BASIC_BLOCK.
3116         * tm.texi (OPTIMIZE_MODE_SWITCHING): Refer to NORMAL_MODE.
3117         (MODE_USES_IN_EXIT_BLOCK): Delete.
3118         (MODE_AT_ENTRY) Rename to NORMAL_MODE.
3119         * sh.h (MODE_USES_IN_EXIT_BLOCK): Delete.
3120         (MODE_AT_ENTRY): Rename to NORMAL_MODE.
3121         (MODE_NEEDED): Don't look for USE.
3122         (EPILOGUE_USES): Define.
3123
3124 Sun May 28 23:26:59 2000  Philippe De Muyter <phdm@macqel.be>
3125
3126         * mklibgcc.in (all): Variable initialised to `libgcc'.
3127
3128 2000-05-28  Gabriel Dos Reis  <gdr@codesourcery.com>
3129
3130         * toplev.h (skip_leading_substring): New macro.
3131         * toplev.c (decode_f_option): Use skip_leading_substring instead
3132         of strncmp.
3133         (decode_W_option): Likewise.
3134
3135 2000-05-28  Nick Clifton  <nickc@cygnus.com>
3136
3137         * tm.texi (CONDITIONAL_REGISTER_USAGE): Document that it can
3138         modify reg_names.
3139
3140 2000-05-28  Richard Henderson  <rth@cygnus.com>
3141
3142         * regclass.c (record_operand_costs): Protect reg_changes_size
3143         with CLASS_CANNOT_CHANGE_SIZE.
3144
3145         * loop.c (instrument_loop_bct): Set JUMP_LABEL on the new insn.
3146
3147 2000-05-28  Richard Henderson  <rth@cygnus.com>
3148
3149         * function.c (diddle_return_value): A pcc-style struct return
3150         returns a pointer.
3151
3152 2000-05-27  Zack Weinberg  <zack@wolery.cumb.org>
3153
3154         * cppfiles.c: Read files in, using mmap if possible, then
3155         prescan them separately.
3156         (read_file, read_with_read): New functions.
3157         * cpplex.c: Don't define UCHAR_MAX.
3158         (_cpp_read_and_prescan): Rename to _cpp_prescan.  Don't read
3159         the file here.
3160
3161         * cppinit.c (handle_option): Automatically define __cplusplus,
3162         __OBJC__, __ASEEMBLER__, _LANGUAGE_FORTRAN here when we see
3163         the respective -lang switch.
3164
3165         * cpphash.h (enum node_type, struct hashnode, _cpp_lookup
3166         prototype): Move to...
3167         * cpplib.h: ... here.  Rename struct hashnode to struct
3168         cpp_hashnode and give it a typedef.  Rename _cpp_lookup to
3169         cpp_lookup.  Add 'fe_value' slot, a union tree_node *.
3170
3171 2000-05-27  Geoffrey Keating  <geoffk@cygnus.com>
3172
3173         * config/rs6000/rs6000.md (movsi): Constify 'name'.
3174
3175         * regclass.c [CLASS_CANNOT_CHANGE_SIZE]
3176         (class_can_change_size): New variable.
3177         (reg_changes_size): New variable.
3178         (init_reg_sets_1): Initialise class_can_change_size.
3179         (record_operand_costs): Remove subreg_changes_size.
3180         Don't pass it around.  Instead update reg_changes_size.
3181         (regclass): Initialise and free reg_changes_size.  If a register
3182         changes size, don't preference it to a class that contains
3183         registers that can't change size.
3184         (record_reg_classes): Don't look at subreg_changes_size.
3185
3186 2000-05-27  Richard Henderson  <rth@cygnus.com>
3187
3188         * print-rtl.c (reg_names): Remove const.
3189         * regclass.c (reg_names): Likewise.
3190         * regs.h (reg_names): Likewise.
3191         * hard-reg-set.h (reg_names): Likewise.
3192
3193 2000-05-27  Richard Henderson  <rth@cygnus.com>
3194
3195         * config/rs6000/rs6000.md (untyped_call): Use GEN_CALL.
3196
3197 2000-05-27  Richard Henderson  <rth@cygnus.com>
3198
3199         * config/alpha/alpha.c (alpha_does_function_need_gp): Test
3200         TARGET_PROFILING_NEEDS_GP in the if, instead of with an ifdef.
3201         (alpha_expand_prologue): Emit prologue_mcount if needed.
3202         * config/alpha/alpha.h (TARGET_PROFILING_NEEDS_GP): Default to 0.
3203         * config/alpha/alpha.md (prologue_mcount): New.
3204         * config/alpha/linux.h (FUNCTION_PROFILER): Remove.
3205         (TARGET_PROFILING_NEEDS_GP): Undef before redefining.
3206         * config/alpha/netbsd.h: Likewise.
3207
3208 2000-05-27  Richard Henderson  <rth@cygnus.com>
3209
3210         * config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
3211         change to config/elfos.h.
3212
3213 2000-05-27  Richard Henderson  <rth@cygnus.com>
3214
3215         * Makefile.in (resource.o): Depend on except.h.
3216         * except.h (output_exception_table_data): Prototype.
3217         * genconfig.c (gen_peephole2): Prototype.
3218         * genemit.c (main): Include ggc.h.
3219         * genoutput.c: Revert parts of last change: include errors.h
3220         (main): Set progname.
3221         * recog.c: Include hard-reg-set.h before recog.h.
3222         * resource.c: Include except.h.
3223
3224         * config/alpha/alpha-protos.h (alpha_arg_info_reg_val): Protect
3225         with RTX_CODE.
3226         (alpha_write_linkage): Protect with BUFSIZ.
3227         (alpha_need_linkage): Update prototype.
3228         * config/alpha/alpha.c (function_arg): Move VMS code here.
3229         (alpha_links_base): Remove.
3230         (alpha_links): New.
3231         (mark_alpha_links_node, mark_alpha_links): New.
3232         (alpha_write_one_linkage): New.
3233         (alpha_need_linkage): Use a splay tree.  Build the linkage symbol.
3234         (alpha_write_linkage): Use splay_tree_foreach.
3235         * config/alpha/alpha.md (call_vms): Use alpha_need_linkage
3236         to get the linkage symbol.
3237         (call_value_vms): Likewise.
3238         * config/alpha/elf.h (output_file_directive): Remove decl.
3239         (ctors_section, dtors_section): Prototype.
3240         (sbss_section, sdata_section): Prototype.
3241         * config/alpha/vms.h (FUNCTION_ARG): Remove.
3242         (readonly_section, link_section, literals_section): Prototype.
3243         (ctors_section, dtors_section): Prototype.
3244         (vms_valid_decl_attribute_p): Remove decl.
3245         (alpha_arg_type, alpha_arg_info_reg_val): Likewise.
3246
3247 2000-05-27  Geoff Keating  <geoffk@cygnus.com>
3248
3249         * reload.c (get_secondary_mem): Don't widen floating-point modes.
3250
3251         * combine.c (subst): Honour CLASS_CANNOT_CHANGE_SIZE when
3252         substituting the REG in a (subreg:X (reg:Y ...)).
3253
3254 2000-05-28  Neil Booth  <NeilB@earthling.net>
3255
3256         * cpplex.c (_cpp_lex_line): Merge vertical space.  Flag
3257         first token of a line BOL.  Update EOF code for this.
3258         Remove illegal directive check - it appears in the (not
3259         yet committed) caller.
3260         * cpplib.h (BOL): New flag.
3261
3262 2000-05-28  Neil Booth  <NeilB@earthling.net>
3263
3264         * cpplex.c (_cpp_init_toklist): No comment space to initialise.
3265         (_cpp_free_toklist): No comment space to free.
3266         (expand_comment_space): Remove.
3267         (save_comment_space): Place the comment in the current token and
3268         not in a separate comment space.
3269         (_cpp_lex_line): Save comments during plain code and #define
3270         directives only.
3271         * cpplib.h (struct _cpp_toklist): Remove comment space.
3272
3273 2000-05-28  Neil Booth  <NeilB@earthling.net>
3274
3275         * cppexp.c (parse_assertion): Supply extra argument to
3276         _cpp_init_toklist.
3277         * cpplib.c (do_assert, do_unassert): Similarly.
3278         * cpphash.h (_cpp_init_toklist) Update.
3279         (_cpp_expand_token_space): New.
3280         (DUMMY_TOKEN, NO_DUMMY_TOKEN): New.
3281         * cpplex.c (_cpp_init_toklist): New argument.
3282         (parse_string2): New argument multiline_ok.
3283         (spell_token): Take a const cpp_token *.
3284         (INIT_NAME): Replace with INIT_TOKEN_NAME.  Update tokens_used.
3285         (SPELL_ macros): Replace with enum.
3286         (expand_token_space): Replace with _cpp_expand_token_space.
3287         Take COUNT argument.
3288         (IS_DIRECTIVE): Update.
3289         (_cpp_lex_line): Update token structure before parsing number.
3290         Don't assume start at beginning of token list.
3291         (save_comment): Use INIT_TOKEN_NAME.
3292
3293 2000-05-27  Zack Weinberg  <zack@wolery.cumb.org>
3294
3295         * configure.in (stage1_warn_cflags): Add -Wstrict-prototypes
3296         -Wmissing-prototypes.
3297         * configure: Regenerate.
3298         * gcc.texi: Remove explanation of MD_CALL_PROTOTYPES.
3299
3300         * builtins.c, calls.c: Change all instances of gen_call_* or
3301         gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*.
3302         * calls.c (struct_value_size_rtx): Separate definition from
3303         initialization to avoid unused variable warning.
3304
3305         * genflags.c (gen_macro): New function.
3306         (gen_proto): Call it for gen_call_* and gen_sibcall_*.
3307         (gen_nonproto): Delete.
3308         (gen_insn): Put all insns on the same obstack.
3309         (main): Generate prototypes for everything unconditionally.
3310
3311         * configure.in: Add AC_CHECK_TYPE(ssize_t).  Remove commented
3312         out check for wchar_t.
3313         * acconfig.h: Add template for ssize_t.  Remove @TOP@.
3314         * system.h: Add infrastructure for defining missing
3315         TYPE_MAX/TYPE_MIN macros.  Use it to provide fallback
3316         definitions of UCHAR_MAX and SSIZE_MAX.
3317         * configure: Regenerate.
3318         * config.in: Regenerate.
3319
3320         * Makefile.in (libgcc2.ready): Rename to libgcc.ready.
3321         Depend on $(LANGUAGES) as well as $(GCC_PATCHES) and fixed
3322         headers.
3323         (clean): No need to delete libgcc1.a, libgcc1-asm.a,
3324         libgcc2.a, or libgcc1.null.
3325
3326 2000-05-27  Richard Henderson  <rth@cygnus.com>
3327
3328         * Makefile.in (recog.o): Don't depend on resource.h.
3329         * recog.c: Don't include resource.h.
3330         (recog_last_allowed_insn): Remove.
3331         (recog_next_insn): Remove.
3332         (struct peep2_insn_data): New.
3333         (peep2_insn_data, peep2_current): New.
3334         (peep2_next_insn): New.
3335         (peep2_regno_dead_p, peep2_reg_dead_p): New.
3336         (peep2_find_free_register): New.
3337         (peephole2_optimize): Track life information by insn as we go.
3338         * recog.h: Update declarations.
3339         * resource.c (find_free_register, reg_dead_p): Remove.
3340         * resource.h: Remove their declarations.
3341         * toplev.c: Include hard-reg-set.h before recog.h.
3342
3343         * genconfig.c (max_insns_per_peep2): New.
3344         (gen_peephole2): New.
3345         (main): Call it.
3346         * genemit.c (output_peephole2_scratches): Generate calls to
3347         peep2_find_free_register; adjust surrounding code.
3348         (main): Have insn-emit.c include hard-reg-set.h before recog.h.
3349         * genrecog.c (change_state): Don't track last_insn.
3350         (write_action): Write into *_pmatch_len before accepting.
3351         (write_tree): Adjust peephole2_insns and subroutines to match.
3352
3353         * config/i386/i386.md (all peepholes): Use peep2_regno_dead_p.
3354
3355         * config/alpha/alpha.c (hard_fp_register_operand): Mind the mode.
3356         (hard_int_register_operand): New.
3357         * config/alpha/alpha-protos.h: Declare it.
3358         * config/alpha/alpha.h (PREDICATE_CODES): Update.
3359         * config/alpha/alpha.md (peep2 patterns): Use hard_int_register_operand
3360         as needed; use peep2_reg_dead_p instead of dead_or_set_p.
3361
3362 2000-05-27  Richard Henderson  <rth@cygnus.com>
3363
3364         * function.c (thread_prologue_epilogue_insns): Don't move the
3365         line note at the head of the chain.  Only force a lineno note
3366         before the end of block 0.
3367
3368 2000-05-27  Richard Henderson  <rth@cygnus.com>
3369
3370         * gensupport.c (collect_insn_data): Record the maximum number
3371         of alternatives, not the last seen.
3372
3373         * genoutput.c: Don't include errors.h.
3374         (struct data): Add lineno member.
3375         (have_error): New.
3376         (scan_operands): Use message_with_line instead of error.
3377         (validate_insn_alternatives): Likewise.
3378         (gen_insn): Accept and store the pattern's line number.
3379         (gen_peephole, gen_expand, gen_split): Likewise.
3380         (main): Don't set progname.  Pass line_no to gen_foo.
3381
3382 2000-05-27  Richard Henderson  <rth@cygnus.com>
3383
3384         * config/d30v/d30v.c (d30v_print_operand): Handle ':'.
3385         * config/d30v/d30v.h (PRINT_OPERAND_PUNCT_VALID_P): Accept ':'.
3386         * config/d30v/d30v.md (attr predicable): New.
3387         (all insn patterns): Mark non-predicable patterns; use %: on the rest.
3388         (andsi3*): Unify into one pattern.
3389         (iorsi3*, xorsi3*): Likewise.
3390         (peephole2 patterns): Use peep2_reg_dead_p; verify not a
3391         conditional return.
3392         (old cond_exec patterns): Remove.
3393         (define_cond_exec): New.
3394
3395 Sat May 27 11:01:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3396
3397         * tree.h (TREE_CODE_LENGTH): New macro.
3398         * c-common.c (c_find_base_decl): Use it.
3399         * expr.c (safe_from_p): Likewise.
3400         * print-tree.c (print_node): Likewise.
3401         * tree.c (make_node, copy_node, get_identifier): Likewie.
3402         (first_rtl_op, contains_placeholder_p, substitute_in_expr): Likewise.
3403         (build, build_nt, build_parse_node, simple_cst_equal): Likewise.
3404         * fold-const.c (make_range): Likewise.
3405         (fold): Likewise; also use first_rtl_op.
3406         * c-iterate.c (collect_iterators): Use first_rtl_op.
3407         * calls.c (calls_function_1): Likewise; also rename TYPE to CLASS.
3408         Use IS_EXPR_CODE_CLASS.
3409         (preexpand_calls): Likewise.
3410         * ggc-common.c (ggc_mark_trees): Rework to use first_rtl_op
3411         and TREE_CODE_LENGTH.
3412         * stmt.c (warn_if_unused_value): If no operands, no unused value.
3413
3414 2000-05-26  Geoffrey Keating  <geoffk@cygnus.com>
3415
3416         * config/rs6000/rs6000.md (movsi_internal1): Use '%a1' rather
3417         than '%1(%*)'.
3418         (movdi_internal64): Likewise.
3419
3420         * config/rs6000/rs6000.md: Correct order of operands for DImode
3421         boolean patterns.
3422
3423         * config/rs6000/rs6000.c (boolean_or_operator): New function.
3424         * config/rs6000/rs6000-protos.h (boolean_or_operator): Prototype it.
3425         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_or_operator.
3426         * config/rs6000/rs6000.md: Use boolean_or_operator instead of
3427         boolean_operator for the boolean patterns without NOTs.
3428
3429         * config/rs6000/rs6000.c (reg_or_logical_cint_operand): Rename
3430         from reg_or_u_cint_operand.  Change comment and behaviour.
3431         (logical_operand): Clean up, add assertion.
3432         (non_logical_cint_operand): Also check for
3433         reg_or_logical_cint_operand.
3434         * config/rs6000/rs6000.h (PREDICATE_CODES): Update.
3435         * config/rs6000/rs6000.md (iorsi3): Use reg_or_logical_cint_operand
3436         in the expander.
3437         (xorsi3): Likewise.
3438         (iordi3): Likewise.
3439         (xordi3): Likewise.
3440
3441 2000-05-26  Mark Mitchell  <mark@codesourcery.com>
3442
3443         * tree.h (struct record_layout_info): Rename to (struct
3444         record_layout_info_s).
3445         * stor-layout.c (start_record_layout): Replace
3446         `record_layout_info' with `record_layout_info_s'.
3447
3448 2000-05-26  Richard Earnshaw  <rearnsha@arm.com>
3449
3450         * flow.c (find_label_refs): New function.
3451         (find_basic_blocks_1): Call it for each alternative of a call
3452         placeholder.
3453
3454 2000-05-26  Richard Earnshaw  <rearnsha@arm.com>
3455
3456         * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
3457         of get_pc.
3458
3459 2000-05-25  Richard Henderson  <rth@cygnus.com>
3460
3461         * config/alpha/alpha.c (alpha_comparison_operator): Don't be
3462         so strict about DImode.
3463         (alpha_swapped_comparison_operator): Likewise.
3464         * config/alpha/alpha.md (*setne_internal): Name it.  Allow
3465         any integer output mode.
3466         (*setcc_internal): Likewise.
3467         (*setcc_swapped_internal): Likewise.
3468         (*movdicc_internal, *movdicc_lbc, *movdicc_lbs): Name them.
3469         (*mov[qhs]icc_internal): New.
3470         (*mov[qhs]icc_lbc, *mov[qhs]icc_lbs): New.
3471
3472 2000-05-25  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3473
3474         * vax.h (CPP_SPEC): Define __GFLOAT and GFLOAT when -mg is specified.
3475
3476 2000-05-25  Richard Henderson  <rth@cygnus.com>
3477
3478         * bb-reorder.c (reorder_block_def): Reorder elements for size.
3479         Remove add_jump; add next; replace flags with visited.
3480         (rbd_init): Remove.
3481         (REORDER_BLOCK_HEAD, REORDER_BLOCK_VISITED): Remove.
3482         (REORDER_BLOCK_FLAGS, REORDER_BLOCK_INDEX): Remove.
3483         (REORDER_BLOCK_ADD_JUMP, REORDER_BLOCK_EFF_HEAD): Remove.
3484         (REORDER_BLOCK_EFF_END, REORDER_BLOCK_SCOPE): Remove.
3485         (RBI): New.
3486         (reorder_index, reorder_last_visited): Remove.
3487         (skip_insns_after_block): Rewrite to use a switch.
3488         (get_common_dest): Remove.
3489         (chain_reorder_blocks): Remove.
3490         (record_effective_endpoints): Split out from reorder_basic_blocks.
3491         (make_reorder_chain): Likewise.  Loop until all blocks are placed.
3492         (make_reorder_chain_1): Renamed from old make_reorder_chain.
3493         Only construct the reorder chain, do not move insns.  Try harder
3494         to tail recurse.
3495         (label_for_bb, emit_jump_to_block_after): New.
3496         (fixup_reorder_chain): Use them.  Do bulk block movement.  Examine
3497         and adjust the jump insns appropriately.  Fixup basic_block_info.
3498         (verify_insn_chain): Always define.
3499         (relate_bbs_with_scopes): Call xmalloc, not xcalloc.  Fix thinko
3500         in allocation size.
3501         (make_new_scope): Don't write zeros to calloc'd space.
3502         (build_scope_forest): Rely on xrealloc to DTRT.
3503         (reorder_basic_blocks): Don't build loop nest.  Don't fail if
3504         profile_arc_flag.  Streamline EH test.
3505
3506         * flow.c (redirect_edge_succ, redirect_edge_pred): New.
3507         * basic-block.h: Declare them.
3508
3509 2000-05-25  Alexandre Oliva  <aoliva@cygnus.com>
3510
3511         * emit-rtl.c (reset_used_decls): New function.
3512         (unshare_all_rtl_again): Call it.
3513
3514 2000-05-25  Zack Weinberg  <zack@wolery.cumb.org>
3515
3516         * cpplex.c (maybe_macroexpand): Warn about function-like
3517         macros used in non-function context, if -Wtraditional.
3518
3519 2000-05-25  Mark Mitchell  <mark@codesourcery.com>
3520
3521         * recog.c (peephole2_optimize): Use INSN_P.
3522
3523 2000-05-25  Richard Henderson  <rth@cygnus.com>
3524
3525         * ifcvt.c (seq_contains_jump): New.
3526         (noce_try_store_flag_constants): Use it to fail conversion.
3527         (noce_try_store_flag_inc, noce_try_store_flag_mask): Likewise.
3528
3529 2000-05-25  Mark Mitchell  <mark@codesourcery.com>
3530
3531         * except.h (can_throw): Declare it.
3532         * except.c (can_throw): Give it external linkage.
3533         * resource.c (find_dead_or_set_registers): Use can_throw.
3534
3535 2000-05-25  Richard Henderson  <rth@cygnus.com>
3536
3537         * flow.c (mark_set_1): Don't record conditionally dead memory.
3538
3539 2000-05-25  Jan Hubicka  <jh@suse.cz>
3540
3541         * combine.c (try_combine): Use any_condjump_p, any_uncondjump_p
3542         and pc_set at the place of simplejump_p and condjump_p.
3543         * cse.c (record_jump_equiv): Likewise.
3544         * emit-rtl.c (emit): Likewise.
3545         * explow.c (find_next_ref): Likewise.
3546         * flow.c (tidy_fallthru_edge): Likewise.
3547         (init_propagate_block_info): Likewise.
3548         * gcse.c (delete_null_pointer_checks): Likewise.
3549         * ifcvt.c (cond_exec_get_condition, noce_get_condition,
3550         dead_or_predicable): Likewise.
3551         * integrate.c (copy_insn_list): Likewise.
3552         * loop.c (scan_loop, verify_dominator, find_and_verify_loops,
3553         for_each_insn_in_loop, check_dbra_loop, get_condition,
3554         insert_bct, load_mems): Likewise.
3555         * resource.c (find_dead_or_set_registers): Likewise.
3556         * sibcalls.c (simplejump_p): Likewise.
3557         * unroll.c (copy_loop_body, reg_dead_after_loop): Likewise.
3558
3559 2000-05-25  David Edelsohn  <edelsohn@gnu.org>
3560
3561         * rs6000.c (expand_block_move): Add 64-bit PowerPC doubleword move
3562         to STRING case.  Use doubleword STRING move for TARGET_POWERPC64
3563         when unaligned.
3564         * rs6000.h (CONST_OK_FOR_LETTER_P, 'J'): unsigned HOST_WIDE_INT.
3565         (RETURN_ADDR_RTX): Use COUNT and FRAME, not count and frame.
3566         (LEGITIMIZE_RELOAD_ADDRESS): unsigned HOST_WIDE_INT high.
3567         * rs6000.md: Name various internal patterns.
3568
3569 2000-05-25  Jan Hubicka  <jh@suse.cz>
3570
3571         * jump.c (invert_exp_1): Remove first argument, use pc_set
3572         to get the expression.
3573         (redirect_exp): Make static; redirect only the pc_set expression,
3574         remove first argument.
3575         (invert_exp): Remove first argument, make static.
3576         (jump_optimize): Use any_condjump_p, any_uncondjump_p and
3577         any_onlyjump at most places where we originaly did condjump_p
3578         and simplejump_p.
3579         (jump_back_p, follow_jumps, thread_jumps): Likewise.
3580         (delete_barrier_succesors): Use pc_set.
3581         (invert_jump_1, invert_jump, redirect_jump_1, redirect_jump): Update
3582         calls of invert_exp and redirect_exp.
3583         * rtl.h (redirect_exp, invert_exp): Remove.
3584         * unroll.c (copy_loop_body): Use invert_jump and redirect_jump.
3585
3586 2000-05-25  Richard Henderson  <rth@cygnus.com>
3587
3588         * stmt.c (expand_end_bindings): Fix thinko last change.
3589
3590 2000-05-25  Andrew MacLeod  <amacleod@cygnus.com>
3591             Andrew Haley  <aph@cygnus.com>
3592
3593         * except.c  (func_eh_entry): Add emitted field.
3594         (new_eh_region_entry): Set emitted field to 0;
3595         (output_exception_table_entry): Only emit previously un-emitted data,
3596         and send it to the eh_data section.
3597         (output_exception_table): Break out common parts. Output
3598         exception table for entire compilation unit to eh_data section.
3599         (output_exception_table_data): Common parts of output_exception_table.
3600         Send output to eh_data section.
3601         (output_function_exception_table): Output exception table data for
3602         a single function to eh_data section.
3603         (free_exception_table): New external to free the table.
3604         * except.h (free_exception_table): Add prototype.
3605         (output_function_exception_table): Add prototype.
3606         * final.c (final_end_function): Output function exception table
3607         for IA64_UNWIND_INFO.
3608         (final_scan_insn): Emit any unwind directives for an insn.
3609
3610         * frame-dwarf2.c: New file containing all DWARF 2 specific code
3611         from frame.c.
3612         * frame.c: Remove all DWARF 2 specific code.
3613         * config/ia64/frame-ia64.c: New file.
3614         (gthread_stuff): Make all gthread available with
3615         IA64_UNWIND_INFO.
3616         (dwarf_fde): Define an IA64 struct for dwarf_fde.
3617         (__register_frame_info, __register_frame): Move to common area of file.
3618         (__register_frame_info_table, __register_frame_table): Move to common i
3619         area.
3620         (__deregister_frame_info, __deregister_frame): Move to common area.
3621         (__frame_init, find_fde): New versions for IA64_UNWIND_INFO.
3622         (read_uleb128): New version for ia64.
3623         (get_unwind_record): Read the next IA-64 unwind record.
3624         (read_R_record): Read a region header record.
3625         (process_a_b_reg_code): X record helper.
3626         (read_X_record): Read an X format record.
3627         (read_B_record): Read a B format record.
3628         (P3_record_types): List of record types matching the P3 format.
3629         (P7_record_types): List of record types matching the P7 format.
3630         (P8_record_types): List of record types matching the P8 format.
3631         (read_P_record): Read a P format record.
3632         (init_ia64_reg_loc): Set default fields for a register.
3633         (init_ia64_unwind_frame): Set defaults for all register records.
3634         (execute_one_ia64_descriptor): Execute one descriptor record.
3635         (rse_address_add): Calculate the position of a local reg in memory.
3636         (normalize_reg_loc): Turn a location descriptor into a memory address.
3637         (maybe_normalize_reg_loc): Only normalize a descriptor if it falls
3638         within a specified PC offset range.
3639         (get_real_reg_value): Given a register location, retrieve its value.
3640         (set_real_reg_value): Change the value of a register location.
3641         (copy_reg_value): Copy reg values, if needed.
3642         (copy_saved_reg_state): Copy all registers that need to be copied.
3643         (process_state_between): Normalize all frame register records that
3644         fall within the specified PC range.
3645         (frame_translate): Take a processed frame description, and turn
3646         everything into addresses.
3647         (build_ia64_frame_state ): Find and create frame state record for a PC.
3648         (get_personality): Get the personality routine for a given frame.
3649         (get_except_table): Get the exception table for a given frame.
3650         (record_name): Unwind record names for debugging.
3651         (print_record): Print and unwind record.
3652         (print_all_records): Print an entire unwind image.
3653         (__ia64_backtrace): Print a backtrace.
3654         (ia64_backtrace_helper): New function.
3655         (__register_frame_info_aux): New function.
3656         * config/ia64/crtend.asm (__do_frame_setup_aux): New function.
3657
3658         * frame.h (enum unw_record_type): New unwind record types.
3659         (struct unw_p_record, unw_b_record, unw_x_record) : New unwind records.
3660         (struct unw_r_record, unwind_record): New unwind record structs.
3661         (struct unwind_info_ptr): Unwind information layout.
3662         (IA64_UNW_LOC_TYPE_*): Macros for different types for location
3663         descriptors.
3664         (struct ia64_reg_loc): Register location description.
3665         (struct ia64_frame_state): Location of all registers in a frame.
3666         (struct object): Add pc_base and fde_end for IA64_UNWIND_INFO.
3667         * libgcc2.c (__ia64_personality_v1): Personality routine.
3668         (__calc_caller_bsp): Calculate the bsp register for the caller's
3669         frame.
3670         (ia64_throw_helper): Figure out who to return to and set up the
3671         registers.
3672         (__throw): Throw routine.
3673
3674         * output.h (assemble_eh_align, assemble_eh_label): New functions
3675         to generate EH info where we want it.
3676         (assemble_eh_integer): New function.
3677         * toplev.c (compile_file): Output module level exception table for
3678         non-ia64 targets.
3679         (main): Set exceptions_via_longjump and flag_new_exceptions based
3680         on IA64_UNWIND_INFO too.
3681
3682         * varasm.c (assemble_eh_label): Generate a label via
3683         ASM_OUTPUT_EH_LABEL if it has been specified.
3684         (assemble_eh_align): Generate an alignment directive via
3685         ASM_OUTPUT_EH_ALIGN if it has been specified.
3686         (assemble_eh_label): Generate an integer value via
3687         ASM_OUTPUT_EH_type if they have been specified.
3688         * config/ia64/ia64.c (rtx_needs_barrier): Add flushrs.
3689         (ia64_init_builtins): Add __builtin_ia64_bsp
3690         and __builtin_ia64_flushrs.
3691         (ia64_expand_builtin): Add IA64_BUILTIN_BSP and
3692         IA64_BUILTIN_FLUSHRS.
3693         * config/ia64/ia64.h (ia64_builtins): Add IA64_BUILTIN_BSP and
3694         IA64_BUILTIN_FLUSHRS.
3695
3696         * config/ia64/ia64.md (flushrs): New insn to flush the register
3697         stack.  Add to unspec list.
3698
3699         * config/ia64/crtbegin.asm (frame_object): Change size.
3700         (__do_frame_setup_aux): New function.
3701         * config/ia64/crtend.asm: call __do_frame_setup_aux.
3702         * config/ia64/t-ia64 (LIB2ADDEH): Add.
3703         * Makefile.in (LIB2ADDEH): Add.
3704         (LIB2ADD): Use LIB2ADDEH.
3705
3706 2000-05-24  Richard Henderson  <rth@cygnus.com>
3707
3708         * recog.c (offsettable_address_p): If mode size is zero, assume
3709         BIGGEST_ALIGNMENT.
3710
3711 2000-05-24  J. David Anglin  <dave@hiauly.hia.nrc.ca>
3712
3713         * configure.in: Check for -Wno-long-long option support and improve
3714         handling of warning CFLAGS for stages 1 and 2.
3715         * Makefile.in (WARN_CFLAGS): Move definition to configure.in.
3716         * configure: Regenerate.
3717
3718 Wed May 24 19:37:53 2000  Jeffrey A Law  (law@cygnus.com)
3719
3720         * gcc.texi: Remove contributor list.  Instead include contrib.texi.
3721         * contrib.texi: New file.
3722
3723 Thu May 25 02:27:22 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3724
3725         * loop.c (basic_induction_var): Avoid double recording of an increment.
3726
3727 Thu May 25 02:19:27 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3728
3729         * Back out this patch:
3730         Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
3731           * loop.h (struct induction): Add multi_insn_incr.
3732           * loop.c (basic_induction_var): New multi_insn_incr argument.
3733           Set it if we search back through previous insns for the biv.
3734           (record_biv): New multi_insn_incr argument; fill in struct induction.
3735           (strength_reduce): Discard an iv with multiple bivs, any of
3736           which require multiple insns to increment.
3737
3738         * loop.c (check_insn_for_bivs): Remove bits copied from above patch.
3739
3740 Thu May 25 02:09:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3741
3742         * rtl.h (loc_mentioned_in_p): Declare.
3743         * reload.c (loc_mentioned_in_p): Moved from here...
3744         * rtlanal.c (loc_mentioned_in_p): to here.  No longer static.
3745         Fix loop increment for 'E' handling.
3746         * loop.c (strength_reduce): When doing biv->giv conversion,
3747         take multi-insn biv increments into account.
3748
3749 2000-05-24  Jason Merrill  <jason@casey.soma.redhat.com>
3750
3751         * stmt.c (expand_end_bindings): Look through NOTEs to find a
3752         BARRIER.
3753
3754 2000-05-24  Mark Mitchell  <mark@codesourcery.com>
3755
3756         * calls.c (expand_call): Handle cleanups in tail-recursion
3757         arguments analagously to cleanups in sibling calls.
3758
3759 2000-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3760
3761         * simplify-rtx.c: Rename macro SIGN_EXTEND to HWI_SIGN_EXTEND.
3762         All callers changed.
3763
3764 2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
3765
3766         * expr.c (expand_assignment, store_expr, expand_expr,
3767         expand_expr_unaligned): Set in_check_memory_usage while emitting
3768         chkr_check_addr libcall.
3769
3770 2000-05-24  Nick Clifton  <nickc@cygnus.com>
3771
3772         * fold-const.c (extract_muldiv): When constructing a
3773         multiplier/divisor, do not expect const_binop to correctly
3774         determine if overflow has occured, so check explicitly.
3775
3776 2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
3777
3778         * c-decl.c (build_enumerator): Don't modify the value's type,
3779         convert it.
3780
3781 2000-05-24  Andreas Jaeger  <aj@suse.de>
3782
3783         * mips.h (LINKER_ENDIAN_SPEC): Pass -EL to linker by default.
3784
3785 2000-05-24  Eric Christopher <echristo@cygnus.com>
3786
3787         * configure.in: Redefine inhibit_libc conditions.
3788         * libgcc2.c: Remove inhibit_libc conditional define.
3789         * configure: Regenerate.
3790
3791 2000-05-24  Phil Edwards  <pme@sourceware.cygnus.com>
3792
3793         * configure.in:  For --enable-languages=LIST, check for empty LIST.
3794         * configure:  Regenerate.
3795
3796 2000-05-24  Lars Brinkhoff  <lars@nocrew.org>
3797
3798         * pdp11.h (STACK_BOUNDARY): Define.
3799
3800 2000-05-24  Jakub Jelinek  <jakub@redhat.com>
3801
3802         * ifcvt.c (if_convert): Update life info globally.
3803
3804 2000-05-24  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3805
3806         * emit-rtl.c (unshare_all_decls): New function.
3807         (unshare_all_rtl): Call it.
3808
3809 2000-05-23  Nick Clifton  <nickc@cygnus.com>
3810
3811         * configure.in: Treat 'strongarm' as if it were 'arm' when
3812         determining cpu type.
3813
3814         * configure: Regenerate.
3815
3816         * config/arm/arm.c: Change 'char *' to 'const char *' for cases
3817         where constant strings are involved.
3818
3819         * config/arm/arm.h (arm_condition_codes): Change type to 'const
3820         char *'.
3821
3822         * config/arm/arm-protos.h: Change 'char *' to 'const char *' for
3823         cases where constant strings are involved.
3824
3825 Tue May 23 15:08:31 2000  Clinton Popetz  <cpopetz@cygnus.com>
3826
3827         * config/sh/sh.c (gen_far_branch, split_branches): Update
3828         to reflect new prototypes for redirect_jump and invert_jump.
3829         (sh_insn_length_adjustment): Get rid of const warnings.
3830
3831 2000-05-23  Kazu Hirata  <kazu@hxi.com>
3832
3833         * invoke.texi (Options for Debugging Your Program or GCC): Update
3834         the names of dump files.
3835
3836 Tue May 23 13:58:52 2000  Philippe De Muyter  <phdm@macqel.be>
3837
3838         * configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
3839         * configure: Regenerated.
3840
3841 2000-05-23  Zack Weinberg  <zack@wolery.cumb.org>
3842
3843         * simplify-rtx.c (SIGN_EXTEND): New macro.
3844         (simplify_unary_operation, simplify_binary_operation,
3845         simplify_relational_operation): Use SIGN_EXTEND.  Make low
3846         halves of (low, high) pairs unsigned if they weren't already.
3847         (simplify_ternary_operation): Cast INTVAL to unsigned before
3848         comparing to a MODE_BITSIZE.
3849
3850 2000-05-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3851
3852         * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
3853         rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.
3854
3855         * configure.in (gcc_AC_CHECK_DECLS): Call this instead of
3856         gcc_AC_NEED_DECLARATIONS.
3857
3858         * dwarfout.c: Don't prototype time().
3859
3860         * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.
3861
3862         * system.h: Likewise.
3863
3864         * toplev.c: Likewise.
3865
3866 2000-05-23  Zack Weinberg  <zack@wolery.cumb.org>
3867
3868         * c-decl.c (pushdecl): Invert sense of test for non-global types.
3869
3870 Tue May 23 18:11:42 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3871
3872         * reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
3873
3874 2000-05-23  Jonathan Larmour  <jlarmour@redhat.co.uk>
3875
3876         * config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): Define
3877
3878 Tue May 23 06:50:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3879
3880         * config/alpha/alpha.c: Remove #ifdef HAIFA since now only scheduler.
3881         (alpha_start_function): Never write ..ng label if VMS or NT.
3882         (alpha_align_insns): Remove GP_IN_USE arg.
3883         Alignment now unsigned.
3884         (alpha_reorg): Don't pass GP_IN_USE arg to alpha_align_insns.
3885         * config/alpha/alpha.md (prologue_ldgp): Split into one define_expand
3886         and two define_insn's.
3887
3888 2000-05-22  Richard Henderson  <rth@cygnus.com>
3889
3890         * combine.c (simplify_comparison): Use trunc_int_for_mode.
3891
3892 2000-05-22  Richard Henderson  <rth@cygnus.com>
3893
3894         * stor-layout.c (place_field): Change rli->size to rli->offset.
3895
3896 2000-05-22  Richard Henderson  <rth@cygnus.com>
3897
3898         * function.c (thread_prologue_and_epilogue_insns): Make sure
3899         existing line number notes appear after the prologue.
3900
3901 Mon May 22 21:49:00 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3902
3903         * config/alpha/alpha.c (alpha_fnname): New static variable.
3904         (print_operand, case '~'): New case.
3905         (alpha_expand_prologue): Emit prologue_ldgp insn if needed.
3906         (alpha_start_function): Set alpha_fnname.
3907         Write "ng" label if no ldgp; don't write ldgp insn.
3908         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): New case '~'.
3909         * config/alpha/alpha.md (prologue_ldgp): New define_insn.
3910
3911 Mon May 22 11:30:48 2000  Clinton Popetz  <cpopetz@cygnus.com>
3912
3913         * jump.c (jump_optimize_1): Don't increment LABEL_NUSES
3914         on deleted labels.
3915
3916 2000-05-22  Zack Weinberg  <zack@wolery.cumb.org>
3917
3918         * varasm.c (eh_frame_section): Revert change to argument list.
3919
3920 Mon May 22 13:14:03 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3921
3922         * optabs.c (can_extend_p): Allow unsignedp to have any nonzero value.
3923         (gen_extend_insn, can_fix_p, can_float_p): Likewise.
3924
3925         * final.c (final_scan_insn, case NOTE_INSN_FUNCTION_BEG): Remove
3926         dangling "else" that causes "break" to be conditional.
3927         Also remove unneeded code at start.
3928
3929 Mon May 22 17:31:35 2000  Philippe De Muyter  <phdm@macqel.be>
3930
3931         * m68k/m68k.h (STORE_FLAG_VALUE): Macro set to (-1), not -1.
3932         * fx80/fx80.h, i370/i370.h, m88k/m88k.h (STORE_FLAG_VALUE): Ditto.
3933         * gmicro/gmicro.h, we32k/we32k.h (STORE_FLAG_VALUE): Ditto.
3934
3935 2000-05-22  Jakub Jelinek  <jakub@redhat.com>
3936
3937         * config/sparc/sparc.md (movdf_insn_v9only_vis): fzero has
3938         just one argument.
3939
3940 Mon May 22 06:57:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3941
3942         * alias.c (record_component_aliases): New function.
3943         * tree.h: Clean up some declarations and comments.
3944         (record_component_aliases): New declaration.
3945         * tree.c (get_alias_set): If type and has alias set, use it.
3946
3947 2000-05-22  Richard Henderson  <rth@cygnus.com>
3948
3949         * simplify-rtx.c (simplify_ternary_operation): Try to simplify
3950         IF_THEN_ELSE to a setcc form.
3951         * jump.c (can_reverse_comparison_p): Be prepared for insn null.
3952
3953 2000-05-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3954
3955         * fixinc/inclhack.def (sun_malloc): Handle `calloc'.
3956         (sun_malloc, sysz_stdtypes_for_sun): Add test_text.
3957
3958 Sun May 21 16:42:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3959
3960         * combine.c (try_combine): Handle i3_subst_into_i2 case when I2 is
3961         not a PARALLEL.
3962
3963 2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
3964
3965         * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
3966         * config/mn10300/mn10300.c (print_operand): Likewise.
3967
3968         * final.c (split_double): Right shift of negative values is not
3969         portable.
3970
3971         * ifcvt.c (if_convert): Scan and kill dead code.
3972
3973         * emit-rtl.c (unshare_all_rtl): Store the copied rtx.
3974
3975 2000-05-20  Zack Weinberg  <zack@wolery.cumb.org>
3976
3977         * diagnostic.c: Eliminate implicit int.
3978         * except.c, gcc.c: Add static prototypes.
3979         * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED.
3980         * gensupport.c (process_rtx): Use XVEC to initialize vector
3981         slot of 'split'.
3982
3983         * print-rtl.c: If DEBUG_REGISTER_NAMES, define static
3984         debug_reg_names instead of static reg_names.  If not, define
3985         global reg_names.
3986         * regclass.c: Don't define global reg_names unless
3987         DEBUG_REGISTER_NAMES is defined.
3988
3989         * reload1.c (order_regs_for_reload): Remove unused variable.
3990         * varasm.c: Include output.h after defaults.h.  Define
3991         eh_frame_section as function of no args, not of unspecified args.
3992
3993         * gcc.c: Constify argbuf; arguments to store_arg,
3994         process_command, main; elements of struct command and struct
3995         switchstr; local variables in execute, process_command, main.
3996
3997 2000-05-20  Bruce Korb  <bkorb@gnu.org>
3998
3999         * fixinc/inclhack.def:  many applications of c_fix=format + tests
4000         * fixinc/check.diff:  regenerated
4001         * fixinc/fixincl.x:  regenerated
4002
4003 Sat May 20 09:30:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4004
4005         * alias.c: Clarify some comments.
4006         (record_base_value): REGNO is unsigned.
4007         * rtl.h (record_base_value): Likewise.
4008
4009         * alias.c (aliases_everything_p): Don't special-case QImode here.
4010         * c-common.c (c_get_alias_set): Do it here.
4011         Handle BIT_FIELD_REF by getting alias info for arg.
4012         Use POINTER_TYPE_P.
4013
4014 2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
4015
4016         * mklibgcc.in: Restore rule to create ${dir}.
4017
4018 Sat May 20 08:45:41 2000  H.J. Lu  <hjl@gnu.org>
4019
4020         * Makefile.in (libgcc.mk): Depend on xgcc$(exeext) for
4021         GCC_FOR_TARGET used by MULTILIBS.
4022         * mklibgcc.in: Make sure each .o file depends on the
4023         directory it will be in.
4024         Make the multilib directory depends libgcc.
4025
4026 Sat May 20 08:29:28 2000  H.J. Lu  <hjl@gnu.org>
4027
4028         * Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.
4029
4030 Sat May 20 07:27:35 2000  Alexandre Oliva  <aoliva@cygnus.com>
4031
4032         * fold-const.c (make_range): Handle degenerated intervals.
4033         Fixes c-torture/execute/991221-1.c
4034
4035 Fri May 19 18:16:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4036
4037         * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
4038         * reload.c (find_equiv_reg): Likewise.
4039         * alias.c (init_alias_analysis): Likewise.
4040         Only call prologue_epilogue_contains on insns.
4041         * basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
4042         * bb-reorder.c (hard-reg-set.h): Include earlier.
4043         * haifa-sched.c (hard-reg-set.h): Likewise.
4044         * ifcvt.c (hard-reg-set.h): Likewise.
4045         * local-alloc.c (hard-reg-set.h): Likewise.
4046         * loop.c (hard-reg-set.h): Likewise.
4047         * predict.c (hard-reg-set.h): Likewise.
4048         * regrename.c (hard-reg-set.h): Likewise.
4049         * flow.c (hard-reg-set.h): Likewise.
4050         (reg_set_to_hard_reg_set): New function.
4051         * bitmap.c (regs.h, basic-block.h): No longer include.
4052         (bitmap.h): Now include.
4053         * conflict.c (hard-reg-set.h): Include.
4054         * profile.c (hard-reg-set.h): Likewise.
4055         * print-rtl.c (hard-reg-set.h): Likewise.
4056         * sbitmap.c (hard-reg-set.h): Likewise.
4057         * toplev.c (hard-reg-set.h): Likewise.
4058         * unroll.c (hard-reg-set.h, basic-block.h): Likewise.
4059         * hard-reg-set.h (reg_names): Now constant.
4060         * regs.h (reg_names): Likewise.
4061         * regclass.c (reg_names): Likewise.
4062         * loop.h (basic-block.h): No longer include.
4063         (bitmap.h): Now include.
4064         * reload1.c (order_regs_for_reload): Avoid loop over reg sets.
4065         * Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
4066         (toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
4067
4068 2000-05-19  Jan Hubicka  <jh@suse.cz>
4069             Richard Henderson  <rth@cygnus.com>
4070
4071         * basic-block.h (struct edge_def): New field "count".
4072         (struct basic_block_def): Likewise.
4073         * flow.c (entry_exit_blocks): Add count fileds.
4074         (split_edge): Keep count information up-to-date.
4075         (dump_edge_info, dump_flow_info): Dump count fields.
4076
4077         * final.c (count_instrumented_edges): Rename to edge from arc.
4078         (end_final): Update users.
4079         * profile.c: Include expr.h, basic-block.h.
4080         (struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
4081         (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
4082         (ignore_next_note, return_label_execution_count): Kill.
4083         (bbg_file_name, da_file_name): Kill.
4084         (edge_info, bb_info): New structures.
4085         (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
4086         (count_instrumented_edges, total_num_edges): Rename to edge from arc.
4087         (total_num_edges_instrumented): Likewise.
4088         (init_arc, expand_spanning_tree): Kill.
4089         (fill_spanning_tree, tablejump_entry_p): Kill.
4090         (instrument_edges):  Rewrite from instrument_arcs to use
4091         commit_edge_insertions infrastructure.
4092         (compute_branch_probabilities): Remove arguments; rewrite for
4093         CFG infrastructure; use rtl_dump_file directly.
4094         (branch_prob, find_spanning_tree): Likewise.
4095         (union_groups, find_group): New.
4096         (init_branch_prob): Make bbg_file_name and da_file_name local.
4097         (end_branch_prob): Use rtl_dump_file directly.
4098         (init_edge_profiler): Rename to edge from arc.
4099         (output_arc_profiler): Kill.
4100         (gen_edge_profiler): New.
4101         (output_func_start_profiler): Turn off profiling.  Make the
4102         constructor static when we can.
4103         * rtl.h (branch_prob, end_branch_prob): Update prototypes.
4104
4105         * toplev.c (DFI_flow): Remove.
4106         (DFI_cfg, DFI_life): New.
4107         (dump_file): Update accordingly.
4108         (compile_file): Call end_branch_prob if profile_arc_flag too.
4109         (rest_of_compilation): Move flow1 cfg creation to DFI_cfg.  Do edge
4110         profiling after the CFG is built.  Move flow1 life analysis to
4111         DFI_life.  Always estimate remaining probabilities.
4112
4113 2000-05-19  Richard Henderson  <rth@cygnus.com>
4114
4115         * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
4116
4117         * flow.c (make_edges): The sibling call edge to exit is abnormal.
4118
4119 2000-05-19  Richard Henderson  <rth@cygnus.com>
4120
4121         * jump.c (redirect_jump): Add delete_unused argument.  Don't
4122         remove labels and code following when LABEL_NUSES goes to zero.
4123         (invert_jump): Likewise.
4124         (jump_optimize_1): Fix redirect/invert arguments.
4125         (do_cross_jump, thread_jumps): Likewise.
4126         * flow.c (split_edge): Likewise.
4127         * reorg.c (optimize_skip): Likewise.
4128         (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
4129         * profile.c (instrument_arcs): Likewise.
4130         * loop.c (find_and_verify_loops): Likewise.  Fix indentation.
4131         * rtl.h: Update prototypes.
4132
4133 Fri May 19 12:05:13 2000  Clinton Popetz  <cpopetz@cygnus.com>
4134
4135         * ssa.c (convert_from_ssa): Tell life_analysis we need death
4136         notes.
4137         (make_regs_equivalent_over_bad_edges): Only look at abnormal
4138         critical edges.
4139
4140 2000-05-19  Zack Weinberg  <zack@wolery.cumb.org>
4141
4142         * cpphash.c (funlike_macroexpand): Make sure not to walk p1
4143         past l1 when deleting whitespace and markers.
4144
4145         * cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
4146         * cpplib.c (do_unassert): Put the list to compare against on
4147         the stack.
4148
4149 2000-05-19  Bruce Korb  <bkorb@gnu.org>
4150
4151         * fixinc/README:  cleaned up old documentation
4152         * fixinc/check.diff: regenerated & verified on OSR5 on ix86
4153         * fixinc/check.tpl: compute the list of needed directories
4154         emit "#if defined(name)" because of conflict
4155         omit machine name differences from output differences
4156         * fixinc/inclhack.def( m88k_multi_incl ):  Use `wrap' function
4157         (machine_name): change test text to use `sed' markers
4158         * fixinc/fixincl.x: regen
4159
4160 Fri May 19 06:49:35 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4161
4162         * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
4163         a CONSTRUCTOR.
4164
4165 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
4166
4167         * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
4168         it to match the current practice.
4169
4170 2000-05-18  Mark Mitchell  <mark@codesourcery.com>
4171
4172         * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
4173
4174 2000-05-18  Richard Henderson  <rth@cygnus.com>
4175
4176         * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
4177         * rtl.h (insn_dependant_p): Declare it.
4178         * loop.c (strength_reduce): Use it.
4179
4180 2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
4181
4182         * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
4183         16-bit and 64-bit clean-up.
4184
4185 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
4186
4187         * configure.in (*-pc-msdosdjgpp): Set float_format to none.
4188         * configure: Rebuilt.
4189
4190 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
4191
4192         * genopinit.c: Use $ for escape sequences in optab patterns.
4193         Remove backslashes from optab patterns.  Change $A, $B, $C to
4194         expand to (int) whatever instead of just whatever; remove
4195         explicit (int) from all optab patterns.
4196
4197         * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
4198         * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
4199         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
4200         genrecog.c: Remove private copies of xmalloc, xrealloc, and
4201         xstrdup.
4202
4203 2000-05-18  Richard Henderson  <rth@cygnus.com>
4204
4205         * jump.c (jump_optimize_1): Base minimum insn count during
4206         find_cross_jump on BRANCH_COST.
4207
4208 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
4209
4210         * print-rtl.c (print_rtx): Only print note line number as string
4211         if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
4212         * final.c (final_scan_insn): Do nothing for note line number 0.
4213
4214 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
4215
4216         * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
4217         from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
4218         NOTE_INSN_DELETED_LABEL.
4219
4220 2000-05-18  Nick Clifton  <nickc@cygnus.com>
4221
4222         * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
4223         uninitialised data in .rodata not .bss, and do not interpret an
4224         error in the initialisation value as meaning that the variable
4225         should be placed in the .bss section.
4226
4227 Thu May 18 12:10:18 2000  Philippe De Muyter  <phdm@macqel.be>
4228
4229         * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
4230         not `$ac_cv_prog_cc_cc_c_o'.
4231         * configure: Regenerated.
4232
4233 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
4234             Richard Henderson  <rth@cygnus.com>
4235
4236         * c-common.h (enum c_tree_index): Add g77 type entries.
4237         (g77_integer_type_node, g77_uinteger_type_node): New.
4238         (g77_longint_type_node, g77_ulongint_type_node): New.
4239         * c-decl.c (init_decl_processing): Initialize them.
4240
4241 2000-05-18  Richard Henderson  <rth@cygnus.com>
4242
4243         * config/h8300/h8300.md (subs patterns): Use %G to negate.
4244
4245         * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
4246         (small_power_of_two): Likewise; use exact_log2.
4247         (adds_subs_operand, one_insn_adds_subs_operand): Remove.
4248         (output_adds_subs): Remove.
4249         (two_insn_adds_subs_operand): New.
4250         (split_adds_subs): New.
4251         * config/h8300/h8300-protos.h: Update.
4252         * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
4253         (CONST_OK_FOR_L): Match strict adds operands.
4254         (CONST_OK_FOR_N): Match struct subs operands.
4255         * config/h8300/h8300.md (adds_subs insns): Remove.
4256         (addhi patterns): Output adds/subs directly.
4257         (addsi_h8300h): Likewise.
4258         (addhi/addsi splitters): New.  Decompose two_insn_adds_subs_operand.
4259
4260 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
4261
4262         * cppexp.c (parse_assertion): New.
4263         (lex): Call it for CPP_HASH.  Remove CPP_ASSERTION case.
4264         (_cpp_parse_expr): Remove case '#'.  Don't set
4265         parsing_if_directive.
4266         * cpphash.c (collect_objlike_expansion,
4267         collect_funlike_expansion, collect_params,
4268         _cpp_create_definition): The list no longer has a trailing
4269         VSPACE token.
4270         * cpphash.h (enum node_type): Add T_ASSERTION.
4271         (struct hashnode): Remove aschain, add pred.
4272         (struct predicate): New.
4273         Update prototypes.
4274
4275         * cpplex.c (expand_token_space): Handle both offset and
4276         nonoffset lists.
4277         (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
4278         (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
4279         _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
4280         _cpp_equiv_toklists): New.
4281         (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
4282         stop at any single-character token, not just newline.
4283         (_cpp_lex_token): Remove special cases for #define and #if.
4284         (cpp_get_token): Expect # as a separate token type.  Remove
4285         DIRECTIVE case.
4286         (_cpp_get_directive_token): Remove DIRECTIVE case.
4287         (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
4288
4289         * cpplib.c (_cpp_check_directive): Set dirno and
4290         SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
4291         (_cpp_handle_directive): Run # <number> through the same logic
4292         as normal directives.
4293         (do_define): Don't set parsing_define_directive.  Use
4294         _cpp_scan_until.  The list does not have a VSPACE at the end.
4295         (do_if): Save, clear, and restore only_seen_white around
4296         _cpp_parse_expr.
4297         (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
4298         (do_assert, do_unassert): Rewrite.
4299
4300         * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
4301         (LIST_OFFSET): New flag.
4302         (struct cpp_toklist): Replace dir_handler and dir_flags with
4303         dirno and flags.
4304         (struct cpp_reader): Remove parsing_if_directive and
4305         parsing_define_directive.
4306
4307 2000-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4308
4309         * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
4310         following the cabs decl which terminate on the following line.
4311         Add the corresponding test_text case.
4312
4313 2000-05-18  Neil Booth  <NeilB@earthling.net>
4314
4315         * cppinit.c (cpp_reader_init): Initialise col_adjust and
4316         default tab stop size.
4317         (no_num, OPT_ftabstop): New.
4318         (handle_option): Handle "ftabstop=" command-line option.
4319         (print_help): Document it.
4320         * cpplex.c (COLUMN): Remove.
4321         (handle_newline): Reset col_adjust.
4322         (skip_whitespace): Update col_adjust as tabs encountered.
4323         (_cpp_lex_line): Update to use col_adjust.  Call
4324         skip_whitespace for all whitespace.
4325         * cpplib.h (struct cpp_options): New member tabstop.
4326         (struct cpp_reader): New member col_adjust.
4327         (CPP_BUF_COL): Update.
4328         (CPP_BUF_COLUMN): New.
4329         * cpp.texi: Document "-ftabstop=" command line option.
4330
4331 Wed May 17 18:19:41 2000  Philippe De Muyter  <phdm@macqel.be>
4332
4333         * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
4334         files.
4335         * configure: Rebuilt.
4336
4337 Wed May 17 18:06:12 2000  John David Anglin <dave@hiauly1.hia.nrc.ca>
4338
4339         * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
4340
4341         * tree.c (build_common_tree_nodes): Do not build TI nodes unless
4342         HOST_BITS_PER_WIDE_INT is >= 64.
4343
4344 2000-05-17  Richard Henderson  <rth@cygnus.com>
4345
4346         * jump.c (jump_optimize_1): Remove inactive but real insns
4347         in jump-to-next-insn optimization.
4348
4349 2000-05-17  Richard Henderson  <rth@cygnus.com>
4350
4351         * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
4352         unless OPTIMIZE_MODE_SWITCHING.  Conditionally set no_new_pseudos.
4353         Don't call recompute_reg_usage if no_new_pseudos is true.
4354         * lcm.c (optimize_mode_switching): Move ifdefs outside function.
4355         Return true if we did work; update global life information.
4356         * basic-block.h (optimize_mode_switching): Update decl.
4357
4358 2000-05-17  Neil Booth  <neilb@earthling.net>
4359
4360         * cpplex.c (expand_name_space): Don't use ptrdiff_t.
4361
4362 2000-05-17  Zack Weinberg  <zack@wolery.cumb.org>
4363
4364         * cpplib.c: New feature, #pragma system_header.
4365         * cpp.texi: Document special treatment of system headers, and
4366         the various mechanisms to get a header that special treatment.
4367
4368 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4369
4370         * system.h (offsetof): Define at the very end, to ensure we prefer
4371         the platform's definition if available.
4372
4373 2000-05-16  Bruce Korb  <bkorb@gnu.org>
4374
4375         * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
4376         * fixinc/server.c: likewise
4377         * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
4378         + #ifdef debugging code + use #def constant for
4379         sub-pattern count
4380         * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
4381         on C++ math namespace
4382
4383 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4384
4385         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
4386         Don't check the return value of sprintf.  Use asprintf to avoid
4387         buffer overflows.
4388
4389 Wed May 17 17:27:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
4390
4391         * flags.h (warn_unused_function, warn_unused_label,
4392         warn_unused_parameter, warn_unused_variable, warn_unused_value):
4393         Replace ``warn_unused''.
4394         (set_Wunused): Add declaration.
4395         * toplev.c (set_Wunused): New function.
4396         (warn_unused_function, warn_unused_label, warn_unused_parameter,
4397         warn_unused_variable, warn_unused_value): New variables.
4398         (W_options): Add -Wunused-function, -Wunused-function,
4399         -Wunused-label, -Wunused-parameter, -Wunused-variable and
4400         -Wunused-value.  Delete -Wunused.  Handled in decode_W_option.
4401
4402         * toplev.c (decode_W_option): Update -Wunused flags by calling
4403         set_Wunused.
4404         * c-decl.c (c_decode_option): Ditto for -Wall.
4405
4406         * stmt.c (expand_expr_stmt, expand_expr_stmt,
4407         warn_about_unused_variables): Replace warn_unused with more
4408         explicit warn_unused_value et.al.
4409         * function.c (expand_function_end): Ditto.
4410         * c-typeck.c (internal_build_compound_expr,
4411         internal_build_compound_expr): Ditto.
4412         * c-decl.c (poplevel, pop_label_level): Ditto.
4413         * toplev.c (check_global_declarations): Replace warn_unused with
4414         check for either warn_unused_function or warn_unused_variable.
4415
4416         * gcc.1, invoke.texi (Warning Options): Document
4417         -Wunused-function, -Wunused-function, -Wunused-label,
4418         -Wunused-parameter, -Wunused-variable and -Wunused-value options.
4419
4420 Wed May 17 10:28:12 2000  Philippe De Muyter  <phdm@macqel.be>
4421
4422         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
4423         $(srcdir), not in the current directory.
4424
4425 2000-05-16  Richard Henderson  <rth@cygnus.com>
4426
4427         * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
4428         assembler supports it.
4429         (.fini, .init): Use a gp-relative indirect call.
4430         (__do_global_dtors_aux): Preserve the gp; rebundle.
4431         (__do_frame_setup): Likewise.
4432         * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
4433         (.init): Use a gp-relative indirect call.
4434         (__do_global_ctors_aux): Preserve the gp.
4435
4436 2000-05-16  Richard Henderson  <rth@cygnus.com>
4437
4438         * flow.c (commit_one_edge_insertion): Be prepared for a return
4439         insn to be inserted on the edge with a normal jump.
4440         * jump.c (jump_optimize_1): Don't look to create return isns.
4441
4442         * flow.c (flow_delete_insn): Don't adjust reference count of notes.
4443         * jump.c (jump_optimize_1): Likewise.
4444         (returnjump_p): Verify the argument is a JUMP_INSN.
4445         * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
4446
4447 2000-05-16  Nick Clifton  <nickc@cygnus.com>
4448
4449         * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
4450         GET_RTX_CLASS (GET_CODE ()) == 'i'.
4451         (large_insn_p): Ditto.
4452         (m32r_is_insn): New function: Return true if the insn contains
4453         an executable instruction.
4454         (m32r_adjust_insn): Use m32r_is_insn.
4455         (m32r_sched_reorder): Use m32r_is_insn.
4456         (m32r_sched_variable_issue): Use m32r_is_insn.
4457
4458 2000-05-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4459
4460         * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
4461         VAR_DECL.
4462
4463         * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
4464
4465         * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
4466         according to given options.
4467
4468 Tue May 16 12:17:31 2000  Jeffrey A Law  (law@cygnus.com)
4469
4470         * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
4471         if X has VOIDmode either.
4472         (LIMIT_RELOAD_CLASS): Similarly.
4473
4474         * mn10200.md (indirect_jump, tablejump): Use "register_operand",
4475         not "general_operand" to match the processor's capabilities.
4476
4477 2000-05-16  Bruce Korb  <bkorb@gnu.org>
4478
4479         * fixinc/README:  corrected return address
4480         * fixinc/check.diff:  regenerate, now that test works
4481         * fixinc/fixfixes.c(format_fix,format_write): reformatted
4482         (char_macro_def_fix,char_macro_use_fix): corrected and
4483         rewrote to use regex to parse the text
4484         * fixinc/inclhack.def: more testing
4485         * fixinc/fixincl.x:  regenerated
4486
4487         * fixinc/inclhack.def: added several "test_text" attributes
4488         changed several fixes to use `c_fix = format'
4489         re-alphabetized the fixes
4490
4491         * fixinc/check.diff: regenerate
4492         * fixinc/fixincl.x: regenerate
4493         * fixinc/check.tpl: added `sparc' and `netinet' to the list
4494         of created dirs
4495
4496
4497 2000-05-16  Alexandre Oliva  <aoliva@cygnus.com>
4498
4499         * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
4500
4501 2000-05-15  Richard Henderson  <rth@cygnus.com>
4502
4503         * toplev.c (rest_of_compilation): Run full jump pass before
4504         find_basic_blocks of flow2.
4505
4506 2000-05-15  Richard Henderson  <rth@cygnus.com>
4507
4508         * jump.c: Fix typos and clarify commentary from last change.
4509         (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
4510         (safe_to_remove_jump_p): Remove.
4511         (condjump_label): Use pc_set.
4512
4513 2000-05-15  Richard Henderson  <rth@cygnus.com>
4514
4515         * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
4516         that get in the way after reload.
4517         (cond_exec_process_if_block): Skip a label heading THEN block.
4518
4519 2000-05-15  Richard Henderson  <rth@cygnus.com>
4520
4521         * varasm.c (output_constant_pool): Abort instead of converting
4522         (improperly) deleted labels to zero.
4523
4524 2000-05-16  Neil Booth  <NeilB@earthling.net>
4525
4526         * cpplex.c (parse_string2): Update comment.
4527         (cpp_lex_line): No special assertion treatment for '('.
4528         * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
4529         * cpplib.h (SYNTAX_ASSERT): Remove.
4530
4531 Mon May 15 21:45:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4532
4533         * jump.c (condjump_p):  Mark as depreached.
4534         (any_condump_p): New.
4535         (any_uncondump_p): New.
4536         (pc_set): New.
4537         (safe_to_remove_jump_p): New.
4538         * rtl.h (any_condump_p, any_uncondjump_p, pc_set
4539         safe_to_remove_jump_p): Declare.
4540
4541 Mon May 15 21:07:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4542
4543         * calls.c: Re-install both patches reverted by last patch.
4544         (struct arg_data): New field tail_call_reg.
4545         (initialize_argument_information): Initialize tail_call_reg
4546         (load_register_parameters): New argument flags, use
4547         tail_call_reg when emiting tail call sequence.
4548         (expand_call): Update call of load_register_parameters;
4549         copy unadjusted_args_size to adjusted_args_size.
4550
4551 Mon May 15 19:01:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4552
4553         * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
4554         and bct_p parameters to flags.
4555         * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
4556         * rtl.h (loop_optimize): Update prototype.
4557         * toplev.c (rest_of_compilation): Update call of loop_optimize.
4558
4559 2000-05-15  Jakub Jelinek  <jakub@redhat.com>
4560
4561         * calls.c (expand_call): Move expand_start_target_temps call after
4562         start_sequence().
4563
4564 2000-05-15  Neil Booth  <NeilB@earthling.net>
4565
4566         * cpphash.c (trad_stringify, warn_trad_stringify,
4567         collect_params): Make some pointers pointers to const.
4568         * cpplex.c (auto_expand_name_space) Guaranteed to always
4569         expand by at least one character.
4570         (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
4571         (struct token_spelling): Use const U_CHAR * rather than PTR.
4572         (expand_name_space): Fix up token pointers if name space
4573         is moved when expanding.
4574         (INIT_NAME, cpp_scan_line, parse_name, parse_number,
4575         parse_string2, save_comment, spell_token, cpp_output_list):
4576         Update so the routines handle tokens with a direct pointer to
4577         their text, rather than an offset into the token's list's namebuf.
4578         (_cpp_lex_line): Rearrange for clarity.
4579
4580         * cpplib.c (_cpp_check_directive): Similarly.
4581         (do_define): Make SYM a pointer to const.
4582         * cpplib.h (struct cpp_name): Replace offset with direct pointer.
4583         (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
4584         (TOK_OFFSET): Delete.
4585         (TOK_NAME): Update.
4586
4587 2000-05-14  Geoffrey Keating  <geoffk@cygnus.com>
4588
4589         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
4590         64-bit ABI.
4591
4592         * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
4593         into account.
4594         (logical_u_operand): Delete.
4595         (non_logical_cint_operand): Rewrite to take MODE into account.
4596         (non_logical_u_cint_operand): Delete.
4597         (boolean_operator): New function.
4598         (print_operand): Add new %q operand.
4599         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
4600         remove logical_u_operand and non_logical_u_cint_operand,
4601         update logical_operand and non_logical_cint_operand.
4602         * config/rs6000/rs6000.md: Rewrite the patterns for performing
4603         logical operations to use %q.
4604
4605         * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
4606         (movdi): Make similar to movsi.
4607         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
4608         is no such thing as a DImode CONST_DOUBLE.
4609         * config/rs6000/rs6000.c (output_toc): Likewise.
4610
4611         * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
4612         codes when old mnemonics are in use.  Print register names
4613         for cc registers when requested.
4614
4615         * optabs.c (expand_float): Don't allow mode widening that causes
4616         double rounding.
4617
4618         * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
4619         flags to their current names -maix64 and -maix32.
4620
4621 2000-05-14  Bruce Korb  <bkorb@gnu.org>
4622
4623         * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
4624         and/or after current text of file
4625         * fixinc/fixlib.c(must_malloc):
4626         * fixinc/fixlib.h(must_malloc): + reformatting
4627         * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
4628         with usages of ``c_fix = wrap;''
4629         Add several tests and use the ``c_fix = format'' fixer more.
4630         * fixinc/fixincl.x: regen
4631         * fixinc/check.diff: regen
4632         * fixinc/check.tpl: emit the associated header with the missing
4633         test message
4634
4635 Sun May 14 17:58:59 2000  Hans-Peter Nilsson  <hp@axis.com>
4636
4637         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
4638         variables $src and $dst.
4639
4640 2000-05-13  Gabriel Dos Reis <gdr@codesourcery.com>
4641
4642         * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
4643         (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
4644         (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
4645         (struct output_buffer: emitted_prefix_p, prefixing_rule): New
4646         fields.
4647         (set_message_prefixing_rule): Declare.
4648
4649         * diagnostic.c: (current_prefixing_rule): New variable.
4650         (set_message_prefixing_rule): Define.
4651         (output_set_prefix): Adjust buffer->emitted_prefix_p.
4652         (init_output_buffer): Adjust Initialization.
4653         (output_emit_prefix): Rewrite.  Take prefixing rules into account.
4654
4655 Sat May 13 11:05:47 2000  Philippe De Muyter  <phdm@macqel.be>
4656
4657         * ifcvt.c (if_convert): Do not free NULL.
4658
4659 2000-05-12  Nick Clifton  <nickc@cygnus.com>
4660
4661         * config/fr30/fr30.c (fr30_move_double): New function:  Emit code
4662         to move a double word value.
4663         (di_operand): New function: Return true if the operand is suitbale
4664         for a double word move operation.
4665         (nonimmediate_di_operand): New function: Return true if the
4666         operand is a DImode register or MEM.
4667
4668         * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
4669         nonimmediate_di_operand.
4670
4671         * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
4672         nonimmediate_di_operand.
4673
4674         * config/fr30/fr30.md (movdi): New pattern.  Required because
4675         other patterns generate DImode results.
4676         (movdi_insn): New pattern.
4677
4678 2000-05-12  Richard Henderson  <rth@cygnus.com>
4679
4680         * config/alpha/alpha.c (struct shadow_summary): Define
4681         bitfields as type unsigned int.
4682
4683 Sat May 13 00:09:59 2000  Denis Chertykov  <denisc@overta.ru>
4684
4685         * config/avr/t-avr: Added definition of FLOAT while generates
4686         fp-bit.c
4687
4688         * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
4689         peepholes for tst+jump = sbrs/sbrc optimization.
4690
4691 Fry May 12 20:03:00 CEST 2000  Jan Hubicka  <jh@suse.cz>
4692
4693         * expr.c (emit_push_insn): Do not adjust stack pointer when
4694         preallocating.
4695
4696 Fri May 12 19:03:58 2000  Philippe De Muyter  <phdm@macqel.be>
4697
4698         * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
4699         * system.h (offsetof): ... to here.
4700
4701 2000-05-12  Richard Henderson  <rth@cygnus.com>
4702
4703         * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
4704         * final.c (final_end_function): Use app_disable.  Rearrange note
4705         handling into a switch.  Emit deleted labels.
4706         (output_asm_label): Generate label strings for deleted labels.
4707         * flow.c (tail_recursion_label_list): New.
4708         (find_basic_blocks_1): Set label_value_list directly.  Collect list
4709         of tail recursion labels from call_placeholders.  Don't add deleted
4710         labels to the label value list.
4711         (cleanup_cfg): Use free_EXPR_LIST_list.
4712         (flow_delete_insn_chain): Turn non-removable labels into notes.
4713         (flow_delete_block): Don't disable deleting the block because of
4714         a non-removable label.
4715         (tail_recursion_label_p): New.
4716         (merge_blocks_move_predecessor_nojumps): Don't disable the merge
4717         because of a label.
4718         (merge_blocks_move_successor_nojumps): Likewise.  Also move a
4719         jump table.
4720         (merge_blocks): Disable a merge because of tail recursion labels.
4721         * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
4722         Use a more accurate measure of not merging the join block.
4723         (find_if_block): Don't disable conversion because of a label.
4724         (find_if_case_1, find_if_case_2): Likewise.
4725         * jump.c (duplicate_loop_exit_test): Preserve the kind of list
4726         element when copying.
4727         (squeeze_notes): Also leave EH notes.
4728         (mark_jump_label): Ignore deleted labels.  Use an INSN_LIST for
4729         REG_LABEL notes.
4730         (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
4731         deleting a label.
4732         * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
4733         NOTE_INSN_DELETED_LABEL.  Print `[# deleted]' for a label_ref
4734         referring to a deleted label.  Convert tail handling to a switch.
4735         * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
4736         for NOTE_INSN_DELETED_LABEL.
4737         (NOTE): Fix commentary.
4738         * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
4739         (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
4740         (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
4741         (LABEL_NUSES, LABEL_REFS): Likewise.
4742         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
4743
4744 2000-05-12  Bruce Korb  <bkorb@gnu.org>
4745
4746         * fixinc/fixfixes.c(format_write): buglet & relaxed rules
4747         * fixinc/check.diff: updated
4748         * fixinc/inclhack.def: corrected & added some test_text-s
4749         * fixinc/genfixes: removed unneeded options to autogen invocation
4750         * fixinc/fixincl.tpl: Specified the output file
4751         * fixinc/fixfixes.c: visual appearance
4752         * fixinc/fixincl.x: regenerate
4753
4754 2000-05-12  Zack Weinberg <zack@wolery.cumb.org>
4755
4756         * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
4757         CTRL_defn_fix): Delete.
4758         (fix_char_macro_defines, fix_char_macro_uses): Rename to
4759         char_macro_def_fix and char_macro_use_fix, respectively.  Put
4760         them into the FIXUP_TABLE.  Get the string to search for from
4761         a c_fix_arg.
4762
4763         (format_write): New function.
4764         (format_fix): Use it.
4765
4766         (FIX_PROC_HEAD): Constify text parameter.
4767         (machine_name_fix): Constify all char *s.
4768         * fixtests.c (skip_quote): Remove double static.
4769
4770         * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
4771         ctrl_use_quotes): Update for new scheme.
4772         * fixincl.x: Regenerate.
4773
4774 2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
4775
4776         * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
4777         DWARF2_DEBUG.
4778         (DWARF2_ASM_LINE_DEBUG_INFO): Define.
4779         (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
4780
4781 2000-05-11  Robert Lipe <robertlipe@usa.net>
4782
4783         * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
4784         * fixincl.x: Regenerate.
4785
4786 2000-05-11  Richard Henderson  <rth@cygnus.com>
4787
4788         * calls.c: Revert both 05-09 patches.
4789
4790 2000-05-11  Alexandre Oliva  <aoliva@cygnus.com>
4791
4792         * config/mn10300/mn10300.c (print_operand): Print FP constants in
4793         hexadecimal.
4794         * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
4795         for FP values.
4796
4797         * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
4798         and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
4799
4800 2000-05-11  Jason Merrill  <jason@casey.cygnus.com>
4801
4802         * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
4803
4804 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
4805
4806         * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
4807
4808 Thu May 11 22:28:05 2000  Denis Chertykov  <denisc@overta.ru>
4809
4810         * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
4811         * config/avr/avr.c (jump_over_one_insn_p): New function.
4812         * config/avr/avr.md: New peepholes added. Output test and
4813         conditional jump to "sbrc" or "sbrs" command.
4814
4815 2000-05-11  Mark Elbrecht  <snowball3@bigfoot.com>
4816
4817         * cppmain.c (main): Use IS_DIR_SEPARATOR.
4818
4819 2000-05-11  Jakub Jelinek  <jakub@redhat.com>
4820
4821         * except.c (find_exception_handler_labels_1): New function.
4822         (find_exception_handler_labels): Split into two functions, dive
4823         into CALL_PLACEHOLDERs when looking for exception handler labels.
4824
4825 2000-05-11 Stan Cox <scox@cygnus.com>
4826
4827         * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
4828         * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
4829         * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
4830
4831 2000-05-11  Bruce Korb  <bkorb@gnu.org>
4832
4833         * fixinc/fixfixes.c (double_slash_fix):  obsolete
4834         (else_endif_label_fix): obsolete
4835         (format_fix):  new, unused as yet
4836         (main): obsolete
4837         * fixinc/fixlib.h: added fix description struct for use by format_fix
4838         * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
4839         * fixinc/Makefile.in:  compile fixfixes.c and fixtests.c as separate
4840         modules.  Removed the vestiges of the script version.
4841         Added support for "make check".
4842         * fixinc/check.diff: base diff file (needs work!!)
4843         * fixinc/check.tpl: quiet the fixup output
4844         * fixinc/fixtests.c (main): obsolete
4845         * fixinc/fixincl.sh:  don't bother copying fixincl to ..
4846         * fixinc/fixincl.tpl:  provide for arguments to c_fix routines
4847
4848 Thu May 11 11:57:02 MET DST 2000  Jan Hubicka <jh@suse.cz>
4849
4850         * toplev.c (rest_of_compilation): Remove dead code after
4851         combine.
4852
4853 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
4854
4855         * cpphash.c (collect_funlike_expansion): Make "# is not
4856         followed by a macro argument name" a pedwarn, not an error.
4857         Preserve the # in the output.  Suppress the warning if lang_asm.
4858
4859 Thu May 11 01:19:31 2000  Jeffrey A Law  (law@cygnus.com)
4860
4861         * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
4862         * configure: Rebuilt.
4863
4864 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
4865
4866         * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
4867
4868 2000-05-10  Kazu Hirata  <kazu@hxi.com>
4869
4870         * combine.c (try_combine): Fix a typo.
4871
4872 Wed May 10 21:31:44 2000  Jim Wilson  <wilson@cygnus.com>
4873
4874         * config/ia64/ia64.md (insv): Add comment.
4875
4876 2000-05-10  Richard Henderson  <rth@cygnus.com>
4877
4878         * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
4879         * mklibgcc.in: Rewrite to not use functions.  Don't shortcut
4880         dependancies on FPBIT and DPBIT.
4881
4882 2000-05-10  Nick Clifton  <nickc@redhat.com>
4883
4884         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
4885         when optimising for size.
4886         (mark_used_regs:) Ditto.
4887         (try_pre_increment_1): Ditto.
4888
4889 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
4890
4891         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
4892         Make error message friendlier.
4893
4894         * cpphash.h (struct hashnode): Use struct hack for name
4895         member.
4896         * cpphash.c (struct hashdummy): New.
4897         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
4898         (make_HASHNODE): No need to set ->name pointer.  Correct
4899         setting of p.
4900         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
4901
4902 2000-05-10  Richard Henderson  <rth@cygnus.com>
4903
4904         * flow.c (find_basic_blocks_1): Remove any spare bb_note
4905         after completion.
4906
4907 2000-05-10  Bruce Korb  <bkorb@gnu.org>
4908
4909         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
4910
4911 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
4912
4913         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
4914         after we enter .debug.
4915
4916 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
4917
4918         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
4919         abstract instance of a nested inline function.
4920
4921         * stor-layout.c (finish_record_layout): finalize_type_size
4922         before laying out the pending_statics.
4923
4924 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
4925
4926         * cpplex.c (spell_token): New function.
4927         (spell_string, spell_comment, spell_name): fold into
4928         spell_token.
4929         (I, S): Add macros.
4930         (E, H): Remove macros.
4931         (save_comment): Save comment opening characters too.
4932         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
4933         handling.
4934         * cpplib.h (I, S): Add macros.
4935         (E, H): Remove macros.
4936         (TTYPE_TABLE): Update entries for new speller.
4937         (SYNTAX_ASSERT): Remove.
4938
4939 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
4940
4941         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
4942         when removing escaped newlines.  Reverse sense of test for
4943         escaped newline.
4944
4945 2000-05-09  Richard Henderson  <rth@cygnus.com>
4946
4947         * flow.c (find_basic_blocks_1): Do not delete the first
4948         bb_note we run across.
4949         (create_basic_block): Use reorder_insns to move an existing
4950         bb_note to the correct place.
4951
4952 2000-05-09  Richard Henderson  <rth@cygnus.com>
4953
4954         * calls.c (expand_call): Increment currently_expanding_call
4955         before calling optimize_tail_recursion.
4956
4957 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4958
4959         * reload1.c (reload_combine): Fix errors in last change.
4960
4961 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
4962
4963         * gcc.c (used_arg): Skip over a semicolon at the end of the
4964         split-up loop; don't break out of it.
4965
4966         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
4967         (tree.o): Depend on output.h.
4968
4969         * c-decl.c (pending_invalid_xref_file,
4970         current_function_prototype_file): Constify.
4971         (pushdecl): Constify a local char *.
4972         (define_label): Constify filename parameter.
4973         * c-lex.c (init_parse): Constify parameter and return value.
4974         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
4975         * c-tree.h: Update prototypes.
4976         * c-parse.in: Constify filename member of %union, and if_stmt_file.
4977         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
4978         objc/objc-parse.c: Regenerate.
4979
4980         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
4981         * dwarfout.h: Update prototypes.
4982         * expr.c (expand_expr): Constify a local char *.
4983         * flags.h: Constify main_input_filename.
4984         * function.c (expand_function_end): Constify filename parameter.
4985         * genrecog.c (make_insn_sequence): Use a character array for
4986         c_test_pos.
4987         (main): Remove unused variables.
4988         * input.h: Constify input_filename, main_input_filename, and
4989         file_stack.name.  Update prototypes.
4990         * output.h: Declare first_global_object_name and
4991         weak_global_object_name here, as const char *.
4992         * stmt.c (expand_asm_operands): Constify filename parameter.
4993         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
4994         Constify filename parameter.
4995         (input_filename, main_input_filename): Constify.
4996         * toplev.h: Update prototypes.
4997         * tree.c: Include output.h.  Don't declare
4998         first_global_object_name or weak_global_object_name.  Clean up string
4999         bashing in get_file_function_name_long.
5000         * tree.h (struct tree_decl): Constify filename member.
5001         (input_filename): Constify.
5002         Update prototypes.
5003         * varasm.c (first_global_object_name, weak_global_object_name):
5004         Constify.
5005         (assemble_start_function, assemble_variable): Clean up string bashing.
5006
5007         * gcc.c: Constify all spec-related strings initialized,
5008         transitively, from string constants.  Constify all strings
5009         and string variables related to multilibs.
5010         (set_spec, read_specs): Cast argument to free to PTR.
5011         (used_arg): Do not modify multilib_matches.  Use strncmp plus
5012         length comparison to compare multilib switches.
5013         * genmultilib: Constify everything declared in multilib.h.
5014
5015 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
5016
5017         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
5018         as deleted.
5019
5020 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
5021
5022         * config/avr/avr-protos.h (extra_constraint): change a type of
5023         second argument from char to int to avoid warnings.
5024         (asm_output_byte): Likewise.
5025
5026         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
5027         (initial_elimination_offset): Handle elimination from
5028         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
5029         (legitimate_address_p): Use MAX_LD_OFFSET.
5030         (legitimize_address): Likewise.
5031         (out_movqi_r_mr): Likewise.
5032         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
5033         (out_movsi_r_mr): Use MAX_LD_OFFSET.
5034         (out_movsi_mr_r): Likewise.
5035         (out_movqi_mr_r): Likewise.
5036         (out_movhi_mr_r): Likewise.
5037         (notice_update_cc): Correct CC for the ashrqi3 with the shift
5038         count as CONST_INT != 6.
5039         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
5040         shift count is a CONSTANT_P, but not a CONST_INT.
5041         (ashlhi3_out): Coding style modifications.
5042         (ashlsi3_out): Likewise.
5043         (ashrhi3_out): Likewise.
5044         (ashrsi3_out): Likewise.
5045         (lshrhi3_out): Likewise.
5046         (lshrsi3_out): Likewise.
5047         (ashrqi3_out): Generate shift for any known constant count without
5048         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
5049         but not a CONST_INT.
5050         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
5051         shift count is a CONSTANT_P, but not a CONST_INT.
5052         (extra_constraint): change a type of
5053         second argument from char to int to avoid warnings.
5054         (asm_output_byte): Likewise.
5055         (asm_file_end): Output size generated commands count as a hex
5056         number too.
5057
5058         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
5059
5060         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
5061         removed.
5062         (ashlqi3): Values of "length" attribute changed. Shift count
5063         uses constraints 'n' instead of 'i'.
5064         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
5065         shifts without clobber register.
5066         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
5067         (call_insn): Correct test for which_alternative == 1 (was 0).
5068         (call_value_insn): Likewise.
5069
5070         * config/avr/t-avr: Remove definition of FLOAT while generates
5071         fp-bit.c
5072
5073 2000-05-09  Bruce Korb  <bkorb@gnu.org>
5074
5075         * fixinc/check.tpl:  Template for checking fixes
5076         * fixinc/inclhack.def:  Added 'test_text' for many fixes
5077         disable hpux8_bogus_inlines on SCO
5078         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
5079
5080 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5081
5082         * calls.c (expand_call): Reorganize somewhat in order
5083         to avoid unnecesary recalculation inside loop and make
5084         tail call failure code cleaner.
5085
5086 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5087
5088         * alias.c (nonlocal_reference_p): Minor reformatting.
5089         * reload.c (find_equiv_reg): Simplify logic for
5090         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
5091         some some reformatting.
5092         * reload1.c (reload_combine): Don't assume everything in
5093         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
5094
5095 2000-05-08  Richard Henderson  <rth@cygnus.com>
5096
5097         * final.c (current_insn_predicate): New.
5098         (final_scan_insn): Set it.
5099         * output.h (current_insn_predicate): Declare.
5100
5101         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
5102         Attach it to call insns.
5103         (cond_exec_process_if_block): Track probability for true and
5104         false branches.
5105         (dead_or_predicable): Likewise.
5106
5107         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
5108         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
5109         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
5110         (estimate_probability, expected_value_to_br_prob): Use them.
5111
5112         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
5113         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
5114         (ia64_expand_prediction): New.
5115         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
5116         as needed after calls.
5117         (ia64_epilogue_uses): Mark b0 used.
5118         * config/ia64/ia64.md (beq_true, beq_false): Remove.
5119         (bne_true, bne_false): Remove.
5120         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
5121         (br_true, br_false): New.  Use predicate_operator and
5122         ia64_expand_prediction.
5123         (return_true, return_false): Likewise.
5124         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
5125         (call_internal1, call_value_internal): Likewise.
5126         (call_value_internal1, call_multiple_values_internal1): Likewise.
5127
5128         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
5129
5130         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
5131
5132 2000-05-08  Richard Henderson  <rth@cygnus.com>
5133
5134         * rtlanal.c (may_trap_p): Consider old-style and volatile
5135         asms to trap.
5136
5137 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
5138
5139         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
5140
5141 2000-05-08  Richard Henderson  <rth@cygnus.com>
5142
5143         * config/ia64/ia64.h (predicate_operator): Declare.
5144
5145         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
5146         of existance.
5147
5148         * gensupport.c (process_rtx): Copy and post-process each member
5149         of the define_insn rtvec individually.
5150
5151 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
5152
5153         * cpplex.c (spell_token): New function.
5154         (TOKEN_LEN): Add 1 for whitespace.
5155         (_cpp_lex_file): Update to use spell_token.
5156         * cpplib.h (E): Remove.
5157         (TTYPE_TABLE): Update CPP_VSPACE entry.
5158
5159 2000-05-08  Richard Henderson  <rth@cygnus.com>
5160
5161         * flow.c (init_propagate_block_info): Watch out for conditional
5162         branch to next instruction, and thus one outgoing edge.
5163
5164         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
5165         for global register variables; don't special case __[CD]TOR_LIST__;
5166         mind ggc_p for string allocation.
5167
5168 2000-05-08  Nick Clifton  <nickc@cygnus.com>
5169
5170         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
5171
5172 2000-05-08  Bruce Korb  <bkorb@gnu.org>
5173
5174         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
5175         i?86-*-msdosdjgpp* no longer uses fixincludes
5176         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
5177         * fixinc/inclhack.sh:  deleted
5178         * fixinc/hackshell.tpl:  deleted
5179         * fixinc/inclhack.tpl:  deleted
5180         * fixinc/Makefile.in:  Remove dependencies on above
5181         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
5182
5183 2000-05-08  Andreas Jaeger  <aj@suse.de>
5184
5185         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
5186         support.
5187
5188 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
5189
5190         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
5191         substitutions.
5192
5193 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
5194
5195         * cpplex.c: Move new lexer definitions and prototypes
5196         to top.  Conditional include these and the code if
5197         NEW_LEXER is defined.  Rename functions whose names
5198         clash if this code included.
5199
5200 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
5201
5202         * rtl.def (COND_EXEC): Clarify.
5203
5204         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
5205         same fashion as zero_extendsidi2.
5206
5207 2000-05-06  Richard Henderson  <rth@cygnus.com>
5208
5209         * config/ia64/ia64.c (predicate_operator): New.
5210         (ia64_print_operand): Handle 'J'.
5211         (rtx_needs_barrier): Handle COND_EXEC.
5212         * config/ia64/ia64.h (BRANCH_COST): Define.
5213         (PREDICATE_CODES): Update.
5214         * config/ia64/ia64.md: Docuement used unspec values.
5215         (attr predicable): New.
5216         (movxf, movxf_internal): New.
5217         (extendsfdf2): Don't comment out nop.
5218         (floatdidf2): Remove.
5219         (truncxfsf2, truncxfdf2, floatdixf2): New.
5220         (abssi2, absdi2): Put the neg in the "true" slot.
5221         (conditional branch instructions): Mark not predicable.
5222         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
5223         (abs*_internal): Likewise.
5224         (alloc, set_bsp): Mark not predicable.
5225         (barrier, insn_group_barrier, flush_cache): Likewise.
5226         (define_cond_exec): New.
5227
5228 2000-05-06  Richard Henderson  <rth@cygnus.com>
5229
5230         * c-decl.c: Include "tm_p.h".
5231
5232         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
5233         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
5234         (ia64_expand_op_and_fetch): Declare.
5235         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
5236         (setjmp_operand): Constify variables for XSTR.
5237         (ia64_encode_section_info): Likewise.
5238         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
5239         values to int.
5240         (ia64_asm_output_external): Constify name.
5241         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
5242         (process_for_unwind_directive): Provide switch default.
5243         (ia64_expand_compare_and_swap): Remove unused variables.
5244         (ia64_expand_builtin): Likewise.
5245         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
5246         for printing.
5247
5248         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
5249         (symbolic_operand, function_operand, setjmp_operand): Likewise.
5250         (shift_count_operand, shift_32bit_count_operand): Likewise.
5251         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
5252         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
5253         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
5254         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
5255         (ia64_expand_builtin): Likewise.
5256         (call_multiple_values_operation): Make dest_regno unsigned.
5257
5258 2000-05-06  Richard Henderson  <rth@cygnus.com>
5259
5260         * rtl.def (DEFINE_COND_EXEC): New.
5261         * md.texi: Document it.
5262
5263         * gensupport.c (input_file): Remove.
5264         (struct queue_elem): Add lineno.
5265         (rtx_ready_queue): Remove.
5266         (errors): New.
5267         (predicable_default): New.
5268         (predicable_true, predicable_false): New.
5269         (define_attr_queue, define_attr_tail): New.
5270         (define_insn_queue, define_insn_tail): New.
5271         (define_cond_exec_queue, define_cond_exec_tail): New.
5272         (other_queue, other_tail): New.
5273         (queue_pattern): New.
5274         (process_rtx): Add patterns to the appropriate queues.
5275         (is_predicable, identify_predicable_attribute): New.
5276         (n_alternatives, collect_insn_data): New.
5277         (alter_predicate_for_insn, alter_test_for_insn): New.
5278         (shift_output_template, alter_output_for_insn): New.
5279         (process_one_cond_exec, process_define_cond_exec): New.
5280         (init_md_reader): Read the entire file.  Process define_cond_exec.
5281         (read_md_rtx): Return elements from the queues.
5282
5283 2000-05-06  Richard Henderson  <rth@cygnus.com>
5284
5285         * flow.c (mark_set_1): Don't update conditional life info
5286         if the register is not_dead.
5287
5288 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
5289
5290         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
5291         (mostlyclean): Also delete fixincl, fixinc.sh, and
5292         specs.ready, and make clean in the fixinc subdir.
5293
5294 2000-05-06  Richard Henderson  <rth@cygnus.com>
5295
5296         * Makefile.in (gensupport.o): Compile for the host.
5297         (host-prefix gensuuprt.o): Remove.
5298         (genflags.o): Depend on gensupport.h and OBSTACK_H.
5299         (genattrtab.o): Likewise.
5300         (gencodes.o): Depend on gensupport.h.
5301         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
5302         (genpeep.o, genattr.o, genoutput.o): Likewise.
5303
5304         * gensupport.c (obstack, rtl_obstack): New.
5305         (init_md_reader): Initialize rtl_obstack.
5306         * gensupport.h (rtl_obstack): Declare.
5307         (message_with_line): Declare.
5308
5309         * genattr.c: Remove all traces of obstack manipulation.
5310         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
5311         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
5312
5313         * genattrtab.c (obstack, rtl_obstack): Remove.
5314         (main): Don't init rtl_obstack.
5315         * genflags.c: Likewise.
5316
5317         * genrecog.c (message_with_line): Move ...
5318         * gensupport.c: ... here.
5319
5320 2000-05-06  Richard Henderson  <rth@cygnus.com>
5321
5322         * c-typeck.c (build_c_cast): Remove dead code.
5323
5324 2000-05-06  Richard Henderson  <rth@cygnus.com>
5325
5326         * flow.c (split_edge): Don't allocate global_live_at_start for
5327         the new block unless the old blocks had them as well.
5328
5329         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
5330
5331         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
5332         test_bb if a or b uses x.
5333
5334 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
5335
5336         * cpphash.h: Remove conditional #define of __extension__.
5337         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
5338         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
5339         (ENABLE_RTL_CHECKING only).
5340         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
5341         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
5342         (ENABLE_TREE_CHECKING only).
5343         * varray.h: Add __extension__ to VARRAY_CHECK macro
5344         (ENABLE_CHECKING only).
5345
5346 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
5347
5348         Use new tail-calling mechanism on ARM.
5349         * arm.md (sibcall, sibcall_value): New expands.
5350         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
5351         (tailcalling peepholes): Delete.
5352         (push_multi): Simplify.
5353         * arm.c (lr_save_eliminated): Delete definition.
5354         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
5355         (output_return_instruction): Remove checks on lr_save_eliminated.
5356         (output_arm_prologue): Remove old tail-calling code.
5357         (arm_output_epilogue): New parameter, really_return.  All callers
5358         changed.  Handle tail-calling epilogues.
5359         * arm.h (lr_save_eliminated): Delete declaration.
5360         (frame_pointer_needed): Delete declaration.
5361         * arm-protos.h (arm_output_epilogue): Adjust prototype.
5362
5363         * arm.md (is_thumb): Examine symbol thumb_code, not expression
5364         TARGET_ARM.
5365         * arm.c (thumb_code): Define it.
5366         (arm_override_options): Set it.
5367         * arm.h (thumb_code): Declare it.
5368
5369 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
5370
5371         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
5372
5373 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
5374
5375         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
5376         bogus clobber to insns.
5377         (load_multiple_operation, store_mulitple_operation): Don't check
5378         for it.
5379         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
5380
5381         * arm.md (and_scc, ior_scc): Add missing mode.
5382
5383         * arm.md (call_value_symbol): Remove predicate from op2.
5384
5385         * arm.h (SPECIAL_MODE_PREDICATES): Define.
5386
5387 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5388
5389         * expr.c (get_subtarget): New function.
5390         (force_operand, expand_expr, do_store_flag): Use it.
5391
5392         * toplev.c (compile_file): Don't take strlen of NAME if null.
5393
5394 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
5395
5396         * xcoffout.c (xcoff_current_include_file,
5397         xcoff_current_function_file, xcoff_lastfile): Constify char *.
5398         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
5399         char *'.
5400         (xcoffout_declare_function): Make name 'const char *'.
5401         (xcoffout_end_epilogue): Make fname 'const char *'
5402         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
5403         xcoffout_declare_function, xcoffout_source_line): Match above.
5404
5405         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
5406         -maix64 is error.
5407         * rs6000.c (print_operand): Fix lossage typo.
5408         (output_cbranch): Remove "cr" decoration for now.
5409         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
5410
5411 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
5412
5413         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
5414         constant count.
5415
5416 2000-05-05  Bruce Korb  <bkorb@gnu.org>
5417
5418         * fixinc/genfixes: Improve the matching for make target names
5419
5420 2000-05-05  Catherine Moore  <clm@cygnus.com>
5421
5422         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
5423         attribute to the decl.
5424         * c-decl.c (pushdecl): Propagate the USED attribute to the
5425         type copy.
5426
5427 2000-05-05  Richard Henderson  <rth@cygnus.com>
5428
5429         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
5430         same way emit_group_load does.
5431
5432 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
5433
5434         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
5435
5436         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
5437         (main): Likewise.
5438
5439 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
5440
5441         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
5442
5443 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
5444
5445         * config/openbsd.h (LINK_SPEC): pass correct flags to ld
5446         to support -shared, on platforms with dynamic libraries.
5447
5448 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
5449
5450         * system.h (S_ISBLK): Provide fallback definition.
5451
5452 2000-05-05  Geoff Berry  <geoffb@bops.com>
5453
5454         * extend.texi (Extended Asm): Document inability to give asm
5455         statements access to condition codes.
5456
5457 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
5458
5459         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
5460         as arg 2 of UNIQUE_SECTION.
5461
5462 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
5463
5464         * predict.c: Remove May 4 change.
5465         * bb-reorder.c (make_reorder_chain): Do not perform block movement
5466         if we have predicted the branch at 50-50 probability.
5467
5468 2000-05-05  Richard Henderson  <rth@cygnus.com>
5469
5470         * flow.c (init_propagate_block_info): Fix merge error
5471         in HAVE_conditional_execution code.
5472
5473 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
5474
5475         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
5476         shift cycle for unknown shift count. Also generates dec + brpl.
5477         (ashlqi3_out): Don't generate dec + brpl which now generates by
5478         `out_shift_with_cnt'.
5479         (ashlhi3_out): Likewise.
5480         (ashlsi3_out): Likewise.
5481         (ashrqi3_out): Likewise.
5482         (ashrhi3_out): Likewise.
5483         (ashrsi3_out): Likewise.
5484         (lshrqi3_out): Likewise.
5485         (lshrhi3_out): Likewise.
5486         (lshrsi3_out): Likewise.
5487
5488 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
5489
5490         * gcc.c (free_split_directories): Correct typo in explanation
5491         of make_relative_prefix.
5492
5493 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
5494
5495         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
5496         comparison codes to branch_comparison_operator.
5497
5498 2000-05-04  Richard Henderson  <rth@cygnus.com>
5499
5500         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
5501
5502 2000-05-04  Richard Henderson  <rth@cygnus.com>
5503
5504         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
5505         (DPBIT_FUNCS): Remove _sf_to_usi.
5506         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
5507
5508         * ifcvt.c (noce_process_if_block): Fail if A or B modified
5509         between condition and jump.
5510
5511         * libgcc2.c (near eh_context_specific): Comment #endif string.
5512         * longlong.h: Don't use strings with embedded newlines.
5513
5514 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
5515
5516         * config/rs6000/rs6000-protos.h: Add output_cbranch.
5517         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
5518         (print_operand): Delete %t and %T codes.
5519         (output_cbranch): New function.  Support branch prediction.
5520         * config/rs6000/rs6000.md: Use output_cbranch for
5521         conditional branches and returns.
5522
5523 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
5524
5525         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
5526         * stor-layout.c (place_field): Likewise.
5527         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
5528         * expr.c (store_expr): Make align unsigned.
5529         * explow.c (plus_constant_wide): Make low words unsigned.
5530         * expmed.c (choose_multiplier): Likewise.
5531         * fold-const.c (fold):  Likewise.
5532         * tree.h (build_int_2): Likewise.
5533         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
5534         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
5535         (init_emit): Change cast to unsigned char*.
5536         * varasm.c (compare_constant_1): Add cast to char*.
5537         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
5538         * reload1.c (reload): Likewise.
5539
5540         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
5541
5542 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
5543
5544         * predict.c (estimate_probability): If no prediction was found, then
5545         predict the successor that is the next physical block (if such a
5546         successor exists).
5547
5548 2000-05-04  Richard Henderson  <rth@cygnus.com>
5549
5550         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
5551
5552 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5553
5554         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
5555
5556 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
5557
5558         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
5559         attribute macros from here ...
5560         (CPP_SPEC): to here.
5561         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
5562         (CPP_SPEC): Likewise.
5563         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
5564
5565         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
5566         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
5567
5568 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5569
5570         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
5571
5572         * diagnostic (vbuild_message_string, build_message_string,
5573         build_location_prefix, output_get_prefix, init_output_buffer,
5574         output_notice, vline_wrapper_message_with_location,
5575         v_message_with_decl, default_print_error_function): De-constify.
5576         (set_real_maximum_length): Prototype.
5577
5578         * diagnostic.h (struct output_buffer, init_output_buffer,
5579         output_get_prefix, output_set_prefix): De-constify.
5580
5581         * function.c (init_function_start): Constify.
5582
5583         * gensupport.c (remove_constraints, process_rtx): Prototype.
5584
5585         * gthr-posix.h: Indent uses of #pragma.
5586
5587         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
5588         Prototype.
5589
5590         * predict.c (find_expected_value): Delete prototype.
5591         (expected_value_to_br_prob): Initialize variable `ev_reg'.
5592
5593         * sbitmap.h (debug_sbitmap): Prototype.
5594
5595         * ssa.c (compute_coalesced_reg_partition): Prototype.
5596
5597         * stor-layout.c (debug_rli): Prototype.
5598
5599         * tree.h (round_down): Prototype.
5600         (init_function_start): Constify.
5601
5602 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
5603
5604         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
5605         (overly conservative).  Change extern inline wrappers to
5606         static inline, define them always, use PARAMS properly.
5607         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
5608         whitespace warnings for \f and \v at the beginning of a line.
5609
5610 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
5611
5612         * haifa-sched.c (schedule_insns): Free the flow edge list when it
5613         is no longer needed
5614
5615 2000-05-04  Bruce Korb  <bkorb@gnu.org>
5616
5617         * fixincl/inclhack.def: added broken_cabs -
5618         Remove `extern double cabs' declarations from math.h
5619         * fixincl/inclhack.sh: regen
5620         * fixincl/fixincl.x: regen
5621         * fixincl/fixincl.c: Remove BOGOSITY code
5622         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
5623
5624 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5625
5626         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
5627         MEM_ALIAS_SET.
5628         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
5629         when calling MEM_COPY_ATTRIBUTES.
5630         * emit-rtl.c (operand_subword, change_address): Likewise.
5631         * explow.c (stabilize): Likewise.
5632         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
5633         * integrate.c (copy_rtx_and_substitute): Likewise.
5634         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
5635         when calling MEM_COPY_ATTRIBUTES.
5636         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
5637         Likewise.
5638         * cse.c (gen_lowpart_if_possible): Likewise.
5639         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
5640         * optabs.c (gen_move_insn): Likewise.
5641         * recog.c (validate_replace_rtx_1): Likewise.
5642         * simplify-rtx.c (add_mem_for_addr): Likewise.
5643         * stmt.c (expand_anon_union_decl): Likewise.
5644         * config/arm/arm.md: Likewise.
5645         * config/h8300/h7300.c (fix_bit_operand): Likewise.
5646         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
5647         (block_move_no_loop, block_move_sequence): Likewise.
5648         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
5649         * config/alpha/alpha.c (get_aligned_mem): Likewise.
5650         Clear MEM_ALIAS_SET.
5651         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
5652         MEM_COPY_ATTRIBUTES.
5653
5654 2000-05-03  Robert Lipe <robertlipe@usa.net>
5655
5656         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
5657         to suppress libgcc1.
5658         (i[34567]86-*-sco3.2v5*) Likewise.
5659         (i[34567]86-*-sco3.2v4*) Likewise.
5660         (i[34567]86-*-sco) Likewise.
5661         (i[34567]86-*-solaris2) Likewise.
5662         (i[34567]86-*-sysv5*) Likewise.
5663         (i[34567]86-*-sysv4*) Likewise.
5664         (i[34567]86-*-udk*) Likewise.
5665         (i[34567]86-*-sysv*) Likewise.
5666
5667 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
5668
5669         * cpphash.h (U): New define, to correct type of string constants.
5670         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
5671         routines, to do casts when passing unsigned strings to libc.
5672         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
5673
5674         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
5675         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
5676         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
5677         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
5678         second argument an U_CHAR *.
5679
5680         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
5681         length field, clean up initializer.
5682         (ISTABLE): Add __extension__ to designated-
5683         initializers version.
5684         * cpplex.c (CHARTAB): Likewise.
5685
5686         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
5687         case so the file won't be empty.
5688
5689 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
5690
5691         * bb-reorder.c (struct reorder_block_def): Member succ removed.
5692         (REORDER_BLOCK_SUCC): Removed.
5693         (enum reorder_skip_type): Removed.
5694         (skip_insns_between_block): Renamed to skip_insns_after_block.
5695         Removed second argument. Removed dead code and cleaned up.
5696         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
5697         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
5698         second parameter to skip_insns_after_block.
5699
5700 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5701
5702         * tree.c (staticp, case LABEL_DECL): New case.
5703
5704 2000-05-03  Richard Henderson  <rth@cygnus.com>
5705
5706         * Makefile.in (start.encap): Do not depend on LIBGCC1.
5707
5708         * mklibgcc1.in: Fix typo last change.
5709
5710 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
5711
5712         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
5713         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
5714         (GCC_CFLAGS): Use it.
5715         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
5716         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
5717         objc/Make-lang.in: Use it.
5718
5719 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
5720
5721         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
5722
5723 2000-05-03  Richard Henderson  <rth@cygnus.com>
5724
5725         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
5726         LIBGCC1 empty with libgcc1.null.
5727
5728 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
5729
5730         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
5731         change.
5732
5733 2000-05-03  Greg McGary  <gkm@gnu.org>
5734
5735         * tree.h (tree_common): Add bounded_flag member.  Remove
5736         inaccurate comment about number of remaining bits.
5737         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
5738         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
5739         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
5740         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
5741         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
5742         (TYPE_QUAL_BOUNDED): New constant.
5743         (TYPE_QUALS): Handle bounded qualifier.
5744         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
5745         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
5746         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
5747         TYPE_AMBIENT_BOUNDEDNESS): New macros.
5748         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
5749         (tree_type): Add pointer_depth member.  Remove
5750         inaccurate comment about number of remaining bits.
5751         (DECL_POINTER_DEPTH): Add macro.
5752         (tree_decl): Add pointer_depth member.
5753
5754 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
5755
5756         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
5757         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
5758         (lshrhi3_out): Likewise.
5759         (ashrsi3_out): bugfix in shift by 8.
5760         (test_hard_reg_class): New function.
5761         * config/avr/avr.md: Bugfix inside conditions in peepholes.
5762         (ashlhi3): removed define_expand of this pattern.
5763         (*ashlhi3_insn): renamed to ashlhi3.
5764         (ashlsi3): removed define_expand of this pattern.
5765         (*ashlsi3_insn): renamed to ashlsi3.
5766         (ashrqi3): removed define_expand of this pattern.
5767         (*ashrqi3_insn): renamed to ashrqi3.
5768         (ashrhi3): removed define_expand of this pattern.
5769         (*ashrhi3_insn): renamed to ashrhi3.
5770         (ashrsi3): removed define_expand of this pattern.
5771         (*ashrsi3_insn): renamed to ashrsi3.
5772         (lshrhi3): removed define_expand of this pattern.
5773         (*lshrhi3_insn): renamed to lshrhi3.
5774         (lshrsi3): removed define_expand of this pattern.
5775         (*lshrsi3_insn): renamed to lshrsi3.
5776
5777 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
5778
5779         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
5780         inclusion of "system.h".
5781
5782 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
5783
5784         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
5785         TREE_ASM_WRITTEN.
5786
5787 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
5788
5789         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
5790         if -mauto-pic is on.
5791         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
5792         -mconstant-gp is in effect and function-descriptors are being used
5793         to make indirect calls.
5794         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
5795         (MASK_AUTO_PIC): Ditto.
5796         (TARGET_CONST_GP): Ditto.
5797         (TARGET_AUTO_PIC): Ditto.
5798         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
5799         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
5800         -mno-pic is in effect.
5801         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
5802         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
5803         -mauto-pic is in effect.
5804         (gprel64_offset): New pattern.
5805         (load_gprel64): Ditto.
5806         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
5807         -mconstant-gp is in effect, no need to preserve gp around direct
5808         calls.
5809         (call_value): Ditto.
5810         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
5811         (FUNCTION_PROFILER): Define.
5812         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
5813         @fptr() directive when -mno-pic or -mauto-pic is in effect.
5814         (ASM_OUTPUT_DESTRUCTOR): Ditto.
5815
5816 2000-05-03  Richard Henderson  <rth@cygnus.com>
5817
5818         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
5819         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
5820         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
5821         (mklibgcc, libgcc.mk): New targets.
5822         (libgcc.a): Use libgcc.mk.
5823         (stmp-multilib): Likewise.
5824         (stmp-multilib-sub): Remove.
5825         (mostlyclean): Don't delete libgcc2 temp files.
5826         * configure.in (AC_PROG_CC_C_O): Add.
5827         (NO_MINUS_C_MINUS_O): Substitute it.
5828         (all_outputs): Add mklibgcc.
5829         * mklibgcc.in: New file.
5830
5831 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
5832
5833         * cppexp.c (op_t): Make an int.
5834
5835         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
5836
5837         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
5838
5839         * gensupport.c (process_rtx): Fix macros used.
5840
5841 2000-05-03  Richard Henderson  <rth@cygnus.com>
5842
5843         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
5844         call-clobbered registers of a call.
5845
5846 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
5847
5848         * gensupport.c: New file.
5849         * gensupport.h: New file.
5850         * Makefile.in (HOST_RTL): Depend on gensupport.
5851         (gensupport.o) New rule.
5852         * genattr.c: Use gensupport for reading .md files.
5853         * genattrtab.c: Ditto.
5854         * gencodes.c: Ditto.
5855         * genconfig.c: Ditto.
5856         * genemit.c: Ditto.
5857         * genextract.c: Ditto.
5858         * genflags.c: Ditto.
5859         * genopinit.c: Ditto.
5860         * genoutput.c: Ditto.
5861         * genpeep.c: Ditto.
5862         * genrecog.c: Ditto.
5863         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
5864         * md.texi (Insn Splitting): Document define_insn_and_split.
5865
5866 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
5867
5868         * flow.c (verify_flow_info): Added two more sanity checks. The
5869         first checks that the blocks are numbered consecutively. The second
5870         checks that n_basic_blocks is actually equal to the number of
5871         basic blocks in the insn chain.
5872
5873 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
5874
5875         * cpplib.h: Add accessor macros for token lists.
5876         * cpplib.c, cpphash.c, cpplex.c: Use them.
5877
5878 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5879
5880         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
5881         memory usage if not in a function.
5882         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
5883         return address if static.
5884
5885 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5886
5887         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
5888         whether address may trap.
5889
5890 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
5891
5892         * bb-reorder (chain_reorder_blocks): Changed code to test for
5893         EDGE_FALLTHRU rather than making erroneous assumption that the
5894         first outgoing edge is the fall-through edge.
5895
5896 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
5897
5898         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
5899         ABI for varargs, across all MIPS. This is incompatible because the
5900         va_list (__builtin_va_list) structure is different, so a compilation
5901         unit passing a va_list and a compilation unit being passed one, should
5902         both be compiled with the same ABI. (The old structure had two
5903         pointers, now it has three.)
5904
5905 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
5906
5907         * bb-reorder.c (struct reorder_block_def): Remove members end,
5908         block_begin, and block_end.
5909         (REORDER_BLOCK_OLD_END): Delete.
5910         (REORDER_BLOCK_BEGIN): Delete.
5911         (REORDER_BLOCK_END): Delete.
5912         (chain_reorder_blocks): Remove dead code.
5913
5914 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
5915
5916         * bb-reorder.c (remove_scope_notes): Check for both types of scope
5917         notes as the end of a basic block before deleting.
5918
5919 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
5920
5921         * final.c (final_start_function): Fix spelling of "necessary".
5922
5923 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
5924
5925         * toplev.c (debug_ignore_block): Return int.
5926         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
5927         * toplev.h, dwarf2out.h: Adjust.
5928         * emit-rtl.c (remove_unnecessary_notes): Test return value.
5929
5930         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
5931         * toplev.c, final.c, rtl.h: Adjust.
5932
5933 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
5934
5935         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
5936         * configure.in: Look for makeinfo in the unified tree, then
5937         for a system makeinfo which is sufficiently new.
5938         * Makefile.in: If configure says makeinfo is too old, don't
5939         build or install Info documentation.
5940
5941 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
5942
5943         * cpphash.c (collect_params): Fix off-by-one error.
5944         (dump_hash_helper): Dump all four macro nodetypes.
5945
5946 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
5947
5948         * cpphash.c (trad_stringify): Adjust p after stringification as
5949         well.
5950
5951 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
5952
5953         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
5954         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
5955
5956         * cppfiles.c (file_cleanup): Delete.
5957         * cpphash.c (macro_cleanup): Delete.
5958         (collect_objlike_expansion, collect_funlike_expansion,
5959         macarg, scan_arguments): Remove CPP_POP case.
5960
5961         * cpplex.c (null_cleanup): Delete.
5962         (cpp_pop_buffer): Do the work that was done in the cleanups
5963         here.  Call _cpp_unwind_if_stack from here.
5964         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
5965         cpp_scan_buffer): Run until we see CPP_EOF and the top of
5966         stack is the buffer _below_ the one we stacked.
5967         (cpp_get_token): Always pop an exhausted buffer.  Return
5968         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
5969         * cpplib.c (skip_if_group): Don't call cpp_get_token to
5970         increment the line number.
5971         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
5972
5973         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
5974         we see CPP_EOF and the top of stack is the buffer _below_ the
5975         one we stacked.
5976         * scan-decls.c: Likewise.
5977
5978 2000-05-02  Andrew Haley  <aph@cygnus.com>
5979
5980         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
5981         where this function is called for the second time on a decl that
5982         has had its section info changed in such a way as to move it out
5983         of small data/bss.
5984         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
5985
5986 2000-05-01  Richard Henderson  <rth@cygnus.com>
5987
5988         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
5989         the sequence we're moving, not to merge_bb->head.
5990
5991 2000-05-01  Richard Henderson  <rth@cygnus.com>
5992
5993         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
5994         reference to alpha/t-linux.
5995         (alpha*-*-linux-gnu*): Likewise.
5996         * configure: Rebuild.
5997
5998         * calls.c (expand_call): Don't emit reg notes for a sibcall.
5999
6000         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
6001         if not in SSA form.
6002
6003         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
6004
6005 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
6006
6007         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
6008         TREE_THIS_VOLATILE.
6009
6010 2000-05-01  Richard Henderson  <rth@cygnus.com>
6011
6012         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
6013         emit_conditional_move.
6014
6015 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
6016
6017         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
6018         as the dynamic linker.
6019
6020 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
6021
6022         * cppfiles.c (open_include_file): Open file in blocking mode.
6023         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
6024         Only exclude block devices and directories.
6025
6026         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
6027         static.  Allocate the hashnode and its string in the same
6028         block of memory.
6029         (del_HASHNODE): Don't free h->name.
6030         (_cpp_lookup): If there is no entry for this string, create
6031         one, of type T_VOID.
6032         (_cpp_lookup_slot): Delete.
6033         * cpphash.h: Update prototypes.
6034
6035         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
6036         not hp == NULL.
6037         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
6038         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
6039         node here, just fill in the value field properly.  "Delete"
6040         entries by setting the value field to T_VOID.  Check for
6041         hp->type == T_VOID, not hp == NULL.
6042
6043         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
6044         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
6045         hashtab.h.
6046
6047 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
6048
6049         * config/mn10300/mn10300.c (print_operand_address): Do not add
6050         zero to SP.
6051
6052         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
6053         adjusted by less than 256 bytes, use ret regardless of having any
6054         callee-saved register to restore.
6055
6056 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
6057
6058         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
6059
6060 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
6061
6062         * config/i386/djgpp.h (INT_ASM_OP): Define.
6063         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
6064         (ASM_WEAKEN_LABEL): Define.
6065         (MASK_BNU210): Define.
6066         (SUBTARGET_SWITCHES): Define.
6067         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
6068         (MAKE_DECL_ONE_ONLY): Define.
6069         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
6070
6071 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
6072
6073         * i386/cygwin.h (INT_ASM_OP): Define.
6074
6075 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
6076
6077         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
6078         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
6079
6080 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
6081
6082         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
6083         __tmp_reg__ and __zero_reg__ initialization.
6084
6085 2000-04-30  Richard Henderson  <rth@cygnus.com>
6086
6087         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
6088
6089         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
6090         referenced bewteen the condition and the jump.  Don't delete
6091         anything but the jump.
6092
6093 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
6094
6095         * bb-reorder.c (scope_def): New struct.
6096         (scope_forest_info): New struct.
6097         (struct reorder_block_def): New member "scope".
6098         (REORDER_BLOCK_SCOPE): New macro.
6099         (relate_bbs_with_scopes): New function and prototype.
6100         (make_new_scope): Likewise.
6101         (build_scope_forest): Likewise.
6102         (remove_scope_notes): Likewise.
6103         (insert_intra_1): Likewise.
6104         (insert_intra_bb_scope_notes): Likewise.
6105         (insert_inter_bb_scope_notes): Likewise.
6106         (rebuild_scope_notes): Likewise.
6107         (free_scope_forest_1): Likewise.
6108         (free_scope_forest): Likewise.
6109         (dump_scope_forest): Likewise.
6110         (dump_scope_forest_1): Likewise.
6111         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
6112         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
6113         block.
6114         (reorder_basic_blocks): Added calls to build_scope_scope_forest
6115         and remove_scope_notes before reordering is done. Added calls to
6116         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
6117         after reordering is done.
6118
6119 2000-40-30  Bruce Korb  <bkorb@gnu.org>
6120
6121         * fixinc/inclhack.def:  Added definitions needed by OSR5,
6122         removed two stale entries (defined away with OLD_CPP).
6123         * fixinc/inclhack.sh: regen
6124         * fixinc/fixincl.x: regen
6125
6126 2000-04-30  Richard Henderson  <rth@cygnus.com>
6127
6128         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
6129         from the last insn in the sequence.
6130
6131 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
6132
6133         * cpplex.c (cpp_idcmp): New function.
6134         * cpplib.h: Prototype it.
6135         * scan_decls.c (scan_decls): Use it to inspect token names.
6136         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
6137         the file being run through the preprocessor.
6138         (check_macro_names): Provide length of token to cpp_defined.
6139
6140         * Makefile.in: Remove stale warning message.
6141
6142         * cppfiles.c (redundant_include_p): Provide length of token to
6143         cpp_defined.
6144         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
6145         values are unsigned int.
6146         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
6147         (_cpp_lookup_slot): Do not calculate the hash, either.
6148         * cpphash.h: Update prototypes.
6149         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
6150         Hashes are unsigned int.  Calculate hash here, pass by value
6151         to _cpp_lookup_slot.
6152
6153 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
6154
6155         * simplify-rtx.c (check_value_useless): Delete function.
6156         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
6157         by hand.
6158         (cselib_invalidate_regno): Likewise.
6159         (cselib_invalidate_mem_1): Likewise.
6160         (references_value_p): Recognize useless values by the fact that they
6161         have no locations.
6162         (discard_useless_values): Likewise.
6163         (cselib_record_set): This may turn a useless value
6164         into a useful one.
6165
6166 2000-04-30  Richard Henderson  <rth@cygnus.com>
6167
6168         * config/d30v: New port.
6169
6170         * configure.in (d30v-*): Set fp format.
6171         * configure: Rebuild.
6172
6173 2000-04-30  Richard Henderson  <rth@cygnus.com>
6174
6175         * ifcvt.c: New file.
6176         * Makefile.in (OBJS): Add it.
6177         (ifcvt.o): New target.
6178         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
6179         and conditional arithmetic.
6180         (find_insert_position): Remove.
6181         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
6182         * toplev.c (DFI_ce, DFI_ce2): New.
6183         (dump_file): Add ce and ce2 dumps.
6184         (rest_of_compilation): Run if_convert a couple o times.  Set
6185         cse_not_expected after cse2.  Don't set no_new_pseudos until
6186         after sched1 or recompute_reg_usage.
6187
6188 2000-04-30  Richard Henderson  <rth@cygnus.com>
6189
6190         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
6191         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
6192
6193 2000-04-30  Richard Henderson  <rth@cygnus.com>
6194
6195         * flow.c (struct reg_cond_life_info): New.
6196         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
6197         (init_propagate_block_info): Initialize them.
6198         (free_propagate_block_info): Destruct them.
6199         (mark_set_1): Consider conditional life before killing a register.
6200         (mark_regno_cond_dead): New.
6201         (free_reg_cond_life_info): New.
6202         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
6203         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
6204         (mark_used_reg): Record conditional life.
6205
6206         * haifa-sched.c (schedule_insns): Disable death counting
6207         sanity check for HAVE_conditional_execution.
6208
6209 2000-04-30  Richard Henderson  <rth@cygnus.com>
6210
6211         * Makefile.in (TIMEVAR_H): New.
6212         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
6213         (timevar.h): Remove rule.
6214
6215 2000-04-29  Richard Henderson  <rth@cygnus.com>
6216
6217         * config/alpha/crtend.asm: Use C comments instead of #.
6218         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
6219
6220         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
6221
6222 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
6223
6224         * cpphash.h (enum node_type: Take out T_MCONST.
6225         (union hashval): Move into struct hashnode.
6226         (struct hashnode): Pack tighter.  Remove file, line, col
6227         members.
6228         * cpphash.c: Constify most of the macro-definition structures.
6229         (struct definition): Replace by struct object_defn
6230         and struct funct_defn.  Put file, line, column information
6231         here.  All users updated to match.
6232         (_cpp_create_definition, _cpp_macroexpand): Remove special
6233         case for #define WORD OTHERWORD.
6234         * cpplib.c (do_undef): Remove T_MCONST case.
6235
6236         * cpphash.h: Move struct reflist, struct definition, and the
6237         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
6238         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
6239         * cpphash.c (_cpp_free_definition): Free data pointed to by
6240         MCONST, XCONST, MACRO, and FMACRO nodes properly.
6241         (_cpp_create_definition, del_HASHNODE): Just call
6242         _cpp_free_definition to clear out a hashnode.
6243         * cpplib.c (do_pragma_poison): Likewise.
6244
6245 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
6246
6247         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
6248         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
6249         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
6250         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
6251         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
6252         REGNO_AM33_P): Redefine in terms of the new macros.
6253         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
6254         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
6255         STRUCT_VALUE): Likewise.
6256         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
6257         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
6258
6259 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6260
6261         * regmove.c (struct record_stack_memrefs_data): New.
6262         (record_stack_memrefs): New function.
6263         (combine_stack_adjustments_for_block): Use it.
6264
6265 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6266
6267         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
6268         use special_function_p to detect alloca.
6269
6270 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
6271
6272         * gcc.texi: Fixes for makeinfo 4.0 --html.
6273
6274 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
6275
6276         * pcp.h: Delete file.
6277
6278 2000-04-28  Kazu Hirata  <kazu@hxi.com>
6279
6280         * h8300.c (function_epilogue): Clean up flags when the last insn
6281         in a function is a barrier.
6282
6283 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
6284
6285         * configure.in (sparc-hal-solaris2*): protect [] glob from
6286         my expansion.
6287         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
6288         rather than hard-coded constants in target_cpu_default2.
6289         * configure: Regenerate.
6290
6291 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
6292
6293         * tree.c (get_callee_fndecl): Extract the initial value from
6294         a readonly decl.
6295
6296 2000-04-28  Richard Henderson  <rth@cygnus.com>
6297
6298         * varasm.c (record_constant_1): Record the CODE_LABEL when
6299         taking the address of a LABEL_REF.
6300
6301 2000-04-28  Richard Henderson  <rth@cygnus.com>
6302             Jan Hubicka  <jh@suse.cz>
6303
6304         * calls.c (combine_pending_stack_adjustment_and_call): Return the
6305         adjustment; don't do the stack adjust.
6306         (expand_call): Call compute_argument_block_size right before
6307         allocating the block; update comment; don't do alignment sanity
6308         checking for sibling call; use args_size instead of
6309         unadjusted_args_size before args_size is adjusted.  Use
6310         combine_pending_stack_adjustment_and_call to compute stack adjust
6311         for must_preallocate case.
6312
6313         * expr.c (push_block): Remove shadow `temp' in inner scope.
6314
6315 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
6316
6317         * toplev.c (rest_of_compilation): Call
6318         note_deferral_of_defined_inline_function even if the function
6319         can't be inlined.
6320
6321 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
6322
6323         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
6324
6325 2000-04-28  Richard Henderson  <rth@cygnus.com>
6326
6327         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
6328
6329 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6330
6331         * timevar.c (init_timevar): DeANSIfy function definition.
6332
6333 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
6334
6335         * Makefile.in (timevar.o): Depend on flags.h.
6336         * timevar.c (unused_stack_instances): New variable.
6337         (timevar_push): Take a timevar_stack_def from
6338         unused_stack_instances if available.
6339         (timevar_pop): Push the popped timevar_stack_def onto
6340         unused_stack_instances.
6341         (TIMEVAR_ENABLE): New macro.
6342         (timevar_def): Make standalone a 1-bit field.  Add field used.
6343         (get_time): Rename parameter to now.  Return after clearing it if
6344         not TIMEVAR_ENABLE.
6345         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
6346         (timevar_pop): Likewise.
6347         (timevar_stop): Likewise.
6348         (timevar_push): Likewise.  Mark the timing variable as used.
6349         (timevar_start): Likewise.
6350         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
6351         timevars that were never used.
6352
6353 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
6354
6355         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
6356         always TREE_READONLY.
6357
6358 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
6359
6360         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
6361         for call instruction with mode QImode.
6362
6363 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
6364
6365         * Makefile.in (OBJS): Add timevar.o.
6366         (toplev.o): Depend on timevar.h.
6367         (ggc-simple.o): Likewise.
6368         (ggc-page.o): Likewise.
6369         (timevar.o): New rule.
6370         (timevar.h): New rule.
6371
6372         * timevar.h: New file.
6373         * timevar.c: Likewise.
6374         * timevar.def: Likewise.
6375
6376         * toplev.h (gc_time, parse_time, varconst_time): Remove.
6377         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
6378         throughout.
6379         (TIMEVAR): Remove macro.
6380         (gc_time, parse_time, varconst_time, integration_time, jump_time,
6381         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
6382         flow_time, combine_time, regmove_time, sched_time,
6383         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
6384         sched2_time, dbr_sched_time, reorder_blocks_time,
6385         rename_registers_time, shorten_branch_time, stack_reg_time,
6386         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
6387         all_time): Remove.
6388         (compile_file): Don't initialize time variables.  Call
6389         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
6390         of many calls to print_time.
6391         (rest_of_compilation): Add timing for reload_cse_regs.
6392         (get_run_time): Removed to timevar.c.
6393         (print_time): Likewise.
6394         (get_run_time): Implement using TV_TOTAL time variable.
6395         (print_time): Get total run time from get_run_time.
6396         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
6397         computing elapsed time explicitly.
6398         * ggc-simple.c (ggc_collect): Likewise.
6399         (gc_time): Remove declaration.
6400
6401 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
6402
6403         * calls.c (combine_pending_stack_adjustment_and_call): New function.
6404         (expand_call): Use it.
6405
6406 2000-04-27  Jan Hubicka  <jh@suse.cz>
6407
6408         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
6409         fields.
6410
6411 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
6412
6413         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
6414         registers.
6415
6416 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6417
6418         * function.c (epilogue_done): Pass whole insn to record_insns.
6419
6420 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6421
6422         * cse.c (CSE_ADDRESS_COST): Remove.
6423         (find_best_addr): Add new parameter "MODE", use address_cost instead
6424         of CSE_ADDRESS_COST
6425         (address_cost): New.
6426         (fold_rtx): Update call of find_best_addr.
6427         * rtl.h (address_cost): Declare.
6428         * loop.c (general_induction_var): Add new parameter "MODE", use
6429         address_cost instead of ADDRESS_COST
6430         (init_loop): Use address_cost instead of ADDRESS_COST.
6431         (check_insn_for_givs): Update call of general_induction_var.
6432         (find_mem_givs): Likewise.
6433         (consec_sets_giv): Likewise.
6434         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
6435         * i386.c (ix86_address_cost): New.
6436         * i386-protos.h (ix86_address_cost): Declare.
6437
6438 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
6439
6440         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
6441         registers.
6442
6443 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6444
6445         * expr.c (store_expr): Use clear_storage instead of direct memset
6446         libcall.
6447
6448 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
6449
6450         * config/mn10300/mn10300.c (mn10300_address_cost): Test
6451         ASHIFT, AND and LABEL_REF.
6452
6453 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6454
6455         * invoke.texi (-foptimize-sibling-calls): Fix.
6456
6457 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6458
6459         * loop.c (load_mems)  Don't use hard registers for the hoisting.
6460
6461         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
6462         calculation; rename const_equiv array in the preconditioning code
6463         from loop_unroll to loop_unroll_precondition
6464
6465 2000-04-27  Richard Henderson  <rth@cygnus.com>
6466
6467         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
6468         add new_set.
6469         (propagate_one_insn): Clear it.  Don't update reg_live here.
6470         (init_propagate_block_info): Update for pbi member changes.
6471         (free_propagate_block_info): Likewise.
6472         (mark_set_1): Know that zero_extract, sign_extract, and
6473         strict_low_part don't kill their argument.  Alter hard subregs.
6474         Update new_set for non-CLOBBER sets.  Update reg_live.
6475         (find_auto_inc): Update reg_live, not new_dead.
6476         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
6477         to determine if the reg in question was set this insn.  Only update
6478         reg info with PROP_REG_INFO.
6479
6480 2000-04-26  Richard Henderson  <rth@cygnus.com>
6481
6482         * flow.c (allocate_reg_life_data): Set max_regno here ...
6483         (life_analysis): ... not here.
6484
6485         * flow.c (calculate_global_regs_live): Force stack pointer
6486         live at end.
6487
6488 2000-04-26  Richard Henderson  <rth@cygnus.com>
6489
6490         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
6491         commit change group changes.
6492         (invert_exp_1): Similarly.
6493         (redirect_exp, invert_exp): Use them.
6494         (redirect_jump_1): New.
6495         (invert_jump_1): New.
6496         (jump_optimize_1): Remove code subsumed by condexec.c.
6497         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
6498
6499 2000-04-26  Richard Henderson  <rth@cygnus.com>
6500
6501         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
6502
6503         * genconfig.c (main): Set all HAVE_foo to 1.
6504
6505         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
6506
6507 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
6508
6509         * invoke.texi: Document -fssa flag.
6510
6511 2000-04-26  Richard Henderson  <rth@cygnus.com>
6512
6513         * flow.c (count_reg_sets_1): Remove.
6514         (count_reg_sets, count_reg_references): Remove.
6515         (recompute_reg_usage): Implement with update_life_info.
6516         Reallocate life data.
6517
6518 2000-04-26  Richard Henderson  <rth@cygnus.com>
6519
6520         * flow.c (update_life_info): Consider blocks null to mean the
6521         universal set.
6522         (calculate_global_regs_live): Likewise.
6523         (life_analysis): Do that instead of collecting all_blocks.
6524
6525 2000-04-26  Richard Henderson  <rth@cygnus.com>
6526
6527         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
6528         a still-valid conditional jump.
6529
6530 2000-04-26  Richard Henderson  <rth@cygnus.com>
6531
6532         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
6533
6534         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
6535         * flow.c (calculate_loop_depth): Remove.
6536         * output.h (calculate_loop_depth): Don't declare.
6537         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
6538         inline; run estimate_probability at the same time.
6539
6540 2000-04-26  Neil Booth  <NeilB@earthling.net>
6541
6542         * cpplib.h: "~=" is not a single pp-token.
6543         * cpplex.c: Correct commentary.
6544
6545 2000-04-26  Richard Henderson  <rth@cygnus.com>
6546
6547         * flow.c (mark_set_1): New arguments code and flags; update all
6548         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
6549         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
6550         loop_depth when optimizing for size.  Do new_dead update after
6551         emitting REG_UNUSED notes.  Merge mark_set_reg code.
6552         (mark_set_reg): Remove.
6553         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
6554         arrange to not emit REG_UNUSED notes.
6555
6556 2000-04-26  Richard Henderson  <rth@cygnus.com>
6557
6558         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
6559         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
6560
6561 2000-04-26  Richard Henderson  <rth@cygnus.com>
6562
6563         * flow.c (propagate_one_insn): Break out from propagate_block.
6564         (init_propagate_block_info): Likewise.
6565         (free_propagate_block_info): Likewise.
6566         (propagate_block): Use them.  Export.
6567         * basic-block.h: Declare them all.
6568
6569 2000-04-26  Richard Henderson  <rth@cygnus.com>
6570
6571         * basic-block.h (life_analysis): Declare here ...
6572         * output.h: ... not here.
6573         * flow.c (life_analysis): Remove nregs parameter; replace
6574         remove_dead_code with flags.  Remove ssa dead code check.
6575         Only init alias analysis if we'll use it.
6576         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
6577         * ssa.c (convert_to_ssa): Likewise.
6578         (convert_from_ssa): Likewise.
6579         * toplev.c (rest_of_compilation): Likewise.
6580
6581 2000-04-26  Richard Henderson  <rth@cygnus.com>
6582
6583         * flow.c (flow_delete_block): Rename from delete_block.  Export.
6584         * basic-block.h (flow_delete_block): Declare.
6585
6586 2000-04-26  David S. Miller  <davem@redhat.com>
6587
6588         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
6589         taking a PATTERN of it.
6590
6591 2000-04-26  <NeilB@earthling.net>
6592
6593         * cpplex.c (spell_other, spell_char): Remove.
6594         (SPELL_CHAR): New.
6595         (token_spelling, trigraph_map): Use unsigned chars.
6596         (_cpp_lex_line): Tidy up the switch statement.
6597         * cpplib.h: Implement spell_char with spell_string.
6598         (C): New.
6599
6600 2000-04-26  <RodneyBrown@pmsc.com>
6601
6602         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
6603         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
6604
6605 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6606
6607         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
6608         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
6609         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
6610         dwarf2out_return_save, dwarf2out_return_reg,
6611         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
6612         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
6613         gen_compile_unit_die, dwarf2out_init): Constify a char*.
6614
6615         * dwarf2out.h (dwarf2out_init): Likewise.
6616
6617         * dwarfout.c (filename_entry, primary_filename, last_filename,
6618         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
6619
6620         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
6621         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
6622         dwarf2out_return_reg): Likewise.
6623
6624 2000-04-26  Andreas Jaeger  <aj@suse.de>
6625
6626         * extend.texi (Function Attributes): Fix description of pure
6627         attribute.
6628
6629 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
6630
6631         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
6632         before calling rest_of_compilation.
6633
6634 2000-04-26  Andreas Jaeger  <aj@suse.de>
6635
6636         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
6637         last patch.
6638
6639 2000-04-25  Richard Henderson  <rth@cygnus.com>
6640
6641         * cse.c (cse_insn): Emit barrier after unconditional jump.
6642
6643         * calls.c (expand_call): Disable tail call generation once
6644         rtx_equal_function_value_matters is false.
6645
6646         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
6647         like EDGE_EH edges.
6648
6649 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
6650
6651         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
6652
6653         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
6654
6655         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
6656         is the primary DIE for a member function.
6657         (gen_decl_die): Call set_decl_origin_self here.
6658         * dwarfout.c (output_decl): And here.
6659         * integrate.c (output_inline_function): Not here.
6660         Don't clear DECL_INLINE until after calling rest_of_compilation.
6661         (set_decl_origin_self): No longer static.
6662         * tree.h: Add prototype.
6663         * toplev.c (note_deferral_of_defined_inline_function): Only write
6664         out abstract instance for actual inlines.
6665
6666 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
6667
6668         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
6669         EXTENDED_REGS only if TARGET_AM33.
6670         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
6671         SP_REGS to register allocation and reloading unless absolutely
6672         necessary.
6673         (movsi3): Remove special-case of adding non-constants to SP.
6674
6675 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6676
6677         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
6678         INCLUDES to search and does not provide any of its own.  Also it
6679         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
6680         parameters.  Also it does not call AC_DEFINE.
6681         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
6682         AC_DEFINE and provides for automatic entries for autoheader.
6683         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
6684
6685         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
6686         so we can pass -I flags and include gansidecl.h/system.h in this
6687         test.
6688
6689         * acconfig.h: Delete all NEED_DECLARATION_* entries.
6690
6691 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6692
6693         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
6694         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
6695         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
6696
6697         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
6698         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
6699         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
6700         for these macros.  Clean up spacing and linewraps.
6701
6702 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
6703
6704         * calls.c (expand_call): Use get_callee_fndecl.
6705
6706         * print-tree.c (print_node): Print the chain of an _EXPR.
6707
6708 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
6709                           Jim Wilson  <wilson@cygnus.com>
6710                           Andrew Haley  <aph@cygnus.com>
6711
6712         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
6713         and gp save/restore problems.
6714         * config/ia64/crtend.asm: Add IA-64 unwind support.
6715         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
6716         in fr_pad_size calculation.
6717         (save_restore_insns): Move PR save area.  Correct uses of
6718         RTX_FRAME_RELATED_P.
6719         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
6720         (ia64_expand_epilogue): Add eh_epilogue support.
6721         (ia64_function_prologue): Emit .prologue directive.
6722         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
6723         (ia64_override_options): Set init_machine_status and
6724         mark_machine_status.
6725         (rtx_needs_barrier): Handle bsp reads and writes.
6726         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
6727         New static variables.
6728         (process_set, process_for_unwind_directive): New functions.
6729         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
6730         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
6731         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
6732         macros.
6733         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
6734         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
6735         (struct machine_function): Define.
6736         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
6737
6738 2000-04-25  Bruce Korb  <bkorb@gnu.org>
6739
6740         * fixinc/Makefile.in: make the removal of old programs more
6741         robust
6742         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
6743         install-bin and install-sh
6744
6745 2000-04-25  Nick Clifton  <nickc@cygnus.com>
6746
6747         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
6748         defined, define to return zero.
6749         (function_cannot_inline_p): If a function has any target
6750         specific attributes, then use the macro
6751         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
6752         whether it can be inlined.  If it cannot, issue a suitable
6753         explanation.
6754
6755         * tm.texi: Add a new node 'Inlining' to document the new macro
6756         FUNCTION_ATTRIBUTE_INLINABLE_P.
6757
6758 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
6759
6760         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
6761         commentary.
6762
6763 2000-04-25  Neil Booth  <NeilB@earthling.net>
6764
6765         Restore previous patch, plus the following fixes:
6766
6767         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
6768         flags, not CPP_OPEN_PAREN.
6769         * cpplex.c (expand_token_space, init_token_list,
6770         cpp_free_token_list): Put the dummy token at list->tokens[-1].
6771         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
6772
6773 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6774
6775         * config/i386/freebsd.h (INT_ASM_OP): Define.
6776
6777 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6778
6779         * loop.c (strength_reduce): Fix typo in the last checkin.
6780
6781 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6782
6783         * stor-layout.c (finalize_record_size): Simplify to use existing
6784         functions.
6785         (compute_record_mode): No longer static.
6786         * tree.h (compute_record_mode): New declaration.
6787
6788 2000-04-25  Neil Booth  <NeilB@earthling.net>
6789
6790         * Revert my patch below until cause of build failures
6791         determined.
6792
6793 2000-04-25  Richard Henderson  <rth@cygnus.com>
6794
6795         * combine.c (combine_instructions): Add missing argument
6796         to try_combine.
6797
6798         * toplev.c (rest_of_compilation): Delay sibcall optimization
6799         until after emit_eh_context.
6800
6801 2000-04-24  Nick Clifton  <nickc@redhat.com>
6802
6803         * combine.c (combine_instructions): Do not try to combine a
6804         sequence of insns when the second insn has been replaced by a
6805         note.
6806
6807 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
6808
6809         * gcc.c (load_specs): New static function.
6810         (read_specs): Use it.
6811
6812         * gcc.c (lookup_compiler): Make multiple passes for case
6813         insensitive filesystems.
6814
6815 2000-04-24  Neil Booth  <NeilB@earthling.net>
6816
6817         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
6818         * cpphash.h (_cpp_check_directive): new.
6819         * cpplex.c (handle_newline, cpp_free_token_list,
6820         init_trigraph_map, trigraph_ok, trigraph_replace,
6821         backslash_start, skip_block_comment, skip_line_comment,
6822         skip_whitespace, parse_name, parse_number, parse_string,
6823         copy_comment, _cpp_lex_line, spell_char, spell_string,
6824         spell_comment, spell_name, spell_other, _cpp_lex_file,
6825         _cpp_output_list): new.
6826         (expand_name_space): take length argument.
6827         (init_token_list): add comment list initialisation.
6828         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
6829         instead of HSPACE_BEFORE.
6830
6831         * cpplib.c (_cpp_check_directive): new
6832         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
6833         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
6834         (HSPACE_BEFORE): delete.
6835         (TTYPE_TABLE): rearrange.
6836         (struct cpp_toklist): update.
6837
6838 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6839
6840         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
6841         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
6842         argument form of AC_DEFINE.
6843
6844         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
6845         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
6846         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
6847         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
6848         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
6849
6850         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
6851
6852 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6853
6854         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
6855         deduced.h): Use -isystem, not -I, for including system headers.
6856
6857 2000-04-24  Nick Clifton  <nickc@cygnus.com>
6858
6859         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
6860         the source register is the frame pointer or arg pointer.
6861         (addsi3_small_int): Disallow if source register is the frame
6862         pointer or arg pointer.
6863
6864 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6865
6866         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
6867         call to AC_MSG_RESULT.
6868
6869 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6870
6871         * invoke.texi: Correct grammatical errors, document
6872         -fno-gnu-keywords as identical to -fno-asm for C++.
6873
6874 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6875
6876         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
6877         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
6878         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
6879         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
6880         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
6881
6882         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
6883         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
6884         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
6885         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
6886         new macros names.
6887
6888 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
6889
6890         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
6891         (pop_alignment): Likewise.
6892         (handle_pragma_token): Likewise.
6893
6894 2000-04-24  Robert Lipe <robertlipe@usa.net>
6895
6896         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
6897
6898 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
6899
6900         * combine.c (try_combine): Update reg_nonzero_bits of
6901         newi2pat before newpat.
6902
6903 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6904
6905         * loop.c (strength_reduce): Simplify test to INSN_P.
6906         (record_giv): Attempt to simplify the add value, use CONSTANT_P
6907         expressions instead of CONST_INT.
6908         (express_from_1): Likewise.
6909
6910 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
6911
6912         * regs.h (reg_n_max): Don't declare.
6913         * flow.c (reg_n_max): Don't define.
6914         * regclass.c (renumber): Don't initialize to zero.
6915         (regno_allocated): Likewise.
6916         (reg_n_max): Define.
6917         (allocate_reg_info): Don't initialize unnecessarily.
6918
6919 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
6920
6921         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
6922         and blockage_p in the newly allocated attribute.
6923
6924 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
6925
6926         * config/mn10300/mn10300.md (addsi): `inc4' on address
6927         registers does not modify cc, but `inc' on an extended
6928         register does.
6929
6930 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
6931
6932         * reload.c (find_equiv_reg): Checks all valueno regs
6933         as a reload_reg_p regs.
6934
6935 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
6936
6937         * cpphash.c (collect_objlike_expansion): Add sanity check.
6938         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
6939         the buffer is the empty string, return.  Mark __DATE__ and
6940         __TIME__ as XCONST nodes, not MCONST.
6941         (_cpp_macroexpand): Avoid pushing an empty buffer.
6942         (funlike_macroexpand): Don't pop token_buffer here.
6943
6944 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
6945
6946         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
6947         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
6948         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
6949         (REGNO_OK_FOR_BASE_P): Define in terms of them.
6950         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
6951         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
6952         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
6953
6954 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6955
6956         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
6957         constant MULT givs.
6958
6959 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
6960
6961         * cpphash.h (struct definition): Move file, line, col members...
6962         (struct hashnode): ... here.  Also add 'disabled' flag.
6963         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
6964         T_IDENTITY.  Remove T_DISABLED.
6965         Update prototypes.
6966
6967         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
6968         (collect_expansion): Split into collect_objlike_expansion and
6969         collect_funlike_expansion.
6970         (_cpp_macroexpand): Split out scan_arguments, stringify, and
6971         funlike_macroexpand.
6972         (_cpp_compare_defs): Rename compare_defs, make static.
6973         (_cpp_make_hashnode): Initialize hp->disabled.
6974         (macro_cleanup): Adjust for new token types.  Clear
6975         m->disabled.
6976         (_cpp_create_definition): Move code here to determine what
6977         sort of macro it is, and code to check for redefinitions, from
6978         do_define.  Implement a few simple cases without creating a
6979         full DEFINITION.
6980         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
6981         Handle the simple cases.
6982         (push_macro_expansion): Set buf->has_escapes and hp->disabled
6983         here.
6984
6985         * cppinit.c (builtin_array): Change MCONST to XCONST
6986         everywhere.
6987         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
6988         fix check for disabled and function-like macros.
6989         * cpplib.c (do_define): Move most logic to
6990         _cpp_create_definition.
6991         (do_undef): Handle new special token types.
6992
6993 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6994
6995         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
6996         of CONSTANT_P for mult_val; always use validate_change to update insn.
6997
6998 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
6999
7000         * cpphash.c (trad_stringify, add_pat): New functions.
7001         (collect_expansion): Restore support for -traditional syntax.
7002         Use trad_stringify and add_pat.
7003         (_cpp_macroexpand): Restore support for -traditional semantics.
7004         * cpplex.c (_cpp_scan_line): Don't change space_before if we
7005         get a COMMENT token.
7006         (_cpp_lex_token): Provide COMMENT tokens to caller if
7007         traditional and parsing_define_directive.
7008         (skip_comment): Warn about // comments if -Wtraditional.
7009         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
7010         proper node type.
7011         (do_undef): Don't warn about undefining EMPTY nodes.
7012
7013 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7014
7015         * loop.c (strength_reduce): Fix biv removal code.
7016
7017 2000-04-22  Richard Henderson  <rth@cygnus.com>
7018
7019         * predict.c (estimate_probability): Examine both sides of
7020         a branch for no exits.  Use 90% not 50% for predict taken.
7021         Reorg for one copy of note generation code.
7022
7023 2000-04-22  Richard Henderson  <rth@cygnus.com>
7024
7025         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
7026
7027 2000-04-22  Richard Henderson  <rth@cygnus.com>
7028
7029         * diagnostic.c (init_output_buffer): Don't initialize format_args.
7030         (output_clear): Likewise.
7031         (output_printf): Use va_copy.
7032         (vline_wrapper_message_with_location): Likewise.
7033         (v_message_with_decl): Likewise.
7034         (line_wrapper_printf): VA_START infor buffer.format_args directly.
7035         * system.h (va_copy): Provide default implementation.
7036
7037 2000-04-22  Richard Henderson  <rth@cygnus.com>
7038
7039         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
7040         the collected condition is not a constant.
7041
7042 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
7043
7044         * diagnostic.h: New file.
7045
7046         * Makefile.in (diagnostic.o): Depends on diagnostic.h
7047
7048         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
7049         various function prototypes.
7050         (diagnostic.h): #include.
7051         (struct output_buffer): Move into diagnostic.h.
7052         (get_output_prefix): Rename to output_get_prefix.  Export.
7053         (init_output_buffer): Export. Break out.  Ajust intialization.
7054         (output_space_left, output_append): Export.
7055         (output_newline): Rename to output_add_newline.  Export.
7056         (output_clear): Nullify additional output_buffer fields.
7057         (output_puts): Rename to output_add_string.  Export.
7058         (dump_output): Rename to output_flush_on.  Export.
7059         (build_location_prefix): Constify return-type.
7060         (emit_output_prefix): Rename to output_emit_prefix. Export.
7061         (set_real_maximum_length): New function.
7062         (output_set_maximum_length): Ditto
7063         (output_clear): Ditto.
7064         (output_add_character): Ditto.
7065         (output_add_integer): Ditto.
7066         (output_add_space): Ditto.
7067         (output_format): Ditto.
7068         (output_printf): Adjust buffer initialization.
7069         (vline_wrapper_message_with_location): Ditto.
7070         (v_message_with_decl): Ditto.  Adjust call to output_puts
7071         and get_output_prefix.
7072         (default_print_error_function): Adjust buffer intialization.
7073
7074 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7075
7076         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
7077         of VOID_TYPE.
7078
7079 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
7080
7081         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
7082         of explicit 0.
7083
7084 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
7085
7086         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
7087         accurate data about SP moves.
7088
7089 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
7090
7091         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
7092         aliases to AM33 registers.
7093
7094 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
7095
7096         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
7097         to all EXTENDED bitmaps.
7098
7099 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
7100
7101         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
7102         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
7103         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
7104
7105 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
7106
7107         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
7108         the operand is not constant.
7109
7110 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
7111
7112         * reload.c (find_equiv_reg): Checks all valueno and regno regs
7113         as a call-clobbered regs.
7114
7115 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7116
7117         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
7118         * rtl.h: Likewise.
7119         * rtl.def: Update comment.
7120         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
7121         * integrate.c (expand_inline_function): Likewise.
7122         * profile.c (branch_prob): Likewise.
7123         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
7124         * print-rtl.c (print_rtx): Likewise.
7125         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
7126         (reemit_notes): Likewise; also use enum insn_note.
7127
7128         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
7129         (place_field): Properly compute know and actual alignment.
7130
7131         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
7132         in proper format.
7133
7134         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
7135         note for REG1.
7136
7137 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
7138
7139         * cpphash.c (struct arg, struct arglist): Const-ify strings.
7140         (warn_trad_stringify, duplicate_arg_p): New helper functions.
7141         (collect_expansion): Rewrite to scan over a token list.
7142         Remove -traditional support.
7143         (collect_formal_parameters): Rename to collect_params; rewrite
7144         to scan over a token list.
7145         (_cpp_create_definition): Adjust to scan a token list.
7146         (_cpp_macroexpand): Remove -traditional support.
7147         (_cpp_compare_defs): Whitespace is now canonicalized.
7148         (comp_def_part): Delete function.
7149
7150         * cpphash.h: Update prototypes.
7151         * cpplex.c (init_token_list): Don't set lineno if there is no
7152         buffer.
7153         (pedantic_whitespace): New function.
7154         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
7155         consume a newline.  Use pedantic_whitespace.
7156         (_cpp_lex_token): Remove support for -traditional macros.
7157         (_cpp_get_define_token): Delete.
7158         (_cpp_get_directive_token): Do the real work here.  Use
7159         pedantic_whitespace.
7160         (_cpp_init_input_buffer): Initialize pfile->directbuf.
7161
7162         * cpplib.c (get_macro_name): Delete.
7163         (do_define): Read the entire line into pfile->directbuf, then
7164         feed the token list to _cpp_create_definition.
7165         * cpplib.h (HSPACE_BEFORE): new define.
7166         (struct cpp_reader): Add a toklist member, "directbuf".
7167
7168         * predict.c (estimate_probability): New heuristic: if a jump
7169         branches around a block with no successors, predict it taken.
7170         Disentangle control flow.
7171
7172 2000-04-20  Richard Henderson  <rth@cygnus.com>
7173
7174         * loop.c (emit_iv_add_mult): Revert last change.
7175
7176 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
7177
7178         * cpplib.h (enum cpp_ttype): Add token types for all
7179         punctuators.  Distinguish pp-numbers from valid C numbers.
7180         Give some tokens better names.  Initialize from macro.
7181         (struct cpp_name, cpp_token, cpp_toklist): New data
7182         structures.
7183         Update prototypes.
7184         * cpplex.c (bump_column, expand_name_space,
7185         expand_token_space, init_token_list, cpp_output_list,
7186         _cpp_scan_line):  New functions.
7187         (output_line_command): Add third argument, new line number.
7188         * cpphash.h: Update prototypes.
7189         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
7190         token names.
7191
7192 2000-04-20  Richard Henderson  <rth@cygnus.com>
7193
7194         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
7195
7196 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
7197
7198         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
7199         object pointed to.
7200
7201 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7202
7203         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
7204         REG_EQUAL note explaining the calculated value.
7205
7206         * calls.c (expand_call): Avoid unnecesary precalculation
7207         and outgoing parameters space guarding for sibling calls.
7208         (store_one_arg): Likewise.
7209
7210 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7211
7212         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
7213         (rest_of_compilation): Write sibling dump file and account
7214         for time as jump time.
7215         * invoke.texi: Update documentation on dump flags.
7216
7217 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
7218
7219         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
7220
7221 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
7222
7223         * cpphash.c (special_symbol): Represent an empty macro with
7224         "\r \r " not just "\r ".
7225         (_cpp_macroexpand): Correct condition for the foo ( ) special
7226         case.
7227         (unsafe_chars): Handle EOF as second argument.
7228         (push_macro_expansion): Simplify test for removing escape at
7229         end.  Do not trim both escapes if there is no text in between.
7230
7231 2000-04-19  Jim Blandy  <jimb@redhat.com>
7232
7233         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
7234         of PTR_SIZE, when appropriate.
7235
7236 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
7237
7238         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
7239         (USE_ENUM_BITFIELDS): Fix typo.
7240
7241 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7242
7243         * stor-layout.c (place_field): Set rli->offset_align properly.
7244
7245 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7246
7247         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
7248         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
7249         PARM_BOUNDARY): Remove unnecessary casts.
7250
7251 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7252
7253         * calls.c (precompute_arguments): Remove must_preallocate and
7254         args_size calls.
7255         (expand_call): Update call of precompute_arguments.
7256
7257         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
7258         check_insn_for_givs): Break out from ...
7259         (strength_reduce) ... here; use for_every_insn_in_loop to call
7260         check_insn_for_givs.
7261         * loop.h (for_every_insn_in_loop): Declare.
7262         (loop_insn_callback): New type.
7263
7264 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
7265
7266         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
7267         not nul-terminated.
7268
7269 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
7270
7271         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
7272         flag_pic and RELOC.
7273
7274 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
7275
7276         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
7277
7278         * configure.in: Delete --disable-cpplib option and all
7279         references to cpp_main.
7280         * configure: Regenerate.
7281         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
7282         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
7283         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
7284         cpp$(exeext).  Add --no-headers to makeinfo command line when
7285         generating INSTALL.  Install and uninstall cpp.1 manpage, not
7286         cccp.1.
7287         * install.texi: Delete all references to cexp.y/cexp.c.
7288         Delete ancient instructions for compiling GCC on 3b1.
7289         * INSTALL: Regenerate.
7290
7291         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
7292         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
7293         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
7294         cexp.c/cexp.y.
7295         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
7296         which is no longer tested anywhere.
7297
7298         * cppinit.c (handle_option): Don't run error message through
7299         gettext twice.
7300
7301 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7302
7303         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
7304         * cpperror.c (hashtab.h): Now include.
7305         * cppexp.c (hashtab.h): Likewise.
7306         * cpplex.c (hashtab.h): Likewise.
7307         * cppfiles.c (hashtab.h): Likewise.
7308         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
7309         to htab_find_slot_with_hash.
7310         * cpphash.c (hashtab.h): Now include.
7311         (_cpp_lookup_slot): INSERT is now enum insert_option.
7312         * cpphash.h (_cpp_lookup_slot): Likewise.
7313         * cppinit.c (hashtab.h): Include earlier.
7314         (initialize_builtins): Pass enum to htab_find_slot.
7315         * cpplib.c (hashtab.h): Now include.
7316         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
7317         (do_pragma_poison, do_assert): Likewise.
7318         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
7319         htab_find_slot_with_hash.
7320         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
7321         * tree.c (type_hash_add): Likewise.
7322         (build1): Minor cleanup.
7323
7324         * ggc-common.c: Add missing blanks.
7325         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
7326         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
7327
7328         * stmt.c (mark_case_node): New function.
7329         (mark_case_nesting): Call it.
7330
7331         * expmed.c (emit_store_flag): If comparing two-word integer
7332         with zero, can optimize NE, EQ, GE, and LT.
7333
7334         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
7335         * conflict.c: Minor cleanups.
7336         * optabs.c: Add blank line
7337         * simplify-rtx.c: Minor cleanups.
7338
7339 2000-04-18  Stan Cox  <scox@cygnus.com>
7340
7341         * gengenrtl.c (genlegend): Fix misspelling.
7342
7343 2000-04-18  Robert Lipe  <robertlipe@usa.net>
7344
7345         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
7346         bitfields of the host compiler are not signed quantities.
7347         * config.in: Regenerate.
7348         * configure: Regenerate.
7349         * system.h (USE_ENUM_BITFIELDS): Added.
7350         (ENUM_BITFIELDS): Added.
7351         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
7352         (SHORT_ENUM_BUG): Deleted.
7353         * tree.h (tree_common): Members `code', `mode', `built_in_class',
7354         now ENUM_BITFIELD.
7355         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
7356         (CODE_FIELD_BUG): Likewise.
7357         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
7358         (OLD_CC): Likewise.
7359         * config/m68k/x-ccur (X_CFLAGS): Likewise.
7360
7361 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
7362
7363         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
7364         mark is active.
7365
7366 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
7367
7368         * cppexp.c (lex): Don't assume tokens are NUL terminated.
7369         * cpplib.c (do_include, do_import, do_include_next,
7370         read_line_number, detect_if_not_defined): Likewise.
7371         * cpphash.c (collect_expansion): Likewise.
7372         (special_symbol, _cpp_macroexpand): Check return from
7373         cpp_file_buffer.
7374         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
7375         macros.  Delete all uses.
7376
7377         * gcc.dg/cpp-mi.c: Add two more test cases.
7378         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
7379
7380 2000-04-17  Richard Henderson  <rth@cygnus.com>
7381
7382         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
7383         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
7384
7385 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
7386
7387         * function.c (expand_function_start): Use hard_function_value to
7388         compute the RTL to use for DECL_RESULT.
7389
7390 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7391
7392         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
7393         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
7394          x86_memory_mismatch_stall): New global variables.
7395         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
7396         alloved; fix load penalties for Athlon.
7397         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
7398         x86_memory_mismatch_stall): Declare.
7399         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
7400          TARGET_MEMORY_MISMATCH_STALL): New.
7401         * i386.md (athlon scheduling parameters): Fix latencies according to
7402         Athlon Optimization Manual.
7403         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
7404         vector.
7405         (fsqrt instruction patterns): Set athlon_decode to direct.
7406         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
7407         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
7408         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
7409         and TARGET_PARTIAL_REGISTER_STALL machines.
7410         (pushdf_nointeger): New pattern.
7411         (pushdf_integer): Rename from pushdf.
7412         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
7413         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
7414
7415 2000-04-17  Richard Henderson  <rth@cygnus.com>
7416
7417         * loop.c (canonicalize_condition): Add WANT_REG argument.
7418         Stop the search if we match it.
7419         * expr.h (canonicalize_condition): Update decl.
7420         * predict.c (expected_value_to_br_prob): Use it.  Track last
7421         expected value note.
7422         (find_expected_value): Remove.
7423
7424         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
7425
7426 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
7427
7428         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
7429         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
7430         a plain file.
7431         * configure.in: Call AC_FUNC_MMAP_FILE.
7432         * configure: Regenerate.
7433         * config.in: Regenerate.
7434
7435         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
7436         * fixinc/fixincl.c: Likewise.
7437
7438 2000-04-17  Richard Henderson  <rth@cygnus.com>
7439
7440         * builtins.c (expand_builtin_expect): New.
7441         (expand_builtin): Call it.
7442         * builtins.def (BUILT_IN_EXPECT): New.
7443         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
7444         * extend.texi: Document it.
7445
7446         * predict.c (expected_value_to_br_prob): New.
7447         (find_expected_value): New.
7448         * basic-block.h (expected_value_to_br_prob): Declare.
7449         * toplev.c (rest_of_compilation): Invoke it.
7450
7451         * rtl.h (NOTE_EXPECTED_VALUE): New.
7452         (NOTE_INSN_EXPECTED_VALUE): New.
7453         * rtl.c (note_insn_name): Update.
7454         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
7455         cases; handle NOTE_INSN_EXPECTED_VALUE.
7456
7457 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
7458
7459         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
7460         leaf sibcall delay slot if flag_pic.
7461         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
7462
7463 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7464
7465         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
7466
7467         * fixproto: If fix-header fails, exit with an error.
7468
7469 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7470
7471         * cse.c (struct check_depdendence_data): New.
7472         (check_dependence): New function.
7473         (invalidate): Use check_depdenence.
7474
7475 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
7476
7477         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
7478         UNITS_PER_WORD is unsigned.
7479
7480         * tree.h (struct tree_common): Remove misleading comment.
7481
7482 2000-04-16  Dave Pitts  <dpitts@cozx.com>
7483
7484         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
7485         message in quotes. Otherwise, IBM's make program treats the '#' as the
7486         start of a comment and ignores the remainder of the line.
7487
7488         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
7489         upper case.
7490         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
7491         * cexp.y (initialize_random_junk): Likewise.
7492         * cppfiles.c (find_include_file): Cast alloca return value.
7493         * cppinit.c (initialize_standard_includes): Likewise.
7494         * cpplib.c (cpp_define, cpp_undef): Likewise.
7495         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
7496         * final.c (output_asm_insn): Allow for holes in EBCDIC.
7497         * fold-const.c (CHARMASK): New.
7498         (real_hex_to_f): Use it.
7499         * real.c (CHARMASK): New.
7500         (etoasc, asctoeg): Use it.
7501         (asctoeg): EBCDIC lower case characters preceed upper case.
7502
7503         * i370.c (mvs_add_label): Change spacing for coding conventions.
7504         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
7505         outputing case vectors.
7506         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
7507         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
7508         since vector in in the data CSECT.
7509         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
7510         * i370.md (Many patterns): Put the length in the XL directives.
7511         (movdi): Put back STM and MVC in definition.
7512         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
7513         pattern using the TCA.
7514         * oe.h (CPP_SPEC): Added to allow trigraphs.
7515         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
7516         not support the "long long" type.
7517
7518 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
7519
7520         * config/mips/mips-protos.h (mips_legitimate_address_p): New
7521         function.
7522         (mips_reg_mode_ok_for_base_p): Likewise.
7523         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
7524         (REG_OK_FOR_INDEX_P): Define unconditionally.
7525         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
7526         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
7527         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
7528         that GET_MODE_SIZE is unsigned.
7529         (mips_reg_mode_ok_for_base_p): Define.
7530         (mips_legitimate_address_p): Likewise.  Adjust now
7531         that GET_MODE_SIZE is unsigned.
7532         (block_move_loop): Make the number of bytes unsigned.
7533         (expand_block_move): Likewise.
7534         (function_arg): Make the loop counter unsigned to match the
7535         boundary condition.
7536
7537 2000-04-16  Richard Henderson  <rth@cygnus.com>
7538
7539         * rtl.h (enum insn_note): New enumeration.  Subsume
7540         NOTE_INSN_DELETED and friends.
7541         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
7542         * rtl.c (note_insn_name): Tweak string order.
7543
7544 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
7545
7546         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
7547         to offset * 2.
7548
7549         * cpplex.c (output_line_command): Remove debugging prints.
7550         (cpp_output_tokens): Don't write out a zero-length buffer or
7551         try to see if it has a newline in it.
7552         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
7553         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
7554         the end of the loop.  Use memmove.  Don't read past the end of
7555         the buffer.  Remove trailing newlines from error messages.
7556
7557 2004-04-16  Neil Booth  <NeilB@earthling.net>
7558
7559         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
7560         * cpplib.c: Add new syntax flags to directive table, and
7561         supporting macros.
7562
7563 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
7564
7565         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
7566         using ret $N.
7567
7568 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
7569
7570         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
7571         * haifa-sched.c: Update -fsched-verbose comments to use "=".
7572
7573 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7574
7575         * Makefile.in (ggc-page.o): Now includes toplev.h.
7576         * ggc-page.c (toplev.h): Now included.
7577         (gc_time): Remove declaration.
7578         (ggc_collect): TIME now long.
7579         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
7580         others static.
7581         * toplev.h (gc_time, parse_time, gc_time): New declarations.
7582
7583         * toplev.c: Make *_time variable long to reduce chance of overflow.
7584         (TIMEVAR): Likewise for `otime'.
7585         (print_time): Arg is now long; compute percentage in FP and round.
7586         * toplev.h (print_time): Arg is long.
7587
7588         * tree.c: Minor whitespace changes.
7589
7590         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
7591         * configure: Rebuilt.
7592         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
7593         (__fixunsxfDI): Renamed from __fixunsxfdi.
7594         (__fixunsdfDI): Renamed from __fixunsdfdi.
7595         (__fixunssfDI): Renamed from __fixunssfdi.
7596         (__floatdisf): Use proper type in REP_BIT macro.
7597         (__fixunsxfSI): Renamed from __fixunsxfsi.
7598         (__fixunsdfSI): Renamed from __fixunsdfsi.
7599         (__fixunssfSI): Renamed from __fixunssfsi.
7600         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
7601         Change location of macros and upper-case some names as above.
7602         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
7603         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
7604
7605         * varasm.c (assemble_variable): Add cast to remove warning.
7606         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
7607
7608         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
7609         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
7610         region number to -1.
7611
7612 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
7613
7614         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
7615         call unshare_all_rtl.
7616
7617         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
7618
7619 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
7620
7621         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
7622         Use .s1 not .s0 for all FP instructions.
7623
7624 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
7625
7626         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
7627         interfaces.
7628         (safe_fwrite, output_line_command): New static functions.
7629         (cpp_expand_to_buffer): Now private to cpplib.
7630         (cpp_scan_buffer): Take a printer.
7631
7632         * cpphash.h: Update prototypes.
7633         * cpplib.h: Update prototypes.
7634         (cpp_printer): New.
7635         (cpp_buffer): Remove last_nominal_fname.
7636         (cpp_reader): Remove lineno.
7637
7638         * cppmain.c: Use a cpp_printer.
7639         * fix-header.c: No need to inhibit line commands.  Call
7640         cpp_start_read with no printer.
7641
7642         * cpperror.c (cpp_notice_from_errno): Provide default name.
7643         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
7644         (find_include_file, cpp_read_file): Use make_IHASH.
7645         (file_cleanup): Set control_macro and clear
7646         input_stack_listing_current here.
7647         (_cpp_execute_include): Don't output entering-file marker.
7648         * cpphash.c (special_symbol): Look for the line number in the
7649         buffer, not the reader.
7650         (_cpp_macroexpand): No need to disable line commands.
7651         (_cpp_dump_definition): No need to generate line commands.
7652         (dump_hash_helper): Remove excess newline from output.
7653         * cppinit.c (dump_special_to_buffer): No need to generate line
7654         commands.
7655         (cpp_printer_init): New.
7656         (cpp_start_read): Take a printer, and start it up if it's not
7657         NULL.  No need to generate line commands.
7658         (cpp_finish): Expect no buffers stacked at all.  Take a
7659         printer argument, and flush the output buffer if it's not
7660         NULL.
7661         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
7662         Don't put two hashes at the beginning of an assertion.
7663         (cpp_get_token): Don't increment pfile->lineno or emit line
7664         commands here.  Return EOF if there's no buffer when we get
7665         EOF.
7666         * cpplib.c (do_define, skip_if_group):
7667         No need to disable line commands.
7668         (_cpp_output_line_command): Delete function.
7669         (do_line): Don't emit line commands here, but set things up so
7670         they will be emitted if necessary.  Use _cpp_fake_ihash to
7671         make unique nominal_fnames if necessary.
7672         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
7673         with 0 for column, not -1.
7674         (_cpp_handle_eof): Don't set the control macro here.  Don't
7675         clear input_stack_listing_current here.  Don't emit line
7676         commands.
7677
7678 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
7679
7680         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
7681         always, use the default SVR4 start address.
7682
7683         * config/rs6000/linux.h (LINK_SPEC): Don't define.
7684         (LINK_SHLIB_SPEC): Define.
7685         (LINK_START_DEFAULT_SPEC): Define.
7686         (LINK_OS_DEFAULT_SPEC): Define.
7687
7688         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
7689
7690         * config/rs6000/eabi.asm (__eabi): Call __init rather than
7691         __do_global_ctors to handle constructors.
7692         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
7693         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
7694         (STARTFILE_MVME_SPEC): Likewise.
7695         (STARTFILE_SIM_SPEC): Likewise.
7696         (ENDFILE_ADS_SPEC): Use crtend.
7697         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
7698         (ENDFILE_MVME_SPEC): Likewise.
7699         (ENDFILE_SIM_SPEC): Likewise.
7700         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
7701         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
7702         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
7703         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
7704         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
7705         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
7706         (CRTSTUFF_T_CFLAGS_S): Define.
7707         * config/rs6000/eabi-ctors.c: Delete.
7708
7709         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
7710         boundary.
7711         (__fini): Likewise.
7712         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
7713         boundary.
7714         (__fini): Likewise.
7715
7716 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
7717
7718         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
7719         plus mask size is smaller or equal to the mode size.
7720
7721 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7722
7723         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
7724         not yet set.
7725
7726         * expr.c (reload.h): Now included.
7727         (emit_block_move): Set volatile_ok when checking for movstr.
7728         (emit_move_1): Check for replacements in addresses in multi-word case.
7729         * Makefile.in (expr.o): Now includes reload.h.
7730
7731         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
7732         Never have a LIBCALL end a basic block.
7733         (find_basic_blocks_1): Likewise.
7734         Reorganize CALL_INSN cases.
7735
7736         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
7737
7738 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
7739
7740         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
7741         completers from mov.ret instruction.
7742
7743 2000-04-14  Richard Henderson  <rth@cygnus.com>
7744
7745         * fold-const.c (extract_muldiv): Don't distribute and widen
7746         multiply across plus for non-sizetype unsigned types.
7747
7748 2000-04-14  Richard Henderson  <rth@cygnus.com>
7749
7750         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
7751         If the original source is dead in the incr insn, it's dead now.
7752
7753 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7754
7755         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
7756         see if DECL_BIT_FIELD needs to still be set.
7757
7758         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
7759
7760         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
7761         print_int_cst_octal with something that's not an INTEGER_CST.
7762
7763         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
7764         and not a SUBREG to a FLOAT rtl.
7765
7766 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
7767
7768         * emit-rtl.c (try_split): Avoid infinite loop if the split
7769         results in a sequence that contains the original insn.
7770
7771 2000-04-13  Andreas Jaeger  <aj@suse.de>
7772
7773         * config/mips/mips.c (expand_block_move): Pass alignment
7774         argument to move_by_pieces in bits, not bytes.
7775
7776         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
7777         __pic__ for little endian.
7778
7779 2000-04-13  Andreas Jaeger  <aj@suse.de>
7780
7781         * config/i386/i386-protos.h: Add prototype for
7782         uno_comparison_operator.
7783
7784 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7785
7786         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
7787         * calls.c (ECF_PURE): New flag.
7788         (emit_call_1): Handle ECF_PURE calls.
7789         (initialize_argument_information): Unset ECF_PURE flag too.
7790         (precompute_arguments): Precompute for ECF_PURE too.
7791         (expand_call): Handle ECF_PURE calls too.
7792         (emit_library_call_value_1): Rename no_queue argument to fn_type,
7793         accept value of 2 as pure function.
7794         (emit_library_call_value, emit_library_call): Rename no_queue argument
7795         to fn_type.
7796         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
7797
7798         * tree.h (DECL_IS_PURE): New macro.
7799         (struct tree_decl): Add pure_flag.
7800         * c-common.c (enum attrs): Add attribute "pure".
7801         (init_attributes): Initialize attribute "pure"
7802         (decl_attributes): Handle attribute "pure".
7803         * extend.texi (Attribute "pure"): Document.
7804         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
7805         in pure function.
7806         (flags_from_decl_or_type): Support attribute "pure".
7807
7808 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
7809
7810         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
7811         the token except for numbers and identifiers.
7812
7813 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
7814
7815         * i386.c (ix86_expand_binary_operator,
7816         ix86_expand_unary_operator): Check no_new_pseudos
7817         instead of reload_in_progress and reload_completed.
7818         (ix86_split_ashldi, ix86_split_ashrdi,
7819         ix86_split_lshrdi): Check no_new_pseudos instead
7820         of reload_completed.
7821
7822 2000-04-12  Jeffrey A Law  (law@cygnus.com)
7823
7824         * function.c (purge_addressof): Unshare any shared rtl created by
7825         purge_addressof and its children.
7826
7827 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
7828
7829         * function.c (aggregate_value_p): VOID_TYPE nodes are never
7830         aggregates.
7831
7832 2000-04-05  Andreas Jaeger  <aj@suse.de>
7833
7834         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
7835         not compiling PIC code, add flags for mabi=64.
7836         (SUBTARGET_CPP_SIZE_SPEC): New.
7837         (SUBTARGET_CPP_SPEC): New.
7838         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
7839         for MIPS/Linux and lots of code needs these defines.
7840
7841 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
7842
7843         * reorg.c (fill_slots_from_thread): Check side_effects_p when
7844         trying the "opposite arithmetic" approach.
7845
7846 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7847
7848         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
7849         (struct sh_args): Add new field force_mem.
7850         (INIT_CUMULATIVE_ARGS): Initialize it.
7851         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
7852
7853 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7854
7855         * calls.c (expand_call): Do not reverse args in "equal from" field.
7856         (emit_library_call_value_1): Emit_libcall_block for const and pure
7857         function.
7858
7859 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7860
7861         * reload1.c (reload_combine): Don't enable optimization for fixed
7862         registers when encountering a BARRIER.
7863
7864 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7865
7866         * builtins.c (expand_builtin_memcmp): Do expansion even with
7867         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
7868
7869         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
7870         stack is propertly aligned; add sanity checking for aligned
7871         stack pointer.
7872         (expand_library_call_value_1): Add sanity checking for aligned
7873         stack pointer.
7874
7875 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
7876
7877         * calls.c (emit_library_call_value_1): Change 3rd arg to
7878         locate_and_pad_parm to disregard the setting of partial.
7879
7880 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7881
7882         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
7883
7884         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
7885         CALL_INSN from the normal case.
7886
7887 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
7888
7889         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
7890         New global variables.
7891         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
7892         adjustment.
7893         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
7894         Declare,
7895         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
7896          TARGET_ADD_ESP_8): New macros.
7897         * i386.md: Add peep2s to convert esp adjustments to push and pop
7898         instructions.
7899         (pushsi_prologue, popsi_epilogue): New patterns.
7900
7901 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
7902
7903         * real.c (toe64): Remove stale #endif from the last change.
7904
7905 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
7906
7907         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
7908         * real.c (toe64): Revert previous change.
7909
7910 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
7911
7912         * objc/objc-act.c: Include ggc.h.
7913         (objc_tree_index, objc_global_trees): Convert most of the
7914         static tree variables into a static array with previous names
7915         as defines.
7916         (objc_ellipsis_node): New variable.
7917         (lang_init): Call objc_act_parse_init and c_parse_init.
7918         Create objc_ellipsis_node.
7919         (build_selector_translation_table): Use objc_ellipsis_node instead
7920         of (tree)1.
7921         (hack_method_prototype): Likewise.
7922         (get_arg_type_list): Likewise.
7923         (start_method_def): Likewise.
7924         (continue_method_def): Likewise.
7925         (gen_method_decl): Likewise.
7926         (ggc_mark_imp_list): New function.
7927         (ggc_mark_hash_table): New function.
7928         (objc_act_parse_init): New function.
7929         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
7930         * c-parse.in (c_parse_init): For objc add roots of objc specific
7931         local tree variables.
7932         * objc/objc-parse.y: Rebuilt.
7933         * objc/objc-parse.c: Rebuilt.
7934         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
7935
7936 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
7937
7938         * cse.c (delete_trivially_dead_insns): Also delete insns
7939         that copy a register to itself where the destination is
7940         a strict_low_part.
7941
7942 2000-04-11  Richard Henderson  <rth@cygnus.com>
7943
7944         * flow.c (struct propagate_block_info): Add new_dead, new_live.
7945         (propagate_block): Initialize them.  Use them in parallel instead
7946         of one tmp variable, ie revert much of the 0408 and 0407 functional
7947         changes, but keep the structural changes.
7948         (mark_set_regs): Take new_dead from propagate_block_info instead.
7949         (mark_set_1, mark_set_reg): Likewise.
7950         (mark_used_regs): Likewise with new_live.
7951         (mark_used_reg): Likewise.  Revert 0408 change.
7952
7953 2000-04-11  Nick Clifton  <nickc@cygnus.com>
7954
7955         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
7956         restriction.
7957         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
7958
7959 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7960
7961         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
7962         const section to output a CONSTRUCTOR based on the same conditions
7963         used for VAR_DECLs.
7964
7965 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
7966
7967         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
7968         * pa/pa-protos.h (output_call): Add additional argument indicating
7969         if the call is a sibling/tail call.
7970         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
7971         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
7972         (function_arg, function_arg_partial_nregs): Likewise
7973         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
7974         (emit_move_sequence): Zero extend certain constants as needed
7975         for TARGET_64BIT.
7976         (compute_zdepdi_operands, output_64bit_and): New functions.
7977         (output_64bit_ior, function_arg): Likewise.
7978         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
7979         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
7980         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
7981         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
7982         (output_bvb): Likewise.
7983         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
7984         (output_call): New argument 'sibcall'.  Generate sibcall sequences
7985         as needed.
7986         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
7987         (ouput_arg_descriptor): Do not emit argument descriptors for
7988         TARGET_64BIT.
7989         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
7990         defined.
7991         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
7992         (FUNCTION_OK_FOR_SIBALL): Define.
7993         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
7994         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
7995         (CPP_SPEC): Use new spec infrastructure.
7996         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
7997         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
7998         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
7999         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
8000         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
8001         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
8002         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
8003         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
8004         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
8005         (FUNCTION_ARG); Call out to C code.
8006         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
8007         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
8008         (MIN_UNITS_PER_WORD): Likewise.
8009         * pa/pa.md (cmpdi): New expander.
8010         (scc patterns, movstrsi): Not available for TARGET_64BIT.
8011         (64bit conditional arithmetic): New patterns.
8012         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
8013         (movsicc): Not available if modes on all the operands to not match.
8014         (movdicc): New expander and associated patterns.
8015         (64bit branches): New patterns.
8016         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
8017         (pre_ldd, post_std): New patterns.
8018         (64bit addil, load low part): New patterns.
8019         (special movsf constant): Not available for TARGET_64BIT.
8020         (movsf, movdf expanders): Force constants into memory.
8021         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
8022         (64bit movdf/movdi patterns): New patterns.
8023         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
8024         for TARGET_64BIT.
8025         (extendqidi2, extendhidi2, extendsidi2): Similarly.
8026         (adddi3 expander): Allow "arith_operand" for second input.
8027         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
8028         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
8029         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
8030         (muldi3): New expander for TARGET_64BIT.
8031         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
8032         for TARGET_64BIT.
8033         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
8034         patterns for TARGET_64BIT.
8035         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
8036         patterns for TARGET_64BIT.
8037         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
8038         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
8039         (sibcall_epilogue): New expander.
8040         (casesi): Tweak for TARGET_64BIT.
8041         (call expanders): Set & use the outgoing argument pointer.  Use the
8042         64bit call patterns as needed. Add additional arg to output_call.
8043         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
8044         (sibcall, sibcall_internal_symref): New expanders.
8045         (sibcall_value, sibcall_value_internal_symref
8046         (interspace_jump): Turn into an expander + matching patterns.
8047         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
8048         * pa/pa64-regs.h: Eliminate trigraph sequences.
8049         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
8050
8051 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
8052
8053         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
8054         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
8055         cpp_token with cpp_ttype everywhere.
8056         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
8057         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
8058         CPP_BUF_COL.  Line and column numbers are unsigned int, not
8059         long.
8060         * cpplex.c (cpp_buf_line_and_col): Delete.
8061         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
8062         'long lineno' to 'unsigned int lineno'.
8063         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
8064
8065 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8066
8067         * extend.texi: ISO C99 is not a draft anymore.
8068         * invoke.texi: ISO C++ is not a draft anymore.
8069         * cpp.texi: __cplusplus is required by the ISO standard.
8070
8071         * extend.texi (-fthis-is-variable): Undocument.
8072         * flags.h (warn_template_debugging): Remove declaration.
8073         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
8074         -Wenum-clash, -Wtemplate-debugging): Undocument.
8075
8076 2000-04-10  Nick Clifton  <nickc@cygnus.com>
8077
8078         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
8079         integer.
8080         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
8081         integer.
8082         (ARM_SIGN_EXTEND): Use HOST_UINT.
8083         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
8084         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
8085         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
8086         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
8087
8088         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
8089         (arm_gen_constant): Use HOST_UINT.
8090         (arm_canonicalize_constant): Use HOST_UINT.
8091         (arm_reload_in_hi): Use HOST_UINT.
8092         (arm_reload_out_hi): Use HOST_UINT.
8093         (output_multi_immediate): Use HOST_UINT.
8094         (int_log2): Use HOST_UINT.
8095         (arm_poke_function_name): Use HOST_UINT.
8096         (arm_output_epilogue): Use arm_volatile_func().
8097         (output_thumb_prologue): Use arm_strip_name_encoding().
8098
8099 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8100
8101         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
8102         of sequence point problems.
8103
8104 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
8105
8106         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
8107         Recomment.
8108         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
8109
8110 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8111
8112         * sbitmap.h: Whitespace changes and use upper-case macro args.
8113         (struct simple_bitmap_def): All sizes now unsigned.
8114         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
8115         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
8116         (sbitmap_vector_alloc): Parms and local vars now unsigned.
8117         (sbitmap_zero): Cast bzero arg to PTR.
8118         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
8119         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
8120         loop to make structure clearer.
8121         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
8122         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
8123         (sbitmap_a_and_b_or_c): Likewise.
8124         (sbitmap_intersection_of_succs): Minor cleanups.
8125         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
8126         (sbitmap_union_of_preds): Likewise.
8127         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
8128         (debug_sbitmap): New function.
8129
8130         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
8131         * c-typeck.c (convert_for_assignment): Likewise.
8132
8133         * expmed.c (init_expmed): Don't free objects we make.
8134         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
8135
8136         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
8137         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
8138
8139         * gcse.c (expr_hash_table_size): Now unsigned.
8140         (compute_ae_gen): Local variable `i' now unsigned.
8141         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
8142         (compute_transout, hoist_code): Likewise.
8143         (compute_local_properties): Likewise, also hash_table_size.
8144         (alloc_expr_hash_table): N_INSNS now unsigned.
8145         (delete_null_pointer_checks): Mark arg F as unused.
8146
8147         * regrename.c: Minor cleanups, including chang some variables
8148         to unsigned int.
8149
8150 2000-04-10  Neil Booth  <NeilB@earthling.net>
8151
8152         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
8153         than GETC ().
8154         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
8155
8156 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8157
8158         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
8159         __classof__, and __headof__ from the list of gnu keywords.
8160         (-ansi): Remove -foperator-names from list of implied options.
8161         Do not call it ANSI C++.
8162         (-foperator-names): Document as -fno-operator-names.
8163
8164 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
8165
8166         * cpphash.c (timestamp): Delete.
8167         (del_HASHNODE): If type is T_MCONST, free value.cpval.
8168         (special_symbol): Remove unnecessary braces.  Remove
8169         T_VERSION.  Treat T_STDC like T_CONST unless
8170         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
8171         when one is encountered, then convert them into T_MCONST
8172         nodes.
8173         * cppinit.c (builtin_array): version_string is T_MCONST.
8174         __STDC__ has a "1" in its cpval.  Don't have a terminator
8175         entry.  Clean up which entries are dumped.
8176         (initialize_builtins): Only __STDC__ gets the special
8177         -traditional treatment.  Count the length of builtin_array.
8178         Render version_string here.
8179         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
8180         * cpplib.h (struct cpp_reader): Remove timebuf.
8181
8182 2000-04-09  Richard Henderson  <rth@cygnus.com>
8183
8184         * genrecog.c (pred): Update comparison_operator for the unordered
8185         operators.
8186
8187         * config/i386/i386.c (no_comparison_operator): Disallow unordered
8188         operators.
8189         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
8190         (uno_comparison_operator): New.
8191         (put_condition_code): Handle UNORDERED/ORDERED.
8192         (unsigned_comparison): Likewise.
8193         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
8194         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
8195         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
8196         update all callers.  Handle all 8 unordered operators.
8197         (ix86_expand_setcc): Lose the unordered argument, update all callers.
8198         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
8199         * config/i386/i386.h (PREDICATE_CODES): Update.
8200         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
8201         (ix86_expand_branch, ix86_expand_setcc): Update.
8202         * config/i386/i386.md (sunordered, sordered): New.
8203         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
8204         (bunordered, bordered): New.
8205         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
8206         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
8207         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
8208
8209 2000-04-09  Philip Blundell  <philb@gnu.org>
8210
8211         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
8212
8213 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
8214
8215         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
8216         fix_truncxfhi2): New patterns.
8217         * i386.c (output_fix_trunc): Handle converting to HImode.
8218
8219 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
8220
8221         * ssa.c (convert_to_ssa): Eliminate dead code when calling
8222         life_analysis.
8223         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
8224         (for_each_successor_phi): Change parameter to basic_block.
8225         (coalesce_regs_in_successor_phi_nodes): Likewise.
8226         (coalesce_regs_in_copies): Likewise.
8227         (compute_coalesced_reg_partition): Use basic_block instead of index.
8228         * rtl.h (convert_to_ssa): Delete.
8229         (convert_from_ssa): Likewise.
8230         (successor_phi_fn): Likewise.
8231         (for_each_successor_phi): Likewise.
8232         (in_ssa_form): Likewise.
8233         * basic-block.h (convert_to_ssa): Moved from rtl.h.
8234         (convert_from_ssa): Likewise.
8235         (successor_phi_fn): Likewise.
8236         (in_ssa_form): Likewise.
8237         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
8238         * flow.c (calculate_global_regs_live): Pass a basic_block to
8239         for_each_successor_phi.
8240
8241 2000-04-08  Richard Henderson  <rth@cygnus.com>
8242
8243         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
8244         was modified in the current insn.
8245
8246 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
8247
8248         * arm/thumb.md: Delete.
8249         * arm/thumb-protos.h: Delete.
8250
8251 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
8252
8253         Merge changes from merged-arm-thumb-backend-branch onto trunk.
8254
8255         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
8256
8257         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
8258         into branch.
8259
8260         * arm.md (nop): Use the standard RTL expression.  Don't code as a
8261         define_expand.
8262         (*arm_nop, *thumb_nop): Delete.
8263
8264         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
8265         constants.  Use casts instead.
8266         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
8267         output_multi_immediate, arm_poke_function_name): Likewise.
8268         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
8269         MASK_RETURN_ADDDR): Likewise.
8270
8271         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
8272
8273         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
8274         into branch.
8275
8276         * arm.md (eh_epilogue): New function.
8277         * arm.h (struct machine_function): Move to here ...
8278         * arm.c: ... from here.
8279         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
8280         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
8281         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
8282
8283         2000-03-30  Nick Clifton  <nickc@cygnus.com>
8284
8285         * config/arm/semi.h (ASM_SPEC): Restore definition.
8286         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
8287
8288         * config/arm/elf.h (ASM_SPEC): Restore definition.
8289         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
8290
8291         * config/arm/arm.h (ASM_SPEC): Remove definition.
8292         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
8293
8294         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
8295
8296         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
8297
8298         2000-03-24  Nick Clifton  <nickc@cygnus.com>
8299
8300         Various formating tidyups, elimination of compile time
8301         warnings and synchronisation with internal sources:
8302
8303         * config/arm/arm-protos.h (assemble_align): Add prototype.
8304         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
8305         (gen_comapre_reg): Rename to arm_gen_compare_reg.
8306         (arm_return_addr_rtx): Rename to arm_return_addr.
8307
8308         * config/arm/arm.c: Include except.h.
8309         Define shorter typenames for strict minipool_node and struct
8310         minipool_fix.
8311         (arm_return_in_memory): For WinCE return all structures <= 32 bits
8312         in memory.
8313         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
8314         (gen_comapre_reg): Rename to arm_gen_compare_reg.
8315
8316         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
8317         already defined.
8318         (ASM_SPEC): Define if not already defined.
8319         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
8320
8321         * config/arm/arm.md: Rename references to gen_rotated_half_load to
8322         arm_gen_rotated_half_load, and references to gen_comapre_reg to
8323         arm_gen_compare_reg.
8324         (indirect_jump):  Only accept register operands.
8325         (load_indirect_jump): Keep this pattern since combine can generate
8326         it.
8327
8328         * config/arm/coff.h: Include aout.h.
8329         (MULTILIB_DEFAULTS): Only define if not already defined.
8330
8331         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
8332         into arm.h (so that COFF ports can support thumb based aliases).
8333         (ASM_SPEC): Move definition into arm.h
8334
8335         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
8336         redundant apcs spec.
8337         (ASM_SPEC): Move definition to arm.h
8338
8339         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
8340
8341         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
8342         for entries in the .bss section
8343
8344         2000-03-23  Nick Clifton  <nickc@cygnus.com>
8345
8346         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
8347         to thumb_far_jump_used_p.
8348
8349         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
8350         single integer parameter.
8351
8352         * config/arm/arm.c (struct machine_function): Add two new
8353         fields, 'far_jump_used' and 'arg_pointer_live'.
8354         (thumb_far_jump_used_p): Once the decision has been made that
8355         far jumps might be used, always return true.
8356         If being called from the initial elimination offset macro then
8357         do not bother to perform the test if the arg pointer is not
8358         being used.
8359         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
8360         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
8361
8362         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
8363
8364         * arm.c (output_return_instruction): Handle more cases where we can
8365         return from a function with an ldr instruction.
8366         (arm_output_epilogue): Likewise.
8367
8368         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
8369         if we need to push a large stack frame and there are no callee-saved
8370         registers.
8371
8372         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
8373         in ARM code if the frame pointer has been eliminated.
8374
8375         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
8376         unspec_volatile arguments to avoid duplicates.
8377         (consttable_1, consttable_2): Fixes for big-endian mode.
8378
8379         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
8380         as appropriate.
8381
8382         Re-write constant pool code.
8383         * arm.c (minipool_node, minipool_fix): New types.
8384         (minifix): Delete type.
8385         (arm_add_minipool_constant): Delete.
8386         (arm_compute_minipool_offsets, arm_find_barrier,
8387         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
8388         (get_jump_table_size): Now returns HOST_WIDE_INT.
8389         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
8390         functions.
8391         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
8392         (assign_minipool_offsets, arm_print_value): Likewise.
8393         (dump_minipool): Rewrite.
8394         (arm_barrier_cost): New function.
8395         (create_fix_barrier): New function.
8396         (push_minipool_barrier): New function.
8397         (push_minipool_fix): Record additional information about the fixup
8398         required.
8399         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
8400         check the mode of what needs fixing.
8401         (arm_reorg): Rewrite.
8402
8403         2000-03-08  Nick Clifton  <nickc@cygnus.com>
8404
8405         * config/arm/arm.md (indirect_jump): Force constant addresses into
8406         a register.
8407
8408         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
8409
8410         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
8411
8412         2000-02-24  Nick Clifton  <nickc@cygnus.com>
8413
8414         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
8415         adjust is word aligned.
8416         (thumb_expand_epilogue): Make sure that stack adjust is word
8417         aligned.
8418
8419         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
8420
8421         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
8422
8423         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
8424         pointer relative addresses.
8425
8426         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
8427
8428         * arm.c (find_barrier): Find the last barrier within the allowed
8429         range.
8430
8431         2000-02-09  Nick Clifton  <nickc@cygnus.com>
8432
8433         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
8434
8435         2000-02-09  Nick Clifton  <nickc@cygnus.com>
8436
8437         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
8438         ARM_FUNCTION_PROFILER.
8439
8440         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
8441         ARM_FUNCTION_PROFILER.
8442
8443         * config/arm/linux-oldld.h: Imported from mainline sources.
8444
8445         2000-02-07  Nick Clifton  <nickc@cygnus.com>
8446
8447         * config/arm/lib1funcs.asm: Merge in thumb functions from
8448         lib1thumb.asm.
8449
8450         * config/arm/lib1thumb.asm: Delete.
8451
8452         2000-02-04  Nick Clifton  <nickc@cygnus.com>
8453
8454         * config/arm/arm.c: Sychronised with current Red hat local
8455         sources.
8456         * config/arm/arm.h: Ditto.
8457         * config/arm/arm-protos.h: Ditto.
8458
8459         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
8460
8461         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
8462
8463         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
8464         byte stores.
8465
8466         2000-02-02  Nick Clifton  <nickc@cygnus.com>
8467
8468         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
8469
8470         * config/arm/arm.md (epilogue): Fix rtl checking abort because
8471         (return) was emited using an emit_insn() call.
8472
8473         2000-01-31  Nick Clifton  <nickc@cygnus.com>
8474
8475         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
8476         thumb stack frame.
8477         (thumb_exit): Move frame pointer back into hard frame pointer
8478         register if backtracing is being used.
8479
8480         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
8481
8482         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
8483         into branch.
8484
8485         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
8486
8487         * config/arm/arm.md (neg_pool_offset): Provide default for new
8488         attribute.
8489         (arm_movsi_insn): Add neg_pool_offset attribute.
8490         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
8491         rtx for the insn that starts the scan and an unsigned long for its
8492         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
8493         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
8494         instructions in *PINSERTED.
8495         (struct minipool_fixup): Add MIN_ADDRESS elt.
8496         (sort_fixups): Compute it.
8497         (arm_reorg): Changes to support inserting pools before the insn to be
8498         fixed up.
8499
8500         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
8501
8502         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
8503         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
8504         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
8505
8506         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
8507
8508         * config/arm/semi.h (TARGET_VERSION): Do not define if already
8509         defined.
8510         (TARGET_DEFAULT): Do not define if already defined.
8511
8512         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
8513
8514         * config/arm/arm.md (anddi3): Allow disjoint source operands.
8515         (iordi3): Allow disjoint source operands.
8516         (xordi3): Allow disjoint source operands.
8517         (negdi2): Permit construction for ARM and Thumb.
8518         (arm_negdi2): Renamed version of old negdi2 pattern.
8519         (thumb_negdi2): New pattern: Only permit non-overlapping
8520         source and destination.
8521
8522         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
8523
8524         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
8525         scratch low register so that it will not be deleted.
8526
8527         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
8528
8529         * config/arm/pe.h (ARM_PE): Define.
8530
8531         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
8532         interfacearm attribute if this is a PE toolchain.
8533         (output_return_instruction): Do not emit anything if the function
8534         has the naked attribute set.
8535         (is_called_in_ARM_mode): If the function has the interfacearm
8536         attribute then return true.
8537         (thumb_expand_prologue): Do not generate a prologue for naked
8538         functions.
8539         (thumb_expand_epilogue): Do not generate an epilogie for a naked
8540         function.
8541         (output_thumb_prologue): Do not bother if the function is naked.
8542         Strip PE encoding from function name before emitting.
8543
8544         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
8545
8546         * arm.md (pic_load_addr): Fix constraints.
8547
8548         * arm.md (casesi_insn): Fix mis-applied patch.
8549
8550         * arm.md ("core" function unit): Add rules for single- and
8551         multi-cycle insns.
8552         (All TARGET_THUMB patterns): Add "type" attribute information
8553         where needed.
8554         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
8555         the following insn is a CALL.
8556
8557         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
8558         pointer.
8559         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
8560         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
8561         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
8562
8563         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
8564
8565         * config/arm/linux-gas.h: oops - this file was missed out when the
8566         branch was created...
8567
8568         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
8569
8570         * thumb.c: Deleted.  Move contents to ...
8571         * arm.c: ... here.
8572         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
8573         rule for thumb.o
8574         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
8575         * configure: Regen.
8576
8577         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
8578         declare a prototype for asm_output_align();
8579
8580         * arm.c (thumb_condition_code): Delete.
8581         (arm_print_operand): Always use arm_condition_code array.
8582
8583         * arm.c (thumb_return_addr_rtx): Delete.
8584         (arm_save_machine_status, arm_restore_machine_status): Delete.
8585         (arm_init_machine_status, arm_mark_machine_status): New functions.
8586         (arm_init_expanders): Update accordingly.
8587         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
8588         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
8589         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
8590
8591         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
8592
8593         * configure.in : Fix arm-*-aout target to use new t-arm-aout
8594         script.
8595         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
8596         targets.
8597
8598         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
8599
8600         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
8601         stack backtrace structure.
8602
8603         * config/arm/arm-protos.h: Add prototypes for functions defined in
8604         arm/pe.h.
8605
8606         * config/arm/arm.c (arm_override_options): Fix selection of
8607         attributes of default processor.
8608
8609         * config/arm/coff.h: Delete needless #include.
8610
8611         * config/arm/pe.c: Delete unused code.
8612
8613         * config/arm/pe.h (CPP_DEFINES): Delete
8614         (SUBTARGET_CPP_SPEC): Define.
8615         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
8616
8617         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
8618
8619         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
8620
8621         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
8622         updated.
8623         (CAN_DEBUG_WITHOUT_FP): Define.
8624         (FIXED_REGISTERS): Make r11 call-saved.
8625         (CALL_USED_REGISTERS): Likewise.
8626         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
8627         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
8628         frame-pointer is required.
8629         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
8630         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
8631         if the target normally needs a stack frame in non-leaf functions.
8632         (use_return_insn): Correct logic for determining when a return
8633         instruction can be used.
8634         (output_return_instruction): Handle the frame-pointer register as
8635         a normal register when not TARGET_APCS_FRAME.
8636         (arm_output_prologue): Likewise.
8637         (arm_output_epilogue): Likewise.
8638         (output_func_epilogue): Likewise.
8639         (arm_expand_prologue): Likewise.
8640         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
8641
8642         * arm.c (use_return_insn): No need to check floating point regs if
8643         TARGET_SOFT_FLOAT.
8644         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
8645         the code of value stored in the minipool array.
8646         (arm_add_minipool_constant): Likewise.
8647
8648 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8649
8650         * basic-block.h (conflict_graph_enum_fn): K&R fix.
8651
8652 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8653
8654         * tree.c (tree_expr_nonnegative_p): New function.
8655
8656         * tree.h (tree_expr_nonnegative_p): Declare.
8657
8658         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
8659         elide some sign_compare warnings.
8660         (build_conditional_expr): Likewise.
8661
8662 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
8663
8664         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
8665
8666         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
8667         * i386.c (print_operand): Use the proper suffix for a 387 HImode
8668         operand.  Abort if a 387 operand has an unsupported size.
8669
8670 2000-04-08  Neil Booth  <NeilB@earthling.net>
8671
8672         * cppexp.c (parse_charconst): Null does not end character
8673         constants.
8674         * cppinit.c (ISTABLE): Null character handled as whitespace.
8675         * cpplex.c (null_warning):  new function.
8676         (skip_string): Emit warning if nulls encountered.
8677         (_cpp_skip_hspace): Emit warning if nulls encountered.
8678         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
8679         them.
8680         * cpp.texi: Update.
8681
8682 2000-04-07  Richard Henderson  <rth@cygnus.com>
8683
8684         * flow.c (loop_depth): Remove.
8685         (reg_next_use, cc0_live, mem_set_list): Replace with ...
8686         (struct propagate_block_info): New.
8687         (life_analysis): Don't allocate reg_next_use.
8688         (propagate_block_delete_insn): Break out of propagate_block.
8689         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
8690         (propagate_block_delete_libcall): Likewise.
8691         (propagate_block): Create a propagate_block_info struct to pass
8692         to subroutines.  Allocate one not two temporary regsets.  Don't
8693         clobber memory for const calls.  Look for clobbers in
8694         CALL_INSN_FUNCTION_USAGE.
8695         (mark_set_regs): Recognize COND_EXEC.
8696         (mark_set_reg): Break out of mark_set_1.
8697         (mark_used_reg): Break out of mark_used_regs.
8698         (mark_used_regs): Recognize COND_EXEC.
8699         (insn_dead_p): Use propagate_block_info struct.
8700         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
8701         (find_auto_inc, try_pre_increment_1): Likewise.
8702         (print_rtl_with_bb): Dump regs live at end too.
8703         (count_reg_sets_1): Pass in loop_depth.
8704         (count_reg_sets, count_reg_references): Likewise.
8705         (recompute_reg_usage): Provide it.
8706
8707 2000-04-07  Richard Henderson  <rth@cygnus.com>
8708
8709         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
8710         not the raw files.
8711
8712 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
8713
8714         * cpplib.c (do_elif): Skip the rest of the line if we're
8715         not going to bother evaluating it.
8716         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
8717         to avoid pointless calls to the lexer.
8718
8719 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
8720
8721         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
8722
8723 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
8724
8725         * calls.c (expand_call): emit_queue if we're trying a sibcall.
8726
8727 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
8728
8729         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
8730
8731 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
8732
8733         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
8734         crtend so they can be multilibbed.
8735         (STAGESTUFF): Remove s-crt and s-crtS.
8736
8737 2000-04-07  Richard Henderson  <rth@cygnus.com>
8738
8739         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
8740         if we discover we need a pseudo and no_new_pseudos is true.
8741         * config/alpha/alpha.md (ne:DI insn): New.
8742         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
8743
8744 2000-04-07  Richard Henderson  <rth@cygnus.com>
8745
8746         * rtl.def (COND_EXEC): New.
8747         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
8748         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
8749
8750         * genconfig.c (have_cond_arith_flag): Remove.
8751         (have_cond_exec_flag): New.
8752         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
8753         (main): Print HAVE_conditional_execution.
8754
8755         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
8756         (sched_analyze_insn, print_pattern): Likewise.
8757         * reload.c (find_equiv_reg): Likewise.
8758         * rtlanal.c (reg_referenced_p): Likewise.
8759         (note_stores, dead_or_set_regno_p): Likewise.
8760         (reg_overlap_mentioned_p): Rewrite to use a switch.
8761
8762         * ggc.h (struct rtx_def): Forward declare.
8763
8764         * print-rtl.c (debug_rtx_range): New.
8765         * rtl.h (debug_rtx_range): Declare.
8766
8767         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
8768
8769         * gcse.c (gcse_main): Don't rebuild the CFG here.
8770         (delete_null_pointer_checks): Likewise.
8771         * ssa.c (convert_to_ssa): Likewise.
8772         * toplev.c (rest_of_compilation): Do it here instead.  Combine
8773         sequential calls to TIMEVAR.  Consistently use `insns' instead of
8774         `get_insns()'.  Always split insns after reload when optimizing.
8775
8776         * basic-block.h (merge_blocks_nomove): Declare.
8777         (tidy_fallthru_edge): Declare.
8778         * flow.c (merge_blocks_nomove): Document as merging into previous
8779         blocks.  Remove cruft from between blocks; remove all edges out of A.
8780         (tidy_fallthru_edge): Export.
8781
8782 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
8783
8784         * ssa.c (compute_conservative_reg_partition): Declare with
8785         void arguments.
8786         * toplev.c (clean_dump_file): Remove previously-deleted function
8787         inadvertantly merged back in.
8788         * conflict.c (conflict_graph_add): Use a single call to
8789         htab_find_slot to look up and insert.
8790
8791 2000-04-06  Richard Henderson  <rth@cygnus.com>
8792
8793         * genrecog.c (*): Rename _last_insn to last_insn.
8794         (make_insn_sequence): Set the position of the peephole2 C test
8795         to be at the last insn.
8796
8797 2000-04-06  Richard Henderson  <rth@cygnus.com>
8798
8799         * flow.c (compute_flow_dominators): Free worklist.
8800
8801 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
8802
8803         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
8804
8805 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
8806
8807         * rtl.h (INSN_P): New macro.
8808         (successor_phi_fn): New typedef.
8809         (for_each_successor_phi): New prototype.
8810         (in_ssa_form): New variable.
8811         (PHI_NODE_P): Likewise.
8812         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
8813         phi nodes in successors.
8814         (mark_used_regs): Add PHI case.
8815         (set_phi_alternative_reg): New function.
8816         (life_analysis): Assert that dead code elimination is not selected
8817         when in SSA form.
8818         * toplev.c (to_ssa_time): New variable.
8819         (from_ssa_time): Likewise.
8820         (compile_file): Zero to_ssa_time and from_ssa_time.
8821         Print time to convert to and from SSA.
8822         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
8823         (print_time): Compute percent fraction as integer.
8824         * ssa.c (PHI_NODE_P): Moved to rtl.h.
8825         (convert_to_ssa): Check if we're already in SSA.
8826         Don't eliminate dead code in life_analysis.
8827         Rerun flow and life analysis at bottom.
8828         (eliminate_phi): Use canonical regnos when adding nodes.
8829         (mark_reg_in_phi): New function.
8830         (mark_phi_and_copy_regs): Likewise.
8831         (convert_from_ssa): Rerun life analysis at top.
8832         Use coalesced partition.
8833         Check for removing a phi node at the end of the block.
8834         (compute_coalesced_reg_partition): New function.
8835         (coalesce_regs_in_copies): Likewise.
8836         (coalesce_reg_in_phi): Likewise.
8837         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
8838         (for_each_successor_phi): Likewise.
8839         (rename_context): New struct.
8840         (rename_block): Use a rename_context with rename_insn_1.  When
8841         renaming sets of a subreg, emit a copy of the entire reg first.
8842         (rename_insn_1): Treat data as a rename_context *.  Save current
8843         insn in set_data.
8844         (rename_set_data): Add field set_insn.
8845         * Makefile.in (HASHTAB_H): Move up in file.
8846         (OBSTACK_H): New macro.
8847         (collect2.o): Use OBSTACK_H in dependencies.
8848         (sdbout.o): Likewise.
8849         (emit-rtl.o): Likewise.
8850         (simplify-rtx.o): Likewise.
8851         (fix-header.o): Likewise.
8852         (OBJS): Add conflict.o.
8853         (conflict.o): New rule.
8854         * basic-block.h: Include partition.h.
8855         (conflict_graph): New typedef.
8856         (conflict_graph_enum_fn): Likewise.
8857         (conflict_graph_new): New prototype.
8858         (conflict_graph_delete): Likewise.
8859         (conflict_graph_add): Likewise.
8860         (conflict_graph_conflict_p): Likewise.
8861         (conflict_graph_enum): Likewise.
8862         (conflict_graph_merge_regs): Likewise.
8863         (conflict_graph_print): Likewise.
8864         (conflict_graph_compute): Likewise.
8865         * conflict.c: New file.
8866
8867 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
8868
8869         * tlink.c (read_repo_files): Don't look for .rpo info for
8870         linker flags.
8871
8872 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8873
8874         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
8875
8876 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8877
8878         * config/sh/lib1funcs.asm (___udivsi3_i4):
8879         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
8880         only depends on FMOVD_WORKS.
8881
8882 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8883
8884         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
8885         make double constant 8-byte aligned.
8886
8887 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
8888
8889         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
8890         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
8891         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
8892         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
8893         Accept storing GENERAL_REGS into offsetable memory.
8894         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
8895         building a TFmode constant other than 0.0L into GENERAL_REGS.
8896
8897 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
8898
8899         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
8900
8901 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
8902
8903         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
8904         (macro_cleanup): No need to cast pbuf->macro.
8905         (collect_expansion): Use _cpp_get_define_token.  Goto done if
8906         it returns VSPACE.  Remove check for trailing space after
8907         CPP_COMMENT.
8908         (_cpp_create_definition): Don't diddle flags here.  Return
8909         directly on error.
8910         (unsafe_chars): Handle c1 being EOF.
8911         (push_macro_expansion): Use unsafe_chars for both accidental-paste
8912         checks.  Don't push the buffer till after we're done with
8913         them.
8914         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
8915         (PEEKN, FORWARD, GETC, PEEKC): Use them.
8916         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
8917         appropriately.
8918         (_cpp_parse_assertion): Don't NUL terminate.
8919         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
8920         hspace before calling _cpp_parse_assertion.  Remove all sets
8921         of only_seen_white. Treat '\f' as hspace.  Don't do anything
8922         special with '\n' here.
8923         (maybe_macroexpand): Handle T_EMPTY hash entries without
8924         pushing a buffer at all.
8925         (cpp_get_token): Handle clearing only_seen_white here.  Handle
8926         incrementing the line number here.  Clear
8927         potential_control_macro as well as only_seen_white, if
8928         appropriate.
8929         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
8930         (_cpp_get_define_token): New function, basically like
8931         _cpp_get_directive_token was but doesn't eat horizontal space.
8932         Don't do anything with only_seen_white here.
8933         (_cpp_get_directive_token): Just call _cpp_get_define_token
8934         repeatedly till it returns non-hspace.
8935
8936         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
8937         (conditional_skip, skip_if_group): Return int.
8938         (DIRECTIVE_TABLE): Change origin of all conditional directives
8939         to "COND".
8940         (TRAD_DIRECT_P): New macro.
8941         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
8942         an error for a bogus directive, unless -lang-asm.  Use
8943         TRAD_DIRECT_P. Loop calling handler functions till one returns
8944         zero.
8945         (get_macro_name): Don't diddle flags here.
8946         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
8947         Create T_EMPTY nodes for #define macro /* nothing */.
8948         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
8949         Use hp->name when calling pass_thru_directive.
8950         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
8951         Return the result of conditional_skip and/or skip_if_group.
8952         Don't call _cpp_output_line_command.
8953         (consider_directive_while_skipping): Use _cpp_get_directive_token.
8954         Issue -Wtraditional warnings as appropriate.  Don't complain
8955         about unrecognized directives.  If we are to stop skipping,
8956         return the number of the directive that ended the skip.
8957         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
8958         expansion and line commands while skipping.  Return the result
8959         of consider_directive_while_skipping, if nonzero.
8960         (do_endif): Just set potential_control_macro here.
8961         (validate_else): Use _cpp_get_directive_token.
8962         (do_assert, do_unassert): Don't save pointers into the
8963         token_buffer across calls to the lexer.  Use
8964         _cpp_get_directive_token.
8965
8966         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
8967         pointer, not an offset.  Replace 'data', which was a generic
8968         pointer, with 'macro', which points to a struct hashnode.
8969         (cpp_reader): Add 'potential_control_macro' pointer.
8970         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
8971         (CPP_BUF_GET, CPP_FORWARD): Delete.
8972         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
8973         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
8974         ACTIVE_MARK_P): Update.
8975         (_cpp_get_define_token): New internal function.
8976         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
8977
8978 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
8979
8980         * configure.in: And here.
8981         * configure: Regenerate.
8982         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
8983         --enable-libstdcxx-v3 is passed at configure time.
8984         * config.h.in: Regenerate.
8985
8986 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
8987
8988         * final.c (final): Use xcalloc to allocate line_note_exists.
8989         * function.c (free_after_compilation): Free the temp_slots.
8990         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
8991         (combine_temp_slot): Free temp_slots when they get combined.
8992         (purge_addressof): Fix typo in comment.
8993         * stmt.c (mark_goto_fixup): Mark the fixup itself.
8994         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
8995
8996         * ggc.h: Include varray.h.
8997         (ggc_pending_trees): Declare.
8998         (ggc_mark_tree_children): Remove declaration.
8999         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
9000         * ggc-common.c (ggc_pending_trees): New variable.
9001         (ggc_mark_roots): Call ggc_mark_trees.
9002         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
9003         the ggc_pending_trees.
9004         * Makefile.in (GGC_H): New variable.  Use it throughout in place
9005         of ggc.h.
9006
9007 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9008
9009         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
9010         GET_MODE_SIZE.
9011
9012 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9013
9014         * sh.c (sh_insn_length_adjustment): New function.
9015         * sh-protos.h (sh_insn_length_adjustment): Declare.
9016         * sh.h (ADJUST_INSN_LENGTH): Use it.
9017
9018 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
9019
9020         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
9021         from the insn where REG_RETVAL is added.
9022         (emit_no_conflict_block): Ditto.
9023
9024         * md.texi (Standard Names): Clarify when movX is needed.
9025
9026         * combine.c (simplify_comparison) [MINUS]: Do not replace
9027         all (op (minus A B) 0) with (op A B).
9028
9029 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
9030                           J"orn Rennecke <amylaar@cygnus.co.uk>
9031
9032         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
9033         (block_lump_real): Likewise.
9034
9035 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
9036
9037         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
9038         remaining non-zero debugging masks.
9039
9040 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
9041
9042         * basic-block.h (verify_flow_info): Declare.
9043         (flow_loop_outside_edge_p): Declare.
9044         * flow.c (verify_flow_info): Remove declaration.
9045         (clear_log_links, flow_loop_outside_edge_p): Likewise.
9046
9047 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
9048
9049         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
9050         not C++ comments.
9051
9052 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
9053
9054         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
9055         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
9056         seqdi_zero_trunc+1): Allow splits only if registers are
9057         different.
9058
9059 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
9060
9061         * acconfig.h: Add HAVE_GAS_HIDDEN.
9062         * config.in: Regenerated.
9063         * configure.in: Add test for .hidden pseudo-op in gas.
9064         * configure: Regenerated.
9065         * crtstuff.c: Include auto-host.h.
9066         Emit additional .hidden pseudo-op for __dso_handle if the
9067         assembler knows about it.
9068
9069 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
9070
9071         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
9072         before freeing argnames.
9073         * cpplib.c (do_ifndef): Cast return value of xstrdup.
9074
9075 2000-04-05  Michael Meissner  <meissner@redhat.com>
9076
9077         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
9078         Walton <jonboy@gordian.com> to make memory references with update
9079         work wtih -mregnames.
9080
9081 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9082
9083         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
9084         (regrename_optimize): Rename variables `def_uses' and
9085         `ext_basic_blocks' to avoid conflicts with similarly named
9086         typedefs in traditional C.
9087
9088         * calls.c (initialize_argument_information): Fix typo in previous
9089         change.
9090
9091 2000-04-04  Richard Henderson  <rth@cygnus.com>
9092
9093         * regrename.c (consider_available): Test fixed_regs not
9094         PIC_OFFSET_TABLE_REGNUM.
9095
9096 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
9097
9098         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
9099         crtend.
9100         (CRTSTUFF_T_CFLAGS_S): Delete definition.
9101         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
9102         (ENDFILE_LINUX_SPEC): Always use crtend.
9103         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
9104         (powerpc-*-linux-gnu): Likewise.
9105         * configure: Regenerate.
9106
9107         * config/rs6000/eabi.h: Don't include sysv4.h.
9108         (MULTILIB_DEFAULTS): Don't define.
9109         * config/rs6000/eabiaix.h: Don't include eabi.h.
9110         * config/rs6000/eabile.h: Delete.
9111         * config/rs6000/eabilesim.h: Delete.
9112         * config/rs6000/eabisim.h: Don't include eabi.h.
9113         * config/rs6000/linux.h: Don't include sysv4.h.
9114         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
9115         (MULTILIB_DEFAULTS): Don't redefine.
9116         * config/rs6000/rtems.h: Don't include eabi.h.
9117         * config/rs6000/sol2.h: Don't include sysv4le.h.
9118         * config/rs6000/sysv4le.h: Don't include sysv4.h.
9119         * config/rs6000/t-ppc: Delete.
9120         * config/rs6000/t-ppcgas: Correct comment.
9121         * config/rs6000/t-ppcos: Correct comment.  Don't build
9122         multilibs for -fPIC, rather use -fPIC -mstrict-align
9123         as default.
9124         * config/rs6000/t-ppc: Delete.
9125         * config/rs6000/vxppc.h: Don't include sysv4.h.
9126         * config/rs6000/vxppcle.h: Delete.
9127         * configure.in: Use multiple header files for p2pc ELF targets
9128         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
9129         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
9130         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
9131         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
9132         always available for these platforms.
9133
9134 2000-04-04  Richard Henderson  <rth@cygnus.com>
9135
9136         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
9137
9138 2000-04-04  Stan Cox  <scox@cygnus.com>
9139
9140         * Makefile.in: Add rules for regrename.o
9141         * regrename.c: New file.
9142         * rtl.h (regrename_optimize): Add prototype.
9143         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
9144         (compile_file, decode_d_option): Add support for -frename-registers.
9145         (rest_of_compilation): Call regrename_optimize.
9146         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
9147         New macros.
9148
9149 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9150
9151         * Makefile (gccbug): New target.
9152         (doc): Depend on it.
9153         * gcc.texi (Bugs): Link subnodes.
9154         (gccbug): New node.
9155         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
9156         Document severities, priorities, and classes in bug form.
9157
9158 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
9159
9160         * cpplex.c (trigraph_map, speccase): Combine into single
9161         table, chartab.
9162         (NORMAL, NONTRI): New macros.
9163         (_cpp_read_and_prescan): Change to use unified table.  Use
9164         is_hspace to test for whitespace.
9165
9166         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
9167         definition that doesn't provoke the "empty body in an
9168         if-statement" warning.
9169
9170 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
9171
9172         * builtins.c (expand_builtin_strlen): Force the source to
9173         be a memory address.
9174
9175 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9176
9177         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
9178
9179 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
9180
9181         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
9182          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
9183         (ECF_IS_CONST): Rename to ECF_CONST.
9184         (special_function_p): Make static, change interface.
9185         (flags_from_decl_or_type, try_to_integrate): Break out from ...
9186         (expand_call) ... here; convert number of variables to flags.
9187         (emit_library_call_vlue_1): Likewise.
9188         (setjmp_call_p): New function.
9189         (initialize_argument_information): Accepts flags as argument;
9190         return flags.
9191         (precompute_arguments): Likewise.
9192         * tree.h (special_function_p): Remove.
9193         (setjmp_call_p): Add prototype.
9194
9195 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
9196
9197         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
9198         so that addresses are offsetable by up to 16 bytes.
9199         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
9200         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
9201         offsetable.
9202
9203         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
9204         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
9205         (movsf): Don't force any constant to memory if target is integer
9206         hard register.
9207         Move fp_zero_operand check below the const0_rtx check.
9208         (movtf): Likewise. Also allow fp_zero_operand for stores into
9209         memory.
9210         (movdf): Likewise. Also allow fp_zero_operand for stores into
9211         memory and into integer hard registers.
9212         (clear_df, clear_dfp, movdf_const_intreg_sp32,
9213         movdf_const_intreg_sp64): Remove.
9214         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
9215         conditions.
9216         (movdf_no_e_insn_v9_sp32): New pattern.
9217         (movdf_insn_v9only): Remove.
9218         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
9219         (movdf_insn_sp64): Remove.
9220         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
9221         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
9222         (following splits): Rewrite conditions. Add two new splits
9223         for storing 0.0 into memory and registers.
9224         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
9225         (movtf_insn_sp32): Redo constraints and conditions.
9226         (movtf_insn_vis_sp32): New pattern.
9227         (movtf_no_e_insn_sp32): Redo constraints and conditions.
9228         (movtf_insn_hq_sp64): Likewise.
9229         (movtf_insn_hq_vis_sp64): New pattern.
9230         (movtf_insn_sp64): Redo constraints and conditions.
9231         (movtf_insn_vis_sp64): New pattern.
9232         (movtf_no_e_insn_sp64): Redo constraints and conditions.
9233         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
9234         or memory.
9235         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
9236         -mvis or -m64 to take down the number of various reload patterns.
9237
9238 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
9239
9240         * pa/pa-64.h: New file.
9241         * pa/pa64-regs.h: New file.
9242         * pa/pa64-start.h: New file.
9243         * pa/t-pa64: New file.
9244         * pa/xm-pa64hpux.h: New file.
9245
9246 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9247
9248         * sparc.c (output_restore_regs): Prototype.
9249         (sparc_emit_float_lib_cmp): Constification.
9250
9251         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
9252
9253         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
9254         Prototype.
9255
9256         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
9257         (get_value_hash, hash_rtx): Likewise.
9258
9259         * ssa.c (compute_conservative_reg_partition): Prototype.
9260
9261         * tree.c (mark_hash_entry): Prototype.
9262
9263 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
9264
9265         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
9266         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
9267         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
9268
9269         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
9270         * objc/lang-specs.h: Likewise.
9271
9272 2000-04-03  Neil Booth  <NeilB@earthling.net>
9273
9274         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
9275         and SYNTAX_ERROR2. Replace `' in messages with ''.
9276         (op_to_str): Make re-entrant.
9277         (_cpp_parse_expr): Implement new error macros. Use | rather
9278         than || to logically or 2 boolean integers.  Simply expression
9279         checking we have a left operand iff needed.
9280
9281 2000-04-03  Nick Clifton  <nickc@cygnus.com>
9282
9283         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
9284
9285 2000-04-03  Philip Blundell  <philb@gnu.org>
9286
9287         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
9288
9289 2000-04-03  Felix Lee  <flee@cygnus.com>
9290
9291         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
9292         (run_shell): Use it.
9293
9294 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
9295
9296         * Makefile.in (stmp-int-hdrs): Make include subdir here...
9297         (stmp-fixproto): ...rather than here.
9298
9299 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
9300
9301         * pa.c (print_operand): Compute 'base' only inside the code paths
9302         that use it.
9303
9304 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
9305
9306         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
9307         CEIL_DIV_EXPR.
9308
9309 2000-04-03  Philipp Thomas  <pthomas@suse.de>
9310
9311         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
9312
9313 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
9314
9315         * Makefile.in (alias.o): Depend on $(TREE_H).
9316
9317 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
9318
9319         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
9320         processing C++.
9321         * cpplib.c (_cpp_handle_directive): Improve warnings for
9322         traditional C and indented directives.
9323
9324         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
9325         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
9326         fixinc/inclhack.def: Indent the # of #include_next one space.
9327         * cp/rtti.c: Un-indent #if and #endif.
9328
9329         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
9330         syntax error, but an error has already been printed.
9331         * cpplex.c (_cpp_parse_assertion): Give a more specific error
9332         message when called with nothing remaining on the line.
9333         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
9334         OTHER token, not an ASSERTION.
9335         * cpplib.c (do_assert): When we create a 'base' node, clear
9336         its aschain pointer.
9337
9338 2000-04-02  Neil Booth <NeilB@earthling.net>
9339
9340         * cppexp.c:  New typedef op_t.  struct operation and struct
9341         token updated to use it.
9342         (op_to_str): New function.
9343         (_cpp_parse_expr): Error messages modified to use op_to_str.
9344
9345 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9346
9347         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
9348         before checking MUST_PASS_IN_STACK.
9349
9350 2000-04-02  Neil Booth <NeilB@earthling.net>
9351
9352         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
9353         flags and initial priority into a single constant.  New
9354         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
9355         (_parse_cpp_expr): Implement new constants.  Take left operand
9356         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
9357         parse indicated by reducing FINISHED token.  Remove new lines
9358         from cpp_error messages.
9359
9360 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
9361
9362         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
9363         permanent obstack.
9364
9365 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
9366
9367         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
9368         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
9369         the strings and function names on the fly.  Take the #sccs
9370         entry out of the table if SCCS_DIRECTIVE is not defined.
9371         (_cpp_handle_directive): Decide if the # was at the beginning
9372         of the line here.  Issue -pedantic warnings for extended
9373         directives here.  Warn about K+R directives with the #
9374         indented, and C89/extended directives with the # not indented,
9375         here.
9376         (do_import, do_include_next, do_warning, do_ident, do_sccs,
9377         do_assert, do_unassert): Don't issue pedantic warning here.
9378
9379         * cpphash.h: Add CPP_WTRADITIONAL macro.
9380         * cpplib.h (struct cpp_options): Rename warn_stringify to
9381         warn_traditional; update comments.
9382         * cppinit.c (handle_option): Set warn_traditional not
9383         warn_stringify.
9384         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
9385         CPP_WTRADITIONAL (pfile).
9386         * cpplex.c (_cpp_lex_token): Don't decide if directives should
9387         be ignored in -traditional mode here.
9388
9389         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
9390         to initialize speccase[] and trigraph_map[].  Delete all
9391         references to pfile->input_speccase.  Always treat '?' as a
9392         special character.  Remove table-initialization code from
9393         _cpp_init_input_buffer.
9394
9395         * cpplib.h (struct cpp_reader): Remove input_speccase field.
9396         * cppinit.c (cpp_cleanup): Don't free input_speccase.
9397
9398 2000-04-01  Richard Henderson  <rth@cygnus.com>
9399
9400         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
9401         (mostlyclean): Likewise.
9402
9403         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
9404         (struct dump_file_info, enum dump_file_index, dump_file): New.
9405         (open_dump_file): Take a dump_file_index not a suffix, and a decl
9406         not a string.  Clean out file if we havn't yet done so.  Do nothing
9407         if the dump isn't enabled.
9408         (close_dump_file): Do nothing if the dump isn't open.  Dump
9409         graph data if requested.
9410         (dump_rtl, clean_dump_file): Remove.
9411         (compile_file): Don't clean the dump files.  Only finalize .bp dump
9412         if flag_test_coverage or flag_branch_probabilities.  Only finalize
9413         .combine dump if optimizing.  Iterate over dump_file to finalize the
9414         graph dumps.
9415         (rest_of_compilation): Update for open_dump_file/close_dump_file.
9416         Convert all uses of dump_rtl.
9417         (decode_d_option): Iterate over dump_file to implement 'a' and to
9418         locate pass-specific dumps.
9419
9420 2000-04-01  Neil Booth <NeilB@earthling.net>
9421
9422         * cppexp.c: Redefine priority constants.
9423         (_cpp_parse_expr): Replace left and right priority scheme with
9424         single priority logic.  Move LOGICAL to same place as COMPARE.
9425         Remove bogus check for multiple unary +/- operators.
9426
9427 2000-04-01  Neil Booth <NeilB@earthling.net>
9428
9429         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
9430         within the switch statement.  Binary operations break out of
9431         the switch naturally.  '(' tokens handled by forcing
9432         immediate shift.  ')' handled by forcing immediate reduce to
9433         the previous '('.  New error messages.
9434
9435 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
9436
9437         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
9438         part', it's already in use.  Use %K instead.  Add a return at the
9439         end of what is now %K.
9440         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
9441
9442 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
9443
9444         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
9445         allocate_dynamic_stack_space.
9446         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
9447         update stack_pointer_delta; do not update arg_size_so_far.
9448         (compute_argument_block_size): Use stack_delta instead of
9449         stack_pointer_pending and arg_size_so_far.
9450         (expand_call): Add sanity checking for stack_pointer_delta;
9451         save and restore stack_pointer_delta for SIB, use
9452         stack_pointer_delta for alignment; do not update arg_space_so_far.
9453         (emit_library_call_value): Use stack_pointer_delta for alignment.
9454         (store_one_arg): Do not update arg_space_so_far.
9455         * explow.c (adjust_stack, anti_adjust_stack): Update
9456         stack_pointer_delta.
9457         (allocate_dynamic_stack_space): Add sanity checking for
9458         stack_pointer_delta.
9459         * expr.c (init_expr, clear_pending_stack_adjust): Clear
9460         stack_pointer_delta.
9461         (emit_push_insn): Update stack_pointer_delta.
9462         * function.h (struct expr_status): Add x_stack_pointer_delta;
9463         remove x_arg_space_so_far.
9464         (arg_space_so_far): Remove.
9465         (stack_pointer_delta): New macro.
9466
9467 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
9468
9469         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
9470         Reorder struct cpp_options and struct cpp_reader for better
9471         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
9472         takes two args.  Change all 'char' flags to 'unsigned char'.
9473         Move show_column flag into struct cpp_options.  Don't
9474         prototype cpp_options_init.
9475         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
9476         cppinit.c, cpplex.c, cpplib.c:
9477         Replace CPP_OPTIONS (pfile)->whatever with
9478         CPP_OPTION (pfile, whatever), and likewise for
9479         opts = CPP_OPTIONS (pfile); ... opts->whatever;
9480
9481         * cppinit.c (merge_include_chains): Take a cpp_reader *.
9482         Extract CPP_OPTION (pfile, pending) and work with that
9483         directly.
9484         (cpp_options_init): Delete.
9485         (cpp_reader_init): Turn on on-by-default options here.
9486         Allocate the pending structure here.
9487         (cl_options, enum opt_code): Define these from the same table,
9488         kept in a large macro.  Add -fshow-column and -fno-show-column
9489         options.
9490
9491         * cpperror.c (v_message): If show_column is off, don't print
9492         the column number.
9493
9494         * cppmain.c: Update for new interface.
9495         * fix-header.c: Likewise.
9496
9497 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
9498
9499         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
9500         definition.
9501         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
9502         are passed to any invocation of AR_FOR_TARGET.
9503         (AR_CREATE_FOR_TARGET): New macro.
9504         (AR_EXTRACT_FOR_TARGET): New macro.
9505         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
9506         AR_EXTRACT_FOR_TARGET.
9507         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
9508         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
9509         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
9510         AR_EXTRACT_FOR_TARGET to sub-makes.
9511
9512 2000-03-31  Neil Booth <NeilB@earthling.net>
9513
9514         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
9515         PAREN_INNER_PRIO.
9516         (_cpp_parse_expr): Check for multiple unary +/- operators.
9517         Correct priorities of ':' and '?'.  Treat ')' as having a
9518         value.  Ensure conditional expression is not void.
9519
9520 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
9521
9522         * alias.c (canon_rtx): Make it global.
9523         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
9524         equality.
9525         * cse.c (struct table_elt): Add canon_exp.
9526         (insert): Clear it.
9527         (invalidate): Canonicalize expressions only once.
9528         * rtl.h (canon_rtx): Declare.
9529
9530 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
9531
9532         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
9533         * alias.c (reg_known_value): Add comments.
9534         (init_alias_analysis): Likewise.
9535         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
9536         address.
9537         (cse_basic_block): Fix typo in comment.
9538         * emit-rtl.c: Include hashtab.h.
9539         (const_int_htab): New variable.
9540         (const_int_htab_hash): New function.
9541         (const_int_htab_eq): Likewise.
9542         (rtx_htab_mark_1): Likewise.
9543         (rtx_htab_mark): Likewise.
9544         (gen_rtx_CONST_INT): Cache all CONST_INTs.
9545         (unshare_all_rtx): Fix formatting.
9546         (init_emit_once): Initialize const_int_htab.
9547         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
9548         address.
9549         * rtl.texi: Document the fact that all CONST_INTs with the same
9550         value are shared.
9551
9552 2000-03-30  Richard Henderson  <rth@cygnus.com>
9553
9554         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
9555
9556 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
9557
9558         * configure.in: Comment out --enable-c-cpplib stanza.
9559         * configure: Regenerate.
9560
9561 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9562
9563         * expr.c (store_constructor): Properly compute displacement and
9564         alignment when offset is variable.
9565
9566         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
9567         cases of alignment in bytes.
9568
9569 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
9570
9571         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
9572         since it is used to generate c-parse.y.
9573         * objc-parse.c, objc-parse.y: Regenerated.
9574
9575         * function.c (expand_function_end): Pass alignment argument to
9576         emit_block_move in bits, not bytes.
9577
9578 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9579
9580         * expr.c (move_by_pieces_ninsns): Fix one more missing align
9581         correction.
9582
9583         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
9584
9585         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
9586         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
9587         * function.c (assign_parms): Likewise.
9588         * integrate.c (expand_inline_function): Likewise.
9589         * stmt.c (expand_decl): Likewise.
9590         (copy_rtx_and_substitute): Likewise.
9591         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
9592         (clear_by_pieces): Fix error in last change.
9593         * emit-rtl.c (init_emit): Set known registers alignment in bits.
9594         * function.h (regno_pointer_align): Now unsigned.
9595         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
9596         is in bits.
9597         * config/i386/i386.c (aligned_operand): Likewise.
9598         * config/sparc/sparc.c (mem_min_alignment): Likewise.
9599         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
9600         (unaligned_memory_operand): Likewise.
9601         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
9602         Also make alignments and sizes unsigned and some whitespace cleanup.
9603         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
9604
9605         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
9606         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
9607         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
9608         (expand_builtin_memset): Likewise, but to clear_storage.
9609         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
9610         (restore_fixed_argument_area): Likewise.
9611         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
9612         (load_register_parameters): Likewise, to emit_group_load.
9613         (expand_call): Likewise, to emit_group_store and emit_block_move.
9614         (emit_library_call_value_1): Likewise, to emit_block_move.
9615         (store_one_arg): Likewise, and to emit_push_insn.
9616         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
9617         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
9618         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
9619         (emit_block_move, emit_group_load, emit_group_store): Likewise.
9620         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
9621         (expand_assigment, store_expr, store_constructor_field): Likewise.
9622         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
9623         (store_constructor, store_field, get_inner_reference): Likewise.
9624         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
9625         (expand_expr, case COMPONENT_REF): Likewise.
9626         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
9627         and positions; reindent code.
9628         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
9629         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
9630         (assign_parms): Likewise to emit_group_store.
9631         * optabs.c (prepare_cmp_insn): Alignment is in bits.
9632         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
9633         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
9634         (expand_return): Likewise to {extract,store}_bit_field.
9635         * stor-layout.c (get_mode_alignment): Minor cleanup.
9636         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
9637         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
9638
9639 2000-03-29  Nick Clifton  <nickc@cygnus.com>
9640
9641         * config/arm/arm.h: Undo effects of previous delta:
9642         (ASM_SPEC): Do not define.
9643         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
9644
9645         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
9646         typo.
9647
9648 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
9649
9650         * cppinit.c (cpp_start_read): Call initialize_dependency_output
9651         only after reading in the primary source file.
9652
9653 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
9654
9655         * c-common.c (c_common_nodes_and_builtins): The first parameter to
9656         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
9657         or a reference to a va_list.
9658         * builtins.c (stabilize_va_list): Simplify now we don't have to
9659         work around C array address decay.
9660         * c-typeck.c (convert_for_assignment): Handle assignment to
9661         a reference parameter by taking the address of the RHS.
9662         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
9663         (va_copy): Likewise.
9664         (__va_copy): Likewise.
9665         * ginclude/varargs.h (va_start): Likewise.
9666         (__va_copy): Likewise.
9667
9668 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
9669
9670         * i386/djgpp.h: Remove extraneous "+".
9671
9672         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
9673
9674         * calls.c (expand_call): Fix typo in last change.
9675
9676 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
9677
9678         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
9679         been expanded.
9680
9681 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9682
9683         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
9684         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
9685         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
9686         * tree.c (bit_position, byte_position): Likewise.
9687         * tree.h: Declare new functions.
9688
9689 2000-03-29  Nick Clifton  <nickc@cygnus.com>
9690
9691         * config/arm/arm.c: Minor formatting changes/
9692         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
9693         already defined.
9694         (ASM_SPEC): Define if not already defined.
9695
9696 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
9697
9698         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
9699         _cpp_calc_hash.
9700
9701 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
9702
9703         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
9704         value, don't output it as unsigned.
9705
9706 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
9707
9708         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
9709
9710 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9711
9712         * c-common.c (c_common_nodes_and_builtins): Don't special case
9713         cplus_mode when declaring builtin bzero/bcmp, always avoid
9714         prototype arguments.
9715
9716 2000-03-29  Bruce Korb  <bkorb@gnu.org>
9717
9718         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
9719         to a non-file
9720
9721 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
9722
9723         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
9724         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
9725         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
9726         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
9727         (save_fixed_argument_area, restore_fixed_argument_area):
9728         conditionize by #ifdef REG_PARM_STACK_SPACE only.
9729         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
9730         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
9731         (precompute_register_parameters): Avoid #ifdefs on
9732         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
9733         (stire_one_args): Likewise.
9734         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
9735         (emit_library_call_value_1): Likewise.
9736         (compute_argument_block_size): Align to STACK_BOUNDARY only for
9737         ACCUMULATE_OUTGOING_ARGS.
9738         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
9739         value.
9740         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
9741         (use_crosses_set_p): Likewise.
9742         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
9743         #define ACCUMULATE_OUTGOING_ARGS 1.
9744         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
9745         frames.
9746         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
9747         constants.
9748         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
9749         (TARGET_SWITCHES): Add push-args, no-push-args,
9750         accumulate-outgoing-args and no-accumulate-outgoing-args.
9751         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
9752         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
9753         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
9754         and PUSH_ROUNDING.
9755         (emit_push_insn): Likewise.
9756         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
9757         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
9758         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
9759         (STACK_DYNAMIC_OFFSET): Define correctly for both
9760         ACCUMULATE_OUTGOING_ARGS and normal mode.
9761         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
9762         * tm.texi (PUSH_ARGS): Document.
9763         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
9764
9765 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
9766
9767         * flags.h (flag_optimize_sibling_calls): Declare.
9768         * calls.c (expand_call): Fail sibcall when
9769         !flag_optimize_sibling_calls
9770         * invoke.texi (flag_optimize_sibling_calls): Document.
9771         * toplev.c (flag_optimize_sibling_calls): New global variable.
9772         (f_options): Add flag_optimize_sibling_calls.
9773         (rest_of_compilation): Conditionize
9774         optimize_sibling_and_tail_recursive_calls by
9775         flag_optimize_sibling_calls.
9776         (main): Set flag_optimize_sibling_calls for -O2.
9777         * stmt.c (expand_return): Conditionize tail recursion by
9778         flag_optimize_sibling_calls.
9779
9780 2000-03-29  Richard Henderson  <rth@cygnus.com>
9781
9782         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
9783         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
9784
9785 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
9786
9787         * except.c (add_eh_table_entry): Mark type_info's as referenced.
9788
9789 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9790
9791         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
9792         is given.
9793         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
9794         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
9795         * config/rs6000/aix.h: then modified likewise.
9796
9797 2000-03-28  Richard Henderson  <rth@cygnus.com>
9798
9799         * rtl.h: Redistribute enum reg_note documentation.
9800         Kill trailing whitespace.
9801         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
9802         Kill trailing whitespace.
9803
9804 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
9805
9806         * cppfiles.c (hash_IHASH): Just return i->hash.
9807         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
9808         htab_find_with_hash.
9809         (cpp_read_file): Likewise.
9810         (find_include_file): Likewise.  Properly initialize
9811         ih->nshort.  Share ih->name and ih->nshort if possible.
9812         * cpphash.c (_cpp_calc_hash): New function.
9813         (hash_HASHNODE): Just return h->hash.
9814         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
9815         htab_find_with_hash.
9816         * cpphash.h: Prototype _cpp_calc_hash.
9817         * cppinit.c (initialize_builtins): Provide a valid hash
9818         to _cpp_make_hashnode, using _cpp_calc_hash.
9819
9820         * cpphash.c (collect_expansion): # is not a special character
9821         in object-like macros.  In -traditional mode, /**/ is not
9822         token paste at the beginning or end of the line.
9823         * cpplib.c (do_include, do_import, do_include_next): If
9824         parse_include fails, return immediately.
9825
9826 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
9827
9828         * config/arm/arm.md (return peepholes): Update to reflect the new
9829         call insn patterns.
9830         * config/arm/arm.c (arm_volatile_func): Also check
9831         current_function_nothrow.
9832         (output_return_instruction, output_func_prologue): Use it.
9833         (arm_output_epilogue, arm_expand_prologue): Likewise.
9834
9835 2000-03-27  Tom Tromey  <tromey@cygnus.com>
9836
9837         * gcc.c (handle_braces): In {x*...} case, break out of loop if
9838         switch is found.
9839
9840 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9841
9842         * expr.c (store_constructor): SIZE now signed.
9843         For EXPR_SIZE, don't evaluate size; just needed if constant.
9844         * fold-const.c (fold): Fix a number of cases when folded tree is
9845         wrong type.
9846         * function.c (flush_addressof): Reenable.
9847         * tree.h (flush_addressof): Likewise.
9848         * toplev.c (independent_decode_option): Look at strings_processed.
9849         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
9850
9851 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
9852
9853         * sibcall.c (indentify_call_return_value): Find last call in the chain;
9854         Allow stack adjustment after function call.
9855
9856         * regmove.c (struct csa_memlist): Make mem field rtx *.
9857         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
9858         (try_apply_stack_adjustment): Replace whole MEM rtx.
9859         (combine_stack_adjustments_for_block): Update calls
9860         to record_one_stack_ref.
9861
9862 2000-03-28  Neil Booth  <NeilB@earthling.net>
9863
9864         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
9865         '\\' rather than a null character, so nulls are not special.  Fix
9866         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
9867         speed trigraph conversion.
9868         (_cpp_init_input_buffer): Initialize trigraph map.
9869
9870 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
9871
9872         * config/i386/i386.c (output_387_binary_op): Correct intel
9873         mode assembly output, and add spaces after commas in AT&T
9874         output.  Correct Unixware assembler comment.  Document input
9875         constraints.  Comment fp operations.  Reduce profligate buffer
9876         size.  Remove extraneous abort.  Localize temp var.
9877         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
9878         (output_fix_trunc): Add spaces after commas in assembly output.
9879
9880 2000-03-27  Richard Henderson  <rth@cygnus.com>
9881
9882         * i386-protos.h (ix86_match_ccmode): Declare.
9883         * i386.c (ix86_match_ccmode): New.
9884         (ix86_expand_fp_compare): Update for pattern renames.
9885         (ix86_expand_strlensi_unroll_1): Likewise.
9886         * i386.h (EXTRA_CC_MODES): Add CCZ.
9887         (SELECT_CC_MODE): Use it for EQ/NE zero.
9888         * i386.md (cmpsi_ccz_1): New.
9889         (cmpqi_ccz_1): New.
9890         (*testsi_ccz_1): New.
9891         (testqi_ccz_1): New.
9892         (cmpsi_ccno_1): Rename from cmpsi_0.
9893         (testsi_ccno_1): Rename from testsi_1.
9894         (testqi_ccno_1): Rename from testqi_1.
9895         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
9896         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
9897         (*cmphi_0): Use ix86_match_ccmode.
9898         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
9899         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
9900         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
9901         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
9902         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
9903         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
9904         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
9905         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
9906         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
9907         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
9908         (appropriate peepholes): Likewise.
9909         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
9910         (*subsi_3, *subhi_3, *subqi_3): Remove.
9911         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
9912         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
9913         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
9914         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
9915         (x86_shift_adj_1): Use CCZ.
9916         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
9917
9918 2000-03-27  Stan Cox  <scox@cygnus.com>
9919
9920         * resource.h (mark_resource_type): New.
9921         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
9922         find_free_register): Use mark_resource_type.
9923         (mark_set_resources): Change include_delayed_effects
9924         to mark_resource_type.
9925         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
9926         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
9927         Use mark_resource_type.
9928
9929 2000-03-27  Richard Henderson  <rth@cygnus.com>
9930
9931         * i386.md (call_pop_0, call_value_pop_0): New.
9932         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
9933         (call_value_pop_1): Likewise.
9934         (call_0, call_value_0): New.
9935         (call_1, call_value_1): Remove constraint from unused arg.
9936
9937 2000-03-27  Nick Clifton  <nickc@cygnus.com>
9938
9939         * invoke.texi (Spec Files): Document new spec % command created by
9940         Tom Tromey's recent patch.
9941
9942 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
9943
9944         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
9945         if not defined.
9946
9947 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9948
9949         * expr.c (expand_assignment): Fix typo in last change.
9950
9951         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
9952
9953 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9954
9955         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
9956         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
9957         and DECL_INLINE if FUNCTION_DECL.
9958         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
9959         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
9960         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
9961         (combine_parm_decls): Likewise.
9962         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
9963         * print-tree.c (print_node): Likewise.
9964         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
9965         DECL_TRANSPARENT_UNION on proper decl types.
9966         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
9967         * stor-layout.c (layout_decl): Only check DECL_PACKED and
9968         DECL_BIT_FIELD of FIELD_DECL.
9969         * tree.h (DECL_RESULT_FLD): New macro.
9970
9971         * expr.c (expand_assignment): Add code to handle variable-sized
9972         BLKmode case.
9973
9974 2000-03-26  Richard Henderson  <rth@cygnus.com>
9975
9976         * calls.c (expand_call): Pass parms not original exp to
9977         optimize_tail_recursion.  Mind return value instead of looking
9978         for a barrier.
9979         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
9980         call_expr.  Move checks for call_expr and current_function_decl ...
9981         (expand_return): ... here.
9982
9983 2000-03-26  Tom Tromey  <tromey@cygnus.com>
9984
9985         * gcc.c (handle_braces): Recognize `%{<S}' construct.
9986         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
9987         defines.
9988         (process_command): Use them.
9989         (check_live_switch): Likewise.
9990         (give_switch): Skip ignored switches.
9991
9992 2000-03-26  Jan Hubicka  <jh@suse.cz>
9993
9994         * jump.c (jump_optimize_1): Fix typo in elide optimizations
9995         for minimal jump pass test.
9996
9997 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
9998
9999         * integrate.c (function_cannot_inline_p): Do inline functions that
10000         return `void'.
10001
10002 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10003
10004         * stor-layout.c (layout_type, set_sizetype): early_type_list is
10005         now a list of TREE_LIST entries, not types.
10006         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
10007
10008         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
10009         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
10010         int_bit_position.
10011         * config/mips/mips.c (function_arg): Likewise; also remove cast
10012         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
10013         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
10014         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
10015         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
10016         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
10017         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
10018         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
10019         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
10020         num_adjusts now unsigned.
10021         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
10022         * config/sparc/sparc.c (struct function_arg_record_value_parms):
10023         NREGS now unsigned.
10024         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
10025         as is BITPOS variable; use host_integerp and int_bit_position.
10026         (function_arg_record_value_2): Likewise.
10027         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
10028         Variable REGNO now unsigned.
10029         (function_arg_record_value): NREGS now unsigned.
10030
10031 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
10032
10033         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
10034
10035 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10036
10037         * Rework fields used to describe positions of bitfields and
10038         modify sizes to be unsigned and use HOST_WIDE_INT.
10039         * alias.c (reg_known_value_size): Now unsigned.
10040         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
10041         (really_start_incremental_init): Use bitsize_zero_node.
10042         (push_init_level, pop_init_level, output_init_element): Likewise.
10043         Use bitsize_unit_node and bitsize_one_node.
10044         (output_pending_init_elements, process_init_element): Likewise.
10045         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
10046         (make_extraction): Position and length HOST_WIDE_INT and unsigned
10047         HOST_WIDE_INT, respectively.
10048         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
10049         (num_sign_bit_copies): Returns unsigned.
10050         BITWIDTH now unsigned; rework arithmetic.
10051         Remove recursive call from arg to MAX.
10052         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
10053         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
10054         REGNO now unsigned.
10055         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
10056         (find_split_point, expand_compound_operation, make_extraction): LEN
10057         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
10058         (make_field_assignment): Likewise.
10059         (combine_simplify_rtx): Add cast.
10060         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
10061         (force_to_mode): WIDTH now unsigned; add cast.
10062         (if_then_else_cond): SIZE now unsigned.
10063         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
10064         (extended_count): Now returns unsigned.
10065         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
10066         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
10067         (simplify_comparison): MODE_WIDTH now unsigned.
10068         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
10069         (mark_used_regs_combine): Likewise; rework arithmetic.
10070         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
10071         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
10072         (record_promoted_value): REGNO now unsigned.
10073         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
10074         (get_last_value): REGNO now unsigned.
10075         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
10076         (reg_dead_regno, reg_dead_endregno): Now unsigned.
10077         (remove_death): Arg REGNO now unsigned.
10078         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
10079         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
10080         now unsigned.
10081         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
10082         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
10083         (struct cse_reg_info): REGNO now unsigned.
10084         (cached_regno): Now unsigned.
10085         (REGNO_QTY_VALID_P): Add cast.
10086         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
10087         (remove_invalid_regs): Likewise.
10088         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
10089         as are variables END and I.
10090         (get_cse_reg_info, insert): Likewise.
10091         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
10092         (canon_hash): Likewise.
10093         (insert_regs, lookup_for_remove): REGNO now unsigned.
10094         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
10095         New variable RN.
10096         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
10097         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
10098         * emit-rtl.c (subreg_realpart_p): Add cast.
10099         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
10100         (operand_subword_force): Arg I is now unsigned.
10101         * except.c (eh_regs): Variable I is now unsigned.
10102         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
10103         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
10104         length is unsigned HOST_WIDE_INT; likewise for internal variables.
10105         (store_split_bit_field, extract_fixed_bit_field): Likewise.
10106         (extract_split_bit_field, store_bit_field, extract_bit_field):
10107         Likewise.
10108         * expr.c (store_constructor_fields, store_constructor, store_field):
10109         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
10110         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
10111         (do_jump): Likewise.
10112         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
10113         MAX_SIZE is now unsigned.
10114         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
10115         (emit_group_store): Likewise.
10116         (emit_move_insn): I now unsigned.
10117         (store_constructor): Use host_integerp, tree_low_cst, and
10118         bitsize_unit_node.
10119         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
10120         Rework all calculations to use trees and new fields.
10121         * expr.h (promoted_input_arg): Regno now unsigned.
10122         (store_bit_field, extract_bit_field): Adjust types of pos and size.
10123         (mark_seen_cases): Arg is HOST_WIDE_INT.
10124         * flow.c (verify_wide_reg_1): REGNO now unsigned.
10125         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
10126         precisions and alignments are unsigned.
10127         (optimize_bit_field_compare, fold_truthop): Likewise.
10128         (int_const_binop): Adjust threshold for size_int_type_wide call.
10129         (fold_convert): Likewise.
10130         (size_int_type_wide): Make table larger and fix thinko that only
10131         had half of table used.
10132         (all_ones_mask_p, fold): Precisions are unsigned.
10133         * function.c (put_reg_info_stack): REGNO is unsigned.
10134         (instantiate_decl): Size is HOST_WIDE_INT.
10135         (instantiate_virtual_regs): I is unsigned.
10136         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
10137         (promoted_input_arg): REGNO is unsigned.
10138         * function.h (struct function): x_max_parm_reg is now unsigned.
10139         * gcse.c (max_gcse_regno): Now unsigned.
10140         (struct null_pointer_info): min_reg and max_reg now unsigned.
10141         (lookup_set, next_set): REGNO arg now unsigned.
10142         (compute_hash_table): REGNO and I now unsigned.
10143         (handle_avail_expr): regnum_for_replacing now unsigned.
10144         (cprop_insn): REGNO now unsigned.
10145         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
10146         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
10147         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
10148         * hard-reg-set.h (reg_class_size): Now unsigned.
10149         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
10150         * jump.c (mark_modified_reg): I now unsigned; add cast.
10151         (rtx_equal_for_thread_p): Add cast.
10152         * loop.c (max_reg_before_loop): Now unsigned.
10153         (struct_movable): REGNO now unsigned.
10154         (try_copy_prop): REGNO arg unsigned.
10155         (regs_match_p): XN and YN now unsigned.
10156         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
10157         (strength_reduce): Likewise; NREGS also unsigned.
10158         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
10159         * loop.h (struct iv_class): REGNO now unsigned.
10160         (max_reg_before_loop, first_increment_giv, last_increment_giv):
10161         Now unsigned.
10162         * machmode.h (mode_size, mode_unit_size): Now unsigned.
10163         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
10164         * optabs.c (expand_binop): I and NWORDS now unsigned.
10165         (expand_unop): I now unsigned.
10166         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
10167         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
10168         * real.c (significand_size): Now returns unsigned.
10169         * real.h (significand_size): Likewise.
10170         * regclass.c (reg_class_size): Now unsigned.
10171         (choose_hard_reg_mode): Both operands now unsigned.
10172         (record_reg_classes): REGNO and NR now unsigned.
10173         (reg_scan): NREGS now unsigned.
10174         (reg_scan_update): old_max_regno now unsigned.
10175         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
10176         * reload.c (find_valid_class): BEST_SIZE now unsigned.
10177         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
10178         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
10179         Likewise for variable R.
10180         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
10181         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
10182         (find_equiv_reg): Add casts.
10183         (regno_clobbered_p): Arg REGNO now unsigned.
10184         * reload.h (struct reload): NREGS now unsigned.
10185         (refers_to_regno_for_reload_p): Regno args are unsigned.
10186         (regno_clobbered_p): Likewise.
10187         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
10188         (compute_use_by_pseudos): REGNO now unsigned.
10189         (find_reg): I and J now unsigned, new variable K, and change loop
10190         variables accordingly; THIS_NREGS now unsigned.
10191         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
10192         (spill_hard_reg): REGNO arg now unsigned; add casts.
10193         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
10194         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
10195         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
10196         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
10197         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
10198         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
10199         (emit_reload_insns): REGNO now unsigned.
10200         (reload_cse_move2add): Add cast.
10201         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
10202         and rework loop.
10203         * resource.c (mark_referenced_resources, mark_set_resources): New
10204         variable R; REGNO and LAST_REGNO now unsigned.
10205         (mark_target_live_regs): J and REGNO now unsigned.
10206         * rtl.c (mode_size, mode_unit_size): Now unsigned.
10207         * rtl.h (union rtunion_def): New field rtuint.
10208         (XCUINT): New macro.
10209         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
10210         (operand_subword, operand_subword_force): Word number is unsigned.
10211         (choose_hard_reg_mode): Operands are unsigned.
10212         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
10213         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
10214         (regno_use_in, combine_instructions, remove_death): Likewise.
10215         (reg_scan, reg_scan_update): Likewise.
10216         (extended_count): Return is unsigned.
10217         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
10218         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
10219         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
10220         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
10221         (reg_reg_last_1): FIRS and LAST now unsigned.
10222         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
10223         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
10224         now unsigned.
10225         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
10226         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
10227         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
10228         (replace_regs): Arg NREGS now unsigned.
10229         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
10230         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
10231         (simplify_binary_operation): Likewise.
10232         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
10233         THIS_LAST now unsigned.
10234         (cselib_record_set): Add cast.
10235         * ssa.c (ssa_max_reg_num): Now unsigned.
10236         (rename_block): REGNO now unsigned.
10237         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
10238         sizes now unsigned.
10239         (all_cases_count): Just return -1 not -2.
10240         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
10241         Rework tests to use trees whenever possible.
10242         Use host_integerp and tree_low_cst.
10243         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
10244         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
10245         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
10246         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
10247         (smallest_mode_for_size): Likewise.
10248         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
10249         KNOWN_ALIGN is now an alignment, so simplify code.
10250         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
10251         (start_record_layout): Renamed from new_record_layout_info.
10252         Update to new fields.
10253         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
10254         New functions.
10255         (place_union_field): Renamed from layout_union_field.
10256         Update to use new fields in rli.
10257         (place_field): Renamed from layout_field.
10258         Major rewrite to use new fields in rli; pass alignment to layout_decl.
10259         (finalize_record_size): Rework to use new fields in rli and handle
10260         union.
10261         (compute_record_mode): Rework to simplify and to use new DECL fields.
10262         (finalize_type_size): Make rounding more consistent.
10263         (finish_union_layout): Deleted.
10264         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
10265         (layout_type, case RECORD_TYPE): Call new function names.
10266         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
10267         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
10268         (get_best_mode): UNIT is now unsigned; remove casts.
10269         * tree.c (bit_position): Compute from new fields.
10270         (byte_position, int_byte_position): New functions.
10271         (print_type_hash_statistics): Cast to remove warning.
10272         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
10273         (build_index_type): Likewise; make subtype of sizetype.
10274         (build_index_2_type): Pass sizetype to build_range_type.
10275         (build_common_tree_nodes): Use size_int and bitsize_int to
10276         initialize nodes; add bitsize_{zero,one,unit}_node.
10277         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
10278         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
10279         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
10280         (DECL_FIELD_BITPOS): Deleted.
10281         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
10282         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
10283         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
10284         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
10285         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
10286         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
10287         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
10288         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
10289         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
10290         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
10291         (DECL_ALIGN): Adjust to new field in union.
10292         (DECL_OFFSET_ALIGN): New field.
10293         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
10294         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
10295         (union tree_decl): Add struct for both aligns.
10296         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
10297         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
10298         (struct record_layout_info): Rework fields to have offset
10299         alignment and byte and bit position.
10300         (start_record_layout, place_field): Renamed from old names.
10301         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
10302         (byte_position, int_byte_position): Likewise.
10303         (get_inner_reference): Change types of position and length.
10304         * unroll.c (unroll_loop): New variable R; use for some loops.
10305         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
10306         (calculate_giv_inc): Arg REGNO now unsigned.
10307         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
10308         * varasm.c (assemble_variable): Clean up handling of size using
10309         host_integerp and tree_low_cst.
10310         (decode_addr_const): Use byte, not bit, position.
10311         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
10312         use tree_low_cst and int_bit_position.
10313         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
10314
10315 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
10316
10317         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
10318         (reorder_block_def): New members eff_head and eff_end.
10319         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
10320         (verify_insn_chain): New function.
10321         (skip_insns_between_block): Add code to skip deleted insns.
10322         Check for note before using.
10323         (chain_reorder_blocks): Replace calls to skip_insns_between_block
10324         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
10325         Check for note before using.
10326         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
10327         (fixup_reorder_chain): Restructure, clean up, defect removal.
10328         (reorder_basic_blocks): Remove last_insn and references to it.
10329         Moved insn chain verification code into a new function (see above).
10330         Delete defective code that sets last insn.
10331         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
10332         all blocks.
10333
10334 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10335
10336         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
10337
10338 2000-03-24  Richard Henderson  <rth@cygnus.com>
10339
10340         * tree.c (lang_safe_for_unsave): Remove.
10341         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
10342         allowing for two levels of unsafeness.  Remove lang hook.
10343         * tree.h: Update declarations.
10344         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
10345         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
10346         Always fail sibcalls when there are pending cleanups.
10347
10348 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
10349
10350         * flow.c (propagate_block): When we delete an ADDR_VEC,
10351         also delete the BARRIER following it if there is one.
10352
10353 2000-03-24  Richard Henderson  <rth@cygnus.com>
10354
10355         * builtins.c (expand_builtin_bzero): Convert `length' argument
10356         to sizetype.
10357
10358 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
10359
10360         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
10361         comparison if regno's are equal.
10362         * calls.c (initialize_argument_informat): Add ecf_flags argument.
10363         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
10364         (expand_call): Update caller.
10365         Avoid making a sibling call if argument size of the callee is larger
10366         than argument size of the caller.
10367         Call hard_function_value with outgoing set if in sibcall pass.
10368         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
10369
10370         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
10371         Change LEAF_REGISTERS from an array initializer to actual array
10372         identifier. Move static global variable into the function.
10373         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
10374         sequences for leaf functions.
10375         * global.c (global_alloc): Likewise.
10376         * tm.texi (LEAF_REGISTERS): Update documentation.
10377
10378         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
10379         TARGET_FLAT leaf disabling hack.
10380         (LEAF_REGISTERS): Changed from an array initializer to actual array
10381         identifier to avoid duplication and remove the above hack.
10382         (FUNCTION_OK_FOR_SIBCALL): Define.
10383         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
10384         always like call attribute.
10385         (eligible_for_sibcall_delay): New attribute.
10386         (sibcall): New delay type.
10387         (sibcall, sibcall_value, sibcall_epilogue): New expands.
10388         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
10389         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
10390         * config/sparc/sparc.c (sparc_leaf_regs): New array.
10391         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
10392         New functions.
10393         (output_function_epilogue): Move part of the code into
10394         output_restore_regs.
10395         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
10396         TYPE_SIBCALL.
10397         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
10398         prototypes.
10399
10400         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
10401         until infrastructure is finished.
10402
10403 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
10404
10405         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
10406         (save_parm_insns): Not here.
10407
10408 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10409
10410         * builtins.c (expand_builtin_bzero): New function.
10411         (expand_builtin): Handle bzero.
10412
10413         * builtins.def: Add BUILT_IN_BZERO.
10414
10415         * c-common.c (c_common_nodes_and_builtins): Provide builtin
10416         prototype & function for bzero.
10417
10418 2000-03-23  Michael Meissner  <meissner@redhat.com>
10419
10420         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
10421         change adding TARGET_FP to the TF floating point insns, except for
10422         trunctfsf2, which generates direct calls to truncdfsf2.
10423
10424 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
10425
10426         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
10427         try to protect against middle-end changes that break binary
10428         compatibility.
10429         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
10430
10431 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10432
10433         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
10434
10435 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10436
10437         * calls.c (expand_call): If TARGET is passed by reference and
10438         is readonly, write a CLOBBER.
10439
10440 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10441
10442         * builtins.c (expand_builtin): Handle bcmp.
10443
10444         * builtins.def: Add BUILT_IN_BCMP.
10445
10446         * c-common.c (c_common_nodes_and_builtins): Provide builtin
10447         prototype & function for bcmp.
10448
10449 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
10450
10451         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
10452         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
10453         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
10454
10455 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
10456
10457         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
10458         alternative when using -fp64 -gp32.
10459
10460 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
10461
10462         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
10463         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
10464         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
10465
10466         * frame.h (frame_state): Revert last change.
10467         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
10468         * libgcc2.c (throw_helper): Revert last change.
10469
10470 2000-03-22  Richard Henderson  <rth@cygnus.com>
10471
10472         * stmt.c (expand_asm_operands): Don't promote the temporary.
10473
10474 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
10475
10476         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
10477         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
10478           c_get_alias_set): Likewise.
10479         * c-decl.c (duplicate_decls): Likewise.
10480         * c-typeck.c (default_conversion,build_unary_op): Likewise.
10481         * calls.c (initialize_argument_information): Likewise.
10482         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
10483         Likewise.
10484         * dwarfout.c (decl_class_context,output_type): Likewise.
10485         * expr.c (get_inner_reference): Likewise.
10486         * fold-const.c (simple_operand_p,fold): Likewise.
10487         * function.c (aggregate_value_p): Likewise.
10488         * stmt.c (expand_asm_operands): Likewise.
10489         * varasm.c (named_section): Likewise.
10490
10491 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
10492
10493         Implement dwarf2 exception handling for the ARM.
10494         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
10495         (DWARF_FRAME_RETURN_COLUMN): Define.
10496         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
10497         REG_FRAME_RELATED_EXPR note.
10498         (emit_sfm): Likewise.
10499         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
10500         * dwarf2out.c (reg_save): Handle saving a register to itself.
10501         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
10502         * except.c (eh_regs): Don't use the static chain reg if it's
10503         callee-saved.
10504         * frame.h (frame_state): Add cfa_saved field.
10505         * frame.c (execute_cfa_insn): Set it.
10506         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
10507         the epilogue.
10508         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
10509         Now takes a parm.
10510         (instantiate_virtual_regs): Adjust.
10511         * tm.texi: Adjust.
10512         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
10513         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
10514         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
10515
10516         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
10517         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
10518
10519 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10520
10521         * builtins.def: New file.
10522
10523         * Makefile.in (TREE_H): Depend on builtins.def.
10524
10525         * builtins.c (built_in_names): Use builtins.def.
10526
10527         * tree.h (built_in_function): Likewise.
10528
10529 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
10530
10531         * tree.c (size_in_bytes): Return size_zero_node, not
10532         integer_zero_node.
10533
10534 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
10535
10536         * config/fp-bit.c (pack_d): Correct the case when a denormal
10537         is rounded up and stops being denormal.
10538
10539 2000-03-21  Richard Henderson  <rth@cygnus.com>
10540
10541         * config/alpha/alpha.c (function_arg): Check for void_type_node
10542         before using MUST_PASS_IN_STACK.
10543
10544 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
10545
10546         * regmove.c (combine_stack_adjustments_for_block): Check that
10547         the stack pointer is a valid memory address.
10548
10549 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
10550
10551         * calls.c: re-install Mar 16 emit_library_call merge.
10552
10553 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
10554
10555         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
10556         we cannot be sure that if reload_completed base register will
10557         be properly aligned.
10558
10559 2000-03-21  Richard Henderson  <rth@cygnus.com>
10560
10561         * flow.c (delete_block): Fix typo last change.
10562
10563 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
10564
10565         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
10566         not COMPLETE_TYPE_P, to check the type of the expression.
10567
10568 2000-03-21  Michael Meissner  <meissner@redhat.com>
10569
10570         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
10571         all floating point insns that just tested the macro
10572         TARGET_HAS_XFLOATING_LIBS.
10573         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
10574         used to only use the gprs.
10575
10576 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
10577
10578         * tree.h (COMPLETE_TYPE_P): New macro.
10579         (COMPLETE_OR_VOID_TYPE_P): New macro.
10580         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
10581         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
10582         * c-aux-info.c (gen_type): Use them.
10583         * c-common.c (c_expand_expr_stmt): Likewise.
10584         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
10585         grokdeclarator, grokparms, finish_struct, start_function,
10586         store_parm_decls, combine_parm_decls): Likewise.
10587         * c-parse.y (cast_expr): Likewise.
10588         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
10589         c_size_in_bytes, c_alignof, build_component_ref,
10590         build_indirect_ref, build_array_ref, convert_arguments,
10591         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
10592         * calls.c (initialize_argument_information): Likewise.
10593         * convert.c (convert_to_integer): Likewise.
10594         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
10595         * dwarfout.c (location_or_const_value_attribute,
10596         output_enumeration_type_die, output_structure_type_die,
10597         output_union_type_die, output_type): Likewise.
10598         * expr.c (safe_from_p, expand_expr): Likewise.
10599         * function.c (assign_parms): Likewise.
10600         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
10601         * tree.c (build_array_type, build_function_type,
10602         build_method_type, build_offset_type, build_complex_type): Likewise.
10603         * c-parse.c, c-parse.h: Regenerated.
10604
10605 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10606
10607         * config/c4x/rtems.h: Include config/rtems.h.
10608
10609 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
10610
10611         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
10612         decl is a FUNCTION_DECL
10613
10614 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
10615
10616         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
10617         function uses output registers.  Don't save RP for leaf functions.
10618         Do save RP even if no epilogue.
10619         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
10620         (CALL_USED_REGISTERS): Unmark in registers.
10621         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
10622         to near the middle.
10623
10624 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
10625
10626         * config/rs6000/rs6000.md (bunordered): New expander.
10627         (bordered): New expander.
10628         (buneq): New expander.
10629         (bunge): New expander.
10630         (bungt): New expander.
10631         (bunle): New expander.
10632         (bunlt): New expander.
10633         (bltgt): New expander.
10634
10635         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
10636         (ccr_bit_negated_p): New function.
10637         (print_operand): For %C, generate appropriate cror for UNEQ,
10638         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
10639
10640 2000-03-20  Andreas Jaeger  <aj@suse.de>
10641
10642         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
10643         warning.
10644
10645         * tree.h (safe_for_unsave): Prototype.
10646
10647 2000-03-20  Richard Henderson  <rth@cygnus.com>
10648
10649         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
10650         (combine_stack_adjustments_for_block): Don't allow sp references
10651         in the side of a set we're not fixing up.
10652         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
10653         after life_analysis.
10654
10655 2000-03-20  Richard Henderson  <rth@cygnus.com>
10656
10657         * calls.c (expand_call): Don't bother generating tail call
10658         sequences if there are pending cleanups.  Use
10659         expand_start_target_temps/expand_end_target_temps to elide
10660         cleanups created during sibcall expansion.
10661
10662 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
10663
10664         * configure.in: Set $IFS to a value if it doesn't already have one
10665         in the --enable-checking handling.
10666         * configure: Regenerate.
10667
10668 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10669
10670         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
10671         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
10672         Regenerated.
10673
10674 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
10675
10676         * jump.c (delete_noop_moves): Remove code attempting to
10677         combine stack adjustments.
10678
10679 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10680
10681         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
10682         * except.c (emit_cleanup_handler): Use them.
10683         (expand_end_all_catch): Likewise.
10684         * function.c (fixup_var_refs): Likewise.
10685         (expand_function_end): Clear catch_clauses_last.
10686         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
10687         * except.h (struct eh_status): New field x_catch_clauses_last.
10688         (catch_clauses_last): New define.
10689
10690         * Makefile.in (tree.o): Depend on HASHTAB_H.
10691         * tree.c: Include hashtab.h.
10692         (struct type_hash): Remove next field.
10693         (TYPE_HASH_SIZE): Remove.
10694         (TYPE_HASH_INITIAL_SIZE): New define.
10695         (type_hash_table): Change type to htab_t.
10696         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
10697         mark_hash_entry): New functions.
10698         (init_obstacks): Allocate type hash.
10699         (type_hash_lookup): Use htab functions.
10700         (type_hash_add, mark_type_hash): Likewise.
10701         (dump_tree_statistics): Call print_type_hash_statistics.
10702
10703 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10704
10705         * rs6000/t-aix41: New file.
10706
10707         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
10708
10709 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
10710
10711         * tm.texi (Driver): Fix typos and tweak entry for
10712         INCLUDE_DEFAULTS.
10713         Move misplaced STRUCT_FORCE_BLK entry ...
10714         (Storage Layout): ... to here.
10715         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
10716
10717 2000-03-19  Richard Henderson  <rth@cygnus.com>
10718
10719         * flow.c (delete_block): Delete the addr_vec along with the block.
10720         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
10721         reference labels.
10722
10723         * fold-const.c (extract_muldiv): Apply type check for defined
10724         overflow to multiply as well as divide.
10725
10726         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
10727
10728 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
10729
10730         * emit-rtl.c (remove_unncessary_notes): Check that all
10731         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
10732         associated NOTE_BLOCK.
10733         * function.h (identify_blocks): Update comments.
10734         (reorder_blocks): Declare.
10735         * function.c (identify_blocks): Don't take paramters.
10736         (reorder_blocks): Don't take parameters.
10737         * loop.h (find_loop_tree_blocks): Remove.
10738         (unroll_block_trees): Likewise.
10739         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
10740         reorder_blocks instead of unroll_block_trees.h
10741         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
10742         * stmt.c (find_loop_tree_blocks): Remove.
10743         (unroll_block_trees): Likewise.
10744         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
10745         in whole-function mode.
10746         * tree.h (reorder_blocks): Remove declaration.
10747
10748         * expr.c: Include intl.h.
10749         * Makefile.in (expr.o): Depend on intl.h.
10750
10751 2000-03-18  Richard Henderson  <rth@cygnus.com>
10752
10753         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
10754
10755 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
10756
10757         * tree.h (tree_index): Remove enumerals for integer types.
10758         (integer_type_kind): New type.
10759         (integer_types): New variable.
10760         (char_type_node): Adjust.
10761         (signed_char_type_node): Likewise.
10762         (unsigned_char_type_node): Likewise.
10763         (short_integer_type_node): Likewise.
10764         (short_unsigned_type_node): Likewise.
10765         (integer_type_node): Likewise.
10766         (unsigned_type_node): Likewise.
10767         (long_integer_type_node): Likewise.
10768         (long_unsigned_type_node): Likewise.
10769         (long_long_integer_type_node): Likewise.
10770         (long_long_unsigned_type_node): Likewise.
10771         * tree.c (integer_types): New variable.
10772         (init_obstacks): Register it as a root.
10773
10774 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
10775
10776         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
10777         NEXT_INSN. Update last insn in chain.
10778
10779 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
10780
10781         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
10782         with TYPE_DECL_SUPPRESS_DEBUG set.
10783
10784 2000-03-18  Richard Henderson  <rth@cygnus.com>
10785
10786         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
10787
10788 2000-03-18  Richard Henderson  <rth@cygnus.com>
10789
10790         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
10791         care for HALF_PIC_P.
10792         (expander_call_insn_operand): Remove.
10793         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
10794         * i386.h (PREDICATE_CODES): Update.
10795         * i386.md (all call expanders): Remove predicates, remove special
10796         handling for half-pic.
10797         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
10798         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
10799         (sibcall_epilogue): New.
10800
10801 2000-03-17  Richard Henderson  <rth@cygnus.com>
10802
10803         * rtlanal.c (single_set): Reject if the parallel has anything
10804         except SET or USE or CLOBBER.
10805
10806 2000-03-17  Jeff Law  <law@cygnus.com>
10807             Richard Henderson  <rth@cygnus.com>
10808
10809         * Makefile.in (OBJS): Add sibcall.o.
10810         (sibcall.o): New.
10811         * sibcall.c: New file.
10812         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
10813         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
10814         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
10815         Emit sibcall patterns when requested.  Update all callers.
10816         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
10817         elimination seems feasable.
10818         * final.c (leaf_function_p): Sibling calls don't discount being
10819         a leaf function.
10820         * flow.c (HAVE_sibcall_epilogue): Provide default.
10821         (find_basic_blocks_1): Sibling calls don't throw.
10822         (make_edges): Make edge from sibling call to EXIT.
10823         (propagate_block): Don't remove sibcall_epilogue insns.
10824         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
10825         (sibcall_epilogue): New.
10826         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
10827         (identify_blocks_1): Likewise.  Break out from ...
10828         (identify_blocks): ... here.
10829         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
10830         (reorder_blocks): ... here.
10831         (init_function_for_compilation): Zap prologue/epilogue as varrays.
10832         (record_insns): Extend a varray instead of mallocing new memory.
10833         (contains): Read a varray not array of ints.
10834         (sibcall_epilogue_contains): New.
10835         (thread_prologue_and_epilogue_insns): Emit and record
10836         sibcall_epilogue patterns.
10837         (init_function_once): Allocate prologue/epilogue varrays.
10838         * genflags.c (gen_insn): Treat sibcall patterns as calls.
10839         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
10840         Broken out from ...
10841         (save_for_inline_nocopy): ... here.
10842         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
10843         Broken out from ...
10844         (expand_inline_function): ... here.
10845         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
10846         (subst_constants): Handle 'n' formats.
10847         * jump.c (jump_optimize_minimal): New.
10848         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
10849         optimizations if it's set.
10850         * rtl.c (copy_rtx): Do copy jump & call for insns.
10851         * rtl.h (struct rtx_def): Document use of jump and call for insns.
10852         (SIBLING_CALL_P): New.
10853         (sibcall_use_t): New.
10854         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
10855         Invoke optimize_sibling_and_tail_recursive_calls.
10856         * tree.c (lang_safe_for_unsave): New.
10857         (safe_for_unsave): New.
10858         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
10859
10860         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
10861         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
10862         (*sibcall_osf_1, *sibcall_value_osf_1): New.
10863
10864 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
10865
10866         * objc/objc-act.c (encode_method_prototype): Pass types, not
10867         PARM_DECLs, to int_size_in_bytes.
10868
10869 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
10870
10871         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
10872
10873         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
10874         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
10875
10876 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10877
10878         * Clean up usages of TREE_INT_CST_LOW.
10879         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
10880         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
10881         Regenerated.
10882         * c-tree.h (min_precision): Move declaration to here.
10883         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
10884         (build_unary_op, add_pending_init): Use bit_position.
10885         (pending_init_member, process_init_element): Likewise.
10886         (really_start_incremental_init, push_init_level, pop_init_level):
10887         Don't make copies of nodes or modify them in place, use consistent
10888         types when tracking positions, and use tree routines computations.
10889         (set_init_index, output_init_element): Likewise.
10890         (output_pending_init_elements, process_init_element): Likewise.
10891         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
10892         tree_low_cst and int_bit_position; also minor cleanup.
10893         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
10894         (print_cst_octal): Precision is unsigned.
10895         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
10896         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
10897         (simple_type_align_in_bits): Result is unsigned int.
10898         Use tree_int_low_cst and host_integerp.
10899         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
10900         (field_byte_offset): Result is HOST_WIDE_INT.
10901         Change types of internal variables so alignments are unsigned int,
10902         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
10903         Use host_integerp, tree_low_cst, and int_bit_position.
10904         (add_bit_offset_attribute): Likewise.
10905         (add_data_member_location_attribute): Use tree_cst_low.
10906         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
10907         (add_bit_size_attribute): Use tree_low_cst.
10908         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
10909         * dwarfout.c: Similar changes to dwarf2out.c.
10910         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
10911         * genoutput.c (n_occurences): Return -1 for null string.
10912         (strip_whitespace): Accept null string and make into function.
10913         (scan_operands): Reflect above changes.
10914         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
10915         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
10916         * ssa.c (rename_registers): Add missing cast of arg to bzero.
10917         * tree.c (int_size_in_bytes): Check for too big to represent.
10918         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
10919         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
10920         New declarations.
10921         (min_precision): Delete from here.
10922         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
10923         and int_bit_position.
10924         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
10925         (encode_method_def): Likewise.
10926         (build_ivar_list_initializer): Use int_bit_position.
10927         (generate_shared_structures): Convert size.
10928         (encode_type, encode_complete_bitfield): Use integer_zerop.
10929         (encode_bitfield): Use tree_low_cst and int_bit_position.
10930
10931 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10932
10933         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
10934
10935 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10936
10937         * call.c (special_function_p): It is only malloc if it returns
10938         Pmode.
10939
10940 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10941
10942         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
10943         (C33_FLAG, TARGET_C3X): Add macros.
10944         (TARGET_SWITCHES): Add -m33 option.
10945         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
10946
10947 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10948
10949         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
10950         (PARALLEL_PACK_FLAG): Delete.
10951         (TARGET_SWITCHES): Update.
10952         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
10953
10954 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10955
10956         * fold-const.c (fold): Fix a few cases when the returned result
10957         is not of the same type as the input.
10958
10959 2000-03-16  Nick Clifton  <nickc@cygnus.com>
10960
10961         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
10962         warning.
10963
10964 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10965
10966         * libgcc2.h: Move prototypes above macros with the same name.
10967         Wrap some function prototypes in the conditional which indicates
10968         whether they are supported, i.e. "BITS_PER_UNIT == 8".
10969
10970 2000-03-16  Richard Henderson  <rth@cygnus.com>
10971
10972         * calls.c: Revert last two changes.
10973
10974 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
10975
10976         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
10977         has exponent 0 is a zero.
10978
10979         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
10980         HASH may already be nonzero.  Add code/mode into hash value
10981         immediately after repeat label.
10982         (cselib_lookup): Don't leave the hash table in an inconsistent
10983         state before a hash lookup operation.
10984
10985 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
10986
10987         * i386.md (all HI and QI mode non-move patterns):  Conditionize
10988         by TARGET_[HQ]IMODE_MATH.
10989         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
10990         x86_promote_qi_regs): Declare.
10991         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
10992         TARGET_PROMOTE_QI_REGS): New macros.
10993         (PROMOTE_MODE): New macro.
10994         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
10995         x86_promote_qi_regs): New global variables.
10996
10997 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
10998
10999         * calls.c (emit_library_call_value_1): Break out from ...; handle
11000         VOIDmode function calls too.
11001         (emit_library_call_value): ... here.
11002         (emit_library_call): Implement by calling emit_library_call_value_1.
11003
11004 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
11005
11006         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
11007         Update arg_space_so_far on stack adjustments.
11008         (emit_library_call, emit_library_call_value): Likewise; take into
11009         account arg_space_so_far and pending_stack_adjust when calculcating
11010         the boundary.
11011
11012 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
11013
11014         * flow.c: Move all basic block reordering code into its own file.
11015         (create_basic_block): Externalize.
11016         * bb-reorder.c: New file. Copy all basic block reordering code from
11017         flow.c to this file.
11018         (reorder_basic_blocks): Fix fencepost error in for-loop.
11019         (reorder_basic_blocks): Remove braces from single statement for-loops.
11020         * basic-block.h: Add declaration for create_basic_block.
11021         * Makefile.in: Add rules for bb-reorder.o.
11022
11023 2000-03-16  Neil Booth  <NeilB@earthling.net>
11024
11025         * cppinit.c (handle_option):  Implement #unassert directive
11026         as -A- command line option.
11027         (print_help):  Update.
11028         * cpptexi.c:  Update.
11029
11030 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11031
11032         * md.texi (Standard Names): Document `jump'.
11033
11034 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
11035
11036         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
11037         gotos.
11038
11039 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
11040
11041         Merge changes from newppc-branch onto trunk.
11042
11043         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
11044
11045         * rs6000.c (toc_hash_table): Update for new hash table functions.
11046         (toc_hash_function): Likewise.
11047         (toc_hash_eq): Likewise.
11048         (toc_hash_mark_entry): Likewise.
11049         (toc_hash_mark_table): Likewise.
11050         (output_toc): Likewise.
11051         (rs6000_add_gc_roots): Likewise.
11052
11053         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11054
11055         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
11056         (AR_FLAGS_FOR_TARGET): here.  New macro.
11057
11058         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
11059
11060         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
11061         fpmem_operand) Delete.
11062         (xer_operand) New.
11063         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
11064         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
11065         (rs6000_save_machine_status, rs6000_restore_machine_status,
11066         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
11067         references to above variables.
11068         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
11069         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
11070         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
11071         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
11072         (XER_REGNO_P, XER_REGNO): New.
11073         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
11074         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
11075         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
11076         XER_REGNO_P.
11077         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
11078         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
11079         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
11080
11081         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11082
11083         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
11084         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
11085         * rs6000.h: from here.
11086
11087         * rs6000-protos.h (rs6000_select_section): Provide prototype.
11088         (rs6000_select_rtx_section): Likewise.
11089         (rs6000_encode_section_info): Likewise.
11090         (sdata_section): Likewise.
11091         (sdata2_section): Likewise.
11092         (sbss_section): Likewise.
11093         * sysv4.h (rs6000_select_section): Delete prototype.
11094         (rs6000_select_rtx_section): Likewise.
11095         (rs6000_encode_section_info): Likewise.
11096         (sdata_section): Likewise.
11097         (sdata2_section): Likewise.
11098         (sbss_section): Likewise.
11099         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
11100
11101         * sysv4.h: Delete various unnecessary #undef's and put a comment
11102         on the remaining ones.
11103         Change various comments according to coding standard.
11104
11105         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
11106
11107         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
11108         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
11109         (CR0_REGNO_P) Remove.
11110         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
11111         setup_incoming_varargs, mtcrf_operation, print_operand,
11112         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
11113         Use the above macros.
11114
11115         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
11116
11117         * config/rs6000/rs6000.md: Added a new alternative for each
11118         pattern that had a 'x' alternative but no 'y' alternative.
11119         Added a new split for each of the above patterns.
11120
11121         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
11122
11123         * aix41.h (ASM_CPU_SPEC): Delete.
11124         (CPP_CPU_SPEC): Delete.
11125
11126         * aix.h (RS6000_OUTPUT_BASENAME): Define.
11127         (ASM_OUTPUT_LABEL): Define.
11128         (ASM_GLOBALIZE_LABEL): Define.
11129         (STRIP_NAME_ENCODING): Define.
11130         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
11131         (STRIP_NAME_ENCODING): Don't define.
11132         (ASM_OUTPUT_LABEL): Don't define.
11133         (ASM_GLOBALIZE_LABEL): Don't define.
11134         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
11135         names, and ASM_OUTPUT_LABEL to output labels, rather than
11136         asm_fprintf.
11137         (ASM_OUTPUT_LABEL): Define.
11138         (ASM_OUTPUT_INT): Use assemble_name.
11139         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
11140         (STRIP_NAME_ENCODING): Don't undefine first.
11141         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
11142         ELF.
11143         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
11144         specified with 'asm' even with -fleading-underscore.
11145         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
11146         (output_epilog): Likewise.
11147         (output_toc): Likewise.
11148         * tramp.asm: Handle -fleading-underscore correctly.
11149
11150         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
11151         -mminimal-toc.
11152         (nonlocal_goto_receiver): Delete.
11153         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
11154
11155         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
11156         (SET_ASM_OP): Define.
11157         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
11158
11159         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
11160         (ASM_LONG): Define.
11161
11162         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
11163         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
11164
11165         * rs6000.h: Add 'u' to more constants.
11166
11167         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
11168
11169         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
11170
11171         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
11172
11173         * rs6000.c (reg_or_u_cint_operand): New function.
11174         (logical_operand): Handle 64-bit hosts.
11175         (logical_u_operand): New function.
11176         (non_logical_cint_operand): Handle 64-bit hosts.
11177         (non_logical_u_cint_operand): New function.
11178         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
11179         (PREDICATE_CODES): Define new functions.
11180         * rs6000-protos.h: Declare new functions.
11181         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
11182         (movdi_64): Bracket code intended for 64-bit hosts.  Create
11183         CONST_DOUBLE for 32-bit values.
11184         (scc insns): Generate DImode compares.
11185         (mfcr insns): Create DImode versions.
11186         (sge matchers): New patterns.
11187
11188         2000-02-15  Gabriel Paubert  <paubert@iram.es>
11189
11190         * rs6000.md: Correct instructions length attributes and
11191         constraints on unsigned compare instructions.
11192         (*ne0): Disable for PowerPC64.
11193
11194         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
11195
11196         * rs6000.c (output_function_profiler): Use .long for a 32-bit
11197         quantity, fix profile1.C test failure under -fPIC.
11198
11199         * rs6000.c: Add 'u' to many constants to suppress warnings.
11200         (constant_pool_expr_1): Make static.
11201         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
11202         * rs6000.h: Add 'u' to many constants to suppress warnings.
11203
11204         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
11205         for the start of the TOC, instead of LCTOC..0.
11206         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
11207         of the TOC.
11208         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
11209         (load_toc_aix_di): Use LCTOC..1.
11210
11211         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
11212         * rs6000.c (rs6000_legitimize_address): New function from
11213         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
11214         symbols in the constant pool that really are TOC references.
11215         (print_operand_address): For ELF, write TOC offsets under
11216         -fPIC as subtractions in the insn.
11217         (output_toc): For ELF, define symbols in TOC as normal labels,
11218         to match RTL.
11219         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
11220         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
11221         (create_TOC_reference): Prototype only when RTX_CODE is defined.
11222         * rs6000.md (movsi): Only use create_TOC_reference on
11223         symbols in the constant pool that really are TOC references.
11224
11225         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
11226         * rs6000.c (rs6000_reorg): Delete.
11227         * rs6000-protos.h (rs6000_reorg): Delete.
11228
11229         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
11230
11231         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
11232
11233         * aix.h (SETUP_FRAME_ADDRESSES): Define.
11234         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
11235         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
11236         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
11237         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
11238         rs6000_aix_emit_builtin_unwind_init.
11239         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
11240         rs6000_emit_eh_toc_restore on AIX.
11241         (return_eh_si): Use r2.
11242         (return_eh_di): Use r2.
11243
11244         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
11245         since we're breaking binary compatibility anyway.
11246
11247         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
11248
11249         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
11250         constant_pool_expr_p): Declare them.
11251         (constant_pool_expr_p): Declare it.
11252         * config/rs6000/rs6000.c (toc_label_name): Define.
11253         (rs6000_override_options): Set toc_label_name.
11254         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
11255         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
11256         uses_TOC): New functions.
11257         (print_operand): Delete old '*' case.
11258         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
11259         and strip off rtl for TOC before calling output_addr_const.
11260         (rs6000_emit_load_toc_table): Use toc_label_name.
11261         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
11262         the default.
11263         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
11264         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
11265         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
11266         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
11267         into explicit TOC_REGISTER offsets.
11268         (TOC_REGISTER): New macro.
11269         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
11270         TARGET_TOC to reference TOC_REGISTER.
11271         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
11272         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
11273         uses_TOC before emitting label references.
11274
11275         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
11276
11277         * rs6000.md (stack_tie): Fix warning.
11278
11279         * eabi-ctors.c: Use 'asm' names for the start/end variables,
11280         to handle -fleading-underscore.
11281         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
11282         (USER_LABEL_PREFIX): New macro.
11283         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
11284         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
11285         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
11286         call-linux can use the same multilibs.
11287         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
11288         and call-linux multilibs.  Do multilib with -fleading-underscore.
11289         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
11290         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
11291         to call-aix.
11292
11293         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
11294         have MASK_SOFT_FLOAT set.
11295         (CPP_FLOAT_DEFAULT_SPEC): New macro.
11296         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
11297         CPP_FLOAT_DEFAULT_SPEC.
11298
11299         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
11300         * rs6000.md: Whitespace change.
11301         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
11302         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
11303
11304         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
11305
11306         * rs6000.md (eh_epilogue): New expander.
11307         (eh_reg_restore): New expand/split/insn combination.
11308         (return_eh_si): New insn.
11309         (return_eh_di): New insn.
11310
11311         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
11312         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
11313         * eabi-ctors.c (__do_global_ctors): Register this object's
11314         frame.  Clean up.  Call atexit() after the constructors.
11315         (__do_global_dtors): Deregister this object's frame.  Clean up.
11316         Allow for recursive calls to exit().
11317         * rs6000.c (fixuplabelno): New variable.
11318         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
11319         TARGET_RELOCATABLE, it slows down exec() under linux.
11320         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
11321
11322         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
11323         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
11324         (ASM_OUTPUT_DWARF_DELTA2): New macro.
11325         (ASM_OUTPUT_DWARF_DELTA4): New macro.
11326         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
11327         (ASM_OUTPUT_DWARF_ADDR): New macro.
11328         (ASM_OUTPUT_DWARF_DATA4): New macro.
11329         (ASM_OUTPUT_DWARF_DATA2): New macro.
11330         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
11331         (ASM_OUTPUT_DWARF_OFFSET): New macro.
11332         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
11333
11334         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
11335
11336         * rs6000.c (rs6000_sr_alias_set): New variable.
11337         (rs6000_override_options): Initialise rs6000_sr_alias_set.
11338         (rs6000_emit_stack_tie): New function.
11339         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
11340         in a way that dwarf2out can understand.
11341         (rs6000_frame_related): New function.
11342         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
11343         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
11344         Use rs6000_emit_stack_tie when needed.
11345         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
11346         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
11347         * rs6000.md (stack_tie): New insn.
11348         (return_internal_si): Allow return value to be in the count
11349         register.
11350         (return_internal_di): Likewise.
11351
11352         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
11353
11354         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
11355
11356         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
11357
11358         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
11359
11360         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
11361
11362         * rs6000.md (stmw): Use the right POWER opcode.
11363         (lmw): Likewise.
11364
11365         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11366
11367         * rs6000-protos.h: New file.
11368
11369         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
11370
11371         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
11372         warnings.
11373
11374         * sysv4.h: Likewise.
11375
11376         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
11377
11378         * ../../configure.in: Delete powerpcle-*-winnt*
11379         and powerpcle-*-pe|powerpcle-*-cygwin*.
11380         * ../../configure: Regenerated.
11381         * cygwin.h: Delete.
11382         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
11383         (TARGET_WINDOWS_NT): Delete.
11384         (ABI_NT): Delete.
11385         (CALL_NT_DLLIMPORT): Delete.
11386         Delete NT-specific code.
11387         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
11388         * win-nt.h: Delete.
11389         * t-winnt: Delete.
11390         * nt-ci.asm: Delete.
11391         * nt-cn.asm: Delete.
11392         * ntstack.asm: Delete.
11393
11394         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11395
11396         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
11397         (ASM_FILE_START): Likewise.
11398         (ASM_DECLARE_FUNCTION_NAME): Likewise.
11399         (ASM_OUTPUT_LABELREF): Likewise.
11400         (ASM_OUTPUT_SKIP): Likewise.
11401         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
11402         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
11403         (ASM_OUTPUT_CASE_LABEL): Likewise.
11404         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
11405         (ASM_OUTPUT_ASCII): Likewise.
11406
11407         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
11408
11409         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
11410         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
11411         increment rs6000_pic_labelno here.
11412         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
11413         and increment rs6000_pic_labelno here.
11414
11415         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
11416
11417         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
11418         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
11419         allocation knows (reg) is dead before the insn.
11420
11421         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
11422
11423         * rs6000.md (movsi_to_cr): Correct typo in output template.
11424
11425         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
11426
11427         * rs6000.c (rs6000_pic_labelno): Always define.
11428         (rs6000_pic_func_labelno): Delete.
11429         (lmw_operation): Check for a zero base register,
11430         which doesn't mean what we want.
11431         (stmw_operation): New function.
11432         (print_operand): Define new 'l' modifier.
11433         (rs6000_stack_info): We must save all 64 bits of the registers
11434         if TARGET_POWERPC64.
11435         (rs6000_output_load_toc_table): Delete.
11436         (rs6000_emit_load_toc_table): New function.
11437         (rs6000_allocate_stack_space): Delete.
11438         (rs6000_emit_allocate_stack): New function.
11439         (rs6000_emit_prologue): New function.
11440         (output_prolog): Use rs6000_emit_prologue.
11441         (rs6000_emit_epilogue): Change a few variable names to be
11442         more accurate.  Restore all 64 bits of the registers if
11443         TARGET_POWERPC64.  Only restore the FP registers which were used
11444         if they are being saved/restored one-at-a-time.
11445         (output_mi_thunk): Delete inefficient code generation.
11446         (output_function_profiler): Don't use rs6000_output_load_toc_table.
11447         * rs6000.h: Declare rs6000_emit_load_toc_table,
11448         rs6000_allocate_stack_space, stmw_operation.  Don't declare
11449         rs6000_output_load_toc_table.
11450         * rs6000.md (elf_high): Allow register 0, but discourage it
11451         heavily.
11452         (elf_low): Support loading into register 0.
11453         (load_toc_aix_si): New pattern.
11454         (load_toc_aix_di): New pattern.
11455         (load_toc_v4_pic_si): New pattern.
11456         (load_toc_v4_pic_di): New pattern.
11457         (load_toc_v4_PIC_1): New pattern.
11458         (load_toc_v4_PIC_1b): New pattern.
11459         (load_toc_v4_PIC_2): New pattern.
11460         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
11461         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
11462         (prologue): New expander.
11463         (movesi_from_cr): New pattern.
11464         (stmw): New pattern.
11465         (save_fpregs_si): New pattern.
11466         (save_fpregs_di): New pattern.
11467
11468         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11469
11470         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
11471         (movdi): Likewise.
11472         (movhi): Likewise.
11473         (movqi): Likewise.
11474
11475         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11476
11477         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
11478         at present.
11479         (movsi_got_internal): Likewise.
11480         (movsi_got_internal+1): Likewise.
11481         (set_sp): 'unspec 7' does a SImode clobber.
11482
11483         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11484
11485         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
11486         allocate a stack temporary.
11487         (floatsidf2_internal): Likewise.
11488         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
11489         with unspec.
11490         (floatunssidf2): Don't use the fpmem "register", just
11491         allocate a stack temporary.
11492         (floatunssidf2_internal): Likewise.
11493         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
11494         with unspec.
11495         (floatsidf2_loadaddr): Delete.
11496         (floatsidf2_store1): Delete.
11497         (floatsidf2_store2): Delete.
11498         (floatsidf2_load): Delete.
11499         (fix_truncdfsi2): Don't use the fpmem "register", just
11500         allocate a stack temporary.
11501         (fix_truncdfsi2_internal_si): Delete.
11502         (fix_truncdfsi2_internal_di): Delete.
11503         (fix_truncdfsi2_internal): New insn.
11504         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
11505         (fix_truncdfsi2_store): Delete.
11506         (fix_truncdfsi2_load): Delete.
11507         (fctiwz): Produce gen_fctiwz.
11508
11509         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
11510
11511         * eabi.h (INVOKE__main): Define.
11512         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
11513         specially.
11514         (rs6000_emit_prologue): Likewise.
11515         * rs6000.h (struct rs6000_stack): Don't keep track of whether
11516         this is the main program.
11517
11518         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11519
11520         * rs6000.c (rs6000_va_arg): Delete some unused variables.
11521
11522         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
11523
11524         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
11525         goes after the argument.
11526
11527         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
11528
11529         * rs6000.md: Document 'unspec' values used.
11530         (epilogue): New expander.
11531         (movesi_to_cr_one): New expander.
11532         (movesi_to_cr and following): New pattern.
11533         (lmw): New pattern.
11534         (return_internal_si): New pattern.
11535         (return_internal_di): New pattern.
11536         (return_and_restore_fpregs_si): New pattern.
11537         (return_and_restore_fpregs_di): New pattern.
11538         * rs6000.h: Declare new functions.
11539         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
11540         rather than rs6000_calls_p.
11541         (rs6000_makes_calls): Delete.
11542         (lmw_operation): New function.
11543         (mtcrf_operation): New function.
11544         (rs6000_emit_epilogue): New function.
11545         (output_epilog): Call rs6000_emit_epilogue and final if
11546         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
11547
11548         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
11549
11550         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
11551         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
11552         * aix.h (SUBTARGET_SWITCHES): Document switches.
11553         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
11554         sched-prolog and sched-epilog the same.  Document all the
11555         switches.
11556         (TARGET_OPTIONS): No longer allow -mdebug-.
11557
11558         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
11559
11560         * rs6000.h (ASM_FILE_END): Move to aix.h.
11561         (EXTRA_SECTIONS): Move to aix.h.
11562         (READONLY_DATA_SECTION): Move to aix.h.
11563         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
11564         (SELECT_SECTION): Move to aix.h.
11565         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
11566         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
11567         (LINK_REGISTER_REGNUM): New definition.
11568         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
11569         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
11570         AIX and SVR4.
11571         * sysv4.h: Delete the code between the inclusion of rs6000.h
11572         and svr4.h.
11573         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
11574         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
11575         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
11576         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
11577         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
11578         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
11579         (fix_truncdfsi2_internal_di): New pattern.
11580         (fix_truncdfsi2_store): The second arg here is Pmode too.
11581         (fix_truncdfsi2_load): The second arg here is Pmode too.
11582         (tablejumpdi): Now that switch tables hold only SImode values,
11583         gcc needs to know how to add them to the pc which is DImode.
11584         * rs6000.c (rs6000_stack_info): Use symbolic name for
11585         LINK_REGISTER_REGNUM.
11586         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
11587         (output_toc): Delete unused variables s1 and s2.
11588         (output_ascii): Use fputs not fprintf on a variable string.
11589
11590         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
11591
11592         * rs6000.c (processor_target_table): Add power3 as alias for 630.
11593         * aix43.h: Revert Aug 2 change.
11594         (HAS_INIT_SECTION): Define, not visible yet.
11595         (LD_INIT_SWITCH): Define, not visible yet.
11596         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
11597
11598         2000-01-04  Joel Sherrill (joel@OARcorp.com>
11599
11600         * config/rs6000/rtems.h: Include config/rtems.h.
11601
11602         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
11603
11604         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
11605         (SLOW_UNALIGNED_ACCESS): Define.
11606         (CASE_VECTOR_MODE): Always use 32-bit offsets.
11607         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
11608         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
11609         (toc_section): Likewise and .toc pseudo-op.
11610         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
11611         64-bit mode.
11612         (TEXT_SECTION_ASM_OP): Likewise.
11613         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
11614         32-bit offsets.
11615
11616         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
11617
11618         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
11619         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
11620         compiling libgcc2.
11621
11622         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11623
11624         * rs6000.h: Move more stuff from here...
11625         * aix.h: to here.
11626         * sysv4.h: Cleanup accordingly.
11627         * netware.h: Likewise
11628
11629         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11630
11631         * rs6000.h: Continue cleanup.
11632         * aix.h: Likewise.
11633         * lynx.h: Likewise.
11634         * netware.h: Likewise.
11635         * sol2.h: Likewise.
11636         * sysv4.h: Likewise.
11637         * win-nt.h: Likewise.
11638
11639         * rs6000.h (TARGET_SWITCHES): Add descriptions.
11640         (TARGET_OPTIONS): Likewise.
11641
11642         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
11643         (SUBTARGET_OPTIONS): Likewise.
11644
11645         * rs6000.md: Fix compile time warnings.
11646
11647         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
11648
11649         vxworks patches from the Cygnus tree originally by
11650         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
11651         <vmakarov@cygnus.com>.
11652         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
11653         (ENDFILE_SPEC): Likewise.
11654         (LIB_VXWORKS_SPEC): New macro.
11655         (STARTFILE_VXWORKS_SPEC): New macro.
11656         (ENDFILE_VXWORKS_SPEC): New macro.
11657         (LINK_START_VXWORKS_SPEC): New macro.
11658         (LINK_OS_VXWORKS_SPEC): New macro.
11659         (CPP_OS_VXWORKS_SPEC): New macro.
11660         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
11661         * vxppc.h: Rewrite to use proper configuration method.
11662         * vxppcle.h: New file.
11663         * ../../configure.in: Add powerpcle-wrs-vxworks*.
11664         * ../../configure: Rebuilt.
11665
11666         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
11667
11668         Lots of changes to rs6000.h, sysv4.h, aix.h,
11669         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
11670         with the aim that rs6000.h is the first header
11671         included and the others override it.
11672         * aix.h: New file.
11673
11674         * x-aix41-gld: Remove.
11675         * x-aix43: Remove.
11676         * x-aix41: Remove target-specific switches, and don't specify
11677         -Wl,-bbigtoc as we don't need it any more.
11678         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
11679         Use t-aix43 for AIX 4.3 and above.
11680         * ../../configure: Regenerated.
11681
11682         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
11683         options, that don't do anything yet.
11684         (MASK_SCHED_PROLOG): New macro.
11685         (MASK_SCHED_EPILOG): New macro.
11686         (TARGET_SCHED_PROLOG): New macro.
11687         (TARGET_SCHED_EPILOG): New macro.
11688
11689         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
11690
11691         * rs6000.c: Correct comment, the `minimal' TOCs are actually
11692         one per translation unit, not one per function.
11693         (output_toc): Also do duplicate constant elimination
11694         for per-translation-unit TOCs.
11695
11696         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
11697         a comment explaining _exactly_ when this pattern gets used.
11698         (builtin_setjmp_receiver): New pattern for better clarity.
11699         (init_v4_pic): Move it into a section dealing with TOC registers.
11700
11701         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
11702
11703         * rs6000.c (toc_hash_table): New variable.
11704         (rs6000_hash_constant): New function.
11705         (toc_hash_function): New function.
11706         (toc_hash_eq): New function.
11707         (toc_hash_mark_entry): New function.
11708         (toc_hash_mark_table): New function.
11709         (output_toc): Don't output duplicate TOC entries in
11710         a single file.
11711         (rs6000_add_gc_roots): Add the hash table as a GC root.
11712         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
11713         where they clearly shouldn't be.  This may need to be fixed
11714         later when there is a GNU ar for AIX.
11715         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
11716         Don't define BOOT_LDFLAGS as it is now not necessary.
11717
11718         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
11719
11720         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
11721         for va_list on AIX.  Use unsigned_char_type_node rather than
11722         constructing our own version on svr4.
11723
11724         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
11725
11726         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
11727         since patently it's not.
11728
11729         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
11730
11731         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
11732         define_expand/define_insn pair, and handle restore of the
11733         SVR4 -fpic register.
11734
11735 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
11736
11737         * acconfig.h (HAVE_GAS_WEAK): New define.
11738         * configure.in (assembler weak support): Check for .weak support.
11739         * config.in, configure: Rebuilt.
11740         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
11741         HAVE_GAS_WEAK is defined.
11742
11743 2000-03-15  Nick Clifton  <nickc@cygnus.com>
11744
11745         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
11746         asm_fprintf().
11747
11748 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
11749
11750         * cppfiles.c (open_include_file): New function.
11751         (find_include_file, cpp_read_file): Use it.
11752
11753 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
11754
11755         * cpphash.c (dump_hash_helper): Take the slot, not the element.
11756
11757 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
11758
11759         * flow.c (verify_flow_info): Check for unconditional return.
11760
11761 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
11762
11763         * config/ia64/ia64.md (restore_stack_nonlocal): New.
11764         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
11765         (__ia64_restore_stack_nonlocal): New.
11766         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
11767
11768 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11769
11770         * cpphash.c (collect_formal_parameters): Do not complain about
11771         parameter names that just start with `__VA_ARGS__'.
11772
11773 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
11774
11775         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
11776         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
11777         * i386.c (pentiumpro_cost): Set mul cost to 4.
11778         (x86_use_movx): Set for PPro.
11779
11780 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
11781
11782         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
11783         STACK_BOUNDARY for empty frames now.
11784
11785 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
11786
11787         * stor-layout.c (layout_union): Remove.
11788         (layout_union_field): New function, split out from layout_union.
11789         (finish_union_layout): Likewise.
11790         (layout_field): Handle unions by calling layout_union_field.
11791         (finish_record_layout): Handle unions.
11792         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
11793         QUAL_UNION_TYPE handling.
11794
11795 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
11796
11797         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
11798         end of basic block is jump_insn, not barrier; use create_basic_block
11799         instead of creating basic block by hand.
11800
11801 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
11802
11803         * flow.c (reorder_basic_blocks): Account for barriers when writing
11804         over NEXT_INSN (last_bb->end).
11805         (verify_flow_info): Add check for missing barriers.
11806
11807 2000-03-14  Greg McGary  <gkm@gnu.org>
11808
11809         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
11810         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
11811         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
11812         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
11813         __unbounded, __unbounded__): New keywords.
11814         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
11815         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
11816         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
11817
11818 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11819
11820         * cselib.h: New file.
11821         * alias.c: Include "cselib.h".
11822         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
11823         MEMs as two new arguments.
11824         (get_addr): New static function.
11825         (find_base_term): Handle VALUEs.
11826         (memrefs_conflict_p): Likewise.
11827         (true_dependence): Call get_addr on the addresses.
11828         Call fixed_scalar_and_varying_struct_p with addresses that have been
11829         passed through get_addr and canon_rtx.
11830         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
11831         with true_dependence.
11832         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
11833         * loop.c: Include "cselib.h".
11834         (load_mems): Process extended basic block that enters the loop with
11835         cselib.  Use that information to change initialization of the shadow
11836         register so that a constant equivalence is seen by later passes.
11837         * reload1.c: Include "cselib.h".
11838         (reload_cse_invalidate_regno): Delete function.
11839         (reload_cse_mem_conflict_p): Likewise.
11840         (reload_cse_invalidate_mem): Likewise.
11841         (reload_cse_invalidate_rtx): Likewise.
11842         (reload_cse_regno_equal_p): Likewise.
11843         (reload_cse_check_clobber): Likewise.
11844         (reload_cse_record_set): Likewise.
11845         (reg_values): Delete static variable.
11846         (invalidate_regno_rtx): Likewise.
11847         (reload_cse_delete_noop_set): New static function.
11848         (reload_cse_simplify): New static function, broken out of
11849         reload_cse_regs_1.
11850         (reload_cse_noop_set_p): Delete unused argument INSN.
11851         Just call rtx_equal_for_cselib_p on set source and destination.
11852         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
11853         reload_cse_delete_noop_set.  Delete code to keep track of values; use
11854         cselib functions instead.  Delete code to push/pop obstacks.
11855         (reload_cse_simplify_set): Use cselib to find equivalent values.
11856         Delete code to push/pop obstacks.
11857         (reload_cse_simplify_operands): Likewise.
11858         * rtl.def (VALUE): New rtx code.
11859         * rtl.h (union rtunion_def): New elt rt_cselib.
11860         (X0CSELIB, CSELIB_VAL_PTR): New macros.
11861         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
11862         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
11863         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
11864         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
11865         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
11866         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
11867         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
11868         cselib_record_set, cselib_record_sets): New static functions.
11869         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
11870         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
11871         references_value_p): New functions.
11872         (MAX_USELESS_VALUES, REG_VALUES): New macros.
11873         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
11874         n_useless_values, reg_values, callmem, cselib_obstack,
11875         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
11876         New static variables.
11877         * varray.h (union varray_data_tag): New elt te.
11878         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
11879         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
11880         dependencies.
11881
11882 2000-03-14  Nick Clifton  <nickc@cygnus.com>
11883
11884         * gcc.c (do_spec_1): Catch the case where %* is used in a
11885         substitution pattern, but it has not been initialised.
11886         Issue a meaningful error message if an unrecognised operator
11887         is encountered in a spec string.
11888
11889 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
11890
11891         * function.c (prepare_function_start): Correctly initialize
11892         cfun->stack_alignment_needed.
11893
11894 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
11895
11896         * cppfiles.c (find_include_file): Don't assume nshort is a
11897         substring of name.
11898
11899 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
11900
11901         * configure.in (hppa configurations): Add pa32-regs.h to the
11902         list of tm files as appropriate.
11903         * configure: Rebuilt.
11904         * pa.c (compute_frame_size): Remove explicit knowledge about FP
11905         register numbering.
11906         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
11907         (fmpyaddoperands, fmpysuboperands): Likewise.
11908         * pa.h: Remove various definitions which depend on knowing
11909         how registers are numbered.
11910         * pa32-regs.h: New file with PA32 register numbering specific
11911         definitions.
11912
11913 2000-03-14  Richard Henderson  <rth@cygnus.com>
11914
11915         * regmove.c (combine_stack_adjustments): New.
11916         (stack_memref_p, single_set_for_csa): New.
11917         (free_csa_memlist, record_one_stack_memref): New.
11918         (try_apply_stack_adjustment): New.
11919         (combine_stack_adjustments_for_block): New.
11920         * rtl.h (combine_stack_adjustments): Declare.
11921         * toplev.c (rest_of_compilation): Call it.
11922
11923         * i386.md: Revert 2000-01-16 change.
11924
11925 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11926
11927         * gccbug.in: Add web category, gcc specific classes.
11928
11929 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
11930
11931         * stor-layout.c (finalize_record_size): Fix typo.
11932
11933 2000-03-14  Stan Shebs  <shebs@apple.com>
11934
11935         * c-typeck.c (c_alignof): Error on incomplete types.
11936         * extend.texi (Alignment): Document this.
11937
11938 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
11939
11940         * cppfiles.c: Include mkdeps.h.
11941         (find_include_file, read_include_file): Remove _cpp_ prefix
11942         from name, make static.
11943         (_cpp_execute_include): New function, broken out of
11944         do_include.
11945
11946         * cpplib.c: Don't include mkdeps.h.
11947         (struct directive): Remove type field. Reorder entries.  The
11948         function takes only one argument.
11949         (struct if_stack): Make type field an int.
11950         (directive_table): Rename to dtable.  Generate it, the
11951         prototypes of the directive handlers, and the enum for the
11952         directive numbers, from a template macro.
11953         (do_ifndef, do_include_next, do_import): New functions.
11954         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
11955         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
11956         do_ident, do_assert, do_unassert, do_sccs): Take only one
11957         argument.
11958         (do_sccs): Define always, but alter behavior based on
11959         SCCS_DIRECTIVE.
11960         (_cpp_handle_directive, consider_directive_while_skipping):
11961         Restructure for new directive table layout.
11962
11963         (pass_thru_directive): Take a directive number, not a pointer
11964         to a struct directive.
11965         (parse_include): New function, broken out of do_include.
11966         (do_include, do_import, do_include_next): Use parse_include
11967         and _cpp_execute_include.
11968         (do_elif, do_else): Test for T_ELSE specifically when checking
11969         for #elif/#else after #else.
11970         (parse_ifdef): New function, broken out of do_ifdef.
11971         (validate_else): Expect a name arg without a leading #.
11972         (if_directive_name): Delete.
11973         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
11974         directive handlers with only one argument.
11975
11976         * cpphash.h: Update prototypes.
11977         (enum node_type): Remove entries for directives.
11978         * Makefile.in: Update dependencies.
11979
11980         * cpphash.c (dump_hash_helper): Only dump nodes of type
11981         T_MACRO.  Emit a newline after each definition.
11982
11983 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11984
11985         * gccbug.in: New file.
11986         * configure.in (all_outputs): Add gccbug.
11987         * Makefile.in (install-common): Install gccbug.
11988         (GCCBUG_INSTALL_NAME): New variable.
11989         * configure: Rebuilt.
11990
11991 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
11992
11993         * function.c (put_var_into_stack): Use type_for_mode to calculate
11994         part_type.  Use MEM_SET_IN_STRUCT_P.
11995         * expr.c (store_field): Handle CONCAT.
11996         (store_constructor): Use fields_length.
11997         * tree.c (fields_length): New fn.
11998         * tree.h: Declare it.
11999
12000 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
12001
12002         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
12003         (cpplex.o): New target.
12004         * po/POTFILES.in: Add cpplex.c.
12005
12006         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
12007         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
12008         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
12009         skip_block_comment, skip_line_comment, skip_comment,
12010         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
12011         _cpp_parse_name, skip_string, parse_string,
12012         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
12013         _cpp_get_directive_token, find_position,
12014         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
12015         (maybe_macroexpand, _cpp_lex_token): New functions.
12016
12017         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
12018         parse_goto_mark): Delete.
12019         (_cpp_handle_eof): New function.
12020         (_cpp_handle_directive): Rename from handle_directive.
12021         (_cpp_output_line_command): Rename from output_line_command.
12022         (do_if, do_elif): Call _cpp_parse_expr directly.
12023         * cppfiles.c (_cpp_read_include_file): Don't call
12024         init_input_buffer here.
12025         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
12026         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
12027         here; pop the token_buffer and skip the rest of the line here.
12028         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
12029         here.
12030
12031         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
12032         Define here.
12033         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
12034         CPP_GOTO_MARK): New macros.
12035         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
12036         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
12037         _cpp_read_and_prescan, _cpp_init_input_buffer,
12038         _cpp_grow_token_buffer, _cpp_get_directive_token,
12039         _cpp_handle_directive, _cpp_handle_eof,
12040         _cpp_output_line_command): Prototype them here.
12041         * cpplib.h (enum cpp_token): Add CPP_MACRO.
12042         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
12043         quote_string, output_line_command): Remove.
12044
12045 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
12046
12047         * stmt.c (expand_end_case): RANGE may be signed, and when checking
12048         whether it is too large we must also verify that it isn't negative.
12049
12050 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
12051
12052         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
12053         (movsi_zero_liveg0): Remove.
12054         (movsf_insn_novis_liveg0): Remove.
12055         (negsi2): Remove.
12056         (negsi2_not_liveg0): Rename to negsi2.
12057         (one_cmplsi2): Remove.
12058         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
12059         (one_cmplsi2_liveg0): Remove.
12060         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
12061         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
12062         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
12063         (PREDICATE_CODES): Remove zero_operand.
12064         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
12065         TARGET_BROKEN_SAVERESTORE.
12066         (zero_operand): Remove.
12067         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
12068         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
12069         options.
12070         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
12071         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
12072         TARGET_BROKEN_SAVERESTORE): Remove.
12073         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
12074         Remove.
12075         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
12076         Remove.
12077         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
12078         Remove.
12079
12080         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
12081
12082 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
12083
12084         * cpplib.c (do_pragma_implementation): Fix off-by-one error
12085         truncating a string.  Don't assume tokens are nul terminated.
12086         Problem noted by Andreas Jaeger <aj@suse.de>
12087
12088 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
12089
12090         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
12091         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
12092         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
12093
12094 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
12095
12096         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
12097         STRUCTURE_SIZE_BOUNDARY.
12098
12099 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
12100
12101         * tree.h (record_layout_info_s): New structure.
12102         (record_layout_info): New type.
12103         (new_record_layout_info): New function.
12104         (layout_field): Likewise.
12105         (finish_record_layout): Likewise.
12106         * stor-layout.c (layout_record): Remove.
12107         (new_record_layout_info): New function.
12108         (layout_field): New function, broken out from layout_record.
12109         (finalize_record_size): Likewise.
12110         (compute_record_mode): Likewise.
12111         (finalize_type_size): New function, broken out from layout_type.
12112         (finish_record_layout): Likewise.
12113         (layout_type): Use them.
12114
12115 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
12116
12117         * cpphash.c: Don't include version.h.
12118         (special_symbol) [case T_VERSION]: Look for the string in
12119         hp->value.cpval; don't use version_string.
12120         * cppinit.c (initialize_builtins): Set hp->value.cpval for
12121         __VERSION__ to version_string.
12122         * Makefile.in (cpphash.o): Update deps.
12123
12124 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
12125
12126         Convert cpplib to use libiberty/hashtab.c.
12127
12128         * cpplib.h (struct cpp_reader): Make hashtab and
12129         all_include_files of type 'struct htab *'.  Delete HASHSIZE
12130         and ALL_INCLUDE_HASHSIZE macros.
12131
12132         * cpphash.h: Update prototypes.
12133         (struct hashnode): Remove next, prev, and bucket_hdr members.
12134         Make length a size_t.  Add hash member.
12135         (struct ihash): Remove next member.  Add hash member.  Make
12136         name a flexible array member.
12137
12138         * cppfiles.c: Include hashtab.h.
12139         (include_hash): Delete.
12140         (IHASHSIZE): New macro.
12141         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
12142         (cpp_included): Do the hash lookup here.
12143         (_cpp_find_include_file): Rewrite.
12144         (cpp_read_file): Put the "fake" hash entry into the hash
12145         table.  Honor the control_macro, if it turns out we've seen
12146         the file before.  Don't push the buffer here.
12147         (_cpp_read_include_file): Push the buffer here.
12148         (OMODES): New macro.  Use it whenever we call open(2).
12149
12150         * cpphash.c: Include hashtab.h.
12151         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
12152         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
12153         _cpp_lookup_slot): New functions.
12154         (HASHSIZE): new macro.
12155         (hashf, _cpp_install, _cpp_delete_macro): Delete.
12156         (_cpp_lookup): Use hashtab.h routines.
12157
12158         * cppinit.c: Include hashtab.h.
12159         (cpp_reader_init): Call _cpp_init_macro_hash and
12160         _cpp_init_include_hash.  Don't allocate hashtab directly.
12161         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
12162         pfile->all_include_files.
12163         (initialize_builtins): Use _cpp_make_hashnode and
12164         htab_find_slot to add hash entries.
12165         (cpp_finish): Just call _cpp_dump_macro_hash.
12166         * cpplib.c: Include hashtab.h.
12167         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
12168         create hash entries.
12169         (do_pragma_poison, do_assert): Likewise.
12170         (do_include): Don't push the buffer here.  Don't increment
12171         system_include_depth unless _cpp_read_include_file succeeds.
12172         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
12173         or htab_remove_elt.
12174         (do_pragma_implementation): Use alloca to create copy.
12175
12176         * Makefile.in: Update dependencies.
12177
12178 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12179
12180         * cppinit.c (cl_directive_handler): More K&R fixing.
12181
12182 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
12183
12184         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
12185         STACK_BOUNDARY.
12186         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
12187
12188 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12189
12190         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
12191         Change from char[] to macros.
12192
12193 2000-03-12  Neil Booth  <NeilB@earthling.net>
12194
12195         * cppinit.c (cpp_start_read): Update indirect function
12196         call to K&R C.
12197
12198 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
12199
12200         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
12201         entry.
12202
12203         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
12204         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
12205
12206 2000-03-11  Neil Booth  <NeilB@earthling.net>
12207
12208         * cppinit.c (struct pending option): Replace undef with a
12209         pointer to a directive handling routine.
12210         (struct cpp_pending): Replace separate assert_ and define_
12211         lists with one directive_ list.
12212         (new_pending_define): Rename new_pending_directive. Extra
12213         argument is the directive's handling routine.
12214         (handle_option): Update to use new_pending_directive.
12215
12216 2000-03-11  Neil Booth  <NeilB@earthling.net>
12217
12218         * cppfiles.c (file_cleanup, _cpp_find_include_file,
12219         remap_filename, _cpp_read_include_file, actual_directory,
12220         hack_vms_include_specification): Replace bcopy(), index() etc
12221         calls.  Add casts to some allocations.  Make some variables
12222         pointers to const [unsigned] char.
12223         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
12224         collect_formal_parameters): Similarly.
12225         * cppinit.c (struct pending_option, append_include_chain,
12226         cpp_options_init, cpp_reader_init, initialize_standard_includes,
12227         cpp_start_read, new_pending_define, handle_option): Similarly.
12228         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
12229         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
12230         do_pragma_implementation, detect_if_not_defined,
12231         do_ifdef, skip_if_group, cpp_get_token, parse_string,
12232         do_assert, do_unassert): Similarly.
12233         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
12234         function prototypes.
12235         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
12236
12237 2000-03-10  Richard Henderson  <rth@cygnus.com>
12238
12239         * builtins.c (expand_builtin_strlen): Revert last change.
12240         Use emit_insn_before if we're at the beginning of a sequence.
12241
12242 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
12243
12244         * builtins.c (expand_builtin_strlen): Make sure that we have something
12245         at the beginning of the sequence.
12246
12247         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
12248         deferred inlines.
12249
12250         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
12251
12252 2000-03-10  Richard Henderson  <rth@cygnus.com>
12253
12254         * except.c (can_throw): Use INTVAL on a CONST_INT.
12255         (reachable_handlers): Likewise.
12256         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
12257
12258 2000-03-10  Andreas Jaeger  <aj@suse.de>
12259
12260         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
12261         MD_STARTFILE_PREFIX since those are not needed on linux.
12262         (ASM_FILE_START): New, from mips/gnu.h.
12263
12264 2000-03-09  Richard Henderson  <rth@cygnus.com>
12265             Alex Samuel  <samuel@codesourcery.com> and others
12266
12267         * Makefile.in (ssa.o): New rule.
12268         (OBJS): Add ssa.o.
12269         (STAGESTUFF): Add *.ssa and *.ussa.
12270         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
12271         * rtl.def (PHI): New RTL expression.
12272         * rtl.h (clear_log_links): New declaration.
12273         (convert_to_ssa): Likewise.
12274         (convert_from_ssa): Likewise.
12275         * flow.c (split_edge): If the entry node falls through to the
12276         split edge's source block, split the entry edge.
12277         (clear_log_links): New function.
12278         * toplev.c (ssa_dump): New variable.
12279         (flag_ssa): Likewise.
12280         (f_options): Add "ssa".
12281         (compile_file): Create SSA dump files.
12282         (rest_of_compilation): Go to and from SSA if enabled.
12283         (decide_d_option): Handle -de for SSA dump files.
12284         * ssa.c: New file.
12285
12286 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
12287
12288         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
12289         same as VAR_DECL.
12290
12291 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
12292
12293         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
12294
12295 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
12296
12297         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
12298         (MD_STARTFILE_PREFIX_1): New macro.
12299
12300 2000-03-09  Robert Lipe  <robertl@sco.com>
12301
12302         * config/ia64/ia64.c: Include system.h.
12303
12304 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
12305
12306         * except.c (nothrow_function_p): If -fno-exceptions, just return.
12307         (init_eh_nesting_info): Likewise.
12308
12309         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
12310         (TREE_NOTHROW): Rename from TREE_RAISES.
12311         * toplev.c (rest_of_compilation): Set it.
12312         * print-tree.c (print_node): Adjust.
12313         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
12314         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
12315         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
12316         REG_EH_REGION note as appropriate.
12317         (libfunc_nothrow): New fn.
12318         (emit_library_call, emit_library_call_value): Use it.
12319         (expand_call): Check TREE_NOTHROW.
12320
12321         * varasm.c (make_decl_rtl): Skip initial '*' when setting
12322         DECL_ASSEMBLER_NAME.
12323
12324 2000-03-09  Andreas Jaeger  <aj@suse.de>
12325
12326         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
12327         (TARGET_MEM_FUNCTIONS): Define.
12328
12329 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
12330
12331         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
12332
12333         * except.c (can_throw): See through a SEQUENCE.
12334         (nothrow_function_p): New fn.
12335         * except.h: Declare it.
12336         * function.c (current_function_nothrow): New var.
12337         (prepare_function_start): Initialize it.
12338         * output.h: Declare it.
12339         * toplev.c (rest_of_compilation): Set it.
12340         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
12341
12342 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
12343
12344         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
12345         match.  (cpp_compare_defs): Count the nul separator when
12346         advancing over argument names.
12347
12348 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
12349
12350         * recog.c (preprocess_constraints): Matching constraints affect
12351         same alternative/different operand, not same operand/different
12352         alternative.
12353
12354         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
12355         register and a constant specially.
12356
12357 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12358
12359         * libgcc2.h: New file.
12360         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
12361
12362 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
12363
12364         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
12365         * configure: Regenerate.
12366         * config/ia64: New.
12367
12368 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
12369
12370         * Makefile.in (LIBCPP_DEPS): New macro.
12371         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
12372         it to declare deps.
12373         * cpperror.c: Include cpphash.h.
12374         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
12375         dingleberry.
12376         (lex): Don't use CPP_WARN_UNDEF.
12377         (_cpp_parse_expr): Return an int, the truth value.
12378         * cppfiles.c: Include cpphash.h.
12379         (_cpp_merge_include_chains): Move to cppinit.c and make static.
12380         * cppinit.c (include_defaults_array): Disentangle.
12381         (cpp_cleanup): Don't free the if stack here.
12382         (cpp_finish): Pop off all buffers, not just one.
12383         * cpplib.c (eval_if_expr): Return int.
12384         (do_xifdef): Rename do_ifdef.
12385         (handle_directive): Don't use CPP_PREPROCESSED.
12386         (cpp_get_token): Don't use CPP_C89.
12387         * fix-header.c: Don't use CPP_OPTIONS.
12388
12389         * cpplib.h: Move U_CHAR, enum node_type, struct
12390         file_name_list, struct ihash, is_idchar, is_idstart,
12391         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
12392         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
12393         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
12394         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
12395         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
12396         of _cpp_simplify_pathname, _cpp_find_include_file,
12397         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
12398         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
12399         cppinit.c.
12400         Change all uses of U_CHAR to be unsigned char instead.
12401         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
12402
12403 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
12404
12405         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
12406         (dwarf2out_begin_prologue): Set it.
12407         (output_call_frame_info): Don't emit EH unwind info for leaves.
12408
12409         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
12410         can occur outside of an EH region.
12411         * except.c: Correct comments about rethrow behavior.
12412         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
12413
12414 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
12415
12416         * flow.c (make_edges): Always call make_eh_edge for calls.
12417
12418 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
12419
12420         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
12421         (struct cpp_buffer): Remove fname and underflow fields.
12422         (struct cpp_reader): Remove get_token field.
12423         (struct include_hash): Rename to struct ihash.  Add typedef to
12424         IHASH.
12425         (struct if_stack): Remove fname field.
12426         (IF_STACK_FRAME): Rename to IF_STACK.
12427
12428         * cpperror.c (print_containing_files): Trust that there are no
12429         macro buffers below the top file buffer.
12430         * cppfiles.c: Replace all references to 'struct include_hash'
12431         with 'IHASH'.  Rename initialize_input_buffer to
12432         init_input_buffer.  Don't set or reference cpp_buffer->fname,
12433         use buffer->ihash->name instead.
12434         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
12435         not CPP_NULL_BUFFER.
12436         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
12437         IF_STACK_FRAME, IHASH not struct include_hash.
12438         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
12439         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
12440         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
12441         references to cpp_buffer->fname (delete entirely, or use
12442         ->ihash->name instead) and IF_STACK->fname.
12443         (cpp_push_buffer): Don't set new->underflow.
12444         (do_include): Use cpp_file_buffer.
12445
12446         * cpphash.c (collect_formal_parameters): Remove duplicate
12447         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
12448         used as a macro argument name.  Don't append "..." to namebuf
12449         for varargs macros.  After we're done scanning, go through
12450         namebuf and make it NUL separated, not comma separated.
12451         (_cpp_compare_defs): Remove register tag from variables.
12452         Expect defn->argnames to be NUL separated.
12453         (_cpp_dump_definition): Expect defn->argnames to be NUL
12454         separated and in forward order.
12455         * cpphash.h: Update documentation of argnames field.
12456
12457 2000-03-08  Richard Henderson  <rth@cygnus.com>
12458
12459         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
12460         to fail.  Don't pre-expand the source operand.
12461
12462         * i386.md (strlensi): Initialize eoschar and align before use.
12463
12464 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
12465
12466         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
12467         CONSTRUCTOR element.
12468
12469 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
12470
12471         * mips.c (mips_expand_prologue): If the last
12472         named argument is the vararg marker "va_list", treat it as
12473         an unnamed argument.
12474
12475 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
12476
12477         * dbxout.c (dbxout_parms): When correcting for promoted
12478         big-endian parameters, use the mode of the DECL_RTL rather
12479         than UNITS_PER_WORD.
12480
12481 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
12482
12483         * c-common.h (make_fname_decl): Declare.
12484         * c-common.c (make_fname_decl): Define.
12485         (declare_hidden_char_array): Remove.
12486         (declare_function_name): Use make_fname_decl.
12487         * c-decl.c (c_make_fname_decl): New function.
12488         (init_decl_processing): Set make_fname_decl.
12489
12490 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
12491
12492         * cccp.c (handle_directive): Initialize backslash_newlines_p.
12493
12494 2000-03-07  Philipp Thomas  <pthomas@suse.de>
12495
12496         * po/POTFILES.in: Remove cppalloc.c from file list.
12497
12498 2000-03-07  Steve Chamberlain  <sac@pobox.com>
12499
12500         * pj.c (pj_expand_prologue): current_function->args_info is
12501         now current_function_args_info.
12502
12503         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
12504         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
12505         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
12506
12507 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12508
12509         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
12510         output as hexadecimal rather than the default octal.
12511
12512 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
12513
12514         * cpphash.c (special_symbol): Fix thinko in previous commit.
12515
12516 2000-03-07  Neil Booth  <NeilB@earthling.net>
12517
12518         * cppexp.c (struct operation, left_shift, right_shift,
12519         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
12520         "int"s to "unsigned int"s.
12521         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
12522         Similarly.
12523         * cpplib.h: Update for above.
12524         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
12525         returned from allocations.
12526
12527         * cppinit.c (opt_comp, parse_options): New functions.
12528         (handle_option): Use parse_option to parse a single command
12529         line option, that possibly takes an argument.
12530         (cpp_handle_options): Sort the array of command line options on
12531         first invocation (non-ASCII hosts only).
12532         (print_help): Update.
12533
12534 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
12535
12536         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
12537         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
12538
12539         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
12540         initialized.
12541         * cppinit.c (cpp_cleanup): Free imp->nshort also.
12542
12543         * cpperror.c (cpp_print_containing_files,
12544         cpp_print_file_and_line, v_cpp_message): Rename to
12545         print_containing_files, print_file_and_line, and v_message.
12546         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
12547         to _cpp_parse_expr, parse_escape, and lex.
12548         (parse_charconst): Remove broken multibyte support.
12549         * cppfiles.c (include_hash): Make static.
12550         (cpp_included): New function.
12551         (merge_include_chains, find_include_file, finclude,
12552         simplify_pathname): Rename to _cpp_merge_include_chains,
12553         _cpp_find_include_file, _cpp_read_include_file, and
12554         _cpp_simplify_pathname.
12555         * cpphash.c (cpp_lookup, free_definition, delete_macro,
12556         cpp_install, create_definition, macroexpand, compare_defs,
12557         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
12558         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
12559         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
12560         * cppinit.c (cpp_handle_option): Rename to handle_option, make
12561         static.
12562         * cpplib.c: Remove extern prototype of cpp_parse_expr.
12563
12564         * cpphash.h: Update prototypes.
12565         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
12566
12567 2000-03-07  Andrew Haley  <aph@cygnus.com>
12568
12569         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
12570         PTRDIFF_TYPE should be based solely on Pmode.
12571         (SIZE_TYPE): ditto.
12572
12573 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12574
12575         * rtl.h (rtunion_def): Constify member `rtstr'.
12576         (emit_line_note_after, emit_line_note, emit_line_note_force,
12577         emit_note, decode_asm_operands): Constify.
12578
12579         * cse.c (canon_hash): Likewise.
12580
12581         * dbxout.c (dbxout_block): Likewise.
12582
12583         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
12584         v_warning_for_asm): Likewise.
12585
12586         * dwarfout.c (function_start_label): Likewise.
12587
12588         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
12589         emit_line_note_force): Likewise.
12590
12591         * final.c (last_filename, asm_insn_count, final_scan_insn,
12592         output_source_line): Likewise.
12593
12594         * function.h (struct emit_status): Likewise.
12595
12596         * gcse.c (hash_expr_1): Likewise.
12597
12598         * genattr.c (gen_attr, main): Likewise.
12599
12600         * genattrtab.c (struct function_unit, current_alternative_string,
12601         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
12602         attr_numeral, check_attr_test, check_attr_value,
12603         convert_set_attr_alternative, convert_set_attr,
12604         compute_alternative_mask, simplify_by_exploding, gen_attr,
12605         gen_unit): Likewise.
12606
12607         * genflags.c (gen_insn): Likewise.
12608
12609         * gengenrtl.c (type_from_format): Likewise.
12610
12611         * genopinit.c (gen_insn): Likewise.
12612
12613         * genoutput.c (n_occurrences, process_template, process_template):
12614         Likewise.
12615
12616         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
12617         Likewise.
12618
12619         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
12620         Likewise.
12621
12622         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
12623         ggc_set_mark, ggc_get_size): Likewise.
12624
12625         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
12626
12627         * optabs.c (init_one_libfunc): Likewise.
12628
12629         * output.h (assemble_start_function): Likewise.
12630
12631         * recog.c (decode_asm_operands): Likewise.
12632
12633         * toplev.c (rest_of_compilation): Likewise.
12634
12635         * tree.h (emit_line_note_after, emit_line_note,
12636         emit_line_note_force): Likewise.
12637
12638         * varasm.c (asm_output_bss, asm_output_aligned_bss,
12639         asm_emit_uninitialised, assemble_start_function,
12640         assemble_variable, const_hash, compare_constant_1,
12641         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
12642
12643         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
12644
12645         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
12646
12647         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
12648
12649         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
12650
12651         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
12652         arm_dllimport_name_p): Likewise.
12653
12654         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
12655         Likewise.
12656
12657         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
12658
12659         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12660
12661         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
12662         arm_mark_dllexport, arm_mark_dllimport,
12663         arm_pe_encode_section_info): Likewise.
12664
12665         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
12666         ASM_FINISH_DECLARE_OBJECT): Likewise.
12667
12668         * arm/thumb.c (thumb_function_prologue): Likewise.
12669
12670         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
12671
12672         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12673
12674         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
12675
12676         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
12677
12678         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
12679
12680         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12681
12682         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
12683         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
12684
12685         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
12686
12687         * i386/i386.c (asm_output_function_prefix): Likewise.
12688
12689         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
12690
12691         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12692
12693         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
12694
12695         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
12696         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
12697         ASM_OUTPUT_SECTION_NAME): Likewise.
12698
12699         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
12700
12701         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
12702
12703         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
12704
12705         * m32r/m32r.c (m32r_encode_section_info): Likewise.
12706
12707         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12708
12709         * mcore/mcore.c (mcore_encode_section_info): Likewise.
12710
12711         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12712
12713         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12714
12715         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12716
12717         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
12718
12719         * mips/mips.md (movdi, movsi): Likewise.
12720
12721         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12722
12723         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12724
12725         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12726
12727         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
12728         ASM_OUTPUT_ASCII): Likewise.
12729
12730         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
12731         output_mi_thunk, output_toc): Likewise.
12732
12733         * rs6000/rs6000.md (movsi): Likewise.
12734
12735         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
12736
12737         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
12738
12739         * v850/v850.c (print_operand, print_operand_address,
12740         v850_encode_data_area): Likewise.
12741
12742 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
12743
12744         * config/mips/mips.md (zero_extendsidi2): Always force operand
12745         one to memory for mips16.
12746
12747 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12748
12749         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
12750         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
12751         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
12752         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
12753         (min_precision): Result is unsigned.
12754         (add_double, neg_double, mul_double): Low word is unsigned.
12755         (lshift_double, rshift_double, lrotate_double): Likewise.
12756         (rrotate_double, div_and_round_double): Likewise.
12757         (tree_floor_log2, compare_tree_int): New functions.
12758         (preserve_rtl_expr_temps): New declaration.
12759         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
12760         (decl_attributes): Use tree_log2 to find alignment.
12761         Check for TREE_INT_CST_HIGH for format args.
12762         (min_precision): Now unsigned.
12763         Use tree_floor_log2.
12764         (truthvalue_conversion): Delete long-disabled code.
12765         * c-decl.c (finish_struct): Clean up tests on field width.
12766         (finish_function): Use compare_tree_int.
12767         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
12768         * c-typeck.c (comptypes): Use tree_int_cst_equal.
12769         (default_conversion, digest_init): Use compare_tree_int.
12770         (build_binary_op): Use integer_all_onesp and compare_tree_int.
12771         Fix type errors in forming masks.
12772         * calls.c (initialize_argument_information): Use compare_tree_int.
12773         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
12774         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
12775         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
12776         (store_field): Use compare_tree_int.
12777         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
12778         (expand_expr, case ARRAY_REF): Use compare_tree_int.
12779         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
12780         (do_store_flag): Use compare_tree_int.
12781         * fold-const.c (encode, decode): Low part is always unsigned.
12782         (force_fit_type, add_double, neg_double, mul_double): Likewise.
12783         (lshift_double, rshift_double, lrotate_double): Likewise.
12784         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
12785         (fold_convert): Use compare_tree_int.
12786         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
12787         (invert_truthvalue, case INTEGER_CST): Likewise.
12788         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
12789         * mkdeps.c (deps_dummy_targets): Make I unsigned.
12790         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
12791         (lshift_double, rshift_double, lrotate_double, rrotate_double):
12792         Likewise.
12793         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
12794         (expand_end_case): Use compare_tree_int.
12795         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
12796         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
12797         (layout_decl): Likewise.
12798         (layout_record, layout_union): Make sizes unsigned.
12799         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
12800         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
12801         * tree.c (struct type_hash): hashcode is unsigned.
12802         (build_type_attribute_variant, type_hash_list): Likewise.
12803         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
12804         (attribute_hash_list, build_array_type, build_method_type): Likewise.
12805         (build_complex_type): Likewise.
12806         (real_value_from_int_cst): Remove unneeded casts.
12807         (integer_all_onesp): Add casts.
12808         (tree_floor_log2, compare_tree_int): New functions.
12809         (build_index_type): Use tree_int_cst_sgn.
12810         * varasm.c (assemble_variable): Use compare_tree_int.
12811
12812 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
12813
12814         * cpphash.c (collect_expansion): Also catch ## at start of macro.
12815
12816         * varasm.c (make_decl_rtl): Don't add a number to members of
12817         local classes.
12818         (make_function_rtl): Likewise.
12819
12820 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12821
12822         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
12823         patch from 2000-01-28.
12824
12825 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
12826
12827         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
12828         filled with an insn from the jump target.
12829
12830 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12831
12832         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
12833         (c4x_external_ref): Likewise.
12834         * config/c4x/c4x.c (struct name_list): Likewise.
12835
12836 1999-12-16  Ben Collins  <bcollins@debian.org>
12837
12838         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
12839         argument to genmultilib.
12840         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
12841         the contents into the multilib.h header.
12842         * gcc.c: Declare multilib_exclusions for the specs file.
12843         (set_multilib_dir): Use it.
12844         (print_multilib_info): Likewise.
12845         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
12846         to pass to genmultilib.
12847
12848 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12849
12850         * builtins.c (built_in_class_names, built_in_names): Constify a
12851         char*.
12852
12853         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
12854         int.
12855         (_mcleanup): Ensure value matches format specifier in sprintf.
12856
12857         * cpphash.c (special_symbol): Don't needlessly cast away
12858         const-ness.
12859
12860         * cppinit.c (base_name): Delete unused prototype.
12861
12862         * mkdeps.c (deps_init): Make definition K&R safe.
12863
12864         * tree.h (built_in_class_names, built_in_names): Constify a
12865         char*.
12866
12867 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
12868
12869         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
12870         floating point instructions for epilogue delay.
12871
12872         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
12873         to gas if it supports .register pseudo.
12874
12875         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
12876         LONG_DOUBLE_TYPE_SIZE if not defined.
12877         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
12878         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
12879         * real.c: Likewise.
12880         * gengenrtl.c: Likewise.
12881         * print-rtl.c: Likewise.
12882         * rtl.c: Likewise.
12883         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
12884         MASK_LONG_DOUBLE_128.
12885         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
12886         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
12887         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
12888         (SUBTARGET_SWITCHES): Define.
12889         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
12890         with -mlong-double-128.
12891         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
12892         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
12893         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
12894         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
12895         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
12896         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
12897         with -mlong-double-128.
12898         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
12899         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
12900         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
12901         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
12902         TARGET_LONG_DOUBLE_128): Define.
12903         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
12904         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
12905         long double on TARGET_ARCH64.
12906
12907 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
12908
12909         * function.c (free_temps_for_rtl_expr): Don't free slots
12910         that have been pushed into a higher level.
12911
12912         Revert this patch:
12913         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
12914
12915 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
12916
12917         * basic-block.h (ALLOCA_REG_SET): Remove.
12918         (INITIALIZE_REG_SET): New macro.
12919         * flow.c (update_life_info): Use it.
12920         (calculate_global_regs_live): Likewise.
12921         (propagate_block): Likewise.
12922         * global.c (build_insn_chain): Likewise.
12923         * haifa-sched.c (schedule_region): Likewise.
12924
12925 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
12926
12927         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
12928         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
12929         (DWARF_ARANGES_PAD_SIZE): New define.
12930         (output_aranges): Use it to pad the address range header.
12931         (DWARF_ROUND): Fix for non power of 2 rounding.
12932
12933 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
12934
12935         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
12936
12937 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
12938
12939         * tree.def (RTL_EXPR): Update documentation.
12940         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
12941         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
12942         * function.c (preserve_rtl_expr_temp): New function.
12943         (preserve_rtl_expr_temps): Likewise.
12944         (preserve_rtl_expr_result): Use it.
12945
12946         Revert this patch:
12947         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
12948
12949 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
12950
12951         * regmove.c (copy_src_to_dest)  Do not create src->dest move
12952         for unchanging destination.
12953
12954 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
12955
12956         * function.h (struct sequence_stack): Remove rtl_expr.
12957         (struct emit_staus): Likewise.
12958         (seq_rtl_expr): Remove.
12959         * tree.h (free_temps_for_rtl_expr): Don't declare.
12960         (start_sequence_for_rtl_expr): Likewise.
12961         * rtl.h (preserve_rtl_expr_result): Likewise.
12962         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
12963         (start_sequence_for_rtl_expr): Remove.
12964         (push_topmost_sequence): Don't save sequence_rtl_expr.
12965         (pop_topmost_sequence): Remove comment about not restoring it.
12966         (end_sequence): Don't set seq_rtl_expr.
12967         (init_emit): Don't initialize it.
12968         (mark_sequence_stack): Don't mark it.
12969         (mark_emit_status): Likewise.
12970         * except.c (protect_with_terminate): Use
12971         start_sequence_for_rtl_expr, not start_sequence.
12972         * expr.c (expand_expr, case RTL_EXPR): Don't call
12973         preserve_rtl_expr_result or free_temps_for_rtl_expr.
12974         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
12975         (preserve_rtl_expr_result): Remove.
12976         (free_temps_for_rtl_expr): Likewise.
12977         (pop_temp_slots): Likewise.
12978         (mark_temp_slot): Don't mark the rtl_expr.
12979         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
12980         start_sequence_for_rtl_expr.
12981
12982 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
12983
12984         * mkdeps.c, mkdeps.h: New files.
12985         * po/POTFILES.in: Add them.
12986         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
12987         (cpplib.o, cppinit.o): Depend on mkdeps.h.
12988         (mkdeps.o): New target.
12989
12990         * cppfiles.c: Delete deps_output.
12991         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
12992         OBJECT_SUFFIX, and base_name.
12993         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
12994         the include hash.
12995         (initialize_dependency_output): Use deps_init,
12996         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
12997         all the unnecessary string bashing.
12998         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
12999         level.
13000         * cpplib.c (do_include): Use deps_add_dep.
13001         * cpplib.h (struct cpp_reader): Replace deps_buffer,
13002         deps_allocated_size, deps_size, deps_column members with
13003         single pointer to a struct deps.  Delete prototype of
13004         deps_output.
13005
13006         * cppinit.c: Fix thinko in previous patch.
13007
13008 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13009
13010         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
13011         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
13012         (mode_for_size_tree): New function.
13013         (layout_decl, layout_type): Call it and clean up BLKmode checks.
13014         * tree.h (mode_for_size_tree): New declaration.
13015
13016         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
13017
13018 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
13019
13020         * stmt.c (is_body_block): Move...
13021         * dwarfout.c, dwarf2out.c: ...from here.
13022         * tree.h: Declare it.
13023         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
13024         * final.c (final_start_function): Do call remove_unnecessary_notes
13025         when scheduling.
13026
13027 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
13028
13029         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
13030
13031         * cpplib.h (_dollar_ok): New macro.
13032         (is_idchar, is_idstart): Use it.
13033         (IStable): Rename to _cpp_IStable.  Declare it const if
13034         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
13035         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
13036         is_space): Update for renamed IStable.
13037
13038         * cppinit.c: Delete all references to FAKE_CONST and CAT
13039         macros. Define init_IStable as empty macro if gcc >=2.7 or
13040         C99. Change TABLE() to ISTABLE and hardcode name of table.
13041         (cpp_start_read): Don't change the IStable based on
13042         dollars_in_ident.
13043
13044         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
13045         changed.  Handle '$' for char1 correctly.
13046         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
13047
13048         * cppexp.c (tokentab2): Make const.
13049         (cpp_lex): Make toktab const.
13050         * cppinit.c (include_defaults_array): Make const.
13051         (initialize_standard_includes): Make default_include const.
13052
13053 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
13054
13055         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
13056         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
13057         (gen_decl_die): Likewise.
13058         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
13059         (output_decl): Likewise.
13060
13061         * varasm.c (make_function_rtl): If we change the name used in the
13062         rtl, update DECL_ASSEMBLER_NAME accordingly.
13063         (make_decl_rtl): Likewise.
13064
13065         * toplev.c (rest_of_compilation): Tweak formatting.
13066
13067         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
13068         remove_unnecessary_notes.
13069         (debug_ignore_block): New fn.
13070         * toplev.h: Declare it.
13071         * emit-rtl.c (remove_unncessary_notes): Call it.
13072         * dwarf2out.c (dwarf2out_ignore_block): New fn.
13073         * dwarf2out.h: Declare it.
13074         * final.c (final_start_function): Don't call remove_unnecessary_notes
13075         if we did insn scheduling.
13076
13077 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
13078
13079         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
13080         * cpplib.h: Delete SET_CPP_PEDANTIC.
13081
13082 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13083
13084         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
13085         result is a RECORD_TYPE.
13086
13087 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13088
13089         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
13090
13091 2000-03-03  Richard Henderson  <rth@cygnus.com>
13092
13093         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
13094         addition over compliments over shifts.
13095
13096 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13097
13098         * reload1.c (reload_combine_note_use): Handle return register USEs.
13099         REG case: Handle multi-hard-register hard regs.
13100
13101 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13102
13103         * md.texi: Document use of '*' in insn pattern name.
13104
13105 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
13106
13107         * calls.c (special_function_p): operator new may not be malloc-like.
13108
13109         * gcse.c (dump_hash_table): Really fix error in last change.
13110
13111 2000-03-02  Denis Chertykov  <denisc@overta.ru>
13112
13113         * avr.c (print_operand): Use print_operand_address instead of
13114         output_addr_const.
13115         * avr/libgcc.S: Cleanup code.
13116
13117 2000-03-02  Richard Henderson  <rth@cygnus.com>
13118
13119         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
13120
13121 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
13122
13123         * tree.h (TYPE_ALIGN_UNIT): New macro.
13124
13125 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
13126
13127         * i386.c: (constant_call_address_operand): Reject CONST_INT.
13128
13129 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
13130
13131         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
13132         for the buffer.
13133         (SET_CPP_PEDANTIC): New macro.
13134         * cpplib.c (do_include): Don't bother checking system_header_p.
13135         (do_warning, do_ident, do_assert, do_unassert): Likewise.
13136         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
13137
13138         * function.h (struct expr_status): Add x_arg_space_so_far.
13139         (arg_space_so_far): New macro.
13140         * expr.c (init_expr): Initialize it.
13141         * calls.c (emit_call_1): Reset it.
13142         (compute_argument_block_size, expand_call): Use it.
13143         (expand_call, store_one_arg): Increment it.
13144
13145 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13146
13147         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
13148         a UNION_TYPE.
13149
13150 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
13151
13152         * cppfiles.c (cpp_read_file): New function.
13153
13154         * cpphash.c (collect_expansion): Make sure to reset last_token
13155         to NORM when we hit a string.  Handle trailing whitespace
13156         properly when the expansion is empty.
13157         (create_definition): Disable line commands while parsing the
13158         directive line.
13159         (dump_definition): If pfile->lineno == 0, output a line
13160         command ahead of the dump, and add a trailing newline.
13161
13162         * cppinit.c (append_include_chain): Add fifth argument, which
13163         indicates whether or not system headers are C++ aware.
13164         (initialize_standard_includes): New function,
13165         broken out of read_and_prescan.  Pass 'cxx_aware' value from
13166         the include_defaults_array on to append_include_chain.
13167         (dump_special_to_buffer): Const-ify char array.
13168         (builtin_array): Don't dump __BASE_FILE__.
13169         (cpp_start_read): Use cpp_read_file.  Reorder code for
13170         clarity.  Don't output line commands here for -D/-A/-U
13171         switches.  Don't call deps_output for files included with
13172         -include or -imacros.
13173
13174         * cpplib.c (do_define): Don't pay any attention to the second
13175         argument.
13176         (cpp_expand_to_buffer): Disable line commands while scanning.
13177         (output_line_command): Work in the file buffer.
13178         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
13179         Fix formatting of comments.  Prototype cpp_read_file.
13180
13181 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13182
13183         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
13184         reference the language-equivalent of sizetype.
13185         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
13186         * fold-const.c (size_binop, size_diffop): Put back checks.
13187         * gcse.c (dump_hash_table): Fix minor error in last change.
13188         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
13189         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
13190         all sizetypes.
13191
13192 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
13193
13194         * calls.c (expand_call)  Do not attempt to combine stack adjustments
13195         with inhibit_defer_pop set.
13196
13197 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
13198
13199         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
13200         the DECL_SIZE for a FIELD_DECL.
13201
13202 2000-03-01  Bruce Korb  <bkorb@gnu.org>
13203
13204         * fixinc/inclhack.tpl: remove unused symlinks
13205         * fixinc/README: GCC Maintainer info
13206         * fixinc/inclhack.sh: regen
13207         * fixinc/fixincl.sh: regen
13208
13209 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
13210
13211         * cpphash.c (collect_expansion): Trim trailing white space
13212         from macro definitions, but don't go past the last insertion
13213         point.
13214
13215 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
13216
13217         * i386.md (mulqi3): New pattern.
13218
13219 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
13220
13221         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
13222         token types.
13223         (struct cpp_reader): Add parsing_if_directive and
13224         parsing_define_directive flags.
13225         (struct cpp_options): Remove output_conditionals flag.
13226         (check_macro_name): Delete prototype.
13227
13228         * cpphash.h (struct macrodef): Delete.
13229         (struct reflist): Separate from struct definition.
13230         (struct definition): Remove unused fields.  Add column number.
13231         (create_definition): Returns a DEFINITION *.  Takes a
13232         cpp_reader * and an int.
13233
13234         * cpphash.c (SKIP_WHITE_SPACE): Delete.
13235         (PEEKC): Copy defn from cpplib.c.
13236         (rest_extension, REST_EXTENSION_LENGTH): Delete.
13237         (struct arg): New.
13238         (struct arglist): Simplify.
13239         (collect_expansion): Rewrite.  Get tokens by calling
13240         cpp_get_token.  Add more error checking.
13241         (collect_formal_parameters): New function, broken out of
13242         create_definition and reworked to use get_directive_token.
13243         (create_definition): All real work is now in collect_expansion
13244         and collect_formal_parameters.  do_define handles finding the
13245         macro name.  Return a DEFINITION, not a MACRODEF.
13246         (macroexpand): Replace bcopy with memcpy throughout.  Replace
13247         character-at-a-time copy loop with memcpy and pointer increments.
13248         (compare-defs): d1->argnames / d2->argnames might be null.
13249
13250         * cpplib.c (copy_rest_of_line): Delete function.
13251         (skip_rest_of_line): Do all the work ourselves.
13252         (skip_string): New function.
13253         (parse_string): Use skip_string.
13254         (get_macro_name): New function.
13255         (check_macro_name): Delete.
13256         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
13257         (cpp_skip_hspace): Use CPP_BUMP_LINE.
13258         (handle_directive): ICE if we're called on a macro buffer.
13259         (do_define): Determine macro name and type (funlike/objlike)
13260         here.  Expunge all uses of MACRODEF.
13261         (cpp_push_buffer): Set line_base to NULL.
13262         (do_undef, read_line_number): Don't worry about getting a POP token.
13263         (eval_if_expression): Set/reset parsing_if_directive around
13264         cpp_parse_expr. Don't clear only_seen_white.
13265         (skip_if_group): Remove output_conditionals logic.  Use
13266         skip_rest_of_line.
13267         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
13268         tokens under appropriate conditions.
13269         (cpp_unassert): Call do_unassert not do_assert.  Oops.
13270
13271         * cppexp.c (parse_defined): New function, break out of
13272         cpp_lex.
13273         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
13274         ourselves, with cpp_defined.
13275         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
13276
13277         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
13278         * gcc.dg/strpaste-2.c: New.
13279
13280 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
13281
13282         * fold-const.c (size_binop): Don't asert inputs are the same and
13283         have TYPE_IS_SIZETYPE set.
13284         (size_diffop): Likewise.
13285
13286 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
13287
13288         * dwarfout.c (output_block): Output abstract blocks even if they
13289         don't have TREE_ASM_WRITTEN set.
13290
13291         * calls.c (emit_library_call): Check for null REG.
13292
13293 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
13294
13295         * c-decl.c (current_function_decl): Move to toplev.c.
13296         (init_decl_processing): Don't add current_function_decl as a ggc
13297         root here.
13298         * dbxout.c (dbxout_symbol): Change return type to int.
13299         (dbxout_symbol_location, dbxout_syms): Likewise.
13300         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
13301         any locals. Use current_function_func_begin_label if set.
13302         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
13303         * dwarf2out.c (dwarf2out_begin_prologue): Set
13304         current_function_func_begin_label.
13305         * final.c (final_start_function): Reset it.
13306         * toplev.c (current_function_decl): Define it here.
13307         (current_function_func_begin_label): New variable.
13308         (main): Add both as ggc roots.
13309         * tree.h (current_function_func_begin_label): Declare.
13310
13311 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13312
13313         * gcse.c: Cleanups throughout: mostly white-space, but also
13314         some minor rearrangement of code.
13315
13316 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
13317
13318         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
13319         returns a PARALLEL.  Use emit_group_load and use_group_regs
13320         as needed.
13321         (emit_library_call_value): Similarly.
13322
13323         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
13324         * pa/quadlib.asm: Remove.
13325         * pa/quadlib.c: New file.
13326
13327         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
13328         * configure: Rebuilt.
13329
13330 2000-02-29  Philip Blundell  <pb@futuretv.com>
13331
13332         * config/arm/conix-elf.h: New file.
13333         * configure.in (arm*-*-conix*): New configuration.
13334         * configure: Regenerate.
13335
13336 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
13337
13338         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
13339         don't have TREE_ASM_WRITTEN set.
13340
13341 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13342
13343         * Eliminate DECL_FIELD_SIZE.
13344         * builtins.c (built_in_class_names, built_in_names): New variables.
13345         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
13346         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
13347         DECL_SIZE, not DECL_FIELD_SIZE.
13348         * print-tree.c (print_node): Remove code that prints extra blank
13349         lines in some cases.
13350         Properly handle inline and builtin function cases.
13351         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
13352         * tree.h (built_in_class_named, built_in_names): New declarations.
13353         (union tree_decl): Rename internal unions to u1 and u2 and change
13354         some of their components.
13355         Add new field built_in_class.
13356         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
13357         Reflect above changes.
13358         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
13359         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
13360         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
13361         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
13362
13363 2000-02-28  Dmitri Makarov  <dim@windriver.com>
13364
13365         * extend.texi: Document ARM's support for long/short calls.
13366
13367         * invoke.texi: Document ARM's -mlong-calls command line switch.
13368
13369         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
13370         (arm_encode_call_attribute): Add prototype.
13371         (arm_set_default_type_attribute): Add prototype.
13372         (arm_strip_name_encoding): Add prototype.
13373
13374         * config/arm/arm.c (arm_init_cumulative_args): replace
13375         initialisation og 'long_calls' field with initialisation of
13376         'call_cookie' field.
13377         (enum arm_pragma_enum): New enum.
13378         (arm_pragma_long_calls): New static variable.
13379         (arm_process_pragma): Also process "#pragma long_calls_off".
13380         (arm_valid_type_attribute_p): Accept short_call attribute.
13381         (arm_comp_type_attributes): Check long/short call attributes.
13382         (arm_encode_call_attribute):  New function:  Encode long_call
13383         or short_call attribute in function name.
13384         (arm_set_default_type_attributes): New function: Assign
13385         default attributes to newly defined type.
13386         (current_file_function_operand): New function: Return true if
13387         the symbol is a function which has already been compiled.
13388         (arm_is_longcall_p): New function: Return true if the
13389         indicated function should be called via a long call.
13390         (arm_get_strip_length): New function.  Returns number of
13391         prefix characters to be stripped from a function's name.
13392         (arm_strip_name_encoding): New function.  Strip prefix characters
13393         from a function's name.
13394
13395         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
13396         with 'call_cookie'.
13397         (SHORT_CALL_FAG_CHAR): Define.
13398         (LONG_CALL_FAG_CHAR): Define.
13399         (ENCODED_SHORT_CALL_ATTR_P): Define.
13400         (ENCODED_LONG_CALL_ATTR_P): Define.
13401         (ARM_NAME_ENCODING_LENGTHS): Define.
13402         (STRIP_NAME_ENCODING): Define.
13403         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
13404         (ARM_ENCODE_CALL_TYPE): Define.
13405         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
13406         (ARM_DECLARE_FUNCTION_SIZE): Define.
13407         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
13408
13409         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
13410         if a long call is needed.
13411         (call_value): Ditto.
13412         (call_symbol): Ditto.
13413
13414         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
13415         ARM_DECLARE_FUNCTION_SIZE.
13416
13417         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
13418         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
13419         (ARM_STRIP_NAME_ENCODING): Undefine.
13420         (STRIP_NAME_ENCODING): Undefine.
13421         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
13422         (ASM_DECLARE_FUNCTION_NAME): Ditto.
13423         (ASM_OUTPUT_COMMON): Ditto.
13424         (ASM_DECLARE_OBJECT_NAME): Ditto.
13425
13426         * config/arm/pe.c (arm_dllexport_name_p): Check for
13427         ARM_PE_FLAG_CHAR.
13428         (arm_dllimport_name_p): Ditto.
13429         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
13430         (arm_mark_dllimport): Ditto.
13431
13432 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13433
13434         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
13435
13436 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
13437
13438         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
13439
13440 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
13441
13442         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
13443         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
13444         NO_BUILTIN_WCHAR_TYPE is not defined.
13445         (CPP_WCHAR_TYPE): Delete.
13446         * cccp.c (main): Don't change wchar_type if cplusplus.
13447         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
13448
13449 2000-02-28  Nick Clifton  <nickc@cygnus.com>
13450
13451         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
13452
13453 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
13454
13455         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
13456         (ASM_WEAKEN_LABEL): Define.
13457
13458 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
13459
13460         * expr.c (store_constructor): Do not emit USE.
13461         * rtl.h (stupid_life_analysis): Remove.
13462
13463 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13464
13465         * function.c (number_blocks): Reset next_block_index based on
13466         what debugging format is used, not what is defined.
13467
13468         * lcm.c: Minor reformatting throughout.
13469         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
13470
13471         * toplev.c (rest_of_compilation): Account for time in
13472         optimize_mode_switching.
13473
13474         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
13475         if only marking labels.
13476
13477 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
13478
13479         * calls.c (expand_call): Attempt to combine stack adjustments with
13480         pending stack adjustments.
13481
13482 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13483
13484         * loop.c (reg_in_basic_block_p): Don't abort when falling through
13485         to the end of the function.
13486
13487 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
13488
13489         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
13490         blocks.
13491         * final.c (next_block_index): Remove.
13492         (max_block_depth): Likewise.
13493         (pending_blocks): Likewise.
13494         (init_final): Don't initialize them.
13495         (final_start_function): Don't set next_block_index.  Set up
13496         BLOCK_NUMBER.
13497         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
13498         * function.h (number_blocks): New function.
13499         * function.c (get_block_vector): New function.
13500         (identify_blocks): Use it.
13501         (reorder_blocks): Set NOTE_BLOCK.
13502         (number_blocks): New function.
13503         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
13504         * tree.h (BLOCK_NUMBER): New macro.
13505         (tree_block): Add block_num field.
13506         * dbxout.c (next_block_number): Remove.
13507         (dbxout_init): Don't set it.
13508         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
13509         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
13510         block numbers.
13511         * toplev.c (rest_of_compilation): Always call
13512         find_loop_tree_blocks.  Fix indentation.
13513         * dwarf2out.c (next_block_number): Remove.
13514         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
13515         to determine block numbers.
13516         (gen_inlined_subroutine_die): Likewise.
13517         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
13518         (decls_for_scope): Don't increment next_block_number.
13519         * dwarfout.c (next_block_number): Remove.
13520         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
13521         to determine block numbers.
13522         (output_inlined_subroutine_die): Likewise.
13523         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
13524         (output_decls_for_scope): Don't increment next_block_number.
13525         * sdbout.c (next_block_number): Remove.
13526         (sdbout_block): Use BLOCK_NUMBER.
13527         (sdbout_begin_block): Simplify.
13528         * xcoffout.c (next_block_number): Remove.
13529         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
13530         (xcoffout_begin_block): Don't set next_block_number.
13531         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
13532         next_block_number.
13533
13534 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13535
13536         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
13537         (expand_builtin_strcpy): Pass correct type to size_binop.
13538         (expand_builtin_strcmp): Likewise.
13539         Clean up conditional structure.
13540         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
13541         (complete_array_type): Don't use size_binop for MAXINDEX.
13542         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
13543         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
13544         (c_alignof): Use size_one_node.
13545         (build_unary_op): Pass arg of proper type to size_binop.
13546         (really_start_incremental_init, push_init_level): Use sizetype for
13547         constructor{,_bit,_unfilled}_index.
13548         (pop_init_label, output_init_element): Likewise.
13549         (output_pending_init_elements, process_init_element): Likewise.
13550         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
13551         * expr.c (store_expr): Use size_int.
13552         (store_constructor): Use proper types for size_binop args.
13553         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
13554         (expand_expr_unaligned): Likewise.
13555         (string_contant): Return object of sizetype.
13556         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
13557         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
13558         (ARGS_SIZE_TREE): Pass proper types to size_binop.
13559         * fold-const.c (int_const_binop): Refine when size_int is called.
13560         (fold_convert): Likewise.
13561         (size_int_wide): Rework to take KIND as arg, only take low order
13562         bits, handle new sizetype_tab datatype, and chain entries in
13563         size_table.
13564         (size_int_type_wide): New function.
13565         (size_binop): Validate types of arguments.
13566         (ssize_binop): Deleted.
13567         (size_diffop): New function.
13568         (extract_muldiv): Only fold division into multiplication for sizetypes.
13569         * function.c (assign_parms): Use size_diffop and make sure
13570         VAR field is of ssizetype; also pass proper type to size_binop.
13571         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
13572         (round_down): Deleted from here.
13573         * store-layout.c (sizetype_tab): Now an array.
13574         (sizetype_set, early_root_list): New variables.
13575         (variable_size): Use size_one_node.
13576         (round_up): Pass proper type to size_binop.
13577         (round_down): Moved to here and corrected as above.
13578         (layout_record): Pass proper arg types to size_binop.
13579         (layout_type): Likewise.
13580         If sizetype_set is zero, record the type just laid out.
13581         (make_unsigned_type): Don't call set_sizetype;
13582         (make_signed_type): Likewise; also, call fixup_signed_type.
13583         (initialize_sizetypes): New function.
13584         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
13585         set name of bitsizetype to "bit_size_type".
13586         Fix up type of sizes of all types made before call.
13587         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
13588         * tree.c (fix_sizetype): Deleted.
13589         (build_common_tree_nodes): Call initialize_sizetypes.
13590         (build_common_tree_nodes_2): Don't call fix_sizetype.
13591         * tree.h (TYPE_IS_SIZETYPE): New macro.
13592         (initialize_sizetype): New declaration.
13593         (enum size_type_kind): New type.
13594         (struct sizetype_tab): Deleted.
13595         (sizetype_tab): Now array; adjust sizetype macros.
13596         (size_diffop, size_int_type_wide): New functions.
13597         (size_int_wide): Change number of args and type; access macros changed.
13598         (ssize_int, sbitsize_int): New macros.
13599         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
13600         (ROUND_TYPE_SIZE_UNIT): New macro.
13601
13602 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
13603
13604         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
13605
13606 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13607
13608         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
13609         Mark as possibly unused.
13610
13611         * cse.c (cse_insn): Delete dead code involving tablejump.
13612         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
13613
13614         * Makefile.in (libcpp.a): Start by deleting it.
13615
13616 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13617
13618         * cpplib.h (enum file_change_code): Added rename_file.
13619         * cpplib.c (do_line): If a filename is given, set file_change to
13620         rename_file.
13621         (output_line_command): If file_change is rename_file, always
13622         output a # directive with the file name.
13623
13624         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
13625
13626 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
13627
13628         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
13629         when copying a PARM_DECL or RESULT_DECL.
13630
13631 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13632
13633         * fix-header.c (recognized_function): Also fix prototypes for
13634         functions taking "void".
13635
13636 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
13637
13638         * reload1.c (do_output_reload): Check reg_reloaded_valid before
13639         looking at reg_reloaded_contents.
13640
13641 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
13642
13643         * Makefile.in (STMP_FIXINC): New toggle.
13644         (LIBGCC2_DEPS): Delete all references.
13645         (stmp-headers): Delete target.  All references either deleted
13646         or changed to stmp-int-headers.
13647         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
13648         (LIBCPP_OBJS): Take out cppalloc.o.
13649         (cppalloc.o): Delete target.
13650         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
13651         (gen-protos, fix-header): Link with libiberty.a.
13652         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
13653         to empty.
13654
13655         * configure.in: Remove refs to strerror.
13656         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
13657         * system.h: Take out strerror stanza.
13658
13659         * cpperror.c (my_strerror): Delete function.
13660         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
13661         * cppmain.c (main): Call xmalloc_set_program_name first thing.
13662         * cppalloc.c: Delete file.
13663         * gen-protos.c: Don't provide xrealloc.
13664
13665         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
13666         xstrerror throughout.
13667
13668 2000-02-26  Bruce Korb  <bkorb@gnu.org>
13669
13670         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
13671         match for DOS headers, too.
13672         * fixinc/inclhack.sh,fixincl.x: Regenerate.
13673
13674 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
13675
13676         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
13677         is right for most ELF targets.
13678         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
13679         Let the default file use %U properly.
13680         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
13681         default.
13682
13683         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
13684         numbers.
13685
13686 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13687
13688         * toplev.c (documented_lang_options): Correct spelling error.
13689         (decode_d_option, decode_f_option, main): Likewise.
13690
13691         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
13692
13693         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
13694         to tell assembler it is permitted to expand large constants.
13695
13696 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
13697
13698         * protoize.c: (AUX_INFO_SUFFIX): New macro.
13699         (aux_info_suffix): Use.
13700         (SAVE_SUFFIX): New macro.
13701         (save_suffix): Use.
13702         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
13703         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
13704         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
13705
13706         * invoke.texi (Running Protoize): Update documentation.
13707
13708 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
13709
13710         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
13711
13712 2000-02-25  John Wehle  (john@feith.com)
13713
13714         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
13715
13716 2000-02-25  Anthony Green  <green@cygnus.com>
13717
13718         * toplev.c (rest_of_compilation): Rebuild jump labels if
13719         combine_instructions has created a new direct jump.
13720         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
13721         when appropriate.
13722         (combine_instructions): Call try_combine with new argument.
13723         Return non-null value when new direct jump instruction is created.
13724         * rtl.h: combine_instructions returns an int.
13725
13726 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
13727
13728         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
13729         jump when changing a computed jump into a jump to a known
13730         target.
13731
13732 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
13733
13734         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
13735         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
13736
13737         * i386.md (define_expand "clrstrsi"): Fix typo.
13738
13739 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
13740
13741         * rtl.texi: Fix typo.
13742
13743 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13744
13745         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
13746         UNITS_PER_WORD.  Change caller initial_elimination_offset.
13747         (rounded_frame_size): Take into account that argument pushed has
13748         changed.  Fix TARGET_ALIGN_DOUBLE problem.
13749
13750 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
13751
13752         * haifa-sched.c (schedule_block): Explain the real reason
13753         we delete REG_SAVE_NOTEs on the first insn of a block.
13754         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
13755
13756 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
13757
13758         * input.h (push_srcloc): New function.
13759         (pop_srcloc): Likewise.
13760         * toplev.c (push_srcloc): Define it.
13761         (pop_srcloc): Likewise.
13762
13763 2000-02-24  Richard Henderson  <rth@cygnus.com>
13764
13765         * flow.c (life_analysis): When collecting reg info, clear
13766         regs_ever_live.
13767
13768 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13769
13770         Fix bug exposed by reload.c no longer rounding the frame
13771         size to BIGGEST_ALIGNMENT:
13772         * sh.c (rounded_frame_size): New function.
13773         (sh_expand_prologue, sh_expand_epilogue): Use it.
13774         (initial_elimination_offset): Likewise.
13775
13776 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13777
13778         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
13779         * sh-protos.h (sh_need_epilogue): Declare.
13780         * sh.c (sh_need_epilogue_known): New static variable.
13781         (sh_need_epilogue): New function.
13782         (function_epilogue): Clear need_epilogue_known.
13783         * sh.md (return): Split into expander / insn pattern.
13784         Make the expander conditional on ! sh_need_epilogue ().
13785
13786 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
13787
13788         * machmode.h (get_mode_alignment): Declare.
13789         (GET_MODE_ALIGNMENT): Call it.
13790         * stor-layout.c (get_mode_alignment): New function. Make
13791         sure alignment is always power of 2.
13792
13793 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
13794
13795         * i386.h: Remove useless definition of "I386" and misleading
13796         comment above it.
13797
13798 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
13799
13800         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
13801         under which TREE_PERMANENT will be set.
13802         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
13803         build1): Use TREE_SET_PERMANENT.
13804         * print-tree.c (print_node): Don't report value of
13805         TREE_PERMANENT if ggc_p is true.
13806
13807         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
13808         decide whether to give a type a new alias set.
13809         * objc/objc-act.c (build_objc_string_object): Never copy the string.
13810         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
13811         of value of 'obstack'.
13812
13813
13814 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13815
13816         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
13817
13818 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13819
13820         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
13821         * cpplib.c (cpp_get_token): Produce them.
13822         * cppexp.c (cpp_lex): Handle them.
13823
13824 2000-02-23  Nick Clifton  <nickc@cygnus.com>
13825
13826         * config/arm/arm.c (arm_comp_type_attributes): Simply and
13827         comment tests on type attributes.
13828
13829 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13830
13831         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
13832         conform to documentation.
13833         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
13834         to check for special cases.
13835         * sh-protos.h (sh_loop_align): Declare.
13836         * sh.c (sh_loop_align): Define.
13837
13838 2000-02-22  Andrew Haley  <aph@cygnus.com>
13839
13840         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
13841         (SIZE_TYPE): Is 32 bits when using -mgp32.
13842         (PTRDIFF_TYPE): Ditto.
13843
13844 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13845
13846         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
13847
13848 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
13849
13850         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
13851         BIGGEST_FIELD_ALIGNMENT a constant.
13852
13853 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
13854
13855         * dwarf2out.c (output_line_info): Put the marker for the end of
13856         the line number info at the actual end.
13857         (gen_struct_or_union_type_die): Use decl_function_context
13858         to check for local classes.
13859         * dwarfout.c (output_type): Likewise.
13860
13861 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
13862
13863         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
13864         for arguments with a mode, but no type.
13865         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
13866         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
13867         * pa/long_double.h: New file.
13868         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
13869         both have 128bit wide long doubles.
13870         * configure: Rebuilt.
13871
13872 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13873
13874         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
13875
13876         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
13877         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
13878         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
13879
13880         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
13881
13882         * integrate.c (compare_blocks, find_block): Likewise.
13883
13884         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
13885
13886         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
13887
13888         * stmt.c (stmt_status, set_file_and_line_for_stmt,
13889         expand_asm_operands): Likewise.
13890
13891 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
13892
13893         * predict.c (estimate_probability): Added the pointer heuristic to
13894         the collection of static branch predictors.
13895
13896 2000-02-21  Catherine Moore  <clm@cygnus.com>
13897
13898         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
13899         * invoke.texi (-mfix7000): Document.
13900
13901 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
13902
13903         * diagnostic.c (init_output_buffer): Make it possible to output at
13904         least 32 characters if we're given a too long prefix.
13905
13906 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
13907
13908         * varasm.c (initializer_constant_valid_p): Call
13909         lang_expand_constant to simplify the constant.
13910
13911 2000-02-20  Bruce Korb  <bkorb@gnu.org>
13912
13913         * fixinc/inclhack.def(stdio_va_list):
13914         typedef needs to be disabled.
13915         * fixinc/inclhack.sh: regen
13916         * fixinc/fixincl.x: regen
13917
13918 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
13919
13920         * print-rtl.c (print_rtx): Don't print addresses when
13921         flag_dump_unnumbered.
13922
13923 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13924
13925         * sparc.c (sparc_output_scratch_registers): Mark parameter with
13926         ATTRIBUTE_UNUSED.
13927         (sparc_va_arg, sparc_flat_output_function_prologue,
13928         sparc_flat_output_function_epilogue): Cast value to unsigned in
13929         comparison.
13930         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
13931
13932         * sparc.md: Add default case in switch.
13933
13934 2000-02-19  Richard Henderson  <rth@cygnus.com>
13935
13936         * c-typeck.c (add_pending_init): Don't abort for multiple
13937         fields at the same offset.
13938         (pending_init_member): Test the correct member.
13939
13940 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13941
13942         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
13943         instead of SImode.
13944         (start_catch_handler) : Same.
13945
13946 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
13947
13948         * Makefile.in: Have flow.o depend on $(EXPR_H)
13949
13950 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13951
13952         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
13953         * c-decl.c (duplicate_decls, finish_enum): Likewise.
13954         (finish_decl): Remove -Wlarger-than code from here.
13955         * flags.h (id_clash_len): Now int.
13956         (larger_than_size): Now HOST_WIDE_INT.
13957         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
13958         Clean up checking to see if in table.
13959         (make_bit_field_ref): Remove extra parm to bitsize_int.
13960         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
13961         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
13962         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
13963         and for computing size of decl.
13964         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
13965         Move -Wlarger-than code to here.
13966         (layout_record): Remove extra arg to bitsize_int.
13967         Set TYPE_BINFO_SIZE_UNIT.
13968         (layout_union): Remove extra arg to bitsize_int.
13969         Use proper type for size of QUAL_UNION.
13970         (layout_type): Remove extra arg to bitsize_int.
13971         * toplev.c (id_clash_len): Now int.
13972         (larger_than_size): Now HOST_WIDE_INT.
13973         (decode_W_option): Clean up id-clash and larger-than- cases.
13974         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
13975         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
13976         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
13977         (struct tree_decl): New field size_unit.
13978         (size_int_wide): No HIGH operand; NUMBER is now signed.
13979         (size_int_2): Deleted.
13980         (size_int, bitsize_int): Don't use it and rework args.
13981         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
13982
13983 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
13984
13985         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
13986
13987 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
13988
13989         * invoke.texi (Warning Options): Add an explanation of why
13990         you might want the -Wfloat-equal flag.
13991
13992 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13993
13994         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
13995         * cppinit.c (new_pending_define): Add cast to avoid warning.
13996         * expmed.c (extract_bit_field): Likewise.
13997         * flow.c (enum reorder_skip_type): New type.
13998         (skip_insns_between_blcok): New it.
13999         Rework to avoid warning about possibly undefined variable.
14000         * function.c (assign_parms): Make thisparm_boundary unsigned.
14001         * genrecog.c (write_switch): Cast XWINT result to int.
14002         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
14003         * mips-tfile.c (init_file): Make two versions of FDR intializer:
14004         one for MIPS and one for Alpha.
14005         (get_tag, copy_object): Add casts to avoid warnings.
14006         * optabs.c (init_one_libfunc): Cast NAME to (char *).
14007         * reload.c (find_reloads): Make TYPE enum reload_type.
14008         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
14009         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
14010         * varasm.c (compare_constant_1): Add cast to avoid warning.
14011         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
14012         to (char *).
14013         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
14014         Cast switch operand of size to int.
14015         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
14016         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
14017         in unhandled case.
14018
14019 2000-02-18  Nick Clifton  <nickc@cygnus.com>
14020
14021         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
14022         anything for an alignment of zero.
14023
14024         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
14025         anything for an alignment of zero.
14026
14027 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
14028
14029         * gcc.texi (Bug Reporting): Refer to bugs.html.
14030         (Bug Lists): Likewise.
14031         * system.h (GCCBUGURL): New preprocessor define.
14032         * rtl.c (fancy_abort): Use it.
14033         * gcc.c (main): Likewise.
14034
14035 2000-02-18  Richard Henderson  <rth@cygnus.com>
14036
14037         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
14038         (life_analysis_1): Subsume into ...
14039         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
14040         Use update_life_info for the relaxation.
14041         (update_life_info): Update REG_BASIC_BLOCK for registers live on
14042         entry and regs_live_at_setjmp.
14043         (set_noop_p): Simplify.
14044         (notice_stack_pointer_modification_1): Renamed from s/_1//.
14045         (record_volatile_insns): Split into ...
14046         (delete_noop_moves): ... here,
14047         (notice_stack_pointer_modification): ... here,
14048         (insn_dead_p): ... and here.
14049         (propagate_block): Don't query INSN_VOLATILE.
14050         (mark_used_regs): Mind !PROP_REG_INFO.
14051         * toplev.c (rest_of_compilation): Call mark_constant_function here,
14052         not in life_analysis.
14053
14054 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
14055
14056         * loop.c (canonicalize_condition): New function,
14057         broken out of get_condition.
14058         (get_condition): Use it.
14059         * expr.h (canonicalize_condition): Prototype it.
14060
14061         * tree.h (tree_int_cst_msb): Declare.
14062         * tree.c (tree_int_cst_msb): New function.
14063
14064 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
14065
14066         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
14067         isn't set.
14068
14069         * invoke.texi (-fmessage-length=n): Document.
14070
14071 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
14072
14073         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
14074
14075 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
14076
14077         * function.c (thread_prologue_and_epilogue_insns): Put a line note
14078         after the prologue.
14079
14080 2000-02-17  Nick Clifton  <nickc@cygnus.com>
14081
14082         * config/arm/thumb.c: Replace includes of system headers with
14083         #include "system.h".
14084
14085 2000-02-16  Richard Henderson  <rth@cygnus.com>
14086
14087         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
14088         Add crtbeginS.o and crtendS.o.
14089         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
14090         (ENDFILE_SPEC): Use crtendS.o.
14091         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
14092
14093         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
14094         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
14095         shared and present.
14096         (__dso_handle): New variable.
14097         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
14098         bias to __CTOR_END__.
14099
14100 2000-02-16  Richard Henderson  <rth@cygnus.com>
14101
14102         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
14103
14104 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14105
14106         * longlong.h (__clz_tab): Declare as static to match definition.
14107
14108 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
14109
14110         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
14111         (XREF_FILE_NAME): Define.
14112
14113         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
14114         (EH_FRAME_SECTION_ASM_OP): Define.
14115         (IDENT_ASM_OP): Define.
14116         (TEXT_SECTION_ASM_OP): Define.
14117         (CPP_SPEC): Define.
14118         (CTORS_SECTION_ASM_OP): Define.
14119         (CTOR_SECTION_FUNCTION): Use it.
14120         (DTORS_SECTION_ASM_OP): Define.
14121         (DTOR_SECTION_FUNCTION): Use it.
14122
14123 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
14124
14125         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
14126         NOTE_BASIC_BLOCK.
14127
14128         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
14129         debug_bb_n): New functions.
14130         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
14131         * basic-block.h: Prototype new functions.
14132
14133 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
14134
14135         * configure.in: Add support for avr target.
14136         * configure: Rebuilt.
14137
14138         * invoke.texi: Add AVR invocation docs.
14139         * install.texi: Add information about AVR.
14140         * md.texi: Add AVR constraint letters description.
14141         * extend.texi: Add description for AVR specific attributes.
14142
14143 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
14144
14145         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
14146
14147 2000-02-16  Nick Clifton  <nickc@cygnus.com>
14148
14149         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
14150         (make_insn_raw): Move RTL check here.
14151
14152 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14153
14154         * version.c: Include gansidecl.h and version.h.
14155
14156         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
14157
14158         * configure.in (gcc_version): When setting, narrow search to
14159         lines containing `version_string'.
14160
14161         * Makefile.in (mainversion): Likewise.
14162         (GCC_H): New variable.
14163         (gcc.h): Delete target.
14164         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
14165         (version.o): Depend on version.h.
14166         (dbxout.o): Don't depend on gcc.h.
14167
14168 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14169                           Michael Meissner  <meissner@cygnus.com>
14170
14171         * md.texi (Simple Constraints): Add item about whitespace.
14172         * genoutput.c (strip_whitespace): New.
14173         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
14174         strip_whitespace for constraints.
14175         Test pointer using NULL, not 0.
14176
14177 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14178
14179         * cpplib.c (do_line): Pedwarn for #line > 32767.
14180
14181         * c-lex.c (readescape): Warn about '\x', but do not reject it.
14182
14183 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
14184
14185         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
14186         to default cpp spec.
14187         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
14188         * cpp.texi: Document __GNUC_PATCHLEVEL__.
14189         * cpp.1: Likewise.
14190
14191         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
14192         default spec.
14193
14194 2000-02-15  Denis Chertykov  <denisc@overta.ru>
14195
14196         * configure.in: Add support for avr target.
14197
14198 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14199
14200         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
14201         (sh_addr_diff_vec_mode): Don't declare.
14202         * sh.c (sh_addr_diff_vec_mode): Delete.
14203
14204 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14205
14206         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
14207
14208 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14209
14210         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
14211         (smulsi3_highpart_i): Name.
14212         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
14213         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
14214         (smulsi3_highpart, umulsi3_highpart): Likewise.
14215
14216         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
14217         correctly independent of endianness.
14218         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
14219         confuse the optimizers.
14220         (mulsidi3+1, umulsidi3+1): New define_split.
14221
14222 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
14223
14224         * config/sh/sh.md: Guard insn splits against illegal registers.
14225         * config/sh/sh.h: Correct comment about macros.
14226
14227 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
14228                           Andrew MacLeod  <amacleod@cygnus.com>
14229
14230         * Makefile.in (lcm.o): Depend on insn-attr.h.
14231         * basic-block.h (optimize_mode_switching): Declare.
14232         * lcm.c (tm_p.h, insn-attr.h): #include.
14233         (seginfo, bb_info): New structs.
14234         (antic, transp, comp, delete, insert) : New file-scope static variables.
14235         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
14236         (reg_becomes_live, optimize_mode_switching): Likewise.
14237         * tm.texi: Add description of mode switching macros.
14238         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
14239
14240         * sh-protos.h (remove_dead_before_cse): Remove prototype.
14241         (fldi_ok, fpscr_set_from_mem): New prototypes.
14242         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
14243         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
14244         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
14245         (sh_flag_remove_dead_before_cse): Remove declaration.
14246         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
14247         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
14248         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
14249         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
14250         (barrier_align): Allow for JUMP_INSNS containing a parallel.
14251         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
14252         (fldi_ok): New function.
14253         (get_fpscr_rtx): Add fpscr_rtx as GC root.
14254         (emit_sf_insn): Only generate fpu switches when optimize < 1.
14255         (emit_df_insn): Likewise.
14256         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
14257         (sh_flag_remove_dead_before_cse): Delete.
14258         (get_free_reg, fpscr_set_from_mem): New functions.
14259         * sh.md (movdf, movsf): Remove no_new_pseudos code.
14260         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
14261
14262 2000-02-15  Loren Rittle  <ljrittle@acm.org>
14263
14264         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
14265
14266 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14267
14268         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
14269         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
14270
14271         * cccp.c: Include version.h and/or don't declare `version_string'.
14272         * collect2.c: Likewise.
14273         * alpha.c: Likewise.
14274         * arm/aof.h: Likewise.
14275         * arm/coff.h: Likewise.
14276         * arm/elf.h: Likewise.
14277         * arm/pe.h: Likewise.
14278         * arm/tcoff.h: Likewise.
14279         * arm/telf.h: Likewise.
14280         * arm/tpe.h: Likewise.
14281         * arm/vxarm.h: Likewise.
14282         * convex/convex.c: Likewise.
14283         * i386/dgux.c: Likewise.
14284         * i386/sun386.h: Likewise.
14285         * m88k/m88k.c: Likewise.
14286         * mcore/mcore-pe.h: Likewise.
14287         * mips/mips.h: Likewise.
14288         * romp/romp.h: Likewise.
14289         * sh/sh.c: Likewise.
14290         * cpphash.c: Likewise.
14291         * cppinit.c: Likewise.
14292         * dwarf2out.c: Likewise.
14293         * dwarfout.c: Likewise.
14294         * gcc.c: Likewise.
14295         * gcc.h: Likewise.
14296         * mips-tfile.c: Likewise.
14297         * protoize.c: Likewise.
14298         * toplev.c: Likewise.
14299         * tree.h: Likewise.
14300
14301         * version.c (version_string): Constify a char*.
14302
14303         * version.h: New file.
14304
14305 2000-02-14  Nick Clifton  <nickc@cygnus.com>
14306
14307         * configure.in: Add mcore-elf and mcore-pe targets.
14308         * configure: Regenerate.
14309
14310         * NEWS: Add note that MCore port has been contributed.
14311
14312         * invoke.texi: Document command line switches for MCore port.
14313         * install.texi: Add MCore to list of supported targets.
14314
14315 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
14316
14317         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
14318         then we will need to import the frame handling functions.
14319         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
14320         to import the frames themselves.
14321
14322 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
14323                           Jason Eckhardt  <jle@cygnus.com>
14324
14325         * basic_block.h: Added prototype for reorder_basic_blocks.
14326         * toplev.c: Changes to add -freorder-blocks and graph dump after
14327         block reordering is done.
14328         * flow.c (reorder_block_def): New structure for use during block
14329         reordering.
14330         (REORDER_BLOCK_*): New macros to access members of above structure.
14331         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
14332         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
14333         functions for block reordering.
14334
14335 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14336
14337         * gcc.texi (Passes): Fix typo.
14338         * md.texi (Standard Names): Ditto.
14339         * tm.texi (Storage Layout): Ditto.
14340
14341 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
14342
14343         * cpplib.c (do_define): Only free the old definition if it
14344         actually had one.
14345
14346 2000-02-13   Neil Booth  <NeilB@earthling.net>
14347
14348         * cppfiles.c (read_and_prescan): When emitting deferred
14349         newlines, test speccase[] again instead of checking each
14350         possible whitespace character in turn.  When we encounter \r,
14351         look behind for \n first, then ahead.
14352
14353 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
14354
14355         * cse.c (cse_altered): New internal flag.
14356         (cse_insn): Set it if we changed an insn.
14357         (cse_main): Clear cse_altered before each basic block.
14358         Only garbage collect if cse_altered is true afterward.
14359
14360 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14361
14362         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
14363
14364 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
14365
14366         * combine.c (simplify_comparison): Fix typo.
14367
14368 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
14369
14370         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
14371         consistently.
14372
14373 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14374
14375         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
14376         previously inserted node instead of root node.  Caller changed.
14377
14378 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14379
14380         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
14381
14382 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14383
14384         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
14385         __dereg_frame_dtor): Add prototype argument.
14386
14387         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
14388
14389         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
14390
14391         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
14392
14393         * gthr-vxworks.h (__gthread_once): Likewise.
14394
14395         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
14396
14397 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
14398
14399         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
14400         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
14401         stack pointer in functions w/o saved registers, output LEAVE more often
14402         on TARGET_USE_LEAVE machines.
14403
14404 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
14405
14406         * config/arm/arm.c (arm_init_cumulative_args); New function:
14407         Initlaise the CUMULATIE_ARGS strcuture for a function
14408         defintion.
14409         (arm_function_arg): New function: Determine where to place a
14410         function's argument.  Also handles deciding the function's
14411         call cookie.
14412         (current_file_function_operand): New function: Return true if
14413         the symbol is a function which has already been compiled.
14414         (arm_is_long_call_p): New function: Return true if the
14415         indicated function should be called via a long call.
14416         (arm_valid_type_attribute_p): New function: Return true if the
14417         attribute is a valid, arm specific, attribute.
14418         (arm_comp_type_attribute): New function: Return true if the
14419         two types have compatable, arm specific, attributes.
14420
14421         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
14422         structure.
14423         (FUNCTION_ARG): Redefine to call arm_function_arg.
14424         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
14425         structure field.
14426         (INIT_CUMULATIVE_ARGS): Redefine to call
14427         arm_init_cumulative_args.
14428         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
14429         field.
14430         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
14431         field.
14432         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
14433         functions.
14434         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
14435         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
14436         (COMP_TYPE_ATTRIBUTES): Define.
14437
14438         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
14439         if a long call is needed.
14440         (call_value): Call arm_is_long_call_p to decide if a long call
14441         is needed.
14442         (call_symbol): Call arm_is_long_call_p to decide if a long call
14443         is needed.
14444
14445         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
14446
14447 2000-02-11  Denis Chertykov  <denisc@overta.ru>
14448
14449         * README.AVR: New file with information about the avr ports.
14450         * config/avr: New directory with avr port files.
14451
14452 2000-02-11  Andreas Jaeger  <aj@suse.de>
14453
14454         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
14455
14456 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
14457
14458         * cpphash.c: Fix formatting, update commentary.
14459         (dump_definition): Take three separate arguments instead of a
14460         MACRODEF structure argument.
14461         * cpphash.h: Update prototype of dump_definition.
14462         * cppinit.c (cpp_finish): Update call of dump_definition.
14463
14464         * cpplib.c (do_define): Always create new hash entry with
14465         T_MACRO type.  Remove redundant check for redefinition of
14466         poisoned identifier.  Update call of dump_definition.
14467         (do_undef): Don't call check_macro_name.  Rename sym_length to
14468         len.
14469         (do_error, do_warning): Don't use copy_rest_of_line or
14470         SKIP_WHITE_SPACE.
14471         (do_warning): Don't use pedwarn for the actual warning,
14472         only the notice about its not being in the standard.  (Fixes
14473         bug with #warning in system headers.)
14474         (do_ident): Stricter argument checking - accept only a single
14475         string after #ident.  Also, macro-expand the line.
14476         (do_xifdef): Use cpp_defined.  De-obfuscate.
14477
14478         (do_pragma): Split out specific pragma handling to separate
14479         functions.  Use get_directive_token.  Update commentary.  Do
14480         not pass on #pragma once or #pragma poison to the front end.
14481         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
14482         do_pragma_default): New.
14483
14484 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
14485
14486         * jump.c (jump_optimize_1): The first operand in a relational
14487         can be a CONST_INT.
14488         * optabs.c (emit_conditional_move): Handle relationals which
14489         have a known true/false result.
14490
14491 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
14492
14493         * function.c (thread_prologue_and_epilogue_insns): Don't insert
14494         a RETURN insn into a block which already ends with a jump.
14495
14496 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
14497
14498         * haifa-sched.c (BUF_LEN): Increase a lot.
14499
14500 2000-02-11  Nick Clifton  <nickc@cygnus.com>
14501
14502         * configure.in: Add tm_p_file specification for thumb targets.
14503         * configure: Regenerate.
14504
14505         * config/arm/thumb-protos.h: New file: Prototypes for exported
14506         functions defined in thumb.c.
14507
14508 2000-02-11  Robert Lipe  <robertl@sco.com>
14509
14510         * Makefile.in (bootstrap-lean): Remove additional files.
14511         (bootstrap2-lean): Likewise.
14512         (VOL_FILES): List of files for above.
14513
14514 2000-02-11  Nathan Sidwell  <nathan@acm.org>
14515
14516         * cpphash.c (special_symbol): Remove spurious argument to
14517         cpp_lookup.
14518
14519 2000-02-11  Joel Sherrill (joel@OARcorp.com>
14520
14521         * configure.in: (i*86-*-rtems*): Swapped elf and coff
14522         stanzas.
14523         * configure: Rebuilt.
14524
14525 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
14526
14527         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
14528
14529 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
14530
14531         * pa.c, pa.h: Remove trigraph sequences within comments.
14532
14533 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
14534
14535         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
14536
14537 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
14538
14539         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
14540
14541 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14542
14543         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
14544
14545 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14546
14547         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
14548         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
14549         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
14550         (ASM_FILE_END): Use c4x_file_end.
14551         * config/c4x/c4x.c (c4x_global_label): New function.
14552         (c4x_external_ref, c4x_file_end): Likewise.
14553
14554         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
14555         (c4x_external_ref, c4x_end_file): Likewise.
14556
14557 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
14558
14559         * cppexp.c: Don't include cpphash.h.
14560         (parse_charconst, cpp_lex): Use cpp_defined.
14561         (cpp_lex): Use get_directive_token throughout.  Remove
14562         unnecessary cases from switch.  Move assertion-handling code
14563         down to OTHER case.
14564         (cpp_parse_expr): If we see '+' or '-', check the context to
14565         determine if they are unary or binary operators.  Streamline
14566         the jumps a bit.  Do not call skip_rest_of_line.
14567
14568         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
14569         static.  Export get_directive_token.  Update commentary.
14570         (cpp_defined): New function.
14571         (do_define): Remove reference to T_PCSTRING.  Call
14572         free_definition to release memory for old definition, when
14573         redefining a macro.
14574         (eval_if_expression): Set only_seen_white to 0 before calling
14575         cpp_parse_expr.  Call skip_rest_of_line after it returns.
14576         (cpp_read_check_assertion): Don't preserve a pointer into the
14577         token buffer across a call to cpp_get_token.
14578
14579         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
14580         * cppfiles.c (redundant_include_p): Use cpp_defined.
14581         * cpphash.c (free_definition): New function.
14582         (delete_macro): Use it.  Update commentary.
14583         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
14584         free_definition.
14585         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
14586         from enum node_type.  Prototype cpp_defined and get_directive_token.
14587         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
14588
14589         * fix-header.c (check_macro_names): Use cpp_defined.
14590         (read_scan_file): Set inhibit_warnings and inhibit_errors in
14591         the options structure.
14592
14593 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14594
14595         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
14596
14597 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
14598
14599         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
14600         rather than die->die_tag.
14601
14602 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14603
14604         * combine.c (make_extraction, force_to_mode): Avoid warning on
14605         mixed-signedness conditionals.
14606         (make_field_assignment, nonzero_bits): Likewise.
14607         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
14608         (store_split_bit_field, extract_split_bit_field): Likewise.
14609         (extract_fixed_bit_field, store_bit_field,
14610         * expr.c: Change alignment to be unsigned everywhere.
14611         (move_by_pieces, store_constructor_field, store_constructor):
14612         Alignment parm is unsigned.
14613         (emit_block_move, emit_group_load, emit_group_store): Likewise.
14614         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
14615         (do_compare_rtx_and_jump): Likewise.
14616         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
14617         Compare align with GET_MODE_ALIGNMENT.
14618         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
14619         (get_inner_reference): Likewise.
14620         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
14621         (expand_assignment): Local vars for alignment now unsigned.
14622         (store_constructor, store_field, expand_expr, do_jump): Likewise.
14623         (do_compare_and_jump): Likewise.
14624         (store_field): Call new function expr_align.
14625         * expr.h (emit_block_move, emit_group_load, emit_group_store):
14626         Alignment arg now unsigned.
14627         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
14628         (do_compare_rtx_and_jump, store_bit_field): Likewise.
14629         (extract_bit_field): Likewise.
14630         * fold-const.c (add_double): Add cast to eliminate signedness warning.
14631         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
14632         (get_best_mode): Alignment arg is unsigned.
14633         * rtl.h (move_by_pieces): Likewise.
14634         * store-layout.c (maximum_field_alignment, set_alignment):
14635         Now unsigned.
14636         (layout_decl): Alignment arg is now unsigned.
14637         Remove unneeded casts.
14638         (layout_record, layout_union, layout_type): Remove unneeded casts.
14639         Local alignment variables now unsigned.
14640         (get_best_mode): Alignment arg now unsigned.
14641         * tree.c (expr_align): New function.
14642         * tree.h (expr_align): Likewise.
14643         (maximum_field_alignment, set_alignment): Now unsigned.
14644         (get_inner_reference): Alignment argument is now pointer to unsigned.
14645         * varasm.c (assemble_variable): Add cast to eliminate warning.
14646
14647 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
14648
14649         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
14650         then store directly into op0.
14651
14652         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
14653         the CALL_INSN, and emit the note immediately after it.
14654
14655 2000-02-10  Nick Clifton  <nickc@cygnus.com>
14656
14657         * config/arm/thumb.md (epilogue): Include a (return) in the
14658         generated insn, and emit it using emit_jump_insn not
14659         emit_insn.
14660
14661 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
14662
14663         * function.c (assign_temp): Change zero-sized arrays to size 1.
14664         * integrate.c (expand_inline_function): Do not update
14665         stack_alignment_needed
14666         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
14667         add some sanity checking, remove optimization for function with
14668         zero frame size.
14669
14670 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14671
14672         * flow.c (mark_regs_live_at_end): Delete unused variables.
14673
14674         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
14675
14676         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
14677         in macro FRAME_GROWS_DOWNWARD.
14678
14679         * stmt.c (expand_end_bindings): Delete unused variable.
14680
14681         * unroll.c (iteration_info): Mark parameter `loop' with
14682         ATTRIBUTE_UNUSED.
14683
14684 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14685
14686         * fixinc/server.c (load_data): Return NULL if the marker line is
14687         not found.
14688         (run_shell): If load_data returns NULL, retry the command once, in
14689         a new shell.
14690
14691         * configure: Rebuilt.
14692
14693 2000-02-09  Bruce Korb  <bkorb@gnu.org>
14694
14695         * gcc/fixincludes:  ** DELETED **
14696         * gcc/fixcpp:  ** DELETED **
14697         * gcc/fixinc-nt.sed:  ** DELETED **
14698         * gcc/just-fixinc:  ** DELETED **
14699         * gcc/Makefile.in:  Removed out-dated commentary
14700         * gcc/configure.in: Removed fast-fixincludes disablement.
14701         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
14702
14703 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
14704         * function.c (thread_prologue_and_epilogue_insns): Uncomment
14705         last change.
14706
14707 2000-02-09  Richard Henderson  <rth@cygnus.com>
14708
14709         * jump.c (delete_insn): Don't delete user labels at -O0.
14710
14711 2000-02-09  Robert Lipe  <robertl@sco.com>
14712
14713         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
14714         Don't link with HOST_LIBS.
14715
14716 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
14717
14718         * configure.in: Correct --help text for --with-dwarf2.
14719         Put tm-dwarf2.h after other tm files, if it's requested.
14720         * configure: Regenerate.
14721         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
14722         defining it.
14723
14724 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
14725
14726         * cpplib.h: Provide HASHNODE typedef and forward decl of
14727         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
14728         DEFINITION, struct hashnode, struct macrodef, struct
14729         definition, scan_decls prototype, default defn of
14730         INCLUDE_LEN_FUDGE moved elsewhere.
14731
14732         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
14733         definition, and struct hashnode moved here. Remove the unused
14734         'predefined' field from struct definition.  Replace the 'args'
14735         union with its sole member.  All users updated (cpphash.c).
14736         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
14737         multiple include guard.
14738
14739         * cpphash.c (hashf): Make static; use better algorithm; drop
14740         HASHSIZE parameter; return an unsigned int.
14741         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
14742         used. Calculate HASHSIZE modulus here.
14743         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
14744         here.
14745         (create_definition): Drop PREDEFINITION parameter.
14746         * cpplib.c (do_define): Don't calculate a hash value here.
14747         Don't pass (keyword == NULL) to create_definition.
14748
14749         * scan.h: Prototype scan_decls here.
14750         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
14751         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
14752         callers of cpp_lookup and cpp_install updated.
14753
14754         * cpphash.c (macarg): Hoist all the flag diddling out of the
14755         function...
14756         (macroexpand): ... and out of the loop that calls macarg.
14757         Skip over the initial paren before macro arguments with
14758         cpp_get_non_space_token; point may be some distance before
14759         that paren.  Abort if it's not there.
14760
14761         * cpplib.c (parse_clear_mark): Delete function.
14762         (parse_set_mark, parse_goto_mark): Make static.
14763         (ACTIVE_MARK_P): New macro.
14764         (skip_block_comment, skip_line_comment): Do not bump the line
14765         if ACTIVE_MARK_P is true.
14766         (cpp_pop_buffer): The buffer to be popped may not have an
14767         active mark.
14768         (cpp_get_token): When looking for the initial paren before
14769         macro arguments, only set a mark in a file buffer, Always
14770         return to that mark before proceeding to call macroexpand or
14771         return a NAME token.
14772
14773         * cpplib.h: Remove prototypes of parse_set_mark,
14774         parse_clear_mark, parse_goto_mark.
14775         (struct cpp_options): Rename 'put_out_comments' to
14776         'discard_comments' and invert its sense.
14777         * cppinit.c, cpphash.c, cpplib.c: All users of
14778         put_out_comments changed to use discard_comments, with
14779         opposite sense.
14780
14781 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
14782
14783         * function.c (thread_prologue_and_epilogue_insns): Don't delete
14784         the edge from a block that both jumps and falls through to the
14785         fallthru block.
14786
14787 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
14788
14789         * config/arm/arm.md (movsi): In PIC mode, make sure that a
14790         constant source address is legitimate.
14791
14792 2000-02-09  Philip Blundell  <pb@futuretv.com>
14793
14794         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
14795         correctly.
14796
14797         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
14798         generating PIC.
14799         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
14800
14801 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
14802
14803         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
14804         ends with a newline and a NUL.  Don't be so clever manipulating
14805         strings.
14806
14807 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
14808
14809         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
14810         not to BIGGEST_ALIGNMENT.
14811
14812 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
14813
14814         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
14815         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
14816         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
14817         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
14818         * frame.c (execute_cfa_insn): Handle
14819         DW_CFA_GNU_negative_offset_extended.
14820
14821 2000-02-08  Richard Henderson  <rth@cygnus.com>
14822
14823         * flow.c (tidy_fallthru_edges): Split out from ...
14824         (delete_unreachable_blocks): ... here.
14825         (find_basic_blocks): Use it.
14826
14827 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14828
14829         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
14830
14831 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
14832
14833         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
14834         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
14835         (fix-header.o): Don't depend on cpphash.h.
14836
14837         * scan.c (hashstr): New function.
14838         * scan.h: Prototype it.
14839         * fix-header.c: Don't include cpphash.h.  Use hashstr.
14840         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
14841         hashstr.  Report hash table statistics.  Add private
14842         definition of xrealloc.
14843
14844 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14845
14846         * i386.h (TARGET_SWITCHES): Fix typo in option name.
14847
14848 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
14849
14850         * function.c (thread_prologue_and_epilogue_insns): Don't replace
14851         jumps with returns unless they are jumps to the fallthru block.
14852
14853 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
14854
14855         * i386.md (addqi3_cc): Fix contraints.
14856
14857 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14858
14859         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
14860
14861 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
14862
14863         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
14864         carriage return after a macro name.
14865
14866 2000-02-07  Fred Fish  <fnf@be.com>
14867
14868         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
14869         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
14870
14871 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
14872
14873         * cppfiles.c (deps_output): Count spacers in deps_column.
14874
14875 2000-02-07  Neil Booth  <NeilB@earthling.net>
14876
14877         * cppinit.c (initialize_dependency_output): If there is no
14878         suffix, don't try to look for known suffixes.  Use strrchr.
14879         (cpp_start_read): Remove duplicate initialization.
14880
14881 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
14882
14883         * calls.c (compute_argument_block_size): New argument
14884         preferred_stack_boundary.
14885         (expand_call): update cfun->preferred_stack_boundary, update call of
14886         compute_argument_block_size
14887         (emit_library_call): Increate cfun->preferred_stack_boundary
14888         to PREFERRED_STACK_BOUNDARY
14889         (emit_library_call_value): Likewise.
14890         * explow.c (allocate_dynamic_stack_spave): Likewise.
14891         * function.c (prepare_function_start): Set
14892         cfun->preferred_stack_boundary
14893         * function.h (struct function): Add preferred_stack_boundary field.
14894         * integrate.c (expand_inline_function): Update
14895         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
14896         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
14897         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
14898
14899 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
14900
14901         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
14902         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
14903         cpp_pedwarn, cpp_pedwarn_with_line,
14904         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
14905         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
14906         v_cpp_error_with_line, v_cpp_warning_with_line,
14907         cpp_message_from_errno, cpp_perror_with_name): Delete.
14908
14909         * cpperror.c (cpp_print_containing_files): Take starting
14910         buffer as argument.
14911         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
14912         (v_cpp_message): Now called directly by all entry points.
14913         Remove -1 case.
14914         (cpp_pfatal_with_name, cpp_message): Delete.
14915         (cpp_notice_from_errno, cpp_ice): New functions.
14916         (cpp_notice): Is now for reporting error conditions, just
14917         without an associated file.
14918         (cpp_error, cpp_error_with_line): Don't do anything if
14919         opts->inhibit_errors is on.
14920         (cpp_pedwarn_with_file_and_line): Take column argument also.
14921
14922         * cpplib.h: Update prototypes of exported functions.
14923         (struct cpp_options): Add inhibit_errors.
14924
14925         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
14926         non-error messages.  Include intl.h.
14927
14928         * cppinit.c, cppmain.c: Likewise.  Also, use
14929         cpp_notice_from_errno instead of cpp_perror_with_name or
14930         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
14931
14932         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
14933         report internal errors.
14934
14935         * cpplib.c (do_define): Switch bcopy to memcpy.
14936         Give cpp_pedwarn_with_file_and_line a dummy column argument.
14937
14938         * cpplib.c (copy_rest_of_line): Revert previous change: don't
14939         bail out early if we hit a line comment.
14940
14941 2000-02-06  Richard Henderson  <rth@cygnus.com>
14942
14943         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
14944         * basic-block.h: Declare them.
14945         * emit-rtl.h (active_insn_p): New.
14946         (next_active_insn, prev_active_insn): Use it.
14947         * rtl.h: Declare it.
14948         * function.c (emit_return_into_block): New.
14949         (thread_prologue_and_epilogue_insns): Insert return insns instead
14950         of epilogues when possible.
14951         * jump.c (jump_optimize_1): Remove code to insert a return insn
14952         on the fallthru to the exit block.
14953
14954         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
14955         and for non-empty stack frames.
14956         * i386.md (return): Expand to return-pop as needed.
14957
14958 2000-02-06  Richard Henderson  <rth@cygnus.com>
14959
14960         * simplify-rtx.c (simplify_relational_operation): Canonicalize
14961         constant to op1 for testing.
14962
14963 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14964
14965         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
14966         (fixuns_truncqfqi2): Use it.
14967
14968 2000-02-06  Richard Henderson  <rth@cygnus.com>
14969
14970         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
14971         as a TYPE_LEA insn.
14972
14973         * i386.md (widening and peepholes): Mask the constant instead of
14974         using gen_lowpart.
14975
14976 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
14977
14978         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
14979         input pointer before possibly branching off to the backslash
14980         code.
14981         * cpphash.c (macroexpand): Correctly delete \r escapes when
14982         stringifying parameters.
14983         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
14984         if we can; bail out early if we hit a line comment.
14985         (handle_directive): Treat '# 123' in an .S file just like
14986         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
14987         Return 1 for '# not_a_directive'.
14988         (get_directive_token): Pop macro buffers here, so that
14989         cpp_get_token can't sneakily move past a newline.
14990         Add sanity checks.
14991         (cpp_get_token): goto randomchar if handle_directive returns 0.
14992
14993         * cppalloc.c: Update copyright.
14994         * cpplib.c: Merge all the static function prototypes into one
14995         block.
14996         * cpplib.h: Remove #if 0 block.
14997
14998         * cpperror.c: Remove #ifdef EMACS block.
14999         * cppmain.c: Likewise.
15000         * cpphash.c: Remove #if 0 blocks.
15001         * cppinit.c: Remove #if 0 blocks, and the -lint option.
15002         * cpplib.c: Remove #if 0 blocks and code referencing
15003         pcp_inside_if or for_lint.  Remove duplicate error message.
15004         Fix error messages for #else after #else or #elif.  Reformat.
15005         Remove archaic TODO list.
15006         * cpplib.h: Remove pcp_inside_if and for_lint flags.
15007
15008 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
15009
15010         * i386/osf1elf.h: Add missing backslash to multiline string.
15011
15012 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15013
15014         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
15015
15016 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15017
15018         * Makefile.in (c-common.o): Depend on $(EXPR_H).
15019
15020         * c-common.c: Include expr.h.
15021
15022         * c-pragma.c (mark_align_stack): Add prototype.
15023
15024         * caller-save.c (add_stored_regs): Likewise.
15025
15026         * combine.c (record_promoted_value): Likewise.
15027
15028         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
15029         Likewise.
15030
15031         * cppinit.c (new_pending_define): Likewise.
15032
15033         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
15034
15035         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
15036         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
15037         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
15038         class_scope_p): Likewise.
15039
15040         * dwarf2out.h (dwarf2out_set_demangle_name_func,
15041         dwarf2out_add_library_unit_info): Likewise.
15042
15043         * ggc.h (ggc_page_print_statistics): Likewise.
15044
15045         * haifa-sched.c (propagate_deps): Likewise.
15046
15047         * reg-stack.c (next_flags_user, record_label_references): Likewise.
15048
15049         * rtl.h (set_stack_check_libfunc): Likewise.
15050
15051         * toplev.h (set_fatal_function): Likewise.
15052
15053         * toplev.c (set_fatal_function): Delete prototype.
15054
15055         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
15056
15057 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
15058
15059         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
15060         (FUNC_END): Likewise.
15061
15062 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15063
15064         * caller-save.c: Include tm_p.h.
15065
15066 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15067
15068         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
15069
15070 2000-02-04  Neil Booth  <NeilB@earthling.net>
15071
15072         * cccp.c (main): Check 'dir' for a NULL pointer before passing
15073         it to strcmp.
15074
15075 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
15076
15077         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
15078         * genflags.c: Use the max_operand_1 logic from genemit.c to
15079         calculate how many arguments gen_insn prototypes have.  Remove
15080         NO_MD_PROTOTYPES ifdefs from the generated file.
15081         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
15082         file.  Cast gen_insn initializers to insn_gen_fn.
15083         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
15084         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
15085
15086 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15087
15088         * fixinc/Makefile.in (HDR): Add machname.h.
15089         (clean): Likewise.
15090
15091 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15092
15093         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
15094         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
15095         (c4x_cpu_version): Ditto.
15096         * config/c4x/c4x-protos.h: ... here.
15097
15098 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
15099
15100         * dwarf2out.c (add_abstract_origin_attribute): Don't call
15101         gen_abstract_function on our context if we're a nested function.
15102
15103 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15104
15105         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
15106         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
15107
15108 2000-02-04  Bruce Korb  <bkorb@gnu.org>
15109
15110         * fixinc/genfixes(machname.h):
15111         Move the functionality from gen-machine.h into this file.
15112         UNdef MN_NAME_PAT if there are no names to change.
15113         Also, be a little kinder when AutoGen is not present.
15114
15115         * fixinc/Makefile.in(machname.h):
15116         Change the generation rule to use genfixes.
15117
15118         * fixinc/fixfixes.c(machine_name):
15119         machine_name_fix's functionality now dependent upon whether
15120         MN_NAME_PAT is defined.
15121
15122         * fixinc/fixtests.c(machine_name):
15123         ditto.
15124
15125         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
15126         of MN_NAME_PAT.
15127
15128         * fixinc/fixlib.h(mn_get_regexps):
15129         ditto
15130
15131         * fixinc/gen-machine.h: DELETED
15132
15133 2000-02-04  Jan Hubicka  <jh@suse.cz>
15134             Richard Henderson  <rth@cygnus.com>
15135
15136         * i386.c (SAVE_REGS_FIRST): Remove.
15137         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
15138         (ix86_compute_frame_size): Likewise.
15139         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
15140         (ix86_emit_restore_regs): Remove.
15141         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
15142         when a frame pointer is in use.
15143         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
15144         instead of pop to restore a register when profitable; emit leave
15145         when profitable.
15146         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
15147         as a TYPE_LEA insn.
15148         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
15149         * i386.md (prologue_allocate_stack): Remove.
15150         (epilogue_deallocate_stack): Remove.
15151         (pro_epilogue_adjust_stack): New.
15152
15153 2000-02-04  Richard Henderson  <rth@cygnus.com>
15154
15155         * function.c (diddle_return_value): Rework to use a callback function.
15156         Use current_function_return_rtx if it's been set up.
15157         (do_clobber_return_reg, clobber_return_register): New.
15158         (do_use_return_reg, use_return_register): New.
15159         (expand_function_end): Use them.
15160         * stmt.c (expand_null_return): Likewise.
15161         * function.h: Declare them.
15162         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
15163         (mark_reg): Change arguments as appropriate for callback.
15164         * integrate.c (expand_inline_function): Revert 19 Jan change.
15165
15166 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
15167
15168         * tm.texi (Values in Registers): Fix typo: "fo" "for".
15169         (Misc): Say the scheduler, not the Haifa scheduler.
15170
15171 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
15172
15173         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
15174         when in_mem is set.  Update all callers.
15175
15176 2000-02-04  Richard Henderson  <rth@cygnus.com>
15177
15178         * i386/openbsd.h (INT_ASM_OP): Define.
15179
15180 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
15181
15182         * tm.texi: Fix various typos.
15183
15184 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
15185
15186         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
15187         (MD_STARTFILE_PREFIX_1): New macro.
15188
15189 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
15190
15191         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
15192         destination when needed.
15193         (strmovsi, strsetsi): New expander.
15194         (strmovsi_1, strsetsi_1): New pattern.
15195         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
15196         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
15197         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
15198         * invoke.texi (align-stringops, inline-all-stringops): Document.
15199
15200 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
15201
15202         * i386/netbsd.h (INT_ASM_OP): Define.
15203
15204 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
15205
15206         * cpplib.h (cpp_reader): Add new flag, no_directives.
15207         * cpphash.c (macarg): Set it.
15208         * cpplib.c (handle_directive): If no_directives is on and we
15209         find a directive, issue an error and discard the line.
15210
15211 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
15212
15213         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
15214         FP constants.  Add ! TARGET_FPU check for FP constants.
15215
15216 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
15217
15218         * flow.c (find_basic_blocks): Don't kill label_value_list
15219         here.
15220         (cleanup_cfg): Kill it here.
15221
15222 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15223
15224         * expr.c (store_field): Ensure ALIGN is no stricter than the
15225         alignment of EXP.
15226
15227 2000-02-02  Richard Henderson  <rth@cygnus.com>
15228
15229         * jump.c (delete_insn): Partially revert 19 Jan change;
15230         don't convert unused code labels to notes at -O0.
15231
15232 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15233
15234         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
15235         split_all_insns to recreate REG_LABEL notes for flow2 pass.
15236
15237 2000-02-01  Richard Henderson  <rth@cygnus.com>
15238
15239         * i386.c (general_no_elim_operand): New.
15240         (nonmemory_no_elim_operand): New.
15241         (ix86_expand_move): Copy eliminable operands before a push.
15242         * i386-protos.h: Declare new functions.
15243         * i386.h (CAN_ELIMINATE): Simplify.
15244         (PREDICATE_CODES): Update.
15245         * i386.md (push insns): Don't allow eliminable register operands.
15246
15247 2000-02-01  Richard Henderson  <rth@cygnus.com>
15248
15249         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
15250         replace BLKmode with DECL_RTL's mode.
15251
15252 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
15253
15254         * frame.c (find_fde): Convert for loop to do-while so compiler
15255         sees it's always executed at least once.
15256         * libgcc2.c (BBINBUFSIZE): Kill.
15257         (__bb_init_prg): Use fgets.
15258         (__bb_exit_trace_func): Don't paste strings.
15259         * unroll.c (unroll_loop): Initialize unroll_type, not
15260         unroll_number, and tweak logic to match.
15261
15262         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
15263         all failure paths.
15264         (ix86_flags_dependant): Likewise.  Disentangle control flow.
15265         (ix86_sched_reorder): Break guts out to
15266         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
15267         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
15268         any possible use.
15269
15270         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
15271         use string concatenation.  Don't save and restore esi.
15272
15273         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
15274         (machname.h): Remove script to separate file.  Use two-step
15275         sequence so target is not created if script fails.
15276         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
15277         identifiers are defined.
15278         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
15279         an empty string, machine_name doesn't need to do anything at
15280         all.
15281         (is_cxx_header): Add more cases to regexp.
15282         * fixinc/fixlib.h: Update prototype.
15283         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
15284         mn_get_regexps.
15285         * fixinc/fixincl.c: Define NO_BOGOSITY.
15286
15287         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
15288         (hp_sysfile): Add missing comma.
15289         (math_exception): Put the wrapper ifdefs at the beginning and
15290         the end of the file.
15291         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
15292
15293 2000-02-01  Richard Henderson  <rth@cygnus.com>
15294
15295         * sparc.c (fp_zero_operand): Turn into a normal predicate.
15296         Use CONST0_RTX.  Update all callers.
15297         * sparc.h, sparc-protos.h: Update accordingly.
15298         * sparc.md (fp mov insns): Use fp_zero_operand directly
15299         where applicable.
15300
15301 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
15302
15303         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
15304         example.
15305
15306 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15307
15308         * Makefile.in (specs.ready): New target.
15309         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
15310
15311 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15312
15313         * fixinc.irix: Use unique filenames for writing into /tmp,
15314         * fixinc.ptx: Likewise.
15315         * fixinc.sco: Likewise.
15316         * fixinc.svr4: Likewise.
15317         * fixinc.winnt: Likewise.
15318
15319 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15320
15321         * tsystem.h: New file.
15322
15323         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
15324         s-crtS): Depend on tsystem.h.
15325
15326         * crtstuff.c: Include tsystem.h.
15327         * frame.c: Likewise.
15328         * libgcc2.c: Likewise.
15329
15330 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
15331
15332         * builtins.c (expand_builtin_memset): Expand for variable sized
15333         lengths too.
15334
15335 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
15336
15337         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
15338         on ABI.
15339
15340 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
15341
15342         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
15343
15344         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
15345
15346 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
15347
15348         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
15349         case 3->2 combining (combining with splitting) in which 2 is CC0
15350         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
15351         checked at the begining of the function with the aid of calling
15352         function 'can_combine_p'.
15353
15354 2000-01-31  Dave Brolley  <brolley@redhat.com>
15355
15356         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
15357
15358 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
15359
15360         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
15361         new label.
15362
15363 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15364
15365         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
15366
15367         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
15368         PROTO -> PARAMS.
15369
15370 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
15371
15372         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
15373         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
15374         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
15375         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
15376         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
15377         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
15378         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
15379         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
15380         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
15381         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
15382
15383         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
15384         Add %(cpp_cpu) to CPP_SPEC.
15385
15386         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
15387         Add %(cc1_cpu) to CC1_SPEC.
15388
15389 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
15390
15391         * c-decl.c (c_decode_option): Accept optional numeric argument to
15392         -Wformat and set warn_format.
15393         * c-common.c: Don't emit warning about non-constant printf format
15394         string unless warn_format > 1.
15395
15396 2000-01-30  Richard Henderson  <rth@cygnus.com>
15397
15398         * alpha.md (return_internal): Allow after reload only.
15399
15400 2000-01-30  Richard Henderson  <rth@cygnus.com>
15401
15402         * i386.c (ix86_compute_frame_size): Omit padding1 if the
15403         local frame size is zero.
15404
15405 2000-01-30  Richard Henderson  <rth@cygnus.com>
15406
15407         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
15408         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
15409         * alpha.md (return): Turn into an expander.
15410         (return_internal): Don't use $26.
15411         (epilogue): Emit the return insn.
15412
15413 2000-01-30  Richard Henderson  <rth@cygnus.com>
15414
15415         * alpha.md (negtf2, abstf2): Fix word order thinko.
15416         (extendsftf2): New.
15417         (trunctfsf2): Avoid intermediate rounding errors.
15418
15419 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
15420
15421         * cppfiles.c (find_position): Drop 'colp' argument, return the
15422         new line base.
15423         (read_and_prescan): Adjust to match.  Don't ever manipulate
15424         line or line_base except via find_position.
15425
15426 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
15427
15428         * c-parse.in: Apply Ulrich's changes from c-parse.y.
15429         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
15430         Regenerate.
15431
15432 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
15433
15434         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
15435         just print "<command line>".  If 'filename' is null or an
15436         empty string, print "<stdin>" for the filename.
15437         * cpplib.c (do_define): Don't print the 'location of the
15438         previous definition' message if we're still parsing the
15439         command line.
15440         (cpp_pedwarn_with_file_and_line): Always call
15441         cpp_file_line_for_message.
15442
15443 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
15444
15445         * flow.c (mark_regs_live_at_end): Fix typo.
15446
15447 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
15448
15449         * c-common.c: Adjust variable names, comments, help strings to c99.
15450         * c-lex.c: Likewise.
15451         * c-parse.y: Likewise.
15452         * c-tree.h: Likewise.
15453         * cccp.c: Likewise.
15454         * cpplib.h: Likewise.
15455         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
15456         * cppinit.c: Likewise.
15457
15458 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15459
15460         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
15461         * c4x.c: Define the optab rtx values.
15462         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
15463         (c4x_emit_libcall): Use new optab rtx values.
15464         (c4x_emit_libcall3): Likewise.
15465         (c4x_emit_libcall_mulhi): Likewise.
15466         * c4x-protos.h: Add prototypes for optab rtx values and change
15467         prototypes for above c4x_emit_libcall functions.
15468
15469 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15470
15471         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
15472         syntax is used.
15473         (c4x_function_prologue): Use regnames intead of float_reg_names when
15474         TI syntax is used.
15475         (c4x_function_epilogue): Likewise.
15476         (c4x_print_operand): Likewise.
15477         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
15478         * c4x.md (set_high): Disable for TARGET_TI.
15479
15480 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15481
15482         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
15483         of framepointer + constant to ADDR_REGS class.
15484         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
15485         * c4x.c (std_or_reg_operand): New function.
15486         * c4x-protos.h (std_or_reg_operand): Prototype it.
15487
15488 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15489
15490         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
15491                 object names as libgcc2.c.
15492         * libgcc.S: Use newly defined names.
15493
15494 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
15495         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
15496         function.
15497         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
15498         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
15499         (FLOW_LOOP_LAST_BLOCK): Likewise.
15500
15501 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15502
15503         * basic-block.h (struct loop): New fields 'first' and 'last'.
15504         * flow.c (flow_loops_find): Compute loop->first and loop->last.
15505         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
15506         and loop->last to check for NOTE_INSN_LOOP_END.
15507
15508 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
15509
15510         * predict.c (estimate_probability): Use the new FIRST and LAST fields
15511         of the loop descriptor rather than HEADER and LATCH. Also added
15512         missing break statements as well making some coding style modifications
15513         as suggested by Michael Hayes.
15514
15515 2000-01-28  Richard Henderson  <rth@cygnus.com>
15516
15517         * flow.c (find_basic_blocks): Remove do_cleanup argument.
15518         Break out that code ...
15519         (cleanup_cfg): ... here.
15520         (commit_one_edge_insertion): Detect a return instruction being
15521         emitted to an edge.  Emit a barrier following; clear fallthru.
15522         (commit_edge_insertions): Verify CFG consistency.
15523         * function.c (expand_function_start): Kill unused variable.
15524         (expand_function_end): Likewise.
15525         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
15526         to insert the epilogue.
15527
15528         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
15529         (delete_null_pointer_checks): Likewise.
15530         * output.h: Likewise.
15531         * reg-stack.c (reg_to_stack): Likewise.
15532         * toplev.c (rest_of_compilation): Likewise.  Run
15533         thread_prologue_and_epilogue_insns after rebuilding the CFG.
15534
15535 2000-01-28  Richard Henderson  <rth@cygnus.com>
15536
15537         * Makefile.in (flow.o): Revert 24 Jan change.
15538         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
15539         FUNCTION_VALUE result to DECL_RESULT's mode.
15540
15541         * haifa-sched.c (schedule_insns): Don't recompute reg info
15542         after reload.
15543
15544 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
15545
15546         * configure.in: Make --enable-cpplib the default.
15547         * configure: Regenerate.
15548         * gcc.dg/990119-1.c: No longer expected to fail.
15549
15550 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
15551
15552         * jump.c (jump_optimize_1): Delete an optimization that is also done
15553         by merge_blocks in flow.
15554
15555 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15556
15557         * diagnostic.c (build_message_string, output_printf,
15558         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
15559         (build_location_prefix): Fix non-literal format string.
15560
15561 2000-01-27  Richard Henderson  <rth@cygnus.com>
15562
15563         * alpha.md (trunctfsf2): New.
15564
15565 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
15566
15567         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
15568
15569 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
15570
15571         * cppinit.c (cpp_handle_option): Recognize C++ comments under
15572         -std=gnu89.
15573         * cpplib.c (skip_block_comment, skip_line_comment): Split code
15574         out of...
15575         (skip_comment) ... here.  Permit C++ comments in system
15576         headers always.  Warn about C++ comments in user code under
15577         -std=gnu89 -pedantic.
15578         (copy_comment): Use skip_comment.
15579         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
15580         return EOF.
15581         (consider_directive_while_skipping, do_else, do_endif): Call
15582         validate_else unconditionally.
15583         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
15584         text after the conditional in a system header.
15585         * cpplib.h (struct cpp_buffer): Add flag
15586         warned_cplusplus_comments.
15587
15588 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
15589
15590         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
15591         Use unshare_all_rtl_1.
15592         (unshare_all_rtl_again): New function.
15593         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
15594
15595         * function.c (purge_addressof_1): Use unshare_all_rtl_again
15596         rather than resetting the 'used' flags ourself.
15597
15598         * toplev.c (rest_of_compilation): Add current_function_decl
15599         to the unshare_all_rtl call.
15600         * tree.h: Prototype unshare_all_rtl.
15601         * rtl.h: Prototype unshare_all_rtl_again here.
15602
15603 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
15604
15605         * genoutput.c (output_prologue): Include ggc.h in generated
15606         files.
15607         * Makefile.in (insn-output.o): Depends on ggc.h.
15608
15609 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
15610             Hans-Peter Nilsson  <hp@bitrange.com>
15611
15612         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
15613         Remove redundant include of xm-ns32k.h.
15614         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
15615         Remove redundant include of xm-ns32k.h.
15616         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
15617         Remove redundant include of xm-ns32k.h.
15618         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
15619
15620         * ns32k/ns32k.h: Update comment on multiply-add instructions.
15621         (TARGET_SWITCHES): Add documentation strings.
15622         (DWARF_FRAME_REGNUM): Override default definition.
15623         (REG_CLASS_CONTENTS): Add comments.
15624         (SUBSET_P): Format to reduce line length.
15625         (SMALL_REGISTER_CLASSES): Make a run time option.
15626         (GO_IF_NONINDEXED_ADDRESS): Reformat.
15627         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
15628         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
15629         (regclass_map): fix typo in comment.
15630         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
15631         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
15632         (trace, reg_or_mem_operand): Delete, unused function.
15633         (calc_address_cost): Small offsets are cheaper than large ones.
15634         (expand_block_move): Generate more efficient code when bytes is a
15635         known at compile time.
15636         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
15637         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
15638         instead of reg_or_mem_operand.
15639
15640         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
15641         not general_operand.  Similarly use "=rm" or stricter, not "=g".
15642         For input operands, use stricter constraints than "g" if not
15643         general_operand.  Similarly use stricter predicate than
15644         "general_operand" when stricter constraints than "g" are present,
15645         except for matching constraints.
15646         (movstrsi): Use "memory_operand" for operands 0 and 1.
15647         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
15648         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
15649         not reg_or_mem_operand.
15650         (udivmoddisi4): Ditto.
15651         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
15652         Use nonimmediate_operand for operand 3, not register_operand.
15653         (udivmoddiqi4_internal): Use register_operand for operand 1, not
15654         reg_or_mem_operand.
15655
15656 2000-01-27  Fred Fish  <fnf@be.com>
15657
15658         * gthr-posix.h: Fix typo; compatibily -> compatibility.
15659         * gthr-single.h: Likewise.
15660         * gthr-solaris.h: Likewise.
15661         * gthr-vxworks.h: Likewise.
15662         * gthr-win32.h: Likewise.
15663         * gthr.h: Likewise.
15664
15665 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
15666
15667         * cppinit.c: Add " (cpplib)" to end of string printed by
15668         -v / --version.
15669
15670 2000-01-27  Richard Henderson  <rth@cygnus.com>
15671
15672         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
15673         testing for a signed comparison.
15674         (alpha_emit_floatuns): New.
15675         * alpha-protos.h: Declare it.
15676         * alpha.md (floatunsdisf2, floatunsdidf2): New.
15677         (extendsfdf2): Tidy.
15678
15679 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
15680
15681         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
15682         no -g option specifying debugging format, default to -gstabs+.
15683
15684 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
15685
15686         * calls.c (special_function_p): New argument fork_or_exec.
15687         (expand_call): When profile_arc_flag is set and the function
15688         is in the fork_or_exec group, call __bb_fork_func first.
15689         * libgcc2.c, _bb module (__bb_fork_func): New function.
15690         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
15691         output file.
15692         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
15693         * tree.h (special_function_p): Update prototype.
15694
15695 2000-01-26  Richard Henderson  <rth@cygnus.com>
15696
15697         * alpha.c (alpha_split_tfmode_pair): New.
15698         * alpha-protos.h: Declare it.
15699         * alpha.md (abstf2, negtf2): New.
15700         (movtf insn): Add input G constraint.
15701         (movtf splitter): Use alpha_split_tfmode_pair.
15702
15703 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15704
15705         * i386/cygwin.h: PROTO -> PARAMS.
15706
15707 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
15708
15709         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
15710         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
15711         using _Qp_cmp/_Q_cmp and testing the return value.
15712         (print_operand): Call reverse_condition_maybe_unordered if
15713         we are handling CCFPmode or CCFPEmode.
15714         Handle ORDERED, UN* and LTGT comparisons.
15715         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
15716         if not TARGET_HARD_QUAD.
15717         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
15718         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
15719         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
15720         Adjust gen_b* calls so that they reflect return comparison of
15721         sparc_emit_float_lib_cmp.
15722
15723 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15724
15725         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
15726         incoming operands array is large enough for one more operand.
15727         (alpha_emit_xfloating_arith): Likewise.
15728
15729 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
15730
15731         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
15732         file with one line and no trailing newline.
15733         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
15734         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
15735         checking if the match is on the line.
15736         * fixinc/gnu-regex.c: Provide regerror not __regerror.
15737
15738 2000-01-25  Richard Henderson  <rth@cygnus.com>
15739
15740         * sparc.c (output_cbranch): Fix accidental squashing of the
15741         fp branch pre-delay nop.
15742
15743 2000-01-25  Richard Henderson  <rth@cygnus.com>
15744
15745         * tree.def (UNNE_EXPR): Remove.
15746         * c-typeck.c (build_binary_op): Don't handle it.
15747         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
15748
15749         * rtl.def (UNNE): Remove.
15750         (LTGT): Add.
15751         * jump.c (reverse_condition): Update accordingly.
15752         (swap_condition): Likewise.
15753         (comparison_dominates_p): Handle unordered comparisons.
15754         (reverse_condition_maybe_unordered): New.
15755         * rtl.h (reverse_condition_maybe_unordered): Declare.
15756
15757         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
15758         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
15759         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
15760         * sparc.md (bltgt): New.
15761
15762 2000-01-25  Nick Clifton  <nickc@redhat.com>
15763
15764         * emit-rtl.c (emit_insn): Only check machine class insns for
15765         improper emission of a RETURN.
15766
15767 2000-01-25  Richard Henderson  <rth@cygnus.com>
15768
15769         * Makefile.in (flow.o): Depend on $(EXPR_H).
15770         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
15771         duplicate the structure of diddle_return_value for keeping regs live.
15772
15773 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15774
15775         * loop.c (current_loop_info): Delete.
15776         (consec_sets_invariant_p): Add loop argument, update callers.
15777         (get_condition_for_loop): Likewise.
15778         (count_nonfixed_reads, update_giv_derive): Likewise.
15779         (simplify_giv_expr, general_induction_var): Likewise.
15780         (consec_sets_giv, recombine_givs): Likewise.
15781         (move_movables): Delete loop_start and loop_end arguments,
15782         add loop argument, and update callers.
15783         (find_mem_givs, check_final_value): Likewise.
15784         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
15785         (loop_invariant_p): Rename from invariant_p, add loop argument, and
15786         update callers.
15787         (basic_induction_var): Add loop argument, delete loop_level argument,
15788         and update callers.
15789         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
15790         add loop argument, and update callers.
15791         (find_splittable_regs, find_splittable_givs): Likewise.
15792         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
15793         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
15794         (biv_total_increment): Delete loop_start and loop_end arguments;
15795         update callers.
15796         (precondition_loop_p): Delete loop_start and loop_info arguments;
15797         update callers.
15798         * loop.h (get_condition_for_loop): Add loop argument.
15799         (biv_total_increment): Delete loop_start and loop_end arguments.
15800         (precondition_loop_p): Delete loop_start and loop_info arguments;
15801         add loop argument.
15802         (final_biv_value): Delete loop_start and loop_end arguments;
15803         add loop argument.
15804         (final_giv_value, back_branch_in_range_p): Likewise.
15805
15806 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
15807
15808         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
15809
15810 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
15811
15812         * Makefile.in (c-gperf.h) : Change the "See" pointer to
15813         point to the new "generated_files" doc.
15814
15815 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
15816
15817         * config/fp-bit.c (_unord_f2): Fix typo.
15818
15819 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
15820
15821         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
15822         c-typeck.c, objc/objc-act.c: Remove all references to obstack
15823         functions obsoleted by GC, such as push_obstacks_nochange,
15824         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
15825         and code which existed only to decide whether or not to call
15826         them.  Remove now-unused NESTED argument from start_function;
15827         all callers changed.  Do not change behavior based on ggc_p.
15828         The use of the ixp_obstack in c-iterate.c and the util_obstack
15829         in objc/objc-act.c remain; these are not obsoleted by garbage
15830         collection.
15831         * c-tree.h: Update prototype for start_function.
15832
15833         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
15834
15835 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
15836
15837         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
15838         mips16.
15839
15840 2000-01-25  Richard Henderson  <rth@cygnus.com>
15841
15842         * sparc-protos.h (select_cc_mode): Declare.
15843         * sparc.c (select_cc_mode): New.  Handle unordered compares.
15844         (output_cbranch): Always reverse via code change.  Handle
15845         unordered compares.  Factor tests and string updates.
15846         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
15847         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
15848         * sparc.md (bunordered, bordered): New.
15849         (bungt, bunlt, buneq, bunge, bunle): New.
15850
15851 2000-01-25  Richard Henderson  <rth@cygnus.com>
15852
15853         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
15854         * ggc-common.c (ggc_add_rtx_varray_root): New.
15855         (ggc_mark_rtx_varray): New.
15856         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
15857         functions down below ggc_mark_foo.
15858         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
15859
15860 2000-01-25  Richard Henderson  <rth@cygnus.com>
15861
15862         * alpha.c (secondary_reload_class): Don't allocate a secondary
15863         for integral mode memories into FLOAT_REGS.  Rearrange the more
15864         complicated memory expression inward.
15865
15866 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
15867
15868         * inclhack.def: Fixes to play nicer with FreeBSD, and
15869         corrections to comments.
15870         (cxx_unready): Add select expression.
15871         (irix_sockaddr): Add bypass expression.
15872         (machine_ansi_h_va_list): New fix.
15873         (stdio_va_list): No need to edit _BSD_VA_LIST_.
15874         Split out addition of "#include <stdarg.h>" to...
15875         (stdio_stdarg_h): ... here.
15876         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
15877         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
15878         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
15879         size_t.
15880         (ultrix_ifdef): Tighten up select expression.
15881
15882         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
15883         re_ct and max_mach to avoid use of shell.  Make printed names
15884         match names in inclhack.def.  Use static copyright date.
15885         Don't count c_test and test expressions as requiring regex_t
15886         slots.  Add some commentary.
15887         * inclhack.tpl: Do not include the 'This script contains N
15888         fixup scripts' line if PROGRAM is defined.  Use static
15889         copyright date.
15890
15891 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
15892
15893         * dwarf2out.c: include "varray.h", not dyn-string.h.
15894         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
15895         (addr_const_to_string, addr_to_string): Lose.
15896         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
15897         (struct dw_val_struct): val_addr is now an rtx.
15898         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
15899         (used_rtx_varray): New varray.
15900         (dwarf2out_init): Initialize it.
15901         (save_rtx): New fn.
15902         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
15903         addr_to_string.
15904         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
15905         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
15906         * Makefile.in (dwarf2out.o): Update dependencies.
15907
15908 2000-01-24  Richard Henderson  <rth@cygnus.com>
15909
15910         * i386.c (i386_dwarf_output_addr_const): New.
15911         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
15912
15913         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
15914         if defined.
15915         * dwarfout.c (output_mem_loc_descriptor): Likewise.
15916         * i386.c (i386_simplify_dwarf_addr): New.
15917         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
15918
15919 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
15920
15921         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
15922         TYPE_STUB_DECL is NULL.
15923
15924 2000-01-24  Richard Henderson  <rth@cygnus.com>
15925
15926         * builtins.c (expand_tree_builtin): Move ...
15927         * c-common.c (expand_tree_builtin): ... here.
15928
15929 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15930
15931         * loop.h (LOOP_INFO): New accessor macro.
15932         * basic-block.h (struct loop): Rename field `info' to `aux'.
15933         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
15934         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
15935         * unroll.c (loop_iterations, unroll_loop): Likewise.
15936
15937 2000-01-24  Christopher Faylor <cgf@cygnus.com>
15938
15939         * config/i386/t-cygwin: Accomodate new winsup directory layout
15940         when searching for include files.
15941
15942 2000-01-24  Richard Henderson  <rth@cygnus.com>
15943
15944         * rtl.def: Add unordered fp comparisions.
15945         * tree.def: Likewise.
15946         * tree.h: Add ISO C 9x unordered fp comparision builtins.
15947
15948         * builtins.c (expand_tree_builtin): New function.
15949         * c-typeck.c (build_function_call): Use it.
15950         (build_binary_op): Support unordered compares.
15951         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
15952
15953         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
15954         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
15955         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
15956         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
15957         * jump.c (reverse_condition): Don't abort for UNLE etc, but
15958         return UNKNOWN.
15959         (swap_condition): Handle unordered compares.
15960         (thread_jumps): Check can_reverse before reversing.
15961         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
15962         reversed for FP.
15963
15964         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
15965         setcc is present before acking for cmp_optab.  Update all callers.
15966         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
15967         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
15968         * expr.c (expand_expr): Likewise.  Support unordered compares.
15969         (do_jump, do_store_flag): Likewise.
15970         * expr.h (enum libfunc_index): Add unordered compares.
15971
15972         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
15973         (DPBIT_FUNCS): Add _unord_df.
15974         * config/fp-bit.c (_unord_f2): New.
15975         * fp-test.c (main): Try unordered compare builtins.
15976
15977         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
15978         * alpha.c (alpha_comparison_operator): Check mode properly.
15979         (alpha_swapped_comparison_operator): Likewise.
15980         (signed_comparison_operator): Likewise.
15981         (alpha_fp_comparison_operator): New.
15982         (alpha_emit_conditional_branch): Handle unordered compares.
15983         * alpha.h (PREDICATE_CODES): Update.
15984         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
15985         (bunordered, bordered): New.
15986
15987 2000-01-24  Richard Henderson  <rth@cygnus.com>
15988
15989         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
15990         * alpha.md (movtf): New expander, insn, and splitter.
15991
15992 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
15993
15994         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
15995         dead registers.
15996
15997 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
15998
15999         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
16000         (FIXED_REGISTERS, CALL_USED_REGISTERS,
16001          REG_ALLOC_ORDER): Add frame pointer
16002         (FRAME_POINTER_REGNUM): Set to 20
16003         (HARD_FRAME_POINTER_REGNUM): New macro.
16004         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
16005         to HARD_FRAME_POINTER.
16006         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
16007         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
16008         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
16009         (HI_REGISTER_NAMES): Add "frame".
16010         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
16011         (debug_reg): Handle FRAME_POINTER_REGNUM.
16012         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
16013         GENERAL_REGS and INDEX_REGS.
16014         * i386.c (SAVED_REGS_FIRST): new macro.
16015         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
16016         (ix86_decompose_address, memory_address_length): Likewise.
16017         (regclass_map): Add frame pointer.
16018         (call_insn_operand): Handle frame_pointer_rtx.
16019         (reg_no_sp_operand): Likewise.
16020         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
16021         (print_operand, legitimize_pic_address): Fix formating.
16022         (ix86_compute_frame_size): Make static, update prototype, new
16023         parameters padding1, padding2, use ix86_nsaved_regs, use
16024         stack_alignment_needed.
16025         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
16026         to HARD_FRAME_POINTER_REGNUM conversions.
16027         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
16028         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
16029         (print_reg): Abort on FRAME_POINTER_REGNUM
16030
16031 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
16032
16033         * i386.h (PREDICATE_CODES): Add aligned_operand.
16034         * i386.c (aligned_operand): New function.
16035         (ix86_aligned_p): Kill.
16036         * i386.md (movhi_1): Emit mov for aligned operands.
16037         (promoting peep2s): Use aligned_operand.
16038
16039 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
16040
16041         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
16042         expression to allow underscores in macro names.
16043         (fix_char_macro_defines): Increment scanning pointer.
16044
16045 2000-01-23  Richard Henderson  <rth@cygnus.com>
16046
16047         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
16048         * alpha/osf5.h: New file.
16049         * configure.in (alpha-*-osf5): Add it to tm_file.
16050
16051         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
16052
16053         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
16054         (alpha_emit_xfloating_cvt, function_arg): Declare.
16055         * alpha.c (alpha_emit_conditional_branch): Call
16056         alpha_emit_xfloating_compare for TFmode compares.
16057         (alpha_lookup_xfloating_lib_func): New.
16058         (alpha_compute_xfloating_mode_arg): New.
16059         (alpha_emit_xfloating_libcall): New.
16060         (alpha_emit_xfloating_arith): New.
16061         (alpha_emit_xfloating_compare): New.
16062         (alpha_emit_xfloating_cvt): New.
16063         (print_operand): Add default abort case.
16064         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
16065         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
16066         (BIGGEST_ALIGNMENT): Increase to 128 bits.
16067         (RETURN_IN_MEMORY): True for TF/TCmode.
16068         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
16069         (FUNCTION_ARG): Move to function_arg.
16070         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
16071         (ASM_OUTPUT_LONG_DOUBLE): New.
16072         (ASM_OUTPUT_DOUBLE): Always output bits.
16073         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
16074         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
16075         (extenddftf2, trunctfdf2): New.
16076
16077 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16078
16079         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
16080         * config/sparc/sol2.h: ... here.
16081
16082 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16083
16084         * basic-block.h (struct loops): New field `levels'.
16085         * flow.c (flow_loops_level_compute): Traverse all outer loops.
16086         (flow_loop_level_compute): Initialise level to 1.
16087         (flow_loops_find): Set loops->levels.
16088         (flow_loops_dump): Print loops->levels.
16089
16090 2000-01-23  Richard Henderson  <rth@cygnus.com>
16091
16092         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
16093         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
16094
16095 2000-01-23  Richard Henderson  <rth@cygnus.com>
16096
16097         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
16098         * i386.h (DBX_REGISTER_NUMBER): Use them.
16099         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
16100         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
16101         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
16102         * i386/sequent.h: Kill incorrect comment.
16103
16104 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
16105
16106         * ggc-page.c (struct page_entry): Make `context_depth' an
16107         `unsigned short'.
16108         (struct globals): Likewise.
16109
16110 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
16111
16112         * loop.c (check_dbra_loop): When checking a loop for
16113         reversability, check the source of any stores to ensure
16114         they don't depend on an initial value.
16115
16116 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16117
16118         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
16119
16120 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
16121
16122         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
16123         'pz_scan' into scope of entire function.  Only affects
16124         compiles with -DDEBUG.
16125
16126 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
16127
16128         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
16129         section naming to that prior to 2000-01-07 patch.
16130         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
16131         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
16132         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
16133         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
16134         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
16135
16136 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
16137
16138         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
16139         constant.
16140
16141 2000-01-21  Jim Wilson  <wilson@cygnus.com>
16142
16143         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
16144         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
16145
16146 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
16147
16148         * cpphash.c (change_newlines): Delete function.
16149         (struct argdata): Delete 'newlines' and 'use_count' fields.
16150         (macroexpand): Remove code referencing those fields.
16151
16152 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16153
16154         * loop.c (loops_info): New variable.
16155         (loop_optimize): Allocate loops->array and free it on exit.
16156         Allocate memory for loops_info and assign to each loop,
16157         replacing alloca.
16158         (find_and_verify_loops): Do not allocate loops->array.
16159
16160 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
16161
16162         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
16163
16164 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
16165
16166         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
16167         pseudos if expanded after first flow.
16168         (movdi_pic_label_ref): Likewise.
16169
16170 2000-01-20  Richard Henderson  <rth@cygnus.com>
16171
16172         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
16173
16174 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
16175
16176         * Makefile.in (fixinc.sh): Depend on specs.
16177         * fixinc/Makefile.in: Add rule to create machname.h.
16178         (fixlib.o): Depend on machname.h.
16179         * fixinc/fixtests.c (machine_name): New test.
16180         * fixinc/fixfixes.c (machine_name): New fix.
16181         * fixinc/fixlib.c (mn_get_regexps): New helper function for
16182         the machine_name test and fix.
16183         * fixinc/fixlib.h: Prototype it.
16184         * fixinc/inclhack.def (machine_name): Use the C test and fix.
16185         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
16186
16187         * gcc.c (do_spec_1) [case P]: Take care not to create
16188         identifiers with three leading or trailing underscores.
16189
16190         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
16191         (fixincl): Don't specify libraries twice on link line.
16192         (gnu-regex.o): Remove special rule.
16193         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
16194         defined by config.h.  Do not define _REGEX_RE_COMP.
16195         (regcomp): Allocate and initialize a fastmap.
16196         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
16197
16198 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
16199
16200         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
16201
16202 2000-01-19  Richard Henderson  <rth@cygnus.com>
16203
16204         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
16205         arguments with BB.  Update all callers.  Tidy line wrapping.
16206
16207 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
16208
16209         * emit-rtl.c (try_split): Return last_insn if we split the
16210         last_insn.
16211
16212 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
16213
16214         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
16215         (ix86_initial_elimination_offset): Declare.
16216         * i386.c (ix86_nsaved_regs): Break out from ...
16217         (ix86_can_use_return_insn_p): ... here.
16218         (ix86_emit_save_regs): Break out from ...
16219         (ix86_expand_prologue): ... here.
16220         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
16221         out from ...
16222         (ix86_expand_epilogue): ... here.
16223         (ix86_compute_frame_size): Make static, add prototype.
16224         (ix86_initial_elimination_offset): Break out from ...
16225         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
16226
16227 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16228
16229         * recog.h (OUT_FCN): Delete.
16230
16231         * vax.md: Call `get_insn_template' instead of OUT_FCN.
16232
16233 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16234
16235         * cppalloc.c: PROTO -> PARAMS.
16236         * cpperror.c: Likewise.
16237         * cppfiles.c: Likewise.
16238         * cpplib.c: Likewise.
16239         * cpplib.h: Likewise.
16240
16241         * config/arm/arm-protos.h: PROTO -> PARAMS.
16242         * config/arm/arm.c: Likewise.
16243         * config/c4x/c4x.c: Likewise.
16244         * config/fr30/fr30-protos.h: Likewise.
16245         * config/nextstep.c: Likewise.
16246         * config/pa/pa.c: Likewise.
16247         * config/pj/pj.c: Likewise.
16248         * config/rs6000/rs6000.c: Likewise.
16249         * config/v850/v850-protos.h: Likewise.
16250         * config/v850/v850.c: Likewise.
16251
16252 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16253
16254         * i370-protos.h: New file.
16255
16256         * i370.c: Include tm_p.h.  Fix compile time warnings.
16257
16258         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
16259         warnings.
16260
16261         * i370.md: Likewise.
16262
16263 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16264
16265         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
16266         (target_isinf, target_isnan, eisnan): Mark parameter with
16267         ATTRIBUTE_UNUSED.
16268         (eiisinf): Wrap in INFINITY.
16269         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
16270         (ibmtoe): Remove unused variable `rndsav'.
16271
16272 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
16273
16274         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
16275         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
16276
16277 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
16278
16279         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
16280         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
16281         (fix_char_macro_defines, fix_char_macro_uses): New functions.
16282
16283         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
16284         Recognize Emacs mode markers also.
16285         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
16286         C++ comments in C++ headers.  Call is_cxx_header only if
16287         necessary.
16288
16289         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
16290         bypass for ncurses.
16291         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
16292         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
16293         ... these, which use the new C fixes.
16294         (math_exception): Escape literal '+' in bypass expression.
16295
16296         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
16297         Regenerate.
16298
16299 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
16300
16301         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
16302         inside the MEM.
16303
16304 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16305
16306         * loop.c (loop_optimize): Allocate loop_info structure for each loop
16307         prior to calling scan_loop.
16308
16309 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
16310
16311         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
16312         (split_branches, calc_live_regs): Likewise.
16313
16314 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
16315
16316         * sh.md (fpu_single, fp_mode): New attributes.
16317
16318 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16319
16320         * loop.c (current_loop_info): Renamed from loop_info_data
16321         and changed to a pointer.
16322         (loop_optimize): Allocate loop_info structure for each loop
16323         and initialise to zero.
16324         (scan_loop): Set current_loop_info.
16325
16326         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
16327         on iteration_var.
16328
16329 2000-01-19  Richard Henderson  <rth@cygnus.com>
16330
16331         * stupid.c: Die die die.
16332         * Makefile.in (OBJS): Remove stupid.o.
16333         (stupid.o): Likewise.
16334
16335         * except.c (emit_eh_context): Don't emit USEs for stupid.
16336         * explow.c (probe_stack_range): Likewise.
16337         * flags.h (obey_regdecls): Remove.
16338         * flow.c (find_basic_blocks): Don't run try_merge_blocks
16339         when not optimizing.
16340         (life_analysis): Limit data collection when not optimizing.
16341         (mark_regs_live_at_end): Always mark the return value registers.
16342         (mark_used_regs): Remove dummy RETURN case.
16343         (print_rtl_with_bb): Don't consult obey_regdecls.
16344         * function.c (use_variable, use_variable_after): Remove.
16345         (assign_parms): Consult optimize not obey_regdecls.
16346         (expand_function_start): Don't emit USEs for stupid.
16347         (expand_function_end): Likewise.
16348         * global.c (build_insn_chain): Export.
16349         * integrate.c (expand_inline_function): Kill return-value USE
16350         handling code.
16351         * jump.c (jump_optimize_1): Do simple jump optimizations and
16352         dead code elimination.
16353         (calculate_can_reach_end): Remove check_deleted argument.
16354         (delete_insn): Patch out insns even when not optimizing.
16355         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
16356         * rtl.h (use_variable, use_variable_after): Remove declarations.
16357         (build_insn_chain): Declare.
16358         * stmt.c (expand_value_return): Don't emit USEs for stupid.
16359         (expand_end_bindings): Likewise.
16360         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
16361         * toplev.c (obey_regdecls): Remove.
16362         (rest_of_compilation): Don't set it.  Kill stupid in favour of
16363         flow1, local-alloc, and reload.
16364         (main): Don't set obey_regdecls.
16365
16366         * config/nextstep.c (handle_pragma): Likewise.
16367
16368         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
16369
16370         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
16371
16372 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16373
16374         * alpha-protos.h: PROTO -> PARAMS.
16375         * alpha.c: Likewise.
16376         * elf.h: Likewise.
16377         * h8300.c: Likewise.
16378         * i386-protos.h: Likewise.
16379         * i386.c: Likewise.
16380         * m32r-protos.h: Likewise.
16381         * m32r.c: Likewise.
16382         * mips.c: Likewise.
16383         * mips.md: Likewise.
16384         * gmon-sol2.c: Likewise.
16385         * sparc.c: Likewise.
16386
16387 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16388
16389         * ns32k-protos.h: New file.
16390
16391         * ns32k.c: Fix compile time warnings.
16392
16393         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
16394         warnings.
16395
16396         * ns32k.md: Likewise.
16397
16398 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16399
16400         * vax-protos.h: New file.
16401
16402         * vax.c: Fix compile time warnings.
16403
16404         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
16405         warnings.
16406
16407         * vax.md: Likewise.
16408
16409         * vaxv.md: Likewise.
16410
16411 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16412
16413         * romp-protos.h: New file.
16414
16415         * romp.c: Fix compile time warnings.
16416
16417         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
16418         warnings.
16419
16420         * romp.md: Likewise.
16421
16422 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16423
16424         * we32k-protos.h: New file.
16425
16426         * we32k.c: Fix compile time warnings.
16427
16428         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
16429         warnings.
16430
16431 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16432
16433         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
16434
16435         * except.c (eh_regs): Likewise.
16436
16437         * final.c (output_operand): Likewise.
16438
16439         * fold-const.c (target_isinf, target_isnan): Likewise.
16440
16441 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
16442
16443         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
16444         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
16445
16446         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
16447         when optimize_size.
16448         (clrstrsi): Rewrite.
16449         (strsethi, strsetqi): New expanders.
16450         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
16451         (cmpstrsi): Emit compare insn before cmpstrsi_1
16452         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
16453         (strlensi_1): Likewise.
16454         (cmpstrsi_1): Likewise; do not output compare.
16455         (strlen expander): Do not unroll when optimizing for size.
16456         (*subsi3_carry): Rename to subsi3_carry
16457         (addqi3_cc): New pattern.
16458         * i386.h (processor_costs): Add move_ratio field.
16459         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
16460         * i386.c (*_cost): Set move_ratio.
16461         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
16462         (x86_expand_strlensi_1): Rewrite the main loop.
16463
16464 2000-01-17  Richard Henderson  <rth@cygnus.com>
16465
16466         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
16467         * cse.c (find_comparison_args, fold_rtx): Likewise.
16468         * integrate.c (subst_constants): Likewise.
16469         * loop.c (get_condition): Likewise.
16470
16471         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
16472
16473         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
16474
16475 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
16476
16477         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
16478         (RESTORE_WARN_FLAGS): Unpack it.
16479         Change semantic type of extension to ttype.
16480         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
16481         * c-parse.y, c-parse.c, objc/objc-parse.y,
16482         objc/objc-parse.c: Regenerate.
16483
16484 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
16485
16486         * fixinc/fixlib.c: Add copyright notice.
16487         (compile_re): New function.
16488         * fixinc/fixlib.h: Prototype compile_re.
16489
16490         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
16491         Use compile_re to compile regular expressions.
16492
16493         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
16494         where the pattern matched.
16495
16496         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
16497         use 'replace'.
16498         (ultrix_ansi_compat): Likewise.
16499         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
16500         add egrep test.
16501         (interactv_add2, interactv_add3): Delete.
16502         (x11_sprintf): Don't use filename glob.
16503         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
16504         Regenerate.
16505
16506 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16507
16508         * print-rtl.c: PROTO -> PARAMS.
16509         * real.c: Likewise.
16510         * reg-stack.c: Likewise.
16511         * resource.c: Likewise.
16512         * sdbout.h: Likewise.
16513         * simplify-rtx.c: Likewise.
16514         * stor-layout.c: Likewise.
16515         * stupid.c: Likewise.
16516         * xcoffout.c: Likewise.
16517         * xcoffout.h: Likewise.
16518
16519 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16520
16521         * toplev.c: PROTO -> PARAMS.
16522         * toplev.h: Likewise.
16523         * tree.c: Likewise.
16524         * tree.h: Likewise.
16525         * unroll.c: Likewise.
16526         * varasm.c: Likewise.
16527         * varray.c: Likewise.
16528         * varray.h: Likewise.
16529
16530 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16531
16532         * reload.c: PROTO -> PARAMS.
16533         * reload.h: Likewise.
16534         * reload1.c: Likewise.
16535         * reorg.c: Likewise.
16536         * resource.h: Likewise.
16537         * rtl.c: Likewise.
16538         * rtl.h: Likewise.
16539         * rtlanal.c: Likewise.
16540         * sbitmap.h: Likewise.
16541         * sdbout.c: Likewise.
16542         * stack.h: Likewise.
16543         * stmt.c: Likewise.
16544         * system.h: Likewise.
16545
16546 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16547
16548         * machmode.h: PROTO -> PARAMS.
16549         * mbchar.h: Likewise.
16550         * mips-tdump.c: Likewise.
16551         * mips-tfile.c: Likewise.
16552         * optabs.c: Likewise.
16553         * output.h: Likewise.
16554         * prefix.c: Likewise.
16555         * profile.c: Likewise.
16556         * protoize.c: Likewise.
16557         * real.h: Likewise.
16558         * recog.c: Likewise.
16559         * recog.h: Likewise.
16560         * regclass.c: Likewise.
16561         * regmove.c: Likewise.
16562         * regs.h: Likewise.
16563
16564 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16565
16566         * ggc-common.c: PROTO -> PARAMS.
16567         * ggc-page.c: Likewise.
16568         * ggc-simple.c: Likewise.
16569         * ggc.h: Likewise.
16570         * global.c: Likewise.
16571         * graph.c: Likewise.
16572         * gthr-win32.h: Likewise.
16573         * haifa-sched.c: Likewise.
16574         * halfpic.h: Likewise.
16575         * integrate.c: Likewise.
16576         * integrate.h: Likewise.
16577         * jump.c: Likewise.
16578         * lcm.c: Likewise.
16579         * local-alloc.c: Likewise.
16580         * loop.c: Likewise.
16581         * loop.h: Likewise.
16582
16583 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16584
16585         * genattr.c: PROTO -> PARAMS.
16586         * genattrtab.c: Likewise.
16587         * gencheck.c: Likewise.
16588         * gencodes.c: Likewise.
16589         * genconfig.c: Likewise.
16590         * genemit.c: Likewise.
16591         * genextract.c: Likewise.
16592         * genflags.c: Likewise.
16593         * gengenrtl.c: Likewise.
16594         * genopinit.c: Likewise.
16595         * genoutput.c: Likewise.
16596         * genpeep.c: Likewise.
16597         * genrecog.c: Likewise.
16598
16599 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
16600
16601         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
16602
16603 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16604
16605         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
16606         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
16607         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
16608         * configure, config.in: Rebuilt.
16609
16610 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
16611
16612         * config/i386/i386.md: Add peephole to merge successive stack
16613         adjusts.
16614
16615 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
16616
16617         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
16618         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
16619         when walking backwards to find all the parameter loads when
16620         the basic block ends in a call.
16621
16622 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16623
16624         * loop.c (this_loop_info): Delete.
16625         (uid_loop): Add in place of uid_loop_num.  All uses updated.
16626         (loop_number_exit_count): Delete and replace with entry in loop
16627         structure.  All uses updated.
16628         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
16629         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
16630         (loop_outer_loop): Likewise.
16631         (loop_invalid, loop_number_exit_labels): Likewise.
16632         (loop_used_count_register): Delete and replace with entry in
16633         loop_info structure.
16634         (find_and_verify_loops): Add loops argument.
16635         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
16636         loop_end, etc. arguments with loop structure pointer.  All callers
16637         changed.
16638         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
16639         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
16640         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
16641         (insert_bct): Likewise.
16642         (basic_induction_var): New argument level.
16643         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
16644         vtop, and cont.  Add used_count_register.
16645         (uid_loop): Delete declaration.
16646         (loop_number_exit_count): Likewise.
16647         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
16648         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
16649         (loop_outer_loop, loop_used_count_register): Likewise.
16650         (loop_invalid, loop_number_exit_labels): Likewise.
16651         (unroll_loop): Replace loop_start and loop_end arguments
16652         with loop structure pointer.
16653         (loop_precondition_p, loop_iterations): Likewise.
16654         Include basic-block.h.
16655         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
16656         with loop structure pointer.
16657         (loop_precondition_p, loop_iterations): Likewise.
16658         * basic-block.h (struct loop): New entries vtop, cont,
16659         cont_dominator, start, end, top, scan_start, exit_labels,
16660         exit_count.
16661         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
16662
16663 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16664
16665         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
16666
16667 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
16668
16669         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
16670
16671 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16672
16673         * pdp11-protos.h: New file.
16674
16675         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
16676         time warnings.
16677
16678         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
16679         warnings.
16680
16681         * pdp11.md: Likewise.
16682
16683         * 2bsd.h: Likewise.
16684
16685 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16686
16687         * mn10300-protos.h: New file.
16688
16689         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
16690         time warnings.
16691
16692         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
16693         warnings.
16694
16695         * mn10300.md: Likewise.
16696
16697 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16698
16699         * mn10200-protos.h: New file.
16700
16701         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
16702         time warnings.
16703
16704         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
16705         warnings.
16706
16707         * mn10200.md: Likewise.
16708
16709 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16710
16711         * h8300-protos.h: New file.
16712
16713         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
16714         time warnings.
16715
16716         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
16717         warnings.
16718
16719         * h8300.md: Likewise.
16720
16721 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16722
16723         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
16724         (asm_emit_uninitialised): Likewise.
16725
16726 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
16727
16728         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
16729         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
16730
16731 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
16732
16733         * config/mips/mips.c (override_options): Don't turn on extra
16734         alignment for mips16.
16735
16736 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
16737
16738         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
16739         eabi, and make sure queued POSTINCREMENT rtl is emitted at
16740         the right point.
16741
16742 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
16743
16744         * builtins.c (PAD_VARARGS_DOWN): Define.
16745         (std_expand_builtin_va_arg): Use the above macro.
16746         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
16747         * tm.texi (Register Arguments): Document the above macro.
16748
16749 2000-01-14  Nick Clifton  <nickc@cygnus.com>
16750
16751         * emit-rtl.c (emit_insn): If checking is enabled, make sure
16752         that this function has not been used to emit a jump
16753         instruction.
16754
16755         * jump.c (return_jump_1): Cope with being passed a null rtx.
16756
16757 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16758
16759         * eh-common.h: PROTO -> PARAMS.
16760         * emit-rtl.c: Likewise.
16761         * errors.c: Likewise.
16762         * errors.h: Likewise.
16763         * except.c: Likewise.
16764         * except.h: Likewise.
16765         * explow.c: Likewise.
16766         * expmed.c: Likewise.
16767         * expr.c: Likewise.
16768         * expr.h: Likewise.
16769         * final.c: Likewise.
16770         * fix-header.c: Likewise.
16771         * flow.c: Likewise.
16772         * fold-const.c: Likewise.
16773         * function.c: Likewise.
16774         * function.h: Likewise.
16775         * gcc.c: Likewise.
16776         * gcov-io.h: Likewise.
16777         * gcov.c: Likewise.
16778         * gcse.c: Likewise.
16779
16780 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16781
16782         * sh-protos.h: New file.
16783
16784         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
16785         Add static prototypes.  Fix compile time warnings.
16786
16787         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
16788         * sh.md: Likewise.
16789         * elf.h: Likewise.
16790
16791 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16792
16793         * arc-protos.h: New file.
16794
16795         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
16796         time warnings.
16797
16798         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
16799         warnings.
16800
16801         * arc.md: Likewise.
16802
16803 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16804
16805         * dsp16xx-protos.h: New file.
16806
16807         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
16808         time warnings.
16809
16810         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
16811         warnings.
16812
16813         * dsp16xx.md: Likewise.
16814
16815 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16816
16817         * convex-protos.h: New file.
16818
16819         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
16820         time warnings.
16821
16822         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
16823         warnings.
16824
16825 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16826
16827         * elxsi-protos.h: New file.
16828
16829         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
16830         time warnings.
16831
16832         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
16833         warnings.
16834
16835         * elxsi.md: Likewise.
16836
16837 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
16838
16839         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
16840         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
16841         match the comment for MIPS16.
16842
16843 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
16844
16845         * flow.c (split_edge): Do not call set_block_for_insn if we
16846         do not have a basic_block_for_insn structure.
16847
16848         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
16849         and destination functions are 32bit aligned within the trampoline.
16850         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
16851         (TRAMPOLINE_ALIGNMENT): Define.
16852
16853         * cse.c (cse_insn): When changing (set (pc) (reg)) to
16854         (set (pc) (label_ref)), verify the change creates a valid insn.
16855
16856         * fr30.c (call_operand): Tighten and rework to match rules for
16857         call RTL expressions.
16858         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
16859         * fr30.md (call patterns): Improve constraints.
16860
16861 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
16862
16863         * fr30.c (fr30_expand_epilogue): Revert last change.
16864         Use emit_jump_insn for the return insn.
16865
16866 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
16867                           Stan Cox  <scox@cygnus.com>
16868
16869         * predict.c: New file. Preliminary infrastructure work for static
16870         branch prediction and basic block reordering.
16871         * basic-block.h: Add prototype for estimate_probability.
16872         * Makefile.in: Add rules for predict.o.
16873
16874 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
16875
16876         * fixincludes (va_list): Use __not_va_list__ for the dummy.
16877         * fixinc/*: Likewise.
16878
16879 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16880
16881         * cccp.c: PROTO -> PARAMS.
16882         * cexp.y: Likewise.
16883         * collect2.c: Likewise.
16884         * combine.c: Likewise.
16885         * convert.h: Likewise.
16886         * cse.c: Likewise.
16887         * dbxout.c: Likewise.
16888         * dbxout.h: Likewise.
16889         * diagnostic.c: Likewise.
16890         * doprint.c: Likewise.
16891         * dwarf2out.c: Likewise.
16892         * dwarf2out.h: Likewise.
16893         * dwarfout.c: Likewise.
16894         * dwarfout.h: Likewise.
16895         * dyn-string.h: Likewise.
16896
16897 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16898
16899         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
16900         macro conditionals guarding use.
16901
16902         * dwarf2out.c: Include "tm_p.h".
16903
16904         * function.c (locate_and_pad_parm): Mark parameter with
16905         ATTRIBUTE_UNUSED.
16906         (expand_function_end): Likewise for variable `context'.
16907
16908         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
16909
16910 2000-01-13  Nick Clifton  <nickc@cygnus.com>
16911
16912         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
16913         register to prevent compile time warnings.
16914
16915 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
16916
16917         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
16918         to avoid -Wtraditional warning.
16919
16920 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16921
16922         * 1750a-protos.h: New file.
16923
16924         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
16925         time warnings.
16926
16927         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
16928         warnings.
16929
16930         * 1750a.md: Likewise.
16931
16932 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16933
16934         * a29k-protos.h: New file.
16935
16936         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
16937         time warnings.
16938
16939         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
16940         warnings.
16941
16942 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16943
16944         * clipper-protos.h: New file.
16945
16946         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
16947         time warnings.
16948
16949         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
16950         warnings.
16951
16952 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
16953
16954         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
16955
16956 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
16957
16958         * configure.in (--enable-new-gxx-abi): New option.
16959         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
16960         * Makefile.in (GXX_ABI_FLAG): New variable.
16961         * configure: Regenerate.
16962
16963 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16964
16965         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
16966         * tm.texi (FORCE_STRUCT_BLK): Document.
16967         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
16968
16969 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
16970
16971         * config/ns32k/ns32k.md: Revert Jan 9 change.
16972
16973         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
16974         to a mode-test, if the predicate is address_operand.
16975
16976 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
16977
16978         * combine.c (if_then_else_cond): Be careful about what kinds
16979         of RTL expressions are passed to operand_subword.
16980
16981         * flow.c (split_edge): If we have to insert a new jump, make
16982         sure to associate it with a basic block.
16983
16984         * flow.c (commit_one_edge_insertion): A block with one successor
16985         can end in a JUMP_INSN that is not a simplejump.
16986
16987 2000-01-12  Robert Lipe  <robertl@sco.com>
16988
16989         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
16990         (BUILD_VA_LIST_TYPE): Define.
16991         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
16992         with crtstuff.c.
16993
16994 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
16995
16996         * cccp.c (do_pragma): Add cast to (char *).
16997
16998 2000-01-12  Richard Henderson  <rth@cygnus.com>
16999             Fred Fish  <fnf@be.com>
17000             Jason Merrill  <jason@cygnus.com>
17001
17002         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
17003         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
17004         * i386/beos-elf.h, i386/beos-pe.h: New files.
17005
17006         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
17007         * cross-make (SYSTEM_HEADER_DIR): Define using
17008         CROSS_SYSTEM_HEADER_DIR.
17009
17010         * gcc.c (LIBRARY_PATH_ENV): Provide default.
17011         (process_command): Use it.
17012         (main): Likewise.  Kill trailing = from env vars.
17013         (build_search_list): Put it back.
17014         * collect2.c (main): Use LIBRARY_PATH_ENV.
17015
17016         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
17017         * toplev.c: Use NEED_DECLARATION_ENVIRON.
17018
17019         * tm.texi (Frame Layout): Document SMALL_STACK.
17020         * c-common.c (c_common_nodes_and_builtins): Check it.
17021
17022         * system.h: Undef alloca after including glibc's <stdlib.h>,
17023         if USE_C_ALLOCA is defined.
17024
17025         * gcc.c (set_input): New fn.
17026         (main): After all input files are compiled, reset the input file
17027         info to the first.
17028
17029         * aclocal.m4 (rindex, index): If already defined, don't attempt
17030         to redefine.
17031
17032         * ginclude/varargs.h: (__va_list__): Define ifndef.
17033         * ginclude/stdarg.h: Likewise.
17034
17035         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
17036         instead of unsigned char.
17037
17038         * hash.h (true, false, boolean): Undef before enum.
17039
17040         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
17041         proper type of "HOST_WIDE_INT *", rather than their natural type of
17042         "unsigned HOST_WIDE_INT *".
17043
17044 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17045
17046         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
17047
17048         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
17049
17050         * regclass.c (choose_hard_reg_mode): Likewise.
17051
17052         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
17053
17054         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
17055
17056 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17057
17058         * c-common.c: PROTO -> PARAMS.
17059         * c-common.h: Likewise.
17060         * c-decl.c: Likewise.
17061         * c-iterate.c: Likewise.
17062         * c-lang.c: Likewise.
17063         * c-lex.c: Likewise.
17064         * c-lex.h: Likewise.
17065         * c-parse.in: Likewise.
17066         * c-pragma.c: Likewise.
17067         * c-pragma.h: Likewise.
17068         * c-tree.h: Likewise.
17069         * c-typeck.c: Likewise.
17070         * objc/objc-act.c: Likewise.
17071         * objc/objc-act.h: Likewise.
17072
17073 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17074
17075         * m88k-protos.h: New file.
17076
17077         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
17078         time warnings.
17079
17080         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
17081
17082         * m88k.md: Likewise.
17083
17084         * tekXD88.h: Likewise.
17085
17086 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17087
17088         * m68k-protos.h: New file.
17089
17090         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
17091         time warnings.
17092
17093         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
17094
17095         * mot3300.h: Likewise.
17096
17097 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
17098
17099         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
17100         extract_bitlst.
17101         (extract_bitlist): Declare bitlen.
17102
17103 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
17104
17105         * cccp.c: Accept and ignore -lang-fortran.
17106
17107         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
17108         qualifiers don't match at any level of pointerness.
17109
17110 2000-01-12  Robert Lipe  <robertl@sco.com>
17111
17112         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
17113
17114 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
17115
17116         * reload1.c (reload_reg_unavailable): New static variable.
17117         (reload_reg_free_p): Test it.
17118         (reload_reg_free_for_value_p): Test it instead of
17119         reload_reg_used.
17120         (choose_reload_regs_init): Compute it.
17121
17122 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
17123
17124         * reorg.c (fill_slots_from_thread): Check modified_in_p
17125         before replacing.
17126
17127 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
17128
17129         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
17130         these nodes even if INTERNALS is not set.
17131
17132 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
17133
17134         * gcse.c (delete_null_pointer_checks_1): Cope when
17135         get_condition cannot determine the condition.
17136
17137 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
17138
17139         * toplev.h (set_message_length): Declare.
17140
17141         * diagnostic.c (obstack_chunk_alloc): Define macro.
17142         (obstack_chunk_free): Likewise.
17143         (struct output_buffer): New data structure.
17144         (vmessage): Remove.
17145         (output_maximum_width): New variable.
17146         (doing_line_wrapping, set_message_length, init_output_buffer,
17147         get_output_prefix, output_space_left, emit_output_prefix,
17148         output_newline, output_append, output_puts, dump_output,
17149         vbuild_message_string, build_message_string, build_location_prefix,
17150         voutput_notice, output_printf, line_wrapper_printf,
17151         vline_wrapper_message_with_location):  New functions. Implement
17152         automatic line wrapping.
17153         (v_message_with_decl): Make it handle automatic line wrapping.
17154         (v_error_with_file_and_line): Likewise.
17155         (v_warning_with_file_and_line): Likewise.
17156         (announce_function): Likewise.
17157         (default_print_error_function): Likewise.
17158
17159 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
17160
17161         * cpplib.h (struct cpp_options): Change lang_asm to char.
17162         Add lang_fortran.
17163         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
17164         done in cpp_handle_option now.
17165         (initialize_builtins): Take out special case code used only by
17166         __STDC_VERSION__.
17167         (cpp_handle_option): Turn off trigraphs and trigraph warnings
17168         if -traditional.  Recognize -lang-fortran and set
17169         lang_fortran, also turn off cplusplus_comments.
17170         (print_help): Document -lang-fortran.
17171         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
17172         lang_asm. Ignore all directives other than `# 123 "file"' if
17173         CPP_PREPROCESSED.
17174         (cpp_get_token): If -traditional, don't recognize directives
17175         unless the # is in column 1.
17176         (parse_string): If lang_fortran or lang_asm, silently
17177         terminate strings ('' or "") at end of line.
17178         Remove unnecessary braces.
17179
17180 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17181             Richard Henderson  <rth@cygnus.com>
17182
17183         * resource.c (mark_referenced_resources): Mark a set strict_low_part
17184         as used.
17185         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
17186         strict_low_part when possible.
17187
17188 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17189
17190         * alias.c: PROTO -> PARAMS.
17191         * basic-block.h: Likewise.
17192         * bitmap.c: Likewise.
17193         * bitmap.h: Likewise.
17194         * builtins.c: Likewise.
17195         * c-aux-info.c: Likewise.
17196         * caller-save.c: Likewise.
17197         * calls.c: Likewise.
17198
17199 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17200
17201         * Makefile.in (toplev.o): Depend on regs.h.
17202
17203         * output.h (tdesc_section): Prototype.
17204
17205         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
17206
17207         * sdbout.c: Include "tm_p.h".
17208
17209         * toplev.c: Include "regs.h".
17210
17211 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
17212
17213         * unroll.c (unroll_loop): Add EH support.
17214
17215 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17216
17217         * pa-protos.h: New file.
17218
17219         * pa.c: Include recog.h and tm_p.h.
17220         (compute_zdepwi_operands, compute_movstrsi_length,
17221         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
17222         find_addr_reg, import_milli): Add static prototypes.
17223         (pa_cpu_string, pa_arch_string): Constify a char*.
17224         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
17225         (read_only_operand): Add argument `mode'.
17226         (singlemove_string, output_move_double, output_fp_move_double,
17227         output_block_move, output_and, output_ior, output_ascii,
17228         remove_useless_addtr_insns, milli_names, output_mul_insn,
17229         output_div_insn, output_mod_insn, output_arg_descriptor,
17230         output_cbranch, output_bb, output_bvb, output_dbra, ,
17231         output_millicode_call, output_call, hppa_encode_label,
17232         output_parallel_movb, output_parallel_addb): Constify a char*.
17233         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
17234         (output_parallel_addb): Remove extra arg to `constrain_operands'
17235
17236         * pa.h:  Move all prototypes to pa-protos.h.
17237         (pa_cpu_string, pa_arch_string): Constify a char*.
17238         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
17239
17240         * pa.md: Call `function_label_operand' with mode argument.
17241         Likewise for `read_only_operand'.
17242         Fix nesting of parens in call to `symbolic_operand'.
17243
17244 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17245
17246         * i860-protos.h: New file.
17247
17248         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
17249         time warnings.
17250
17251         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
17252
17253         * i860.md: Likewise.
17254
17255 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
17256
17257         * i386.md (movstrsi expander): Rewrite.
17258         (movstrsi_1 insn): Deleted.
17259         (strmovhi, strmovqi expander): New expanders.
17260         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
17261         * i386.c (x86_single_stringop): New global variable.
17262         * i386.h (x86_single_stringop): Declare.
17263         (TARGET_SINGLE_STRINGOP): New macro.
17264
17265 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
17266
17267         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
17268         integer vararg POSTINCREMENT before the destination of the jump
17269         for the hard fp case.
17270         (function_arg_pass_by_reference): Pass a copy of CUM to
17271         FUNCTION_ARG.
17272
17273         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
17274         for CONSTANT_ADDRESS_P above while loop for subreg.
17275
17276 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
17277
17278         * flow.c (propagate_block): When a prologue/epilogue insn
17279         is marked dead, unconditionally clear libcall_is_dead and
17280         insn_is_dead, and only dump rtl if warnings aren't being
17281         suppressed.
17282
17283 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
17284
17285         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
17286         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
17287         (FIXED_REGISTERS): Set dirflag as fixed.
17288         (CALL_USED_REGISTERS): Set dirflag as used.
17289         (REG_ALLOC_ORDER): Set dirflag as last one.
17290         (DIRFLAG_REG): New macro.
17291         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
17292         (HI_REGISTER_NAMES): Add dirflag.
17293         (DEBUF_PRINT_REG): Handle dirflag.
17294         * i386.md (type attribute): New cld and str types.
17295         (length_opcode attribute): Set cld and str to 1.
17296         (memory attribute): Set str to unknown - it is not clear from the
17297         patterns.
17298         (pent_np function unit): Prefixed string operations takes 12 cycles
17299         minimally; cld takes 2 cycles.
17300         (ppro_uops attribute): Str is "many" and cld is "few".
17301         (ppro_p0 unit): Handle cld here.
17302         (k6_alux unit): Handle cld and str types.
17303         (k6_load unit): It is ocupied by str opcodes.
17304         (k6_store unit): It is ocupied by str opcodes.
17305         (athlon_decode): Str is vector decoded.
17306         (athlon_ieu): Handle str and cld.
17307         (cld pattern): New.
17308         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
17309         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
17310         cmpstrsi_nz_1 insn): Do not output cld instruction
17311
17312 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
17313
17314         * gcc.texi (G++ and GCC): Add Java and Chill.
17315         (Bug Critera): Don't list languages.
17316
17317         * gcc.texi (Incompatibilities): No longer claim most C compilers
17318         are K&R.
17319
17320         * gcc.texi (G++ and GCC): Update other front-ends list.
17321
17322 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
17323
17324         * i386.c (ix86_expand_setcc): Fix typo.
17325         (ix86_expand_movcc): Similarly.
17326
17327         * Band-aid until haifa's bitset implementation is nuked.
17328         * haifa-sched.c (extract_bitlst): New parameter for size of the
17329         bitset in bits.  All callers changed.  Avoid looking at undefined
17330         bits in the bitset.
17331         (edgeset_bitsize): New variable.
17332         (schedule_region): Initialize edgeset_bitsize.
17333
17334 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17335
17336         * Makefile.in (optabs.o): Depend on real.h
17337         (resource.o): Depend on insn-attr.h
17338
17339         * builtins.c (result_vector): Wrap prototype in macro conditions
17340         governing definition and use.
17341
17342         * c-common.c: Include tm_p.h.
17343
17344         * c-lex.c: Likewise.
17345
17346         * elfos.h: Constify a char*.
17347
17348         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
17349         (get_attr_length, shorten_branches, profile_after_prologue): Mark
17350         parameter with ATTRIBUTE_UNUSED.
17351
17352         * fold-const.c (exact_real_inverse): Wrap variable `i' in
17353         CHECK_FLOAT_VALUE.
17354
17355         * haifa-sched.c (schedule_insns): Mark parameter with
17356         ATTRIBUTE_UNUSED.
17357
17358         * optabs.c: Include real.h.
17359
17360         * real.h (ereal_atof): Add prototype arguments.
17361
17362         * resource.c: Include insn-attr.h.
17363
17364         * sdbout.c (sdbout_queue_anonymous_type,
17365         sdbout_dequeue_anonymous_types): Wrap in macro
17366         SDB_ALLOW_FORWARD_REFERENCES.
17367         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
17368         ATTRIBUTE_UNUSED.
17369
17370         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
17371
17372         * stupid.c: Include tm_p.h.
17373
17374         * tree.c (real_value_from_int_cst): Mark parameter with
17375         ATTRIBUTE_UNUSED.
17376
17377 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17378
17379         * i960-protos.h: New file.
17380
17381         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
17382         time warnings.
17383
17384         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
17385
17386 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17387
17388         * combine.c (expand_field_assignment): Do not discard SUBREGs
17389         while computing nonzero_bits.
17390
17391 2000-01-09  Nick Clifton  <nickc@cygnus.com>
17392
17393         * config/arm/arm.c: Fix compile time warnings about signed vs
17394         unsigned constants.
17395         * config/arm/arm.h: Fix compile time warnings about signed vs
17396         unsigned constants.
17397
17398 2000-01-09  Philip Blundell  <philb@gnu.org>
17399
17400         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
17401         than `ldm' with only one register.
17402         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
17403         only one register.
17404
17405         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
17406         clobbered.
17407
17408 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
17409
17410         * config/ns32k/ns32k.md (load or push effective address): Operand 1
17411         must have SImode.
17412
17413 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17414
17415         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
17416         assignment used as truth value.
17417
17418         * function.c (assign_temp): Mark parameter `dont_promote' with
17419         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
17420         PROMOTE_FOR_CALL_ONLY.
17421
17422         * genrecog.c (write_subroutine): Mark variable `operands' with
17423         ATTRIBUTE_UNUSED.
17424
17425         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
17426         ATTRIBUTE_UNUSED.
17427
17428         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
17429         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
17430
17431         * toplev.c (note_deferral_of_defined_inline_function): Likewise
17432         for `decl'.
17433
17434 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17435
17436         * config/c4x.h: Tidy up comments.
17437         * config/c4x.c: Likewise.
17438
17439 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
17440
17441         * fold-const.c (lshift_double, rshift_double): Handle
17442         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
17443
17444 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17445
17446         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
17447         in prepare_function_start().
17448
17449 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
17450
17451         * config/v850/v850.c (expand_epilogue): Interrupt functions no
17452         longer allocate extra stack for function calls.
17453
17454 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17455
17456         * config/c4x/c4x.md (*subqf3_set): Fix typo.
17457
17458 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17459
17460         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
17461
17462 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
17463
17464         * rs6000.c (processor_target_table): Add power3 as alias for 630.
17465         * aix43.h: Revert Aug 2 change.
17466         (HAS_INIT_SECTION): Define, not visible yet.
17467         (LD_INIT_SWITCH): Define, not visible yet.
17468         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
17469
17470         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
17471
17472         * collect2.c (main): Expand ld2 size further.
17473         (export_object_lst): Cast assignment to avoid warning.
17474         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
17475         (scan_prog_file, COFF): Do not collect initialization or
17476         finalization functions generated for entire shared object if
17477         init/fini support present.
17478
17479 2000-01-07  Nick Clifton  <nickc@cygnus.com>
17480
17481         * config/elfos.h: Tidy up formatting of marcos.  Make sure
17482         that .section directives are always prefixed by a tab.
17483
17484         * config/svr4.h: Add #include "elfos.h" and remove duplicate
17485         definitions.
17486
17487 2000-01-07  Matt Austern  <austern@sgi.com>
17488
17489         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
17490         expon.
17491
17492 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
17493
17494         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
17495         crtstuff.c.
17496         (crtbegin.o, s-crtS): Likewise.
17497
17498 2000-01-06  Richard Henderson  <rth@cygnus.com>
17499
17500         * alpha.md (adddi_2+1): Limit offset such that it will be
17501         loadable with a single ldah+lda pair.
17502         (adddi_2+2): Explicitly fail split if we can't make it work.
17503
17504 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
17505
17506         * protoize.c: Conditionally include unistd.h.
17507         (IS_SAME_PATH_CHAR): New macro.
17508         (IS_SAME_PATH): New macro.
17509         (CPLUS_FILE_SUFFIX): New macro.
17510         (cplus_suffix): New static variable.
17511         (is_abspath): New static function.
17512         (in_system_include_dir): Handle DOS style pathnames.
17513         (file_could_be_converted): Likewise.
17514         (file_normally_convertible): Likewise.
17515         (directory_specified_p): Likewise.
17516         (file_excluded_p): Likewise.
17517         (abspath): Likewise.
17518         (shortpath): Likewise.
17519         (referenced_file_is_newer): Likewise.
17520         (save_def_or_dec): Likewise.
17521         (do_processing): Likewise.
17522         (main): Likewise.
17523         (edit_file): Likewise. Use rename instead of link.
17524         (rename_c_file): Likewise. Don't rename syscalls file.
17525         (munge_compile_params): Define null device for DOS based systems.
17526         (process_aux_info_file): Use binary mode if appliable.
17527         (edit_file): Likewise.
17528         * invoke.texi (Running Protoize): Document C++ suffixes used.
17529
17530         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
17531         IS_DIR_SEPARATOR macros.
17532         * collect2.c: Likewise.
17533         * cppinit.c: Likewise.
17534         * dwarf2out.c: Likewise.
17535         * gcc.c: Likewise.
17536         * gcov.c: Likewise.
17537         * prefix.c: Likewise.
17538         * rtl.c: Likewise.
17539         * toplev.c: Likewise.
17540         * system.h: And move to here.
17541
17542         * prefix.c (update_path): Fix typo in variable name.
17543
17544 2000-01-06  Richard Henderson  <rth@cygnus.com>
17545
17546         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
17547         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
17548         (count_reg_sets_1, count_reg_references): Likewise.
17549         (flow_loops_level_compute): Start counting actual loop depth at 1.
17550         (flow_loops_find): Likewise.
17551         * local-alloc.c (update_equiv_regs): Likewise.
17552         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
17553
17554 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
17555
17556         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
17557         FIRST_PSEUDO_REGISTER
17558         * dwarf2out.c: Don't include frame.h
17559         * dwarfout.c: Likewise
17560         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
17561         frame.h
17562
17563 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
17564
17565         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
17566         dead registers.
17567
17568         * i386.c (movsf splitter): Fix typo in my last checkin.
17569
17570 2000-01-05  Nick Clifton  <nickc@cygnus.com>
17571
17572         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
17573         own definition of this macro.
17574         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
17575         flag_data_sections or UNIQUE_SECTION_P are true.
17576
17577         * tm.texi (UNIQUE_SECTION): Document that it can be called for
17578         unitialised data decls.
17579
17580         * config/i386/winnt.c (i386_pe_unique_section): Cope with
17581         being called for uninitialised data.
17582
17583         * config/i386/interix.c (i386_pe_unique_section): Cope with
17584         being called for uninitialised data.
17585
17586         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
17587         for uninitialised data.
17588
17589         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
17590         for uninitialised data.
17591
17592         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
17593         for uninitialised data.
17594
17595         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
17596         (UNIQUE_SECTION_P): Always generate a unique section if
17597         flag_data_sections is true.
17598         (UNIQUE_SECTION): Also generate unique sections for
17599         uninitialised data.
17600         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
17601         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
17602         named_section().
17603
17604 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17605
17606         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
17607         SI, or DI.
17608
17609 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17610
17611         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
17612         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
17613         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
17614         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
17615         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
17616
17617         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
17618
17619 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
17620
17621         * c-decl.c (finish_enum): Simplify code to determine minimum and
17622         maximum values of the enum, and calculate the type.  Remove check
17623         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
17624         the DECL_INITIAL of each enumeration constant with a copy converted
17625         to the enumeration type.  When updating variant types, don't bother
17626         updating the type itself.
17627
17628         * c-typeck.c (build_binary_op): Simplify conditional expressions
17629         when weeding out spurious signed-unsigned warnings.  Add new
17630         spurious warning category: if the unsigned quantity is an enum
17631         and its maximum value fits in signed_type(result_type).  Update
17632         commentary.
17633         (build_conditional_expr): Warn here if one alternative is signed
17634         and the other is unsigned.
17635
17636 2000-01-05  Nick Clifton  <nickc@cygnus.com>
17637
17638         * config/fr30/fr30.h: Remove extraneous comments.
17639
17640 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
17641
17642         * reload1.c (choose_reload_regs): When disabling a reload, also
17643         set reload_spill_index to -1.
17644
17645 2000-01-04  Joel Sherrill (joel@OARcorp.com>
17646
17647         * configure.in (m68*-*-rtemscoff*): New target, formal name for
17648         old m68*-*-rtems*.
17649         (m68*-*-rtemself*): New target.
17650         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
17651         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
17652         (sparc*-*-rtemself*): New target.
17653         (sparc*-*-rtems*): Now elf not a.out.
17654         * config/i386/rtems.h: Include config/rtems.h.
17655         * config/i386/rtemself.h: Include config/rtems.h.
17656         * config/i960/rtems.h: Include config/rtems.h.
17657         * config/m68k/rtems.h: Include config/rtems.h.
17658         * config/m68k/rtemself.h: Include config/rtems.h.
17659         * config/mips/rtems64.h: Include config/rtems.h.
17660         * config/pa/rtems.h: Include config/rtems.h.
17661         * config/rs6000/rtems.h: Include config/rtems.h.
17662         * config/sh/rtems.h: Include config/rtems.h.
17663         * config/sh/rtemself.h: Include config/rtems.h.
17664         * config/sparc/rtems.h: Include config/rtems.h.
17665         * config/sparc/rtemself.h: Include config/rtems.h
17666
17667 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
17668
17669         * final.c (shorten_branches): Correctly compute length of
17670         asms without operands.
17671
17672 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
17673
17674         * configure.in: Add pj target.
17675         * configure: Regenerate.
17676         * config/pj: New directory.
17677         * config/pj/lib1funcs.S: New file.
17678         * config/pj/linux.h: New file.
17679         * config/pj/pj.c: New file.
17680         * config/pj/pj.md: New file.
17681         * config/pj/pjl.h: New file.
17682         * config/pj/t-pj: New file.
17683         * config/pj/xm-pj.h: New file
17684
17685 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
17686
17687         * toplev.c (rest_of_compilation): Run shorten-branches before
17688         reg-stack for now.
17689
17690 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17691
17692         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
17693         macros so that they're consistent with their names.
17694         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
17695         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
17696
17697 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17698
17699         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
17700         modified inadvertently.
17701
17702 2000-01-04  Joel Sherrill <joel@OARcorp.com>
17703
17704         * configure.in (v850*-*-rtems*): New target.
17705         * configure: Regenerate.
17706         * config/v850/rtems.h: New file.
17707
17708 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
17709
17710         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
17711         (__gthread_key_create): Likewise.
17712         (__gthread_key_dtor):  Likewise.
17713         (__gthread_once): Fix logic.
17714         (__gthread_key_delete): Cast away constness.
17715
17716         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
17717         * invoke.texi: Document.
17718         * i386/mingw32.h (CPP_SPEC): Use.
17719         (LIBGCC_SPEC): Likewise.
17720         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
17721
17722 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
17723
17724         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
17725         (HANDLE_PRAGMA_PACK): Undefine.
17726         (SLOW_UNALIGNED_ACCESS): Define.
17727
17728 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
17729
17730         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
17731         to default definition.
17732         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
17733         (store_fixed_bit_field): Call macro with word_mode and alignment.
17734         (extract_bit_field): Call macro with relevant mode and alignment.
17735         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
17736         to default definition.
17737         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
17738         and alignment.
17739         (move_by_pieces_ninsns): Likewise.
17740         (clear_by_pieces): Likewise.
17741         (emit_push_insn): Likewise.
17742         (store_field): Call macro with relevant mode and alignment.
17743         (expand_expr): Likewise.
17744         (expand_expr_unaligned): Likewise.
17745
17746         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
17747         (SLOW_UNALIGNED_ACCESS): Define.
17748         (CASE_VECTOR_MODE): Always use 32-bit offsets.
17749         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
17750         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
17751         (toc_section): Likewise and .toc pseudo-op.
17752         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
17753         64-bit mode.
17754         (TEXT_SECTION_ASM_OP): Likewise.
17755         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
17756         32-bit offsets.
17757
17758         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
17759         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
17760         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
17761         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
17762         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
17763
17764 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
17765
17766         * regclass.c: Revert my Jan 4 change to loop cost computation.
17767
17768 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
17769
17770         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
17771         compilation.
17772
17773 2000-01-04  Stan Cox  <scox@cygnus.com>
17774
17775         * haifa-sched.c (build_control_flow): Change unreachable simple
17776         loop test to check if current block has only one predecessor.
17777         (find_rgns): Initialize degree.  Use dest as degree index, not src.
17778
17779 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17780
17781         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
17782
17783         * calls.c (expand_call): Likewise for
17784         `old_stack_arg_under_construction'.
17785
17786         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
17787
17788         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
17789         `save_constant'.
17790
17791         * gcc.c (execute): Likewise for `ut' and `st'.
17792
17793         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
17794
17795         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
17796
17797         * jump.c (jump_optimize_1): Likewise for `temp2'.
17798
17799         * local-alloc.c (block_alloc): Likewise for `r1'.
17800
17801         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
17802
17803         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
17804         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
17805
17806         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
17807         and `set2'.
17808
17809         * reload.c (find_reloads): Likewise for `goal_alternative_number'
17810         and `goal_earlyclobber'.
17811
17812         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
17813
17814         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
17815
17816         * stupid.c (stupid_life_analysis): Likewise for `chain'.
17817
17818         * unroll.c (copy_loop_body): Likewise for `copy'.
17819
17820         * varasm.c (output_constructor): Likewise for `byte'.
17821
17822 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
17823
17824         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
17825         all FP constants for constant->reg moves.
17826         (ix86_split_to_parts): Try to convert memory address into immediate
17827         when available in the constant pool.
17828         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
17829         moves.
17830         (LEGITIMATE_CONSTANT_P): Return 1.
17831         * i386.md (pushsf): New splitter to convert constant pool memory
17832         reference to immediate.
17833         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
17834         reload.
17835
17836 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
17837
17838         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
17839         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
17840         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
17841         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
17842         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
17843
17844 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
17845
17846         * ginclude/stdbool.h:  Support compilation as C++.
17847
17848 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
17849
17850         * fold-const.c (make_range): Don't try to reverse an unbounded range.
17851
17852 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
17853
17854         * regclass.c (regclass): Properly compute loop_cost.  Adjust
17855         comments.
17856
17857         * regclass.c: Fix minor whitespace problems.
17858
17859 2000-01-03  Anthony Green  <green@cygnus.com>
17860
17861         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
17862         Restore the pic register if required.
17863
17864 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
17865
17866         * c-common.c (format_char_info): Update comment.
17867         (check_format_info): Recognize 'z' modifier in the same way 'Z'
17868         was recognized.  Emit warning for formats new in ISO C99 only
17869         if flag_isoc9x is not set.
17870
17871 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
17872
17873         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
17874
17875 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
17876
17877         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
17878         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
17879         (make_compound_operation): Choose cheaper alternative between
17880         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
17881
17882         * regclass.c (op_costs): Remove global variable.
17883         (record_reg_classes): New parameter "op_costs" and "reg_pref".
17884         (record_operand_costs): Break out from ...
17885         (scan_one_insn): ... here.
17886         (dump_regclass): Make dumps nicer.
17887         (regclass): Dump preferrences choosed and changes done during passes.
17888
17889 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
17890
17891         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
17892
17893 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
17894
17895         * config/sparc/sparc.c (gen_df_reg): New function.
17896         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
17897         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
17898         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
17899         movtf_cc_reg_sp64+1): Use it.
17900
17901 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
17902
17903         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
17904         copied LABEL_DECLs.
17905
17906 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
17907
17908         * config/i386/i386.c (ix86_expand_unary_operator): Function
17909         definition made void.
17910         (ix86_expand_binary_operator): Update outdated preceding comment.
17911         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
17912         prototype.
17913
17914         * config/i386/i386.c (override_options): Fix option-name typo.
17915
17916 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
17917
17918         * system.h (CEIL): Define.
17919         * builtins.c (CEIL): Remove.
17920         * expmed.c (CEIL): Likewise.
17921         * expr.c (CEIL): Likewise.
17922         * stor-layout.c (CEIL): Likewise.
17923
17924 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17925
17926         * expr.c (store_constructor_field): Fix typo introduced with last
17927         gcc2 merge.
17928
17929 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
17930
17931         * tree.h (BINFO_N_BASETYPES): New macro.
17932
17933 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
17934
17935         * expmed.c (emit_store_flag): Prevent losing a pending stack
17936         adjust the same way we prevent losing queued increments.
17937
17938 See ChangeLog.2 for earlier changes.