Minor formatting tidyups.
[official-gcc.git] / gcc / ChangeLog
blob8799dbaa6753b7880fef655dcb31b9785d0baa7f
1 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
3         * config/arm/arm.c (arm_init_cumulative_args); New function:
4         Initlaise the CUMULATIE_ARGS strcuture for a function
5         defintion. 
6         (arm_function_arg): New function: Determine where to place a
7         function's argument.  Also handles deciding the function's
8         call cookie.
9         (current_file_function_operand): New function: Return true if
10         the symbol is a function which has already been compiled.
11         (arm_is_long_call_p): New function: Return true if the
12         indicated function should be called via a long call.
13         (arm_valid_type_attribute_p): New function: Return true if the
14         attribute is a valid, arm specific, attribute.
15         (arm_comp_type_attribute): New function: Return true if the
16         two types have compatable, arm specific, attributes.
18         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
19         structure.
20         (FUNCTION_ARG): Redefine to call arm_function_arg.
21         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
22         structure field.
23         (INIT_CUMULATIVE_ARGS): Redefine to call
24         arm_init_cumulative_args.
25         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
26         field. 
27         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
28         field. 
29         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
30         functions.
31         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
32         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
33         (COMP_TYPE_ATTRIBUTES): Define.
35         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
36         if a long call is needed.
37         (call_value): Call arm_is_long_call_p to decide if a long call
38         is needed.
39         (call_symbol): Call arm_is_long_call_p to decide if a long call
40         is needed.
42         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
44 2000-02-11  Denis Chertykov  <denisc@overta.ru>
46         * README.AVR: New file with information about the avr ports.
47         * config/avr: New directory with avr port files.
49 2000-02-11  Andreas Jaeger  <aj@suse.de>
51         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
53 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
55         * cpphash.c: Fix formatting, update commentary.
56         (dump_definition): Take three separate arguments instead of a
57         MACRODEF structure argument.
58         * cpphash.h: Update prototype of dump_definition.
59         * cppinit.c (cpp_finish): Update call of dump_definition.
61         * cpplib.c (do_define): Always create new hash entry with
62         T_MACRO type.  Remove redundant check for redefinition of
63         poisoned identifier.  Update call of dump_definition.
64         (do_undef): Don't call check_macro_name.  Rename sym_length to
65         len.
66         (do_error, do_warning): Don't use copy_rest_of_line or
67         SKIP_WHITE_SPACE.
68         (do_warning): Don't use pedwarn for the actual warning,
69         only the notice about its not being in the standard.  (Fixes
70         bug with #warning in system headers.)
71         (do_ident): Stricter argument checking - accept only a single
72         string after #ident.  Also, macro-expand the line.
73         (do_xifdef): Use cpp_defined.  De-obfuscate.
75         (do_pragma): Split out specific pragma handling to separate
76         functions.  Use get_directive_token.  Update commentary.  Do
77         not pass on #pragma once or #pragma poison to the front end.
78         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
79         do_pragma_default): New.
81 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
83         * jump.c (jump_optimize_1): The first operand in a relational
84         can be a CONST_INT.
85         * optabs.c (emit_conditional_move): Handle relationals which
86         have a known true/false result.
88 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
90         * function.c (thread_prologue_and_epilogue_insns): Don't insert
91         a RETURN insn into a block which already ends with a jump.
93 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
95         * haifa-sched.c (BUF_LEN): Increase a lot.
97 2000-02-11  Nick Clifton  <nickc@cygnus.com>
99         * configure.in: Add tm_p_file specification for thumb targets.
100         * configure: Regenerate.
102         * config/arm/thumb-protos.h: New file: Prototypes for exported
103         functions defined in thumb.c.
105 2000-02-11  Robert Lipe  <robertl@sco.com>
107         * Makefile.in (bootstrap-lean): Remove additional files.
108         (bootstrap2-lean): Likewise.
109         (VOL_FILES): List of files for above.
111 2000-02-11  Nathan Sidwell  <nathan@acm.org>
113         * cpphash.c (special_symbol): Remove spurious argument to
114         cpp_lookup.
116 2000-02-11  Joel Sherrill (joel@OARcorp.com>
118         * configure.in: (i*86-*-rtems*): Swapped elf and coff
119         stanzas.
120         * configure: Rebuilt.
122 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
123         
124         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
126 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
128         * pa.c, pa.h: Remove trigraph sequences within comments.
130 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
132         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
134 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
136         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
138 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
139         
140         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
142 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
144         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
145         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
146         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
147         (ASM_FILE_END): Use c4x_file_end.
148         * config/c4x/c4x.c (c4x_global_label): New function.
149         (c4x_external_ref, c4x_file_end): Likewise.
151         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
152         (c4x_external_ref, c4x_end_file): Likewise.
154 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
156         * cppexp.c: Don't include cpphash.h.
157         (parse_charconst, cpp_lex): Use cpp_defined.
158         (cpp_lex): Use get_directive_token throughout.  Remove
159         unnecessary cases from switch.  Move assertion-handling code
160         down to OTHER case.
161         (cpp_parse_expr): If we see '+' or '-', check the context to
162         determine if they are unary or binary operators.  Streamline
163         the jumps a bit.  Do not call skip_rest_of_line.
165         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
166         static.  Export get_directive_token.  Update commentary.
167         (cpp_defined): New function.
168         (do_define): Remove reference to T_PCSTRING.  Call
169         free_definition to release memory for old definition, when
170         redefining a macro.
171         (eval_if_expression): Set only_seen_white to 0 before calling
172         cpp_parse_expr.  Call skip_rest_of_line after it returns.
173         (cpp_read_check_assertion): Don't preserve a pointer into the
174         token buffer across a call to cpp_get_token.
176         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
177         * cppfiles.c (redundant_include_p): Use cpp_defined.
178         * cpphash.c (free_definition): New function.
179         (delete_macro): Use it.  Update commentary.
180         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
181         free_definition.
182         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
183         from enum node_type.  Prototype cpp_defined and get_directive_token.
184         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
186         * fix-header.c (check_macro_names): Use cpp_defined.
187         (read_scan_file): Set inhibit_warnings and inhibit_errors in
188         the options structure.
190 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
192         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
194 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
196         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
197         rather than die->die_tag.
199 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
201         * combine.c (make_extraction, force_to_mode): Avoid warning on
202         mixed-signedness conditionals.
203         (make_field_assignment, nonzero_bits): Likewise.
204         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
205         (store_split_bit_field, extract_split_bit_field): Likewise.
206         (extract_fixed_bit_field, store_bit_field, 
207         * expr.c: Change alignment to be unsigned everywhere.
208         (move_by_pieces, store_constructor_field, store_constructor): 
209         Alignment parm is unsigned.
210         (emit_block_move, emit_group_load, emit_group_store): Likewise.
211         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
212         (do_compare_rtx_and_jump): Likewise.
213         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
214         Compare align with GET_MODE_ALIGNMENT.
215         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
216         (get_inner_reference): Likewise.
217         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
218         (expand_assignment): Local vars for alignment now unsigned.
219         (store_constructor, store_field, expand_expr, do_jump): Likewise.
220         (do_compare_and_jump): Likewise.
221         (store_field): Call new function expr_align.
222         * expr.h (emit_block_move, emit_group_load, emit_group_store):
223         Alignment arg now unsigned.
224         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
225         (do_compare_rtx_and_jump, store_bit_field): Likewise.
226         (extract_bit_field): Likewise.
227         * fold-const.c (add_double): Add cast to eliminate signedness warning.
228         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
229         (get_best_mode): Alignment arg is unsigned.
230         * rtl.h (move_by_pieces): Likewise.
231         * store-layout.c (maximum_field_alignment, set_alignment):
232         Now unsigned.
233         (layout_decl): Alignment arg is now unsigned.
234         Remove unneeded casts.
235         (layout_record, layout_union, layout_type): Remove unneeded casts.
236         Local alignment variables now unsigned.
237         (get_best_mode): Alignment arg now unsigned.
238         * tree.c (expr_align): New function.
239         * tree.h (expr_align): Likewise.
240         (maximum_field_alignment, set_alignment): Now unsigned.
241         (get_inner_reference): Alignment argument is now pointer to unsigned.
242         * varasm.c (assemble_variable): Add cast to eliminate warning.
244 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
246         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
247         then store directly into op0.
249         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
250         the CALL_INSN, and emit the note immediately after it.
252 2000-02-10  Nick Clifton  <nickc@cygnus.com>
254         * config/arm/thumb.md (epilogue): Include a (return) in the
255         generated insn, and emit it using emit_jump_insn not
256         emit_insn. 
258 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
260         * function.c (assign_temp): Change zero-sized arrays to size 1.
261         * integrate.c (expand_inline_function): Do not update
262         stack_alignment_needed
263         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
264         add some sanity checking, remove optimization for function with
265         zero frame size.
267 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
269         * flow.c (mark_regs_live_at_end): Delete unused variables.
271         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
273         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
274         in macro FRAME_GROWS_DOWNWARD.
276         * stmt.c (expand_end_bindings): Delete unused variable.
278         * unroll.c (iteration_info): Mark parameter `loop' with
279         ATTRIBUTE_UNUSED.
281 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
283         * fixinc/server.c (load_data): Return NULL if the marker line is
284         not found.
285         (run_shell): If load_data returns NULL, retry the command once, in
286         a new shell.
288         * configure: Rebuilt.
290 2000-02-09  Bruce Korb  <bkorb@gnu.org>
292         * gcc/fixincludes:  ** DELETED **
293         * gcc/fixcpp:  ** DELETED **
294         * gcc/fixinc-nt.sed:  ** DELETED **
295         * gcc/just-fixinc:  ** DELETED **
296         * gcc/Makefile.in:  Removed out-dated commentary
297         * gcc/configure.in: Removed fast-fixincludes disablement.
298         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
300 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
301         * function.c (thread_prologue_and_epilogue_insns): Uncomment
302         last change.
304 2000-02-09  Richard Henderson  <rth@cygnus.com>
306         * jump.c (delete_insn): Don't delete user labels at -O0.
308 2000-02-09  Robert Lipe  <robertl@sco.com>
310         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
311         Don't link with HOST_LIBS. 
313 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
315         * configure.in: Correct --help text for --with-dwarf2.
316         Put tm-dwarf2.h after other tm files, if it's requested.
317         * configure: Regenerate.
318         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
319         defining it.
321 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
323         * cpplib.h: Provide HASHNODE typedef and forward decl of
324         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
325         DEFINITION, struct hashnode, struct macrodef, struct
326         definition, scan_decls prototype, default defn of
327         INCLUDE_LEN_FUDGE moved elsewhere.
329         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
330         definition, and struct hashnode moved here. Remove the unused
331         'predefined' field from struct definition.  Replace the 'args'
332         union with its sole member.  All users updated (cpphash.c).
333         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
334         multiple include guard.
336         * cpphash.c (hashf): Make static; use better algorithm; drop
337         HASHSIZE parameter; return an unsigned int.
338         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
339         used. Calculate HASHSIZE modulus here.
340         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
341         here.
342         (create_definition): Drop PREDEFINITION parameter.
343         * cpplib.c (do_define): Don't calculate a hash value here.
344         Don't pass (keyword == NULL) to create_definition.
346         * scan.h: Prototype scan_decls here.
347         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
348         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
349         callers of cpp_lookup and cpp_install updated.
350         
351         * cpphash.c (macarg): Hoist all the flag diddling out of the
352         function...
353         (macroexpand): ... and out of the loop that calls macarg.
354         Skip over the initial paren before macro arguments with
355         cpp_get_non_space_token; point may be some distance before
356         that paren.  Abort if it's not there.
358         * cpplib.c (parse_clear_mark): Delete function.
359         (parse_set_mark, parse_goto_mark): Make static.
360         (ACTIVE_MARK_P): New macro.
361         (skip_block_comment, skip_line_comment): Do not bump the line
362         if ACTIVE_MARK_P is true.
363         (cpp_pop_buffer): The buffer to be popped may not have an
364         active mark.
365         (cpp_get_token): When looking for the initial paren before
366         macro arguments, only set a mark in a file buffer, Always
367         return to that mark before proceeding to call macroexpand or
368         return a NAME token.
370         * cpplib.h: Remove prototypes of parse_set_mark,
371         parse_clear_mark, parse_goto_mark.
372         (struct cpp_options): Rename 'put_out_comments' to
373         'discard_comments' and invert its sense.
374         * cppinit.c, cpphash.c, cpplib.c: All users of
375         put_out_comments changed to use discard_comments, with
376         opposite sense.
378 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
380         * function.c (thread_prologue_and_epilogue_insns): Don't delete
381         the edge from a block that both jumps and falls through to the
382         fallthru block.
384 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
386         * config/arm/arm.md (movsi): In PIC mode, make sure that a
387         constant source address is legitimate.
389 2000-02-09  Philip Blundell  <pb@futuretv.com>
391         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
392         correctly.
394         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
395         generating PIC.
396         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
398 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
400         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
401         ends with a newline and a NUL.  Don't be so clever manipulating
402         strings.
404 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
406         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
407         not to BIGGEST_ALIGNMENT.
409 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
411         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
412         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
413         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
414         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
415         * frame.c (execute_cfa_insn): Handle 
416         DW_CFA_GNU_negative_offset_extended.
418 2000-02-08  Richard Henderson  <rth@cygnus.com>
420         * flow.c (tidy_fallthru_edges): Split out from ...
421         (delete_unreachable_blocks): ... here.
422         (find_basic_blocks): Use it.
424 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
426         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
428 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
430         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
431         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
432         (fix-header.o): Don't depend on cpphash.h.
434         * scan.c (hashstr): New function. 
435         * scan.h: Prototype it.
436         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
437         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
438         hashstr.  Report hash table statistics.  Add private     
439         definition of xrealloc.
441 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
443         * i386.h (TARGET_SWITCHES): Fix typo in option name.
445 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
447         * function.c (thread_prologue_and_epilogue_insns): Don't replace
448         jumps with returns unless they are jumps to the fallthru block.
450 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
452         * i386.md (addqi3_cc): Fix contraints.
454 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
456         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
458 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
460         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
461         carriage return after a macro name.
463 2000-02-07  Fred Fish  <fnf@be.com>
465         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
466         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
468 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
470         * cppfiles.c (deps_output): Count spacers in deps_column.
472 2000-02-07  Neil Booth  <NeilB@earthling.net>
474         * cppinit.c (initialize_dependency_output): If there is no
475         suffix, don't try to look for known suffixes.  Use strrchr.
476         (cpp_start_read): Remove duplicate initialization.
478 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
480         * calls.c (compute_argument_block_size): New argument
481         preferred_stack_boundary.
482         (expand_call): update cfun->preferred_stack_boundary, update call of
483         compute_argument_block_size
484         (emit_library_call): Increate cfun->preferred_stack_boundary
485         to PREFERRED_STACK_BOUNDARY
486         (emit_library_call_value): Likewise.
487         * explow.c (allocate_dynamic_stack_spave): Likewise.
488         * function.c (prepare_function_start): Set
489         cfun->preferred_stack_boundary
490         * function.h (struct function): Add preferred_stack_boundary field.
491         * integrate.c (expand_inline_function): Update
492         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
493         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
494         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
496 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
498         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
499         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
500         cpp_pedwarn, cpp_pedwarn_with_line,
501         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
502         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
503         v_cpp_error_with_line, v_cpp_warning_with_line,
504         cpp_message_from_errno, cpp_perror_with_name): Delete.
506         * cpperror.c (cpp_print_containing_files): Take starting
507         buffer as argument.
508         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
509         (v_cpp_message): Now called directly by all entry points.
510         Remove -1 case.
511         (cpp_pfatal_with_name, cpp_message): Delete.
512         (cpp_notice_from_errno, cpp_ice): New functions.
513         (cpp_notice): Is now for reporting error conditions, just
514         without an associated file.
515         (cpp_error, cpp_error_with_line): Don't do anything if
516         opts->inhibit_errors is on.
517         (cpp_pedwarn_with_file_and_line): Take column argument also.
519         * cpplib.h: Update prototypes of exported functions.
520         (struct cpp_options): Add inhibit_errors.
522         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
523         non-error messages.  Include intl.h.
525         * cppinit.c, cppmain.c: Likewise.  Also, use
526         cpp_notice_from_errno instead of cpp_perror_with_name or
527         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
529         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
530         report internal errors.
532         * cpplib.c (do_define): Switch bcopy to memcpy.
533         Give cpp_pedwarn_with_file_and_line a dummy column argument.
535         * cpplib.c (copy_rest_of_line): Revert previous change: don't
536         bail out early if we hit a line comment.
538 2000-02-06  Richard Henderson  <rth@cygnus.com>
540         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
541         * basic-block.h: Declare them.
542         * emit-rtl.h (active_insn_p): New.
543         (next_active_insn, prev_active_insn): Use it.
544         * rtl.h: Declare it.
545         * function.c (emit_return_into_block): New.
546         (thread_prologue_and_epilogue_insns): Insert return insns instead
547         of epilogues when possible.
548         * jump.c (jump_optimize_1): Remove code to insert a return insn
549         on the fallthru to the exit block.
551         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
552         and for non-empty stack frames.
553         * i386.md (return): Expand to return-pop as needed.
555 2000-02-06  Richard Henderson  <rth@cygnus.com>
557         * simplify-rtx.c (simplify_relational_operation): Canonicalize
558         constant to op1 for testing.
560 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
562         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
563         (fixuns_truncqfqi2): Use it.
565 2000-02-06  Richard Henderson  <rth@cygnus.com>
567         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
568         as a TYPE_LEA insn.
570         * i386.md (widening and peepholes): Mask the constant instead of
571         using gen_lowpart.
573 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
575         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
576         input pointer before possibly branching off to the backslash
577         code.
578         * cpphash.c (macroexpand): Correctly delete \r escapes when
579         stringifying parameters.
580         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
581         if we can; bail out early if we hit a line comment.
582         (handle_directive): Treat '# 123' in an .S file just like
583         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
584         Return 1 for '# not_a_directive'.
585         (get_directive_token): Pop macro buffers here, so that
586         cpp_get_token can't sneakily move past a newline.
587         Add sanity checks. 
588         (cpp_get_token): goto randomchar if handle_directive returns 0.
590         * cppalloc.c: Update copyright.
591         * cpplib.c: Merge all the static function prototypes into one
592         block.
593         * cpplib.h: Remove #if 0 block.
595         * cpperror.c: Remove #ifdef EMACS block.
596         * cppmain.c: Likewise.
597         * cpphash.c: Remove #if 0 blocks.
598         * cppinit.c: Remove #if 0 blocks, and the -lint option.
599         * cpplib.c: Remove #if 0 blocks and code referencing
600         pcp_inside_if or for_lint.  Remove duplicate error message.
601         Fix error messages for #else after #else or #elif.  Reformat.
602         Remove archaic TODO list.
603         * cpplib.h: Remove pcp_inside_if and for_lint flags.
605 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
607         * i386/osf1elf.h: Add missing backslash to multiline string.
609 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
611         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
613 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
615         * Makefile.in (c-common.o): Depend on $(EXPR_H).
617         * c-common.c: Include expr.h.
619         * c-pragma.c (mark_align_stack): Add prototype.
621         * caller-save.c (add_stored_regs): Likewise.
623         * combine.c (record_promoted_value): Likewise.
625         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
626         Likewise.
628         * cppinit.c (new_pending_define): Likewise.
630         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
632         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
633         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
634         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
635         class_scope_p): Likewise.
637         * dwarf2out.h (dwarf2out_set_demangle_name_func,
638         dwarf2out_add_library_unit_info): Likewise.
640         * ggc.h (ggc_page_print_statistics): Likewise.
642         * haifa-sched.c (propagate_deps): Likewise.
644         * reg-stack.c (next_flags_user, record_label_references): Likewise.
646         * rtl.h (set_stack_check_libfunc): Likewise.
648         * toplev.h (set_fatal_function): Likewise.
650         * toplev.c (set_fatal_function): Delete prototype.
651         
652         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
653         
654 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
656         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
657         (FUNC_END): Likewise.
659 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
661         * caller-save.c: Include tm_p.h.
663 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
665         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
667 2000-02-04  Neil Booth  <NeilB@earthling.net>
669         * cccp.c (main): Check 'dir' for a NULL pointer before passing
670         it to strcmp.
672 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
674         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
675         * genflags.c: Use the max_operand_1 logic from genemit.c to
676         calculate how many arguments gen_insn prototypes have.  Remove
677         NO_MD_PROTOTYPES ifdefs from the generated file.
678         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
679         file.  Cast gen_insn initializers to insn_gen_fn.
680         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
681         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
683 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
685         * fixinc/Makefile.in (HDR): Add machname.h.
686         (clean): Likewise.
688 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
690         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
691         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
692         (c4x_cpu_version): Ditto.
693         * config/c4x/c4x-protos.h: ... here.
695 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
697         * dwarf2out.c (add_abstract_origin_attribute): Don't call
698         gen_abstract_function on our context if we're a nested function.
700 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
702         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
703         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
705 2000-02-04  Bruce Korb  <bkorb@gnu.org>
707         * fixinc/genfixes(machname.h):
708         Move the functionality from gen-machine.h into this file.
709         UNdef MN_NAME_PAT if there are no names to change.
710         Also, be a little kinder when AutoGen is not present.
712         * fixinc/Makefile.in(machname.h):
713         Change the generation rule to use genfixes.
715         * fixinc/fixfixes.c(machine_name):
716         machine_name_fix's functionality now dependent upon whether
717         MN_NAME_PAT is defined.
719         * fixinc/fixtests.c(machine_name):
720         ditto.
722         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
723         of MN_NAME_PAT.
725         * fixinc/fixlib.h(mn_get_regexps):
726         ditto
728         * fixinc/gen-machine.h: DELETED
730 2000-02-04  Jan Hubicka  <jh@suse.cz>
731             Richard Henderson  <rth@cygnus.com>
733         * i386.c (SAVE_REGS_FIRST): Remove.
734         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
735         (ix86_compute_frame_size): Likewise.
736         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
737         (ix86_emit_restore_regs): Remove.
738         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
739         when a frame pointer is in use.
740         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
741         instead of pop to restore a register when profitable; emit leave
742         when profitable.
743         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
744         as a TYPE_LEA insn.
745         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
746         * i386.md (prologue_allocate_stack): Remove.
747         (epilogue_deallocate_stack): Remove.
748         (pro_epilogue_adjust_stack): New.
750 2000-02-04  Richard Henderson  <rth@cygnus.com>
752         * function.c (diddle_return_value): Rework to use a callback function.
753         Use current_function_return_rtx if it's been set up.
754         (do_clobber_return_reg, clobber_return_register): New.
755         (do_use_return_reg, use_return_register): New.
756         (expand_function_end): Use them.
757         * stmt.c (expand_null_return): Likewise.
758         * function.h: Declare them.
759         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
760         (mark_reg): Change arguments as appropriate for callback.
761         * integrate.c (expand_inline_function): Revert 19 Jan change.
763 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
765         * tm.texi (Values in Registers): Fix typo: "fo" "for".
766         (Misc): Say the scheduler, not the Haifa scheduler.
768 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
770         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
771         when in_mem is set.  Update all callers.
773 2000-02-04  Richard Henderson  <rth@cygnus.com>
775         * i386/openbsd.h (INT_ASM_OP): Define.
777 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
779         * tm.texi: Fix various typos.
781 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
783         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
784         (MD_STARTFILE_PREFIX_1): New macro.
786 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
788         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
789         destination when needed.
790         (strmovsi, strsetsi): New expander.
791         (strmovsi_1, strsetsi_1): New pattern.
792         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
793         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
794         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
795         * invoke.texi (align-stringops, inline-all-stringops): Document.
797 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
799         * i386/netbsd.h (INT_ASM_OP): Define.
801 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
803         * cpplib.h (cpp_reader): Add new flag, no_directives.
804         * cpphash.c (macarg): Set it.
805         * cpplib.c (handle_directive): If no_directives is on and we
806         find a directive, issue an error and discard the line.
808 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
810         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
811         FP constants.  Add ! TARGET_FPU check for FP constants.
813 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
814         
815         * flow.c (find_basic_blocks): Don't kill label_value_list
816         here.
817         (cleanup_cfg): Kill it here.
819 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
821         * expr.c (store_field): Ensure ALIGN is no stricter than the
822         alignment of EXP.
824 2000-02-02  Richard Henderson  <rth@cygnus.com>
826         * jump.c (delete_insn): Partially revert 19 Jan change; 
827         don't convert unused code labels to notes at -O0.
829 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
831         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
832         split_all_insns to recreate REG_LABEL notes for flow2 pass.
834 2000-02-01  Richard Henderson  <rth@cygnus.com>
836         * i386.c (general_no_elim_operand): New.
837         (nonmemory_no_elim_operand): New.
838         (ix86_expand_move): Copy eliminable operands before a push.
839         * i386-protos.h: Declare new functions.
840         * i386.h (CAN_ELIMINATE): Simplify.
841         (PREDICATE_CODES): Update.
842         * i386.md (push insns): Don't allow eliminable register operands.
844 2000-02-01  Richard Henderson  <rth@cygnus.com>
846         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
847         replace BLKmode with DECL_RTL's mode.
849 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
851         * frame.c (find_fde): Convert for loop to do-while so compiler
852         sees it's always executed at least once.
853         * libgcc2.c (BBINBUFSIZE): Kill.
854         (__bb_init_prg): Use fgets.
855         (__bb_exit_trace_func): Don't paste strings.
856         * unroll.c (unroll_loop): Initialize unroll_type, not
857         unroll_number, and tweak logic to match.
859         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
860         all failure paths.
861         (ix86_flags_dependant): Likewise.  Disentangle control flow.
862         (ix86_sched_reorder): Break guts out to
863         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
864         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
865         any possible use.
867         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
868         use string concatenation.  Don't save and restore esi.
870         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
871         (machname.h): Remove script to separate file.  Use two-step
872         sequence so target is not created if script fails.
873         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
874         identifiers are defined.
875         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
876         an empty string, machine_name doesn't need to do anything at
877         all.
878         (is_cxx_header): Add more cases to regexp.
879         * fixinc/fixlib.h: Update prototype.
880         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
881         mn_get_regexps.
882         * fixinc/fixincl.c: Define NO_BOGOSITY.
884         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
885         (hp_sysfile): Add missing comma.
886         (math_exception): Put the wrapper ifdefs at the beginning and
887         the end of the file.
888         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
890 2000-02-01  Richard Henderson  <rth@cygnus.com>
892         * sparc.c (fp_zero_operand): Turn into a normal predicate.
893         Use CONST0_RTX.  Update all callers.
894         * sparc.h, sparc-protos.h: Update accordingly.
895         * sparc.md (fp mov insns): Use fp_zero_operand directly
896         where applicable.
898 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
900         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
901         example.
903 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
905         * Makefile.in (specs.ready): New target.
906         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
908 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
910         * fixinc.irix: Use unique filenames for writing into /tmp,
911         * fixinc.ptx: Likewise.
912         * fixinc.sco: Likewise.
913         * fixinc.svr4: Likewise.
914         * fixinc.winnt: Likewise.
916 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
918         * tsystem.h: New file.
920         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
921         s-crtS): Depend on tsystem.h.
923         * crtstuff.c: Include tsystem.h.
924         * frame.c: Likewise.
925         * libgcc2.c: Likewise.
927 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
929         * builtins.c (expand_builtin_memset): Expand for variable sized
930         lengths too.
932 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
934         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
935         on ABI.
937 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
939         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
941         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
943 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
945         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
946         case 3->2 combining (combining with splitting) in which 2 is CC0
947         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
948         checked at the begining of the function with the aid of calling 
949         function 'can_combine_p'. 
951 2000-01-31  Dave Brolley  <brolley@redhat.com>
953         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
955 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
957         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
958         new label.
960 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
962         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
963         
964         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
965         PROTO -> PARAMS.
967 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
969         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
970         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
971         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
972         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
973         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
974         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
975         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
976         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
977         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
978         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
979         
980         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
981         Add %(cpp_cpu) to CPP_SPEC.
983         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
984         Add %(cc1_cpu) to CC1_SPEC.
986 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
988         * c-decl.c (c_decode_option): Accept optional numeric argument to
989         -Wformat and set warn_format.
990         * c-common.c: Don't emit warning about non-constant printf format
991         string unless warn_format > 1.
993 2000-01-30  Richard Henderson  <rth@cygnus.com>
995         * alpha.md (return_internal): Allow after reload only.
997 2000-01-30  Richard Henderson  <rth@cygnus.com>
999         * i386.c (ix86_compute_frame_size): Omit padding1 if the
1000         local frame size is zero.
1002 2000-01-30  Richard Henderson  <rth@cygnus.com>
1004         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
1005         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
1006         * alpha.md (return): Turn into an expander.
1007         (return_internal): Don't use $26.
1008         (epilogue): Emit the return insn.
1010 2000-01-30  Richard Henderson  <rth@cygnus.com>
1012         * alpha.md (negtf2, abstf2): Fix word order thinko.
1013         (extendsftf2): New.
1014         (trunctfsf2): Avoid intermediate rounding errors.
1016 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
1018         * cppfiles.c (find_position): Drop 'colp' argument, return the
1019         new line base.
1020         (read_and_prescan): Adjust to match.  Don't ever manipulate
1021         line or line_base except via find_position.
1023 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
1025         * c-parse.in: Apply Ulrich's changes from c-parse.y.
1026         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
1027         Regenerate.
1029 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
1031         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
1032         just print "<command line>".  If 'filename' is null or an
1033         empty string, print "<stdin>" for the filename.
1034         * cpplib.c (do_define): Don't print the 'location of the
1035         previous definition' message if we're still parsing the
1036         command line.
1037         (cpp_pedwarn_with_file_and_line): Always call
1038         cpp_file_line_for_message.
1040 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
1042         * flow.c (mark_regs_live_at_end): Fix typo.
1044 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
1046         * c-common.c: Adjust variable names, comments, help strings to c99.
1047         * c-lex.c: Likewise.
1048         * c-parse.y: Likewise.
1049         * c-tree.h: Likewise.
1050         * cccp.c: Likewise.
1051         * cpplib.h: Likewise.
1052         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
1053         * cppinit.c: Likewise.
1055 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1057         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
1058         * c4x.c: Define the optab rtx values.
1059         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
1060         (c4x_emit_libcall): Use new optab rtx values.
1061         (c4x_emit_libcall3): Likewise.
1062         (c4x_emit_libcall_mulhi): Likewise.
1063         * c4x-protos.h: Add prototypes for optab rtx values and change
1064         prototypes for above c4x_emit_libcall functions.
1066 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1068         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
1069         syntax is used.
1070         (c4x_function_prologue): Use regnames intead of float_reg_names when
1071         TI syntax is used.
1072         (c4x_function_epilogue): Likewise.
1073         (c4x_print_operand): Likewise.
1074         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
1075         * c4x.md (set_high): Disable for TARGET_TI.
1077 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1079         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
1080         of framepointer + constant to ADDR_REGS class.
1081         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
1082         * c4x.c (std_or_reg_operand): New function.
1083         * c4x-protos.h (std_or_reg_operand): Prototype it.
1085 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1087         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
1088                 object names as libgcc2.c.
1089         * libgcc.S: Use newly defined names.
1091 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
1092         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
1093         function.
1094         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
1095         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
1096         (FLOW_LOOP_LAST_BLOCK): Likewise.
1098 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1100         * basic-block.h (struct loop): New fields 'first' and 'last'.
1101         * flow.c (flow_loops_find): Compute loop->first and loop->last.
1102         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
1103         and loop->last to check for NOTE_INSN_LOOP_END.
1105 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
1107         * predict.c (estimate_probability): Use the new FIRST and LAST fields
1108         of the loop descriptor rather than HEADER and LATCH. Also added
1109         missing break statements as well making some coding style modifications
1110         as suggested by Michael Hayes.
1112 2000-01-28  Richard Henderson  <rth@cygnus.com>
1114         * flow.c (find_basic_blocks): Remove do_cleanup argument.
1115         Break out that code ...
1116         (cleanup_cfg): ... here.
1117         (commit_one_edge_insertion): Detect a return instruction being
1118         emitted to an edge.  Emit a barrier following; clear fallthru.
1119         (commit_edge_insertions): Verify CFG consistency.
1120         * function.c (expand_function_start): Kill unused variable.
1121         (expand_function_end): Likewise.
1122         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
1123         to insert the epilogue.
1125         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
1126         (delete_null_pointer_checks): Likewise.
1127         * output.h: Likewise.
1128         * reg-stack.c (reg_to_stack): Likewise.
1129         * toplev.c (rest_of_compilation): Likewise.  Run
1130         thread_prologue_and_epilogue_insns after rebuilding the CFG.
1132 2000-01-28  Richard Henderson  <rth@cygnus.com>
1134         * Makefile.in (flow.o): Revert 24 Jan change.
1135         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
1136         FUNCTION_VALUE result to DECL_RESULT's mode.
1138         * haifa-sched.c (schedule_insns): Don't recompute reg info
1139         after reload.
1141 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
1143         * configure.in: Make --enable-cpplib the default.
1144         * configure: Regenerate.
1145         * gcc.dg/990119-1.c: No longer expected to fail.
1147 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
1149         * jump.c (jump_optimize_1): Delete an optimization that is also done
1150         by merge_blocks in flow.
1152 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1154         * diagnostic.c (build_message_string, output_printf,
1155         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
1156         (build_location_prefix): Fix non-literal format string.
1158 2000-01-27  Richard Henderson  <rth@cygnus.com>
1160         * alpha.md (trunctfsf2): New.
1162 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
1164         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
1166 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
1168         * cppinit.c (cpp_handle_option): Recognize C++ comments under
1169         -std=gnu89.
1170         * cpplib.c (skip_block_comment, skip_line_comment): Split code
1171         out of...
1172         (skip_comment) ... here.  Permit C++ comments in system
1173         headers always.  Warn about C++ comments in user code under
1174         -std=gnu89 -pedantic.
1175         (copy_comment): Use skip_comment.
1176         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
1177         return EOF.
1178         (consider_directive_while_skipping, do_else, do_endif): Call
1179         validate_else unconditionally.
1180         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
1181         text after the conditional in a system header.
1182         * cpplib.h (struct cpp_buffer): Add flag
1183         warned_cplusplus_comments.
1185 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
1187         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
1188         Use unshare_all_rtl_1.
1189         (unshare_all_rtl_again): New function.
1190         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
1192         * function.c (purge_addressof_1): Use unshare_all_rtl_again
1193         rather than resetting the 'used' flags ourself.
1195         * toplev.c (rest_of_compilation): Add current_function_decl
1196         to the unshare_all_rtl call.
1197         * tree.h: Prototype unshare_all_rtl.
1198         * rtl.h: Prototype unshare_all_rtl_again here.
1200 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
1202         * genoutput.c (output_prologue): Include ggc.h in generated
1203         files.
1204         * Makefile.in (insn-output.o): Depends on ggc.h.
1206 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
1207             Hans-Peter Nilsson  <hp@bitrange.com>
1209         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
1210         Remove redundant include of xm-ns32k.h.
1211         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
1212         Remove redundant include of xm-ns32k.h.
1213         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
1214         Remove redundant include of xm-ns32k.h.
1215         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
1217         * ns32k/ns32k.h: Update comment on multiply-add instructions.
1218         (TARGET_SWITCHES): Add documentation strings.
1219         (DWARF_FRAME_REGNUM): Override default definition.
1220         (REG_CLASS_CONTENTS): Add comments.
1221         (SUBSET_P): Format to reduce line length.
1222         (SMALL_REGISTER_CLASSES): Make a run time option.
1223         (GO_IF_NONINDEXED_ADDRESS): Reformat.
1224         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
1225         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
1226         (regclass_map): fix typo in comment.
1227         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
1228         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
1229         (trace, reg_or_mem_operand): Delete, unused function.
1230         (calc_address_cost): Small offsets are cheaper than large ones.
1231         (expand_block_move): Generate more efficient code when bytes is a
1232         known at compile time.
1233         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
1234         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
1235         instead of reg_or_mem_operand.
1237         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
1238         not general_operand.  Similarly use "=rm" or stricter, not "=g".
1239         For input operands, use stricter constraints than "g" if not
1240         general_operand.  Similarly use stricter predicate than
1241         "general_operand" when stricter constraints than "g" are present,
1242         except for matching constraints.
1243         (movstrsi): Use "memory_operand" for operands 0 and 1.
1244         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
1245         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
1246         not reg_or_mem_operand.
1247         (udivmoddisi4): Ditto.
1248         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
1249         Use nonimmediate_operand for operand 3, not register_operand.
1250         (udivmoddiqi4_internal): Use register_operand for operand 1, not
1251         reg_or_mem_operand.
1253 2000-01-27  Fred Fish  <fnf@be.com>
1255         * gthr-posix.h: Fix typo; compatibily -> compatibility.
1256         * gthr-single.h: Likewise.
1257         * gthr-solaris.h: Likewise.
1258         * gthr-vxworks.h: Likewise.
1259         * gthr-win32.h: Likewise.
1260         * gthr.h: Likewise.
1262 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
1264         * cppinit.c: Add " (cpplib)" to end of string printed by
1265         -v / --version.
1267 2000-01-27  Richard Henderson  <rth@cygnus.com>
1269         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
1270         testing for a signed comparison.
1271         (alpha_emit_floatuns): New.
1272         * alpha-protos.h: Declare it.
1273         * alpha.md (floatunsdisf2, floatunsdidf2): New.
1274         (extendsfdf2): Tidy.
1276 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
1278         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
1279         no -g option specifying debugging format, default to -gstabs+.
1281 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
1283         * calls.c (special_function_p): New argument fork_or_exec.
1284         (expand_call): When profile_arc_flag is set and the function
1285         is in the fork_or_exec group, call __bb_fork_func first.
1286         * libgcc2.c, _bb module (__bb_fork_func): New function.
1287         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
1288         output file.
1289         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
1290         * tree.h (special_function_p): Update prototype.
1292 2000-01-26  Richard Henderson  <rth@cygnus.com>
1294         * alpha.c (alpha_split_tfmode_pair): New.
1295         * alpha-protos.h: Declare it.
1296         * alpha.md (abstf2, negtf2): New.
1297         (movtf insn): Add input G constraint.
1298         (movtf splitter): Use alpha_split_tfmode_pair.
1300 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1302         * i386/cygwin.h: PROTO -> PARAMS.
1304 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
1306         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
1307         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
1308         using _Qp_cmp/_Q_cmp and testing the return value.
1309         (print_operand): Call reverse_condition_maybe_unordered if
1310         we are handling CCFPmode or CCFPEmode.
1311         Handle ORDERED, UN* and LTGT comparisons.
1312         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
1313         if not TARGET_HARD_QUAD.
1314         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
1315         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
1316         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
1317         Adjust gen_b* calls so that they reflect return comparison of
1318         sparc_emit_float_lib_cmp.
1320 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1322         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
1323         incoming operands array is large enough for one more operand.
1324         (alpha_emit_xfloating_arith): Likewise.
1326 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
1328         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
1329         file with one line and no trailing newline.
1330         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
1331         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
1332         checking if the match is on the line.
1333         * fixinc/gnu-regex.c: Provide regerror not __regerror.
1335 2000-01-25  Richard Henderson  <rth@cygnus.com>
1337         * sparc.c (output_cbranch): Fix accidental squashing of the
1338         fp branch pre-delay nop.
1340 2000-01-25  Richard Henderson  <rth@cygnus.com>
1342         * tree.def (UNNE_EXPR): Remove.
1343         * c-typeck.c (build_binary_op): Don't handle it.
1344         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
1346         * rtl.def (UNNE): Remove.
1347         (LTGT): Add.
1348         * jump.c (reverse_condition): Update accordingly.
1349         (swap_condition): Likewise.
1350         (comparison_dominates_p): Handle unordered comparisons.
1351         (reverse_condition_maybe_unordered): New.
1352         * rtl.h (reverse_condition_maybe_unordered): Declare.
1354         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
1355         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
1356         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
1357         * sparc.md (bltgt): New.
1359 2000-01-25  Nick Clifton  <nickc@redhat.com>
1361         * emit-rtl.c (emit_insn): Only check machine class insns for
1362         improper emission of a RETURN.
1364 2000-01-25  Richard Henderson  <rth@cygnus.com>
1366         * Makefile.in (flow.o): Depend on $(EXPR_H).
1367         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
1368         duplicate the structure of diddle_return_value for keeping regs live.
1370 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1372         * loop.c (current_loop_info): Delete.
1373         (consec_sets_invariant_p): Add loop argument, update callers.
1374         (get_condition_for_loop): Likewise.
1375         (count_nonfixed_reads, update_giv_derive): Likewise.
1376         (simplify_giv_expr, general_induction_var): Likewise.
1377         (consec_sets_giv, recombine_givs): Likewise.
1378         (move_movables): Delete loop_start and loop_end arguments,
1379         add loop argument, and update callers.
1380         (find_mem_givs, check_final_value): Likewise.
1381         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
1382         (loop_invariant_p): Rename from invariant_p, add loop argument, and
1383         update callers.
1384         (basic_induction_var): Add loop argument, delete loop_level argument,
1385         and update callers.
1386         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
1387         add loop argument, and update callers.
1388         (find_splittable_regs, find_splittable_givs): Likewise.
1389         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
1390         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
1391         (biv_total_increment): Delete loop_start and loop_end arguments;
1392         update callers.
1393         (precondition_loop_p): Delete loop_start and loop_info arguments;
1394         update callers.
1395         * loop.h (get_condition_for_loop): Add loop argument.
1396         (biv_total_increment): Delete loop_start and loop_end arguments.
1397         (precondition_loop_p): Delete loop_start and loop_info arguments;
1398         add loop argument.
1399         (final_biv_value): Delete loop_start and loop_end arguments;
1400         add loop argument.
1401         (final_giv_value, back_branch_in_range_p): Likewise.
1403 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
1405         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
1407 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
1409         * Makefile.in (c-gperf.h) : Change the "See" pointer to
1410         point to the new "generated_files" doc.
1412 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
1414         * config/fp-bit.c (_unord_f2): Fix typo.
1416 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
1418         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
1419         c-typeck.c, objc/objc-act.c: Remove all references to obstack
1420         functions obsoleted by GC, such as push_obstacks_nochange,
1421         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
1422         and code which existed only to decide whether or not to call
1423         them.  Remove now-unused NESTED argument from start_function;
1424         all callers changed.  Do not change behavior based on ggc_p.
1425         The use of the ixp_obstack in c-iterate.c and the util_obstack
1426         in objc/objc-act.c remain; these are not obsoleted by garbage
1427         collection.
1428         * c-tree.h: Update prototype for start_function.
1430         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
1432 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
1434         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
1435         mips16.
1437 2000-01-25  Richard Henderson  <rth@cygnus.com>
1439         * sparc-protos.h (select_cc_mode): Declare.
1440         * sparc.c (select_cc_mode): New.  Handle unordered compares.
1441         (output_cbranch): Always reverse via code change.  Handle
1442         unordered compares.  Factor tests and string updates.
1443         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
1444         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
1445         * sparc.md (bunordered, bordered): New.
1446         (bungt, bunlt, buneq, bunge, bunle): New.
1448 2000-01-25  Richard Henderson  <rth@cygnus.com>
1450         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
1451         * ggc-common.c (ggc_add_rtx_varray_root): New.
1452         (ggc_mark_rtx_varray): New.
1453         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
1454         functions down below ggc_mark_foo.
1455         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
1457 2000-01-25  Richard Henderson  <rth@cygnus.com>
1459         * alpha.c (secondary_reload_class): Don't allocate a secondary
1460         for integral mode memories into FLOAT_REGS.  Rearrange the more
1461         complicated memory expression inward.
1463 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
1465         * inclhack.def: Fixes to play nicer with FreeBSD, and
1466         corrections to comments.
1467         (cxx_unready): Add select expression.
1468         (irix_sockaddr): Add bypass expression.
1469         (machine_ansi_h_va_list): New fix.
1470         (stdio_va_list): No need to edit _BSD_VA_LIST_.
1471         Split out addition of "#include <stdarg.h>" to...
1472         (stdio_stdarg_h): ... here.
1473         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
1474         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
1475         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
1476         size_t.
1477         (ultrix_ifdef): Tighten up select expression.
1479         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
1480         re_ct and max_mach to avoid use of shell.  Make printed names
1481         match names in inclhack.def.  Use static copyright date.
1482         Don't count c_test and test expressions as requiring regex_t
1483         slots.  Add some commentary.
1484         * inclhack.tpl: Do not include the 'This script contains N
1485         fixup scripts' line if PROGRAM is defined.  Use static
1486         copyright date.
1488 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
1490         * dwarf2out.c: include "varray.h", not dyn-string.h.
1491         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
1492         (addr_const_to_string, addr_to_string): Lose.
1493         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
1494         (struct dw_val_struct): val_addr is now an rtx.
1495         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
1496         (used_rtx_varray): New varray.
1497         (dwarf2out_init): Initialize it.
1498         (save_rtx): New fn.
1499         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
1500         addr_to_string.
1501         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
1502         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
1503         * Makefile.in (dwarf2out.o): Update dependencies.
1505 2000-01-24  Richard Henderson  <rth@cygnus.com>
1507         * i386.c (i386_dwarf_output_addr_const): New.
1508         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
1510         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
1511         if defined.
1512         * dwarfout.c (output_mem_loc_descriptor): Likewise.
1513         * i386.c (i386_simplify_dwarf_addr): New.
1514         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
1516 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
1518         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
1519         TYPE_STUB_DECL is NULL.
1521 2000-01-24  Richard Henderson  <rth@cygnus.com>
1523         * builtins.c (expand_tree_builtin): Move ...
1524         * c-common.c (expand_tree_builtin): ... here.
1526 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1528         * loop.h (LOOP_INFO): New accessor macro.
1529         * basic-block.h (struct loop): Rename field `info' to `aux'.
1530         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
1531         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
1532         * unroll.c (loop_iterations, unroll_loop): Likewise.
1534 2000-01-24  Christopher Faylor <cgf@cygnus.com>
1536         * config/i386/t-cygwin: Accomodate new winsup directory layout
1537         when searching for include files.
1539 2000-01-24  Richard Henderson  <rth@cygnus.com>
1541         * rtl.def: Add unordered fp comparisions.
1542         * tree.def: Likewise.
1543         * tree.h: Add ISO C 9x unordered fp comparision builtins.
1545         * builtins.c (expand_tree_builtin): New function.
1546         * c-typeck.c (build_function_call): Use it.
1547         (build_binary_op): Support unordered compares.
1548         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
1550         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
1551         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
1552         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
1553         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
1554         * jump.c (reverse_condition): Don't abort for UNLE etc, but
1555         return UNKNOWN.
1556         (swap_condition): Handle unordered compares.
1557         (thread_jumps): Check can_reverse before reversing.
1558         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
1559         reversed for FP.
1561         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
1562         setcc is present before acking for cmp_optab.  Update all callers.
1563         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
1564         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
1565         * expr.c (expand_expr): Likewise.  Support unordered compares.
1566         (do_jump, do_store_flag): Likewise.
1567         * expr.h (enum libfunc_index): Add unordered compares.
1569         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
1570         (DPBIT_FUNCS): Add _unord_df.
1571         * config/fp-bit.c (_unord_f2): New.
1572         * fp-test.c (main): Try unordered compare builtins.
1574         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
1575         * alpha.c (alpha_comparison_operator): Check mode properly.
1576         (alpha_swapped_comparison_operator): Likewise.
1577         (signed_comparison_operator): Likewise.
1578         (alpha_fp_comparison_operator): New.
1579         (alpha_emit_conditional_branch): Handle unordered compares.
1580         * alpha.h (PREDICATE_CODES): Update.
1581         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
1582         (bunordered, bordered): New.
1584 2000-01-24  Richard Henderson  <rth@cygnus.com>
1586         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
1587         * alpha.md (movtf): New expander, insn, and splitter.
1589 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
1591         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1592         dead registers.
1594 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
1596         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
1597         (FIXED_REGISTERS, CALL_USED_REGISTERS,
1598          REG_ALLOC_ORDER): Add frame pointer
1599         (FRAME_POINTER_REGNUM): Set to 20
1600         (HARD_FRAME_POINTER_REGNUM): New macro.
1601         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
1602         to HARD_FRAME_POINTER.
1603         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
1604         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1605         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
1606         (HI_REGISTER_NAMES): Add "frame".
1607         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
1608         (debug_reg): Handle FRAME_POINTER_REGNUM.
1609         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
1610         GENERAL_REGS and INDEX_REGS.
1611         * i386.c (SAVED_REGS_FIRST): new macro.
1612         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
1613         (ix86_decompose_address, memory_address_length): Likewise.
1614         (regclass_map): Add frame pointer.
1615         (call_insn_operand): Handle frame_pointer_rtx.
1616         (reg_no_sp_operand): Likewise.
1617         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
1618         (print_operand, legitimize_pic_address): Fix formating.
1619         (ix86_compute_frame_size): Make static, update prototype, new
1620         parameters padding1, padding2, use ix86_nsaved_regs, use
1621         stack_alignment_needed.
1622         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
1623         to HARD_FRAME_POINTER_REGNUM conversions.
1624         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
1625         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
1626         (print_reg): Abort on FRAME_POINTER_REGNUM
1628 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
1630         * i386.h (PREDICATE_CODES): Add aligned_operand.
1631         * i386.c (aligned_operand): New function.
1632         (ix86_aligned_p): Kill.
1633         * i386.md (movhi_1): Emit mov for aligned operands.
1634         (promoting peep2s): Use aligned_operand.
1636 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
1638         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
1639         expression to allow underscores in macro names.
1640         (fix_char_macro_defines): Increment scanning pointer.
1642 2000-01-23  Richard Henderson  <rth@cygnus.com>
1644         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
1645         * alpha/osf5.h: New file.
1646         * configure.in (alpha-*-osf5): Add it to tm_file.
1648         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
1650         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
1651         (alpha_emit_xfloating_cvt, function_arg): Declare.
1652         * alpha.c (alpha_emit_conditional_branch): Call
1653         alpha_emit_xfloating_compare for TFmode compares.
1654         (alpha_lookup_xfloating_lib_func): New.
1655         (alpha_compute_xfloating_mode_arg): New.
1656         (alpha_emit_xfloating_libcall): New.
1657         (alpha_emit_xfloating_arith): New.
1658         (alpha_emit_xfloating_compare): New.
1659         (alpha_emit_xfloating_cvt): New.
1660         (print_operand): Add default abort case.
1661         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
1662         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
1663         (BIGGEST_ALIGNMENT): Increase to 128 bits.
1664         (RETURN_IN_MEMORY): True for TF/TCmode.
1665         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
1666         (FUNCTION_ARG): Move to function_arg.
1667         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
1668         (ASM_OUTPUT_LONG_DOUBLE): New.
1669         (ASM_OUTPUT_DOUBLE): Always output bits.
1670         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
1671         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
1672         (extenddftf2, trunctfdf2): New.
1674 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1676         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
1677         * config/sparc/sol2.h: ... here.
1679 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1681         * basic-block.h (struct loops): New field `levels'.
1682         * flow.c (flow_loops_level_compute): Traverse all outer loops.
1683         (flow_loop_level_compute): Initialise level to 1.
1684         (flow_loops_find): Set loops->levels.
1685         (flow_loops_dump): Print loops->levels.
1687 2000-01-23  Richard Henderson  <rth@cygnus.com>
1689         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
1690         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
1692 2000-01-23  Richard Henderson  <rth@cygnus.com>
1694         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
1695         * i386.h (DBX_REGISTER_NUMBER): Use them.
1696         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
1697         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
1698         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
1699         * i386/sequent.h: Kill incorrect comment.
1701 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
1703         * ggc-page.c (struct page_entry): Make `context_depth' an
1704         `unsigned short'.
1705         (struct globals): Likewise.
1707 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
1709         * loop.c (check_dbra_loop): When checking a loop for
1710         reversability, check the source of any stores to ensure
1711         they don't depend on an initial value.
1713 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1715         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
1717 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
1719         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
1720         'pz_scan' into scope of entire function.  Only affects
1721         compiles with -DDEBUG.
1723 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
1725         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
1726         section naming to that prior to 2000-01-07 patch.
1727         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
1728         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
1729         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
1730         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
1731         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
1733 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
1735         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
1736         constant.
1738 2000-01-21  Jim Wilson  <wilson@cygnus.com>
1740         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
1741         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
1743 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
1745         * cpphash.c (change_newlines): Delete function.
1746         (struct argdata): Delete 'newlines' and 'use_count' fields.
1747         (macroexpand): Remove code referencing those fields.
1749 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1751         * loop.c (loops_info): New variable.
1752         (loop_optimize): Allocate loops->array and free it on exit.
1753         Allocate memory for loops_info and assign to each loop,
1754         replacing alloca.
1755         (find_and_verify_loops): Do not allocate loops->array.
1757 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
1759         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
1761 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
1763         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
1764         pseudos if expanded after first flow.
1765         (movdi_pic_label_ref): Likewise.
1767 2000-01-20  Richard Henderson  <rth@cygnus.com>
1769         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
1771 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
1773         * Makefile.in (fixinc.sh): Depend on specs.
1774         * fixinc/Makefile.in: Add rule to create machname.h.
1775         (fixlib.o): Depend on machname.h.
1776         * fixinc/fixtests.c (machine_name): New test.
1777         * fixinc/fixfixes.c (machine_name): New fix.
1778         * fixinc/fixlib.c (mn_get_regexps): New helper function for
1779         the machine_name test and fix.
1780         * fixinc/fixlib.h: Prototype it.
1781         * fixinc/inclhack.def (machine_name): Use the C test and fix.
1782         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
1784         * gcc.c (do_spec_1) [case P]: Take care not to create
1785         identifiers with three leading or trailing underscores.
1787         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
1788         (fixincl): Don't specify libraries twice on link line.
1789         (gnu-regex.o): Remove special rule.
1790         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
1791         defined by config.h.  Do not define _REGEX_RE_COMP.
1792         (regcomp): Allocate and initialize a fastmap.
1793         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
1795 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
1797         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
1799 2000-01-19  Richard Henderson  <rth@cygnus.com>
1801         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
1802         arguments with BB.  Update all callers.  Tidy line wrapping.
1804 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
1806         * emit-rtl.c (try_split): Return last_insn if we split the
1807         last_insn.
1809 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
1811         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
1812         (ix86_initial_elimination_offset): Declare.
1813         * i386.c (ix86_nsaved_regs): Break out from ...
1814         (ix86_can_use_return_insn_p): ... here.
1815         (ix86_emit_save_regs): Break out from ...
1816         (ix86_expand_prologue): ... here.
1817         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
1818         out from ...
1819         (ix86_expand_epilogue): ... here.
1820         (ix86_compute_frame_size): Make static, add prototype.
1821         (ix86_initial_elimination_offset): Break out from ...
1822         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
1824 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1826         * recog.h (OUT_FCN): Delete.
1828         * vax.md: Call `get_insn_template' instead of OUT_FCN.
1830 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1832         * cppalloc.c: PROTO -> PARAMS.
1833         * cpperror.c: Likewise.
1834         * cppfiles.c: Likewise.
1835         * cpplib.c: Likewise.
1836         * cpplib.h: Likewise.
1838         * config/arm/arm-protos.h: PROTO -> PARAMS.
1839         * config/arm/arm.c: Likewise.
1840         * config/c4x/c4x.c: Likewise.
1841         * config/fr30/fr30-protos.h: Likewise.
1842         * config/nextstep.c: Likewise.
1843         * config/pa/pa.c: Likewise.
1844         * config/pj/pj.c: Likewise.
1845         * config/rs6000/rs6000.c: Likewise.
1846         * config/v850/v850-protos.h: Likewise.
1847         * config/v850/v850.c: Likewise.
1849 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1851         * i370-protos.h: New file.
1853         * i370.c: Include tm_p.h.  Fix compile time warnings.
1855         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
1856         warnings.
1858         * i370.md: Likewise.
1860 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1862         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
1863         (target_isinf, target_isnan, eisnan): Mark parameter with
1864         ATTRIBUTE_UNUSED.
1865         (eiisinf): Wrap in INFINITY.
1866         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
1867         (ibmtoe): Remove unused variable `rndsav'.
1869 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1871         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
1872         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
1874 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
1876         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
1877         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
1878         (fix_char_macro_defines, fix_char_macro_uses): New functions.
1880         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
1881         Recognize Emacs mode markers also.
1882         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
1883         C++ comments in C++ headers.  Call is_cxx_header only if
1884         necessary.
1886         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
1887         bypass for ncurses.
1888         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
1889         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
1890         ... these, which use the new C fixes.
1891         (math_exception): Escape literal '+' in bypass expression.
1893         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
1894         Regenerate.
1896 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
1898         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
1899         inside the MEM.
1901 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1903         * loop.c (loop_optimize): Allocate loop_info structure for each loop
1904         prior to calling scan_loop.
1906 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1908         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
1909         (split_branches, calc_live_regs): Likewise.
1911 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1913         * sh.md (fpu_single, fp_mode): New attributes.
1915 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1917         * loop.c (current_loop_info): Renamed from loop_info_data
1918         and changed to a pointer.
1919         (loop_optimize): Allocate loop_info structure for each loop
1920         and initialise to zero.
1921         (scan_loop): Set current_loop_info.
1923         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
1924         on iteration_var.
1926 2000-01-19  Richard Henderson  <rth@cygnus.com>
1928         * stupid.c: Die die die.
1929         * Makefile.in (OBJS): Remove stupid.o.
1930         (stupid.o): Likewise.
1932         * except.c (emit_eh_context): Don't emit USEs for stupid.
1933         * explow.c (probe_stack_range): Likewise.
1934         * flags.h (obey_regdecls): Remove.
1935         * flow.c (find_basic_blocks): Don't run try_merge_blocks
1936         when not optimizing.
1937         (life_analysis): Limit data collection when not optimizing.
1938         (mark_regs_live_at_end): Always mark the return value registers.
1939         (mark_used_regs): Remove dummy RETURN case.
1940         (print_rtl_with_bb): Don't consult obey_regdecls.
1941         * function.c (use_variable, use_variable_after): Remove.
1942         (assign_parms): Consult optimize not obey_regdecls.
1943         (expand_function_start): Don't emit USEs for stupid.
1944         (expand_function_end): Likewise.
1945         * global.c (build_insn_chain): Export.
1946         * integrate.c (expand_inline_function): Kill return-value USE
1947         handling code.
1948         * jump.c (jump_optimize_1): Do simple jump optimizations and
1949         dead code elimination.
1950         (calculate_can_reach_end): Remove check_deleted argument.
1951         (delete_insn): Patch out insns even when not optimizing.
1952         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
1953         * rtl.h (use_variable, use_variable_after): Remove declarations.
1954         (build_insn_chain): Declare.
1955         * stmt.c (expand_value_return): Don't emit USEs for stupid.
1956         (expand_end_bindings): Likewise.
1957         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
1958         * toplev.c (obey_regdecls): Remove.
1959         (rest_of_compilation): Don't set it.  Kill stupid in favour of
1960         flow1, local-alloc, and reload.
1961         (main): Don't set obey_regdecls.
1963         * config/nextstep.c (handle_pragma): Likewise.
1965         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
1967         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
1969 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1971         * alpha-protos.h: PROTO -> PARAMS.
1972         * alpha.c: Likewise.
1973         * elf.h: Likewise.
1974         * h8300.c: Likewise.
1975         * i386-protos.h: Likewise.
1976         * i386.c: Likewise.
1977         * m32r-protos.h: Likewise.
1978         * m32r.c: Likewise.
1979         * mips.c: Likewise.
1980         * mips.md: Likewise.
1981         * gmon-sol2.c: Likewise.
1982         * sparc.c: Likewise.
1984 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1986         * ns32k-protos.h: New file.
1988         * ns32k.c: Fix compile time warnings.
1990         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
1991         warnings.
1993         * ns32k.md: Likewise.
1995 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1997         * vax-protos.h: New file.
1999         * vax.c: Fix compile time warnings.
2001         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
2002         warnings.
2004         * vax.md: Likewise.
2006         * vaxv.md: Likewise.
2008 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2010         * romp-protos.h: New file.
2012         * romp.c: Fix compile time warnings.
2014         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
2015         warnings.
2017         * romp.md: Likewise.
2019 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2021         * we32k-protos.h: New file.
2023         * we32k.c: Fix compile time warnings.
2025         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
2026         warnings.
2028 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2030         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
2032         * except.c (eh_regs): Likewise.
2034         * final.c (output_operand): Likewise.
2036         * fold-const.c (target_isinf, target_isnan): Likewise.
2038 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
2040         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
2041         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
2043         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
2044         when optimize_size.
2045         (clrstrsi): Rewrite.
2046         (strsethi, strsetqi): New expanders.
2047         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
2048         (cmpstrsi): Emit compare insn before cmpstrsi_1
2049         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
2050         (strlensi_1): Likewise.
2051         (cmpstrsi_1): Likewise; do not output compare.
2052         (strlen expander): Do not unroll when optimizing for size.
2053         (*subsi3_carry): Rename to subsi3_carry
2054         (addqi3_cc): New pattern.
2055         * i386.h (processor_costs): Add move_ratio field.
2056         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
2057         * i386.c (*_cost): Set move_ratio.
2058         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
2059         (x86_expand_strlensi_1): Rewrite the main loop.
2061 2000-01-17  Richard Henderson  <rth@cygnus.com>
2063         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
2064         * cse.c (find_comparison_args, fold_rtx): Likewise.
2065         * integrate.c (subst_constants): Likewise.
2066         * loop.c (get_condition): Likewise.
2068         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
2070         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
2072 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2074         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
2075         (RESTORE_WARN_FLAGS): Unpack it.
2076         Change semantic type of extension to ttype.
2077         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
2078         * c-parse.y, c-parse.c, objc/objc-parse.y,
2079         objc/objc-parse.c: Regenerate.
2081 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
2083         * fixinc/fixlib.c: Add copyright notice.
2084         (compile_re): New function.
2085         * fixinc/fixlib.h: Prototype compile_re.
2087         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
2088         Use compile_re to compile regular expressions.
2090         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
2091         where the pattern matched.
2093         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
2094         use 'replace'.
2095         (ultrix_ansi_compat): Likewise.
2096         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
2097         add egrep test.
2098         (interactv_add2, interactv_add3): Delete.
2099         (x11_sprintf): Don't use filename glob.
2100         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
2101         Regenerate.
2103 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2105         * print-rtl.c: PROTO -> PARAMS.
2106         * real.c: Likewise.
2107         * reg-stack.c: Likewise.
2108         * resource.c: Likewise.
2109         * sdbout.h: Likewise.
2110         * simplify-rtx.c: Likewise.
2111         * stor-layout.c: Likewise.
2112         * stupid.c: Likewise.
2113         * xcoffout.c: Likewise.
2114         * xcoffout.h: Likewise.
2116 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2118         * toplev.c: PROTO -> PARAMS.
2119         * toplev.h: Likewise.
2120         * tree.c: Likewise.
2121         * tree.h: Likewise.
2122         * unroll.c: Likewise.
2123         * varasm.c: Likewise.
2124         * varray.c: Likewise.
2125         * varray.h: Likewise.
2127 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2129         * reload.c: PROTO -> PARAMS.
2130         * reload.h: Likewise.
2131         * reload1.c: Likewise.
2132         * reorg.c: Likewise.
2133         * resource.h: Likewise.
2134         * rtl.c: Likewise.
2135         * rtl.h: Likewise.
2136         * rtlanal.c: Likewise.
2137         * sbitmap.h: Likewise.
2138         * sdbout.c: Likewise.
2139         * stack.h: Likewise.
2140         * stmt.c: Likewise.
2141         * system.h: Likewise.
2143 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2145         * machmode.h: PROTO -> PARAMS.
2146         * mbchar.h: Likewise.
2147         * mips-tdump.c: Likewise.
2148         * mips-tfile.c: Likewise.
2149         * optabs.c: Likewise.
2150         * output.h: Likewise.
2151         * prefix.c: Likewise.
2152         * profile.c: Likewise.
2153         * protoize.c: Likewise.
2154         * real.h: Likewise.
2155         * recog.c: Likewise.
2156         * recog.h: Likewise.
2157         * regclass.c: Likewise.
2158         * regmove.c: Likewise.
2159         * regs.h: Likewise.
2161 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2163         * ggc-common.c: PROTO -> PARAMS.
2164         * ggc-page.c: Likewise.
2165         * ggc-simple.c: Likewise.
2166         * ggc.h: Likewise.
2167         * global.c: Likewise.
2168         * graph.c: Likewise.
2169         * gthr-win32.h: Likewise.
2170         * haifa-sched.c: Likewise.
2171         * halfpic.h: Likewise.
2172         * integrate.c: Likewise.
2173         * integrate.h: Likewise.
2174         * jump.c: Likewise.
2175         * lcm.c: Likewise.
2176         * local-alloc.c: Likewise.
2177         * loop.c: Likewise.
2178         * loop.h: Likewise.
2180 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2182         * genattr.c: PROTO -> PARAMS.
2183         * genattrtab.c: Likewise.
2184         * gencheck.c: Likewise.
2185         * gencodes.c: Likewise.
2186         * genconfig.c: Likewise.
2187         * genemit.c: Likewise.
2188         * genextract.c: Likewise.
2189         * genflags.c: Likewise.
2190         * gengenrtl.c: Likewise.
2191         * genopinit.c: Likewise.
2192         * genoutput.c: Likewise.
2193         * genpeep.c: Likewise.
2194         * genrecog.c: Likewise.
2196 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
2198         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
2200 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2202         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
2203         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
2204         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
2205         * configure, config.in: Rebuilt.
2207 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
2209         * config/i386/i386.md: Add peephole to merge successive stack
2210         adjusts.
2212 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
2214         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
2215         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
2216         when walking backwards to find all the parameter loads when
2217         the basic block ends in a call.
2219 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2221         * loop.c (this_loop_info): Delete.
2222         (uid_loop): Add in place of uid_loop_num.  All uses updated.
2223         (loop_number_exit_count): Delete and replace with entry in loop
2224         structure.  All uses updated.
2225         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
2226         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
2227         (loop_outer_loop): Likewise.
2228         (loop_invalid, loop_number_exit_labels): Likewise.
2229         (loop_used_count_register): Delete and replace with entry in
2230         loop_info structure.
2231         (find_and_verify_loops): Add loops argument.
2232         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
2233         loop_end, etc. arguments with loop structure pointer.  All callers
2234         changed.
2235         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
2236         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
2237         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
2238         (insert_bct): Likewise.
2239         (basic_induction_var): New argument level.
2240         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
2241         vtop, and cont.  Add used_count_register.
2242         (uid_loop): Delete declaration.
2243         (loop_number_exit_count): Likewise.
2244         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
2245         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
2246         (loop_outer_loop, loop_used_count_register): Likewise.
2247         (loop_invalid, loop_number_exit_labels): Likewise.
2248         (unroll_loop): Replace loop_start and loop_end arguments
2249         with loop structure pointer.
2250         (loop_precondition_p, loop_iterations): Likewise.
2251         Include basic-block.h.
2252         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
2253         with loop structure pointer.
2254         (loop_precondition_p, loop_iterations): Likewise.
2255         * basic-block.h (struct loop): New entries vtop, cont,
2256         cont_dominator, start, end, top, scan_start, exit_labels,
2257         exit_count.
2258         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
2260 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2262         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
2264 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
2266         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
2268 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2270         * pdp11-protos.h: New file.
2272         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
2273         time warnings.
2275         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
2276         warnings.
2278         * pdp11.md: Likewise.
2280         * 2bsd.h: Likewise.
2282 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2284         * mn10300-protos.h: New file.
2286         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
2287         time warnings.
2289         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
2290         warnings.
2292         * mn10300.md: Likewise.
2294 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2296         * mn10200-protos.h: New file.
2298         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
2299         time warnings.
2301         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
2302         warnings.
2304         * mn10200.md: Likewise.
2306 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2308         * h8300-protos.h: New file.
2310         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
2311         time warnings.
2313         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
2314         warnings.
2316         * h8300.md: Likewise.
2318 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2320         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
2321         (asm_emit_uninitialised): Likewise.
2323 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
2325         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
2326         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
2328 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
2330         * config/mips/mips.c (override_options): Don't turn on extra
2331         alignment for mips16.
2333 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
2335         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
2336         eabi, and make sure queued POSTINCREMENT rtl is emitted at
2337         the right point.
2339 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
2341         * builtins.c (PAD_VARARGS_DOWN): Define.
2342         (std_expand_builtin_va_arg): Use the above macro.
2343         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
2344         * tm.texi (Register Arguments): Document the above macro.
2346 2000-01-14  Nick Clifton  <nickc@cygnus.com>
2348         * emit-rtl.c (emit_insn): If checking is enabled, make sure
2349         that this function has not been used to emit a jump
2350         instruction.
2352         * jump.c (return_jump_1): Cope with being passed a null rtx.
2354 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2356         * eh-common.h: PROTO -> PARAMS.
2357         * emit-rtl.c: Likewise.
2358         * errors.c: Likewise.
2359         * errors.h: Likewise.
2360         * except.c: Likewise.
2361         * except.h: Likewise.
2362         * explow.c: Likewise.
2363         * expmed.c: Likewise.
2364         * expr.c: Likewise.
2365         * expr.h: Likewise.
2366         * final.c: Likewise.
2367         * fix-header.c: Likewise.
2368         * flow.c: Likewise.
2369         * fold-const.c: Likewise.
2370         * function.c: Likewise.
2371         * function.h: Likewise.
2372         * gcc.c: Likewise.
2373         * gcov-io.h: Likewise.
2374         * gcov.c: Likewise.
2375         * gcse.c: Likewise.
2377 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2379         * sh-protos.h: New file.
2381         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
2382         Add static prototypes.  Fix compile time warnings.
2384         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
2385         * sh.md: Likewise.
2386         * elf.h: Likewise.
2388 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2390         * arc-protos.h: New file.
2392         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
2393         time warnings.
2395         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
2396         warnings.
2398         * arc.md: Likewise.
2400 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2402         * dsp16xx-protos.h: New file.
2404         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
2405         time warnings.
2407         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
2408         warnings.
2410         * dsp16xx.md: Likewise.
2412 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2414         * convex-protos.h: New file.
2416         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
2417         time warnings.
2419         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
2420         warnings.
2422 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2424         * elxsi-protos.h: New file.
2426         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
2427         time warnings.
2429         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
2430         warnings.
2432         * elxsi.md: Likewise.
2434 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
2436         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
2437         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
2438         match the comment for MIPS16.
2440 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
2442         * flow.c (split_edge): Do not call set_block_for_insn if we
2443         do not have a basic_block_for_insn structure.
2445         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
2446         and destination functions are 32bit aligned within the trampoline.
2447         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
2448         (TRAMPOLINE_ALIGNMENT): Define.
2450         * cse.c (cse_insn): When changing (set (pc) (reg)) to
2451         (set (pc) (label_ref)), verify the change creates a valid insn.
2453         * fr30.c (call_operand): Tighten and rework to match rules for
2454         call RTL expressions.
2455         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
2456         * fr30.md (call patterns): Improve constraints.
2458 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
2460         * fr30.c (fr30_expand_epilogue): Revert last change.
2461         Use emit_jump_insn for the return insn.
2463 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
2464                           Stan Cox  <scox@cygnus.com>
2466         * predict.c: New file. Preliminary infrastructure work for static
2467         branch prediction and basic block reordering.
2468         * basic-block.h: Add prototype for estimate_probability.
2469         * Makefile.in: Add rules for predict.o.
2471 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
2473         * fixincludes (va_list): Use __not_va_list__ for the dummy.
2474         * fixinc/*: Likewise.
2476 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2478         * cccp.c: PROTO -> PARAMS.
2479         * cexp.y: Likewise.
2480         * collect2.c: Likewise.
2481         * combine.c: Likewise.
2482         * convert.h: Likewise.
2483         * cse.c: Likewise.
2484         * dbxout.c: Likewise.
2485         * dbxout.h: Likewise.
2486         * diagnostic.c: Likewise.
2487         * doprint.c: Likewise.
2488         * dwarf2out.c: Likewise.
2489         * dwarf2out.h: Likewise.
2490         * dwarfout.c: Likewise.
2491         * dwarfout.h: Likewise.
2492         * dyn-string.h: Likewise.
2494 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2496         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
2497         macro conditionals guarding use.
2499         * dwarf2out.c: Include "tm_p.h".
2501         * function.c (locate_and_pad_parm): Mark parameter with
2502         ATTRIBUTE_UNUSED.
2503         (expand_function_end): Likewise for variable `context'.
2505         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
2507 2000-01-13  Nick Clifton  <nickc@cygnus.com>
2509         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
2510         register to prevent compile time warnings.
2512 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
2514         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
2515         to avoid -Wtraditional warning.
2517 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2519         * 1750a-protos.h: New file.
2521         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
2522         time warnings.
2524         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
2525         warnings.
2527         * 1750a.md: Likewise.
2529 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2531         * a29k-protos.h: New file.
2533         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
2534         time warnings.
2536         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
2537         warnings.
2539 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2541         * clipper-protos.h: New file.
2543         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
2544         time warnings.
2546         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
2547         warnings.
2549 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2551         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
2553 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
2555         * configure.in (--enable-new-gxx-abi): New option.
2556         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
2557         * Makefile.in (GXX_ABI_FLAG): New variable.
2558         * configure: Regenerate.
2560 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2562         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
2563         * tm.texi (FORCE_STRUCT_BLK): Document.
2564         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
2566 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
2568         * config/ns32k/ns32k.md: Revert Jan 9 change.
2570         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
2571         to a mode-test, if the predicate is address_operand.
2573 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
2575         * combine.c (if_then_else_cond): Be careful about what kinds
2576         of RTL expressions are passed to operand_subword.
2578         * flow.c (split_edge): If we have to insert a new jump, make
2579         sure to associate it with a basic block.
2581         * flow.c (commit_one_edge_insertion): A block with one successor
2582         can end in a JUMP_INSN that is not a simplejump.
2584 2000-01-12  Robert Lipe  <robertl@sco.com>
2586         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
2587         (BUILD_VA_LIST_TYPE): Define.
2588         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
2589         with crtstuff.c.
2591 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
2593         * cccp.c (do_pragma): Add cast to (char *).
2595 2000-01-12  Richard Henderson  <rth@cygnus.com>
2596             Fred Fish  <fnf@be.com>
2597             Jason Merrill  <jason@cygnus.com>
2599         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
2600         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
2601         * i386/beos-elf.h, i386/beos-pe.h: New files.
2603         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
2604         * cross-make (SYSTEM_HEADER_DIR): Define using
2605         CROSS_SYSTEM_HEADER_DIR.
2607         * gcc.c (LIBRARY_PATH_ENV): Provide default.
2608         (process_command): Use it.
2609         (main): Likewise.  Kill trailing = from env vars.
2610         (build_search_list): Put it back.
2611         * collect2.c (main): Use LIBRARY_PATH_ENV.
2613         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
2614         * toplev.c: Use NEED_DECLARATION_ENVIRON.
2616         * tm.texi (Frame Layout): Document SMALL_STACK.
2617         * c-common.c (c_common_nodes_and_builtins): Check it.
2619         * system.h: Undef alloca after including glibc's <stdlib.h>,
2620         if USE_C_ALLOCA is defined.
2622         * gcc.c (set_input): New fn.
2623         (main): After all input files are compiled, reset the input file
2624         info to the first.
2626         * aclocal.m4 (rindex, index): If already defined, don't attempt
2627         to redefine.
2629         * ginclude/varargs.h: (__va_list__): Define ifndef.
2630         * ginclude/stdarg.h: Likewise.
2632         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
2633         instead of unsigned char.
2635         * hash.h (true, false, boolean): Undef before enum.
2637         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
2638         proper type of "HOST_WIDE_INT *", rather than their natural type of
2639         "unsigned HOST_WIDE_INT *".
2641 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2643         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
2645         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
2647         * regclass.c (choose_hard_reg_mode): Likewise.
2649         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
2651         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
2653 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2655         * c-common.c: PROTO -> PARAMS.
2656         * c-common.h: Likewise.
2657         * c-decl.c: Likewise.
2658         * c-iterate.c: Likewise.
2659         * c-lang.c: Likewise.
2660         * c-lex.c: Likewise.
2661         * c-lex.h: Likewise.
2662         * c-parse.in: Likewise.
2663         * c-pragma.c: Likewise.
2664         * c-pragma.h: Likewise.
2665         * c-tree.h: Likewise.
2666         * c-typeck.c: Likewise.
2667         * objc/objc-act.c: Likewise.
2668         * objc/objc-act.h: Likewise.
2670 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2672         * m88k-protos.h: New file.
2674         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
2675         time warnings.
2677         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
2679         * m88k.md: Likewise.
2681         * tekXD88.h: Likewise.
2683 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2685         * m68k-protos.h: New file.
2687         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
2688         time warnings.
2690         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
2692         * mot3300.h: Likewise.
2694 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
2696         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
2697         extract_bitlst.
2698         (extract_bitlist): Declare bitlen.
2700 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
2702         * cccp.c: Accept and ignore -lang-fortran.
2704         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
2705         qualifiers don't match at any level of pointerness.
2707 2000-01-12  Robert Lipe  <robertl@sco.com>
2709         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
2711 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
2713         * reload1.c (reload_reg_unavailable): New static variable.
2714         (reload_reg_free_p): Test it.
2715         (reload_reg_free_for_value_p): Test it instead of
2716         reload_reg_used.
2717         (choose_reload_regs_init): Compute it.
2719 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
2721         * reorg.c (fill_slots_from_thread): Check modified_in_p
2722         before replacing.
2724 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
2726         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
2727         these nodes even if INTERNALS is not set.
2729 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
2731         * gcse.c (delete_null_pointer_checks_1): Cope when
2732         get_condition cannot determine the condition.
2734 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
2736         * toplev.h (set_message_length): Declare.
2738         * diagnostic.c (obstack_chunk_alloc): Define macro.
2739         (obstack_chunk_free): Likewise.
2740         (struct output_buffer): New data structure.
2741         (vmessage): Remove.
2742         (output_maximum_width): New variable.
2743         (doing_line_wrapping, set_message_length, init_output_buffer,
2744         get_output_prefix, output_space_left, emit_output_prefix,
2745         output_newline, output_append, output_puts, dump_output,
2746         vbuild_message_string, build_message_string, build_location_prefix,
2747         voutput_notice, output_printf, line_wrapper_printf,
2748         vline_wrapper_message_with_location):  New functions. Implement
2749         automatic line wrapping.
2750         (v_message_with_decl): Make it handle automatic line wrapping.
2751         (v_error_with_file_and_line): Likewise.
2752         (v_warning_with_file_and_line): Likewise.
2753         (announce_function): Likewise.
2754         (default_print_error_function): Likewise.
2756 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
2758         * cpplib.h (struct cpp_options): Change lang_asm to char.
2759         Add lang_fortran.
2760         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
2761         done in cpp_handle_option now.
2762         (initialize_builtins): Take out special case code used only by
2763         __STDC_VERSION__.
2764         (cpp_handle_option): Turn off trigraphs and trigraph warnings
2765         if -traditional.  Recognize -lang-fortran and set
2766         lang_fortran, also turn off cplusplus_comments.
2767         (print_help): Document -lang-fortran.
2768         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
2769         lang_asm. Ignore all directives other than `# 123 "file"' if
2770         CPP_PREPROCESSED.
2771         (cpp_get_token): If -traditional, don't recognize directives
2772         unless the # is in column 1.
2773         (parse_string): If lang_fortran or lang_asm, silently
2774         terminate strings ('' or "") at end of line.
2775         Remove unnecessary braces.
2777 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2778             Richard Henderson  <rth@cygnus.com>
2780         * resource.c (mark_referenced_resources): Mark a set strict_low_part
2781         as used.
2782         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
2783         strict_low_part when possible.
2785 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2787         * alias.c: PROTO -> PARAMS.
2788         * basic-block.h: Likewise.
2789         * bitmap.c: Likewise.
2790         * bitmap.h: Likewise.
2791         * builtins.c: Likewise.
2792         * c-aux-info.c: Likewise.
2793         * caller-save.c: Likewise.
2794         * calls.c: Likewise.
2796 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2798         * Makefile.in (toplev.o): Depend on regs.h.
2800         * output.h (tdesc_section): Prototype.
2802         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
2804         * sdbout.c: Include "tm_p.h".
2806         * toplev.c: Include "regs.h".
2808 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
2810         * unroll.c (unroll_loop): Add EH support.
2812 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2814         * pa-protos.h: New file.
2816         * pa.c: Include recog.h and tm_p.h.
2817         (compute_zdepwi_operands, compute_movstrsi_length,
2818         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
2819         find_addr_reg, import_milli): Add static prototypes.
2820         (pa_cpu_string, pa_arch_string): Constify a char*.
2821         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
2822         (read_only_operand): Add argument `mode'.
2823         (singlemove_string, output_move_double, output_fp_move_double,
2824         output_block_move, output_and, output_ior, output_ascii,
2825         remove_useless_addtr_insns, milli_names, output_mul_insn,
2826         output_div_insn, output_mod_insn, output_arg_descriptor,
2827         output_cbranch, output_bb, output_bvb, output_dbra, ,
2828         output_millicode_call, output_call, hppa_encode_label,
2829         output_parallel_movb, output_parallel_addb): Constify a char*.
2830         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
2831         (output_parallel_addb): Remove extra arg to `constrain_operands'
2833         * pa.h:  Move all prototypes to pa-protos.h.
2834         (pa_cpu_string, pa_arch_string): Constify a char*.
2835         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
2837         * pa.md: Call `function_label_operand' with mode argument.
2838         Likewise for `read_only_operand'.
2839         Fix nesting of parens in call to `symbolic_operand'.
2841 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2843         * i860-protos.h: New file.
2845         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
2846         time warnings.
2848         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
2850         * i860.md: Likewise.
2852 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
2854         * i386.md (movstrsi expander): Rewrite.
2855         (movstrsi_1 insn): Deleted.
2856         (strmovhi, strmovqi expander): New expanders.
2857         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
2858         * i386.c (x86_single_stringop): New global variable.
2859         * i386.h (x86_single_stringop): Declare.
2860         (TARGET_SINGLE_STRINGOP): New macro.
2862 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
2864         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
2865         integer vararg POSTINCREMENT before the destination of the jump
2866         for the hard fp case.
2867         (function_arg_pass_by_reference): Pass a copy of CUM to
2868         FUNCTION_ARG.
2870         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
2871         for CONSTANT_ADDRESS_P above while loop for subreg.
2873 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
2875         * flow.c (propagate_block): When a prologue/epilogue insn
2876         is marked dead, unconditionally clear libcall_is_dead and
2877         insn_is_dead, and only dump rtl if warnings aren't being
2878         suppressed.
2880 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
2882         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
2883         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
2884         (FIXED_REGISTERS): Set dirflag as fixed.
2885         (CALL_USED_REGISTERS): Set dirflag as used.
2886         (REG_ALLOC_ORDER): Set dirflag as last one.
2887         (DIRFLAG_REG): New macro.
2888         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
2889         (HI_REGISTER_NAMES): Add dirflag.
2890         (DEBUF_PRINT_REG): Handle dirflag.
2891         * i386.md (type attribute): New cld and str types.
2892         (length_opcode attribute): Set cld and str to 1.
2893         (memory attribute): Set str to unknown - it is not clear from the
2894         patterns.
2895         (pent_np function unit): Prefixed string operations takes 12 cycles
2896         minimally; cld takes 2 cycles.
2897         (ppro_uops attribute): Str is "many" and cld is "few".
2898         (ppro_p0 unit): Handle cld here.
2899         (k6_alux unit): Handle cld and str types.
2900         (k6_load unit): It is ocupied by str opcodes.
2901         (k6_store unit): It is ocupied by str opcodes.
2902         (athlon_decode): Str is vector decoded.
2903         (athlon_ieu): Handle str and cld.
2904         (cld pattern): New.
2905         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
2906         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
2907         cmpstrsi_nz_1 insn): Do not output cld instruction
2909 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
2911         * gcc.texi (G++ and GCC): Add Java and Chill.
2912         (Bug Critera): Don't list languages.
2914         * gcc.texi (Incompatibilities): No longer claim most C compilers
2915         are K&R.
2917         * gcc.texi (G++ and GCC): Update other front-ends list.
2919 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
2921         * i386.c (ix86_expand_setcc): Fix typo.
2922         (ix86_expand_movcc): Similarly.
2924         * Band-aid until haifa's bitset implementation is nuked.
2925         * haifa-sched.c (extract_bitlst): New parameter for size of the
2926         bitset in bits.  All callers changed.  Avoid looking at undefined
2927         bits in the bitset.
2928         (edgeset_bitsize): New variable.
2929         (schedule_region): Initialize edgeset_bitsize.
2931 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2933         * Makefile.in (optabs.o): Depend on real.h
2934         (resource.o): Depend on insn-attr.h
2936         * builtins.c (result_vector): Wrap prototype in macro conditions
2937         governing definition and use.
2939         * c-common.c: Include tm_p.h.
2941         * c-lex.c: Likewise.
2943         * elfos.h: Constify a char*.
2945         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
2946         (get_attr_length, shorten_branches, profile_after_prologue): Mark
2947         parameter with ATTRIBUTE_UNUSED.
2949         * fold-const.c (exact_real_inverse): Wrap variable `i' in
2950         CHECK_FLOAT_VALUE.
2952         * haifa-sched.c (schedule_insns): Mark parameter with
2953         ATTRIBUTE_UNUSED.
2955         * optabs.c: Include real.h.
2957         * real.h (ereal_atof): Add prototype arguments.
2959         * resource.c: Include insn-attr.h.
2961         * sdbout.c (sdbout_queue_anonymous_type,
2962         sdbout_dequeue_anonymous_types): Wrap in macro
2963         SDB_ALLOW_FORWARD_REFERENCES.
2964         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
2965         ATTRIBUTE_UNUSED.
2967         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
2969         * stupid.c: Include tm_p.h.
2971         * tree.c (real_value_from_int_cst): Mark parameter with
2972         ATTRIBUTE_UNUSED.
2974 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2976         * i960-protos.h: New file.
2978         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
2979         time warnings.
2981         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
2983 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2985         * combine.c (expand_field_assignment): Do not discard SUBREGs
2986         while computing nonzero_bits.
2988 2000-01-09  Nick Clifton  <nickc@cygnus.com>
2990         * config/arm/arm.c: Fix compile time warnings about signed vs
2991         unsigned constants.
2992         * config/arm/arm.h: Fix compile time warnings about signed vs
2993         unsigned constants.
2995 2000-01-09  Philip Blundell  <philb@gnu.org>
2997         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
2998         than `ldm' with only one register.
2999         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
3000         only one register.
3002         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
3003         clobbered.
3005 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
3007         * config/ns32k/ns32k.md (load or push effective address): Operand 1
3008         must have SImode.
3010 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3012         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
3013         assignment used as truth value.
3015         * function.c (assign_temp): Mark parameter `dont_promote' with
3016         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
3017         PROMOTE_FOR_CALL_ONLY.
3019         * genrecog.c (write_subroutine): Mark variable `operands' with
3020         ATTRIBUTE_UNUSED.
3022         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
3023         ATTRIBUTE_UNUSED.
3025         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
3026         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
3028         * toplev.c (note_deferral_of_defined_inline_function): Likewise
3029         for `decl'.
3031 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3033         * config/c4x.h: Tidy up comments.
3034         * config/c4x.c: Likewise.
3036 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
3038         * fold-const.c (lshift_double, rshift_double): Handle
3039         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
3041 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3043         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
3044         in prepare_function_start().
3046 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
3048         * config/v850/v850.c (expand_epilogue): Interrupt functions no
3049         longer allocate extra stack for function calls.
3051 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3053         * config/c4x/c4x.md (*subqf3_set): Fix typo.
3055 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3057         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
3059 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
3061         * rs6000.c (processor_target_table): Add power3 as alias for 630.
3062         * aix43.h: Revert Aug 2 change.
3063         (HAS_INIT_SECTION): Define, not visible yet.
3064         (LD_INIT_SWITCH): Define, not visible yet.
3065         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3067         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
3069         * collect2.c (main): Expand ld2 size further.
3070         (export_object_lst): Cast assignment to avoid warning.
3071         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
3072         (scan_prog_file, COFF): Do not collect initialization or
3073         finalization functions generated for entire shared object if
3074         init/fini support present.
3076 2000-01-07  Nick Clifton  <nickc@cygnus.com>
3078         * config/elfos.h: Tidy up formatting of marcos.  Make sure
3079         that .section directives are always prefixed by a tab.
3081         * config/svr4.h: Add #include "elfos.h" and remove duplicate
3082         definitions.
3084 2000-01-07  Matt Austern  <austern@sgi.com>
3086         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
3087         expon.
3089 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
3091         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
3092         crtstuff.c.
3093         (crtbegin.o, s-crtS): Likewise.
3095 2000-01-06  Richard Henderson  <rth@cygnus.com>
3097         * alpha.md (adddi_2+1): Limit offset such that it will be
3098         loadable with a single ldah+lda pair.
3099         (adddi_2+2): Explicitly fail split if we can't make it work.
3101 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
3103         * protoize.c: Conditionally include unistd.h.
3104         (IS_SAME_PATH_CHAR): New macro.
3105         (IS_SAME_PATH): New macro.
3106         (CPLUS_FILE_SUFFIX): New macro.
3107         (cplus_suffix): New static variable.
3108         (is_abspath): New static function.
3109         (in_system_include_dir): Handle DOS style pathnames.
3110         (file_could_be_converted): Likewise.
3111         (file_normally_convertible): Likewise.
3112         (directory_specified_p): Likewise.
3113         (file_excluded_p): Likewise.
3114         (abspath): Likewise.
3115         (shortpath): Likewise.
3116         (referenced_file_is_newer): Likewise.
3117         (save_def_or_dec): Likewise.
3118         (do_processing): Likewise.
3119         (main): Likewise.
3120         (edit_file): Likewise. Use rename instead of link.
3121         (rename_c_file): Likewise. Don't rename syscalls file.
3122         (munge_compile_params): Define null device for DOS based systems.
3123         (process_aux_info_file): Use binary mode if appliable.
3124         (edit_file): Likewise.
3125         * invoke.texi (Running Protoize): Document C++ suffixes used.
3127         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
3128         IS_DIR_SEPARATOR macros.
3129         * collect2.c: Likewise.
3130         * cppinit.c: Likewise.
3131         * dwarf2out.c: Likewise.
3132         * gcc.c: Likewise.
3133         * gcov.c: Likewise.
3134         * prefix.c: Likewise.
3135         * rtl.c: Likewise.
3136         * toplev.c: Likewise.
3137         * system.h: And move to here.
3139         * prefix.c (update_path): Fix typo in variable name.
3141 2000-01-06  Richard Henderson  <rth@cygnus.com>
3143         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
3144         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
3145         (count_reg_sets_1, count_reg_references): Likewise.
3146         (flow_loops_level_compute): Start counting actual loop depth at 1.
3147         (flow_loops_find): Likewise.
3148         * local-alloc.c (update_equiv_regs): Likewise.
3149         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
3151 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3153         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
3154         FIRST_PSEUDO_REGISTER
3155         * dwarf2out.c: Don't include frame.h
3156         * dwarfout.c: Likewise
3157         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
3158         frame.h
3160 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
3162         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
3163         dead registers.
3165         * i386.c (movsf splitter): Fix typo in my last checkin.
3167 2000-01-05  Nick Clifton  <nickc@cygnus.com>
3169         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
3170         own definition of this macro.
3171         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
3172         flag_data_sections or UNIQUE_SECTION_P are true.
3174         * tm.texi (UNIQUE_SECTION): Document that it can be called for
3175         unitialised data decls.
3177         * config/i386/winnt.c (i386_pe_unique_section): Cope with
3178         being called for uninitialised data.
3180         * config/i386/interix.c (i386_pe_unique_section): Cope with
3181         being called for uninitialised data.
3183         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
3184         for uninitialised data.
3186         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
3187         for uninitialised data.
3189         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
3190         for uninitialised data.
3192         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
3193         (UNIQUE_SECTION_P): Always generate a unique section if
3194         flag_data_sections is true.
3195         (UNIQUE_SECTION): Also generate unique sections for
3196         uninitialised data.
3197         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
3198         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
3199         named_section().
3201 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3203         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
3204         SI, or DI.
3206 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3208         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
3209         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
3210         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
3211         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
3212         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
3214         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
3216 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
3218         * c-decl.c (finish_enum): Simplify code to determine minimum and
3219         maximum values of the enum, and calculate the type.  Remove check
3220         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
3221         the DECL_INITIAL of each enumeration constant with a copy converted
3222         to the enumeration type.  When updating variant types, don't bother
3223         updating the type itself.
3225         * c-typeck.c (build_binary_op): Simplify conditional expressions
3226         when weeding out spurious signed-unsigned warnings.  Add new
3227         spurious warning category: if the unsigned quantity is an enum
3228         and its maximum value fits in signed_type(result_type).  Update
3229         commentary.
3230         (build_conditional_expr): Warn here if one alternative is signed
3231         and the other is unsigned.
3233 2000-01-05  Nick Clifton  <nickc@cygnus.com>
3235         * config/fr30/fr30.h: Remove extraneous comments.
3237 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
3239         * reload1.c (choose_reload_regs): When disabling a reload, also
3240         set reload_spill_index to -1.
3242 2000-01-04  Joel Sherrill (joel@OARcorp.com>
3244         * configure.in (m68*-*-rtemscoff*): New target, formal name for
3245         old m68*-*-rtems*.
3246         (m68*-*-rtemself*): New target.
3247         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
3248         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
3249         (sparc*-*-rtemself*): New target.
3250         (sparc*-*-rtems*): Now elf not a.out.
3251         * config/i386/rtems.h: Include config/rtems.h.
3252         * config/i386/rtemself.h: Include config/rtems.h.
3253         * config/i960/rtems.h: Include config/rtems.h.
3254         * config/m68k/rtems.h: Include config/rtems.h.
3255         * config/m68k/rtemself.h: Include config/rtems.h.
3256         * config/mips/rtems64.h: Include config/rtems.h.
3257         * config/pa/rtems.h: Include config/rtems.h.
3258         * config/rs6000/rtems.h: Include config/rtems.h.
3259         * config/sh/rtems.h: Include config/rtems.h.
3260         * config/sh/rtemself.h: Include config/rtems.h.
3261         * config/sparc/rtems.h: Include config/rtems.h.
3262         * config/sparc/rtemself.h: Include config/rtems.h
3264 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
3266         * final.c (shorten_branches): Correctly compute length of
3267         asms without operands.
3269 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
3271         * configure.in: Add pj target.
3272         * configure: Regenerate.
3273         * config/pj: New directory.
3274         * config/pj/lib1funcs.S: New file.
3275         * config/pj/linux.h: New file.
3276         * config/pj/pj.c: New file.
3277         * config/pj/pj.md: New file.
3278         * config/pj/pjl.h: New file.
3279         * config/pj/t-pj: New file.
3280         * config/pj/xm-pj.h: New file
3282 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
3284         * toplev.c (rest_of_compilation): Run shorten-branches before
3285         reg-stack for now.
3287 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3289         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
3290         macros so that they're consistent with their names.
3291         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
3292         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
3294 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3296         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
3297         modified inadvertently.
3299 2000-01-04  Joel Sherrill <joel@OARcorp.com>
3301         * configure.in (v850*-*-rtems*): New target.
3302         * configure: Regenerate.
3303         * config/v850/rtems.h: New file.
3305 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
3307         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
3308         (__gthread_key_create): Likewise.
3309         (__gthread_key_dtor):  Likewise.
3310         (__gthread_once): Fix logic.
3311         (__gthread_key_delete): Cast away constness.
3313         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
3314         * invoke.texi: Document.
3315         * i386/mingw32.h (CPP_SPEC): Use.
3316         (LIBGCC_SPEC): Likewise.
3317         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
3319 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
3321         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
3322         (HANDLE_PRAGMA_PACK): Undefine.
3323         (SLOW_UNALIGNED_ACCESS): Define.
3325 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
3327         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
3328         to default definition.
3329         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
3330         (store_fixed_bit_field): Call macro with word_mode and alignment.
3331         (extract_bit_field): Call macro with relevant mode and alignment.
3332         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
3333         to default definition.
3334         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
3335         and alignment.
3336         (move_by_pieces_ninsns): Likewise.
3337         (clear_by_pieces): Likewise.
3338         (emit_push_insn): Likewise.
3339         (store_field): Call macro with relevant mode and alignment.
3340         (expand_expr): Likewise.
3341         (expand_expr_unaligned): Likewise.
3343         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3344         (SLOW_UNALIGNED_ACCESS): Define.
3345         (CASE_VECTOR_MODE): Always use 32-bit offsets.
3346         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3347         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3348         (toc_section): Likewise and .toc pseudo-op.
3349         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
3350         64-bit mode.
3351         (TEXT_SECTION_ASM_OP): Likewise.
3352         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3353         32-bit offsets.
3355         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
3356         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
3357         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
3358         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
3359         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
3361 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
3363         * regclass.c: Revert my Jan 4 change to loop cost computation.
3365 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
3367         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
3368         compilation.
3370 2000-01-04  Stan Cox  <scox@cygnus.com>
3372         * haifa-sched.c (build_control_flow): Change unreachable simple
3373         loop test to check if current block has only one predecessor.
3374         (find_rgns): Initialize degree.  Use dest as degree index, not src.
3376 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3378         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
3380         * calls.c (expand_call): Likewise for
3381         `old_stack_arg_under_construction'.
3383         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
3385         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
3386         `save_constant'.
3388         * gcc.c (execute): Likewise for `ut' and `st'.
3390         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
3392         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
3394         * jump.c (jump_optimize_1): Likewise for `temp2'.
3396         * local-alloc.c (block_alloc): Likewise for `r1'.
3398         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
3400         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
3401         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
3403         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
3404         and `set2'.
3406         * reload.c (find_reloads): Likewise for `goal_alternative_number'
3407         and `goal_earlyclobber'.
3409         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
3411         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
3413         * stupid.c (stupid_life_analysis): Likewise for `chain'.
3415         * unroll.c (copy_loop_body): Likewise for `copy'.
3417         * varasm.c (output_constructor): Likewise for `byte'.
3419 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
3421         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
3422         all FP constants for constant->reg moves.
3423         (ix86_split_to_parts): Try to convert memory address into immediate
3424         when available in the constant pool.
3425         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
3426         moves.
3427         (LEGITIMATE_CONSTANT_P): Return 1.
3428         * i386.md (pushsf): New splitter to convert constant pool memory
3429         reference to immediate.
3430         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
3431         reload.
3433 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
3435         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
3436         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
3437         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
3438         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
3439         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
3441 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
3443         * ginclude/stdbool.h:  Support compilation as C++.
3445 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3447         * fold-const.c (make_range): Don't try to reverse an unbounded range.
3449 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
3451         * regclass.c (regclass): Properly compute loop_cost.  Adjust
3452         comments.
3454         * regclass.c: Fix minor whitespace problems.
3456 2000-01-03  Anthony Green  <green@cygnus.com>
3458         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
3459         Restore the pic register if required.
3461 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
3463         * c-common.c (format_char_info): Update comment.
3464         (check_format_info): Recognize 'z' modifier in the same way 'Z'
3465         was recognized.  Emit warning for formats new in ISO C99 only
3466         if flag_isoc9x is not set.
3468 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
3470         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
3472 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
3474         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
3475         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
3476         (make_compound_operation): Choose cheaper alternative between
3477         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
3479         * regclass.c (op_costs): Remove global variable.
3480         (record_reg_classes): New parameter "op_costs" and "reg_pref".
3481         (record_operand_costs): Break out from ...
3482         (scan_one_insn): ... here.
3483         (dump_regclass): Make dumps nicer.
3484         (regclass): Dump preferrences choosed and changes done during passes.
3486 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
3488         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
3490 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
3492         * config/sparc/sparc.c (gen_df_reg): New function.
3493         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
3494         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
3495         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
3496         movtf_cc_reg_sp64+1): Use it.
3498 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
3500         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
3501         copied LABEL_DECLs.
3503 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3505         * config/i386/i386.c (ix86_expand_unary_operator): Function
3506         definition made void.
3507         (ix86_expand_binary_operator): Update outdated preceding comment.
3508         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
3509         prototype.
3511         * config/i386/i386.c (override_options): Fix option-name typo.
3513 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
3515         * system.h (CEIL): Define.
3516         * builtins.c (CEIL): Remove.
3517         * expmed.c (CEIL): Likewise.
3518         * expr.c (CEIL): Likewise.
3519         * stor-layout.c (CEIL): Likewise.
3521 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3523         * expr.c (store_constructor_field): Fix typo introduced with last
3524         gcc2 merge.
3526 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
3528         * tree.h (BINFO_N_BASETYPES): New macro.
3530 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
3532         * expmed.c (emit_store_flag): Prevent losing a pending stack
3533         adjust the same way we prevent losing queued increments.
3535 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3537         * function.c (update_temp_slot_address): Handle case where sum of
3538         temporary address plus offset in register is a valid address.
3540 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
3542         * genrecog.c (change_state) Corrected typo.
3544 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3546         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
3547         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
3548         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
3550 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
3552         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
3553         case, expand GT comparisons correctly.  Fix a comment before this
3554         part of the code.
3556 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
3558         * dwarfout.c: Include "frame.h"
3559         * dwarf2out.c: Likewise.
3560         * Makefile.in (dwarfout.o): Depend on frame.h
3561         (dwarf2out.o): Likewise.
3563 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
3565         Restore i386 binary compatibility in Dwarf EH info.
3566         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
3567         value of FIRST_PSEUDO_REGISTER.
3568         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
3569         (struct frame_state): Use DWARF_FRAME_REGISTERS.
3570         * dwarfout.c (output_reg_number): Ditto.
3571         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
3572         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
3574 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
3576         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
3577         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
3578         (<hack>_RE_CT): not needed
3579         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
3580         rewritten to scan the file text once only
3581         "template<..." test added
3582         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
3583         (is_cxx_header): declaration added
3584         * fixinc/fixtests.c(is_cxx_header): removed
3585         (apply_fix_p_t): removed
3586         (double_slash_test): is_cxx_header is only called once now
3587         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
3588         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
3589         within the templates.
3590         The borken spelling of "broken" was fixed.
3591         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
3592         The default level depends on FIXINC_DEBUG.
3594 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3596         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
3597         Otherwise provide a declaration for atexit.
3598         (init_dummy): Make sure dummy call to atexit is nevertheless
3599         called with correct number of args.
3601         * frame.c: Update comments referring to other files.
3603         * libgcc2.c: Likewise.
3605 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3607         * cse.c (free_element, get_element): Remove unused prototypes.
3609         * fold-const.c (extract_muldiv): Initialize variables `op0' and
3610         `op1'.
3612         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
3613         `else' clauses.
3615 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
3617         * configure.in,configure: case arm for mn10200-*-* now sets
3618         float_format=i32 so that float.h will correctly claim "double"
3619         to be 32 bits. Ran autoconf to generate configure from .in file.
3621 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
3623         * pa.md (conditional zero): If op1 is a register, force it into
3624         the same register as op0.
3626 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
3628         * tree.h (BINFO_BASETYPES): Improve documentation.
3630 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3632         * configure.in (--enable-checking): Use a more portable `for'
3633         loop syntax.
3635 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3637         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
3638         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
3640         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
3641         Delete files.
3643         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
3644         Delete descriptions.
3646         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
3647         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
3648         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
3649         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
3650         xm-svr4.h: Remove all instances of sys_siglist handling.
3652 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
3654         * config/sparc/sparc.md (cmp_zero_qi,
3655         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
3656         cmp_zero_extendqidi2_andcc_set): New patterns.
3658 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
3660         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
3661         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
3662         (fpgnulib.c, xfgnulib.c): Add rules.
3663         * m68k/t-mot3300-gas: Likewise.
3665 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
3667         * configure.in: Avoid [[ by using test and changequote.  Add
3668         changequote required by 1999-12-14 change.
3669         * configure: Rebuild.
3671 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
3673         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
3675 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
3677         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
3678         * flow.c (find_use_as_address): Likewise.
3679         * function.c (fixup_var_refs_1): Likewise.
3680         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
3681         * jump.c (invert_exp, redirect_exp): Likewise.
3682         * loop.c (replace_call_address): Likewise.
3683         (count_nonfixed_reads): Likewise.
3684         * rtlanal.c (modified_between_p): Likewise.
3685         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
3686         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
3687         * unroll.c (remap_split_bivs): Likewise.
3689 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3691         * diagnostic.c (v_message_with_decl): Use .* format specifier
3692         instead of building the format specifier width manually.
3694         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
3695         determining whether to provide a prototype.  Remove the
3696         sys_siglist clause in the conditional.
3698 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3700         * fold-const.c (operand_equal_p): Use memcmp to compare string
3701         constants.
3702         Suggested by D. J. Bernstein
3704 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
3706         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
3707         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3708         compiling libgcc2.
3709         * config/mips/mips.h (TARGET_64BIT): Likewise.
3710         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
3711         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
3712         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
3713         dsps.  Give routines proper names if SI/DI modes are not used.
3714         * longlong.h: Use DWunion instead of DIunion.
3716 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
3718         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
3719         GC_CHECKING, GC_ALWAYS_COLLECT.
3720         * configure.in: Allow --enable-checking with an argument
3721         listing check modes to enable.
3722         * config.in, configure: Rebuilt.
3723         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
3724         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
3725         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
3726         ENABLE_GC_ALWAYS_COLLECT.
3727         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
3728         throughout.
3729         * tree.h, tree.c: Change ENABLE_CHECKING to
3730         ENABLE_TREE_CHECKING throughout.
3732 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3734         * fold-const.c (fold_truthop): Properly check for FP RHS.
3736 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
3738         * toplev.h (note_deferall_of_defined_inline_function): Declare.
3739         * toplev.c (note_deferral_of_defined_inline_function): New
3740         function, split out from ...
3741         (rest_of_compilation): ... here.  Use it.
3743 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3745         * expr.c (store_constructor): Don't call clear_storage if size is
3746         variable.
3748 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3750         * Makefile.in (toplev.o): Depend on loop.h.
3752         * dwarfout.c: Include tm_p.h.
3754         * emit-rtl.c (restore_emit_status): Mark parameter with
3755         ATTRIBUTE_UNUSED.
3757         * final.c (final_scan_insn): Likewise.
3759         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
3760         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
3761         flow_depth_first_order_compute, flow_loop_pre_header_find,
3762         flow_loop_tree_node_add, flow_loops_tree_build,
3763         flow_loop_level_compute, flow_loops_level_compute,
3764         flow_loop_outside_edge_p): Add prototypes.
3765         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
3767         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
3768         Mark with ATTRIBUTE_NORETURN.
3770         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
3772         * local-alloc.c (no_conflict_p): Likewise.
3774         * loop.c (insert_bct): Hide definitions of variables with hidden
3775         usage.
3776         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
3778         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
3779         with ATTRIBUTE_UNUSED.
3780         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
3781         (reg_scan): Likewise.
3783         * reload.c (find_reloads): Remove unused variables `changed'.
3785         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
3786         away const-ness.
3787         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
3788         Remove unused variable `insn'.
3790         * toplev.c: Include loop.h.
3791         (report_file_and_line): Remove unnecessary prototype.
3793         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
3795         * unroll.c (biv_total_increment): Likewise.
3797 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3799         * reload1.c (emit_input_reload_insns): Restore old behaviour
3800         wrt. 'special' reloads.
3802 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
3804         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
3805         hash.h.  (cse.c): Don't depend on hashtab.h.
3807         * cse.c: Don't include hashtab.h.
3808         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
3809         of dead functions.
3810         * ggc-simple.c: Don't include hash.h.
3812 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
3814         * dwarf2out.c (add_abstract_origin_attribute): Call
3815         gen_abstract_function on our function context.
3817 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
3819         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
3821 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3823         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
3824         case in switch.
3826 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3828         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
3829         constraints to "a!r".
3831 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
3833         * Makefile.in (calls.o): Depend on function.h.
3834         (alias.o): Likewise.
3836 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
3838         * reload1.c (emit_reload_insns): Break out code and variables into...
3839         (input_reload_insns, other_input_address_reload_insns,
3840         other_input_reload_insns, input_address_reload_insns,
3841         inpaddr_address_reload_insns, output_reload_insns,
3842         output_address_reload_insns, outaddr_address_reload_insns,
3843         operand_reload_insns, other_operand_reload_insns,
3844         other_output_reload_insns): ... new static variables, and...
3845         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
3846         do_output_reload): ... new functions.
3848 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3850         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
3852 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3854         * md.texi: Add c4x constraints documentation.
3856 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3858         * config/i386/dgux.c (struct option): Rename to
3859         lang_independent_option.
3860         (struct m_options): Add description field.
3861         (output_options): Rename option type, add sep declaration, output
3862         ix86_cpu_string and ix86_arch_string only if set.
3863         (output_file_start): Rename option type.
3865 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
3867         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
3868         stmp-int-hdrs.
3869         (libgcc2.a): Similarly.
3871 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
3873         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
3874         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
3875         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
3877 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
3879         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
3880         Remove redundant initialization of "frexpon" and "expon".
3882 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3884         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
3886         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
3887         (store_constructor_field, expand_expr): Pass new arg.
3889 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
3891         * Makefile.in (explow.o): Depend on function.h.
3893         * stor-layout.c (set_sizetype): Fix typo.
3895 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
3897         * function.c (cfun): Renamed from current_function.  All users
3898         changed.
3899         * function.h (cfun): Rename declaration as well.
3901         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
3902         to be of type regset_head, not regset.  All users changed by adding
3903         address operator.
3904         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
3906 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3908         * config/c4x/rtems.h: New file.
3910 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
3912         * reload1.c (spill_failure): Take class of failed reload as argument
3913         and print it.  Caller changed.
3915 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3917         * rs6000.h (SUBTARGET_DEFAULT): New macro.
3918         (TARGET_SWITCHES): Allow subtargets to default switches.
3919         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
3921 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
3923         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
3924         in a main program.
3926 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
3928         * cccp.c (main): Define __STDC_VERSION__ as necessary.
3929         * cppinit.c (cpp_handle_option): Likewise.
3931         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
3932         determine when to define.
3934 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
3936         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
3937         cmove with mismatched test and data modes.
3939 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
3941         * c-typeck.c (c_expand_start_case): Don't warn for long switch
3942         in system headers.
3944 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3946         * alias.c: Minor reformatting.
3947         * flow.c: Likewise.
3948         * regs.h: Likewise.
3949         * stor-layout.c: Likewise.
3950         * fold-const.c: Likewise.
3951         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
3952         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
3953         not arg itself.
3954         (size_int_wide): Cache nodes even if garbage collecting.
3955         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
3956         of SAVE_EXPR has no side effects.
3957         * cse.c: Move a comment.
3958         * tree.c: Minor reformatting.
3959         (int_size_in_bytes): Return -1 if constant overflows.
3961 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3963         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
3965 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
3967         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
3968         after any change to c-parse.in, even if objc-parse.y didn't
3969         change.  Oops.
3971 1999-12-18  David S. Miller  <davem@redhat.com>
3973         * toplev.c (rest_of_compilation): Restore BLOCK tree
3974         reconstruction and branch shortening changes lost in
3975         December 18th change.
3977 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
3979         * config/arm/linux-elf.h: Change all instances of
3980         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
3981         * config/arm/uclinux-elf.h: Likewise.
3983 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
3985         * toplev.c (notice, vmessage, v_message_with_file_and_line,
3986         v_message_with_decl, file_and_line_for_asm,
3987         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
3988         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
3989         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
3990         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
3991         pfatal_with_name, fatal_io_error, need_error_newline,
3992         last_error_function, last_error_tick, announce_function,
3993         default_print_error_function, print_error_function,
3994         report_error_function, fnotice, error_with_file_and_line,
3995         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
3996         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
3997         warning_with_decl, warning_for_asm, warning, pedwarn,
3998         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
3999         diagnostic.c
4000         (compile_file): Use fnotice instead of notice.  Adjust call.
4002         * diagnostic.c: New file.
4004         * Makefile.in (OBJS): Include diagnostic.o
4005         (diagnostic.o): Define dependence.
4007 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4009         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
4010         Tweak formatting.
4012 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4014         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
4016 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
4018         * fixtests.c (is_cxx_header): New fn, split out of
4019         double_slash_test.
4020         (else_endif_label): Allow "#endif // comment" in C++ headers,
4021         as determined by is_cxx_header.
4022         * fixfixes.c (else_endif_label_fix): Update comment.
4023         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
4024         a tty.
4025         * genfixes: Correct double thinko in commandline parsing.
4026         * hackshell.tpl: Generate correct sh syntax for bypass
4027         entries.
4029         * inclhack.def (all): Whenever an inserted preprocessor
4030         conditional is split over multiple lines, use double
4031         backslashes in this file so the fixed header will be readable.
4033         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
4034         and add bypass entry for correct version of this header.
4035         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
4036         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
4038         (hpux8_bogus_inlines): New fix, split from...
4039         (ultrix_atof_param) ... here.
4040         (math_expression): Add bypass entry keyed to glibc comment
4041         indicating the problem has been dealt with; disable
4042         unnecessary sed operations; update commentary.
4043         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
4044         add select and bypass entries, simplify shell operation.
4045         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
4047         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
4048          ultrix_atof_param): Add select entry.
4049         (stdio_va_list, sunos_mather_decl): Add bypass entry.
4050         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
4051         comments with the fixes they describe.
4053         * c-parse.in (string action): Do not warn about ANSI string
4054         concatenation in system headers.  Affects C parser only.
4055         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
4057 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
4059         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
4060         compiling libgcc2 the macro depends always on arch cpp defines.
4062 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
4064         * loop.c (insert_loop_mem): Don't record MEMs from inside
4065         EXPR_LISTs.
4067 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
4069         * regclass.c (regclass): Do not use flowgraph when not optimizing.
4071         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
4072         notes too, create one when replacement failed, attempt to simplify
4073         resulting notes.
4074         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
4075         or REG_EQUIV notes.
4077 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
4079         * crtstuff.c (__dso_handle): Declare.
4080         (__cxa_finalize): Likewise.
4081         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
4082         non-NULL.
4084         * invoke.texi: Document -fuse-cxa-atexit.
4086         * tree.h (ptr_type_node): Document.
4087         (const_ptr_type_node): Likewise.
4089 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4091         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
4092         (optimize_reg_copy_2): Likewise.
4093         (optimize_reg_copy_3): Likewise.
4094         (fixup_match_2): Likewise.
4095         (regmove_optimize): Likewise.
4096         (fixup_match_1): Liekwise.
4098         * i386.md (HI to SImode promoting splitters): Rewrite.
4099         (pushsf mem peep2): New.
4100         (testhi to andhi peep2): Remove.
4101         * i386.h (x86_promote_QImode): New.
4102         (TARGET_PROMOTE_QImode): New.
4103         (PREDICATE_CODES): Add promotable_binary_operator.
4104         * i386.c (x86_promote_QImode0: New.
4105         (promotable_binary_operator): New.
4106         * i386-protos.h (promotable_binary_operator): New.
4108         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
4109         condition.
4110         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
4112 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
4114         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
4115         * function.c (insert_block_after_note): Remove.
4116         (retrofit_block): Likewise.
4117         (identify_blocks): Fix indentation.
4118         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
4119         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
4120         * function.h (insert_block_after_note): Remove prototype.
4121         (retrofit_block): Likewise.
4122         * integrate.c (expand_inline_function): Don't call
4123         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
4124         just expand_start_bindings.  Use the block_map to remap old
4125         NOTE_BLOCKs to new ones.
4126         (integrate_decl_tree): Keep track of remapped blocks.
4127         * integrate.h (struct inline_remap): Add block_map.
4128         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
4129         NOTE_BLOCK on the notes.
4130         (expand_start_bindings): Rename to ...
4131         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
4132         (expand_end_bindings): Set NOTE_BLOCK.
4133         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
4134         reconstruct the BLOCK tree.
4135         * tree.h (expand_start_bindings): Macroize.  Call ...
4136         (expand_start_bindings_and_block): New function.
4138 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
4140         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
4141         to match the format.
4143 1999-12-16  David S. Miller  <davem@redhat.com>
4145         * expr.c (emit_move_insn_1): Only emit clobbers if one of
4146         the outputs is a SUBREG.
4147         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
4148         change.
4150         * config/sparc/sparc.c (epilogue_renumber): Add default case
4151         to switch stmt.
4153 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4155         * toplev.c (rest_of_compilation): Run branch shortening after
4156         reg-stack.
4158         * regclass.c (loop_depth): Remove
4159         (scan_one_insn): Do not handle LOOP_NOTE insns.
4160         (regclass): Go through basic blocks and set loop_cost
4162 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
4164         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
4166 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4168         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
4169         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
4170         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
4172 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
4174         * loop.c (insert_loop_mem): Ignore memory clobbers.
4176         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
4177         to (OP A B).
4179 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
4181         * profile.c: Remove redundant #include "output.h".
4183         * h8300.md (HImode preinc peephole): Fix typo.
4185 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
4187         * function.c (retrofit_block): Abort if we don't find a suitable insn.
4188         (insert_block_after_note): Abort if we don't have a previous block.
4189         Remove FN parameter.
4190         * function.h: Adjust.
4192 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
4194         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
4195         argument more than once.
4197 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
4199         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
4201 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
4203         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
4205 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4207         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
4208         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
4209         update stack_alignment_needed.
4210         (prepare_function_start): Initialize stack_alignment_needed
4211         * function.h (struct function): Add field stack_alignment_needed.
4213 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4215         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
4216         Handle live_throughout / dead_or_set instead of live_before /
4217         live_after.
4218         (save_call_clobbered_regs): Get register livenessinformation from
4219         chain->live_throughout.
4220         (add_stored_regs): New function.
4221         (insert_restore, insert_save): Add restored / saved registers to
4222         dead_or_set.
4223         * global.c (reg_dies): New parameter chain.
4224         (reg_becomes_live): Third parameter is regs_set now.
4225         Changed all callers.
4226         (reg_dies): New parameter chain.  Changed all callers.
4227         (build_insn_chain): Set live_throughout instead of
4228         live_before / live_after.
4229         * reload.h (struct insn_chain): Replace members live_before /
4230         live_after with live_throughout / dead_or_set.
4231         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
4232         instead of live_before / live_after.
4233         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
4234         (order_regs_for_reload, find_reg, finish_spills): Likewise.
4235         (choose_reload_regs_init): Likewise.
4236         * stupid.c (current_chain, find_clobbered_regs): Delete.
4237         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
4238         instead of chain->live_before / chain->live_after.
4239         (mark_hard_ref): New function.
4240         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
4242 1999-12-15  David S. Miller  <davem@redhat.com>
4244         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
4246 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4248         * flow.c (calculate_loop_depth): Make global, remove prototype,
4249         rewrite to use new loop infrastructure.
4250         (find_basic_block): Remove calculate_loop_depth call.
4251         * toplev.c (rest_of_compilation): Call find_basic_block.
4252         * output.h (calculate_loop_depth): Declare.
4254         * flow.c (dump_flow_info): Dump loop_depth.
4255         (flow_loops_nodes_find): Increase loop_depth for basic block in the
4256         body.
4257         (flow_loops_find): Initialize the loop_depth for each basic block.
4259 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
4261         * tree.c (decl_function_context): Handle virtual functions.
4263         * tlink.c (scan_linker_output): Don't look in demangled name when
4264         looking for linker output keywords.
4266         * dwarfout.c (output_type): We can defer namespace-scope classes.
4268 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
4270         * regclass.c (record_reg_classes): Update comment for merging
4271         register class preferences in reg->reg copies.  Tighten conditions
4272         for merging register class preferences in reg->reg copies.
4274 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
4276         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
4278 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
4280         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
4281         (INIT_SECTION_ASM_OP): Delete.
4282         (FINI_SECTION_ASM_OP): Delete.
4283         (STARTFILE_SPEC): Define to hold just crtbegin.o.
4285 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
4287         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
4288         the abstract origin wasn't emitted.
4290         * dwarf2out.c (class_scope_p): New fn.
4291         (gen_subprogram_die): Use it.
4292         (gen_variable_die): Use it.  Tweak logic.
4293         (gen_struct_or_union_type_die): Check context_die to determine
4294         if we're function-local.
4295         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
4297 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4299         * loop.c (check_dbra_loop): Can't reverse a biv that has
4300         maybe_multiple set.
4302 1999-12-14  Nick Clifton  <nickc@cygnus.com>
4304         * config/arm/arm.c: Add support for -mcpu=arm720 command line
4305         switch.
4307 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4309         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
4310         for givs made from biv increments.
4312 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
4314         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
4315         * alpha.c (override_options): Recognize -mcpu=ev67.
4316         * alpha.h (CPP_CPU_EV67_SPEC): New.
4317         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
4318         (EXTRA_SPECS): Update.
4320 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
4322         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
4323         appropriate for -lang-c89 and -std=*.
4324         * cppinit.c (cpp_handle_option): Likewise.
4325         (new_pending_define): New, split out from cpp_handle_option.
4326         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
4327         or enable trigraphs for -ansi/-std=*.
4329         * ginclude/stdarg.h (__va_copy): New.
4330         (va_copy): Don't define for C89.
4332 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
4334         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
4335         for long long multiply-accumulate.
4337 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4339         * regclass.c (scan_one_insn): Set loop_cost to 1 when
4340         optimizing for size.
4342 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4344         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
4345         if something changed.  Back out that part of yesterday's changes.
4347         * loop.c (loop_max_reg): New static variable.
4348         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
4349         max_reg_num.
4350         (scan_loop): Call reg_scan_update whenever we may have added new
4351         registers, and update loop_max_reg.
4353 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4355         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
4356         when source does not die.
4358         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
4360 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
4362         * config/sparc/linux64.h (TARGET_LIVE_G0,
4363         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
4364         variants on Linux.
4365         * config/sparc/linux.h (TARGET_LIVE_G0,
4366         TARGET_BROKEN_SAVERESTORE): Likewise.
4367         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4368         TARGET_BROKEN_SAVERESTORE): Likewise.
4370         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
4371         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
4372         not %g2.
4373         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
4374         as sparc64 block profiling register.
4375         * config/sparc/sparc.c (sparc_override_options): Allow block
4376         profiling with -m32.
4377         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
4378         profiling register.
4379         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
4380         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
4381         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
4383         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
4384         for sparc64.
4385         * config/sparc/sparc.h: Likewise.
4386         * config/sparc/xm-sysv4-64.h: Likewise.
4387         * config/float-sparc.h: Likewise.
4388         * glimits.h: Likewise.
4389         * longlong.h: Likewise.
4391         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
4392         (ASM_IDENTIFY_GCC): Remove.
4394 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4396         * combine.c (combine_simplify_rtx): Don't make shared rtl.
4397         (simplify_logical): Likewise.
4399 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
4401         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
4402         * cppfiles.c (INO_T_EQ): Likewise.
4404 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
4406         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
4407         * i386/mingw32.h (LIB_SPEC): Likewise.
4408         (STARTFILE_SPEC): Likewise.
4409         * i386/uwin.h (LIB_SPEC): Likewise.
4410         (STARTFILE_SPEC): Likewise.
4412         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
4413         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
4415 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
4417         * combine.c (combine_simplify_rtx): Fix order of checks for
4418         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
4420 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
4422         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
4423         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
4425 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
4427         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
4428         defined.
4429         * regclass.c (inv_reg_alloc_order): New array.
4430         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
4432         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
4433         counted_for_groups, counted_for_nongroups.  Add fields rld and
4434         n_reloads.
4435         * reload.c (push_secondary_reload): Don't set nongroup field of
4436         new reloads.
4437         (push_reload): Likewise.
4438         (find_reloads): Delete code to compute nongroup fields.
4439         * reload1.c (reload_insn_firstobj): New static variable.
4440         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
4441         users changed.
4442         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
4443         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
4444         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
4445         functions.
4446         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
4447         functions.
4448         (struct hard_reg_n_uses): Deleted.
4449         (potential_reload_regs): Deleted.
4450         (init_reload): Initialize spilled_pseudos and pseudos_counted.
4451         (reload): Don't try to allocate reload registers if we already know
4452         we have to make another pass.  Call select_reload_regs.  Free memory
4453         starting with reload_firstobj when starting another pass.
4454         Don't allocate spilled_pseudos.
4455         (calculate_needs_all_insns): Call copy_reloads for an insn that
4456         needs reloads; don't call calculate_needs.
4457         (spill_cost): New static array.
4458         (used_spill_regs_local): New static variable.
4459         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
4460         to compute potential_reload_regs.
4461         (find_reload_regs): Completely rewritten to use find_reg.
4462         (allocate_reload_reg): Don't test counted_for_groups or
4463         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
4464         all cllers changed.
4465         (choose_reload_regs): Add fallback code that uses the existing
4466         register allocation from find_reload_regs.
4468 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
4470         * flow.c (create_edge_list): Cast xmalloc return value.
4472 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
4474         * doprnt.c: Remove incorrect comment closure.
4476         * cse.c: Fix a few minor whitespace goofs.
4478 1999-12-13  Don Bowman  <don@pixstream.com>
4480         * mips/vxworks.h: Fix problem with comment termination.
4481         (EXTRA_SECTIONS): Add in_sbss.
4482         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
4484 1999-12-12  David S. Miller  <davem@redhat.com>
4486         * cse.c (struct cse_reg_info): Add hash_next member,
4487         reorder rest of struct for better packing on 64-bit
4488         hosts.
4489         (cse_reg_info_tree): Kill.
4490         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
4491         REGHASH_FN): New custom pow2 hash mechanism.
4492         (NBUCKETS): Kill.
4493         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
4494         use a pow2 hash table.
4495         (get_cse_reg_info): Rework to use new REGHASH.
4496         (new_basic_block): Likewise, use HASH_SIZE, and inline
4497         free_element call.
4498         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
4499         and inline free_element call.
4500         (lookup_as_function, insert, flush_hash_table, invalidate,
4501         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
4502         invalidate_for_call, use_related_value, find_comparison_args,
4503         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
4504         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
4505         get_element): Kill.
4507 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
4509         * cse.c (cse_basic_block): Free qty_table consistently.
4511 1999-12-12  David S. Miller  <davem@redhat.com>
4512             Jakub Jelinek    <jakub@redhat.com>
4514         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
4515         SUBREGs by hand, gen the appropriate hard reg directly.
4516         (movtf reg/mem split): Likewise and alter_subreg on destination
4517         if necessary.
4518         (movtf mem/reg split): Similarly.
4519         (movdf_cc_sp64): Rename from hidden pattern.
4520         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
4521         (movtf_cc_sp64, following split): New pattern and splitter.
4522         (movdf_cc_reg_sp64): Rename from hidden pattern.
4523         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
4524         TARGET_HARD_QUAD.
4525         (movtf_cc_reg_sp64, following split): New pattern and splitter.
4527 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
4529         * loop.c (load_mems): Don't hoist written floating point mem
4530         if -ffloat-store.
4532 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
4534         * except.h (struct eh_queue): Add `next' pointer.
4535         (struct eh_status): Make x_ehqueue a pointer.
4536         (push_ehqueue):  Declare.
4537         (pop_ehqueue): Likewise.
4538         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
4539         pointer.
4540         (expand_fixup_region_end): Likewise.
4541         (expand_leftover_cleanups): Likewise.
4542         (push_ehqueue): Define.
4543         (pop_ehqueue): Likewise.
4544         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
4545         than doing it inline.
4546         (expand_start_all_catch):  Adjust now that ehqueue is a
4547         pointer.
4548         (mark_eh_queue): Mark all level of the queue.
4549         (mark_eh_status):  Adjust now that ehqueue is a
4550         pointer.
4551         (init_eh_for_function): Allocate ehqueue.
4552         (free_eh_status): Free it.
4553         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
4554         expansion for a fixup.
4556 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4558         * gthr-single.h (__gthread_active_p): Add prototype arguments.
4560         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
4561         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
4562         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
4563         function_ptr, getpagesize, __enable_execute_stack,
4564         __enable_execute_stack, __clear_insn_cache,
4565         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
4566         _cleanup, _exit, __default_terminate, __terminate_func,
4567         __terminate, __empty, __throw, new_eh_context,
4568         eh_context_initialize, eh_context_static, eh_context_specific,
4569         get_eh_context, __get_eh_context, __get_eh_info,
4570         init_reg_size_table, eh_threads_initialize,
4571         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
4572         __unwinding_cleanup, throw_helper, __throw, __rethrow,
4573         __pure_virtual): Add prototype arguments.
4574         (__bb_exit_func): Cast a sizeof to long when comparing against one.
4575         Cast a signed value to unsigned long when comparing against one.
4576         (new_eh_context): Wrap in _GTHREADS macro.
4577         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
4578         declaration.
4579         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
4580         (throw_helper): Initialize variables `handler_p' and `pc_p'.
4582 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4584         * combine.c (record_promoted_value): Remove unused variable
4585         `links2'.
4587         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
4589         * global.c (record_conflicts): Likewise for `j'.
4591         * genoutput.c (output_insn_data): Don't unnecessarily cast away
4592         const-ness.
4594 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4596         * i386-protos.h (output_387_binary_op, output_fix_trunc,
4597         output_fp_compare): Constify a char*.
4599         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
4600         static prototypes.
4601         (override_options, ix86_comp_type_attributes, print_operand,
4602         output_387_binary_op, output_fix_trunc, output_fp_compare):
4603         Constify a char*.
4604         (ix86_sched_reorder): Mark parameter `clock_var' with
4605         ATTRIBUTE_UNUSED.
4607         * i386.h (DEBUG_PRINT_REG): Constify a char*.
4609 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
4611         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
4612         operand, for use in the Java front-end.
4614 1999-12-10  Ben Collins  <bcollins@debian.org>
4616         * configure.in: Fix typo for "-64" in 64bit as check.
4617         * configure: Rebuilt.
4619 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
4621         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
4622         appropriate.
4624 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4626         * c-parse.in (string): With -Wtraditional, warn if ANSI string
4627         concatenation is utilized.
4629         * invoke.texi (-Wtraditional): Document it.
4631 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4633         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
4634         Cast a ptrdiff_t to long and pass it to printf with %ld.
4636 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
4638         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
4639         68881, we have no 68881 registers at all.
4640         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
4641         value in a 68881 register if it is available.
4643 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
4645         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
4646         for long long multiply-accumulate.
4648 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
4650         * loop.c (insert_loop_mem): Undo last change.
4652 1999-12-10  David S. Miller  <davem@redhat.com>
4654         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
4655         New functions.
4656         * config/sparc/sparc-protos.h: Add them.
4657         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
4658         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
4659         constraints which use those helpers.
4660         (EXTRA_CONSTRAINT): Use this new macro.
4661         * md.texi: Update sparc target constraints documentation.
4662         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
4663         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
4664         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
4665         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
4666         (movsf high/lo_sum split): Rework for new patterns.
4667         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
4669 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
4671         * c-common.c (c_common_nodes_and_builtins):
4672         Create __builtin_ptrdiff_t and __builtin_size_t.
4674 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
4676         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
4678 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4680         * regclass.c (globalize_reg): Re-instate test that allows
4681         fixed registers to be declared as a variable even after functions
4682         are defined.
4684 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4686         * i386.md (cpu attribute): Add "athlon".
4687         (athlon_decode): New attribute.
4688         (Athlon scheduling units definitions): New.
4689         (fcmp and shld patterns): Set athlon_decode to "vector".
4690         * i386.c (athlon_cost): New.
4691         (m_ATHLON): New.
4692         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
4693         x86_use_sahf): Set for Athlon.
4694         (x86_use_fiop): Unset for Athlon.
4695         (override_options): Define Athlon alignments and "athlon" name.
4696         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
4697         * i386.h (TARGET_ATHLON): New.
4698         (enum processor_type): Add PROCESSOR_ATHLON.
4699         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
4700         for CPU_DEFAULT==5
4701         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
4703 1999-12-09  Andreas Jaeger  <aj@suse.de>
4705         * loop.c (record_biv): Declare parameter as int.
4707         * config/i386/i386-protos.h: Declare long_memory_operand.
4709 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
4711         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
4712         EXPR_WITH_FILE_LOCATION.
4714 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
4716         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
4717         in expander.
4719         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
4721         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
4722         updating code.
4724 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
4726         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
4727         default on linux64 again.
4728         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
4729         models for multilibing.
4730         * genmultilib: Accept | as alternative separator within a set in
4731         MULTILIB_OPTIONS.
4733         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
4735         * calls.c (precompute_arguments): Make sure initial_value contains
4736         value pseudo which CSE expects.
4737         * cse.c (struct set): New entry orig_src.
4738         (cse_insn): Set it early on entry, use it for libcall EQUIV note
4739         replacement.
4741 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
4743         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
4745 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
4747         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
4749 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
4751         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
4752         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
4754         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
4755         if TARGET_ARCH32.
4757         * longlong.h: Merge in changes from glibc.
4758         Also don't clobber %g2 register in 32bit SPARC assembly, so that
4759         -mno-app-regs libgcc can be compiled.
4760         * libgcc2.c: Add defines so that the updated longlong.h
4761         can be used in libgcc2.a. Also, make sure on most architectures
4762         (at least on all which have optimized code in longlong.h defined
4763         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
4765 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4767         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
4768         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
4769         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
4770         is GNU ld.
4771         * configure: Rebuilt.
4773 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
4775         * alpha.c (secondary_reload_class): For !BWX, sub-simode
4776         outputs require a register.
4778 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
4780         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
4781         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
4782         functions like dptoul will be resolved.
4783         (libgcc2.a): Make sure that the object files from DPBIT are named
4784         differently (prefix `_dp') from those that would be coming from
4785         FPBIT.
4787 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
4789         * configure.in: When target is sparc* and tm_file contains 64,
4790         test for 64bit support in assembler.  If not supported, remove
4791         sparc/t-sol2-64 from target-dependent Makefile fragments.
4792         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
4793         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
4794         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
4795         * acconfig.h (AS_SPARC64_FLAG): Added.
4796         * configure, config.in: Rebuilt.
4797         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
4798         support.  Use AS_SPARC64_FLAG.
4800 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
4802         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
4803         suitable for holding OFmode values so that gcc works with complex
4804         quad long doubles.
4805         (hard_64bit_mode_classes): Likewise.
4807         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
4808         so that it is actually matched.
4809         (sethi_di_medlow): Likewise.
4811         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
4812         as legitimate constant if -mvis.
4813         * config/sparc/sparc.md (movtf): Likewise.
4814         (clear_sf): Use const_double_operand.
4815         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
4817         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
4818         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
4819         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
4820         routines, _Qp_* cannot be handled like that now.
4821         (INIT_TARGET_OPTABS): Likewise.
4822         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
4823         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
4824         sparc_emit_float_lib_cmp if ARCH64 and soft float.
4825         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
4826         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
4827         divtf3, sqrttf3): New expanders.
4828         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
4829         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
4830         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
4831         non-_hq patterns.
4833         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
4834         * configure: Rebuilt.
4835         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
4836         -mcpu is given and we're doing 64bit compiles.
4838 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
4840         * loop.h (struct induction): Add multi_insn_incr.
4841         * loop.c (basic_induction_var): New multi_insn_incr argument.
4842         Set it if we search back through previous insns for the biv.
4843         (record_biv): New multi_insn_incr argument; fill in struct induction.
4844         (strength_reduce): Discard an iv with multiple bivs, any of
4845         which require multiple insns to increment.
4847 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4849         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
4850         documentation.
4852 1999-12-06  David S. Miller  <davem@redhat.com>
4854         * combine.c (check_promoted_subreg): Do not conditionalize this upon
4855         PROMOTE_FUNCTION_RETURN.
4857 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
4859         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
4860         and handle REG_UNUSED note on insn.
4862         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
4863         inner_mask instead of mask.
4865 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
4867         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
4868         zero if there was an error.
4870 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
4872         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
4873         output string.
4875         * longlong.h: Fix clobbers in SPARC asm statements.
4877         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
4878         valid sethi operations when TARGET_ARCH64.
4880         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
4881         always use move_by_pieces to avoid infinite recursion.
4882         (restore_fixed_argument_area): Likewise.
4884         * combine.c (check_promoted_subreg, record_promoted_value): New
4885         functions.
4886         (combine_instructions): Use them to retain nonzero and sign bit
4887         information after SUBREGs are eliminated by optimizations in
4888         this pass if PROMOTE_FUNCTION_RETURN.
4890         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
4891         .register declaration. Don't use variables with __ prefixes.
4893 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4895         * fold-const.c (optimize_bit_field_compare): Only use one mode
4896         for both RHS and LHS in non-constant case.
4898 1999-12-06  Nathan Sidwell  <nathan@acm.org>
4900         * frame.c (start_fde_sort): Only allocate erratic array, if
4901         linear one was allocated. Return allocated flag.
4902         (fde_insert): Only insert, if there's a valid array.
4903         (fde_end_sort): Split, sort and merge if linear and erratic
4904         arrays exist, else just sort linear one.
4905         (search_fdes): New function. Linear search through original fde
4906         structure.
4907         (frame_init): Permit multiple initializations. Cope with
4908         memory shortages.
4909         (find_fde): Fallback on linear search, if failed to sort array.
4910         (__deregister_frame_info): Only free sorted array, if we
4911         allocated it.
4913 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
4915         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
4917 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
4919         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
4921 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
4923         * tree.h (special_function_p): Declare.
4924         * calls.c (special_function_p): Make it global.  Don't take `name'
4925         as a parameter.  Fix typo in 1999-11-28 change.
4926         (expand_cal): Adjust.
4928 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
4930         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
4931         * tree.h (EXPR_WFL_FILENAME): Define in terms of
4932         EXPR_WFL_FILENAME_NODE.
4933         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
4934         the TREE_CHAIN.
4935         * print-tree.c (print_note): Print TREE_PRIVATE and
4936         TREE_PROTECTED.
4938         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
4939         the original die cannot be found.
4941         * varray.h (varray_head_tag): Add elements_used.
4942         (VARRAY_PUSH): New macro.
4943         (VARRAY_POP): Likewise.
4944         (VARRAY_TOP): Likewise.
4945         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
4946         types.
4947         * varray.c (varray_init): Initialize elements_used.
4948         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
4949         (INTEGRATE_H): New variable.
4950         (integrate.o): Depend on INTEGRATE_H.
4951         (unroll.o): Likewise.
4953         * function.h (insert_block_after_note): Declare.
4954         * function.c (insert_block_after_note): Split out from ...
4955         (retrofit_block): ... here.
4957         * stmt.c (expand_fixup): Fix typo in comment.
4959 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4961         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
4962         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
4963         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
4964         (regmove_optimize, fixup_match_1): Likewise.
4966 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4968         * flow.c (flow_loops_dump): Add missing argument when calling
4969         flow_loop_nested_p.
4971 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
4972             Greg McGary  <gkm@gnu.org>
4974         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
4975         (init_attributes): Add A_NO_LIMIT_STACK.
4976         (decl_attributes): Handle A_NO_LIMIT_STACK.
4977         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
4978         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
4979         Handle stack bounds checking.
4980         * flags.h (flag_stack_check): Use the word 'probe' rather than
4981         'check', because the flag doesn't actually cause any checking to
4982         be done.
4983         * function.c (expand_function_start): Set
4984         current_function_limit_stack.
4985         * function.h (struct function): Add limit_stack.
4986         (current_function_limit_stack): Define.
4987         * invoke.texi (Code Gen Options): Document new options.
4988         * rtl.h: Declare stack_limit_rtx.
4989         * toplev.c (stack_limit_rtx): New variable.
4990         (decode_f_option): Handle new options -fstack-limit-register=REG,
4991         -fstack-limit-symbol=IDENT, -fno-stack-limit.
4992         (main): Add stack_limit_rtx as GC root.
4993         * tree.h (DECL_NO_LIMIT_STACK): New macro.
4994         (struct tree_decl): New member no_limit_stack.
4996         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
4997         stack_limit_rtx.
4998         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
4999         (conditional_trap+1): Get new mnemonic correct.
5000         (conditional_trap+2): New pattern for DImode traps.
5002         * config/m68k/m68k.c (output_function_prologue): Handle
5003         stack_limit_rtx.
5004         * config/m68k/m68k.md (trap): New insn.
5005         (conditional_trap): New insn.
5006         * md.texi (Standard Names): Document `trap' and
5007         `conditional_trap'.
5008         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
5009         so a cc0 setter doesn't get emitted at some random place in the
5010         function.
5012         * config/i960/i960.md (trap): New insn.
5013         (conditional_trap): New expander.
5014         (conditional_trap+1, conditional_trap+2): New insns for signed
5015         and unsigned cases.
5016         * config/i960/i960.c (i960_function_prologue): Use
5017         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
5019 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
5020                           Geoffrey Keating  <geoffk@cygnus.com>
5022         * flags.h (warn_padded, warn_packed): Add global var decls.
5023         * toplev.c (warn_padded, warn_packed): Add global var defns.
5024         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
5025         * stor-layout.c (layout_record): Add local variable `type'
5026         to hold often-used TREE_TYPE (field).  Add local variable
5027         `unpacked_align' to hold alignment that would be in force
5028         if no `packed' attribute were present.  Warn if `packed' attribute
5029         is unnecessary, or even harmful.  Warn when gcc inserts padding
5030         to satisfy alignment requirements of members.  Use NULL_TREE
5031         when checking whether var_size is set.
5032         * invoke.texi: Document new flags.
5034 1999-12-03  Nathan Sidwell  <nathan@acm.org>
5036         * frame.c (fde_split): Reimplement to avoid variable sized array.
5038 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5040         * combine.c (try_combine): Before fixing up LOG_LINKS for the
5041         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
5043 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
5045         * invoke.texi: Document the mips option -mno-crt0
5047 1999-12-02  Mike Karr  <mkarr@mathworks.com>
5049         * cccp.c (argdata): Added free_ptr member.
5050         (macroexpand): Initialize free_ptr of each argument. When an
5051         argument's buffers are freed, if the argument's free_ptr corresponds
5052         to a buffer on the input stack, then return the free_ptr to that stack
5053         frame, otherwise, free it.
5054         (macarg): If an argument begins and ends on the same input stack level,
5055         then transfer the free_ptr of that buffer to the argument in case
5056         the stack is popped during the processing of a subsequent argument.
5058 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
5060         * loop.c (note_reg_stored): New function.
5061         (struct note_reg_stored_arg): New structure.
5062         (try_copy_prop): Change to be more conservative; only replace within
5063         one extended basic block and stop replacing if a store to the
5064         replacement reg is seen.
5066 1999-12-02  Nick Clifton  <nickc@cygnus.com>
5068         * config/fp-bit.c: Initialise all fields of the NAN
5069         constants.
5071         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
5072         to HANDLE_PRAGMA.
5074 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
5076         * i386.md (extend?f?f2): Force the input into a register, not
5077         the output.
5079 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
5081         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
5082         regclass' sake.
5083         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
5084         alternative because setting up 64bit constant is usually costly,
5085         especially when reload is in progress or completed.
5086         (movdf_const_intreg_sp64): Likewise.
5087         (movdf_const_intreg split): Fix building up constants when
5088         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
5090 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
5092         * combine.c (if_then_else_cond): Use const_true_rtx instead of
5093         const1_rtx for return values in EQ/NE comparison against (const_int 0)
5094         case.
5096         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
5097         (asm_file_start): Emit .am33 into assembly file when compiling for
5098         the AM33.
5099         (print_operand_address): Handle POST_INC addresses.
5100         (can_use_return_insn, initial_offset): Check AM33 registers too.
5101         (expand_prologue): Check & save AM33 registers too.
5102         (expand_epilogue): Similarly.
5103         (secondary_reload_class): Handle AM33 specific secondary reloads.
5104         (output_tst): Emit efficient code for the AM33 too.
5105         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
5106         (TARGET_SWITCHES): Add -mam33 switch.
5107         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
5108         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
5109         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
5110         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
5111         (enum reg_class, REG_CLASS_NAMES): Likewise.
5112         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
5113         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
5114         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
5115         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
5116         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
5117         (HAVE_POST_INCREMENT): Define.
5118         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
5119         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
5120         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
5121         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
5122         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
5123         (zero_extend to SI from QI/HI): Likewise.
5124         (sign_extend to SI from QI/HI): Likewise.
5125         (mulsidi3, umulsidi3): New patterns for the AM33.
5126         (tstsi with zero extension from QI/HI): Add AM33 variants.
5127         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
5128         (return_internal_regs, store_movm): Handle new AM33 registers.
5129         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
5130         (LIBGCC, INSTALL_LIBGCC): Likewise.
5131         * invoke.texi: Document new flags.
5133 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5135         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
5136         (addsi3_carry): Likewise.
5137         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
5138         (sbbsi3_carry): Likewise.
5139         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
5140         (mulhi3): Likewise.
5141         (test?i_1): Ensure that only one operand is memory.
5142         (conditional move patterns): likewise.
5143         (shift and rotate patterns): Rewrite to expander, add
5144         "binary_operator_ok" to the condition.
5146         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
5147         * i386.h (procesor_costs): Add movzbl_load field.
5148         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
5149         non-Q registers, accept DImode registers anywhere.
5150         (Q_CLASS_P): New.
5151         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
5152         * i386.c (*_cost): Set value for movxbl_load field.
5154         * (addsi): New add to lea splitter.
5155         (ashlsi): Likewise.
5156         (lea to add/shift peep2): New.
5158 1999-12-01  Mark Salter <msalter@cygnus.com>
5160         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
5161         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
5162         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
5164 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5166         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
5167         * i386.md (movsi_xor): New.
5168         (movsi_or): New.
5169         (movsi_1, movhi_1, movqi_1): Remove.
5170         (movsi_2): Rename to movsi_1.
5171         (movhi_2): Rename to movhi_1.
5172         (movqi_2): Rename to movqi_1.
5173         (movdi_1): Remove; remove splitter.
5174         (movdi_2): Rename to movdi_1.
5175         (divmodsi4 splitter): Do not emit clobbers for move patterns.
5176         (long move peep2): Do not create QI or HI mode mov0s
5177         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
5179         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
5180         rewrite splitters.
5182         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
5183         (abs?f2_if): Likewise.
5185 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
5187         * ggc.h (ggc_test_and_set_mark): New macro.
5188         (ggc_mark_rtx): Use ggc_test_and_set_mark.
5189         (ggc_mark_tree): Likewise.
5190         (ggc_mark_rtvec): Likewise.
5191         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
5193 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
5195         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
5196         containing types.
5197         (decl_scope_table): Just an array of trees now.
5198         (push_decl_scope): Simplify.
5199         (dwarf2out_init): Adjust.
5200         (local_scope_p): New fn.
5201         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
5202         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
5203         (gen_typedef_die): Likewise.
5204         (gen_lexical_block_die): Don't call push/pop_decl_scope.
5205         (gen_inlined_subroutine_die): Likewise.
5206         (gen_abstract_function): Set current_function_decl temporarily.
5207         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
5208         Handle block extern declarations.  Don't call push/pop_decl_scope.
5209         (gen_decl_die): Fix logic for block externs.
5211 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5213         * calls.c (special_function_p): Remove `realloc' and add `strdup'
5214         to the list of functions which have attribute malloc by default.
5216 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5218         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
5219         integer constant does not match the traditional type, limit the
5220         warnings to cases where the base of the type is ten.
5222         * invoke.texi (-Wtraditional): Document it.
5224 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5226         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
5227         * rs6000.md: Only access a CONST_INT with INTVAL
5229 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
5231         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
5232         (compute_nearerout): Likewise.
5233         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
5234         size_t to unsigned long for formatting.
5236 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
5238         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
5239         Allow the user to override call-used/fixed state of %g2-5
5240         registers from the command line (with the exception of %g4 for
5241         embedded model).
5242         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
5243         there is a higher chance of having a leaf function.
5244         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
5245         for ARCH64 which has %ccr register.
5246         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
5247         patterns.
5248         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
5249         insn accept into delay slot any insn which does not use %[ol]
5250         registers.  Accept some LO_SUM and shift left by 1 for the normal
5251         restore case.
5252         (output_function_epilogue): Likewise.
5253         (epilogue_renumber): Added argument which inhibits any renumbering
5254         and just tests if the rtx does not use any %[ol] registers.
5255         (output_return): Reflect above change.
5257 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
5259         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
5260         aggregate passing for sizes <= 16 bytes.
5262 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
5264         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
5265         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
5266         * reload.c (find_dummy_reload): Likewise.
5267         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
5268         * reload1.c (reload_as_needed): Likewise.
5269         * stupid.c (stupid_find_reg): Likewise.
5270         * tm.texi (Obsolete Register Macros): Delete section.
5271         * gmicro.h: Remove all traces of the two macros.
5272         * i386.h: Likewise.
5273         * m88k.h: Likewise.
5274         * mips.h: Likewise.
5276 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
5278         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
5279         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
5280         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
5281         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
5282         units for the sparclite86x chip.
5283         (flush): Revert October 14th change; add SImode specifically.
5284         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
5285         * invoke.texi: Document it.
5287 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
5289         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
5290         psimode_truncation_operand.
5292         * config/mn10200/mn10200.c (psimode_truncation_operand): New
5293         function.  Return true if the operand is either a MEM valid
5294         for a PSImode address or not a MEM at all.
5296         * config/mn10200/mn10200.md (truncsipsi2): Use
5297         psimode_truncation_operand.
5299 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5301         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
5302         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
5303         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
5304         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
5305         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
5306         (flow_loop_level_compute, low_loops_level_compute): Likewise.
5307         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
5308         * basic-block.h: Protect from multiple inclusion.
5309         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
5310         (struct loops, struct loop): Define structures.
5311         * sbitmap.c (sbitmap_a_subset_b_p): New function.
5312         * sbitmap.h: Protect from multiple inclusion.
5313         (sbitmap_a_subset_b_p): Add prototype.
5314         * Makefile.in (LOOP_H): New macro.
5315         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
5317 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
5319         * cppinit.c (CAT): The argument list of this macro may not contain
5320         spaces !
5322 1999-11-29  David S. Miller  <davem@redhat.com>
5324         Move quantity tables and register equivalence chains into
5325         per-qty and per-register structure arrays respectively.
5326         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
5327         qty_const_insn, qty_comparison_code, qty_comparison_const,
5328         qty_comparison_qty): Delete, replace with...
5329         (qty_table): this structure table.
5330         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
5331         (reg_eqv_table): this structure table.
5332         (make_new_qty): Add argument MODE.  Caller updated.
5333         Update to use qty_table and reg_eqv_table.
5334         (make_regs_eqv, delete_reg_equiv, insert_regs,
5335         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
5336         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
5337         cse_process_notes, cse_main, cse_basic_block): Likewise.
5339 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5341         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
5342         operation if C is negative.
5343         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
5344         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
5345         law for some divisions if constant is negative and change other
5346         divisions to the opposite rounding.
5348         * expr.c (store_constructor_field): If bit position is not multiple
5349         of alignment of TARGET's mode, use BLKmode.
5351         * expr.c (expand_expr_unaligned): Add more code from full case
5352         that is needed when OP0 is in a register.
5354 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5356         * dwarfout.c (field_byte_offset): Size can be zero if there was
5357         an error.
5359 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
5361         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
5362         (associate_trees): Delete unused var TEM.
5363         (extract_muldiv): Delete unused var CANCEL_P.
5365         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
5366         (target_isinf, target_isnan, target_negative): Add return types to
5367         function definitions.
5369 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
5371         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
5372         * fixinc/hackshell.tpl: ditto
5373         * fixinc/fixtests.c(double_slash_test): more C++ header testing
5374         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
5376 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
5378         * reload.c (push_reload): When looking for a register to put into
5379         reg_rtx, make sure all hard regs in a multi-reg register are in the
5380         right class and nonfixed.
5382         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
5383         pending_read_insns, pending_write_insns, pending_read_mems,
5384         pending_write_mems, pending_list_length, last_pending_memory_flush,
5385         last_function_call, sched_before_next_call): Move static variables
5386         into a structure.
5387         (bb_ prefixed versions): Replace with single array bb_deps.
5388         (struct deps): New structure.
5389         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
5390         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
5391         argument of type "struct deps *"; use that instead of global
5392         variables.  All callers changed.
5393         (init_rgn_data_dependencies): Delete function.
5394         (init_rtx_vector): Delete function.
5395         (init_deps): New function.
5397         (free_pending_lists): Simplify, we always use the bb_deps array even
5398         if only one basic block.
5399         (compute_block_backward_dependences): Likewise.
5400         (schedule_region): Likewise.
5402         (propagate_deps): New function, broken out of
5403         compute_block_backward_dependences.
5404         (compute_block_backward_dependences): Use it.
5406         * alpha.md: Delete useless patterns that tried to work around
5407         register elimination problems.
5409         * unroll.c (loop_iterations): Don't abort if iteration variable
5410         was made by loop.
5412         From Joern Rennecke:
5413         * reload1.c (reloads_conflict): Reverse test comparing operand
5414         numbers when testing for conflict between output/outaddr reloads.
5416 1999-11-29  David S. Miller  <davem@redhat.com>
5418         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
5419         arg.
5420         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
5422 1999-11-28  Robert Lipe  <robertl@cygnus.com>
5424         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
5425         table from .fini into .dtor.
5427 1999-11-28  Anthony Green  <green@cygnus.com>
5429         * tree.h (struct tree_decl): Add malloc_flag.
5430         (DECL_IS_MALLOC): Define.
5431         * c-common.c (attrs): Add A_MALLOC attribute.
5432         (init_attributes): Add this attribute to the table.
5433         (decl_attributes): Handle malloc attribute.
5434         * calls.c (special_function_p): Check for the malloc attribute.
5435         * extend.texi (Function Attributes): Document malloc attribute.
5437 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
5439         * pa.md (reload shift-add patterns): Remove.
5441 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5443         * reorg.c (dbr_schedule) Print more statistics. Corrected
5444         problem when printing info when 3 delay slots are filled.
5446 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
5448         * combine.c (setup_incoming_promotions): Pass an outgoing
5449         regno to FUNCTION_ARG_REGNO_P which it expects.
5451 1999-11-28  Andreas Jaeger  <aj@suse.de>
5453         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
5455 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
5457         * cccp.c (do_include): Avoid initialization of automatic variable.
5459         * integrate.c (mark_stores): Function definition made void, to match
5460         previous declaration.
5461         * regclass.c (dump_regclass): Ditto.
5462         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
5464 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5466         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
5467         known to be multiple of divisor.
5469         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
5471         * combine.c (try_combine): Add code to try to merge a set of a
5472         two-word pseudo to a constant with a setting of one of those words
5473         to a constant.
5475         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
5476         (split_tree): Completely rework to make more general.
5477         (make_range, fold): Call negate_expr.
5478         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
5479         (fold, associate): Call new split_tree and associate_trees.
5480         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
5482 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
5484         * loop.c (try_copy_prop): Avoid GNU C extension.
5486 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
5488         * except.c (init_eh_for_function): Still zero eh_return_context,
5489         eh_return_stack_adjust, and eh_return_handler.
5491         * except.h (eh_status): Adjust documentation for x_protect_list.
5492         (begin_protect_partials): New function.
5493         * except.c (enqueue_eh_entry): Fix formatting.
5494         (get_first_handler): Add consistency check.
5495         (add_partial_entry): Adjust usage of protect_list.
5496         (emit_cleanup_handler): Save and restore ehqueue.
5497         (expand_start_all_catch): Add comment.
5498         (begin_protect_partials): New function.
5499         (end_protect_partials): Adjust usage of protect_list.
5500         (init_eh_for_function): Use xcalloc.
5502 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5504         * c-common.c (check_format_info): Don't call a variadic function
5505         with a non-literal format string.
5507         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
5509         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
5510         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
5511         Likewise.
5513         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
5514         Likewise.
5516         * collect2.c (collect_wait): Likewise.
5518         * dbxout.c (dbxout_type): Likewise.
5520         * gcc.c (do_spec_1): Likewise.
5522         * genemit.c (gen_insn, gen_expand): Likewise.
5524         * genrecog.c (write_switch, write_subroutine): Likewise.
5526         * mips-tfile.c (catch_signal, botch): Likewise.
5528         * print-rtl.c (print_rtx): Likewise.
5530         * toplev.c (default_print_error_function, report_error_function,
5531         _fatal_insn): Likewise.
5533 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
5535         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
5537 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5539         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
5540         operations when needed.
5541         * i386.md (fop_?f_comm): New.
5542         (fop_?f_1): Do not accept commutative operands.
5544 1999-11-25  Andreas Jaeger  <aj@suse.de>
5546         * config/mips/mips.md (casesi_internal): Add missing brace.
5548 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
5550         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
5551         (splice_child_die): Handle moving a child DIE from the declaration
5552         DIE of a class to its specification.
5553         (gen_struct_or_union_type_die): Use 'complete' consistently.
5554         (gen_decl_die): Generate the virtual context DIE first.
5555         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
5557 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
5559         * config/mips/mips.md (call_value_multiple_interanal1): New.
5561 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
5563         * dwarf2out.c (free_AT, free_die): New fns.
5564         (remove_children): Call them.
5565         (output_line_info): Disable removal of duplicate notes.
5567         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
5568         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
5569         means pretend the type isn't defined.
5570         Don't defer emitting types.
5571         (gen_type_die_for_member): New fn.
5572         (gen_decl_die): Call it.
5573         (splice_child_die): New fn.
5574         (gen_member_die): Call it rather than generate duplicate dies.
5576         Defer emitting information for the abstract instance of an inline
5577         until we either inline it or emit an out-of-line copy.
5578         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
5579         from output_inline_function if DECL_ABSTRACT is also set.
5580         (block_ultimate_origin): Likewise.
5581         (gen_abstract_function): New fn.
5582         (gen_decl_die, gen_inlined_subroutine_die): Call it.
5583         (gen_subprogram_die):  An abstract instance is not a declaration
5584         just because it doesn't match current_function_decl.  Don't abort
5585         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
5586         has an abstract origin.
5587         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
5588         abstract instance here.
5590 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
5592         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
5593         where we need to reload fpul from a system register.
5595 1999-11-24  Andreas Jaeger  <aj@suse.de>
5597         * config/mips/linux.h (CPP_PREDEFINES): Added.
5598         (LINK_SPEC): Remove -Y since this is only needed on sparc.
5600 1999-11-24  Andreas Jaeger  <aj@suse.de>
5602         * config/mips/linux.h (TARGET_VERSION): Added.
5603         (HANDLE_SYSV_PRAGMA): Added.
5604         (DEFAULT_VTABLE_THUNKS): Added.
5606 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5608         * local-alloc.c (qty): New structure and static variable.
5609         (qty_phys_reg): Remove, all references changed to qty.
5610         (qty_n_refs): Likewise.
5611         (qty_min_class): Likewise.
5612         (qty_birth): Likewise.
5613         (qty_death): Likewise.
5614         (qty_size): Likewise.
5615         (qty_mode): Likewise.
5616         (qty_n_calls_crossed): Likewise.
5617         (qty_alternate_class): Likewise.
5618         (qty_changes_size): Likewise.
5619         (qty_first_reg): Likewise.
5620         (alloc_qty): Rename variable QTY to QTYNO.
5621         (finf_free_reg): Likewise.
5622         (local_alloc): Allocate qty, do not allocate the removed variables.
5624 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
5626         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
5627         when -membedded-pic is passed.
5629         * config/mips/mips.md (casesi): Handle 64-bit case too.
5630         (casesi_internal_di): New insn.
5632         * config/mips/mips.c (embedded_pic_offset): Always make the
5633         embedded-pic subtractions relative to the name of the current
5634         function by use of the magic string "..CURRENT_FUNCTION".
5635         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
5637 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
5639         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
5640         of (const_int 0), when what we really care about is
5641         whether it's a zero constant anyway.
5642         (div_trap_mips16): Likewise.
5644 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
5646         * loop.c (loop_optimize): Always find_loop_tree_blocks and
5647         unroll_block_trees when generating debuggable code.
5649         * tree.h (unsave_expr_1): New function.
5650         (lang_unsave): New variable.
5651         (get_callee_fndecl): New function.
5652         * tree.c (unsave_expr_now_r): New function.
5653         (lang_unsave): Define.
5654         (unsave_expr_1): Likewise.
5655         (unsave_expr_now_r): Split out from unsave_expr_now.
5656         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
5657         call unsave_expr_now_r.
5658         (get_callee_fndecl): Define.
5660         * Makefile.in (gencheck): Don't depend on lang_tree_files.
5661         (gencheck.o): Do depend on lang_tree_files.
5663         * integrate.h (copy_decl_for_inlining): New declaration.
5664         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
5665         (copy_decl_for_inlining): New function.
5666         (integrate_parm_decls): Use it.
5667         (integrate_decl_tree): Likewise.
5669 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
5671         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
5672         the second two from the first.
5673         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
5674         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
5675         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5676         ISA_HAS_FP4.
5677         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
5678         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5679         ISA_HAS_FP4.
5681 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
5683         * pa.md (call_internal_symref, call_value_internal_symref): No mode
5684         needed on the address operand.
5685         * pa.c (call_operand_address): Check for the correct mode.
5687 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
5689         * loop.c: Include "basic-block.h".
5690         (try_copy_prop, replace_loop_reg): New functions.
5691         (load_mems): Detect registers that just hold copies of the hoisted
5692         mem, and call try_copy_prop to eliminate them.
5693         * Makefile.in (loop.o): Update dependencies.
5695 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
5697         * Makefile.in (gencheck.o): Depend on gencheck.h.
5698         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
5699         (insn-peep.o): Depend on except.h and function.h.
5700         (insn-attrtab.o): Depend on RECOG_H.
5701         (insn-output.o): Depend on toplev.h and flags.h.
5702         (gengenrtl.o): Depend on real.h.
5703         (gen-protos.o): Depend on cpplib.h and cpphash.h.
5704         Unify all dependencies to be on RECOG_H rather than recog.h.
5706 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5708         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
5709         * configure.in: Try building a bi-arch 32/64-bit compiler on
5710         sparc-*-solaris2.7 and higher.
5711         * configure: Rebuild.
5713 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
5715         * config/freebsd.h: New, FreeBSD architecture independent file.
5716         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
5717         independent pieces.
5718         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
5719         directly by i386/freebsd.h.
5720         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
5721         independent configuration file.
5722         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
5723         directly by i386/freebsd.h.
5724         * configure: Rebuilt.
5726         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
5727         which is in the user's namespace.
5728         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
5729         `i386' which is not in our namespace.
5731 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
5733         * invoke.texi (ARM Options): Add in -mno-alignment-traps
5735 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
5737         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
5738         (add_dwarf_attr, add_child_die): Just push onto the front.
5739         (reverse_die_lists): New fn.
5740         (add_sibling_attributes): Use it.
5741         (push_decl_scope): Reorganize.
5742         (add_name_and_src_coords_attributes): Don't set file and line for
5743         an artificial decl.
5744         (gen_subprogram_die): An artificial function doesn't need to match
5745         file and line.
5746         (gen_compile_unit_die): Return the generated die.  Only add
5747         AT_comp_dir if the filename is relative.
5748         (remove_AT): Simplify loop.  Also free string values.
5749         (output_die): A DIE ref can't be null.
5750         (output_value_format, value_format): Take a dw_attr_ref.
5751         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
5752         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5753         AT_addr, AT_lbl): New fns.
5754         (various): Use them.
5755         (various): Constify.
5757 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5759         * combine.c (combine_simplify_rtx): When handling a SUBREG,
5760         take SUBREG_WORD into account.
5761         (if_then_else_cond): Likewise.
5763 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
5765         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
5766         clause from BSD license, pursuant with
5768           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
5770 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
5772         * loop.c (load_mems): Reformat slightly.
5773         * basic-block.h (regset_head): New typedef.
5774         (INIT_REG_SET): New macro.
5776 1999-11-22  Bruce Korb  <autogen@linuxbox.com
5778         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
5779         (mips-dec-bsd*): non-functional code
5780         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
5782         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
5783         added three replacement fixes
5784         (no_double_slash): removed comments that are not (any longer) pertinent
5785         (bad_lval): this fix currently runs against many files.
5786         The comment seems to indicate that we should select for files
5787         containing 'pragma extern_prefix'.
5789         * fixinc/fixinc.x86-linux-gnu: deleted
5790         * fixinc/inclhack.sh:  regen
5791         * fixinc/fixincl.x:  regen
5792         * fixinc/fixincl.sh:  regen
5794 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
5796         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
5797         its code is INSN and it has no notes.
5799 1999-11-22  Andrew Haley  <aph@cygnus.com>
5801         * varasm.c (function_defined): Remove.
5802         (make_function_rtl): Don't set function_defined.
5803         (make_decl_rtl): Remove global register warning.
5804         * regclass.c (no_global_reg_vars): New variable.
5805         (globalize_reg): Warn if function has already been defined.
5806         (regclass_init): Set no_global_reg_vars.
5808 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5810         * regclass.c (reg_pref): New structure and static variable
5811         (prefclass): Delete.
5812         (altclass): Delete.
5813         (all uses of prefclass and altclass): Use reg_pref instead.
5815 1999-11-21  Nick Clifton  <nickc@cygnus.com>
5817         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
5818         -malignment-traps.
5819         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
5820         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5821         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5823 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
5825         * varasm.c (output_constructor): Solve problem with long long
5826         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
5828 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5830         * global.c (allocno): New structure and static variable.
5831         (allocno_reg): Remove, all references replaced by allocno.
5832         (allocno_size): Likewise.
5833         (hard_reg_conflicts): Likewise.
5834         (hard_reg_preferences): Likewise.
5835         (hard_reg_copy_preferences): Likewise.
5836         (hard_reg_full_preferences): Likewise.
5837         (regs_someone_prefers): Likewise.
5838         (allocno_calls_crossed): Likewise.
5839         (allocno_n_refs): Likewise.
5840         (allocno_live_length): Likewise.
5841         (find_reg): Rename ALLOCNO to NUM.
5843         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
5844         references updated.
5845         (may_move_out_cost): New variable.
5846         (init_reg_sets_1): Initialize may_move_out_cost.
5847         (record_reg_classes): Use may_move_out_cost.
5849         * regclass.c (dump_regclass): New function.
5850         (regclass): New parameter DUMP, call DUMP_REGCLASS.
5851         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
5852         pass rtl_dump_file to regclass.
5853         * rtl.h (regclass): Update prototype.
5855 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5857         * i386.md (neg, not and abs patterns): Revmap to use
5858         ix86_expand_unary_operator and ix86_unary_operator_ok.
5859         (add?f and sub?f expanders): Force operand 1 to register.
5860         * i386.c (ix86_expand_unary_operator): Rewrite.
5861         (ix86_unary_operator_ok): Ensure that memory operands
5862         match real opcode.
5863         (ix86_binary_operator_ok): Do not allow operand 1 to
5864         come into memory and operand 0 not.
5865         (ix86_expand_binary_operator): Ensure that
5866         src1 is not non-matching memory.
5868         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
5869         to support integer registers and memory.
5870         (abss?2_integer): Likewise.
5872         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
5873         (REG_CLASS_NAMES): Likewise.
5874         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
5875         and GENERAL_REGS.
5876         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
5877         (movsf): Likewise; unify 4th and 5th alternative.
5878         (pushdf): Likewise.
5879         (movdf_1): Likewise; rename to movdf_integer.
5880         (pushxf): Likewise; rename to pushxf_integer; fix output template;
5881         remove redundant splitter.
5882         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
5883         (movdf_nointeger): New.
5884         (movxf_nointeger): New.
5885         (pushxf_nointeger): New.
5887         * i386.md (extend?f?f): Split to expander and pattern, refuse two
5888         memory operands in patterns.
5889         (fop*): Refuse two memory operands.
5891         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
5892         on !TARGET_USE_CLTD CPUs.
5894 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
5896         * extend.texi: Document C++ restricted pointers and references.
5898 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
5900         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
5901         (invalidate_skipped_set): Call it unconditionally.
5902         (cse_set_around_loop): Likewise.
5904 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
5906         * rtl.texi (mem): Add documentation for alias-set argument
5907         to RTX `mem'.
5909 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5911         * i386.h (struct_processor_costs): New fields int_load, int_store,
5912         fp_move, fp_load and fp_store
5913         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
5914         fp->int moves
5915         (MEMORY_MOVE_COST): New macro.
5916         * i386.c (386_cost): Define new fields.
5917         (i486_cost): Likewise.
5918         (pentium_cost): Likewise.
5919         (pentiumpro_cost): Likewise.
5920         (k6_cost): Likewise.
5922 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
5923                           Geoffrey Keating  <geoffk@cygnus.com>
5925         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
5927         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
5928         MASK_ALIGN_INT.
5930         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
5931         (TARGET_STRICT_ALIGNMENT): New macro.
5932         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
5933         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
5934         * invoke.texi (M680x0 Options): Document -mstrict-align.
5936 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
5937                           Richard Henderson  <rth@cygnus.com>
5939         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
5940         (ix86_split_long_move): Declare.
5941         * i386.c (split_xf, ix86_split_movdi): Remove.
5942         (ix86_split_to_parts, ix86_split_long_move): New.
5943         * i386.md (dimode move splitters): Use ix86_split_long_move.
5944         (dfmode move splitters): Likewise.
5945         (xfmode move splitters): Likewise.
5946         (movsf_1): Allow F->r.
5947         (movdf_1, movxf_1): Allow F->ro.
5949 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
5951         * except.h (struct eh_entry): Add goto_entry_p.
5952         (eh_region_from_symbol): Remove prototype.
5953         * except.c (find_func_region_from_symbol): New function.
5954         (emit_cleanup_handler): Likewise.
5955         (eh_region_from_symbol): Make it static.
5956         (add_new_handler): Verify the argument.
5957         (find_func_region): Update comment.
5958         (expand_eh_region_end): Expand handlers here, rater than waiting
5959         until expand_leftover_cleanups or start_all_catch.
5960         (expand_leftover_cleanups): Don't expand here.
5961         (expand_start_all_catch): Or here.
5962         (expand_rethrow): Check the return value from find_func_region.
5963         * function.c (expand_function_end): Emit the catch_clauses.
5965 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
5967         * integrate.c (expand_inline_function): Add necessary check for NULL.
5969 1999-11-18  Nick Clifton  <nickc@cygnus.com>
5971         * toplev.c (main): Correctly detect an unrecognised option.
5973         * cppinit.c (cpp_handle_option): Do not claim to have consumed
5974         a -f option if it has not been recognised.
5976 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
5978         * basic-block.h (update_life_extent): Remove trailing comma on
5979         enumeration type list.
5981 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5983         * varasm.c (output_constructor) Solved problem with long long
5984         bitfields. Corrected calculating this_time and shift. Also
5985         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
5987 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
5989         * flow.c (split_edge): Take looping structure into account when
5990         determining where to put the new block note.
5992 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
5994         * Makefile.in (ggc-none.o): Provide host specific version if
5995         needed.
5997 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
5999         * cse.c (delete_trivially_dead_insns): Identify no-op insns
6000         containing subregs too.
6002 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
6004         * invoke.texi: Add documentation for -muninit-const-in-rodata.
6005         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
6006         (TARGET_UNINIT_CONST_IN_RODATA): Define.
6007         (text_section): Add switches -munint-const-in-rodata and
6008         -mno-uninit-const-in-rodata.
6009         (ASM_OUTPUT_COMMON): Remove.
6010         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
6011         const objects should be placed in read-only data. Otherwise declare
6012         them in common.
6014 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
6016         * jump.c (jump_optimize_1): Revert last change.
6018 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
6020         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
6021         test if optimizing for size.
6023 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
6025         * Makefile.in (toplev.o): Depend on except.h.
6026         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
6028 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
6030         * i386.md (divmodsi4): Rewrite to expander.
6031         (*divmodsi4_nocltd): New.
6032         (*divmodsi4_cltd): New.
6033         (divmodsi4 splitter): Handle the case when input comes in edx.
6034         (udivmodhi4): Do not use constraints in exander.
6035         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
6037 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
6039         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
6040         for the common case.
6042 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
6044         * explow.c (hard_function_value): Add outgoing argument.
6045         * expr.h (hard_function_value): Declare it.
6046         * calls.c (expand_call, emit_library_call_value): Update callers.
6047         * function.c (aggregate_value_p): Ditto.
6048         (diddle_return_value): Must look at the outgoing registers
6049         on archs with register windows.
6051 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
6053         * alpha.c (alpha_build_va_list): Use make_lang_type and
6054         initialize TYPE_NAME for the va_list record.
6056         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
6058         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
6059         for printing.
6060         * ggc.h (struct ggc_statistics): Rearrange elements for better
6061         packing on 64-bit hosts.
6062         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
6063         (compute_nearerout): Likewise.
6065 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
6067         * config/rs6000/rs6000.c (first_reg_to_save): Save
6068         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
6070 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
6072         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
6073         notion of nesting to find the DIE for a type or function.
6074         DIEs can go in limbo even if we got a context_die.
6075         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
6076         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
6077         for local type.
6078         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
6079         (gen_type_die): Writing out the context doesn't cause member class
6080         template instantiations to be written out as well.
6082 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
6084         * rs6000.h (ASM_OUTPUT_DEF): New.
6085         Based on proposed addition from David Edelsohn.
6087 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
6088             Bruce Korb  <autogen@linuxbox.com>
6090         * fixinc/inclhack.def
6091         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
6092         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
6093                 in net/inet.h.
6094         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
6095         (svr4_endian): enabled with SVR5
6096         (svr4_mkdev): simplified syntax and enabled with SVR5
6098 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
6100         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
6101         * configure: Rebuilt.
6102         * config/t-freebsd-thread: New file.
6104 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
6106         * i386.c (ix86_decompose_address): Verify the base is a REG
6107         before trying to examine its register number.
6109         * basic-block.h: Remove all #defines and prototypes related to
6110         integer lists.
6111         (free_bb_mem, compute_preds_succs): Remove prototype.
6112         * rtl.h (free_bb_mem): Remove prototype.
6113         * flow.c (alloc_int_list_node); Remove function.
6114         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
6115         (compute_preds_succs, free_bb_mem): Likewise.
6116         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
6117         * toplev.c (rest_of_compilation): Likewise.
6118         * haifa-sched.c (build_control_flow): Use flow generated edge
6119         list to build the haifa specific edge list.
6120         (find_rgns): Use new CFG data structures instead of pred/succ lists.
6121         (schedule_insns): Do not build pred/succ lists anymore.  Instead
6122         build the edge table.
6124         * basic-block.h (dump_bb_data): Remove declaration.
6125         * flow.c (dump_bb_data): Remove function.
6126         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
6127         (sbitmap_union_of_predsucc): Likewise.
6129         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
6130         argument.  All callers changed.
6131         (delete_null_pointer_checks_1): No longer need to compute the
6132         pred/succ lists.
6134         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
6135         All callers changed.
6136         (pre_expr_reaches_here_p_work): Likewise.
6137         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
6138         * lcm.c (compute_laterin): Fix initialization of LATER.
6139         (compute_nearerout): Similarly for NEARER.
6141 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6143         * cse.c (set_nonvarying_address_components): Delete unused function.
6144         (refers_to_p): Likewise.
6146 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
6148         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
6149         needed.
6151 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6153         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
6154         definition in do while (0).
6156 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
6158         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
6160 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
6162         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
6164 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
6166         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
6167         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
6168         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
6169         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
6171         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
6172         saved on the stack.  Output more accurate stack frame statistics
6173         into assembler file.
6175 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
6177         * genextract.c (record_insn_name): New function.
6178         (get_insn_name): No longer a stub.
6179         (main): Call record_insn_name for each insn.  After each label
6180         written, print the insn name in a comment.
6182 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6184         * output.h (const_section, init_section, fini_section): Add
6185         prototypes.
6187         * alpha/elf.h (const_section): Delete declaration.
6189         * svr4.h (const_section): Likewise.
6191 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
6193         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
6194         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
6195         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
6196         expressions.
6197         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
6198         variable-sized array bounds.
6200 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
6202         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
6203         ASM_OUTPUT_LABEL.
6205 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6207         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
6208         addresses the same way GO_IF_LEGITIMATE_INDEX does.
6210 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6212         * cse.c (hash_arg_in_struct): Delete.
6213         (struct table_elt): Delete elt in_struct.
6214         (struct set): Delete elt src_in_struct.
6215         (merge_equiv_classes): Don't set either hash_arg_in_struct or
6216         the corresponding in_struct elts.
6217         (canon_hash): Likewise.
6218         (safe_hash): Likewise.
6219         (find_best_addr): Likewise.
6220         (record_jump_cond): Likewise.
6221         (cse_insn): Likewise.
6223 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
6225         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
6227         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
6228         unsigned types.
6230 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
6232         * function.c (diddle_return_value): Put back check that the DECL_RTL
6233         for the function is a register.
6235         * function.c (diddle_return_value): Use hard_function_value to
6236         get an rtx suitable for use in the USE/CLOBBER insn.
6238         * global.c (global_conflicts): Update comments.
6239         (record_conflicts): No need to record conflicts between pseudos here.
6241 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
6243         * fixinc/fixincl.c: Added verbose levels for status messages
6245 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6247         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
6248         operand as argument to expand_and or expand_binop.
6250 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
6252         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
6253         gcc_add_string_root.
6255 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
6257         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
6259 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
6261         * flow.c (compute_flow_dominators): Initially put all blocks on
6262         the worklist.
6263         * lcm.c (compute_antinout_edge, compute_available): Similarly.
6264         * gcse.c (compute_cprop_avinout): Remove.
6265         (compute_cprop_data): Use compute_available.
6266         (delete_null_pointer_checks_1): Use compute_available.
6268         * basic-block.h (compute_available): Returns a void now.
6269         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
6270         to return a value anymore.
6271         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
6272         worklists.  Fix boundary cases. Compute maximal solutions.
6273         (compute_laterin, compute_nearerout): Similarly.
6275         * dwarf2out.c (add_AT_location_description): Allow
6276         (mem (plus (pseudo) (...)) too.
6278 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
6280         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
6282 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
6283                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6285         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
6287         * gansidecl.h: Likewise.
6289         * rtl.c: Likewise.
6291         * rtl.h: Likewise.
6293         * toplev.h: Likewise.
6295         * tree.c: Likewise.
6297         * tree.h: Likewise.
6299         * varray.c: Likewise.
6301         * varray.h: Likewise.
6303 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
6305         * gcov.c (struct arcdata): Add hits and total, remove prob.
6306         (output_branch_counts): New.
6307         (process_args): Set output_branch_counts if -c.
6308         (calculate_branch_probs): Store hits and total instead of
6309         percentage.
6310         (output_data): Emit counts if output_branch_counts is true.
6311         * gcov.texi (Invoking Gcov): Document -c switch..
6313 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
6315         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
6316         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
6318 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
6320         * invoke.texi (C Dialect Options): Add missing builtins from
6321         c-common.c to list.
6322         * extend.texi (Other Builtins): Copy to this list.
6324 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6326         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
6327         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
6328         redundant bitmap.h.
6330 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
6332         * flow.c (compute_flow_dominators): No longer treat basic block 0
6333         or (n_basic_blocks - 1) specially.  Clear the AUX field before
6334         starting computation of doms/pdoms.  Fix initial state for pdoms.
6336 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6338         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
6339         match rtl.o's: added ggc.h and toplev.h
6340         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
6341         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
6342         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
6344 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
6346         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
6347         from HAVE_DOS_BASED_FILESYSTEM.
6348         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
6349         HAVE_DOS_BASED_FILESYSTEM.
6350         (main): Likewise.
6351         (split_directories): Only special-case DOS file names if
6352         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
6353         instead of explicit tests.  Conditionalize on !VMS.
6354         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
6355         tests.  Conditionalize on !VMS.
6356         (process_command): Only use make_relative_prefix if !VMS.
6357         (free_split_directories): Conditionalize on !VMS.
6358         (DIR_UP): Conditionalize on !VMS.
6360 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6362         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
6364 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
6366         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
6367         case.
6369 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
6371         * invoke.texi (Environment Variables): Document relative path
6372         lookup.
6373         * gcc.c (DIR_UP): If not defined, define as "..".
6374         (standard_bindir_prefix): New static, holds target location to
6375         install binaries.
6376         (split_directories): New function to split a filename into
6377         component directories.
6378         (free_split_directories): New function, release memory allocated
6379         by split_directories.
6380         (make_relative_prefix): New function, make a relative pathname if
6381         the compiler is not in the expected location.
6382         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
6383         can figure out an appropriate prefix from argv[0].
6384         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
6385         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
6386         STANDARD_BINDIR_PREFIX.
6388 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6390         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
6391         in c4x.c.
6392         * config/c4x/c4x.h: Moved prototypes to c4x.h.
6393         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
6394         c4x_secondary_memory_needed) Delete.
6395         (fp_zero_operand): Add mode argument.
6397 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
6399         * reload1.c (reload_reg_free_for_value_p): Don't use a register
6400         that is in reload_reg_used.
6402 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
6404         * config/arm/arm-protos.h: New file: Prototypes for functions
6405         defined in arm.c and pe.c.
6406         * config/arm/arm.h: Fix compile time warnings.
6407         * config/arm/arm.c: Fix compile time warnings.
6408         * config/arm/pe.h: Fix compile time warnings.
6409         * config/arm/aout.h: Fix compile time warnings.
6411 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
6413         * config/m32r/m32r-protos.h: New file: Prototypes for functions
6414         defined in m32r.c
6416         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
6417         Add support for subtargets.
6418         Add prototypes for new predicates.
6419         Add scheduling macros.
6421         * config/m32r/m32r.c: Fix compile time warnings.
6422         (int8_operand): New predicate function.
6423         (reg_or_cmp_int16_operand): New predicate function.
6424         (extend_operand): New predicate function.
6425         (m32r_adjust_code): New scheduling function.
6426         (m32r_adjust_priorty): New scheduling function.
6427         (m32r_sched_init): New scheduling function.
6428         (m32r_sched_reorder): New scheduling function.
6429         (m32r_sched_variable_issue): New scheduling function.
6430         (direct_return): New codegen function.
6431         (m32r_not_same_reg): New rtl testsing function.
6433         * config/m32r/m32r.md: Fix compile time warnings.
6434         Add support for pre decrement and post increment memory
6435         references.
6436         Add S<cc> patterns.
6437         Add fabs patterns.
6439 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6441         * global.c (EXECUTE_IF_CONFLICT): Don't define.
6442         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
6443         (find_reg): Likewise.
6445 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
6447         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
6448         to avoid assembler errors.
6450 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
6452         * config/v850/v850-protos.h: New file: Prototypes for functions
6453         defined in v850.c
6454         * config/v850/v850.h: Move prototypes to v850-protos.h
6455         * config/v850/v850.c: Move prototypes to v850-protos.h
6456         * config/v850/v850.md: Fix compile time warnings.
6458         * config/fr30/fr30-protos.h: New file: Prototypes for functions
6459         defined in fr30.c
6460         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
6461         * config/fr30/fr30.c: Fix compile time warnings.
6462         * config/fr30/fr30.md: Fix compile time warnings.
6464 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
6466         * tree.h (get_containing_scope): Declare it.
6467         * tree.c (get_containing_scope): New fucntion.
6468         (decl_function_context): Use it.
6469         * toplev.c (rest_of_compilation): Use get_containing_scope.
6471 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6473         * Makefile.in (rtl.o): Depend on toplev.h.
6475 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
6477         * cse.c (delete_trivially_dead_insns): Replace alloca with
6478         xmalloc/xcalloc.
6479         * except.c (update_rethrow_references): Likewise.
6480         (init_eh_nesting_info): Likewise.
6481         * function.c (identify_blocks): Likewise.
6482         * gcse.c (dump_hash_table): Likewise.
6483         * graph.c (print_rtl_graph_with_bb): Likewise.
6484         * loop.c (combine_movables): Likewise.
6485         (move_movables): Likewise.
6486         (count_loop_regs_set): Likewise.
6487         (strength_reduce): Likewise.
6488         * profile.c (compute_branch_probabilities): New function, split
6489         out from ...
6490         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
6491         * regclass.c (regclass): Likewise.
6492         * regmove.c (regmove_optimize): Likewise.
6493         * toplev.c (compile_file): Likewise.
6494         (main): Don't mess with the stack rlimit.
6496 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
6498         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
6499         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
6501 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
6503         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
6505 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
6507         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
6508         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
6509         macro expansion.
6511 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
6513         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
6515 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
6517         * gcse.c (post_dominators): Kill.
6518         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
6519         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
6520         pass in a pdom array since we do not need pdoms.
6521         * haifa-sched.c (schedule_insns): Similarly.
6522         * flow.c (compute_dominators): Remove dead function.
6523         (compute_flow_dominators): Do not compute doms or pdoms if the
6524         caller does not request them.  Split up loop to build doms and
6525         pdoms.  Use a worklist to compute doms and pdoms.
6526         * basic-block.h (compute_dominators): Remove prototype.
6528 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
6530         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
6531         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
6532         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
6533         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
6534         (cant_move, fed_by_spec_load, is_load_insn): Remove.
6535         (schedule_region): Remove unused variable.
6536         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
6538 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
6540         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
6541         (update_equiv_regs): Likewise.
6542         (block_alloc): Likewise.
6543         * reg-stack.c (reg_to_stack): Likewise.
6544         (convert_regs_2): Likewise.
6545         * reload1.c (reload_as_needed): Likewise.
6547 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
6549         * Makefile.in (dbxout.o): Depend on ggc.h.
6550         (dwarf2out.o): Likewise.
6551         (xcoffout.o): Likewise.
6552         * dbxout.c: Include ggc.h.
6553         (dbxout_init): Register lastfile as a root.
6554         * dwarf2out.c: Include ggc.h.
6555         (dwarf2out_line): Register lastfile as a root.
6556         * xcoffout.c: Include ggc.h.
6557         (xcoffout_source_line): Register xcoff_lastfile as a root.
6559 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
6561         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
6563 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
6565         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
6566         defined.
6567         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
6569 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6571         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
6572         (EXECUTE_IF_CONFLICT): Likewise.
6573         (ALLOCNO_LIVE_P): Avoid signed division.
6574         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
6575         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
6576         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
6578 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
6580         * haifa-sched.c (schedule_block): Don't crash if there's no
6581         next insn for an interblock movement.
6582         (add_branch_dependences): Don't allow clobber insns to move either.
6584 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
6586         * i386.c (split_xf): New.
6587         * i386-protos.h: Declare it.
6588         * i386.md (movxf_1): Add general regs alternatives.
6589         (movxf_1+1): New splitter for same.
6591 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
6593         * function.c (purge_addressof_1): Add missing return values.
6595 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
6597         * function.c (is_addressof): New function.  Returns true if
6598         the given piece of RTL is an ADDRESSOF.
6599         (purge_addressof_1): Make boolean.  Return false if the
6600         ADDRESSOFs could not be purged.
6601         (purge_addressof): If ADDRESSOFs could not be purged from the
6602         notes attached to an insn, remove the offending note(s),
6603         unless they are attached to a libcall.
6605 1999-11-05  Andreas Jaeger  <aj@suse.de>
6607         * genoutput.c (null_operand =): Initialize all fields.
6609         * errors.h: Add extern to prototypes.
6611 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
6613         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
6614         * configure: Rebuilt.
6616 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6618         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
6619         (mirror_conflicts): New function.
6620         (global_alloc): Call it.
6621         (expand_preferences): Remove redundant CONFLICTP test.
6622         (find_reg, dump_conflicts): Likewise.
6623         (prune_preferences): Process conflicts one word at a time.
6625 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
6627         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
6628         instead of an explicit loop.
6630 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
6632         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
6633         if REG_RETVAL check succeeds, then put classp in src_elt.
6635 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
6637         * function.c (pad_to_arg_alignment): Only update argument_pad
6638         if the argument's alignment is greater than STACK_BOUNDARY.
6640 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
6642         * bitmap.h (BITMAP_XFREE): New.
6643         * flow.c (life_analysis): Use it.
6644         (life_analysis_1): Free blocks.
6646         * combine.c (undo_commit): New.
6647         (try_combine): Use it.  Don't zap undobuf.undos.
6648         (combine_instructions): Don't zap undobuf.undos; free the
6649         undobuf.frees list.
6651         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
6653         * stmt.c (cost_table_): New.
6654         (estimate_case_costs): Use it instead of xmalloc.
6656         * toplev.c (compile_file): Reuse dumpname memory instead
6657         of strdup'ing it.
6659 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
6661         * reg-stack.c (convert_regs_1): Initialize target_stack->top
6662         after verifying an EH edge.
6664         * haifa-sched.c (init_rgn_data_dependences): Correctly
6665         size bb_pending_lists_length when zeroing.
6667 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
6669         * function.c (diddle_return_value): New.
6670         (expand_function_end): Use it.
6671         * stmt.c (expand_null_return): Likewise.
6672         (expand_value_return): Likewise.
6674         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
6676         * reload1.c (reload): Don't remove return value clobbers.
6678 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
6680         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
6682 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
6684         * cse.c (cse_main): Use xmalloc, not alloca.
6685         (cse_basic_block): Likewise.
6686         * local-alloc.c (local_alloc): Likewise.
6688 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
6689                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6691         * rtl.c: Include toplev.h.
6692         (fatal): Remove declaration.
6694 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
6696         * haifa-sched.c (schedule_block): Fix thinko.
6698 1999-11-03  James McKelvey <mckelvey@fafnir.com>
6700         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
6701         S_IR* defined values
6703 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
6705         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
6706         call `malloc' instead.
6708 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
6710         * flags.h (flag_renumber_insns): Declare.
6711         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
6712         renumbering table.
6713         * rtl.h (renumber_insns): Change prototype.
6714         * toplev.c (flag_renumber_insns): Define.
6715         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
6717 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
6719         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
6720         and fpsqrtd.  Use them and create fdiv function unit to more
6721         accurately represent fpu sqrt pipeline semantics on UltraSparc.
6722         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
6724 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
6726         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
6727         3 on UltraSparc.
6728         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
6729         insn into ready list, do not use just a raw swap.
6731 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
6733         * rtl.h (renumber_insns): New function.
6734         (remove_unnecessary_notes): Likewise.
6735         * emit-rtl.c (renumber_insns): Define.
6736         (remove_unncessary_notes): Likewise.
6737         * toplev.c (rest_of_compilation): Remove dead code.
6738         Use renumber_insns and remove_unncessary_notes.
6740         * gcse.c (struct null_pointer_info): New type.
6741         (get_bitmap_width): New function.
6742         (current_block): Remove.
6743         (nonnull_local): Likewise.
6744         (nonnull_killed): Likewise.
6745         (invalidate_nonnull_info): Take a null_pointer_info as input.
6746         (delete_null_pointer_checks_1): New function.
6747         (delete_null_pointer_checks): Use it.
6749         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
6750         (split_edges): Likewise.
6751         (schedule_block): Likewise.
6752         (compute_block_backward_dependencies): Likewise.
6753         (schedule_region): Likewise.
6754         (schedule_insns): Likewise.
6756 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
6758         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
6759         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
6760         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
6761         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
6762         * jump.c (delete_unreferenced_labels): Don't delete if
6763         LABEL_ALTERNATE_NAME is set.
6764         * print-rtl.c (print_rtx): Dump alternate name.
6765         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
6766         * rtl.h (LABEL_ALTERNATE_NAME): Define.
6767         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
6768         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
6770 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6772         * fix-header.c (recognized_extern, recognized_function): Constify
6773         a char*.
6775         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
6776         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6777         (compute_available): Remove unused variable `last'.
6778         (compute_nearerout): Remove unused variable `temp_bitmap'.
6779         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6780         Remove unused variable `x'.
6782         * scan.h (recognized_function, recognized_extern): Constify a
6783         char*.
6785         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
6787 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6789         * varasm.c (decode_rtx_const): Use XSTR to access the string
6790         of a SYMBOL_REF.
6792 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
6794         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
6796 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6798         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
6800 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
6802         * pa.c (ireg_operand): New function.
6803         * pa.h (PREDICATE_CODES): Handle ireg_operand.
6804         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
6805         Fix out of date comment.
6807         * pa.md (negdi2): Turn into expander + anonymous pattern.
6809         * reload.c (find_reloads): Fix typos in recent change.
6811         * dwarf2out.c: Do not include ctype.h.
6813 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6815         * regclass.c (record_reg_classes): Always use may_move_cost when
6816         seeing how operand fits with various register classes.
6818 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
6820         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
6821         * toplev.c: Revert Nov 1 13:22 change.
6823 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
6825         * config/pa/pa.md (height reduction patterns): Add checks for
6826         overlapping operands to avoid semantic-destroying splits for
6827         height reduction patterns.
6829 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6831         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
6832         have been an hyphen, fixed.
6833         * configure: Rebuilt.
6835 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
6837         * config/arm/tpe.h: Add prototypes for exported functions.
6838         * config/arm/pe.c: Fix compile time warnings.
6839         * config/arm/semi.h: Fix compile time warnings.
6840         * config/arm/arm.c: Fix compile time warnings.
6841         * config/arm/arm.h: Fix compile time warnings.
6842         * config/arm/arm.md: Fix compile time warnings.
6843         * config/arm/thumb.c: Fix compile time warnings.
6844         * config/arm/thumb.h: Fix compile time warnings.
6845         * config/arm/thumb.md: Fix compile time warnings.
6847 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
6849         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
6850         detection code
6852         * unroll.c (unroll_loop): Remove LOOP notes when loop is
6853         completely unrolled.
6855 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6857         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
6859 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
6861         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
6862         * rtl.h (rtx_equal_p): Move prototype.
6863         * rtl.c (rtx_equal_function_value_matters): Move from
6864         rtlanal.c
6865         (rtx_equal_p): Likewise.
6866         * rtlanal.c (rtx_equal_function_value_matters): Delete.
6867         (rtx_equal_p): Likewise.
6869 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
6871         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
6872         ! HAS_INIT_SECTION.
6874 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
6876         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
6878         * pa.h (ADDR_VEC_ALIGN): Define.
6880         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
6881         notes when presented with "if (foo) break; end_of_loop" and
6882         the break sequence gets moved out of the loop.
6884         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
6885         Remove explicit zero initializations of entries within MAP.
6887 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
6889         * reg-stack.c (convert_regs_1): Handle EH edges specially.
6891 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
6893         * bitmap.h (BITMAP_XMALLOC): New macro.
6894         * flow.c (CLEAN_ALLOCA): Remove.
6895         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
6896         (life_analysis): Likewise.
6897         (update_life_info): Don't use CLEAN_ALLOCA.
6898         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
6899         (calculate_global_regs_live): Likewise.
6900         (print_rtl_with_bb): Likewise.
6901         (verify_flow_info): Likewise.
6902         * global.c (global_alloc): Likewise.
6903         (global_conflicts): Likewise.
6904         * integrate.c (save_for_inline_nocopy): Likewise.
6905         (expand_inline_function): Likewise.
6906         * jump.c (jump_optimize_1): Likewise.
6907         (duplicate_loop_exit_test): Likewise.
6908         (thread_jumps): Likewise.
6909         * loop.c (loop_optimize): Likewise.
6910         (combine_givs): Likewise.
6911         (recombine_givs): Likewise.
6912         * reorg.c (dbr_schedule): Likewise.
6913         * unroll.c (unroll_loop): Likewise.
6915         * combine.c (combine_instructions): Use xmalloc instead of alloca.
6917 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
6919         * toplev.c (rest_of_compilation): Don't optimize the CFG
6920         when rebuilding, just before dbr.
6922 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6924         * output.h (assemble_end_function, assemble_destructor,
6925         assemble_constructor, assemble_gc_entry, assemble_global,
6926         assemble_label, output_constant_pool) Constify a char*.
6928         * varasm.c (assemble_destructor, assemble_constructor,
6929         assemble_gc_entry, assemble_end_function, assemble_global,
6930         assemble_label, output_constant_pool): Likewise.
6932 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
6934         * config/arm/thumb.c (thumb_expand_prologue): Add comments
6935         explaining what is goin on in this function.
6937 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6939         * regclass.c (record_reg_classes): In matching case, recompute
6940         costs since the direction of movement is different.
6942 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
6944         * resource.c (mark_target_live_regs): For unconditional branches,
6945         the resources found at the branch target should be added to the
6946         resources found so far, not intersected.
6948 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
6950         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
6951         old cpp's.
6952         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
6953         (sys/mman.h): Include this file only if #HAVE_MMAP.
6954         (run_compiles): Initialize `esac_fmt' with one old KR string, not
6955         with automatically concatenated ANSI strings.
6957 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
6959         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
6960         (DIV_ROUND_UP): Robustify.
6961         (ggc_recalculate_in_use_p): New function.
6962         (release_pages): Don't inline it.
6963         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
6964         outer contexts.
6965         (ggc_pop_context): Use ggc_recalculate_in_use_p.
6966         (clear_marks): Always save in_use_p.
6967         (sweep_pages): Use ggc_recalculate_in_use_p.
6968         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
6969         Release pages before counting statistics.
6971 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
6973         * toplev.c (rest_of_compilation): Fix thinko in this change:
6975         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
6977         (rest_of_compilation): If inside an inlined external function,
6978         pretend we are just being declared.
6980 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
6982         * flow.c (calculate_global_regs_live): Fix thinko.
6984         * integrate.c (expand_inline_function): Fix bugs in previous
6985         change from Oct 28, 1999.
6987 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
6989         * stmt.c (expand_value_return): Fix typo in this change:
6991         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6992         (expand_value_return): Correctly convert VAL when promoting function
6993         return; support RETURN_REG being a PARALLEL.
6995 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
6997         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
6999 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7001         * hard-reg-set.h (reg_names): Constify a char*.
7003         * regclass.c  (reg_names): Likewise.
7005         * regs.h (reg_names): Likewise
7007         * a29k/a29k.c (reg_names): Delete declaration.
7009         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
7011         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
7012         arc_output_function_epilogue): Likewise.
7014         * elxsi/elxsi.c (reg_names): Likewise.
7016         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
7018         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
7019         Likewise.
7021         * m88k/m88k.c (output_function_profiler): Likewise.
7023         * sparc/sparc.c (sparc_flat_output_function_prologue,
7024         sparc_flat_output_function_epilogue): Likewise.
7026 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
7028         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
7029         warning from -Wuninitialized and put it under -W.
7030         * function.c (uninitialized_vars_warning): Warn only when the
7031         corresponding flag is set.
7033 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
7035         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
7036         is nonzero and the single set does not have an elt, then assign
7037         it an elt.
7039         * simplify-rtx.c: New file.
7040         * Makefile.in (OBJS): Add simplify-rtx.o
7041         (simplify-rtx.o): Add dependencies.
7042         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
7043         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
7044         (cse_gen_binary, simplify_unary_operation): Delete.
7045         (simplify_binary_operation, simplify_plus_minus): Likewise.
7046         (check_fold_consts, simplify_relation_operation): Likewise.
7047         (simplify_ternary_operation): Likewise.
7048         (delete_trivially_dead_insns): Simplify the contents of the
7049         REG_EQUAL note before trying to substitute it into the source
7050         of the reg-reg copy at the end of a libcall sequence.
7052         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
7053         references/callers changed.
7055         * mn10200.c (mn10200_va_arg): Force the return value into a
7056         register.
7058         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
7060         * cccp.c (macroexpand): Avoid out of range accesses for omitted
7061         arguments.
7063 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
7065         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
7067 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
7069         * fold-const.c (fold): Fix thinko when optimizing comparisons
7070         against -0.0.
7072 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
7074         * gcc.texi (Passes): Update front-end files to their current
7075         location.
7077 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
7079         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
7080         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
7081         (PREDICATE_CODES): Add addition_operation.
7082         * alpha-protos.h (addition_operation): Declare.
7083         (secondary_reload_class): Likewise.
7084         * alpha.c (addition_operation): New.
7085         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
7086         * alpha.md (adddi3): Turn into expander.
7087         (*lda, *adddi_2): New.
7088         (movsf, movdf patterns): Don't preference integer regs.
7089         (movsi, movdi patterns): Don't preference fp regs.
7091 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
7093         * genrecog.c (write_switch): Check for duplicate CODE cases.
7095 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
7097         * ggc-common.c: Update pre-function commentary.
7098         * ggc-page.c: Likewise.
7099         (poison): Remove.
7100         (poison_pages): Use memset directly.
7101         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
7102         (ggc_collect): Poison before sweeping.
7103         * ggc-simple.c: Update pre-function commentary.
7104         (ggc_alloc_obj): Poison non-zeroed memory.
7106 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
7108         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
7109         match format string, even on 64-bit hosts.
7110         * gcc-page.c (ggc_page_print_statistics): Likewise.
7112 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
7114         * config/i386/i386.c (ix86_cpu): Revert last patch.
7115         * config/i386/i386.h (ix86_cpu): Ditto.
7117 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
7119         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
7120         TYPE_SIZE, convert type of result to sizetype.
7122 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
7124         * flow.c (count_or_remove_death_notes): Equate NULL with the
7125         universal set.
7127         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
7128         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
7129         dbr_schedule.
7131         * i386.c (pic_label_no): Delete.
7132         (ix86_attr_length_default): Don't use single_set to peek
7133         inside a parallel.
7135         * recog.c (peephole2_optimize): Allow recog_next_insn to index
7136         the first insn after bb->end.
7137         * i386.md (push mem peeps): Scratch is live after evaluation
7138         of the memory.
7139         (cmp mem peep): Similarly.
7141 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
7143         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
7144         * function.c (pad_to_arg_alignment): Add missing braces.
7146 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7148         * alpha/alpha-protos.h (literal_section): Add prototype.
7149         (alpha_need_linkage, alpha_start_function,alpha_end_function):
7150         Constify a char*.
7152         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
7153         prototype.
7154         (alpha_start_function, alpha_end_function, float_strings,
7155         alpha_need_linkage): Constify a char*
7157         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
7159         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
7161         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7163         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
7165 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7167         * flow.c (debug_flow_info): Add prototype.
7169         * gcc.c (main): Likewise.
7171         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
7172         Likewise.
7174         * reload1.c (failed_reload, set_reload_reg): Likewise.
7176         * mips-tfile.c (main): Likewise.
7177         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
7178         with ATTRIBUTE_NORETURN.
7180 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
7182         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
7183         DECL is not a memory ref.
7185 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
7187         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
7188         * config/i386/i386.c (ix86_cpu): Add extern attribute.
7190 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
7192         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
7193         * config/mips/elf64.h: ditto.
7195 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
7197         * expr.c (emit_push_insn): New argument alignment_pad.
7198         Update all callers.  Adjust stack pointer based on alignment pad.
7199         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
7200         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
7201         (locate_and_pad_parm): New argument alignment_pad.  Update all
7202         callers.
7203         * expr.h (emit_push_insn): Update prototype.
7204         (locate_and_pad_parm): Update prototype.
7205         * calls.c (arg_data):  Add new field alignment_pad.
7206         (initialize_argument_information): Initialize alignment_pad.
7208 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
7210         * except.c (free_eh_nesting_info): Free the info itself.
7211         * function.c (free_after_compilation): Don't free NULL.
7212         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
7213         (pre_edge_insert): Free inserted.
7214         * stmt.c (free_stmt_status): Don't free NULL.
7216 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
7218         * gcov.c (DIR_SEPARATOR): Provide default.
7219         (output_data): Add test for MS-DOS format absolute filename.
7220         (fancy_abort): Correct program name.
7221         (open_files): Open all files in binary mode.
7222         * libgcc2.c (__bb_exit_func): Likewise.
7224         * profile.c (init_branch_prob): Specify binary when opening files.
7226         * flags.h (flag_unwind_tables): New decl.
7227         * toplev.c (flag_unwind_table): New definition.
7228         (f_options): Add -funwind-tables.
7229         (decode_g_option): Clarify warning when unknown -g option is given.
7230         (rest_of_compilation): If inside an inlined external function,
7231         pretend we are just being declared.
7233         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
7234         (dwarf2out_frame_finish): Likewise.
7236 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
7238         * fold-const.c (merge_ranges): If not in0, but in1, handle
7239         upper bounds equal like subset case.
7241 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
7243         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
7244         passed in a register but moved to the stack.
7246 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
7248         * gcc.c (pass_exit_codes, greatest_status): New variables.
7249         (struct option_map): Add entry for "--pass-exit-codes".
7250         (execute): Update greatest_status if error.
7251         (display_help): Add documentation for -pass-exit-codes.
7252         (process_command): Handle -pass-exit-codes.
7253         (main): Look at pass_exit_codes and greatest_status on call to exit.
7255 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7257         * reload.c (find_reloads): Refine test for no input reload
7258         case to not includes reloads emitted after insn.
7260         * function.c (find_temp_slots_from_address): Handle sum involving
7261         a register that points to a temp slot.
7262         (update_temp_slot_address): Make recursive call if both old and
7263         new are PLUS with a common operand.
7264         * calls.c (expand_call): Mark temp slot for result as having
7265         address taken.
7267         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
7269         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
7270         component as well as "BINUTILS".
7272         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
7273         * integrate.c (copy_rtx_and_substitute): Likewise.
7274         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
7275         All callers changed.
7276         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
7278         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
7279         gdb extensions, write size of type; also be more consistent
7280         in using references when this is a subtype.
7282         * pa.md (extv, extzv, insv): Use define_expand to reject constant
7283         that is out of range.
7285         * loop.c (unknown_constant_address_altered): New variable.
7286         (prescan_loop): Initialize it.
7287         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
7288         (invariant_p, case MEM): Remove handling for volatile and readonly;
7289         check new variable if readonly.
7290         (check_dbra_loop): Chdeck unknown_constant_address_altered.
7292         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
7293         (addr_affects_sp_p): Removed from note_mem_written and only
7294         define #ifdef AUTO_INC_DEC.
7296         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
7298         * regclass.c (record_reg_classes): Properly handle register move
7299         directions.
7301         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
7302         Don't think valid if both operands are invalid.
7303         (struct constant_descriptor): New field RTL.
7304         (mark_const_hash_entry): Mark it.
7305         (record_constant{,_rtx}): Initialize it.
7306         (output_constant_def): Allocate RTL in permanent obstack and
7307         save in table.
7308         ({record,compare}_constant_1): Modes must match for
7309         CONSTRUCTOR of ARRAY_TYPE.
7311         * c-common.h (initializer_constant_valid_p): Delete decl from here.
7312         * output.h (initializer_constant_valid_p): Move decl to here.
7313         * c-common.c (initializer_constant_valid_p): Delete function from here.
7314         * varasm.c (initializer_constant_valid_p): Move function to here.
7316         * tree.h (STRIP_SIGN_NOPS): New macro.
7317         * fold-const.c (optimize_minmax_comparison): New function.
7318         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
7319         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
7320         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
7321         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
7322         widening conversions.
7323         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
7324         to look at size of mode, not precision of type; also add missing cases.
7325         (optimize_bit_field_compare, decode_field_reference): Don't try to
7326         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
7328         * dwarf2out.c (ctype.h): Include.
7329         (dwarf2out_set_demangle_name_func): New function.
7330         (size_of_line_info): Deleted.
7331         (output_line_info): Compute size of line info table from difference
7332         of labels.
7333         (base_type_die, add_name_attribute): Call demangle function, if any.
7334         (field_byte_offset): Use bits per word for variable length fields.
7335         (gen_array_type_die): Add array name.
7336         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
7337         (dwarf2out_add_library_unit_info): New function.
7339         * explow.c (set_stack_check_libfunc): New function.
7340         (stack_check_libfunc): New static variable.
7341         (probe_stack_range): Allow front-end to set up a libfunc to call.
7343         * combine.c (simplify_comparison): When making comparison in wider
7344         mode, check for having commuted an AND and a SUBREG.
7345         (contains_muldiv): New function.
7346         (try_combine): Call it when dividing a PARALLEL.
7347         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
7348         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
7349         a PLUS.
7350         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
7351         use one of the CLOBBERs instead.
7352         (if_then_else_cond): If comparing against zero, just return thing
7353         being compared.
7355         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
7356         Don't generate shifts and subtract if have conditional arithmetic.
7358         * rtl.h (delete_barrier): New declaration.
7359         * jump.c (jump_optimize): Set up to handle conditional call.
7360         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
7361         (delete_barrier): New function.
7363         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
7365         * recog.c (nonmemory_operand): Accept ADDRESSOF.
7367         * tree.c (build_type_attribute_variant): Push to obstack of
7368         ttype around type_hash_canon call.
7370         * expr.c (placeholder_list): Move decl to file scope.
7371         (expand_expr): Don't force access to volatile just because its
7372         address is taken.
7373         If ignoring reference operations, just expand the operands.
7374         (expand_expr, case COMPONENT_REF): Propagate
7375         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
7376         Refine test for using bitfield operations vs pointer punning.
7377         (expand_expr, case CONVERT_EXPR): If converting to
7378         BLKmode UNION_TYPE from BLKmode, just return inner object.
7379         Use proper mode in store_field call.
7380         Properly set sizes of object to store and total size in store_field
7381         call for convert to union.
7382         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
7383         memory (like for ADDR_EXPR).  Also, don't put constant in register if
7384         we'll want it in memory.
7385         (readonly_fields_p): New function.
7386         (expand_expr, case INDIRECT_REF): Call it if LHS.
7387         (expand_assignment): Handle a RESULT_DECL where
7388         DECL_RTL is a PARALLEL.
7389         (do_jump, case WITH_RECORD_EXPR): New case.
7390         (get_inner_reference): Always go inside a CONVERT_EXPR
7391         and NOP_EXPR if both modes are the same.
7392         (store_field): Use bitfield operations if size of bitsize is not same
7393         as size of RHS's type.
7394         Check for bitpos not a multiple of alignment in BLKmode case.
7395         Do block move in largest possible alignment.
7396         (store_constructor): Set BITSIZE to -1 for variable size and properly
7397         in case of array of BLKmode.
7398         (expand_expr_unaligned): New function.
7399         (do_compare_and_jump): Call it.
7401         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
7402         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
7403         does not include 'o'.
7405         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
7406         both SET_DEST and SET_SRC reference a virtual register.
7407         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
7409         * integrate.c (expand_inline_function): Handle case of setting
7410         virtual stack vars register (from built in setjmp); when parameter
7411         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
7412         (subst_constant): Add new parm, MEMONLY.
7413         (expand_inline_function, integrate_parm_decls): Pass new parm.
7414         (integrate_decl_tree): Likewise.
7415         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
7416         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
7417         (copy_rtx_and_substitute, case SET): Add explicit calls to
7418         copy_rtx_and_substitute for both sides.
7420         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
7421         constraints.
7422         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
7423         within INDEX_TYPE, instead of before.
7424         (fixup_gotos): Use f->target_rtl, not the next insn,
7425         since latter may be from a later fixup.
7426         (expand_value_return): Correctly convert VAL when promoting function
7427         return; support RETURN_REG being a PARALLEL.
7428         (expand_return): When checking for result in regs and having
7429         cleanup, consider PARALLEL in DECL_RTL as being in regs.
7431 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
7433         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
7434         last_nominal_fname): Mark const.
7435         (struct include_hash: name, nshort, control_macro): Mark
7436         const.
7437         (struct macrodef: symnam): Mark const.
7438         (struct if_stack: fname): Mark const.
7439         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
7440         (IStable): New character-syntax array which encompasses all
7441         the old is_foo arrays.
7442         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
7443         is_space): New macros for interrogating IStable.
7444         (check_macro_name): Kill last argument.  All callers changed.
7446         * cppinit.c (initialize_char_syntax): Delete.
7447         (is_idchar, is_idstart, is_hor_space, is_space,
7448         trigraph_table): Delete.
7449         (IStable): New.  Initialize with clever macros to avoid
7450         information duplication.
7451         (builtin_array): Table of builtins to get rid of explicit list
7452         in initialize_builtins.
7453         (initialize_builtins): Use builtins_array.
7454         (cpp_start_read): Call init_IStable, and set IStable['$'] if
7455         opts->dollars_in_ident.
7457         * cppexp.c: Change all refs to is_xyz[] arrays to use new
7458         is_xyz() macros.
7459         (cpp_parse_expr): Avoid 'format string is not constant'
7460         warning. Use ISGRAPH to identify printable chars.
7461         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
7462         is_xyz() macros.
7463         (read_and_prescan): Map trigraphs to chars with open-coded
7464         if-else-if-... sequence, not a lookup table.
7465         * cpphash.c: Change all refs to is_xyz[] arrays to use new
7466         is_xyz() macros.
7467         * cpplib.c: Change all refs to is_xyz[] arrays to use new
7468         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
7469         (check_macro_name): Remove ability to report an invalid
7470         assertion name, which is never used.
7471         (do_line): Constify a couple of char *'s.
7472         * cppmain.c (main): Call cpp_cleanup before returning.
7474 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
7476         * ggc.h (struct ggc_statistics): New type.
7477         (ggc_get_size): New function.
7478         (ggc_print_statistics): Likewise.
7479         * ggc-common.c (ggc_stats): New variable.
7480         (ggc_mark_rtx_children): Keep statistics.
7481         (ggc_mark_tree_children): Likewise.
7482         (ggc_print_statistics): New function.
7483         * ggc-page.c (struct globals): Add bytes_mapped field.
7484         (alloc_anon): Update it.
7485         (release_pages): Likewise.
7486         (ggc_get_size): New function.
7487         (ggc_page_print_statistics): New function.
7488         * ggc-simple.c (ggc_get_size): New function.
7490 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
7492         * flow.c (propagate_block): When the last reference to a label
7493         before an ADDR_VEC is deleted because the reference is a dead
7494         store, delete the ADDR_VEC.
7496 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
7498         * resource.c (find_free_register): Don't use the frame pointer
7499         if frame_pointer_needed.
7501 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
7503         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
7504         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
7506         * config/i960/i960.c (i960_va_start): New locals base, num.
7507         Use INDIRECT_REF instead of ARRAY_REF on valist.
7508         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
7510 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
7512         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
7514 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
7516         * tree.def (PLACEHOLDER_EXPR): Update comments.
7518 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7520         * c-common.c (check_format_info): Avoid non-literal format string
7521         warnings when `first_arg_num' is zero.
7523 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7525         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
7527 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
7529         * arm.md (casesi_insn): Add a clobber of the condition code
7530         register.
7532 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
7534         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
7535         used by both cc1 and cc1plus.
7537 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
7539         * config/arm/arm.c: Initialise arm_structure_size_boundary to
7540         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
7541         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
7542         to the value 32 if it has not already been defined.
7543         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
7544         Override definition in arm.h with a value of 8.
7546 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
7548         * c-pragma.c (push_alignment): Don't check the return value
7549         of xmalloc.
7551 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
7553         * sparc.h (ADJUST_COST): Fix thinko.
7555 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
7557         * cccp.c (rescan): Fixed obp pointer handling around call to
7558         check_expand subroutine.
7560 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
7562         * gcse.c (delete_null_pointer_checks): Only record non-null info
7563         for pseudos when examining stores.
7565         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
7566         splitters for these patterns.  Use "#" for output templates.
7567         (addsi3_carryin_shift): New pattern.
7569 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
7571         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
7572         of the function return register into a plain REG until
7573         after function inlining is done.
7575 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
7577         * jump.c (jump_optimize_1): If we did cross-jumping, and
7578         the data will matter, rebuild the CFG.
7579         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
7580         not optimizing.  Don't run shorten_branches.
7581         * toplev.c (rest_of_compilation): Run shorten_branches after
7582         reg_to_stack.
7584 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
7586         * rtl.h (note_stores): Add additional paramter.
7587         * rtlanal.c (reg_set_p_1): Take additional paramter.
7588         (reg_set_last_1): Likewise.
7589         (reg_set_p): Adjust call to note_stores.
7590         (reg_set_last): Likewise.
7591         (note_stores): Pass data parameter to worker function.
7592         * alias.c (record_set): Take additional parameter.
7593         (init_alias_analysis): Pass it.
7594         * caller-save.c (mark_set_regs): Take additional parameter.
7595         (save_call_clobbered_regs): Pass NULL to note_stores.
7596         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
7597         parameter.
7598         (record_dead_and_set_regs_1): Likewise.
7599         (reg_dead_at_p_1): Likewise.
7600         (combine_instructions): Adjust calls to note_stores.
7601         (try_combine): Likewise.
7602         (record_dead_insn): Remove.
7603         (record_dead_and_set_regs): Adjust calls to note_stores.
7604         (reg_dead_at_p): Likewise.
7605         * cse.c (invalidate_skipped_set): Take additional parameter.
7606         (cse_check_loop_start): Likewise.
7607         (cse_check_loop_start_value): Remove.
7608         (cse_set_around_loop): Adjust calls to note_stores.
7609         * flow.c (notice_stack_pointer_modification): Take additional
7610         parameter.  Remove duplicate declaration.
7611         (record_volatile_insns): Adjust calls to note_stores.
7612         * gcse.c (record_set_info): Take additional parameter.
7613         (record_last_set_info): Likewise.
7614         (invalidate_nonnull_info): Likewise.
7615         (record_set_insn): Remove.
7616         (compute_sets): Adjust calls to note_stores.
7617         (last_set_insn): Remove.
7618         (compute_hash_table): Adjust calls to note_stores.
7619         (insert_insn_end_bb): Likewise.
7620         (delete_null_pointer_checks): Likewise.
7621         * global.c (mark_reg_store): Take additional parameter.
7622         (mark_reg_clobber): Likewise.
7623         (reg_becomes_live): Likewise.
7624         (global_conflicts): Adjust calls to note_stores.
7625         (build_insn_chain): Likewise.
7626         * integrate.c (note_modified_parmregs): Take additional parameter.
7627         (mark_stores): Likewise.  Make it static.
7628         (save_for_inline_nocopy): Adjust calls to note_stores.
7629         (try_constants): Likewise.
7630         * integrate.h (mark_stores): Remove declaration.
7631         * jump.c (mark_modified_reg): Take additional parameter.
7632         (thread_jumps): Adjust calls to note_stores.
7633         * local-alloc.c (validate_equiv_mem_from_store): Take additional
7634         parameter.
7635         (no_equiv): Likewise.
7636         (reg_is_set): Likewise.
7637         (validate_equiv_mem): Adjust calls to note_stores.
7638         (update_equiv_regs): Likewise.
7639         (block_alloc): Likewise.
7640         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
7641         (note_addr_stored): Take additional parameter.
7642         (note_set_pseudo_multiple_uses): Likewise.
7643         (record_initial): Likewise.
7644         (prescan_loop): Adjust calls to note_stores.
7645         (strength_reduce): Likewise.
7646         (check_dbra_loop): Likewise.
7647         * regmove.c (flags_set_1): Take additional paramter.
7648         (mark_flags_life_zones): Adjust calls to note_stores.
7649         * reload1.c (mark_not_eliminable): Take additional parameter.
7650         (forget_old_reloads_1): Likewise.
7651         (reload_cse_invalidate_rtx): Likewise.
7652         (reload_cse_check_clobber): Likewise.
7653         (reload_combine_note_store): Likewise.
7654         (move2add_note_store): Likewise.
7655         (reload): Adjust calls to note_stores.
7656         (reload_as_needed): Likewise.
7657         (emit_reload_insns): Likewise.
7658         (reload_cse_regs_1): Likewise.
7659         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
7660         (reload_combine): Adjust calls to note_stores.
7661         * resource.c (update_live_status): Take additional paramter.
7662         (mark_target_live_regs): Adjust calls to note_stores.
7663         * stupid.c (find_clobbered_regs): Take additional parameter.
7664         (stupid_life_analysis): Adjust calls to note_stores.
7666 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
7668         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
7669         definition.
7671         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
7672         definition.
7674         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
7675         of the variable arm_structure_size_boundary.
7677 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
7679         * alias.c (init_alias_analysis): Allocate reg_known_value and
7680         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
7681         and reg_seen.
7682         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
7683         * cse.c (cse_main): Call end_alias_analysis.
7684         * haifa-sched.c (schedule_insns): Likewise.
7685         * local-alloc. (update_equiv_regs): Likewise.
7686         * reload1.c (reload_cse_regs): Likewise.
7688 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7690         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
7691         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
7692         mapping from MASK_FPU.
7694 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
7696         * sparc.md (call): Don't bound structure return size to 0xfff.
7698 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
7700         * resource.c (mark_target_live_regs): Check that the target
7701         insn wasn't created after compute_bb_for_insn.
7703 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
7705         * ggc-page.c (poison_pages): Don't be overzealous.
7707 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
7709         * alias.c: Update comments for ADDRESS.
7710         (nonlocal_reference_p): Look inside the ADDRESS to determine if
7711         it is a local memory reference.
7713         * c-typeck.c (build_function_call): Check that the built-in
7714         function is of class BUILT_IN_NORMAL before trying to recongize
7715         it as BUILT_IN_ABS.
7716         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
7717         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
7719 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
7721         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
7722         of alloca.
7723         (pre_gcse): Likewise.
7724         (hoist_expr_reaches_here_p): Likewise.
7725         (hoist_code): Likewise.
7726         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
7727         code to ...
7728         (pre_expr_reaches_here_p_work): ... here.
7729         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
7730         code to ...
7731         (expr_reaches_here_p_work): ... here.
7733 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
7735         * resource.c (find_basic_block): Delete.
7736         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
7737         (init_resource_info): Call compute_bb_for_insn.
7739 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
7741         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
7742         with already adjacent blocks, but no fallthru.
7743         (merge_blocks_move_successor_nojumps): Simplify.
7744         (debug_flow_info): New.
7746         * toplev.c (rest_of_compilation): Open jump1 dump file before
7747         jump and close after, as opposed to just using dump_rtl.
7749 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7751         * reload.h (earlyclobber_operand_p): Declare.
7752         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
7753         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
7754         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
7755         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
7757 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
7758                           Richard Henderson  <rth@cygnus.com>
7760         * emit-rtl.c (emit_block_insn_before): New.
7761         (emit_block_insn_after): New.
7762         * basic-block.h: Declare them.
7764         * bitmap.h: Protect from multiple inclusion.
7766         * recog.c (scratch_operand): Handle VOIDmode correctly.
7768         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
7770         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
7771         * function.c (assign_parms): Likewise.
7772         * global.c (global_conflicts): Clarify STACK_REGS commentary.
7774         * reg-stack.c (max_uid): Remove.
7775         (blocks, block_begin, block_end, block_drops_in): Remove.
7776         (block_stack_in, block_out_reg_set, block_number): Remove.
7777         (struct block_info_def, BLOCK_INFO): New.
7778         (enum emit_where): New.
7779         (current_block): New.
7780         (BLOCK_NUM): Remove.
7781         (mark_regs_pat, record_label_references): Remove.
7782         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
7783         (nan): New.
7784         (goto_block_pat, print_blocks, dump_stack_info): Remove.
7785         (reg_to_stack): Simplified test for existance of fp code.  Use
7786         flow.c code.  Call shorten_branches after cross-jump opt.
7787         (check_asm_stack_operands): Renamed from record_asm_reg_life.
7788         Return false if the asm doesn't use stack regs.  Don't do life
7789         analysis on the asm.
7790         (emit_pop_insn): Replace function pointer arg `when' with
7791         enum `where'.  Update all callers.
7792         (change_stack): Likewise.  Update basic block end.
7793         (emit_swap_insn): Use current_block->head to limit reverse search
7794         for start of block.  Use emit_block_insn_after.
7795         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
7796         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
7797         structure assignment instead of bcopy.
7798         (print_stack): New.
7799         (convert_regs_entry, convert_regs_exit): New.
7800         (convert_regs_1, convert_regs_2): Split out from convert_regs.
7801         Work on basic blocks and the CFG.
7802         (convert_regs): Use them.
7804         * i386.c (output_fix_trunc): Remove code for DImode input operand
7805         not at top-of-stack.
7806         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
7807         appropriate mode.
7808         (fix_truncdi_1): Allow any mode scratch.
7810 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
7812         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
7813         * linux.h, netbsd.h, vms.h: Not here.
7815 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
7817         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
7818         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
7819         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
7820         CONDITIONAL_REGISTER_USEAGE): Use them.
7821         * config/mips/mips.c (mips_move_1word,mips_move_2words,
7822         gen_conditional_branch,override_options) : Use them.
7823         * config/mips/mips.md : Use them.
7825 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
7827         * i386.md (zero_extendqihi2): Use SImode register name with andl.
7829 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
7831         * integrate.c (function_cannot_inline_p): Don't allow inlining
7832         if setjmp is used.
7834 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7836         * c-parse.in (cast_expr): Constify.
7838         * cccp.c (special_symbol): Likewise.
7840         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
7842         * dwarf2out.c (base_type_die): Likewise.
7844         * global.c (allocno_compare): Likewise.
7846         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
7848         * regclass.c (fix_register): Likewise.
7850         * rtl.h (fix_register): Likewise.
7852         * stupid.c (stupid_reg_compare): Likewise.
7854         * toplev.c (decode_f_option): Likewise.
7856         * tree.c (build_complex_type): Likewise.
7858 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
7860         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
7862 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7864         * reload.c (find_reloads): Compute mode and nregs fields of all
7865         reloads.
7866         * reload1.c (calculate_needs_all_insns): Simplify a bit.
7867         (calculate_needs): Use precomputed mode/nregs values.
7868         (allocate_reload_reg): Likewise.
7869         Break out two...
7870         (failed_reload, set_reload_reg): ... new functions.
7871         (choose_reload_regs_init): New function, mostly broken out from...
7872         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
7873         Also lose one #if 0 block.
7875 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
7877         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
7878         substitution.
7880 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
7882         * tree.h (BLOCK_TYPE_TAGS): Remove.
7883         (BLOCK_END_NOTE): Likewise.
7884         (BLOCK_LIVE_RANGE_FLAG): Likewise.
7885         (BLOCK_LIVE_RANGE_START): Likewise.
7886         (BLOCK_LIVE_RANGE_END): Likewise.
7887         (tree_block): Remove live_range_flag, live_range_var_flag, and
7888         type_tags.  Remove end_note, live_range_start, and live_range_end.
7889         (remember_end_note): Remove prototype.
7890         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
7891         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
7892         remember_end_note.
7893         * ggc-common.c (ggc_mark_tree_children): Don't mark
7894         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
7895         * integrate.c (adjust_copied_decl_tree): Remove.
7896         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
7897         * stmt.c (last_block_end_note): Remove.
7898         (init_stmt): Don't add a GC root for it.
7899         (expand_fixup): Don't set it.
7900         (remember_end_note): Remove.
7901         (expand_end_bindings): Don't set last_block_end_note.
7903 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7905         * reload1.c (reload_reg_free_for_value_p): Show
7906         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
7907         reloads.
7909 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
7911         * expmed.c (extract_bit_field): Allow for the case of non-integer
7912         objects that are smaller than a word (like SFmode on a 64-bit
7913         machine).
7915         * loop.c (basic_induction_var): A non-integer variable which is
7916         being set by a paradoxical subreg is probably not a biv.
7918 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7920         * prefix.c (translate_name) Check for empty prefix string.
7922 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
7924         * Makefile.in (CPP_CROSS_NAME): New variable.
7925         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
7926         xcpp.
7927         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
7928         names of the files to be uninstalled.
7930 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
7932         * collect2.c (IS_DIR_SEPARATOR): Define.
7933         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
7935         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
7936         functions too.
7938         * haifa-sched.c (add_dependence): Update the true dependency
7939         cache the first time we add a true dependence to the LOG_LINKS chain.
7941 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
7943         * fold-const.c (fold): Fix comment.
7945 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7947         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
7948         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
7949         dbxout_start_new_source_file, dbxout_source_file,
7950         dbxout_source_line, dbxout_finish, dbxout_type_fields,
7951         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
7952         Constify a char*.
7953         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
7954         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
7955         (dbxout_block): Initialize variable `blocknum'.
7957         * dbxout.h (dbxout_init, dbxout_finish,
7958         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
7959         dbxout_args, dbxout_source_line): Constify a char*.
7961         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
7962         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
7963         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
7964         low_pc_attribute, high_pc_attribute, body_begin_attribute,
7965         body_end_attribute, comp_dir_attribute, sf_names_attribute,
7966         src_info_attribute, mac_info_attribute, producer_attribute,
7967         lookup_filename, generate_macinfo_entry, fundamental_type_code,
7968         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
7969         dwarfout_undef): Constify a char*.
7970         (add_incomplete_type, retry_incomplete_types): Add prototypes.
7972         * dwarfout.h (dwarfout_define, dwarfout_undef,
7973         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
7975 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
7977         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
7978         (MULTILIB_ISA_DEFAULT): New.
7979         (MULTILIB_DEFAULTS): Use it.
7980         * config/mips/mips.c (): Remove the now unnecessary definition
7981         of MIPS_ISA_DEFAULT.
7982         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
7983         unnecessary definition.
7985 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
7987         * arm.md (pic_load_addr): Add constraints to operand 1.
7989 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
7991         * fixinc/genfixes:  Provide a means for specifying -D options to
7992         AutoGen
7994 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
7996         * arm.c (arm_override_options): Correct initialization of
7997         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
7998         arm_is_strong, and arm_is_6_or_7.
8000         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
8001         (note_set_pseudo_multiple_uses): New function.
8002         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
8003         if a pseudo set in the loop exit is used elsewhere.
8005 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
8007         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
8009 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
8011         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
8012         a single load-address pattern.
8014 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
8016         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
8017         depending on whether or not line-number notes are present.
8019 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8021         * cccp.c (progname, file_buf, default_include, include_file,
8022         macrodef, definition, hashval, wchar_type, user_label_prefix,
8023         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
8024         expand_to_temp_buffer, is_system_include, base_name,
8025         absolute_filename, read_name_map, open_include_file,
8026         record_control_macro, check_precompiled, check_preconditions,
8027         pcfinclude, pass_thru_directive, create_definition,
8028         check_macro_name, comp_def_part, collect_expansion,
8029         check_assertion, read_token_list, assertion_install,
8030         assertion_lookup, eval_if_expression, conditional_skip,
8031         validate_else, skip_quoted_string, quote_string, macarg1,
8032         error_from_errno, install, lookup, hashf, dump_defn_1,
8033         perror_with_name, pfatal_with_name, main, trigraph_pcp,
8034         check_white_space, rescan, handle_directive, monthnames,
8035         special_symbol, do_include, remap_include_file, write_output,
8036         arglist, do_assert, do_unassert, do_line, do_error, do_once,
8037         do_ident, do_sccs, do_xifdef, skip_if_group,
8038         output_line_directive, macroexpand, macarg, change_newlines,
8039         initialize_builtins, make_definition): Constify a char*.
8041         * pcp.h (stringdef): Likewise.
8043 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
8045         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
8046         not of pattern.
8048 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
8049                           Richard Henderson  <rth@cygnus.com>
8051         * alias.c: Include ggc.h.
8052         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
8053         (record_set): Verify enough room in reg_base_value.
8054         (init_alias_analysis): Allocate reg_base_value with xcalloc.
8055         Register it as a GC root.
8056         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
8057         * Makefile.in (alias.o): Depend on ggc.h.
8059         * unroll.c (unroll_loop): Verify the insn before a barrier
8060         is a JUMP_INSN before checking JUMP_LABEL.
8062 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8064         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
8065         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
8066         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
8067         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
8068         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
8069         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
8071 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8073         * output.h (ctors_section, dtors_section, bss_section): Prototype.
8075         * alpha/alpha-interix.h (text_section): Delete prototype.
8076         * alpha/elf.h (text_section): Likewise.
8077         * arm/linux-elf.h (text_section): Likewise.
8078         * arm/linux-telf.h (text_section): Likewise.
8079         * c4x/c4x.h (text_section): Likewise.
8080         * dsp16xx/dsp16xx.h (bss_section): Likewise.
8081         * elfos.h (text_section): Likewise.
8082         * i386/aix386ng.h (text_section): Likewise.
8083         * i386/i386-interix.h (text_section): Likewise.
8084         * i386/sco5.h (text_section): Likewise.
8085         * i386/svr3gas.h (text_section): Likewise.
8086         * nextstep.h (text_section): Likewise.
8087         * psos.h (text_section): Likewise.
8088         * ptx4.h (text_section): Likewise.
8089         * svr3.h (text_section): Likewise.
8090         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
8092 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8094         * final.c (peephole): Delete prototype.
8096         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
8097         (pre_insert_copies): Remove unused variable `bb'.
8099         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
8100         prototypes.
8102         * output.h (peephole): Add prototype.
8104 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
8106         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
8107         -O0.
8109 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
8111         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
8112         for inlined declarations.
8114 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
8116         * arm.c (logical_binary_operator): New fucntion.
8117         * arm.h (logical_binary_operator): Declare it.
8118         (PREDICATE_CODES): Handle logical_binary_operator.
8119         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
8120         output constraints.  Add appropriate splitters.
8121         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
8122         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
8123         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
8125 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8127         * genoutput.c (struct operand_data): New elt eliminable.
8128         (output_operand_data): Write it.
8129         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
8130         (compare_operands): Take it into account.
8131         * recog.h (struct insn_operand_data): New elt eliminable.
8132         * reload1.c (check_eliminable_occurrences, elimination_effects): New
8133         functions.
8134         (old_asm_operands_vec, new_asm_operands_vec): Delete.
8135         (eliminate_regs): Move code that detects changes to elimination
8136         target regs into new function elimination_effects.
8137         Delete one #if 0 block.
8138         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
8139         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
8140         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
8141         Only call eliminate_regs for real operands of the insn, not for parts
8142         of its structure or parts matched by things like match_operator.
8143         Use elimination_effects and check_eliminable_occurrences.  Use
8144         copy_insn to duplicate the pattern when not in the final pass.
8146 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
8148         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
8149         and fld.
8151 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
8153         * fixinc/README: document the "mach" machine matching test
8154         * fixinc/fixfixes.c: Implement the #else/#endif label fix
8155         * fixinc/fixtests.c: Implement the #else/#endif label test
8156         * fixinc/inclhack.def: utilize these tests and fixes
8157         * fixinc/inclhack.sh:  regen
8158         * fixinc/fixincl.x:  regen
8159         * fixinc/fixincl.sh:  regen
8161 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
8163         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
8164         depend on ggc.h.
8166 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
8168         * gcc.1: Document exit codes.
8170 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8172         * calls.c: Include tm_p.h later, so everything we need is defined.
8173         * expr.c: Likewise.
8174         * function.c: Likewise.
8176         * except.c: Include tm_p.h.
8178         * sparc.c: Likewise.
8179         (dwarf2out_cfi_label): Don't prototype.
8180         (check_return_regs, epilogue_renumber,
8181         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
8182         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
8183         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
8184         ultra_schedule_insn): Add static prototype.
8185         (data_segment_operand, text_segment_operand): Call itself with the
8186         proper number of arguments.
8187         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
8189         * sparc.h: Move all declarations to sparc-protos.h.
8190         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
8191         symbolic_operand.
8193         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
8195         * config/svr4.h (text_section, ctors_section, dtors_section): Add
8196         Prototypes.
8197         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
8198         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8199         ASM_OUTPUT_ASCII): Constify a char*.
8201         * sparc-protos.h: New file for sparc prototypes.
8203 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8205         * function.c (record_insns, contains): Always declare and define.
8206         (record_insns): Mark with ATTRIBUTE_UNUSED.
8208 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8210         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
8211         to .section when outputting a .bss section to deal with multiple
8212         .bss input sections (as happens with -fdata-sections)
8213         Also output %progbits, not @progbits so the assembler doesn't treat as
8214         a comment.
8215         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
8217         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
8218         thumb parts even when building with non-thumb CPUs, by forcing
8219         thumb mode.
8221 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
8223         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
8224         (movdf_const_intreg_sp64): Similarly.
8226         * local-alloc.c (update_equiv_regs): Check the correct insn
8227         for pre-existing REG_EQUIV notes.
8229 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
8231         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
8232         block reached by a branch if we're not going to actually process
8233         this block.
8235 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
8237         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
8238         a local extern function declaration.
8240 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
8242         * i386.c (ix86_expand_prologue): Properly wrap USE around
8243         reg for CALL_INSN_FUNCTION_USAGE.
8245 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
8247         * config/mips/mips.md (movdf_internal1a): Allow floating-point
8248         move between GP_REGs.
8250 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
8252         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
8253         the mode size when finding out if an offset is legal.
8255 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
8257         * basic-block.h (PROP_*): Move constants from ...
8258         * flow.c: ... here.
8259         (compute_bb_for_insn): Free the array before reallocating.
8260         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
8261         (allocate_reg_life_data): Reset all reg variables collected by
8262         propagate_block.
8263         (get_block_head_tail): Don't convert from bb to block.
8264         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
8265         (find_insn_reg_weight): Take block not bb.
8266         (schedule_block): Don't set block num for moved insns.
8267         (schedule_region): Don't update_life_info or find_insn_reg_weight.
8268         (schedule_insns): Do it here instead.
8269         * combine.c (combine_instructions): Invoke compute_bb_for_insn
8270         before update_life_info.
8271         * recog.c (split_all_insns, peephole2_optimize): Update for
8272         new arg to update_life_info.
8273         * rtlanal.c (remove_note): Cope with NULL note.
8274         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
8275         if we did sched1.
8277 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
8279         * jump.c (jump_optimize_1): More accurately detect casesi insns.
8281         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
8282         block records so that merge_blocks_nomove will clean up correctly.
8283         (split_edge): Handle casesi insns.
8285         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
8287 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
8289         * pa.md (call, call_value): Do not emit a blockage after restoring
8290         the PIC register.
8292 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
8294         * c-typeck.c (c_expand_asm_operands): Fix typo.
8296 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8298         * arm.c (fpu_rhs_operand): Verify modes.
8299         (fpu_add_operand): Likewise.
8300         (di_operand): Likewise.
8301         (soft_df_operand): Likewise.
8303 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
8305         * arm.c (arm_return_in_memory): APCS rules state that the elements
8306         of a structure returned in a register must be 'integer-like'.
8308 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
8310         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
8311         in the source tree when the generated targets are out of date
8312         * fixinc/genfixes: Alter it to run individual fixes for make.
8313         * fixinc/README: rewrite
8314         * fixinc/inclhack.def: moved initial comments to README
8316 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
8318         * toplev.c (main): Do not generate an error message if an
8319         unrecognised command line switch is recognisable by another
8320         language.  If extra_warnings are enabled, then generate a
8321         warning message instead.
8323 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
8325         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
8326         (insert_pack_attributes): Delete prototype.
8328         * c-pragma.c (default_alignment): New static variable.
8329         (push_alignment): Initialize to current effective alignment.
8330         (pop_alignment): Use to set new alignment.
8331         (insert_pack_attributes): Delete function.
8332         (handle_pragma_token): Set default_alignment as well each time
8333         a #pragma pack(<n>) is encountered.
8335 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
8337         * reg-stack.c (stack_result): Aggregates are not returned in
8338         stack registers.
8340 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
8342         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
8344 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
8346         * basic-block.h (set_block_num): Declare.
8347         * flow.c (update_life_info): Don't call compute_bb_for_insn
8348         or free_basic_block_vars.
8349         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
8350         (insn_orig_block): Remove.
8351         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
8352         (schedule_block): Keep BLOCK_NUM up-to-date.
8353         (schedule_insns): Use compute_bb_for_insn.
8354         * recog.c (split_all_insns): Likewise.
8355         (peephole2_optimize): Likewise.
8357 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
8359         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
8360         if the pic register is used.
8362 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8364         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
8365         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
8366         if that tests TREE_PERMANENT.
8368 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
8370         * cse.c (invalidate_for_call): Do not remove memory references from
8371         the table here.  It's handled elsewhere.
8373         * haifa-sched.c (add_dependence): Protect references to the
8374         true dependency cache with #ifdef INSN_SCHEDULING.
8375         (remove_dependence): Similarly.
8377         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
8378         to the cfg code that this is a return instruction.
8379         * mn10300.md (return_internal): Similarly.
8381         * combine.c (get_last_value): If the last set of a register
8382         is after subst_low_cuid, then we can not use it to determine
8383         the register's last value.
8385 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
8387         * Makefile.in: Back out previous change.
8389 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
8391         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
8393         * haifa-sched.c (add_dependence): Only check/update the cache
8394         if it exists.
8395         (remove_dependence): Likewise.
8396         (schedule_insns): Only create the true_dependency_cache if the
8397         average number of instructions in a basic block is very large.
8399 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
8401         * Makefile.in (ggc-common.o): Depend on genrtl.h.
8402         (ggc-simple.o): Likewise.
8403         (ggc-page.o): Likewise.
8405 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
8407         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
8408         Prototype for exported functions.
8409         (pre_lcm, pre_rev_lcm): Remove prototypes.
8410         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
8411         (compute_available): Move to lcm.c, and change parameter order.
8412         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
8413         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
8414         (gcse_main): No longer call compute_preds_succs.  Rebuild the
8415         set table after reach pre pass.
8416         (pre_insert_map, pre_delete_map, edge_list): New.
8417         (alloc_pre_mem): Allocate edge vectors.
8418         (free_pre_mem): Delete edge vectors.
8419         (compute_pre_data): Call new edge based lcm routines.
8420         (process_insert_insn): New function.
8421         (insert_insn_end_bb): Use it.
8422         (pre_edge_insert): New function.
8423         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
8424         needed.
8425         (pre_insert_copies): Revamp using new edge based lcm outputs.
8426         (pre_delete): Likewise.
8427         (one_pre_gcse_pass): Insert & remove fake edges to the exit
8428         block.
8429         (compute_code_hoist_vbeinout): New new edge based routines.
8430         * lcm.c: Remove all the old LCM functions.  Replace with new ones
8431         that work with the new cfg datastructures and work with edges
8432         instead of blocks.
8434 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8436         * reload.h (struct reload): Add new fields "mode" and "nregs".
8437         * reload1.c: Change all occurrences of reload_mode and reload_nregs
8438         to reference the "mode" and "nregs" field within struct reload.
8440 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
8442         * haifa-sched.c (true_dependency_cache): New.
8443         (add_dependence): Use the true dependency cache to avoid expensive
8444         walks down the LOG_LINKS dependency list.  Add entries to the
8445         cache as necessary.
8446         (remove_dependence): Remove entries from the true dependency cache
8447         as needed.
8448         (schedule_insns): Allocate and initialize and free the true
8449         dependency cache.
8451         * haifa-sched.c (schedule_insns): Do not remove inter-block
8452         dependencies anymore.
8454 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
8456         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
8457         * i386/t-winnt: Likewise.
8459 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
8461         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
8463 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
8465         * Makefile.in (LANGUAGES): Omit "proto".
8466         (clean): Remove stale comment about removing unprotoize.c.
8468 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8470         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
8471         using arithmetic on void pointers.
8473 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
8475         * haifa-sched.c (compute_block_forward_dependencies): Only check
8476         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
8478 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
8480         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
8481         (expr_equiv_p): Reject memories with different alias sets.
8483 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
8485         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
8486         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
8487         (f_options): Add "bounded-pointers" and "bounds-check" entries.
8488         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
8489         (lang_init): Set default for flag_bounds_check if still "unspecified".
8491 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8493         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
8495 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8497         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
8498         instructions.
8500 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8502         * config/c4x/c4x.md (*db_noclobber,
8503         *decrement_and_branch_until_zero_noclobber): New patterns and
8504         associated splitters.
8506 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8508         * config/c4x/c4x.md (parallel instruction patterns): Rework
8509         constraints to keep reload happy.
8511 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8513         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
8514         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
8515         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
8516         Add new patterns and associated post-reload splitters.
8518 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8520         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
8522 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8524         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
8525         if appropriate.
8526         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
8528 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8530         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
8531         memory mode.
8533 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
8535         * pa.c (move_operand): Rely on memory_address_p to determine the
8536         validity of non-indexed memory addresses.
8537         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
8538         operand in DFmode and SFmode when generating PA2.0 code.
8540 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
8542         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
8544 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
8546         * mips.c (function_prologue): Fix argument types.
8547         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
8548         (casesi_internal): Write to the scratch register.
8550 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
8552         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
8553         to U_CHAR **.
8554         (parse_charconst): Delete unnecessary cast when calling
8555         cpp_parse_escape.
8556         (cpplib.h): Kill prototype of cpp_parse_escape.
8558 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
8560         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
8561         * unroll.c (unroll_loop): Cast return value of alloca.
8562         * i370/i370.c: Include function.h and toplev.h.
8563         (i370_label_scan): Remove c++ commented abort.
8564         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
8565         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
8566         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
8567         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
8569 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
8571         * config/t-freebsd: Do not override USER_H.
8572         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
8574 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
8575                           Mumit Khan  <khan@xraylith.wisc.edu>
8577         * c-parse.in (component_decl): Support anonymous struct/union.
8578         (%expect): Update.
8579         * c-parse.y: Regenerate.
8580         * c-parse.c: Likewise.
8581         * objc/objc-parse.y: Likewise.
8582         * objc/objc-parse.c: Likewise.
8583         * c-decl.c (finish_struct): Don't sort the fields.
8584         (field_decl_cmp): Delete unused function.
8586 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
8588         * sparc.md (movsf_const_intreg): Revert last constraint change.
8589         (movdf_const_intreg_sp32): Likewise.
8591 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
8593         * cse.c: Include hashtab.h instead of splay-tree.h
8594         (struct cse_reg_info): No longer use variant union.  Add new
8595         field "regno".  All references changed to avoid union.
8596         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
8597         (free_cse_reg_info): Remove.
8598         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
8599         (get_cse_reg_info): Revamp to use expandable hash tables instead
8600         of splay trees.  Initialize new fields in cse_reg_info structure.
8601         (new_basic_block): Similarly.
8603 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
8605         * genrecog.c (message_with_line): Prototype.
8606         (validate_pattern): Pass along the set for the dest, not a flag.
8607         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
8608         Check for PC/CC0 as sources.
8609         (nodes_identical): Check for children position match before
8610         allowing the combination.
8612         * rtl.c (read_rtx): Track line number across \\\n.
8614 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
8616         * mips.h (SPECIAL_MODE_PREDICATES): New.
8617         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
8618         (movdi+1, movsi+1): Add output reload constraint.
8619         (casesi_internal): Likewise.  Fix commentary.
8620         (return_internal): Use pmode_register_operand.
8622 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
8624         * 1750a.md (movstrqi): Add missing output reload constraint.
8625         (call_value): Likewise.
8626         * a29k.md (cpxxx patterns): Add missing match_operator mode.
8627         (jmpfdec): Add missing inout reload constraint.
8628         * elxsi.md (addsi patterns): Add missing output reload constraint.
8629         (move from sp): Use @ alternates.
8630         (call_value): No constraint on output.
8631         * fr30.md (movsi_pop): Add missing output reload constraint.
8632         (movsf_constant_store): Likewise.
8633         (splits): Remove constraints.
8634         (subsi3): Add missing mode.
8635         * i370.md (cmpstrsi+1): Add missing output reload constraint.
8636         (call_value): Likewise.
8637         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
8638         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
8639         * m32r.md (movsicc_internal): Add output reload constraint.
8640         (movstrsi_internal): Add inout reload constraints.
8641         * m88k.h (reg_names): Don't declare.
8642         (SPECIAL_MODE_PREDICATES): New.
8643         * m88k.md (*): Use register_operand not reg_or_0_operand
8644         on destinations.
8645         * mn10200.h (PREDICATE_CODES): New.
8646         * ns32k.md (ffs pattern): Add output reload constraint.
8647         * pdp11.md (sob pattern): Add inout reload constraint.
8648         * sh.md (splits): Remove constraints.
8649         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
8650         * v850.md (pattern_is_ok_for_epilogue): Likewise.
8651         * vax.md (jgequ pattern): Add inout reload constraint.
8653 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
8655         * configure.in (djgpp): Revert previous patch.
8656         * configure: Rebuit.
8657         * config/i386/djgpp.h: Revert previous patch.
8659 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
8661         * fixinc/inclhack.def: Restore patch lost during last merge of
8662         "no_bogosity" branch.
8663         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
8665 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8667         * fixincludes: Add a HPUX 11 fix for inttypes.h.
8668         * fixinc/inclhack.def: Same.
8669         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
8671 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
8673         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
8674         as the base of a PLUS.
8676 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8678         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
8679         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
8681 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
8683         * pa.md (post_stw+1): Use pmode_register_operand.
8684         (dcacheflush, icacheflush): Likewise.
8686         * i386.md (movstricthi_1): Allow r/r.
8688 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
8690         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
8691         to (not (and (arg0) (arg1))). Similary for and.
8693         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
8694         fallthrough to associate code.
8695         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
8696         bits in common.
8698         * combine.c (simplify_logical): Convert XOR to IOR if operands have
8699         no bits in common; remove XOR to ROTATE conversion.
8701 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8703         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
8705 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8707         * config/c4x/c4x.c (dst_operand): New.
8708         (PREDICATE_CODES): Update.
8709         * config/c4x/c4x.h (dst_operand): Declare it.
8710         * config/c4x/c4x.md:  Define mode for each unspec usage.
8711         (move patterns):  Use dst_operand predicate instead of src_operand.
8712         (movqi_update, movqf_update): Delete.
8714 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
8716         * recog.c (pmode_register_operand): New.
8717         * recog.h: Declare it.
8718         * genrecog.c (pred_codes): Likewise.
8719         (special_mode_pred_table): Likewise.
8720         (validate_pattern): Don't warn no mode for address_operand.
8722         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
8723         if the operand is not insn-like.
8725 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
8726                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
8728         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
8730 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
8732         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
8733         instead of general_operand in a SET_DEST.  Use const_double_operand
8734         instead of an explicit test against CONST_DOUBLE.
8735         (movsf_const_lo): Add missing register mode.
8736         (goto_handler_and_restore): Add auxiliary test for Pmode.
8737         (flush): Adjust to use address_operand.
8738         (return_sf_no_fpu): Add missing output constraint.
8740 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
8742         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
8743         for call return value.
8744         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
8746 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
8748         * toplev.c (main): Only warn about options for other languages.
8749         * collect2.c (main): Pass -w to sub-gcc.
8751 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
8753         * flow.c (propagate_block): Add call-clobbered registers to
8754         significant too.
8756         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
8757         zapping mem_set_list.
8758         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
8759         (mark_set_1, mark_used_regs): Likewise.
8761 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
8763         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
8765 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8767         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
8768         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
8769         options. Also add a new item "C-only Warning Options" to the
8770         option summary.
8772 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
8774         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
8775         from multiple calls.
8777 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
8779         * i386.md (call value patterns): Move to the end of the file.
8780         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
8782 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
8784         * configure.in (djgpp configuration): Define extra_objects..
8785         * configure: Rebuilt.
8786         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
8787         (DTORS_SECTION_ASM_OP): Define.
8788         (INIT_SECTION_ASM_OP): Define.
8789         (FINI_SECTION_ASM_OP): Define.
8790         (DATA_SECTION_ASM_OP): Define.
8791         (TEXT_SECTION_ASM_OP): Define.
8792         (EH_FRAME_SECTION_ASM_OP): Define.
8793         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
8794         (STARTFILE_SPEC): Add crtbegin.o.
8795         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
8796         to here from LINK_COMMAND_SPEC.
8797         (DO_GLOBAL_CTORS_BODY): Define.
8798         (CRTSTUFF_USE_FINI_SECTION): Define
8799         (HAS_INIT_SECTION): Delete.
8801 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
8803         * Makefile.in (all.cross): Depend on xcpp$(exeext).
8805 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
8807         * pa.h (PREDICATE_CODES): New.
8809         * genrecog.c (validate_pattern): Condense the destination
8810         non-lvalue message.
8812 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
8814         * alpha.md (call-1): Supply missing mode for operator.
8815         (*): Add missing output reload constraints.  Remove constraints
8816         from define_splits.
8818         * i386.h (SPECIAL_MODE_PREDICATES): New.
8819         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
8820         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
8821         (addsi_lea_3): Add missing mode for op 3.
8822         (prologue_set_got, prologue_get_pc): Add missing modes.
8823         (*) Add missing output reload constraints.
8825 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
8827         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
8828         check for member bit-size overflow and use var_size if it occurs.
8829         (layout_record): Use bitsize_int() to define the type size in bits.
8830         Likewise for computation and assignment to DECL_FIELD_BITPOS.
8831         (layout_decl): Likewise when assigning to DECL_SIZE.
8833 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
8835         * genrecog.c (validate_pattern): Typo last change.  Verify
8836         that output operands have output reloads.
8838 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
8840         * genrecog.c (special_mode_pred_table): New.
8841         (NUM_SPECIAL_MODE_PREDS): New.
8842         (find_operand): New.
8843         (validate_pattern): New argument `insn'.  Warn for assignment to
8844         any predicate accepting non-lvalues.  Conditionaly warn for
8845         match_operand without a mode.  Try much harder to match source
8846         and destination modes on a set.
8847         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
8849 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
8851         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
8853 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
8855         * combine.c (simplify_logical): Recognize xor pattern that encodes
8856         rotation.
8858 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8860         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
8861         alignment.
8863 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
8865         * ggc-page.c (MAP_FAILED): Provide default.
8867 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
8869         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
8870         * sparc.h (PREDICATE_CODES): Update.
8872 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
8874         * alpha.c (some_ni_operand): New.
8875         * alpha-protos.h: Declare it.
8876         * alpha.h (PREDICATE_CODES): Update.
8877         * alpha.md (sXaddq reload insns): Use some_ni_operand
8878         for SET_DEST instead of some_operand.
8880 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
8881                           Jim Wilson  <wilson@cygnus.com>
8883         * genrecog.c (maybe_both_true_2): Don't compare modes of
8884         two DT_pred tests.
8885         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
8886         after find_afterward.
8887         (debug_decision_1): Dump next and afterward codes.
8889 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
8891         * rtl.c (dump_and_abort): Remove.
8892         (fatal_with_file_and_line): New.
8893         (fatal_expected_char): New.
8894         (read_rtx_lineno, read_rtx_filename): New.
8895         (read_skip_spaces): Track line number.
8896         (read_name): Use fatal_with_file_and_line.
8897         (read_rtx): Use fatal_expected_char.  Track line number.
8898         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
8900         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
8901         if it isn't a CODE_LABEL.
8903         * genattr.c (main): Set read_rtx_filename.
8904         * genattrtab.c (main): Likewise.
8905         * gencodes.c (main): Likewise.
8906         * genconfig.c (main): Likewise.
8907         * genemit.c (main): Likewise.
8908         * genextract.c (main): Likewise.
8909         * genflags.c (main): Likewise.
8910         * genopinit.c (main): Likewise.
8911         * genoutput.c (main): Likewise.
8912         * genpeep.c (main): Likewise.
8914         * genrecog.c (decision_test.u.insn): Add `lineno'.
8915         (pattern_lineno, error_count): New variables.
8916         (message_with_line): New.
8917         (add_to_sequence): Break out checking code to ...
8918         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
8919         (merge_insn): Use message_with_line.
8920         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
8921         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
8923 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8925         * expr.c (store_constructor): Clear union if constructor is empty.
8927 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
8929         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
8930         Add !endian checks.  Change %{...} to %(...).
8932 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
8934         * i386.md (*addsi3_cc): Renamed from addcsi3.
8935         (*addsi3_carry): Renamed from addxsi3.
8936         (*subsi3_cc): Renamed from subcsi3.
8937         (*subsi3_carry): Renamed from subxsi3.
8938         (*xorqi_cc_1): Renamed from xorcqi_1.
8939         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
8940         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
8942 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
8944         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
8945         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
8947 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
8949         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
8950         climb up the chain of insns.
8952 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
8954         * genrecog.c (write_subroutine): Careful for null trees.
8955         (process_tree): Don't elide empty functions.
8957 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
8959         * Makefile.in (genrtl.o): Depend on ggc.h.
8960         * configure.in (valloc): Probe for it.
8961         (with-gc): Use ggc-page if valloc present.
8962         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
8963         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
8964         (ggc_alloc_string): Moved from ggc-page.c.
8965         * ggc-none.c (ggc_alloc_obj): New.
8966         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
8967         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
8968         (struct globals): Likewise for dev_zero_fd.
8969         (init_ggc): Likewise for it's initialization.
8970         (ggc_allocated_p): Move careful dereference from ...
8971         (ggc_lookup_page_table): ... here.  Delete.
8972         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
8973         (alloc_anon): Use valloc if no mmap.
8974         (release_pages): Use free if using valloc.
8975         (ggc_alloc_obj): Renamed from alloc_obj.
8976         (ggc_set_mark): Renamed from mark_obj.
8977         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
8978         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
8979         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
8980         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
8981         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
8982         (ggc_collect): Use fp printing instead of our own rounding.
8983         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
8984         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
8985         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
8986         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
8987         (struct ggc_string, struct ggc_any): Delete.
8988         (offsetof): Provide default definition.
8989         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
8990         (PTR_KEY): New.
8991         (struct ggc_mem): New, from corpse of ggc_any.
8992         (struct ggc_status): Delete.
8993         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
8994         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
8995         (n_strings_collected, n_anys_collected): Delete.
8996         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
8997         (ggc_alloc_string, ggc_alloc): Delete.
8998         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
8999         (ggc_free_string, ggc_free_any): Delete.
9000         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
9001         (ggc_compare_addresses, ggc_mark_string): Delete.
9002         (ggc_mark_string_if_gcable, ggc_mark): Delete.
9003         (search_data): Delete.
9004         (struct globals): New.
9005         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
9006         (tree_insert, tree_lookup): New.
9007         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
9008         (clear_marks, sweep_objs): New.
9009         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
9010         (init_ggc): Set allocated_last_gc.
9011         (ggc_push_context): Gut.  Use G.context.
9012         (ggc_pop_context): Likewise.
9013         (ggc_pop_context_1): New.
9014         (debug_ggc_tree): New.
9015         (debug_ggc_balance, tally_leaves): New.
9016         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
9017         (ggc_mark_string_if_gcable): Remove decl.
9018         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
9019         (ggc_mark_rtvec_children): New.
9020         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
9021         (ggc_mark_if_gcable): New decl.
9022         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
9023         (ggc_alloc_tree, ggc_alloc): Likewise.
9024         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
9025         (ggc_alloc_obj): New decl.
9026         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
9027         (ggc_alloc_tree, ggc_alloc): Likewise.
9028         (ggc_set_mark): New decl.
9029         * rtl.h (struct rtx_def): Remove gc_mark.
9030         (struct rtvec_def): Likewise.
9031         * tree.h (struct tree_common): Likewise.
9033 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
9035         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
9036         float_format and thread_file definitions.
9037         * configure: Rebuilt.
9039 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
9041         * extend.texi (Function Names): Document types of function names.
9043 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9045         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
9046         an earlyclobbered output conflict with RELOAD_INPUT reloads.
9048 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9050         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
9052 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9054         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
9056 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
9058         * collect2.c (main): Do prelimnary link on AIX if rflag.
9060 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
9062         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
9063         __CTOR_LIST__ in opposite order, which is the correct order for sorted
9064         constructors.
9065         (__do_global_dtors): similarly for __DTOR_LIST__.
9067 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9068                                 Diego Novillo <dnovillo@cygnus.com>
9070         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
9071         FPUL_REGS.
9073 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
9075         * fixincl/*: Merged "no_bogosity" branch
9076         * fixincl/fixlib.h: protect against doubly defining t_bool
9077         * fixincl/server.h: protect against doubly defining t_bool
9079 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
9081         * genoutput.c: Include toplev.h.
9083 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
9085         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9086         Undef.
9087         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
9088         * configure: Regenerate.
9090 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
9092         * gcse.c (delete_null_pointer_checks): Returns void.
9094 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9096         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
9097         * emit-rtl.c (copy_insn_1): Likewise.
9099 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
9101         * config/mips/mips.c (mips_build_va_list): Correct
9102         TREE_CHAIN setting when hard-float.
9103         (mips_va_start): Use corrected setting.
9104         (mips_va_arg): Likewise.  Also pass a tree to build of
9105         POSTINCREMENT_EXPR rather than a naked 'int'.
9107 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
9109         * ggc.h (ggc_push_context): Fix comment.
9110         (ggc_pop_context): Likewise.
9111         (mark_string_if_gcable): Likewise.
9112         * ggc-common.c (ggc_mark_rtx_children): Use
9113         ggc_mark_string_if_gcable.
9114         * ggc-page.c (ggc_lookup_page_table): New function.
9115         (ggc_allocated_p): Likewise.
9116         (mark_obj): Fix formatting.
9117         (ggc_mark_string_if_gcable): New function.
9118         * ggc-simple.c (ggc_allocated_strings): New variable.
9119         (ggc_strings_used): Likewise.
9120         (ggc_compare_addresses): New function.
9121         (ggc_pop_context): Pop the `any' memory too.
9122         (ggc_mark_string_if_gcable): New function.
9123         (ggc_collect): Initialize and tear down ggc_allocated_strings.
9125 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
9127         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
9128         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
9129         * rs6000.c (expand_block_move): Match movstrsi_?reg register
9130         changes.
9132 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
9134         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
9135         (sched_reg_live_length, sched_reg_basic_block): Delete.
9136         (current_block_num, bb_live_regs, old_live_regs): Delete.
9137         (dead_notes, struct sometimes): Delete.
9138         (sched_note_set, birthing_insn_p): Delete.
9139         (adjust_priority): Gut useless reg lifetime code.
9140         (create_reg_dead_note, attach_deaths): Delete.
9141         (attach_deaths_insn, new_sometimes_live): Delete.
9142         (finish_sometimes_live): Delete.
9143         (find_pre_sched_live, find_post_sched_live): Delete.
9144         (update_reg_usage): Delete.
9145         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
9146         (schedule_insns): Delete reg lifetime code.
9147         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
9148         (unlink_other_notes): Adjust REG_NOTE commentary.
9149         (reemit_notes): Use REG_SAVE_NOTE.
9150         (schedule_block): Likewise.
9151         (schedule_region): Allocate bitmap of blocks in region.  Use
9152         count_or_remove_death_notes.  Use update_life_info.
9154         * rtl.h (REG_SAVE_NOTE): New.
9155         * rtl.c (reg_note_name): Update.
9157 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
9159         * combine.c (refresh_blocks, need_refresh): New.
9160         (combine_instructions): Allocate refresh_blocks.  Invoke
9161         update_life_info if needed.
9162         (distribute_notes): Mark refresh_blocks instead of installing
9163         USE insns.
9164         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
9165         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
9167         * Makefile.in (recog.o): Depend on basic-block.h.
9169 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
9171         * genrecog.c (add_to_sequence): Thinko last change: delete
9172         shadowing allow_const_int variable.
9174 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9176         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
9177         __GNUC__ and __GNUC_MINOR__.
9179         * gansidecl.h: Likewise.
9181         * rtl.c: Likewise.
9183         * rtl.h: Likewise.
9185         * toplev.h: Likewise.
9187         * tree.c: Likewise.
9189         * tree.h: Likewise.
9191         * varray.c: Likewise.
9193         * varray.h: Likewise.
9195 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9197         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
9198         use one before a jump table.
9200         * rtl.def (ADDRESS): Change documentation to match reality.
9201         * md.texi: Don't document it.
9202         * gmicro.md (load address pattern): Use 'p' constraint, delete use
9203         of ADDRESS rtx.
9205         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
9207 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
9209         * genrecog.c (add_to_sequence): Move allow_const_int test outside
9210         known predicate block; default allow_const_int true.
9211         (debug_decision_list): New.
9213 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
9215         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
9217 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
9219         * gcse.c (gcse_main): Avoid global optimizations if we have a
9220         large number of basic blocks and the ratio of edges to blocks
9221         is high.
9222         (delete_null_pointer_checks): Likewise.
9224 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
9226         * c-common.c (check_format_info): Warn if format string isn't a
9227         string literal.
9229 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
9231         * configure.in (arm*-*-*): Don't let autoconf remove brackets
9232         * configure: regenerate
9234 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
9236         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
9237         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
9238         (peepholes): Re-enable.
9240 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
9242         * Makefile.in (flow.o): Depend on TREE_H.
9243         * basic-block.h (REG_SET_EQUAL_P): New.
9244         (XOR_REG_SET): New.
9245         (n_edges): Declare.
9246         (free_regset_vector): Remove declaration.
9247         (flow_delete_insn_chain): Declare.
9248         (enum update_life_extent): New.
9249         (update_life_info, count_or_remove_death_notes): Declare.
9250         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
9251         Verify register live at bb->global_live_at_start before adding USE.
9252         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
9253         (CLEAN_ALLOCA): New.
9254         (n_edges): New.
9255         (PROP_*): New flags.
9256         (find_basic_blocks_1): Use alloc_EXPR_LIST.
9257         (clear_edges): Zero n_edges.
9258         (make_edge): Increment n_edges.
9259         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
9260         (flow_delete_insn_chain): Export.
9261         (delete_block): Decrement n_edges.
9262         (merge_blocks_nomove): Likewise.
9263         (life_analysis): Give life_analysis_1 PROP flags.
9264         (verify_wide_reg_1, verify_wide_reg): New.
9265         (verify_local_live_at_start): New.
9266         (update_life_info): Rewrite to call into propogate_block.
9267         (mark_reg): New.
9268         (mark_regs_live_at_end): After reload, if epilogue as rtl,
9269         always mark stack pointer.  Conditionally mark PIC register.
9270         After reload, mark call-saved registers, return regsiters.
9271         (life_analysis_1): Accept PROP flags not remove_dead_code.
9272         Call mark_regs_live_at_end before zeroing regs_ever_live.
9273         Use calculate_global_regs_live.  Copy global_live_at_end before
9274         calling final propagate_block.  Zero reg_next_use on exit.
9275         (calculate_global_regs_live): New.
9276         (allocate_bb_life_data): Don't allocate bb->local_set.
9277         (init_regset_vector, free_regset_vector): Remove.
9278         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
9279         Test flags before every operation.  Warn if prologue/epilogue insn
9280         would have been deleted.
9281         (mark_set_regs, mark_set_1): Accept and use FLAGS.
9282         Use alloc_EXPR_LIST.
9283         (mark_used_regs): Accept and use FLAGS, not FINAL.
9284         Remove special handling for RETURN.
9285         (try_pre_increment): Use alloc_EXPR_LIST.
9286         (dump_flow_info): Dump n_edges.
9287         (unlink_insn_chain, split_hard_reg_notes): Remove.
9288         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
9289         (find_insn_with_note, new_insn_dead_notes): Remove.
9290         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
9291         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
9292         (replace_insns): Remove.
9293         (count_or_remove_death_notes): New.
9294         (verify_flow_info): Abort on error after all checks.
9295         (remove_edge): Decrement n_edges.
9296         (remove_fake_edges): Tweek format.
9297         * haifa-sched.c (schedule_insns): Use split_all_insns.
9298         * output.h (update_life_info): Remove declaration.
9299         * recog.c (split_all_insns): From the corpse of split_block_insns,
9300         do the whole function block by block.  Use update_life_info.
9301         (recog_last_allowed_insn): New.
9302         (recog_next_insn): Mind it.
9303         (peephole2_optimize): Set it.  Walk backwards through blocks.
9304         Use update_life_info.
9305         * rtl.h (update_flow_info, replace_insns): Remove declarations.
9306         (split_all_insns): Declare.
9307         * toplev.c (rest_of_compilation): Thread prologue before flow2.
9308         Use split_all_insns.
9310         * i386.md (or -1 peep2s): Disable.
9312 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
9314         * config/mips/mips.md (movstrsi+[123]) : Combine these into
9315         a single pattern.  Scrap the 'd' versions as unnecessary.
9317         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
9318         tablejump_mips162,tablejump_internal4): The operands to a
9319         label_ref must be VOIDmode.
9321 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9323         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
9325 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
9327         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
9329 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
9331         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
9332         cache every function if ggc_p.
9334 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9336         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
9337         instead of copy_rtx.  Accept sequences that contain asm statements.
9338         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
9339         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
9340         orig_asm_operands_vector, copy_asm_operands_vector,
9341         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
9342         variables.
9343         * rtl.h (copy_insn, copy_insn_1): Declare.
9345 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9347         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
9349         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
9350         arguments to `current_file_function_operand'.
9352         * genrecog.c: Include hard-reg-set.h and resource.h in the
9353         generated output file.
9355         * real.c: Include tm_p.h.
9357 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9359         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
9360         output operand.
9362 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
9364         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
9365         before the fctiwz insn.
9367 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9368                           Mark Mitchell  <mark@codesourcery.com>
9370         * tree.c (make_lang_type_fn): New funtion pointer.
9371         (make_lang_type): Call it.
9372         * tree.h (make_lang_type): Declare.
9373         (make_lang_type_fn): Likewise.
9374         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
9376 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
9378         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
9379         make sure that HIGH instructions are copied into BASE_REGS.
9381 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
9383         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
9385 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
9387         * c-decl.c (finish_struct): Use simpler method of
9388         removing elements of a singly-linked list.
9390 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
9392         * alpha.md (peephole2's): Comment out peephole2's that generate
9393         buggy code.
9395 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
9397         * genrecog.c (add_to_sequence): Disable mode check for
9398         wildcard matches.
9400 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9402         * ggc-simple.c (init_ggc): Set empty_string.
9404 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
9406         * configure.in: Detect mmap.  Add --with-gc=foo to select
9407         garbage collector; default to page if mmap available.
9408         * Makefile.in (GGC): Substitute.
9410 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
9412         * c-decl.c (ggc_p): Enable.
9414 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9416         * flow.c (verify_flow_info): Make it extern & unconditionally define.
9418 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
9420         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
9421         string for little-endian-data.
9423 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
9425         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
9426         case somebody tries to compile --enable-checking code with gcc
9427         1.34 or such.
9429 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
9431         * genrecog.c (add_to_sequence): Verify operand to label_ref is
9432         VOIDmode.
9434 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
9436         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
9437         * jump.c (jump_optimize_1): Document why.
9439 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9441         * collect2.c (scan_prog_file, scan_libraries): Prototype function
9442         pointers and casts for `int_handler' and `quit_handler'.
9444         * flow.c (verify_flow_info, split_hard_reg_notes,
9445         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
9446         remove_edge, remove_fake_successors): Add static prototypes.
9447         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
9448         (mark_set_1): Initialize variable `regno'.
9449         (unlink_insn_chain): Likewise for variable `curr'.
9450         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
9452         * loop.c (strength_reduce): Initialize variable
9453         `unrolled_insn_copies'.
9454         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
9455         prototypes.  Change these functions to take const PTR parameters
9456         to avoid prototype conflict when used as the comparson argument
9457         for qsort.
9458         (check_dbra_loop): Initialize variable `comparison_val'.
9460         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
9461         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
9462         (find_valid_class): Initialize variable `best_class'.
9463         (find_reloads): Call memcpy, not bcopy.
9465         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
9466         (hard_reg_use_compare): Don't needlessly cast away const.
9467         (reload_reg_class_lower): Likewise.
9468         (choose_reload_regs): Initialize variable `regno'.
9470 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
9472         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
9474 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
9476         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
9477         ({,d}discard): Add forward declarations.  Declare parameter as
9478         unused.
9479         (main_without_main): Explicitly declare return type to be int.
9480         (memcpy): Properly declare.
9482         * libgcc2.c (toplevel): If inhibit_libc is defined and not
9483         building the trampoline support, declare malloc, free, and
9484         atexit.
9485         (__clear_cache): Mark arguments as potentially unused.
9487         * frame.c (toplevel): If inhibit_libc is defined, declare
9488         malloc and free.
9490 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
9492         * flow.c (make_edge): Accept an optional 2D bitmap in which
9493         to cache edge existence.  Update all callers.
9494         (make_label_edge, make_eh_edge): Pass through the edge cache.
9495         (make_edges): Provide the cache.
9497 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9499         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
9500         a char*.
9501         (local_mbtowc): Change the type of variable `i' from int to size_t.
9503         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
9504         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
9506 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
9508         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
9509         after other includes that define the appropriate types.  Include
9510         tm_p.h for getting user prototypes.
9511         * ggc-callbacks.c (toplevel): Ditto.
9512         * ggc-none.c (toplevel): Ditto.
9513         * gcc-page.c (toplevel): Ditto.
9514         * ggc-simple.c (toplevel): Ditto.
9516 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
9517                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
9519         * config/mips/mips.c (mips_move_2words): Split doubles if
9520         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
9522 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
9524         * genrecog.c (struct decision_test): New.
9525         (struct decision): Remove test-related members, sort the rest by size.
9526         (IS_SPLIT): Simplify.
9527         (new_decision, new_decision_test): New.
9528         (add_to_sequence): Use them.  No special handling for args of
9529         non-MATCH codes.
9530         (maybe_both_true): Renamed from not_both_true; return sense changed.
9531         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
9532         of maybe_both_true and adjusted for decision_test.
9533         (position_merit): Remove.
9534         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
9535         (merge_accept_insn): New, broken out of merge_trees.
9536         (merge_trees): Use them.  No special case for c_test; no node
9537         splitting; use test type instead of position_merit.
9538         (factor_tests): New.
9539         (simplify_tests): New.
9540         (break_out_subroutines): Don't write code now.
9541         (find_afterward): New.
9542         (write_afterward, write_switch, write_cond): New.
9543         (write_action, is_unconditional): New.
9544         (write_node): New.  Use them.
9545         (write_tree_1): Rewrite.  Use the new functions above.
9546         (write_tree): Remove afterward processing.
9547         (write_subroutine): Simplify function variant emission.
9548         (write_subroutines): New.
9549         (same_codes, clear_codes): Remove.
9550         (same_modes, clear_modes): Remove.
9551         (write_header): New, broken out of main.
9552         (make_insn_sequence): Use new_decision and new_decision_test.
9553         (process_tree): New, broken out of main.
9554         (main): Adjust for merge_trees interface change.
9555         Don't #define operands in the output file.
9556         (record_insn_name): New, broken out of make_insn_sequence.
9557         (debug_decision_2, debug_decision_1, debug_decision_0): New.
9558         (debug_decision): New.
9560 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
9562         * resource.c (find_free_register): Mark class_str argument const.
9563         * resource.h: Update prototype to match.
9565         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
9566         * i386.md: Give all anonymous insns names.
9568 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
9570         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
9571         blocks.
9573 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
9575         * toplev.c (dbr_sched_time): Unconditional.
9576         (peephole2_time): New.
9577         (compile_file): Add pass numbers to all of the dump file suffixes.
9578         Dump peephole2_time.  Don't dump times for non-applicable passes.
9579         (rest_of_compilation): Add pass numbers to dump file suffixes.
9580         Conditionalize calls to the scheduler.
9581         * invoke.texi: Update.
9583 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
9585         * flow.c (make_edges): Fix insn iteration.
9586         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
9587         (find_basic_blocks_1): Fix spelling mistake.
9589 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
9591         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
9592         always have side-effects.  Use memset not bzero.
9593         (make_node): Likewise.
9595 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
9597         * stmt.c (expand_anon_union_decl): When any of the elements of the
9598         union is addressable, so is the entire union.
9600 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
9602         * sbitmap.c (sbitmap_ones): Don't set too many bits.
9604         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
9605         * bitmap.c (bitmap_operation): Return true iff TO changed.
9606         (bitmap_equal_p): New.
9607         (bitmap_bit_p): Tidy arithmetic.
9608         (debug_bitmap_file): Likewise.
9610 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
9612         * toplev.c (rest_of_compilation): Turn on cse_not_expected
9613         before cse2 instead of after.
9615 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
9617         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
9618         register offsets.
9620 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9622         * cppinit.c (is_idchar initializer): Loosen tests to accept
9623         gcc 2.>6 and >2.
9625 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
9627         * mips.md: Define conditional move patterns for floating point
9628         operands and DI mode conditions.
9630 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
9632         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
9633         always have side-effects.
9635 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
9637         * mn10200.c (asm_file_start): Fix typo.
9639         * cppinit.c (is_idchar initializer): Tighten tests for when
9640         to put the table into initialized memory.
9642         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
9643         not an array of rtunion.
9644         * gcc-page.c (ggc_alloc_rtvec): Similarly.
9645         * gcc-simple (ggc_free_rtvec): Similarly.
9647         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
9648         of rtunions.
9650         * mbchar.h: Add missing #endif.
9652         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
9653         (FPBIT, DPBIT): Define.
9655 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9657         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
9659         * profile.c (instrument_arcs, output_gcov_string,
9660         tablejump_entry_p): Add static prototypes.
9661         (output_gcov_string): Constify a char*.
9663         * regmove.c (replacement_quality, fixup_match_2): Add static
9664         prototypes.
9666         * resource.h (reg_dead_p): Add extern prototype.
9668         * rtl.c (trim_filename): Add static prototype.
9670         * scan-decls.c (skip_to_closing_brace): Likewise.
9672         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
9673         (expand_end_case): Initialize variable `range'.
9674         (emit_case_nodes): Remove unused prototype `rtx_fn'.
9676         * varasm.c (asm_emit_uninitialised): Add static prototype.
9677         (asm_emit_uninitialised, assemble_variable): Mark parameter with
9678         ATTRIBUTE_UNUSED.
9680 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9682         * cpplib.c (if_directive_nameo): Add static prototype.
9684         * cse.c (cse_insn): Remove unused variable `p'.
9686         * except.c (create_rethrow_ref, push_entry,
9687         receive_exception_label, new_eh_region_entry, find_func_region,
9688         clear_function_eh_region, process_nestinfo): Add static prototypes.
9689         (get_reg_for_handler): Hide definition.
9690         (process_nestinfo): Initialize variable `extra_handlers'.
9692         * expr.h (expand_builtin_longjmp): Add extern prototype.
9694         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
9696         * function.c (prepare_function_start): Likewise.
9697         (pop_function_context_from): Mark parameter `context' with
9698         ATTRIBUTE_UNUSED.
9699         (push_temp_slots_for_block, flush_addressof): Hide definition.
9701         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
9702         solve_program_flow_graph, calculate_branch_probs,
9703         function_summary, main, fancy_abort): Add prototypes.
9705         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
9706         (add_hash): Constify a char*.
9708         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
9709         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
9710         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
9712         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
9714         * lists.c (free_list, zap_lists): Likewise.
9716 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9718         * alias.c (nonlocal_reference_p): Add static prototype.
9720         * bitmap.c (bitmap_element_allocate): Prototype args in function
9721         pointer cast.
9723         * builtins.c (stabilize_va_list): Add static prototype.
9724         (expand_builtin_va_arg): Constify a char*.
9726         * c-lex.c (getch, put_back, extend_token_buffer_to,
9727         read_line_number, token_getch, token_put_back): Add static
9728         prototypes.
9730         * c-parse.gperf (hash, is_reserved_word): Likewise.
9732         * cccp.c (is_dir_separator): Likewise.
9734 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9736         * graph.h: New file to prototype functions exported by graph.c.
9738         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
9740         * graph.c: Include graph.h.
9742         * toplev.c: Likewise.  Remove redundant prototypes.
9744 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
9746         * invoke.texi: Removed duplicated description for -Q.
9748 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
9750         * extend.texi: Grammar fix in __extension__ text.
9752 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
9754         * md.texi (define_peephole2): New section.
9756 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
9758         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
9759         (mov $-1 to or peepholer): Enable for pentium when optimizing for
9760         speed.
9762 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
9764         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
9766 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
9768         * i386.md (ffs expander): Emit Pentium friendly code for
9769         TARGET_PENTIUM.
9771 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
9773         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
9774         for non-trees.
9775         (build1): Likewise.
9777 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9779         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
9781 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
9783         * config/m68k/m68k.c (use_return_insn): Return false if the pic
9784         register is in use.
9786 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9788         * md.texi (No Constraints): Delete section.
9789         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
9790         * final.c (final_scan_insn): We always have register constraints.
9791         * genattrtab.c: Don't include "insn-config.h".
9792         (write_attr_case): We always have register constraints.
9793         * genconfig.c (register_constraint_flag): Delete.
9794         (walk_insn_part): Don't check whether we have register constraints.
9795         (main): Don't write out "#define REGISTER_CONSTRAINTS".
9796         * genoutput.c (have_constraints): Delete.
9797         (main): Don't set it.
9798         (output_operand_data): We always have constraints.
9799         (scan_operands): Likewise.
9800         (compare_operands): Likewise.
9801         * local-alloc.c (block_alloc): We always have constraints.
9802         (requires_inout): Always compile this function.
9803         * recog.c (extract_insn): We always have constraints.
9804         (constrain_operands, reg_fits_class_p): Always compile these
9805         functions.
9806         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
9807         fields.
9808         (struct insn_operand_data): Likewise.
9809         * regclass.c (regclass): We always have constraints.
9810         (record_reg_classes, copy_cost, record_address_regs,
9811         auto_inc_dec_reg_p): Always compile these functions.
9812         * regmove.c (regmove_optimize): We always have constraints.
9813         * reload.c (find_reloads): Likewise.
9814         * reload1.c (reload): Likewise.
9815         (reload_cse_simplify_operands): Likewise.
9816         * i860.c (output_delay_insn): Likewise.
9818 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
9820         * iris6.h (BUILD_VA_LIST_TYPE): Define.
9822 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9824         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
9825         for the va_list record.
9827 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
9829         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
9830         prologues.
9832 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
9834         * alias.c: Include insn-flags.h.
9835         * Makefile.in (alias.o): Update.
9837 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
9839         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
9840         to LTU and GEU.  Handle more cases using sbb.
9842 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
9844         * i386.md (truncatexfdf splitters): Do not use subreg.
9845         (fop XFmode patterns): Fix mode in operand testing.
9847 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
9849         * jump.c (jump_optimize_1): Amend last change to test only the
9850         form of the operand, not the insn.
9852         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
9853         not register_operand to determine when B may need preloading.
9855 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
9857         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
9858         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
9859         (call-value patterns): Move to end of file.
9860         (*): Remove mode from label_ref in (pc) context.
9861         (movstrqi): Use memory not general_operand for BLKmode operands.
9862         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
9863         to register_operand operands.
9864         (peep2 patterns): Convert from commented-out peephole patterns.
9866 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9868         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
9869         to BUILT_IN_INIT_DWARF_REG_SIZES.
9870         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
9871         Renamed from BUILT_IN_DWARF_REG_SIZE; call
9872         expand_builtin_init_dwarf_reg_sizes.
9873         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
9874         with __builtin_init_dwarf_reg_size_table.
9875         * dwarf2out.c (struct reg_size_range): Delete.
9876         (expand_builtin_init_dwarf_reg_sizes): New function.
9877         (expand_builtin_dwarf_reg_size): Delete.
9878         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
9879         (expand_builtin_dwarf_reg_size): Don't declare.
9880         * libgcc2.c (dwarf_reg_size_table_initialized): New.
9881         (dwarf_reg_size_table): New.
9882         (init_reg_size_table): New function.
9883         (copy_reg): Use dwarf_reg_size_table.
9884         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
9885         before use.
9887 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
9889         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
9890         Correctly build argument list to constructor and destructor functions.
9892 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
9894         * c-tree.h (warn_float_equal): Declare.
9895         * c-decl.c (warn_float_equal): Define.
9896         (c_decode_option): Recognize -W[no-]float-equal.
9897         * c-typeck.c (build_binary_op): Conditionally warn
9898         about equality tests of floating point types.
9899         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
9900         * invoke.texi: Add docs for -Wfloat-equal warning.
9902 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
9904         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
9905         generating RTL directly.
9906         * mips.h (INIT_TARGET_OPTABS): Likewise.
9907         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
9909         * expr.h (init_mov_optab): Delete declaration
9911         * h8300.c (WORD_REG_USED): Update to avoid useless register
9912         saves in interrupt functions and functions which never return.
9914         * cse.c (struct set): Delete inner_dest_loc field.
9915         (cse_insn): Remove assignments to inner_dest_loc field.
9917 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
9919         * ggc-page.c: Don't include <unistd.h> etc taken care of
9920         by "system.h".  Include <sys/mman.h> afterward.
9922 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
9924         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
9925         ggc_alloc_string.
9927 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
9929         * xcoffout.c (xcoffout_declare_function): Add documentation.
9930         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
9931         TARGET_64BIT.  Compare constant to -1, not bit pattern.
9932         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
9933         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
9934         gen_movsi typos.
9936 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
9938         * dwarf2out.c (add_abstract_origin_attribute): Abort if
9939         origin_die is NULL.
9940         (gen_inlined_enumeration_type_die): Do not abort if the type has
9941         not been writeen out.
9942         (gen_inlined_structure_type_die): Do not abort if the type has
9943         not been writeen out.
9944         (gen_inlined_union_type_die): Do not abort if the type has
9945         not been writeen out.
9946         (gen_tagged_type_instantiation_die): Do not abort if the type
9947         has not been written out.
9949 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9951         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
9952         call it.
9953         * reg-stack.c (straighten_stack): Copy hard reg set with
9954         COPY_HARD_REG_SET.
9956 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
9958         * builtins.c (stabilize_va_list): Stabilize array type va_list
9959         to a pointer type, not the base record type.
9960         (expand_builtin_va_copy): Dereference the pointers explicitly;
9961         use the correct size for the copy.
9963         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
9964         (rs6000_va_arg): Likewise.
9966 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
9968         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
9970 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
9972         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
9973         field.
9974         (DECL_BUILT_IN_CLASS): Adjust accordingly.
9976 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
9978         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
9979         (init_ggc): Use it instead of a constant.
9980         (ggc_collect): Bound allocated_last_gc by it.
9982 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
9984         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
9985         with va_list.
9987 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
9989         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
9990         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
9991         * configure:  Regen.
9992         * config/mips/openbsd.h:  New, OpenBSD little endian target.
9993         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
9994         * config/mips/xm-openbsd.h:  New, OpenBSD host.
9996 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
9998         * config/m68k/m68k.c (output_function_prologue,
9999         output_function_epilogue): Use
10000         current_function_uses_pic_offset_table instead of regs_ever_live
10001         to decide whether to save/restore pic register.
10002         (legitimize_pic_address): Don't modify regs_ever_live any more.
10004 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
10006         * function.h (struct function): Add x_dont_save_pending_sizes_p.
10007         * stor-layout.c (variable_size): Don't add sizes to the pending
10008         sizes list if x_dont_save_pending_sizes_p is set.
10010 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
10012         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
10013         for symbolic_operand().
10014         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
10016 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10018         * combine.c (gen_rtx_combine): Add missing call to va_end().
10020         * final.c (asm_fprintf): Likewise.
10022         * genattrtab.c (attr_rtx): Likewise.
10024 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
10026         * cse.c: Update comments.
10027         (cse_insn): When converting a conditional/computed jump into
10028         an unconditional jump, always make sure a BARRIER immediately
10029         follows the converted jump.  Do not delete unreachable code.
10030         (cse_basic_block): Do not delete unreachable code.
10031         * toplev.c (rest_of_compilation): Move call to
10032         delete_trivially_dead_insns after the conditional call to
10033         jump_optimize.
10035 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10037         * collect2.c (make_temp_file): Don't prototype.
10039         * gcc.c (make_temp_file): Likewise.
10041         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
10043 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
10045         * varasm.c (asm_emit_uninitialised): New function: Generate
10046         the assembler statements necessary to declare an uninitialised
10047         variable.
10048         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
10049         variable.
10050         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
10051         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
10052         section.
10053         (assemble_variable): Use asm_emit_uninitialised to emit an
10054         uninitialised variable.
10056 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
10058         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
10059         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
10060         <geoffk@cygnus.com>.
10062 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10064         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
10065         * c-common.h (builtin_function): Don't declare.
10067         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
10068         DECL_BUILT_IN.
10069         (pushdecl): Likewise.
10070         (finish_decl): Likewise.
10071         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
10072         int.  All callers changed.
10073         Set the builtin's DECL_BUILT_IN_CLASS.
10074         * tree.h (enum built_in_class): New.
10075         (enum built_in_function): Delete NOT_BUILT_IN.
10076         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
10077         in a union.
10078         (DECL_SET_FUNCTION_CODE): Likewise.
10079         (DECL_BUILT_IN_CLASS): New macro.
10080         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
10081         (struct tree_decl): Split builtin function code field into a
10082         struct.
10083         (builtin_function): Declare.
10085 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
10087         * optabs.c (init_traps): Fix typo in last change.
10089 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
10091         * toplev.c (rest_of_decl_compilation): Update comment.
10093 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
10095         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
10096         in .sbss if appropriate.
10097         (EXTRA_SECTION_FUNCTIONS): Add sbss.
10098         (SBSS_SECTION_ASM_OP): New macro.
10099         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
10100         (EXTRA_SECTIONS): Add in_sbss.
10101         * config/mips/mips.h: Prototype sbss_section.
10103 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
10105         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
10106         to disappear.
10108 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
10110         * optabs.c (init_traps): Register trap_rtx as a GC root.
10112 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10114         * config/mips/mips.c (function_arg_pass_by_reference): Define
10115         unconditionally, since it's called unconditionally.
10117 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
10119         * toplev.c (documented_lang_options): Add -fshort-wchar.
10120         * c-decl.c (c_decode_option): Likewise.
10121         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
10122         for wchar_t.
10123         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
10124         * gcc.c (default_compilers): If -fshort-wchar,
10125         override __WCHAR_TYPE__.
10126         * tm.texi (C Dialect Options): Add -fshort-wchar.
10128         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
10129         symbol for a variable.
10131         * cpplib.h (CPP_PREPROCESSED): New macro.
10132         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
10133         we're seeing this input for a second time.
10135 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
10137         * emit-rtl.c (init_emit_once): Initialize modes first.
10139 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
10141         * config/i386/i386.c (pic_label_name): Change to char pointer.
10142         (global_offset_table): New variable.
10143         (load_pic_register): Fill global_offset_table if it hasn't
10144         already been done.  Allocate pic_label_name dynamically.
10145         * ggc.h (empty_string): New variable.
10146         * ggc-simple.c (empty_string): Likewise.
10147         (init_ggc): Allocate empty_string and add as root.
10148         * stmt.c (digit_strings): New variable.
10149         (init_stmt): Add last_block_end_note as root.  Allocate and
10150         initialize digit_strings.
10151         (expand_asm_operands): Use empty_string instead of string
10152         constant.  Use digit_strings instead of string constants.
10153         * profile.c (init_arc_profiler): Allocate string with
10154         ggc_alloc_string instead of xmalloc.
10155         (output_func_start_profiler): Likewise.
10156         * c-typeck.c (digest_init): Check if init is error_mark_node.
10158 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
10159                           Richard Henderson  <rth@cygnus.com>
10161         * ggc-page.c: New file.
10162         * Makefile.in (ggc-page.o): New.
10164 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
10166         * invoke.texi: Document -fdelete-null-pointer-checks
10167         * toplev.c (flag_delete_null_pointer_checks): New.
10168         (f_options): Add entry for -fdelete-null-pointer-checks.
10169         (rest_of_compilation): Conditionalize null pointer check
10170         elimination on flag_delete_null_pointer_checks.
10171         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
10173 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
10175         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
10176         copyright notice and special exception to GPL.
10178 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10180         * abi64.h (mips_function_value): Add prototype arguments.
10182         * mips-protos.h: New file with mips prototypes.
10184         * mips.c: Include "tm_p.h".
10185         (mktemp, lookup_name): Add prototype arguments.
10186         (extern_list, string_constant, mips_fill_delay_slot,
10187         mips_output_external, mips_output_external_libcall,
10188         mips_output_filename, mips_declare_object, function_prologue,
10189         mips_expand_prologue, function_epilogue, mips16_constant,
10190         build_mips16_function_stub, mips_output_conditional_branch):
10191         Constify a char*.
10192         (mips_va_start): Remove unused variable `u'.
10193         (mips_va_arg): Cast value to unsigned when comparing against one.
10194         (trace): Delete.
10195         (save_restore_insns, mips_expand_prologue): Add missing arg in
10196         call to `large_int'.
10198         * mips.h: Move prototypes to mips-protos.h.
10199         (data_section, memory_address_p, rdata_section,
10200         readonly_data_section, simple_epilogue_p, text_section): Delete
10201         prototypes delcared elsewhere.
10202         (mips_epilogue_delay_slots, print_options): Delete unused decls.
10203         (trace): Delete.
10204         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
10206         * mips.md: Delete extra args in call to `mips_move_2words'.
10208         * xm-iris6.h (alloca): Add prototype argument.
10210         * genpeep.c: Include "tm_p.h" in generated output file.
10212 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
10214         * basic-block.h (find_edge_index): Change parameters.
10215         * flow.c (verify_edge_list): Pass basic_block parameters to
10216         find_edge_index instead of integers.
10218 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
10220         * combine.c (simplify_comparison): Use an unsigned shift to adjust
10221         the constant.
10223 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
10225         * gcc.1: Fix a formatting error.
10227 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10229         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
10230         i786, mn10200, mn10300, pdp11, v850.
10232 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
10234         * libgcc2.c (num_digits): Add prototype with
10235         __attribute__((const)).
10236         (__terminate): Add prototype.
10238 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
10240         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
10242         * alpha/alpha.c (print_operand): Fix type of `code'.
10243         (alpha_output_filename): Constify.
10244         * alpha/alpha.h: Move all function declarations ...
10245         * alpha/alpha-protos.h: ... here.  New file.
10246         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
10247         (SECTION_FUNCTION_TEMPLATE): Likewise.
10249 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10251         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
10252         * expr.c (expand_expr): Likewise.
10253         (do_jump): Likewise.
10254         (do_store_flag): Pass ccp_store_flag to can_compare_p.
10255         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
10256         accessor macros.
10257         (enum can_compare_purpose): New.
10258         (can_compare_p): Adjust prototype.
10259         (prepare_cmp_insn, prepare_operand): Declare.
10260         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
10261         * optabs.c (cmp_available_p): Deleted.
10262         (expand_abs): Pass ccp_jump to can_compare_p.
10263         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
10264         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
10265         Call can_compare_p rather than cmp_available_p.
10266         (prepare_operand): No longer static.
10267         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
10268         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
10269         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
10270         sequence to use emit_cmp_and_jump_insns.
10271         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
10273 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
10275         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
10276         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
10277         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
10278         (plus (reg) (const_int 0))
10279         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
10281 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
10283         * rs6000.c (expand_block_move): DImode loads and stores require
10284         word-aligned displacements.  Increment address registers with
10285         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
10287 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
10289         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
10290         is no name for the base type, rather than segfault.  If we are
10291         writing out a complex integer type, use DW_ATE_lo_user.
10293         * expr.c (emit_move_insn_1): If we are copying a complex that fits
10294         in one word or less (complex char, complex short, or on 64 bit
10295         systems complex float) to/from a hard register, copy it through
10296         memory instead of dying in gen_{real,imag}part.  If we have a
10297         short complex type, prevent inlining since it allocates stack
10298         memory.
10300         * tree.c (build_complex_type): If we are writing dwarf2 output,
10301         generate a name for complex integer types.
10303 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
10305         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
10306         * flow.c (remove_edge): Remove extra whitespace.
10307         (remove_fake_edges): Fix comment.
10308         (add_noreturn_fake_exit_edges): Use the correct name.
10310 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
10312         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
10313         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
10314         (clean): Depend on INTL_CLEAN.
10315         (maintainer-clean): Adjust.
10317 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10319         * configure.in (AC_PREREQ): Bump to 2.13.
10320         (AC_C_STRINGIZE): Call this instead of using a custom macro.
10322         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
10324         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
10326         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
10328         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
10329         (HAVE_STRINGIZE): Define.
10331 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
10333         * c-parse.in: save and restore warn_pointer_arith on __extension__
10334         along with pedantic.
10335         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
10336         Set the type of extension to itype rather than $<itype>1 kludge.
10337         * extend.texi (Alternate Keywords): Adjust documentation.
10338         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
10340 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
10342         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
10343         most assembler templates.
10345         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
10346         FP loads and stores.
10347         (following_call): Always return zero for the PA8000.
10348         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
10349         FP loads and stores.
10350         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
10352         * pa.h (BRANCH_COST): Define.
10354         * pa.md (return, return_internal): Use bve for PA2.0.
10356         * pa.md (fused multiply): Add variants which reduce height for the
10357         fused multiply, but which still generate 2 insns.
10358         (fnegabs): Similarly.
10360         * pa.md (subsi3): Turn into an expander.  Create two anonymous
10361         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
10362         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
10364         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
10365         for TARGET_PA_20.
10366         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
10367         code generation.
10368         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
10369         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
10371         * regclass.c (init_regs): Add "top_of_stack" as a garbage
10372         collection root.
10374         * flow.c (record_active_eh_regions): Terminate loop after finding
10375         the last insn in the last basic block.
10377 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10379         * config/c4x/c4x.md: Delete parallel instruction peepholes.
10381 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10383         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
10385 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10387         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
10388         splitting to not use output template.
10390 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10392         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
10393         * config/c4x/c4x.c (c4x_va_start): New function.
10395 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
10397         * genrecog.c (not_both_true): Handle correctly cases when called for
10398         tests with different positions in the insn.
10400 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10402         * machmode.h (HOST_PTR_PRINTF): Move from here ...
10404         * system.h (HOST_PTR_PRINTF): ... to here.
10406         * mips-tfile.c: Don't include machmode.h.
10408         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
10409         (mips-tfile.o): Don't depend on machmode.h.
10411 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10413         * haifa-sched.c (sched_analyze): Rename local variable `region' to
10414         avoid conflicts with typedef struct `region' at the top level scope.
10416 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
10418         * basic-block.h (basic_block): Add eh_beg, eh_end.
10419         * flow.c (entry_exit_blocks): Update.
10420         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
10421         Call new functions.
10422         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
10423         lists.c functions to allocate insn lists.
10424         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
10425         edge creation ...
10426         (make_eh_edge): ... here.  New.
10427         (move_stray_eh_region_notes): New.
10428         (record_active_eh_regions): New.
10429         (delete_unreachable_blocks): Split out block merging ...
10430         (try_merge_blocks): ... here.  New.
10431         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
10432         Dump debugging data.
10433         (merge_blocks_move_successor_nojumps): Likewise.
10434         (merge_blocks): Use eh_beg+eh_end to validate block movement.
10436 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10438         * extend.texi (Bound member functions): Document unbound pmf
10439         conversion.
10441 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
10443         * flow.c (split_edge): Handle insertion on a fallthrough edge which
10444         has the EXIT_BLOCK as a dest.
10446 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
10448         * flow.c (remove_edge): New function to remove an edge from the
10449         flow graph.
10450         (remove_fake_successors): New function to remove fake successor edges.
10451         (remove_fake_edges): New function to remove all fake edges from the
10452         flow graph.
10453         (add_fake_exit_edges): New function to add fake edges from all blocks
10454         with no successors to the exit block.
10455         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
10456         prototypes for new functions.
10458 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
10460         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
10461         Use Pmode to determine whether to output .dword or .word.
10463 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
10465         * tree.c (built_in_filename): New variable.
10466         (BUILT_IN_FILENAME): New macro.
10467         (init_tree_codes): Allocate built_in_filename.
10468         (make_node): Use built_in_filename instead of string constant.
10470 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
10472         * configure.in: Add fr30 target.
10473         * configure: Regenerate.
10474         * config/fr30: New directory.
10475         * config/fr30/crti.asm: New file.
10476         * config/fr30/fr30.c: New file.
10477         * config/fr30/crtn.asm: New file.
10478         * config/fr30/fr30.h: New file.
10479         * config/fr30/fr30.md: New file.
10480         * config/fr30/lib1funcs.asm: New file.
10481         * config/fr30/t-fr30: New file.
10482         * config/fr30/xm-fr30.h: New file.
10484 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
10486         * flow.c (merge_blocks_move_successor_nojumps): Delete the
10487         BARRIER at the end of the successor, not the BARRIER before
10488         the successor.
10490         * pa.c (pa_add_gc_roots): Fix thinko in last change.
10492 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
10494         * stmt.c (any_pending_cleanups): Don't crash when
10495         current_function->stmt is unset.
10497 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10499         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
10500         other initializations that may use it for relative offsets.
10502 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10504         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
10505         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
10506         * config/i386/sol2dbg.h: Removed.
10507         * config/i386/sol2gas.h: New file, to enable gas work-around.
10508         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
10509         Don't use sol2dbg.h.
10510         * configure: Rebuilt.
10512 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
10514         * invoke.texi (-fthis-is-variable): Remove documentation.
10516 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
10518         * basic-block.h (compute_bb_for_insn): Declare.
10519         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
10520         to use; set size of basic_block_for_insn directly.
10521         (find_basic_blocks): Update.
10523 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10525         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
10527 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10529         * crtstuff.c (ON_EXIT): Delete empty macro definition.
10530         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
10532 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
10534         * c-decl.c (c_decode_option): Extend comment.
10536 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
10538         * toplev.c (progname): Make 'const char *'
10539         (flag_print_mem): Move out of main.
10540         (version_flag): Move out of main.
10541         (filename): Move out of main.
10542         (debug_args): Remove g prefix from options.
10543         (documented_lang_options): Remove cpplib specific options.
10544         (display_help): Add g prefix to debug options.
10545         (check_lang_option): Delete this function.
10546         (decode_d_option): New function: Decode -d... option.
10547         (decode_f_option): New function: Decode -f... option.
10548         (decode_W_option): New function: Decode -W... option.
10549         (decode_g_option): New function: Decode -g... option.
10550         (independent_decode_option): New function: Decode a language
10551         independent command line option.
10552         (main): Invoke lang_decode_option and then
10553         independent_decode_option on each command line option in
10554         turn.
10556 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
10558         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
10559          * fold-const.c (fold_range_test): Do not try to fold the range
10560          test if the rhs or lhs has side effects.
10562         * basic-block.h (compute_flow_dominators): Declare.
10564         * gcse.c (alloc_code_hoist_mem): New function.
10565         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
10566         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
10567         (hoist_code, one_code_hoisting_pass): Likewise.
10568         (gcse_main): If optimizing for size, then hoist expressions
10569         computed in multiple dominated basic blocks.
10571         * gcse.c (invalid_nonnull_info): New function.
10572         (delete_null_pointer_checks): Likewise.
10573         * rtl.h (delete_null_pointer_checks): Declare.
10574         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
10576         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
10577         (merge-blocks_move_successor_nojumps): Likewise.
10578         (merge_blocks): Allow merging of some blocks, even if it requires
10579         physical movement of the blocks, but not if it requires new jumps.
10581         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
10582         Callers and prototype changed.
10583         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
10585 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10587         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
10588         -YP when both -p and -pg are present.  From i386/sol2.h.
10590 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10592         * Makefile.in (distclean): Delete tm_p.h.
10593         * configure.in: Create a new file, "tm_p.h", from a list in
10594         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
10595         "i386/i386-protos.h".
10597         * alias.c: Include "tm_p.h".
10598         * c-typeck.c: Likewise.
10599         * calls.c: Likewise.
10600         * cse.c: Likewise.
10601         * emit-rtl.c: Likewise.
10602         * explow.c: Likewise.
10603         * expmed.c: Likewise.
10604         * expr.c: Likewise.
10605         * final.c: Likewise.
10606         * flow.c: Likewise.
10607         * fold-const.c: Likewise.
10608         * function.c: Likewise.
10609         * gcse.c: Likewise.
10610         * global.c: Likewise.
10611         * haifa-sched.c: Likewise.
10612         * integrate.c: Likewise.
10613         * jump.c: Likewise.
10614         * local-alloc.c: Likewise.
10615         * loop.c: Likewise.
10616         * optabs.c: Likewise.
10617         * recog.c: Likewise.
10618         * reg-stack.c: Likewise.
10619         * regclass.c: Likewise.
10620         * regmove.c: Likewise.
10621         * reload.c: Likewise.
10622         * reload1.c: Likewise.
10623         * reorg.c: Likewise.
10624         * resource.c: Likewise.
10625         * stmt.c: Likewise.
10626         * stor-layout.c: Likewise.
10627         * toplev.c: Likewise.
10628         * tree.c: Likewise.
10629         * unroll.c: Likewise.
10630         * genattrtab.c (main): Make generated file include "tm_p.h".
10631         * genemit.c (main): Likewise.
10632         * genoutput.c (main): Likewise.
10633         * genrecog.c (main): Likewise.
10635         * i386.h: Delete all prototypes.
10636         * i386.c: Include "tm_p.h".
10637         (ix86_attr_length_default): Call constant_call_address_operand
10638         with correct number of arguments.
10639         * i386-protos.h: New file.
10640         * i386.md (unnamed patterns): Call constant_call_address_operand
10641         with correct number of arguments.
10642         (exception_receiver): Call load_pic_register with correct number
10643         of arguments.
10645 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
10647         * c-pragma.c (mark_align_stack): Dereference the void* properly.
10649 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
10651         * rtl.h (insns_safe_to_move_p): New function.
10652         * loop.c (find_and_verify_loops): Use it.
10653         * rtlanal.c (insns_safe_to_move_p): Define it.
10655 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
10657         * c-pragma.c: Include ggc.h.
10658         * Makefile.in (c-pragma.o): Update.
10660 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10662         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
10663         (LIB_SPEC): Likewise.
10664         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
10665         Reindent -YP/-p/-pg.
10666         Copied from config/sparc/sol2.h.
10668 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
10670         * c-pragma.c (mark_align_stack): New.
10671         (init_pragma): New.
10672         * c-pragma.h (init_pragma): Declare it.
10673         * c-lex.c (init_parse): Call it.
10675 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10677         * configure.in: Pick up thread library on Solaris/x86 just
10678         like on Solaris/sparc.
10679         * configure: Rebuilt.
10681 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
10683         * rtl.h (global_rtx_index): New enum.
10684         (global_rtl): Change to array of rtx.
10685         (pc_rtx, cc0_rtx): Redefine accordingly.
10686         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
10687         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
10688         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
10689         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
10690         (const_int_rtx): Change to array of rtx.
10691         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
10692         accordingly.
10693         * emit-rtl.c (global_rtl): Change to array of rtx.
10694         (const_int_rtx): Change to aray of rtx.
10695         (gen_rtx_CONST_INT): Redefine accordingly.
10696         (init_emit_once): Allocate and initialize global_rtl.  Likewise
10697         for const_int_rtx.  Add both as GC roots.
10698         * genattrtab.c (global_rtl): Update declaration.
10700 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
10702         * Makefile (USER_H): Add iso646.h back.
10704 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
10706         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
10707         zapping the LOG_LINKS of sched_before_next_call.
10709         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
10710         * pa.c (insn_refs_are_delayed): Renamed from
10711         insn_sets_and_refs_are_delayed.
10713 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
10715         * functiion.h (struct function): Add x_whole_function_mode_p.
10716         (retrofit_block): Declare.
10717         * function.c (retrofit_block): New function.
10718         (identify_blocks): Add assertions.  Allow an incomplete set of
10719         block notes if we're still generating code for the function.
10720         * integrate.c: Include loop.h.
10721         (expand_inline_function): Call find_loop_tree_blocks to map block
10722         notes to blocks when in whole-function mode.  Use retrofit_block
10723         to insert new BLOCKs for the inlined function, rather than
10724         insert_block.
10725         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
10726         * Makefile.in (integrate.o): Depend on loop.h.
10728 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
10730         * tree.h (warn_about_unused_variables): Declare.
10731         * stmt.c (warn_about_unused_variables): New function, split out
10732         from ...
10733         (expand_end_bindings): Here.
10735 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
10737         * stmt.c (preserve_subexpressions_p): Don't crash when
10738         current_function->stmt is unset.
10740 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
10742         * stmt.c (expand_start_bindings): Allow callers to pass a flag
10743         indicating that no NOTE_INSN_BLOCK_BEG note is required.
10744         (expand_start_target_temps): Use it.
10745         * except.c (expand_eh_region_start_for_decl): Likewise.
10746         * expr.c (expand_expr): Likewise.
10748 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
10750         * fold-const.c (operand_equal_p): Pay attention to side effects.
10752 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
10754         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
10755         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
10757         * tlink.c (scan_linker_output): Look for keywords before accepting
10758         a mangled name in quotes.
10760 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
10762         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
10763         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
10765 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
10767         * alpha.md: Revert Thu Nov 26 change that came in through the
10768         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
10769         Avoid earlyclobber when possible.
10771 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10773         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
10775         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
10776         Define HAVE_ON_EXIT.
10778 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10780         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
10781         CTYPE_CONV in all ctype macros.
10783         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
10784         from system.h.
10786         * cexp.y (initialize_random_junk): Likewise.
10788         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
10790         * i370.c (handle_pragma): Likewise.
10792         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
10794         * v850.c (override_options): Likewise.
10796         * doprint.c (_doprnt): Likewise.
10798         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
10799         Likewise.
10801         * fixinc/server.c (load_data): Likewise.
10803         * fold-const.c (real_hex_to_f): Likewise.
10805         * genattr.c (write_upcase, gen_attr): Likewise.
10807         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
10808         write_upcase): Likewise.
10810         * genemit.c (print_code): Likewise.
10812         * genopinit.c (gen_insn): Likewise.
10814         * genpeep.c (print_code): Likewise.
10816         * genrecog.c (print_code): Likewise.
10818         * optabs.c (init_libfuncs): Likewise.
10820 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
10822         * haifa-sched.c (sched_analyze): Keep the list of notes organized
10823         in pairs.
10824         (reemit_notes): Likewise.
10826 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
10828         * ggc.h (ggc_root): Move to ggc-common.c.
10829         (roots): Remove.
10830         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
10831         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
10832         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
10833         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
10834         * ggc-common.c (ggc_root): Move from ggc.h.
10835         (roots): Declare, static.
10836         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
10837         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
10838         null or check/set mark bit.
10839         (ggc_mark_roots): New.
10840         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
10842 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
10844         * m32r.c: Include toplev.h.
10845         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
10846         (gen_compare): Rename swap_p to must_swap to match uses.
10847         Add default abort case.
10848         (m32r_output_function_epilogue): Remove unused variables.
10849         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
10850         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
10851         define to empty parameter list.  Update all uses.
10852         (predicate decls): Use enum machine_mode not int.
10853         * m32r.md (movsi): Call abort, not fatal_insn.
10854         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
10856 1999-09-14  Andrew Haley  <aph@cygnus.com>
10858         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
10859         use $0 instead of 0.
10861 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10863         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
10864         computation out of loop over hard regs.
10866 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
10868         * function.c (identify_blocks): Don't shadow a variable in an
10869         outer scope.
10870         * integrate.c (integrate_decl_tree): Don't use pushlevel,
10871         pushdecl, or poplevel to build up the new BLOCK tree.
10872         (expand_inline_function): Likewise.
10873         (integrate_parm_decls): Likewise.
10875 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
10877         * c-typeck.c (qualify_type): Merge qualifiers from both types.
10879 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
10881         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
10882         * invoke.texi: Document this change.
10884 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
10886         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
10887         Free the struct.
10888         (mark_emit_status): Renamed from mark_emit_state.
10889         * except.c (mark_eh_status): Renamed from mark_eh_state.
10890         Check not null before marking.
10891         (free_eh_status): New.
10892         * expr.c (mark_expr_status, free_expr_status): New.
10893         * function.c (free_machine_status): New.
10894         (free_after_parsing): New.
10895         (free_after_compilation): Move bits to free_after_parsing; call
10896         free_eh_status, free_expr_status; zero the marked members of the
10897         function state.
10898         (prepare_function_start): No can_garbage_collect.
10899         Call init_eh_for_function.
10900         (expand_dummy_function_end): Free up current_function state.
10901         (mark_function_status): Renamed from mark_function_state.
10902         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
10903         * function.h (struct function): No can_garbage_collect.
10904         (free_machine_status, free_after_parsing): Declare.
10905         (free_eh_status, free_expr_status): Declare.
10906         * ggc.h (mark_expr_status): Declare.
10907         * stmt.c (free_stmt_status): Free the struct.
10908         (mark_stmt_status): Renamed from mark_stmt_state.
10909         (init_stmt): Don't call init_eh.
10910         (init_stmt_for_function): Don't call init_eh_for_function.
10911         * toplev.c (compile_file): Call init_eh.
10912         (rest_of_compilation): Free basic block info before ggc_collect.
10913         Call free_after_parsing; conditionally call free_after_compilation.
10914         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
10915         Check not null before marking.
10916         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
10918 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
10920         * c-lex.c (yylex): Initialize warn.
10922 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
10924         * pa.c (emit_move_sequence): Properly set the mode of the scratch
10925         register when performing secondary reloads for the SAR register.
10927 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
10929         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
10930         (NOTE_BLOCK): New macro.
10931         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
10932         * function.h (identify_blocks): Change prototype.
10933         * function.c (identify_blocks): Simplify.
10934         (reorder_blocks): Likewise.
10935         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
10936         NOTE_INSN_BLOCK_{BEG,END}.
10937         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
10938         the list of saved notes if the note isn't a
10939         NOTE_INSN_BLOCK_{BEG,END}.
10940         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
10941         NOTE_BLOCK_NUMBER.
10942         (reemit_notes): Adjust recreation of notes to reflect new saved
10943         note structure.
10944         * print-rtl.c (print_rtx): Print the address of the BLOCK when
10945         printing a block note.
10946         * stmt.c (block_vector): Remove.
10947         (find_loop_tree_blocks): Simplify.
10948         (unroll_block_trees): Likewise.
10949         * tree.h (reorder_block): Change prototype.
10951 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
10953         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
10954         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
10955         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
10956         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
10957         (atexit, exit): Simplify.
10958         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
10959         * config/lots: Remove defns of HAVE_ATEXIT.
10961 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
10963         * calls.c (precompute_arguments): Fix typo in comment.
10964         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
10965         TARGET_EXPR.
10967 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
10969         * dsp16xx.c (override_options): Fix typos in GC root registration.
10971 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
10973         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
10974         from config/svr4.h.
10975         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
10976         (FUNCTION_PROFILER): Redefine appropriately for Linux.
10977         (CC1_SPEC): Likewise.
10979 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10981         * genattr.c (main): Add extern prototype.  Call return, not exit.
10982         * genattrtab.c (main): Likewise.
10983         * gencheck.c (main): Likewise.
10984         * gencodes.c (main): Likewise.
10985         * genconfig.c (main): Likewise.
10986         * genemit.c (main): Likewise.
10987         * genextract.c (main): Likewise.
10988         * genflags.c (main): Likewise.
10989         * gengenrtl.c (main): Likewise.
10990         * genopinit.c (main): Likewise.
10991         * genoutput.c (main): Likewise.
10992         * genpeep.c (main): Likewise.
10993         * genrecog.c (main): Likewise.
10995         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
10996         * genattrtab.c (get_insn_name): Likewise.
10997         * gencodes.c (get_insn_name): Likewise.
10998         * genconfig.c (get_insn_name): Likewise.
10999         * genemit.c (get_insn_name): Likewise.
11000         * genextract.c (get_insn_name): Likewise.
11001         * genflags.c (get_insn_name): Likewise.
11002         * genopinit.c (get_insn_name): Likewise.
11003         * genpeep.c (get_insn_name): Likewise.
11005         * gencheck.c (usage): Add static prototype.
11006         * genextract.c (print_path): Constify a char*.
11007         * genopinit.c (optabs): Likewise.
11008         * genoutput.c (operand_data, data, output_predicate_decls,
11009         compare_operands): Likewise.
11010         * genrecog.c (write_tree): Add default case in switch.
11012 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11014         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
11016         * print-rtl.c (get_insn_name): Remove prototype.
11018         * toplev.h (progname): Declare const.
11020         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
11021         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
11022         dump_sched_info, dump_local_alloc, regset_release_memory,
11023         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
11024         error_with_file_and_line, error_with_decl, error_for_asm, error,
11025         fatal, warning_with_file_and_line, warning_with_decl, warning,
11026         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
11027         Remove redundant prototypes.
11029         (notice, check_lang_option, report_file_and_line, vnotice,
11030         mark_file_stack): Add static prototype.
11031         (set_fatal_function): Add prototype.
11032         (vnotice, report_file_and_line, set_fatal_function,
11033         check_lang_option): Constify a char*.
11034         (main): Prototype.  Call return, not exit.
11036 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11038         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
11040         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
11042         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
11044         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
11046 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11048         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
11049         behave as if it's zero in all cases.
11050         (expand_function_start): Adjust call to assign_parms.
11051         * tree.h (assign_parms): Adjust prototype.
11052         * objc/objc-act.c (hack_method_prototype): Adjust call to
11053         assign_parms.
11055 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
11057         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
11058         arg_pointer_rtx fixed if the argument pointer register is
11059         not fixed.
11060         (NONZERO_BASE_PLUS_P): Likewise.
11062 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
11064         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
11065         match_insn2 to match_insn.
11066         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
11068 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
11070         * Makefile.in (USER_H): Remove va-foo.h.
11072         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
11073         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
11074         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
11075         va-spur.h,va-v850.h}: Remove.
11077 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
11079         * sparc/sparc.md (eligible_for_return_delay): New attribute.
11080         (in_return_delay): Use it instead of match_insn.
11082 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11084         * config/alpha/va_list.h (va-alpha.h): Do not include.
11085         (__gnuc_va_list): Typedef as in varargs.h.
11087 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
11089         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
11090         DECL_LIVE_RANGE_RTL.
11092 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
11094         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
11095         not NOTE_BLOCK_NUMBER.
11096         (expand_eh_region_end): Likewise.
11097         (find_exception_handler_labels): Likewise.
11098         (scan_region): Likewise.
11099         (exception_optimize): Likewise.
11100         (update_rethrow_references): Likewise.
11101         (set_insn_eh_region): Likewise.
11102         * final.c (final_scan_insn): Likewise.
11103         * flow.c (make_edges): Likewise.
11104         * integrate.c (expand_inline_function): Likewise.
11105         * print-rtl.c (print_rtx): Likewise.
11107 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
11109         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
11110         terms of builtin functions and types.
11112         * mips.c (mips_build_va_list): New.
11113         (mips_va_start, mips_va_arg): New.
11114         * mips.h (BUILD_VA_LIST_TYPE): New.
11115         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
11117         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
11118         (sh_build_va_list, sh_va_start, sh_va_arg): New.
11119         * sh.h (BUILD_VA_LIST_TYPE): New.
11120         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
11122 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
11124         * recog.h (struct recog_data): Make dup_num, operand_address_p,
11125         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
11126         (struct insn_data): Likewise with n_operands, n_dups,
11127         n_alternatives, output_format.
11128         * regclass.c (scan_one_insn): Cast n_operands to int before
11129         arithmetic inside comparison.
11131 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
11133         * toplev.c (compile_function): Unconditionally emit nop.
11135 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11137         * haifa-sched.c (actual_hazard): Move declaration of variable
11138         `this_cost' into the scope where it is used.
11140 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11142         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
11143         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
11144         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
11146         * genrecog.c (make_insn_sequence): Call memset, not bzero.
11148         * jump.c (find_insert_position): Don't declare or define unless
11149         !HAVE_conditional_arithmetic.
11150         (returnjump_p_1, delete_prior_computation): Add static prototypes.
11152         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
11154         * recog.c (offsettable_address_p): Prototype function pointer.
11155         (preprocess_constraints): Call memset, not bzero.
11157         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
11158         (gcc_obstack_init): Don't declare.
11159         (fix_sizetype): Add static prototype.
11160         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
11161         (tree_cons): Call memset, not bzero.
11163         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
11164         definition in macro ASM_WEAKEN_LABEL.
11165         (mark_const_hash_entry): Add static prototype.
11167 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11169         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
11171         * unroll.c (find_common_reg_term, subtract_reg_term,
11172         loop_find_equiv_value): Add static prototypes.
11173         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
11174         (copy_loop_body): Remove unreachable break statement.
11176         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
11178         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
11180 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11182         Undo some changes from the gcc2 merge:
11183         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
11184         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
11185         pointers.
11187         Undo this change:
11188         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
11189         * emit-rtl.c (gen_lowpart_common): Disable optimization of
11190         initialized float-int union if the value is a NaN.
11192 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11194         * gthr-win32.h: New file.
11196         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
11197         shared as a valid attribute.
11198         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
11199         * extend.texi: Document `shared' variable attribute.
11201 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
11203         * configure.in: Handle --enable-threads on FreeBSD.
11204         * configure: Rebuit.
11206 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11208         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
11209         thread support.
11210         * configure: Rebuilt.
11212 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
11213                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
11214                           Rosimildo DaSilva <rdasilva@connecttel.com>
11216         * configure.in (m68k-*-rtemscoff*): Added.
11217         * configure.in (mips64orion-*-rtems*): Converted to ELF.
11218         * configure.in (sparc-*-rtemsaout*): Added as alias for old
11219         sparc-rtems configuration.
11220         * configure.in (sparc-*-rtemself*): Added.
11221         * configure.in (sparc-*-rtems*): Now ELF not a.out.
11222         * config/i386/rtems.h: Added comment.
11223         * config/sparc/rtemself.h: New file.
11225         * configure.in (m68k-rtemself): Added.
11226         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
11227         and DWARF_DEBUGGING_INFO.
11228         * config/m68k/crti.s: New file.
11229         * config/m68k/crtn.s: New file.
11230         * config/m68k/t-crtstuff: New file.
11231         * config/m68k/rtemself.h: New file.
11233         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
11234         global ctor/dtor and C++ exception handling.
11235         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
11236         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
11237         ENDFILE_SPEC.
11238         * config/i386/t-rtems-i386: New File.
11240 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
11242         * stmt.c (expand_end_case): Return right away if the case stack is
11243         empty.
11245 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
11247         * Makefile.in (version.c): Remove rule incorrectly brought in from
11248         the gcc2 merge.
11250 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
11252         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
11253         * msdos/top.sed:  Take into account a prepended $(SHELL) to
11254         move-if-change.
11255         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
11257         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
11259 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11261         * regmove.c (fixup_match_1): Don't change an unchanging register.
11262         (stable_but_for_p): Renamed to:
11263         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
11264         Changed all callers.
11266 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
11268         * loop.c (strength_reduce): Don't call reg_used_between_p if the
11269         insn from BL2 is after the insn from BL.
11271 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
11273         * recog.h (INSN_OUTPUT_FORMAT_*): New.
11274         (struct insn_data): Merge `template' and `outfun' into `output'.
11275         Add `output_format'.
11276         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
11277         (struct data): Remove `outfun'; add `output_format'.
11278         (name_for_index): Remove declaration.
11279         (output_insn_data): Handle output formats.
11280         (process_template): Emit the bare array for @.
11281         (gen_expand, gen_split): Set output_format to NONE.
11282         * output.h (get_insn_template): Declare.
11283         * final.c (get_insn_template): New.
11284         (final_scan_insn): Use it.
11285         * toplev.c (compile_file): Likewise.
11287         * c4x/c4x.c (c4x_process_after_reload): Likewise.
11288         * i860/i860.c (output_delayed_branch): Likewise.
11289         (output_delay_insn): Likewise.
11291 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11293         * rtl.c (obstack_alloc_rtx): Removed.
11295 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
11297         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
11299 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
11301         * i386.c (call_insn_operand): Reject const_int.
11302         (expander_call_insn_operand): Use call_insn_operand.
11304 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11306         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
11308 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
11310         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
11311         Use DImode operation.
11313 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
11315         * gcc.c: Include sys/resource.h.
11316         (report_times): New flag.
11317         (execute):  If report_times is set, calculate and report the
11318         CPU time consumed by each subprocess.
11320         (rus, prus): New globals.
11321         (option_map): Add --time.
11322         (display_help): Document -time.
11323         (process_command): Set report_times if -time is given.
11324         Turn off -pipe if -time is given.
11326         * invoke.texi: Document new option -time.
11328         * configure.in: Check for getrusage.  Check if we have to
11329         prototype getrusage.
11330         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
11331         * configure: Regenerate.
11332         * config.in: Regenerate.
11334 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
11336         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
11337         fields.
11339 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
11341         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
11342         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
11343         (nan): Return _thenan_sf or _thenan_df as appropriate.
11344         (L_thenan_sf): Define _thenan_sf.
11345         (L_thenan_df): Define _thenan_df.
11347         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
11348         (DPBIT_FUNCS): Add _thenan_df.
11350 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
11352         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
11353         TYPE_SIZE_UNIT.
11355 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11357         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
11359         * gcc.h: New file.
11360         (lang_specific_driver): Don't take a function pointer parameter.
11361         All callers changed.
11363         * gcc.c: Include gcc.h.
11364         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
11365         lang_specific_extra_outfiles, fatal): Don't declare.
11366         (multilib_defaults_raw): Constify.
11367         (read_specs): Call memset, rather than bzero.
11368         (main): Call return, not exit.
11369         (lookup_compiler): Call memcpy, not bcopy.
11370         (fatal): Make extern.
11372         * cppspec.c: Include gcc.h.
11373         (lang_specific_driver): Initialize variable `quote'.  Constify a
11374         char*.  All calls to the function pointer parameter now
11375         explicitly call `fatal'.
11377         * gccspec.c (lang_specific_driver): Include gcc.h.
11379 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
11381         * arm.c (note_invalid_constants): Use recog_data.operand_type
11382         for recog_op_type.
11384 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11386         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
11387         Declare.
11389         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
11390         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11391         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11392         reload_secondary_in_reload, reload_secondary_out_reload,
11393         reload_secondary_in_icode, reload_secondary_out_icode,
11394         reload_reg_rtx, reload_when_needed): Delete declarations.
11395         (struct reload): New structure.
11396         (rld): Declare new array.
11397         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
11398         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11399         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11400         reload_secondary_in_reload, reload_secondary_out_reload,
11401         reload_secondary_in_icode, reload_secondary_out_icode,
11402         reload_reg_rtx, reload_when_needed): Delete definitions.
11403         (rld): New array.
11404         (whole file): Replace uses of the deleted arrays with uses of rld.
11405         * reload1.c (whole file): Replace uses of the deleted arrays with
11406         uses of rld.
11407         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
11408         explicit loops, not with bcopy.
11410 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
11412         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
11413         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
11414         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
11415         insn_name): Delete and consolidate into new structures.
11416         (insn_operand_predicate_fn): New.
11417         (insn_output_fn): New.
11418         (insn_gen_fn): New.
11419         (struct insn_operand_data): New.
11420         (struct insn_data): New.
11421         (insn_data): New.
11422         (OUT_FCN): Update for insn_data change.
11423         * builtins.c (expand_builtin_strlen): Likewise.
11424         (expand_builtin_memcmp): Likewise.
11425         * combine.c (make_extraction, simplify_comparison): Likewise.
11426         * cse.c (canon_reg, cse_insn): Likewise.
11427         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
11428         * expmed.c (store_bit_field, extract_bit_field): Likewise.
11429         (emit_store_flag): Likewise.
11430         * expr.c (convert_move, emit_block_move): Likewise.
11431         (clear_storage, emit_push_insn, expand_increment): Likewise.
11432         (do_store_flag): Likewise.
11433         * expr.h (GEN_FCN): Likewise.
11434         (insn_gen_function): Die.
11435         * final.c (final_scan_insn): Update for insn_data change.
11436         (output_asm_name): Likewise.
11437         * function.c (fixup_var_refs_1): Likewise.
11438         * loop.c (check_dbra_loop): Likewise.
11439         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
11440         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
11441         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
11442         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
11443         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
11444         * regmove.c (gen_add3_insn): Likewise.
11445         * reload.c (push_secondary_reload, combine_reloads): Likewise.
11446         (find_reloads, find_reloads_address_1): Likewise.
11447         (debug_reload_to_stream): Likewise.
11448         * reload1.c (emit_reload_insns, gen_reload): Likewise.
11449         * stmt.c (expand_end_case): Likewise.
11450         * toplev.c (compile_file): Likewise.
11452         * c4x/c4x.c (c4x_process_after_reload): Likewise.
11453         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11455         * print-rtl.c (insn_name_ptr): Remove declaration.
11456         (get_insn_name): Declare.
11457         (print_rtx): Use it.
11458         * genoutput.c (insn_name_ptr): Remove.
11459         (next_operand_number): New.
11460         (struct operand_data): New.
11461         (null_operand, odata, odata_end): New.
11462         (struct data): Use struct operand_data.
11463         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
11464         (get_insn_name): Renamed from name_for_index.
11465         (output_prologue): Define NO_MD_PROTOTYPES.
11466         (output_predicate_decls): Break out from output_epilogue.
11467         Iterate over the operands list.
11468         (output_operand_data): Break out from output_epilogue.  Emit
11469         just the operands list.
11470         (output_insn_data): Break out from output_epilogue.  Emit just
11471         the insn data.
11472         (output_epilogue): Remove.
11473         (output_get_insn_name): New.
11474         (constraints, op_n_alternatives, predicates, address_p): Die.
11475         (modes, strict_low, seen): Die.
11476         (scan_operands): Take new param `d' instead of writing to
11477         seven global variables.
11478         (compare_operands): New.
11479         (place_operands): New.
11480         (validate_insn_alternatives): Update for struct data change.
11481         (gen_insn): Don't zero or copy 7 global arrays.  Update for
11482         scan_operands; call place_operands.
11483         (gen_peephole, gen_expand, gen_split): Likewise.
11484         (main): Update for new output routines.
11486         * genattr.c (insn_name_ptr): Remove.
11487         (get_insn_name): New function.
11488         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
11489         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
11490         * genrecog.c: Likewise.
11492         * alpha.md (adddi3): Make `pattern' array static.
11494 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11496         * config/c4x/c4x.h (c4x_rpts_cycles_string,
11497         c4x_cpu_version_string): Constify char *.
11498         * config/c4x/c4x.c (c4x_rpts_cycles_string,
11499         c4x_cpu_version_string): Likewise.
11501 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
11503         * tree.c (save_tree_status): Revert 10 Sep change.
11504         (restore_tree_status): Likewise.  Call obstack_free with NULL
11505         before freeing the obstack proper.
11507 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
11509         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
11511         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
11512         surrounding context.
11514 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
11516         * tree.c (type_hash_canon): Put all types in the hash-table, when
11517         GC'ing.
11519 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
11521         * recog.h (struct recog_data, recog_data): New.
11522         (recog_foo variables): Kill.
11523         * recog.c (recog_operand, recog_operand_loc): Kill.
11524         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
11525         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
11526         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
11527         (recog_data): Define.
11528         (extract_insn): Update all recog_foo references to use recog_data.
11529         (preprocess_constraints, constrain_operands): Likewise.
11530         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
11531         * genattrtab.c (main): Likewise.
11532         * genextract.c (main): Likewise.
11533         * genoutput.c: Likewise.
11534         * genrecog.c (write_subroutine, main): Likewise.
11535         * local-alloc.c (block_alloc): Likewise.
11536         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
11537         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
11538         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
11539         * reload.c (find_reloads, find_reloads_toplev): Likewise.
11540         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
11541         (reload_cse_simplify_operands): Likewise.
11543         * arc/arc.c (arc_final_prescan_insn): Likewise.
11544         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
11545         * h8300/h8300.c (notice_update_cc): Likewise.
11546         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
11547         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11548         * mn10200/mn10200.c (notice_update_cc): Likewise.
11549         * mn10300/mn10300.c (notice_update_cc): Likewise.
11550         * romp/romp.c (update_cc): Likewise.
11551         * sparc/sparc.c (check_pic): Likewise.
11552         * v850/v850.c (notice_update_cc): Likewise.
11554         * genemit.c (main): Don't declare recog_operand.
11556 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
11558         * ggc.h (rtvec_def): Forward declare.
11559         (tree_node): Likewise.
11560         (ggc_root): Define.
11561         (roots): Declare.
11562         (ggc_set_mark_rtx): Add prototype.
11563         (ggc_set_mark_rtvec): Likewise.
11564         (ggc_set_mark_tree): Likewise.
11565         * ggc-simple.c (ggc_root): Don't define.
11566         (roots): Don't declare.
11567         (ggc_mark_rtx): Remove.
11568         (ggc_mark_rtvec): Likewise.
11569         (ggc_mark_tree): Likewise.
11570         (ggc_mark_varray): Likewise.
11571         (ggc_mark_tree_hash_table_entry): Likewise.
11572         (ggc_mark_tree_hash_table): Likewise.
11573         (ggc_set_mart_rtx): New function.
11574         (ggc_set_mark_rtvec): Likewise.
11575         (ggc_set_mark_tree): Likewise.
11576         (ggc_add_root): Remove.
11577         (ggc_add_rtx_root): Likewise.
11578         (ggc_remove_tree_root): Likewise.
11579         (ggc_add_string_root): Likewise.
11580         (ggc_add_tree_varray_root): Likewise.
11581         (ggc_add_tree_hash_table_root): Likewise.
11582         (ggc_del_root): Likewise.
11583         (ggc_mark_rtx_ptr): Likewise.
11584         (ggc_mark_tree_ptr): Likewise.
11585         (ggc_mark_string_ptr): Likewise.
11586         (ggc_mark_tree_varray_ptr): Likewise.
11587         (ggc_mark_tree_hash_table_ptr): Likewise.
11588         * ggc-common.c: New file.
11589         * Makefile.in (OBJS): Add ggc-common.o.
11590         (ggc-common.o): List dependencies.
11592 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
11594         * cppalloc.c (xstrdup): Use memcpy.
11595         * cpperror.c (cpp_print_containing_files): Don't use
11596         cpp_notice.
11597         * cpplib.c (conditional_skip): Set temp->lineno.
11598         (do_endif): Make error message less obscure.
11599         (if_directive_name): New function.
11600         (cpp_get_token [case EOF]): Unwind the if stack and generate
11601         error messages for each unterminated conditional in this file.
11602         (parse_string):  Do not behave differently if -traditional.
11604 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
11606         * builtins.c (expand_builtin_va_arg): Cope with an array-type
11607         va_list decomposing to pointer-type.
11608         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
11609         (rs6000_va_arg): Likewise.
11611 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
11613         * except.c (start_dynamic_handler): Compute size using
11614         STACK_SAVEAREA_MODE.
11616 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11618         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
11619         include directory headers.  Don't define strrchr.  Don't provide
11620         my_* replacement functions.  Prefer PTR over `pointer_type'.
11621         Don't prototype system functions.  Don't redefine getopt.
11623         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
11624         safe_read, safe_write, save_pointers, restore_pointers,
11625         is_id_char, in_system_include_dir, directory_specified_p,
11626         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
11627         find_corresponding_lparen, referenced_file_is_newer,
11628         save_def_or_dec, munge_compile_params, gen_aux_info_file,
11629         process_aux_info_file, identify_lineno, check_source,
11630         seek_to_line, forward_to_next_token_char, output_bytes,
11631         output_string, output_up_to, other_variable_style_function,
11632         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
11633         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
11634         find_static_definition, connect_defs_and_decs, add_local_decl,
11635         add_global_decls, needs_to_be_converted, visit_each_hash_node,
11636         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
11637         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
11638         scan_for_missed_items, edit_file, string_list_cons): Add static
11639         prototypes.
11640         (standard_exec_prefix, target_machine, target_version,
11641         default_syscalls_dir, string_list, string_list_cons, find_file,
11642         do_cleaning): Constify a char*.
11643         (safe_read, safe_write): Use PTR, not a char*.
11644         (is_id_char): Take an int, not a char.
11645         (main): Add prototype.  Call return, not exit.
11647 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
11649         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
11650         when comparing types.
11652 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
11654         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
11655         (strength_reduce): Release the varrays from the no-bivs early exit.
11657         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
11658         the loop over the registers.
11660         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
11661         for a new obstack.
11662         (restore_tree_status): Check that instead when freeing the obstack.
11664 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
11666         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
11667         as pointers.
11669 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11671         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
11672         operand size modifiers.
11674 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11676         * c-common.c (c_common_nodes_and_builtins): Don't build
11677         va_list_type_node.
11678         * c-common.h (enum c_tree_index and related accesor macros): Remove
11679         everything now declared in tree.h.
11680         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11681         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
11682         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
11683         (error_mark_node, void_type_node, char_type_node, integer_type_node,
11684         unsigned_type_node, ptr_type_node, va_list_type_node,
11685         integer_zero_node, null_pointer_node, integer_one_node): Delete.
11686         (init_decl_processing): Call build_common_tree_nodes and
11687         build_common_tree_nodes_2 instead of building their nodes here.
11688         Don't add roots for these nodes.
11689         * stor-layout.c (size_zero_node, size_one_node): Delete.
11690         (set_sizetype): Make a new node for bitsizetype each time.
11691         * tree.c (global_trees): New variable.
11692         (init_obstacks): Add a gc root for it.
11693         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11694         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
11695         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
11696         (build_common_tree_nodes): New function.
11697         (fix_sizetype): New function.
11698         (build_common_tree_nodes_2): New function.
11699         * tree.h (enum tree_index): New.
11700         (global_trees): Declare.
11701         Add accessor macros for all nodes now moved to global_trees.
11702         Delete their declarations.
11704 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
11706         * c-decl.c (finish_function): When processing a nested function,
11707         push and pop GC context around rest_of_compilation.
11709 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
11711         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
11712         Default ix86_arch to PROCESSOR_I386.
11713         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
11714         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
11715         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
11716         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
11717         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
11718         (EXTRA_SPECS): Remove deleted specs.
11720 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
11722         * function.c (assign_stack_local_1): Allocate from
11723         function->x_frame_offset, not frame_offset.
11725 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
11727         * ggc.h (lang_cleanup_tree): Remove.
11728         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
11729         * ggc-callbacks.c (lang_cleanup_tree): Remove.
11731         * c-decl.c (finish_struct): Use ggc_alloc to allocate
11732         TYPE_LANG_SPECIFIC when garbage collecting.
11733         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
11734         (lang_cleanup_tree): Remove.
11736 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
11738         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
11739         * crtstuff.c: Not here.
11740         * dwarf2out.c: Or here.
11741         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
11742         info.
11744 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
11746         * function.h (free_after_compilation): Remove decl parameter.
11747         (free_varasm_status0: Likewise.
11748         (free_emit_status): Likewise.
11749         (free_stmt_status): Likewise.
11750         (free_after_compilation): Likewise.
11751         (init_lang_status): New variable.
11752         (free_lang_status): Likewise.
11753         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
11754         * function.c (init_lang_status): New variable.
11755         (free_lang_status): Likewise.
11756         (push_function_context_to): Don't set function::decl here.
11757         (free_after_copmilation): Make decl parameter implicit.  Call
11758         free_lang_status if defined.
11759         (prepare_function_start): Call init_lang_status if defined.
11760         (init_function_start): Set function::decl here.
11761         * profile.c (output_func_start_profiler): Don't call pushdecl
11762         until we've actually started the function.
11763         * stmt.c (free_stmt_status): Make decl parameter implicit.
11764         * toplev.c (rest_of_compilation): Don't pass decl to
11765         free_after_compilation.
11766         * varasm.c (free_varasm_status): Likewise.
11768 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11770         * except.c (call_get_eh_context): Add root when allocating static
11771         tree variable.
11773 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
11775         * arm.c: Include "ggc.h".
11776         (arm_add_gc_roots): New function.
11777         (arm_override_options): Call it.
11778         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
11780         * arm.md (define_asm_attributes): Add a pool_range attribute.
11782 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
11784         * extend.texi (Volatiles): New node.
11786 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
11788         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
11789         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
11790         (struct ggc_any): Replace `mark' with `magic_mark'.
11791         (ggc_alloc_string): Use memcpy, not bcopy.
11792         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
11793         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
11794         (ggc_free_any): New.
11795         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
11796         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
11797         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
11798         Use IS_MARKED. Use ggc_free_any.
11800 1999-09-09  Scott Bambrough <scottb@netwinder.org>
11802         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
11804 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
11806         * toplev.c (main): Always init_ggc.
11808 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
11810         * except.c (find_all_handler_type_matches): Free the list if
11811         we found no matches.
11813         * combine.c (SUBST): Break out to a real function do_SUBST.
11814         (SUBST_INT): Likewise.
11815         * gcse.c (free_pre_mem): Free `temp_bitmap'.
11816         (pre_insert): Free `inserted'.
11817         * loop.c (basic_induction_var): Always set `location'.
11819         * function.c (expand_function_end): Add initial_trampoline as a root.
11820         * rtl.h (init_varasm_once): Declare.
11821         * toplev.c (compile_file): Call it.
11822         * ggc-simple.c (ggc_mark_string_ptr): New.
11823         (ggc_add_string_root): New.
11824         (ggc_collect): Disable collection avoidance temporarily.
11825         * ggc.h (ggc_add_string_root): Declare.
11826         * except.c (create_rethrow_ref): Use ggc_alloc_string.
11827         * optabs.c (init_libfuncs): Likewise.
11828         * varasm.c (named_section): Use ggc_alloc_string.
11829         (make_function_rtl): Likewise.
11830         (make_decl_rtl): Likewise.
11831         (assemble_static_space): Likewise.
11832         (assemble_trampoline_template): Likewise.
11833         (output_constant_def): Likewise.
11834         (force_const_mem): Likewise.
11835         (mark_const_hash_entry): New.
11836         (mark_pool_sym_hash_table): New.
11837         (mark_varasm_state): Use it.
11838         (init_varasm_once): New.
11840         * expr.h (init_one_libfunc): Declare.
11841         * optabs.c (init_one_libfunc): New.
11842         (init_optabs): Use it.
11843         * config/gofast.h: Likewise.
11844         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
11845         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
11847 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
11849         * Makefile.in (cppexp.o): Depend on cpphash.h.
11850         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
11851         Include cpphash.h.
11852         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
11853         * cpplib.c (do_define): Generalise to handle poisoned definitions,
11854         redefining poisoned identifiers, etc.
11855         (do_undef): Don't allow poisoned identifiers to be undefined.
11856         (do_pragma): Add #pragma poison.
11857         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11859         * cccp.c: Add T_POISON node type.
11860         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
11861         poisoned xxx.
11862         (do_define): Generalise to handle poisoned definitions,
11863         redefining poisoned identifiers, etc.
11864         (do_undef): Don't allow poisoned identifiers to be undefined.
11865         (do_pragma): Add #pragma poison.
11866         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11868         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
11869         * c-pragma.h: Add ps_poison state.  We now always have generic
11870         pragmas.
11872 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
11874         * ggc.h (ggc_alloc): New function.
11875         (ggc_mark): Likewise.
11876         * ggc-simple.c (ggc_any): New structure.
11877         (ggc_status): Add anys.
11878         (n_anys_collected): New variable.
11879         (ggc_alloc): Define.
11880         (ggc_mark): Likewise.
11881         (ggc_collect): Collect the anys.
11883 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11885         * c-decl.c (mark_binding_level): Make static to match prototype.
11887 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
11889         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
11891 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
11893         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
11894         will use into account.  Expand the max width to 5.
11895         * rtl.c: Likewise.
11897 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
11899         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
11900         for the rtx length.
11902 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
11904         * alpha.md (call value patterns): Remove the result predicates.
11906 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
11908         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
11909         last change.
11911 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11913         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
11914         changed from extern char *, to extern PTR.  Also fix typo in
11915         NEED_DECLARATION_REALLOC test.
11917         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
11919 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11921         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
11922         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
11923         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
11924         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
11926         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
11928         * cccp.c (pcfinclude): Likewise.
11930         * global.c (allocno_compare): Likewise.
11932         * haifa-sched.c (rank_for_schedule): Likewise.
11934         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
11936         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
11938         * stupid.c (stupid_reg_compare): Likewise.
11940         * tree.c (_obstack_allocated_p): Likewise.
11942         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
11944 1999-09-08  Bruce Korb  autogen@linuxbox.com
11946         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
11947         why "gperf -F" fails.
11948         * gcc/cp/Makefile.in: ditto
11949         * gcc/Makefile.in: ditto
11950         * gcc/java/Makefile.in: ditto
11952 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
11954         * lists.c: Include ggc.h.
11955         (zap_lists): New.
11956         (init_EXPR_INSN_LIST_cache): Install it.
11958         * ggc-simple.c (init_ggc): Absorb the old init.
11959         (ggc_push_context): Use xcalloc.
11960         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
11961         (ggc_collect): Add [rvts] tags to the collection stats.
11963 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
11965         * cccp.c (main): Fix handling of -include and -imacros options.
11967 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
11969         * cpplib.c (cpp_push_buffer): Fix order of arguments.
11971 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
11973         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
11974         genrtl.c.
11976 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
11978         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
11979         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
11980         and SET_DEST. Update comment.
11982 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11984         * config/c4x/c4x.c: Include ggc.h.
11985         (c4x_add_gc_roots): New function.
11986         (c4x_override_options): Call c4x_add_gc_roots.
11988 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
11990         * defaults.h (TARGET_ESC): Move ...
11991         * system.h: ... here, where Linas had it in the first place.  Silly me.
11993 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
11995         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
11996         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
11997         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
11998         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
11999         * defaults.h (TARGET_ESC): Add default.
12001 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
12003         * configure.in: add i370-*-openedition, i370-*-mvs and
12004         i370-*-linux targets
12006 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
12008         * dsp16xxx.c: Include ggc.h
12009         (override_options): Mark GC roots.
12010         * mn10200.c: Include ggc.h.
12011         (asm_file_start): Mark GC roots.
12012         * tahoe.c: Include ggc.h.
12013         (extensible_operand): Mark GC roots.
12015 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
12017         * README: Add section discussing status of ELF ABI.
12018         * i370.c: Fix misc spelling mistakes.
12019         (i370_label_scan): Updated notes, exception handling.
12020         (i370_function_prolog): Simplify ELF stack handling.
12021         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
12022         (STACK_GROWS_DOWNWARD): ELF stack grows down.
12023         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
12024         * i370.md: (movdi): Add notes.
12025         (floatsidf2): Use stack not rtca for scratch float area.
12026         (iorsi3): Correct operand constraints.
12027         * x-oe: Restore TAROUTOPTS which are used by pax.
12029 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
12031         * rs6000.c: Include ggc.h.
12032         (rs6000_add_gc_roots): New function.
12033         (override_options): Call it.
12035 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
12037         * alpha.h (alpha_compare): New.
12038         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
12039         * alpha.c: Likewise for the definitions.
12040         (alpha_emit_conditional_branch): Update for alpha_compare.
12041         (alpha_emit_conditional_move): Likewise.
12042         * alpha.md (cmpdf, cmpdi): Likewise.
12043         (setcc patterns): Likewise.  Zero alpha_compare after use.
12044         (sne): Optimize (x != 0) into (0U < x).
12046 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
12048         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
12049         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
12050         (INIT_EXPANDERS): Remove.
12051         * alpha.c: Include ggc.h.
12052         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
12053         (alpha_init_machine_status, alpha_mark_machine_status): New.
12054         (override_options): Install them.
12055         (struct machine_function): Moved to alpha.h.
12056         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
12057         (alpha_init_expanders): Remove.
12058         (alpha_return_addr): Adjust to use current_function->machine.
12059         (alpha_ra_ever_killed): Likewise.
12060         (alpha_expand_epilogue): Likewise.
12061         * alpha.md (eh_epilogue): Likewise.
12063 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
12064                           Melissa O'Neill  <oneill@cs.sfu.ca>
12065                           Geoffrey Keating  <geoffk@cygnus.com>
12067         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
12068         call-used registers (call-saved registers must still be contiguous
12069         and end with r31, of course).
12071 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
12073         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
12074         (self_promoting_type_p): Delete.
12075         (self_promoting_args_p): Move ...
12076         * c-common.c: ... here.
12077         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
12078         (simple_type_promotes_to): New.
12079         * builtins.c (lang_type_promotes_to): New.
12080         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
12081         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
12082         * c-common.h: ... here.
12083         (self_promoting_args_p, simple_type_promotes_to): Declare.
12084         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
12085         (grokdeclarator): Likewise.
12086         * tree.h (lang_type_promotes_to): Declare.
12088 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
12090         Add some machine-dependent GC roots.
12091         * sparc.c: Include ggc.h.
12092         (sparc_add_gc_roots): New function.
12093         (mark_ultrasparc_pipeline_state): Likewise.
12094         (override_options): Call sparc_add_gc_roots.
12095         * pa.c: Include ggc.h.
12096         (pa_add_gc_roots): New function.
12097         (mark_deferred_plabels): Likewise.
12098         (override_options): Call pa_add_gc_roots.
12099         * mips.c: Include ggc.h.
12100         (mips_add_gc_roots): New function.
12101         (override_options): Use it.
12103 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12105         * cpperror.c (cpp_file_line_for_message): Constify a char*.
12107         * cppexp.c (parse_number, parse_charconst, cpp_lex,
12108         cpp_parse_expr): Add static prototypes.
12109         (parse_charconst): Don't cast away const-ness.
12110         (token): Constify a char*.
12112         * cppfiles.c (file_name_list, include_hash, find_include_file,
12113         finclude, initialize_input_buffer): Constify a char*.
12114         (file_cleanup, find_position): Add static prototypes.
12116         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
12117         collect_expansion): Add static prototypes.
12118         (cpp_install, create_definition, monthnames): Constify a char*.
12120         * cpphash.h (cpp_install): Likewise.
12122         * cppinit.c (known_suffixes, default_include,
12123         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
12124         (base_name, dump_special_to_buffer, initialize_dependency_output):
12125         Add static prototypes.
12127         * cpplib.c (my_strerror): Constify a char*.
12128         (null_underflow, null_cleanup, skip_comment, copy_comment,
12129         copy_rest_of_line, handle_directive, pass_thru_directive,
12130         get_directive_token, read_line_number, cpp_print_file_and_line,
12131         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
12132         v_cpp_warning_with_line, detect_if_not_defined,
12133         consider_directive_while_skipping): Add static prototypes.
12134         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
12135         cpp_pedwarn_with_file_and_line): Constify a char*.
12137         * cpplib.h (cpp_options, include_hash, progname, definition,
12138         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
12139         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
12140         find_include_file, deps_output, include_hash): Constify a char*.
12142         * cppmain.c (progname): Constify.
12143         (main): Add prototype.  Use return, not exit.
12145         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
12146         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
12147         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
12148         check_protection): Add static prototype.
12149         (xfree): Remove.
12150         (progname, recognized_macrom, recognized_extern): Constify a char*.
12151         (main): Add prototype.
12153         * gen-protos.c (progname): Constify a char*.
12155 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
12157         * emit-rtl.c (free_emit_status): Take decl as a parameter.
12158         (init_emit_once): Add more GC roots.
12159         * except.c (mark_func_eh_entry): New function.
12160         (mark_eh_node): Mark false_label and rethrow_label.
12161         (init_eh): Add more GC roots.
12162         * function.c (free_after_compilation): Take decl as a paramter.
12163         Call free_stmt_status.
12164         (mark_function_state): Don't assume x_parm_reg_stack_loc is
12165         non-NULL.
12166         * function.h (free_after_compilation): Change prototype.
12167         (free_varasm_status): Likewise.
12168         (free_emit_status): Likewise.
12169         (free_stmt_status): New function.
12170         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
12171         Remove, replacing with ...
12172         (ggc_status): New structure.
12173         (ggc_chain): New variable.
12174         (init_gcc): Define.
12175         (ggc_push_context): New function.
12176         (ggc_pop_context): Likewise.
12177         (ggc_alloc_rtx): Adjust for use of ggc_chain.
12178         (ggc_alloc_rtvec): Likewise.
12179         (ggc_alloc_tree): Likewise.
12180         (ggc_alloc_string): Likewise.
12181         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
12182         (ggc_mark_tree): Give language-dependent code a chance to mark
12183         `x' nodes.
12184         (ggc_mark_tree_varray): Handle empty arrays.
12185         (ggc_collect): Adjust for use of ggc_chain.  Clear
12186         bytes_alloced_since_last_gc.
12187         * ggc.h (ggc_pop_context): New function.
12188         (ggc_push_context): Likewise.
12189         * print-tree.c (print_node): Don't print obstacks when GC'ing.
12190         * stmt.c (free_stmt_status): New function.
12191         (init_stmt_for_function): Clear last_expr_value.
12192         * toplev.c (rest_of_compilation): Always call free_after_compilation.
12193         Conditionalize call to ggc_collect.
12194         (main): Call init_ggc.
12195         * tree.c (push_obstacks): Do the push, even when GC'ing.
12196         (push_obstacks_nochange): Likewise.
12197         (pop_obstacks): Liekwise.
12198         * varasm.c (free_varasm_status): Take decl as a parameter.
12200 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12202         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
12203         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
12204         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
12205         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
12207 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
12209         * pa/x-pa-mpeix: New file for the MPE port.
12211         * pa/quadlib.asm: New file for long double support.
12213         * configure.in: Add hppa1.0-*-mpeix for MPE port.
12214         * configure: Rebuilt.
12216 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
12218         * final.c (shorten_branches): Fix last change.
12220 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
12222         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
12224 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
12226         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
12227         details.
12229 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12231         * c-aux-info.c (concat): Don't define.
12233         * cccp.c (my_strerror): Likewise.  All callers changed to use
12234         xstrerror instead.
12235         (do_include): Call xstrdup, not xmalloc/strcpy.
12236         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
12237         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
12239         * collect2.c (my_strsignal): Likewise.  All callers changed to use
12240         strsignal instead.
12241         (locatelib): Call xstrdup, not xmalloc/strcpy.
12243         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
12245         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
12247         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
12249         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
12251         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
12253         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
12255         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
12256         malloc/realloc.
12257         (find_all_handler_type_matches): Likewise.  Don't check return
12258         value.
12259         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
12260         xmalloc, not malloc.
12261         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
12263         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
12264         (init_spec): Call xcalloc, not xmalloc/bzero.
12265         (set_spec): Call xstrdup, not save_string.
12266         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
12267         (find_a_file): Call xstrdup, not xmalloc/strcpy.
12268         (process_command): Call xstrdup, not save_string.
12269         (main): Call xcalloc, not xmalloc/bzero.
12271         * gcov.c (xmalloc): Don't define.
12272         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
12273         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
12274         (output_data): Call xcalloc, not xmalloc/bzero.
12276         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
12278         * mips-tdump.c (xmalloc): Don't define.
12279         (print_symbol): Call xmalloc, not malloc.
12280         (read_tfile): Call xcalloc, not calloc.
12282         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
12283         Don't define.  All callers of xfree/my_strsignal changed to use
12284         free/strsignal instead.
12285         (allocate_cluster): Call xcalloc, not calloc.
12287         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
12288         Fix memory leak, free allocated memory.
12290         * prefix.c (translate_name): Call xstrdup, not save_string.
12291         (update_path): Likewise.
12293         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
12295         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
12296         Don't define.  Callers of xfree/savestring2 changed to use
12297         free/concat instead.
12299         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
12300         (init_elim_table): Likewise.
12302         * resource.c (init_resource_info): Likewise.
12304         * stupid.c (stupid_life_analysis): Likewise.
12306         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
12307         (open_dump_file): Call concat, not xmalloc/strcpy/...
12308         (clean_dump_file): Likewise.
12309         (compile_file): Call xstrdup, not xmalloc/strcpy.
12311 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
12313         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
12314         * v850.c (v850_va_arg): New.
12316 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12318         * haifa-sched.c: Tidy comments.
12320 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12322         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
12323         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
12324         $(out_object_file)): Depend on ggc.h.
12325         * c-common.c: Include "ggc.h".
12326         (combine_strings): If doing GC, use ggc_alloc_string.
12327         * c-decl.c: Include "ggc.h".
12328         (ggc_p): Define with value 0.
12329         (mark_binding_level): New function.
12330         (init_decl_processing): Add GC roots.
12331         (mark_c_function_context): New function.
12332         (lang_mark_false_label_stack): New function.
12333         (lang_mark_tree): New function.
12334         (lang_cleanup_tree): New function.
12335         * c-lang.c: Include "ggc.h".
12336         (lang_init): Call c_parse_init.
12337         * c-lex.c: Include "ggc.h".
12338         (check_linenum): If doing GC, don't copy filenames to permanent
12339         obstack.
12340         * c-parse.in: Include "ggc.h".
12341         (c_parse_init): New function.
12342         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
12343         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
12345         * except.c (mark_eh_state): Mark more state.
12346         * function.c (mark_function_state): Likewise.
12347         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
12348         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
12349         * toplev.c (mark_file_stack): New function.
12350         (compile_file): If doing GC, use ggc_alloc_string on input filename.
12351         (main): Add root for input_file_stack.
12353         * i386.c: Include "ggc.h".
12354         (ix86_mark_machine_status): New function.
12355         (override_options): Set mark_machine_status.
12357 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12359         * tree.c (copy_node): Copy node contents also if doing GC.
12361 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
12363         * collect2.c (scan_libraries): Fix double-thinko :-).
12365 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
12367         * collect2.c (scan_libraries): Fix thinko.
12369         * cse.c (delete_trivially_dead_insns): Do not skip the last
12370         insn if it is a real insn.
12372 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
12374         * Makefile.in (ggc-simple.o): Depend on hash.h.
12375         * ggc.h (ggc_add_tree_hash_table_root): Declare.
12376         (ggc_mark_tree_varray): Likewise.
12377         (ggc_mark_tree_hash_table): Likewise.
12378         * ggc-simple.c: Include hash.h.
12379         (ggc_mark_tree_hash_table_ptr): New function.
12380         (ggc_mark_tree_hash_table_entry): Likewise.
12381         (ggc_mark_tree_hash_table): Likewise.
12382         (ggc_add_tree_hash_table_root): Likewise.
12383         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
12384         rtx, when defining fields.
12386 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12388         * profile.c (output_func_start_profiler): Remove apparently
12389         nonsensical call to start_sequence.
12391 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
12393         * clipper/clipper.c (clipper_va_start): Fix typos.
12395         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
12396         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
12397         (spur_va_arg): New stub.
12399         * configure.in: Comment out pyramid.
12401 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
12403         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
12404         don't conflict with the bits that win32, cygwin, and dgux
12405         defines.
12407 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
12408                           Bernd Schmidt <bernds@cygnus.co.uk>
12410         * integrate.c (function_cannot_inline_p): Do not inline
12411         functions with forced labels.
12413 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
12414                           Bernd Schmidt <bernds@cygnus.co.uk>
12415                           Mark Mitchell  <mark@codesourcery.com>
12417         * Makefile.in (ggc-simple.o): Depend on varray.h.
12418         (rtl.o): Depend on ggc.h.
12419         (genattrtab.o): Depend on ggc.h.
12420         (print-tree.o): Likewise.
12421         (fold-const.o): Likewise.
12422         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
12423         (make_insn_raw): Don't cache insns when GC'ing.
12424         (emit_insn_before): Likewise.
12425         (emit_insn_after): Likewise.
12426         (emit_insn): Likewise.
12427         (start_sequence): Use xmalloc to allocate the sequence_stack.
12428         (end_sequence): Add free to free it.
12429         (gen_sequence): Don't cache insns when GC'ing.
12430         (clear_emit_caches): Don't use sequence_element_free_list.
12431         (init_emit): Use xcalloc, not xmalloc+bzero.
12432         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
12433         * function.c (pop_function_context_from): Use free to free the
12434         fixup_var_refs_queue.
12435         (put_reg_into_stack): Allocate it with xmalloc.
12436         * genattrtab.c: Include ggc.h.
12437         (operate_exp): Don't use obstack_free when GC'ing.
12438         (simplify_cond): Likewise.
12439         (simplify_text_exp): Likewise.
12440         (optimize_attrs): Likewise.
12441         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
12442         GC'ing.
12443         (gencode): Generate a #include for ggc.h.
12444         * ggc-callbacks.c (ggc_p): Define it to zero.
12445         * ggc-none.c (ggc_p): Likewise.
12446         * ggc-simple.c: Include varray.h.
12447         (ggc_mark_tree_varray): New function.
12448         (ggc_add_tree_varray_root): Likewise.
12449         (ggc_mark_tree_varray_ptr): Likewise.
12450         * ggc.h (ggc_p): Declare.
12451         (varray_head_tag): Likewise.
12452         (ggc_add_tree_varray_root): Declare.
12453         * print-tree.c (print_node): Don't check for TREE_PERMANENT
12454         inconsistencies when GC'ing.
12455         * rtl.c: Include ggc.h.
12456         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
12457         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
12458         (rtx_free): Don't call obstack_free when GC'ing.
12459         * toplev.c (rest_of_compilation): Call ggc_collect after every
12460         pass, if GC'ing.
12461         * tree.c (push_obstacks): Do nothing, if GC'ing.
12462         (pop_obstacks_nochange): Likewise.
12463         (pop_obstacks): Likewise.
12464         (make_node): Use ggc_alloc_tree when GC'ing.
12465         (copy_node): Likewise.
12466         (get_identifier): Use ggc_alloc_string when GC'ing.
12467         (build_string): Likewise.
12468         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
12469         (tree_cons): Likewise.
12470         (build1): Likewise.
12471         (type_hash_canon): Don't call obstack_free when GC'ing.
12473 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
12475         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
12476         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
12478 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
12479                           Bernd Schmidt <bernds@cygnus.co.uk>
12480                           Mark Mitchell  <mark@codesourcery.com>
12482         * Makefile.in (stor-layout.o): Depend on ggc.h.
12483         (expr.o): Depend on ggc.h.
12484         (profile.o): Depend on ggc.h.
12485         (stor-layout.o): Depend on ggc.h.
12486         * emit-rtl.c (init_emit_once): Add gc roots.
12487         * expr.c: Include ggc.h.
12488         (emit_block_move): Add gc roots.
12489         (clear_storage): Likewise.
12490         * expr.h (init_stor_layout_once): New function.
12491         * profile.c: Include ggc.h.
12492         (init_arc_profiler): profiler_label is a root.
12493         * scan.c (make_sstring_space): Trust xrealloc to function
12494         correctly with first parameter NULL.
12495         * stor-layout.c: Include ggc.h.
12496         (set_sizetype): Add gc root.
12497         (init_stor_layout_once): New function.
12498         * toplev.c (compile_file): Call it.
12500 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
12501                           Bernd Schmidt <bernds@cygnus.co.uk>
12502                           Mark Mitchell  <mark@codesourcery.com>
12504         * Makefile.in (tree.o): Depend on ggc.h.
12505         (varasm.o): Likewise.
12506         (function.o): Likewise.
12507         (stmt.o): Likewise.
12508         (except.o): Likewise.
12509         (optabs.o): Likewise.
12510         (emit-rtl.o): Likewise.
12511         * emit-rtl.c: Include ggc.h.
12512         (sequence_element_free_list): Remove, and all references.
12513         (mark_sequence): New functions.
12514         (mark_emit_state): New function.
12515         * except.c: Include ggc.h.
12516         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
12517         (mark_tree_label_node): New functions.
12518         (mark_eh_state): New function.
12519         * function.c: Include ggc.h.
12520         (mark_temp_slot, mark_function_chain): New functions.
12521         (mark_function_state): New function.
12522         (init_function_once): New function.
12523         * function.h (init_function_once): New function.
12524         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
12525         * ggc.h (label_node): Declare.
12526         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
12527         (lang_mark_false_label_stack): New function.
12528         (mark_temp_slot): Remove declaration.
12529         (mark_function_chain): Likewise.
12530         (mark_eh_state): Adjust prototype.
12531         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
12532         Likewise.
12533         * optabs.c: Include ggc.h.
12534         (mark_optab): New function.
12535         (init_optabs): Add gc roots.
12536         * stmt.c: Include ggc.h.
12537         (mark_cond_nesting, mark_loop_nesting): New functions.
12538         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
12539         (mark_stmt_state): New function.
12540         * toplev.c (compile_file): Call init_function_once.
12541         * tree.c: Include ggc.h.
12542         (type_hash): Move declaration earlier in file.
12543         (TYPE_HASH_SIZE, type_hash_table): Likewise.
12544         (init_obstacks): Add gc roots.
12545         (mark_type_hash): New function.
12546         * varasm.c: Include ggc.h.
12547         (mark_pool_constant): New function.
12548         (mark_varasm_state): New function.
12550 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12552         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
12554 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
12556         * c-decl.c (struct language_function): Renamed from struct c_function.
12557         Delete elt NEXT.
12558         (c_function_chain): Delete.
12559         (push_c_function_context): New arg F.  Don't warn about nested
12560         functions here.  Fill LANGUAGE elt of F.  Delete code to update
12561         c_function_chain.  Don't call push_function_context.
12562         (pop_c_function_context): New arg F.  Restore from there instead of
12563         from c_function_chain.  Don't call pop_function_context.  Clear out
12564         LANGUAGE field of F when done.
12565         * c-lang.c: Include "function.h"
12566         (lang_init): Initialize save_lang_status and restore_lang_status.
12567         * c-parse.in (nested_function, nested_function_notype): Warn about
12568         nested functions.  Call push_function_context/pop_function_context
12569         instead of the _c_ variants.
12570         * c-tree.h (push_c_function_context, pop_c_function_context): Update
12571         prototype.
12572         * Makefile.in (c-lang.o): Update dependencies.
12574         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
12575         regno_pointer_flag, regno_pointer_align.
12576         (gen_reg_rtx): Use xrealloc to enlarge them.
12577         (free_emit_status): New function.
12578         * function.c (mark_machine_status, mark_lang_status): New variables.
12579         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
12580         in some bits from assign_stack_local.  All callers changed to use new
12581         name.
12582         (assign_stack_local): Just call assign_stack_local_1.
12583         (free_after_compilation): New function.
12584         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
12585         (trampoline_address): Likewise.
12586         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
12587         (prepare_function_start): Explicitly clear some more variables.
12588         * function.h (struct function): New elt can_garbage_collect.
12589         (mark_machine_status, mark_lang_status): Declare variables.
12590         (free_after_compilation, free_emit_status, free_varasm_status,
12591         init_varasm_status): Declare functions.
12592         * toplev.c (rest_of_compilation): Call free_after_compilation when
12593         done with the current function.
12594         * varasm.c (free_varasm_status): New function.
12596 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
12598         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
12599         (EXPAND_BUILTIN_VA_ARG): Define.
12600         * sparc.c (sparc_va_start): New.
12601         (sparc_va_arg): New.
12603 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12605         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
12607 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12609         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
12611 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
12613         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
12614         (OBJS): Add $(GGC).
12615         (ggc-callbacks.o): New target.
12616         * ggc-callbacks.c: New file.
12618 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12620         * expr.h: Collapse individual optab and libfunc vars to arrays.
12621         (optab_index, libfunc_index): New enumerations.
12622         (optab_table, libfunc_table): New arrays.
12623         Add accessor macros for both.
12625         * optabs.c (optab_table, libfunc_table): New.
12626         Delete declarations for individual optab and libfunc vars.
12628 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
12630         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
12632 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
12634         * Makefile.in (GGC, GGC_LIB): New.
12635         (HOST_RTL): Include ggc-none.o.
12636         (ggc-simple.o): New target.
12637         (ggc-none.o): Likewise.
12638         * tree.h (tree_common): Add gc_mark.
12639         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
12640         (struct rtvec_def): Add gc_mark.
12641         * emit-rtl.c (global_rtl): Update static initializers to contain
12642         enough initializers.
12643         * ggc.h, ggc-none.c, ggc-simple.c: New files.
12644         * toplev.c (gc_time): New variable.
12645         (all_time): New variable.
12646         (compile_file): Print gc time.
12647         (print_time): Calculate percentage of the whole.
12649 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12651         Change obstack memory management and varasm constant pool handling so
12652         that nested functions are treated like any other functions.
12653         * function.c (init_machine_status): New variable.
12654         (push_function_context_to): Set contains_functions for the outer
12655         function.  Don't call save_varasm_status.
12656         (pop_function_context_from): Don't call restore_varasm_status.  Don't
12657         set current_function_contains_functions.
12658         (prepare_function_start): Call init_varasm_status rather than
12659         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
12660         is non-null.
12661         * function.h (struct function) Add field varasm.  Delete fields
12662         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
12663         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
12664         (init_machine_status): Declare.
12665         (save_varasm_status, restore_varasm_status): Delete declarations.
12666         (save_tree_status, restore_tree_status): Delete last argument.
12667         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
12668         code.  All callers changed.
12669         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
12670         save_constants_in_decl_trees, restore_constants, save_constants,
12671         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
12672         functions.
12673         (inlining): New variable.
12674         (reg_map, label_map, insn_map, orig_asm_operands_vector,
12675         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
12676         variables.
12677         (save_for_inline_nocopy): Don't save constants.
12678         Don't set inl_emit field in current_function.
12679         (expand_inline_function): Use emit field, not inl_emit, of the inlined
12680         function.  Set new variable inlining before
12681         calling copy_rtx_and_substitute.
12682         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
12683         constant pool references if inlining is nonzero.
12684         Delete ADDRESS and (most of the) CONST cases.
12685         (output_inline_function): Save and restore current_function/
12686         current_function_decl.  Delete restore_constants code.  Don't call
12687         init_const_rtx_hash_table.
12688         * output.h (init_const_rtx_hash_table): Don't declare.
12689         * rtl.h (struct function): Declare.
12690         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
12691         * toplev.c (rest_of_compilation): Don't treat nested functions or
12692         functions containing them specially.  Delete all code to deal with
12693         save_for_inline_copying.
12694         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
12695         inline_obstacks): Delete variables.
12696         (save_tree_status): Lose arg CONTEXT.  All callers changed.
12697         Simply allocate a new function_maybepermanent_obstack for the new
12698         function, delete all the special cases.
12699         Don't save inline_obstacks.
12700         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
12701         Delete special handling for function_maybepermanent_obstack; simply
12702         free it if empty.
12703         Don't restore inline_obstacks.
12704         (permanent_allocation):  Delete code that frees inline_obstacks.
12705         (print_inline_obstack_statistics): Delete function.
12706         (dump_tree_statistics): Don't call it.
12707         * varasm.c (struct varasm_status): New.
12708         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
12709         last_pool, pool_offset, const_double_chain): Delete global
12710         variables, replace with accessor macros.
12711         (immed_double_const): Don't walk const_double_chain outside a
12712         function, but don't treat nested functions specially anymore.
12713         (immed_real_const_1): Likewise.
12714         (clear_const_double_mem): Don't treat nested functions specially.
12715         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
12716         (save_varasm_status, restore_varasm_status): Delete functions.
12717         (init_varasm_status): New function.
12718         (force_const_mem): Don't treat nested functions specially.
12719         (find_pool_constant): Accept new arg F, search for constants in
12720         that function's pool rather than the current one.  All callers
12721         changed.
12722         (get_pool_constant_for_function, get_pool_mode_for_function): New
12723         functions.
12725         * i386.c (init_386_machine_status): New function, mostly from
12726         clear_386_stack_locals.
12727         (struct machine_functions): Rename element names to avoid name
12728         clashes.
12729         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
12730         macros, replacing global variables.
12731         (clear_386_stack_locals, save_386_machine_status,
12732         restore_386_machine_status): Delete functions.
12733         (override_options): Initialize init_machine_status.
12734         * i386.h (INIT_EXPANDERS): Delete macro.
12735         (save_386_machine_status, restore_386_machine_status,
12736         clear_386_stack_locals): Delete declarations.
12738 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12740         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
12741         (doloop_begin):  Simplify pattern and use emit_jump_insn.
12742         (doloop_end): Simplify pattern, switch operand order,
12743         and use emit_jump_insn.
12745 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12747         * function.h (struct function): Add new element LANGUAGE.
12748         (save_lang_status): Declare new variable.
12749         (restore_lang_status): Likewise.
12750         * function.c (save_lang_status): Define.
12751         (restore_lang_status): Likewise.
12752         (push_function_context_to): Call language-specific save function.
12753         (pop_function_context_from): Call language-specific restore function.
12755 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
12757         * i386.md (movsf_1): Check REG_P before use of REGNO.
12758         (movdf_1): Likewise.
12759         (movxf_1): Likewise.
12760         (extendsfdf2): Likewise.
12761         (extendsfxf2): Likewise.
12762         (extenddfxf2): Likewise.
12764 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12766         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
12767         constants into memory.
12768         (c4x_shiftable_constant): New function.
12769         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
12770         (c4x_shiftable_constant): Declare.
12771         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
12772         ashlqi3_noclobber): Add new patterns and associated splitters.
12774 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
12776         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
12777         * dwarf2out.c (dwarf2out_frame_init): Likewise.
12778         * final.c (shorten_branches): Likewise.
12779         * global.c (global_alloc): Likewise.
12780         * haifa-sched.c (build_control_flow): Likewise.
12781         * stmt.c (check_for_full_enumeration_handling): Likewise.
12782         (estimate_case_costs): Likewise.
12784 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
12786         * rtl.h (RTL_CHECKC2): Fix typo in last change.
12788 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
12790         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
12791         (recompute_reg_usage): Likewise.
12792         * rtlanal.c (find_regno_fusage): Likewise.
12794         * rtl.c (rtl_check_failed_code1): New function.
12795         (rtl_check_failed_code2): New.
12796         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
12797         (RTL_CHECKC1, RTL_CHECKC2): New.
12798         (XC*): New accessor macros.
12799         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
12800         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
12801         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
12802         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
12803         (TRAP_*, RANGE_INFO_*): Likewise.
12805 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12807         * Makefile.in (tlink.o): Don't depend on toplev.h.
12809         * collect2.c (c_file, o_file, export_file, import_file, ldout,
12810         output_file, nm_file_name, ldd_file_name, strip_file_name,
12811         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
12812         add_prefix, prefix_from_env, prefix_from_string, do_wait,
12813         fork_execute, maybe_unlink, add_to_list,
12814         extract_init_priority, write_list, dump_list,
12815         dump_prefix_list, write_list_with_asm, write_c_file,
12816         write_c_file_stat, write_c_file_glob, scan_prog_file,
12817         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
12818         ignore_library, extract_string, notice, dump_file, target_machine,
12819         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
12820         read_file, print_load_command): Constify a char*.
12821         (fdopen, error, fatal, fatal_perror): Don't prototype.
12822         (my_strerror): Remove.  All callers use xstrerror instead.
12823         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
12824         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
12825         to xcalloc/strcpy/strcat/...  to one call to concat.
12826         (main, scan_prog_file, scan_libraries): Use an intermediate
12827         `const char **' to build an argv array.
12828         (mapfile, libselect, libcompare, locatelib): Add prototypes.
12830         * collect2.h (collect_execute, collect_wait, dump_file,
12831         file_exists): Constify a char*.
12832         (ldout, c_file_name, temporary_obstack, permanent_obstack,
12833         temporary_firstobj, vflag, debug): Add extern declarations.
12834         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
12836         * tlink.c: Don't include toplev.h.
12837         (vflag, debug, ldout, c_file_name, temporary_obstack,
12838         permanent_obstack, temporary_firstobj): Don't declare.
12839         (tlink_execute, frob_extension, symbol_hash_lookup,
12840         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
12841         recompile_files, read_repo_files, demangle_new_symbols,
12842         scan_linker_output): Constify a char*.
12843         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
12844         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
12846 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
12848         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
12849         (relative) rather than jsr (absolute) subroutine call insns.
12850         * config/m68k/m68k-coff.h: Ditto.
12852 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
12854         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
12855         now rework these too.
12856         (arm_reorg): If an insn can't reach the end of the current pool,
12857         ensure that we emit that pool before the insn.
12859 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
12861         * tlink.c (scan_linker_output): Skip the initial underscore in
12862         a mangled name if appropriate.
12864 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12866         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
12867         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
12868         error_with_ivar, gen_declarator, create_builtin_decl,
12869         my_build_string, generate_descriptor_table, generate_ivars_list,
12870         generate_dispatch_table, check_protocols, TAG_GETCLASS,
12871         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
12872         dump_base_name, lang_decode_option, build_encode_expr,
12873         start_class, finish_class, encode_pointer, really_start_method,
12874         gen_declaration, dump_interface, handle_class_ref, handle_impent):
12875         Constify.
12876         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
12877         Add static prototypes.
12878         (build_objc_string_decl, build_selector_reference_decl,
12879         encode_bitfield, build_class_reference_decl): Remove unused
12880         parameter, all callers changed.
12881         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
12882         (objc_printable_name): Likewise.  Change second parameter to type int.
12883         (init_objc): Use memcpy, not bcopy, to avoid casts.
12885 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
12887         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
12888         reg notes on a deleted insn.
12889         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
12891 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
12893         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
12895 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12897         * stmt.c (expand_asm_operands): Fix index into inout_mode when
12898         reading it.
12900 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
12902         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
12903         * tm.texi (MD_ASM_CLOBBERS): Document it.
12905 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
12907         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
12908         * except.c (expand_rethrow): Remove unused variable.
12909         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
12910         * flow.c (replace_insns): Likewise.
12911         (create_edge_list, verify_edge_list): Likewise.
12912         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
12914         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
12915         is special code to run.
12916         (main): Don't define operands to emit_operand.
12917         * genrecog.c (main): Don't emit an empty peephole2_insn function.
12919         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
12921         * alpha/alpha.h (normal_memory_operand): Declare.
12922         (reg_no_subreg_operand): Declare.
12923         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
12925 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
12927         * c-parse.in (compstmt_primary_start): New, broken out of first
12928         part of compstmt handling in primary.
12929         (primary): Use it.  Add an error clause.
12930         (compstmt_nostart): Renamed from compstmt; remove all
12931         initial invocations of compstmt_start.
12932         (compstmt): New.
12934 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
12936         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
12937         needed.
12939 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
12941         * combine.c (simplify_shift_const): Remove extra semicolon.
12942         * dwarf2out.c (remove_AT): Likewise.
12943         * expmed.c (expand_mult): Likewise.
12944         * gcov.c (create_program_flow_graph): Likewise.
12945         * reorg.c (mostly_true_jump): Likewise.
12947 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
12949         * fold-const.c (fold_range_test): Do not try to fold the range
12950         test if the rhs or lhs has side effects.
12952         * combine.c (simplify_rtx): Recognize another case of a synthesized
12953         sign extension.
12955         * varasm.c (mark_constant_pool): When marking indirect references,
12956         only look at SYMBOL_REFs.
12958         * except.c (expand_fixup_region_end): Do not peek at
12959         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
12961 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
12963         * flags.h: New variables align_loops, align_loops_log,
12964         align_jumps, align_jumps_log, align_labels, align_labels_log,
12965         align_functions, align_functions_log.
12966         * toplev.c: Define them.
12967         (f_options): Handle -falign-* when they have no argument.
12968         (main): Add logic to set variables for -falign-functions,
12969         -falign-jumps, -falign-labels, -falign-loops.
12970         Make it -fsched-verbose=<n> and -finline-limit=<n>.
12971         (display_help): Change help to match options.
12972         * final.c (LABEL_ALIGN): Default to align_labels_log.
12973         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
12974         (LOOP_ALIGN): Default to align_loops_log.
12975         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
12976         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
12977         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
12978         * varasm.c (assemble_start_function): Handle align_functions.
12980         * config/sparc/sparc.h: Don't declare sparc_align_*.
12981         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
12982         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
12983         sparc.c.
12984         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
12985         it's a promise.
12986         * config/sparc/sparc.c: Delete sparc_align_loops,
12987         sparc_align_jumps, sparc_align_funcs and the corresponding string
12988         variables.
12989         (sparc_override_options): Default align_functions on ultrasparc.
12990         Delete -malign-* handling.
12992         * config/mips/mips.c (override_options):  On 64-bit targets,
12993         try to align code to 64-bit boundaries.
12994         (print_operand): New substitution, %~,
12995         which aligns labels to align_labels_log.
12996         * config/mips/mips.md (div_trap_normal): Use %~.
12997         (div_trap_mips16): Likewise.
12998         (abssi): Likewise.
12999         (absdi2): Likewise.
13000         (ffssi2): Likewise.
13001         (ffsdi2): Likewise.
13002         (ashldi3_internal): Likewise.
13003         (ashrdi3_internal): Likewise.
13004         (lshrdi3_internal): Likewise.
13005         (casesi_internal): Likewise.
13007 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
13009         Merge new ia32 backend from the branch!
13011         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
13012         See ChangeLog.P2 on new_ia32_branch for details.
13014         * rtl.h (stack_regs_mentioned_p): Delete prototype.
13015         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
13016         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
13017         * i386/gas.h (ASM_FILE_START): Define.
13018         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
13019         for name change of ix86_valid_decl_attribute_p.
13020         (i386_pe_valid_type_attribute_p): Similarly.
13022 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
13024         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
13025         to step through CC modes.
13027 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13029         * regmove.c (fixup_match_1): Don't move INSN in front of P if
13030         it would end up in the shadow of a live flags regsiter.
13032 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13034         * reload1.c: Fix many indentation problems.
13035         * reload.c: Likewise.
13037 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
13039         * alias.c (non_local_reference_p): Constify fmt.
13041 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
13043         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
13045 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
13047         * cse.c (delete_trivially_dead_insns): Do not delete stores to
13048         the internal_arg_pointer.
13050 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
13052         Merge peephole2 from new_ia32_branch:
13053         * Makefile.in (STAGESTUFF): Add *.peephole2.
13054         (mostlyclean): Likewise.
13055         (recog.o): Depend on resource.h.
13057         * final.c (peephole): Conditionalize decl on HAVE_peephole.
13058         (final_scan_insn): Likewise for the invocation of peephole.
13059         * genconfig.c (main): Look for peephole and peephole2 patterns.
13060         Emit HAVE_peephole* accordingly.
13061         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
13062         * flags.h (flag_peephole2): Declare.
13063         * toplev.c: New pass peephole2.  New flag -fpeephole2.
13065         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
13066         * gencodes.c (main): Likewise.
13067         * genextract.c (main): Likewise.
13068         * genoutput.c (main): Likewise.
13069         * genemit.c (max_operand_1): Look for the max scratch operand.
13070         (gen_rtx_scratch): New.
13071         (gen_exp): Use it, and pass on new arg subroutine_type.
13072         (gen_expand): Take max scratch into account.
13073         (gen_split): Emit peephole2 functions.
13074         (output_peephole2_scratch): New.
13075         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
13076         * genrecog.c (routine_type): Add PEEPHOLE2.
13077         (IS_SPLIT): New.
13078         (make_insn_sequence): Match outer parallel for peep2.  Discard
13079         top level scratches and dups.
13080         (add_to_sequence): New args insn_type and top.  Update all callers.
13081         Handle toplevel peep2 matching insns.
13082         (write_subroutine): Handle peep2.
13083         (write_tree_1): Likewise.
13084         (write_tree): Likewise.
13085         (main): Likewise.
13086         (change_state): New arg afterward.  Update all callers.
13087         Handle matching separate insns.
13088         * recog.c (recog_next_insn): New.
13089         (peephole2_optimize): New.
13090         * rtl.def (DEFINE_PEEPHOLE2): New.
13091         * resource.c (find_free_register): New argument last_insn.  Use it
13092         to find a register available through the entire span.
13093         * resource.h (find_free_register): Update prototype.
13095 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
13097         * i386.c (output_strlen_unroll): Don't write xops[7]
13098         label if it wasn't set.
13100 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
13102         * cpplib.c (struct directive): Const-ify name pointer and
13103         function pointer prototype.
13104         (validate_else, do_define, do_line, do_include, do_undef,
13105         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
13106         do_elif, do_endif, do_sccs, do_assert, do_unassert,
13107         do_warning): Const-ify second arg.
13108         (directive_table): Mark const.  Reorder entries by frequency
13109         of usage, record statistics.
13111 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
13113         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
13114         bounds- check RTL accesses if --enable-checking.
13115         (RTVEC_ELT): Bounds check if --enable-checking.
13116         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
13117         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
13118         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
13119         GET_NUM_ELEM.
13120         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
13121         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
13123         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
13124         (NOTE_SOURCE_FILE): Use X0STR.
13125         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
13126         MEM_ALIAS_SET): Use X0INT.
13127         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
13128         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
13129         Use X0EXP.
13130         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
13131         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
13132         (rtl_check_failed_bounds, rtl_check_failed_type1,
13133         rtl_check_failed_type2, rtvec_check_failed_bounds): New
13134         functions.
13135         (fancy_abort): Fix comment.
13137         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
13138         (cse_insn): Decrement LABEL_NUSES for jump target before
13139         deleting jump insn.
13140         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
13141         * final.c (alter_subreg): Compute regno before changing x to
13142         REG; set REGNO(x) after changing it.
13143         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
13144         notes containing CONST_INTs.
13145         (delete_eh_regions): Use NOTE_EH_HANDLER.
13146         * function.c (put_reg_into_stack): Make reg a MEM before
13147         initializing it.
13148         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
13149         delete insn.
13150         (gen_mem_addressof): Make reg a MEM before initializing it.
13151         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
13152         X0WINT.
13153         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
13154         deleting an insn, not after.
13155         (block_alloc): Only look at PATTERN(insn) if we have to, and
13156         only if it's format class 'i'.
13157         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
13158         CONST_INT before using its INTVAL.
13159         * print-rtl.c (print_rtx): Use X0STR.
13160         * regmove.c (fixup_match_1): Don't look at PATTERN of
13161         non-class-'i' insn chain elements.
13162         * reload.c (loc_mentioned_in_p): Take address of
13163         in->fld[1].rtx directly.
13164         * reload1.c (reload): Change reg to a MEM before initializing
13165         it.
13166         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
13167         have no names.
13168         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
13170 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
13172         * config/mips/mips.c (machine_dependent_reorg): Force a
13173         barrier to output the local constant pool if a barrier hasn't
13174         been found at a natural point in the instruction stream.
13176 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13178         * c-parse.in (language_string): Constify.
13180         * dwarf2out.c (language_string): Remove declaration.
13182         * dwarfout.c (language_string): Likewise.
13184         * toplev.c (language_string, init_parse, finish_parse): Likewise.
13186         * tree.h (language_string, init_parse, finish_parse): Declare.
13188         * i386/sun386.h (language_string): Remove declaration.
13190         * mips.h (language_string): Likewise.
13192         * nextstep.h (language_string): Likewise.
13194         * nextstep21.h (language_string): Likewise.
13196         * rs6000.c (language_string): Likewise.
13198 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13200         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
13201         (getpwd.o): Remove target.
13203         * getpwd.c: Delete file.  Its in libiberty now.
13205         * dbxout.c (getpwd): Don't prototype.
13206         * dwarf2out.c (getpwd): Likewise
13207         * dwarfout.c (getpwd): Likewise
13208         * final.c (getpwd): Likewise.
13209         * protoize.c (getpwd): Likewise.
13211 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13213         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
13215 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
13217         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
13218         mark_set_resources.
13220 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
13222         * fixinc/Makefile.in (subdir): New.
13223         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
13224         (Makefile): New.
13226 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
13228         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
13229         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
13230         be shared.
13232         * invoke.texi: Fix typo.
13234         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
13235         changed.  Handle autoincrement addressing modes.
13237         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
13238         just like we would the virtual incoming args register when
13239         integrating.
13241 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
13243         * rs6000.h (ASM_FILE_START): Specify complete filename, including
13244         path, in .file directive.
13246 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
13248         * gcc.texi (External Bugs): Remove obsolete note about Perl on
13249         SunOS.
13251 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
13253         * stdbool.h: Make the typedef name _Bool, with bool a #defined
13254         alias.
13256 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13258         * tree.c (tree_code_name): Constify a char*.
13260         * tree.h (tree_code_name, decl_printable_name): Likewise.
13262         * function.h (struct function): Likewise.
13264         * toplev.c (decl_name, decl_printable_name): Likewise.
13266         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
13268         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
13269         (init_objc): Remove function pointer cast.
13271 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
13273         * pa.md (interspace_jump): New pattern.
13274         (builtin_longjmp): New expander.
13276 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
13278         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
13279         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
13280         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
13282 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
13284         * jump.c (delete_prior_computation): Also check calls
13285         to constant functions.  Don't bother checking for a
13286         REG_UNUSED note before adding it.
13287         (delete_computation): Handle multi-word hard registers
13288         when synthesizing missing REG_DEAD notes for a register
13289         which is both set and used by an insn.
13291 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13293         * loop.c (this_loop_info): New variable.
13294         (loop_has_call, loop_has_volatile, loop_has_tablejump,
13295         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
13296         All uses updated.
13297         (prescan_loop, strength_reduce): New argument loop_info.  All callers
13298         updated.
13299         (scan_loop): New variable loop_info, initialise to address of
13300         this_loop_info.
13301         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
13302         Delete variable loop_has_multiple_exit targets and replace with
13303         field in this_loop_info.
13304         (find_and_verify_loops): Rename this_loop to this_loop_num.
13305         (strength_reduce): Delete loop_iteration_info.  Replace variable
13306         loop_info with function argument of same name.
13307         (insert_bct): Rework test for loop being completely unrolled.
13309         * loop.h (struct loop_info): New fields num, loops_enclosed,
13310         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
13311         has_indirect_jump, and cont.  Redefine use of unroll_number.
13312         (loop_unroll_number): Delete.
13314         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
13315         field of loop_info.
13316         (loop_iterations): Delete variable vtop and instead use
13317         loop_info->vtop computed in prescan_loop.
13319 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
13321         * fix-header.c (main): Do not pass a null pointer to strcmp.
13323 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
13325         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
13326         filenames.
13327         * configure: Rebuilt.
13329 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
13331         * jump.c (jump_optimize_1): Do not delete assignments to
13332         internal_arg_pointer.
13333         * cse.c (delete_trivially_dead_insns): Always consider a set of
13334         the internal_arg_pointer live.
13336 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
13338         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
13339         (update_life_info) [REG_WAS_0]: Search the original insns rather
13340         than the new insns for the note.  Fix typos finding note_dest.
13341         If no dest found, discard the note rather than abort.
13342         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
13343         (replace_insns): Remove the old insn list after update_life_info
13344         not before.
13346 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
13348         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
13349         sched_analyze_insn.
13350         (sched_analyze_1): Let add_dependence care for not adding dups.
13351         (sched_analyze_2): Likewise.
13352         (add_branch_dependences): Likewise.
13354 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13356         * i386/winnt.c (export_list): New type.
13357         (exports_head): Rename to
13358         (export_head):  this.
13359         (i386_pe_record_exported_symbol): Add is_data flag.
13360         (i386_pe_asm_file_end): Emit directive for exported variables.
13361         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
13362         prototype.
13363         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
13364         (ASM_DECLARE_OBJECT_NAME): Likewise.
13365         (ASM_DECLARE_FUNCTION_NAME): Likewise.
13366         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
13368 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
13370         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
13372         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
13373         operand.
13375 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
13377         * config/openbsd.h: Define SET_ASM_OP.
13378         * tm.texi: cross-reference SET_ASM_OP in the index.
13380 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
13382         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
13383         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
13384         and class_narrowest_mode at compile time.  Kill init_rtl.
13385         Mark rtx_length, mode_class, mode_size, mode_unit_size,
13386         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
13387         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
13388         EXTRA_CC_NAMES.
13389         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
13390         format.
13391         * rtl.h: Declare rtx_length and rtx_format as const.
13392         * machmode.def: Define CC().  Use CC() to define CCmode.  If
13393         EXTRA_CC_MODES is defined, expand it here.
13394         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
13395         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
13396         const.  Kill all references to EXTRA_CC_MODES.
13398         * toplev.c: Don't prototype or call init_rtl.
13399         * optabs.c: Don't call init_mov_optab.
13400         * genemit.c: Don't generate init_mov_optab.  Don't call
13401         init_rtl.
13402         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
13403         here.
13404         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
13405         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
13406         genrecog.c: Don't call init_rtl.
13408         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
13409         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
13410         definition of EXTRA_CC_MODES.
13412         * md.texi: Kill ref to EXTRA_CC_NAMES.
13413         * tm.texi: Document new way to define EXTRA_CC_MODES.
13415         * genrecog.c: Do not look up the name of a define_split.
13416         (Unrelated bugfix.)
13418 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
13420         * config/v850/v850.md: Fix typo introduced by previous delta.
13422 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13424         * gcc.c (fatal): Make definition static to match prototype.
13426 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13428         * combine.c (get_last_value): Don't look for earlier sets if the last
13429         known set is somewhere in between the insns being combined.
13431 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
13433         * configure.in: Don't use shell ! to negate exit codes
13434         * configure: Regenerate
13436 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
13438         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
13439         the fact that ALIGN is measured in bits, not bytes.
13441 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
13443         * errors.c: New file; defines functions error, warning, and
13444         fatal, variables have_error and progname.
13445         * errors.h: New file; prototypes and decls for stuff in errors.c.
13447         * Makefile: Add rules to build errors.o and
13448         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
13449         genopinit, genrecog, genextract, genpeep, genattr, and
13450         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
13451         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
13452         genpeep.o, genattr.o, and genoutput.o.
13454         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
13455         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
13456         define or prototype fatal.  Set progname at beginning of main.
13457         * genoutput.c:  Likewise, and don't define or prototype error
13458         either.
13460         * c-typeck.c (c_expand_start_case): Return immediately if exp
13461         is an ERROR_MARK.
13462         * fold-const.c (operand_equal_p): Return immediately if arg1
13463         or arg0 are ERROR_MARKs.
13464         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
13465         fields of type ERROR_MARK when calculating if the record can
13466         go in a register.
13468 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
13469         with much help from Jeffrey A Law and Richard Henderson
13471         * i386.md: In the 6 insns which call output_fix_trunc,
13472         earlyclobber operands[0].
13474 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
13476         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
13477         creating new registers.
13479 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
13481         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
13482         i386_reg_alloc_order, i386_regparm_string,
13483         i386_align_loops_string, i386_align_jumps_string,
13484         i386_align_funcs_string, i386_preferred_stack_boundary_string,
13485         and i386_branch_cost_string as type "const char *".
13486         * i386.c: Define all above strings as type "const char *".
13488 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
13490         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
13491         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
13493 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
13495         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
13496         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
13498 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
13500         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
13501         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
13502         (dwarf2out_line, dwarf2out_finish): Likewise.
13503         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
13505 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13507         * tree.c (lang_unsave_expr_now) : Correct return type.
13508         * tree.h (lang_unsave_expr_now) : Same.
13510 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
13512         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
13513         instead of duplicating code.
13515 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13517         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
13519 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
13521         * tree.h: fancy_abort always takes three args.
13522         * resource.c: Move include of system.h before toplev.h.
13524 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
13526         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
13527         as SYMBOL_REFs.
13529 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
13531         * system.h: Don't redefine abort or trim_filename.
13532         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
13533         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
13534         whether or not __FUNCTION__ is available.
13535         * tree.h: Duplicate rtl.h's definition of abort, for files
13536         that don't include rtl.h.  Delete all code to perform type
13537         checking with a compiler other than GCC.
13538         * varray.h: Delete all code to perform type checking with a
13539         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
13540         its arguments exactly once, using a statement expression.
13541         Adjust the VARRAY_<type> accessor macros to match.
13542         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
13543         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
13544         caller's location.  Define fatal_insn and fatal_insn_not_found
13545         as macros that use _fatal_insn and _fatal_insn_not_found.
13546         (fancy_abort, trim_filename): Kill prototypes.
13548         * rtl.c (trim_filename): Move here from toplev.c.
13549         (fancy_abort): New function.
13550         (DIR_SEPARATOR): Provide default definition.
13551         * tree.c (tree_check_failed, tree_class_check_failed): Go
13552         through fancy_abort.
13553         (tree_check, tree_class_check, cst_or_constructor_check,
13554         expr_check): Delete.
13555         * varray.c (varray_check_failed): New function.
13556         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
13557         _fatal_insn and _fatal_insn_not_found.  Go through
13558         fancy_abort.
13559         (trim_filename, fancy_abort): Delete.
13561         * builtins.c (expand_builtin_args_info): Report ICE with abort.
13562         * except.c (start_catch_handler): Report ICE with error/abort
13563         combo.
13564         * final.c (output_operand_lossage): Likewise.
13565         * flow.c (verify_flow_info): Likewise.
13567         * gcc.c: Prototype fatal.
13568         * gengenrtl.c: Undef abort after including rtl.h not system.h.
13569         * genattr.c, genattrtab.c, genemit.c, genextract.c,
13570         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
13571         Don't define fancy_abort.
13573 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
13575         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
13576         canonization.
13578 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
13580         * m88k.h (VERSION_INFO2): Kill.
13581         (VERSION_STRING): Kill.
13582         (TM_RCS_ID): Kill.
13583         (VERSION_INFO1): Tidy.
13584         (TARGET_VERSION): Update.
13585         * m88k/dgux.h (VERSION_INFO2): Kill.
13586         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
13587         * m88k/luna.h (VERSION_INFO1): Tidy.
13588         * m88k/sysv4.h (VERSION_INFO1): Likewise.
13589         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
13590         (output_file_start): Adjust for death of VERSION_STRING.
13592 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
13594         * cpplib.c (detect_if_not_defined): New function.
13595         (do_if): Use it to detect potential once-only headers.
13597 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
13599         * c-common.c (combine_strings): Always set TREE_CONSTANT.
13601 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13603         * combine.c (nonzero_bits) : Allow single-ly set registers to be
13604         anywere in the function only if they are pseudos and set before
13605         being used (not live at the start of the function).
13606         (num_sign_bit_copies) : Same.
13607         (get_last_value_validate) : Same.
13608         (get_last_value) : Same.
13610 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
13612         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
13613         where N and M are constant and N is an integer multiple of M.
13615 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13617         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
13618         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
13619         sbitmap_union_of_preds): Add prototypes.
13620         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
13621         the intersection of successors with the new flow graph structures.
13622         (sbitmap_intersection_of_preds): New function to compute the
13623         intersection of predecessors with the new flow graph structures.
13624         (sbitmap_union_of_succs): New function to compute the union of
13625         successors with the new flow graph structures.
13626         (sbitmap_union_of_preds): New function to compute the union of
13627         predecessors with the new flow graph structures.
13628         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
13629         (expr_reaches_here_p): Use edge and basic_block structures instead
13630         of s_preds and s_succs.
13631         (compute_cprop_avinout): Use new sbitmap routines.
13632         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
13633         of s_preds and s_succs.
13634         * flow.c (compute_flow_dominators): Compute dominators using
13635         edges and basic blocks instead of s_preds and s_succs.
13637 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13639         * lists.c (unused_insn_list, unused_expr_list): New file for
13640         maintaining various types of lists. New statics for maintaining a
13641         cache of available INSN_LIST and EXPR_LIST nodes.
13642         (free_list): Static function for freeing a list of INSN/EXPR nodes.
13643         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
13644         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
13645         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
13646         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
13647         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
13648         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
13649         (free_INSN_LIST_node): Free an individual INSN_LIST node.
13650         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
13651         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
13652         (remove_dependence, free_pending_lists): Use new global routines.
13653         (flush_pending_lists, sched_analyze_insn): Use new global routines.
13654         (sched_analyze, compute_block_backward_dependences): Use new routines.
13655         (sched_analyze_1, sched_analyze_2): Use new routines.
13656         (schedule_insns): Use new global routines.
13657         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
13658         prototypes.
13659         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
13660         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
13661         prototypes.
13662         * toplev.c (rest_of_compilation): Initialize node cache.
13663         * Makefile.in (OBJS): Add lists.o to list of object files.
13664         (lists.o): Add dependancies.
13666 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
13668         * config/v850/v850.md: Fix compile time warning messages.
13669         * config/v850/v850.c: Fix compile time warning messages.
13670         * config/v850/v850.h: Fix compile time warning messages.
13672 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13674         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
13675         Remove unused prototype for `init_lengths'.
13677 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13679         * calls.c (emit_call_1): Mark parameter `stack_size' with
13680         ATTRIBUTE_UNUSED.
13681         (expand_call): Initialize variable `insn'.
13682         (emit_library_call): Likewise for variable `high_to_save'.
13683         (emit_library_call_value): Likewise.
13684         (store_one_arg): Likewise for variables `lower_bound' and
13685         `upper_bound'.
13687         * combine.c (try_combine): Likewise for variables `i2_code_number'
13688         and `other_code_number'.
13689         (find_split_point): Likewise for variables `pos', `unsignedp' and
13690         `inner'.
13691         (simplify_if_then_else): Likewise for variables `op' and `c1'.
13692         (simplify_and_const_int): Remove unused variable `width'.
13693         (merge_outer_ops): Likewise.
13695         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
13696         HOST_WIDE_INT' when comparing against one.
13697         (simplify_relational_operation): Likewise.
13698         (cse_insn): Initialize variables `src_eqv_volatile',
13699         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
13701         * final.c (init_final): Constify parameter `filename'.
13702         (final_start_function): Mark parameter `optimize' with
13703         ATTRIBUTE_UNUSED.
13704         (profile_function): Likewise for parameters `first' and `optimize'.
13705         (output_source_line): Likewise for parameter `file'.
13707         * integrate.c (subst_constants): Cast a value to `size_t' when
13708         comparing against one.
13709         (mark_stores): Initialize variable `mode'.  Cast a value to
13710         `size_t' when comparing against one.
13712         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
13714         * loop.c (move_movables): Initialize variable `first'.
13715         (strength_reduce): Likewise for variable `increment'.
13716         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
13717         value to `size_t' when comparing against one.
13718         (load_mems): Initialize variable `end_label'.
13720         * output.h (init_final): Constify parameter.
13722         * reload.c (decompose): Initialize variable `base'.
13724         * reload1.c (reload): Likewise for variable `is_scalar'.
13725         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
13726         (choose_reload_regs): Initialize variable `mode'.
13727         (emit_reload_insns): Likewise for variable `store_insn'.
13728         (reload_cse_noop_set_p): Mark parameter `insn' with
13729         ATTRIBUTE_UNUSED.
13730         (reload_combine): Initialize variable `set'.
13732         * unroll.c (unroll_loop): Likewise for variable `local_label'.
13733         (copy_loop_body): Cast a value to `size_t' when comparing against
13734         one.
13736         * varasm.c (assemble_variable): Initialize variable `size_tree'.
13737         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
13738         (remove_from_pending_weak_list): Mark parameter `name' with
13739         ATTRIBUTE_UNUSED.
13741 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13743         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
13744         gcse dump file.
13746 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
13748         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
13749         (ASM_DECLARE_FUNCTION_NAME): Define.
13750         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
13751         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
13752         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
13753         not already defined.
13755 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13757         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
13758         of n_popped when call/call_value are not defined.
13760 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
13762         * tm.texi: GNU CC -> GCC conversion.
13763         (CC1_SPEC): Indicate it is used for all language front ends.
13765 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
13767         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
13768         NOTE_INSN_EH_REGION_END correctly.
13770 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
13771                           Jeff Law <law@cygnus.com>
13773         * loop.c (strength_reduce): Automatically unroll loops if the
13774         unrolled loop size is smaller than the rolled loop size.
13776         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
13777         and delete comment that code should be rewritten.
13779 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
13781         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
13782         as reachable.
13784         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
13786 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13788         * fixinc/mkfixinc.sh: Don't fix uwin headers.
13789         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
13790         (LINK_SPEC): Add -u _main when building executables.
13791         (ASM_DECLARE_FUNCTION): Update from Cygwin.
13792         (ASM_FILE_END): Use the default for ix86-pe.
13793         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
13795 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
13797         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
13798         and ASM_CLOSE_PAREN are empty strings.
13800 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
13801                           Geoffrey Keating <geoffk@cygnus.com>
13803         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
13804         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
13805         (unprotoize.o): Ditto.
13806         (test-protoize-simple): Don't define STD_PROTO_DIR.
13807         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
13808         changes to make 'test-protoize-simple' pass.
13809         (STD_PROTO_DIR): Remove define.
13810         (STANDARD_EXEC_PREFIX): Supply default define.
13811         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
13812         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
13813         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
13814         (GET_ENV_PATH_LIST): New macro.
13815         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
13816         (do_processing): Initialize default_syscalls_dir using new
13817         macros.  Use it to initialize syscalls_absolute_filename.
13819 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
13821         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
13822         B into a register before emit_conditional_move.
13824 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
13826         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
13827         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
13828         multiplicand out of (+ (* a b) (* c d)).
13830 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
13831                           Richard Henderson  <rth@cygnus.com>
13833         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
13834         (new_insn_dead_notes): Likewise.
13835         (update_n_sets): Likewise.
13836         (update_flow_info): Move to flow.c, renamed to update_life_info;
13837         extend to handle multiple source insns.
13838         * flow.c: Include resource.h
13839         (unlink_insn_chain): New.
13840         (split_hard_reg_notes): New.
13841         (maybe_add_dead_note): New.
13842         (maybe_add_dead_note_use): New.
13843         (find_insn_with_note): New.
13844         (new_insn_dead_notes): New.
13845         (update_n_sets): New.
13846         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
13847         (maybe_remove_dead_notes): New.
13848         (update_life_info): New.
13849         (prepend_reg_notes): New.
13850         (replace_insns): New.
13851         * output.h (update_life_info): Declare.
13852         * recog.c (split_block_insns): Use update_life_info.
13853         * resource.c (find_free_register): Use reg_alloc_order, don't use
13854         fixed regs, make sure the mode is supported, don't use new regs.
13855         (reg_dead_p): New.
13856         * rtl.h (replace_insns): Declare.
13858 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
13860         * expr.c (expand_expr): Cope with COND_EXPRs with one
13861         non-returning branch.
13863 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
13865         * expr.c (store_expr): Always pass down the target, even when not
13866         doing CSE.
13868 1999-08-24  Nick Clifton  <nickc@cygnus.com>
13870         * configure.in: Define target_cpu_default for v850 targets.
13871         * configure: Regenerate
13873         * config/v850/v850.h (TARGET_CPU_generic): Define.
13874         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
13875         addresses are 4 byte aligned.
13877         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
13878         addresses.
13880 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13882         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
13883         (main): Add prototypes.
13885         * genattrtab.c (substitute_address, write_const_num_delay_slots,
13886         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
13887         (write_attr_get): Emit prototypes along with function definition.
13888         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
13889         (write_complex_function): Emit static prototype along with
13890         function definition.
13892         * genemit.c (gen_split): Emit prototypes along with function
13893         definition.
13895         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
13896         Likewise for predicates and `insn_operand_predicate'.
13897         (process_template): Emit static prototype along with function
13898         definition.
13900         * genrecog.c (make_insn_sequence): Constify a char*.  Add
13901         prototypes for get_split_*().
13902         (write_subroutine): Emit prototypes along with function
13903         definition.
13905 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13907         * gcse.c (find_avail_set): Follow chains of register-register copies.
13908         Use oprs_not_set_p to guarantee that the returned value can be
13909         substituted.
13910         (cprop_insn): Don't verify the return value of find_avail_set with
13911         oprs_not_set_p.
13913         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
13914         (cprop_cc0_jump): New function.
13915         (cprop_insn): Break out new function cprop_jump and use it.
13916         Also use cprop_cc0_jump for machines with CC0.
13917         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
13919         * tree.h (current_function_calls_setjmp,
13920         current_function_calls_longjmp): Delete declarations.
13921         * dsp16xx.c: Include "function.h".
13922         * elxsi.c: Likewise.
13923         * gmicro.c: Likewise.
13924         * h8300.c: Likewise.
13925         * i370.c: Likewise.
13926         * m32r.c: Likewise.
13927         * mn10200.c: Likewise.
13928         * mn10300.c: Likewise.
13929         * ns32k.c: Likewise.
13930         * spur.c: Likewise.
13931         * v850.c: Likewise.
13933         * rtl.h (rtx_equal_function_value_matters): Declare.
13934         * toplev.c (rtx_equal_function_value_matters): Don't declare.
13935         * cse.c: Likewise.
13936         * function.c: Likewise.
13937         * emit-rtl.c: Likewise.
13939 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
13941         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
13942         call.
13944 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13946         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
13947         exactly.
13949 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
13951         * cpp.texi: Add a node documenting macro varargs (copied
13952         from extend.texi).
13954 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
13956         * cppspec.c: Put a null pointer at the end of the new argv.
13958 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
13960         * configure.in: Remove code to select/de-select the haifa
13961         scheduler.  Every scheduled port gets haifa now.
13962         * configure: Rebuilt.
13963         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
13964         * sched.c Deleted.
13965         * Makefile.in: Corresponding changes.
13967 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13969         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
13970         All callers changed.
13971         (prepare_float_lib_cmp): Likewise.
13972         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
13973         * expr.h (emit_float_lib_cmp): Delete declaration.
13974         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
13975         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
13976         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
13977         specially.
13978         (cmptf): Now conditional on TARGET_HARD_QUAD.
13980 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
13982         * resource.c (mark_target_live_regs): Use
13983         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
13985 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13987         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
13989         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
13991         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
13993 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13995         * rtl.h (rtx_format): Constify a char*.
13997         * rtl.c (rtx_format): Likewise.
13998         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
13999         (init_rtl): Use accessor macro, not `rtx_format'.
14001         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
14002         char*.
14004         * caller-save.c (mark_referenced_regs): Likewise.
14006         * combine.c (subst, make_compound_operation, known_cond,
14007         gen_rtx_combine, update_table_tick, get_last_value_validate,
14008         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
14010         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
14011         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
14012         count_reg_usage): Likewise.
14014         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
14015         Likewise.
14017         * final.c (leaf_renumber_regs_insn): Likewise.
14019         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
14020         dump_edge_info, count_reg_references): Likewise.
14022         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
14023         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
14024         Likewise.
14026         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
14027         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
14028         add_label_notes): Likewise.
14030         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
14031         clear_struct_flag, count_sub_rtxs, count_alternatives,
14032         compares_alternatives_p, contained_in_p, walk_attr_value,
14033         write_expr_attr_cache): Likewise.
14035         * genconfig.c (walk_insn_part): Likewise.
14037         * genemit.c (max_operand_1, gen_exp): Likewise.
14039         * genextract.c (walk_rtx): Likewise.
14041         * genflags.c (num_operands): Likewise.
14043         * genoutput.c (scan_operands): Likewise.
14045         * genpeep.c (match_rtx): Likewise.
14047         * genrecog.c (add_to_sequence): Likewise.
14049         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
14050         Likewise.
14052         * integrate.c (save_constants, copy_for_inline,
14053         copy_rtx_and_substitute, subst_constants, restore_constants):
14054         Likewise.
14056         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
14057         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
14059         * local-alloc.c (contains_replace_regs, memref_referenced_p):
14060         Likewise.
14062         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
14063         add_label_notes, replace_call_address, count_nonfixed_reads,
14064         invariant_p, find_single_use_in_loop, find_mem_givs,
14065         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
14066         Likewise.
14068         * print-rtl.c (reg_names, print_rtx): Likewise.
14070         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
14072         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
14073         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
14074         print_blocks): Likewise.
14076         * regclass.c (fix_register, record_address_regs,
14077         reg_scan_mark_refs): Likewise.
14079         * regmove.c (stable_but_for_p): Likewise.
14081         * reload.c (loc_mentioned_in_p, operands_match_p,
14082         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
14083         copy_replacements, refers_to_regno_for_reload_p,
14084         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
14085         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
14086         Likewise.
14088         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
14089         delete_address_reloads_1, count_occurrences,
14090         reload_cse_mem_conflict_p, reload_combine_note_use,
14091         add_auto_inc_notes): Likewise.
14093         * resource.c (mark_referenced_resources, mark_set_resources):
14094         Likewise.
14096         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
14097         reg_mentioned_p, regs_set_between_p, modified_between_p,
14098         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
14099         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
14100         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
14101         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
14103         * sched.c (sched_analyze_2, attach_deaths): Likewise.
14105         * stupid.c (stupid_mark_refs): Likewise.
14107         * unroll.c (remap_split_bivs): Likewise.
14109         * varasm.c (mark_constants): Likewise.
14111         * a29k/a29k.c (uses_local_reg_p): Likewise.
14113         * alpha/alpha.c (summarize_insn): Likewise.
14115         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
14116         eliminate_lr2ip): Likewise.
14118         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
14120         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
14121         reg_mentioned_in_mem): Likewise.
14123         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
14124         symbolic_reference_mentioned_p): Likewise.
14126         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
14128         * sh/sh.c (regs_used, mark_use): Likewise.
14130         * vax/vax.c (vax_rtx_cost): Likewise.
14132 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14134         * machmode.h (mode_name): Constify a char*.
14136         * rtl.c (mode_name): Likewise.
14138         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
14140         * optabs.c (init_libfuncs): Constify a char*.
14142         * print-tree.c (mode_name): Remove redundant declaration.
14143         (print_node): Use accessor macro, not `mode_name'.
14145         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
14146         not `mode_name'.
14147         (new_spill_reg): Constify a char*.
14149         * tree.c (mode_name): Remove redundant declaration.
14151 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14153         * rtl.c (rtx_name): Constify a char*.
14155         * rtl.h (rtx_name, fix_sched_param): Likewise.
14157         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
14158         (mypr): Use accessor macro, not `rtx_name'.
14160         * genemit.c (print_code): Constify a char*.
14162         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
14164         * genpeep.c (print_code): Constify a char*.
14166         * genrecog.c (print_code): Likewise.
14168         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
14169         end_bb): Add static prototype.
14170         (draw_edge): Constify a char*.
14171         (end_bb): Remove unused parameter.
14173         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
14174         print_block_visualization): Constify a char*.
14176 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
14178         * c-common.c (c_get_alias_set): Update comment.
14180 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
14182         * linux.h (LIB_SPEC): Added.
14184 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14186         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
14188 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
14190         * tree.c (expr_check): Fix typo in last change.
14192 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
14194         * rtl.def (NOTE): Change format to "iuu0n".
14195         (ADDR_DIFF_VEC): Change format to "eEee0".
14196         (ADDRESSOF): Change format to "eit".
14198         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
14199         (RTVEC_ELT): Change to match.
14200         (XVECEXP): Use XVEC and RTVEC_ELT.
14201         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
14202         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
14203         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
14204         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
14205         TRAP_CONDITION, TRAP_CODE): Use XEXP.
14206         (INTVAL): Use XWINT.
14207         (ADDRESSOF_DECL): Use XTREE.
14208         (SET_ADDRESSOF_DECL): Delete.
14209         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
14210         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
14211         ifdefed out since 2.6 at least.
14212         (gen_rtvec_vv): Delete prototype.
14214         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
14215         not rtunion.
14216         (copy_most_rtx): Handle 't' format letter.
14217         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
14218         (gen_rtvec_vv): Delete function.  All callers changed to use
14219         gen_rtvec_v instead.
14220         * print-rtl.c (print_rtx): Move special casing of NOTEs to
14221         the '0' format letter.
14223         * function.c (gen_mem_addressof): Don't use
14224         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
14225         instead.
14226         * integrate.c (copy_rtx_and_substitute): Likewise.
14227         Copy 't' slots with XTREE.
14228         (subst_constants): Treat 't' slots like '[swi]' slots.
14229         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
14230         * jump.c (rtx_equal_for_thread_p): Likewise.
14231         * rtlanal.c (rtx_equal_p): Likewise.
14232         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
14233         only four arguments.
14234         * gengenrtl.c (type_from_format): Provide correct types for
14235         'b' and 't' slots.
14238         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
14239         If a recent gcc is in use (always in stage2 and beyond), use
14240         statement expressions, so we don't make a function call unless
14241         the check fails.  Evaluate arguments exactly once.
14242         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
14243         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
14244         Delete.
14245         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
14246         they evaluate their arguments exactly once, irrespective of
14247         the compiler in use.
14249         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
14250         is used by the currently-enabled check macros.  This is:
14251         (tree_check_failed, tree_class_check_failed): For gcc.
14252         (tree_check, tree_class_check, cst_or_constructor_check,
14253         expr_check): For other compilers.
14255         * gencheck.c: Do not define any *_CHECK1 macros.
14257 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
14258                           Mark Mitchell <mark@codesourcery.com>
14260         * c-common.c (c_get_alias_set): Fix support for poitners and
14261         references.
14263 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
14265         * alias.c: Include tree.h.
14266         (nonlocal_reference_p, mark_constant_function): New functions.
14267         * flow.c (life_analysis): Call mark_constant_function.
14268         * rtl.h (mark_constant_function): Declare it.
14270 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
14272         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
14273         unrecognisable switches.
14275 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14277         * loop.c (recombine_givs): Set ix field after sorting.
14278         (recombine_givs): Remove bogus index / giv lockstep looping.
14280 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14282         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
14283         on CODE.
14284         (emit_store_flag_force): Use do_compare_rtx_and_jump.
14285         (do_cmp_and_jump): Formatting fixes.
14286         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
14287         do_compare_rtx_and_jump instead of compare_from_rtx.
14288         (do_compare_rtx_and_jump): New function; mostly copied from
14289         compare_from_rtx.
14290         (do_jump_for_compare): Delete.
14291         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
14292         MIN_EXPR.
14293         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
14294         of compare/do_jump_for_compare pairs.
14295         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
14296         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
14297         compare_from_rtx/do_jump_for_compare pairs.
14298         (do_jump_by_parts_equality): Likewise.
14299         (do_jump_by_parts_equality_rtx): Likewise.
14300         * expr.h (do_compare_rtx_and_jump): Declare.
14301         * optabs.c (prepare_cmp_insn): New function, contains most of the code
14302         that used to be in emit_cmp_insn.
14303         (cmp_available_p): New function.
14304         (prepare_operand): New function.
14305         (emit_cmp_and_jump_insn_1): New function, contains some code that used
14306         to be in emit_cmp_insn.
14307         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
14308         parameters to be pointers; don't emit final compare but modify some of
14309         the values pointed to by the args so the caller can perform the
14310         correct comparison.
14311         (expand_binop): Call emit_store_flag_force with signed forms of
14312         comparison code.
14313         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
14314         emit_jump_insn pair.
14315         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
14316         emit_cmp_and_jump_insn_1.  Call emit_queue.
14317         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
14318         arg.
14319         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
14320         jump sets cc0 before deleting it.
14321         * integrate.c (expand_inline_function): Likewise.
14322         * unroll.c (unroll_loop): Similar changes in several places.
14323         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
14324         before deleting it.
14326 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14328         * Makefile.in (insn-recog.o): Update dependencies.
14329         * genrecog.c (main): Make generated file include "function.h".
14331 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
14333         * cse.c (cse_insn): Call never_reached_warning when a jump is
14334         changed to be unconditional.
14335         * flags.h: Declare warn_notreached.
14336         * flow.c (delete_block): Call never_reached_warning when
14337         a block is deleted.
14338         * jump.c (delete_barrier_successors): Call never_reached_warning
14339         when we delete everything after a BARRIER.
14340         (never_reached_warning): New function.
14341         * rtl.h: Declare never_reached_warning.
14342         * toplev.c (warn_notreached): New variable.
14343         (lang_independent_options): Set warn_notreached
14344         when -Wunreachable-code.
14345         (compile_file): We need line numbers for -Wunreachable-code.
14347 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
14349         * haifa-sched.c (insn_unit): Fix typo on out of range test.
14350         * sched.c (insn_unit): Likewise.
14352 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
14354         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
14356 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14358         * flow.c (create_edge_list): Use xmalloc, not malloc.
14360 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
14362         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
14363         C-style comments.  Do not lose the character before double slash.
14365 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14367         * basic-block.h (struct edge_list): Stucture to maintain a vector
14368         of edges.
14369         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
14370          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
14371         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
14372         New function prototypes.
14373         * flow.c (create_edge_list): Function to create an edge list.
14374         (free_edge_list): Discards memory used by an edge list.
14375         (print_edge_list): Debug output showing an edge list.
14376         (verify_edge_list): Internal consistency check for an edge list.
14377         (find_edge_index): Function to find an edge index for a pred and succ.
14379 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
14381         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
14382         hashtable.
14384 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
14386         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
14388 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14390         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14392 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
14394         * toplev.c (rest_of_compilation): Allow machine dependent
14395         reorganisation pass to place information into the RTL dump
14396         file if it so wishes.
14398 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
14400         * explow.c (hard_function_value): Use VOIDmode instead of
14401         MAX_MACHINE_MODE.
14402         * stmt.c (expand_return): Likewise.
14403         * stor-layout.c (get_best_mode): Likewise.
14405         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
14406         emit call instead of emit_insn call.
14408 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14410         * configure.in: Handle --disable/enable-win32-registry.
14411         * install.texi: Document --disable/enable-win32-registry.
14412         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
14413         (WIN32_REGISTRY_KEY): New macro.
14414         * prefix.c: Use to enable/disable win32-specific code.
14415         (lookup_key): Use versioned key.
14416         * configure: Regenerate.
14417         * config.in: Likewise.
14419 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
14421         * cpplib.c (read_line_number): New fn, split out of...
14422         (do_line): Here.
14424 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
14426         tree.c (lang_unsave_expr_now) : New.
14427         (unsave_expr_now): Call lang_unsave_expr_now.
14428         tree.h (lang_unsave_expr_now) : New.
14430 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
14432         * toplev.c (flag_new_exceptions): On by default.
14434 1999-08-13  Michael Meissner  <meissner@cygnus.com>
14436         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
14438 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
14440         * dwarfout.c (fundamental_type_code): Return FT_boolean for
14441         INTEGER_TYPE with precision==1, it's __java_boolean.
14443 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14445         * global.c (prune_preferences): Move some invariants out of the
14446         inner loop.
14448 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
14450         * configure.in (alpha*-dec-osf*): Add osf5.
14452 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
14454         * configure.in: Rework handling of ARM GNU/Linux slightly.
14455         (arm*-*-linux-gnuoldld): New target.
14456         * configure: Regenerate.
14457         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
14458         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
14459         * config/arm/linux-oldld.h: New file.
14460         * config/arm/linux-elf26.h: Don't include linux-elf.h.
14461         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
14462         Don't define.
14463         * config/arm/linux-elf.h (ASM_SPEC): Define.
14464         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
14465         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
14466         for 26-bit APCS and old linker.
14467         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
14468         `arm_elf'.
14469         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
14470         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
14471         don't define `arm' or `arm_elf'.
14472         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
14473         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
14475 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
14477         * rtl.texi: Fix typo.
14479 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
14481         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
14483 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
14485         * extend.texi (C++ Signatures): Remove node.
14486         * invoke.texi: Remove discussion of -fhandle-signatures,
14487         signature, sigof, __signature__, and __sigof__.
14489 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
14491         * Makefile.in (JAVAGC): Removed.
14493 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14495         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14497 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
14499         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14501 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
14503         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
14504         a register that is already known to be a pointer.
14506 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
14508         * fixinc/inclhack.tpl: Only install assert.h conditionally.
14509         * fixinc/inclhack.sh: Regenerated.
14510         * fixinc/fixincl.sh: Regenerated.
14512 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
14514         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
14515         Fix documentation of -ansi flag to describe its C++ behavior.
14516         Remove bogus reference to GCC 2.9.
14518 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
14520         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
14521         note if it is non-NULL.
14523 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14525         * except.h (eh_nesting_info): Add new structure defintion.
14526         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
14527         (reachable_handlers, update_rethrow_references): Add function
14528         prototypes.
14529         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
14530         a rethrow symbol instead of an integer exception region number.
14531         * flow.c (Make_edges): Use new exception nesting routines to determine
14532         which handlers are reachable from a CALL or asynchronous insn.
14533         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
14534         goto receivers.
14535         (delete_eh_regions): Update rethrow labels, and don't delete
14536         regions which are the target of a rethrow.
14537         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
14538         avoid overloading the SYMBOL_REF_USED flag.
14539         (rethrow_symbol_map): Use new rethrow_ref field.
14540         (rethrow_used): Use new rethrow_ref field.
14541         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
14542         of an integer.  Fix formatting.
14543         (output_exception_table_entry): Use new rethrow_ref field.
14544         (can_throw): Check for EH_REGION_NOTE before deciding
14545         whether a CALL can throw or not.
14546         (scan_region): Call rethrow_used() instead of accessing data structure.
14547         (update_rethrow_references): New function to make sure only regions
14548         which are still targets of a rethrow are flagged as such.
14549         (process_nestinfo): New static function to initialize a handler
14550         list for a specific region.
14551         (init_eh_nesting_info): New function to allocate and initialize
14552         the list of all EH handlers reachable from all regions.
14553         (reachable_handlers): New function to retrieve the list of handlers
14554         reachable from a specific region and insn.
14555         (free_eh_nesting_info): New function to dispose of a list of
14556         reachable handlers.
14558 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
14560         * flow.c (split_edge): Set JUMP_LABEL field.
14561         (commit_one_edge_insertion): Set head correctly for insert_before.
14562         When inserting insns, update insn block numbers if allocated.
14564 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14566         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
14567         retry_incomplete_types): Add static prototype.
14568         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
14569         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
14570         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
14571         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
14572         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
14573         Constify a char*.
14575         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
14576         dwarf2out_start_source_file, dwarf2out_line): Likewise.
14578 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14580         * output.h (assemble_name): Constify a char*.
14582         * varasm.c (UNIQUE_SECTION, assemble_start_function,
14583         assemble_variable, assemble_name): Likewise.
14585         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
14587         * arm/pe.c (arm_pe_unique_section): Likewise.
14589         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
14591         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
14593         * i386/interix.c (i386_pe_unique_section): Likewise.
14595         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
14597         * i386/winnt.c (i386_pe_unique_section): Likewise.
14599         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
14601         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
14603         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
14605         * pa/pa.c (output_call): Likewise.
14607         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
14609         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
14611         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
14612         Likewise.
14614         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
14615         Likewise.
14617         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
14619         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
14620         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
14622         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
14624 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14626         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
14628 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14630         * tree.h (lang_identify): Constify a char*.
14631         (print_error_function): Add extern prototype.  Constify a char*.
14633         * c-lang.c (lang_identify): Constify a char*.
14635         * objc/objc-act.c (lang_identify): Constify a char*.
14637 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14639         * genpeep.c (main): Make generated file include "function.h".
14640         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
14642 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14644         * Makefile.in: Update dependencies.
14645         * alias.c: Include "function.h"
14646         * c-decl.c: Likewise.
14647         * caller-save.c: Likewise.
14648         * calls.c: Likewise.
14649         * combine.c: Likewise.
14650         * cse.c: Likewise.
14651         * explow.c: Likewise.
14652         * final.c: Likewise.
14653         * global.c: Likewise.
14654         * graph.c: Likewise.
14655         * local-alloc.c: Likewise.
14656         * loop.c: Likewise.
14657         * optabs.c: Likewise.
14658         * profile.c: Likewise.
14659         * recog.c: Likewise.
14660         * regclass.c: Likewise.
14661         * regmove.c: Likewise.
14662         * reload.c: Likewise.
14663         * reorg.c: Likewise.
14664         * resource.c: Likewise.
14665         * sched.c: Likewise.
14666         * stupid.c: Likewise.
14667         * config/1750a/1750a.c: Likewise.
14668         * config/a29k/a29k.c: Likewise.
14669         * config/arc/arc.c: Likewise.
14670         * config/arm/arm.c: Likewise.
14671         * config/arm/thumb.c: Likewise.
14672         * config/c4x/c4x.c: Likewise.
14673         * config/clipper/clipper.c: Likewise.
14674         * config/convex/convex.c: Likewise.
14675         * config/fx80/fx80.c: Likewise.
14676         * config/i860/i860.c: Likewise.
14677         * config/m68k/m68k.c: Likewise.
14678         * config/m88k/m88k.c: Likewise.
14679         * config/mips/mips.c: Likewise.
14680         * config/pdp11/pdp11.c: Likewise.
14681         * config/pyr/pyr.c: Likewise.
14682         * config/romp/romp.c: Likewise.
14683         * config/sh/sh.c: Likewise.
14684         * config/tahoe/tahoe.c: Likewise.
14685         * config/vax/vax.c: Likewise.
14686         * config/we32k/we32k.c: Likewise.
14687         * config/sparc/sparc.c: Include "function.h".
14688         (mem_min_alignment): Test current_function rather than
14689         regno_pointer_align.
14690         * config/pa/pa.c: Likewise.
14691         (compute_frame_size): Delete declaration of
14692         current_function_outgoing_args_size.
14693         * config/arc/arc.h (current_function_varargs): Delete declaration.
14694         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
14695         declaration.
14696         * config/i370/i370.h (current_function_outgoing_args_size): Delete
14697         declaration.
14698         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
14699         current_function_uses_pic_offset_table.
14700         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
14701         of current_function_returns_pointer.
14702         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14703         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14704         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14705         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14706         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14707         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14708         * config/m88k/m88k.c: Include "function.h"
14709         (call_used_regs, current_function_pretend_args_size,
14710         current_function_outgoing_args_size, frame_pointer_needed): Delete
14711         declarations.
14712         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
14713         declaration.
14714         * config/mips/mips.h (current_function_calls_alloca): Delete
14715         declaration.
14716         * config/mn10200/mn10200.h (current_function_needs_context,
14717         rtx_equal_function_value_matters): Delete declarations.
14718         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
14719         flag_pic): Delete declarations.
14720         * config/pa/pa.h (current_function_pretend_args_size,
14721         current_function_decl): Delete declarations.
14722         * config/pa/som.h (current_function_varargs): Delete declaration.
14723         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
14724         declaration.
14725         * config/pyr/pyr.h (current_function_pretend_args_size,
14726         current_function_args_size, current_function_calls_alloca): Delete
14727         declarations.
14728         * config/sh/sh.h (current_function_varargs): Delete declaration.
14729         * config/sparc/sparc.h (current_function_outgoing_args_size,
14730         current_function_calls_alloca, current_function_decl): Delete
14731         declarations.
14732         * config/spur/spur.h (current_function_pretend_args_size,
14733         current_function_calls_alloca): Delete declarations.
14734         * config/v850/v850.c (current_function_outgoing_args_size): Delete
14735         declaration.
14736         * config/vax/vms.h (current_function_name): Delete declaration.
14737         * gcse.c: Include "function.h".
14738         (current_function_name, current_function_calls_setjmp): Delete
14739         declarations.
14740         * haifa-sched.c: Include "function.h".
14741         (forced_labels): Delete declaration.
14742         * jump.c: Likewise.
14743         * reg-stack.c: Likewise.
14744         * reload1.c: Likewise.
14745         * genemit.c (main): Make generated file include function.h.
14746         * genoutput.c (output_prologue): Likewise.
14748         * builtins.c (saveregs_value, apply_args_value): Delete variables.
14749         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
14750         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
14751         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
14752         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
14753         macros for some of them.
14754         (emit_filename, emit_lineno): Delete declarations.
14755         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
14756         regno_pointer_* variables through current_function.
14757         (gen_inline_header_rtx): Delete function.
14758         (save_emit_status): Delete function.
14759         (set_new_last_label_num): New function.
14760         (clear_emit_caches): New function.
14761         (restore_emit_status): Just clear last_labelnum and call
14762         clear_emit_caches.
14763         (get_last_insn_anywhere): Variable sequence_stack is now accessed
14764         through macro seq_stack.
14765         (add_insn_after): Likewise.
14766         (add_insn_before): Likewise.
14767         (remove_insn): Likewise.
14768         (pop_topmost_sequence): Likewise.
14769         (in_sequence_p): Likewise.
14770         (start_sequence_for_rtl_expr): Likewise.
14771         (start_sequence): Likewise, and likewise for
14772         sequence_rtl_expr/seq_rtl_expr.
14773         (push_topmost_sequence): Likewise.
14774         (end_sequence): Likewise.
14775         (init_virtual_regs): Now takes a "struct emit_status *" argument.
14776         All callers changed.  Store into that pointer instead of globals.
14777         (init_emit): Allocate emit elt of current_function.
14778         Changes for sequence_rtl_expr/sequence_stack renaming.
14779         Call clear_emit_caches instead of doing it in-line.
14780         Access regno_pointer_* variables through current_function.
14781         (init_emit_once) Don't clear sequence_stack.
14783         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
14784         Delete variables.
14785         (arg_pointer_save_area): Delete declaration.
14786         (finish_expr_for_function): Renamed from init_queue; no longer static.
14787         (init_expr): Don't call init_queue.
14788         (save_expr_status, restore_expr_status): Delete functions.
14789         (expand_expr): Changes to reflect new layout of struct function.
14790         Don't access current_function_check_memory_usage when current_function
14791         is 0.
14792         * expr.h (forced_labels, save_expr_regs, saveregs_value,
14793         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
14794         current_function_outgoing_args_size, current_function_arg_offset_rtx,
14795         current_function_uses_const_pool, function_call_count,
14796         current_function_uses_pic_offset_table, nonlocal_labels,
14797         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
14798         current_function_check_memory_usage, nonlocal_goto_handler_slots,
14799         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
14800         declarations.
14801         (finish_expr_for_function): Declare.
14802         * flags.h (current_function_has_nonlocal_label,
14803         current_function_has_nonlocal_goto, current_function_is_thunk,
14804         current_function_has_computed_jump): Delete declarations.
14805         * flow.c (forced_labels): Delete declaration.
14806         * function.c (current_function_pops_args,
14807         current_function_returns_struct, current_function_returns_pcc_struct,
14808         current_function_needs_context, current_function_calls_setjmp,
14809         current_function_calls_longjmp, current_function_has_nonlocal_label,
14810         current_function_has_nonlocal_goto, current_function_is_thunk,
14811         current_function_has_computed_jump, current_function_calls_alloca,
14812         current_function_contains_functions, current_function_returns_pointer,
14813         current_function_epilogue_delay_list, current_function_args_size,
14814         current_function_pretend_args_size, current_function_arg_offset_rtx,
14815         current_function_outgoing_args_size, current_function_varargs,
14816         current_function_stdarg, current_function_args_info, cleanup_label,
14817         current_function_name, current_function_uses_const_pool,
14818         current_function_instrument_entry_exit, current_function_return_rtx,
14819         current_function_uses_pic_offset_table, nonlocal_labels,
14820         current_function_internal_arg_pointer, current_function_cannot_inline,
14821         current_function_check_memory_usage, function_call_count,
14822         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
14823         nonlocal_goto_stack_level, return_label, save_expr_regs,
14824         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
14825         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
14826         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
14827         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
14828         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
14829         Delete variables.
14830         (push_function_context_to): Don't save them.  Don't call
14831         save_storage_status, save_emit_status or save_expr_status.
14832         (pop_function_context_from): Don't restore them.  Don't call
14833         restore_storage_status or restore_expr_status.
14834         (get_func_frame_size): New function.
14835         (get_frame_size): Use it.
14836         (assign_outer_stack_local): Reflect some member name changes in struct
14837         function.
14838         (put_reg_into_stack): Likewise.
14839         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
14840         seq_rtl_expr.
14841         (fixup_var_refs): Likewise.
14842         (fix_lexical_addr): Likewise.
14843         (trampoline_address): Likewise.
14844         (prepare_function_start): Clear field inlinable of current_function.
14845         (init_function_for_compilation): New function.
14846         (expand_dummy_function_end): New function.
14847         (expand_function_end): Call finish_expr_for_function.
14848         * function.h (struct emit_status): New; fields moved here from struct
14849         function and from global variables.  Add accessor macros for some of
14850         the fields.
14851         (struct expr_status): Likewise.
14852         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
14853         (struct function): Add fields expr and emit, inlinable, inl_emit,
14854         original_arg_vector, original_decl_initial, inl_last_parm_insn,
14855         inl_max_label_num.  Add many comments.
14856         Add accessor macros for all elts of struct function that no longer
14857         have a global variable.
14858         (cleanup_label, return_label, frame_offset, tail_recursion_label,
14859         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
14860         stack_slot_list): Delete declarations.
14861         (get_func_frame_size): Declare.
14862         (save_expr_status, restore_expr_status, save_emit_status,
14863         save_storage_status, restore_storage_status): Delete declarations.
14864         (init_virtual_regs): Declare.
14865         * output.h (current_function_pops_args,
14866         current_function_returns_struct, current_function_returns_pcc_struct,
14867         current_function_needs_context, current_function_calls_setjmp,
14868         current_function_calls_longjmp, current_function_calls_alloca,
14869         current_function_has_nonlocal_label, current_function_varargs,
14870         current_function_has_computed_jump, current_function_returns_pointer,
14871         current_function_contains_functions, current_function_args_size,
14872         current_function_pretend_args_size, current_function_stdarg,
14873         current_function_outgoing_args_size, current_function_args_info,
14874         current_function_name, current_function_return_rtx,
14875         current_function_epilogue_delay_list,
14876         current_function_uses_const_pool, current_function_cannot_inline):
14877         Delete declarations.
14878         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
14879         regno_reg_rtx): Delete declaration.
14880         (REGNO_POINTER_FLAG): Delete macro.
14881         * stmt.c (expand_goto): Changes to reflect that some fields in struct
14882         function were renamed.
14883         * stor-layout.c (save_storage_status, restore_storage_status): Delete
14884         functions.
14885         * toplev.c: Include "function.h".
14886         (current_function_decl): Delete declaration.
14887         (compile_file): Call init_dummy_function_start and
14888         expand_dummy_function_end around some initializations that need to
14889         emit rtl.
14890         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
14891         Call init_function_for_compilation.
14892         * unroll.c: Include "function.h"
14893         (unroll_loop): Access regno_pointer_* variables through
14894         current_function.
14896         * tree.h (struct tree_decl): Add elt f to saved_insns member.
14897         (DECL_SAVED_INSNS): use it.
14898         (expand_dummy_function_end): Declare.
14899         (init_function_for_compilation): Declare.
14900         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
14901         that it's no longer an INLINE_HEADER.
14902         (expand_call): Likewise.
14903         * integrate.c (finish_inline): Delete function.
14904         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
14905         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
14906         args.  Don't generate an INLINE_HEADER rtx, just return the arg
14907         vector.  All callers changed.
14908         (save_for_inline_copying):  Create a duplicate struct emit_status to
14909         hold the emit state for compiling the current function.  Use this and
14910         the other new fields in struct function that are for integration
14911         instead of an INLINE_HEADER.
14912         Use memcpy instead of bcopy.
14913         Store the current struct function in DECL_SAVED_INSNS of fndecl.
14914         (save_for_inline_nocopy): Similar changes, except no new emit_status
14915         is needed here.
14916         (expand_inline_function): Get information from function structure,
14917         not from an inline header rtx.
14918         (output_inline_function): Lose code to extract the necessary
14919         information from an inline header; simply put back the function
14920         structure into current_function.  Clear its inlinable elt.
14921         * rtl.def (INLINE_HEADER): Delete.
14922         * rtl.h: Delete all accessors for an INLINE_HEADER.
14923         (gen_inline_header_rtx): Delete declaration.
14924         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
14925         Delete declarations.
14926         (REGNO_POINTER_ALIGN): Delete.
14927         (clear_emit_caches): Declare.
14928         (set_new_last_label_num): Declare.
14930 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
14932         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
14934         * except.c (expand_eh_region_start_for_decl): Always start a new block.
14935         * stmt.c (is_eh_region): Make sure current_function is present, too.
14937 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
14939         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
14940         for 64bit PA targets.
14942         * pa.h (SELECT_SECTION): Define.
14943         * som.h (SELECT_SECTION): Delete.
14945 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14947         * alias.c (init_alias_analysis): Wrap call to
14948         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
14950 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
14952         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
14953         <sys/asm.h> contains an asm comment with an apostrophe
14954         * fixinc/inclhack.sh:  regen
14955         * fixinc/fixincl.x:  regen
14957 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
14959         * function.c (init_function_start): Clear prologue & epilogue.
14960         (prologue_epilogue_contains): New function.
14961         * alias.c (init_alias_analysis): Use it.
14962         * rtl.h (prologue_epilogue_contains): Declare it.
14964 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
14966         * jump.c (onlyjump_p): New function.
14967         * rtl.h: Declare it.
14968         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
14969         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
14971 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
14973         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
14974         to invert loops.  Simplify block scanning.
14976 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
14978         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
14979         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
14981 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14983         * config/sparc/liteelf.h: New file to support sparclite-elf target
14984         * config/sparc/t-sp86x: New file to support sparc86x targets
14985         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
14986         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
14987         * configure.in: Support above target triplets
14988         * configure: Regenerated
14990 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
14992         * fixinc/server.c (server_setup): Do not prefix function used as
14993         parameter with `&'.
14995 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
14997         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
14998         Remove fp reg alternatives.
15000 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
15002         * Makefile.in (TAROUTOPTS): Kill.
15003         (install-headers-tar): Use "xpf" for tar headerfile extraction
15004         * i370/x-oe (TAROUTOPTS): Delete.
15005         * m68k/x-apollo68 (TAROUTOPTS): Delete.
15006         * m68k/x-hp320 (TAROUTOPTS): Delete.
15007         * m68k/x-hp320g (TAROUTOPTS): Delete.
15008         * gcc.texi: Update bug reporting text.
15010 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15012         * reg-stack.c (change_stack) Fixed problem with negative array index.
15014 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
15016         * extend.texi, install.texi: Fix spelling mistakes.
15018         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
15019         (s-attrtab); No longer try to use pre-made insn-attrtab file.
15020         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
15021         PREMADE_ATTRTAB_MD.
15022         * mips/t-ecoff: Likewise.
15023         * mips/t-elf: Likewise.
15024         * mips/t-mips: Likewise.
15025         * mips/t-osfrose: Likewise.
15026         * mips/t-r3900: Likewise.
15027         * mips/t-svr3: Likewise.
15028         * mips/t-svr4: Likewise.
15029         * mips/t-ultrix: Likewise.
15031         * gcc.texi: Document recommend means to provide software floating
15032         point libraries in libgcc.a
15034 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
15036         * c-lex.c (yylex): We can have a number with no digits.
15038 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
15040         * jump.c (delete_prior_computation): New function, broken
15041         out of delete_computation.  Check for side effects with
15042         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
15043         multi-word hard registers.
15044         (delete_computation): Use it.  Check for side effects with
15045         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
15046         missing REG_DEAD note for a register which is both set and
15047         used by an insn.
15049 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
15051         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
15052         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
15053         (ASM_FILE_START): Import _mcount with the right type.
15054         (ASM_DECLARE_FUNCTION_NAME): Define.
15055         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
15056         * pa.c (output_function_prologue): Always emit the function's label
15057         here.
15058         * pa.h (TEXT_SPACE_P): Define.
15059         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
15060         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
15061         * som.h (TEXT_SPACE_P): Delete.
15062         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
15063         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
15065 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
15067         * expr.c (emit_group_load): Allow src to be a CONCAT.
15069 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15071         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
15072         (___mulsi3): Use '!' comment character.
15074 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15076         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
15078 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
15080         * gcc.c: Update URLs and mail addresses.
15081         * gcc.texi: Likewise.
15083 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
15085         * rs6000.c (current_file_function_operand): Return zero for
15086         weak functions.
15087         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
15088         weak symbols.
15089         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
15090         for weak symbols.
15092 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
15094         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
15095         allocate space in the stack frame for the PIC register.
15097 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
15099         * m68k.md (xordi3, anddi3): These patterns are not available on
15100         the coldfire.
15102 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
15104         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
15105         (PUT_REAL): Likewise.
15107 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15109         * final.c (shorten_branches): Don't add an alignment for loops
15110         that have no label inside.
15112 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15114         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
15115         prototypes in macro HAVE_cmpstrsi.
15117         * cpplib.c (cpp_get_token): Remove unused label `op3'.
15119         * emit-rtl.c (operand_subword): Remove unused variable
15120         `bits_per_word'.
15122         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
15124         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
15126 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
15128         * cpphash.c (macroexpand): Delete leading whitespace when arg
15129         is concatenated before.
15130         (unsafe_chars): Correct test for whether + and - can extend a
15131         token.
15133         * cppinit.c (cpp_start_read): Do dependencies for
15134         -include/-imacros files also.
15136         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
15137         tokenizing non-directive lines.
15138         (cpp_expand_to_buffer): Temporarily disable no-output mode.
15139         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
15140         the input file.
15142 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
15144         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
15146         * c-lex.c: Sync with C++ frontend.
15147         (linemode): New variable.
15148         (parse_float): imag, conversion_errno, and type are output only.
15149         (yylex): Adjust.  Move initial '.' case into main switch.
15150         Use linemode.
15151         (handle_generic_pragma): Just deal with tokens.
15152         (readescape): Use ISXDIGIT and ISGRAPH.
15153         * c-parse.in: Add END_OF_LINE token.
15155         * c-lex.c (lang_init): Generalize.
15156         (nextchar): Remove.  Replace uses with UNGETC.
15157         (skip_white_space): Handle linemode here.  Optimize for cpplib.
15158         (skip_white_space_on_line): Remove.
15159         (extend_token_buffer_to): New fn.
15160         (extend_token_buffer): Use it.
15161         (read_line_number, check_newline): Just deal with tokens.
15162         (token_getch, token_put_back): New fns.
15163         (yylex): Use them.  More cpplib optimizations.  Simplify.
15165 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
15166                           Jason Merrill  <jason@yorick.cygnus.com>
15168         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
15169         (consume_string): Make this smart about USE_CPPLIB.
15170         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
15171         (yylex): Rewrite to be intelligent about USE_CPPLIB.
15172         Also, clean up cases where we redundantly set token_buffer[0].
15173         (read_line_number): New fn.
15174         (ignore_escape_flag): New variable.
15176 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
15178         * a29k/t-a29kbare: Fix some comments.
15179         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
15180         (FPBIT, DPBIT): Define.
15181         * a29k/t-vx29k: Likewise.
15182         * arc/t-arc: Likewise.
15183         * arm/t-arm-elf: Likewise.
15184         * arm/t-bare: Likewise.
15185         * arm/t-pe: Likewise.
15186         * arm/t-pe-thumb: Likewise.
15187         * arm/t-semi: Likewise.
15188         * arm/t-thumb: Likewise.
15189         * arm/t-thumb-elf: Likewise.
15190         * arm/t-thumb-linux: Likewise.
15191         * h8300/t-h8300: Likewise.
15192         * i960/t-i960: Likewise.
15193         * i960/t-vxworks960: Likewise.
15194         * m32r/t-m32r: Likewise.
15195         * mips/t-ecoff: Likewise.
15196         * mips/t-elf: Likewise.
15197         * mips/t-r3900: Likewise.
15198         * pa/t-pro: Likewise.
15199         * rs6000/t-aix43: Likewise.
15200         * rs6000/t-beos: Likewise.
15201         * rs6000/t-newas: Likewise.
15202         * rs6000/t-ppccomm: Likewise.
15203         * rs6000/t-rs6000: Likewise.
15204         * rs6000/t-winnt: Likewise.
15205         * rs6000/t-xnewas: Likewise.
15206         * rs6000/t-xrs6000: Likewise.
15207         * sh/t-sh: Likewise.
15208         * sparc/t-elf: Likewise.
15209         * sparc/t-sparcbare: Likewise.
15210         * sparc/t-sparclite: Likewise.
15211         * sparc/t-splet: Likewise.
15212         * v850/t-v850: Likewise.
15213         * mn10200/t-mn10200: Fix comments.
15214         * mn10300/t-mn10300: Likewise.
15216         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
15217         dummy operand.  Allocate a new pseudo for the dummy operand.
15218         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
15220         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
15222 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
15224         * configure: Rebuilt.
15225         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
15227 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
15229         * recog.c (preproces_constraints): Zero recog_op_alt before
15230         processing the constraints.
15232         * arm.c (typedef minipool_node): Renamed from pool_node.
15233         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
15234         (add_minipool_constant): New function.
15235         (dump_minipool): New function.
15236         (find_barrier): Remove special case for getting the insn size of
15237         an insn that references the constant pool.
15238         (minipool_fixup): New structure.
15239         (push_minipool_barrier): New function.
15240         (push_minipool_fix): New function.
15241         (note_invalid_constants): New function.
15242         (add_pool_constant, dump_table, fixit, broken_move): Delete.
15243         (arm_reorg): Rewrite code to fix up the constant pool into a
15244         series of mini-pools embedded in the insn stream.
15245         (arm_output_epilogue): New function, made mainly from the body
15246         of output_func_epilogue.
15247         (output_func_epilogue): Move insn generation part of epilogue code
15248         to arm_output_epilogue.
15249         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
15250         * arm.md (pool_range): New attribute.
15251         (zero_extendqidi2): Add attribute pool_range.
15252         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
15253         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
15254         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
15255         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
15256         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
15257         (epilogue): New expand.
15258         (epilogue_insn): New insn.  Call arm_output_epilogue.
15260         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
15261         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
15263 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
15265         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
15267 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
15269         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
15271 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
15273         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
15275 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
15277         * global.c: Fix comment.
15279 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
15281         * gcc.c (access_check): New static function.
15282         (find_a_file): Use it when searching a directory list.
15283         * collect2.c (find_a_file): Don't accept directories found when
15284         searching a directory list.
15286 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
15288         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
15289         function parameters with `&'.
15290         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
15292 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
15294         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
15295         or tidy_fallthru_edge if the last insn in the block is not
15296         an unconditional jump or a simple conditional jump.
15298 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15300         * Makefile.in (c-decl.o): Depends on defaults.h.
15302 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
15304         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
15305         PA1.1 and above.
15306         (CLASS_MAX_NREGS): Likewise.
15308 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
15310         * cse.c (cse_insn): Fix dumb thinko in last change.
15312 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15314         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
15315         "const char *".
15317 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
15319         * dwarf2out.c (add_location_or_const_value_attribute): Correct
15320         test for sizes of passed and declared parameter types.
15322 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15324         * fixincludes: Fix the return type of bsearch, char* -> void*.
15326         * fixinc/inclhack.def: Likewise.
15328 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
15330         * invoke.texi (-fdump-translation-unit): New option.
15332 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
15334         * expr.h (PROMOTE_PROTOTYPES): Move ...
15335         * defaults.h: ... to here.
15336         * c-decl.c: Include defaults.h instead of expr.h.
15337         * c-typeck.c: Include defaults.h.
15339 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
15341         * toplev.h (errorcount): Declare.
15342         (warningcount): Likewise.
15343         (sorrycount): Likewise.
15344         * c-lex.c (errorcount): Don't declare.
15345         * dwarf2out.c (errorcount): Don't declare.
15347 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
15349         * config/libgloss.h: Add a note discouraging use with ELF.
15350         * configure.in: Don't use libgloss.h for ELF targets.
15351         Always use_collect2 on a.out targets.
15353 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
15355         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
15356         (force_to_mode, case ASHIFTRT): Add shiftrt label.
15358 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15360         * loop.c (strength_reduce): When doing biv->giv conversion, update
15361         reg note of NEXT->insn.
15363 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15365         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
15367 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15369         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
15370         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
15371         Ensure expr.h is included.
15372         * c-typecheck.c (convert_arguments): Ditto.
15374         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
15376         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
15377         * config/convex/convex.h: Ditto.
15378         * config/dsp16xx/dsp16xx.h: Ditto.
15379         * config/fx80/fx80.h: Ditto.
15380         * config/gmicro/gmicro.h: Ditto.
15381         * config/i370/i370.h: Ditto.
15382         * config/i386/i386.h: Ditto.
15383         * config/m32r/m32r.h: Ditto.
15384         * config/m68k/m68k.h: Ditto.
15385         * config/m88k/m88k.h: Ditto.
15386         * config/mips/mips.h: Ditto.
15387         * config/pa/pa.h: Ditto.
15388         * config/pyr/pyr.h: Ditto.
15389         * config/tahoe/tahoe.h: Ditto.
15390         * config/we32k/we32k.h: Ditto.
15392         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
15393         based on arch size.
15395         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
15397         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
15398         from comment.
15400         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
15402 1999-08-02  Richard Henderson  <rth@cygnus.com>
15404         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
15405         for the register spill block.
15406         (m32r_va_arg): New.
15407         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
15408         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
15410         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
15411         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
15412         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
15414 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15416         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
15417         MAX_WCHAR_TYPE defined in sparc.h.
15418         * config/sparc/linuxaout.h: Likewise.
15419         * config/sparc/linux64.h: Likewise.
15420         Also default to -mvis if CPU is UltraSPARC.
15422 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15424         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
15425         (RTX_OK_FOR_OLO10): Likewise.
15426         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
15427         %lo(), allow it in addresses...
15428         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
15429         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
15430         does not make sense.
15431         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
15432         (sparc_output_scratch_registers): New function.
15433         (output_function_prologue, sparc_flat_output_function_prologue): Use
15434         it.
15435         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
15436         defined.
15437         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
15438         * configure.in: Add check for .register pseudo-op support in as and
15439         check for offsetable %lo().
15440         * acconfig.h: Add templates for the above checks.
15441         * configure: Regenerate.
15443 1999-08-02  Richard Henderson  <rth@cygnus.com>
15445         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
15446         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
15447         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
15449 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15451         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15452         reg_biv_class.
15454 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
15456         * config/float-sparc.h: New file.
15457         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
15458         sparc-*-linux-gnu and sparc64-*-linux*.
15460 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15462         * rs6000.c (rs6000_va_list): Type is an array.
15463         (rs6000_va_start): Don't doubly adjust for varargs.
15464         (rs6000_va_arg): Evaluate long long GPR adjustment.
15466 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
15468         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
15469         -maix64 and -maix32.
15470         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
15471         LINK_SPEC): Change appropriately.
15472         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
15473         (u_short_cint_operand): Likewise.
15474         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
15475         for 64-bit hosts.
15476         * rs6000/t-aix43 (MULTILIB): Change to -m64.
15478         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
15480 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
15482         * rs6000/rs6000.c (num_insns_constant_wide): Correct
15483         for type promotion.
15484         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
15485         (non_add_cint_operand): Likewise.
15486         (logical_operand): Likewise.
15487         (non_logical_cint_operand): Likewise.
15488         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
15489         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
15490         (rs6000_select_rtx_section): Suppress warning.
15491         (small_data_operand): Suppress warning.
15492         (rs6000_got_register): Suppress warning.
15493         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
15494         type, so `J' is generally the wrong constraint for a SImode value;
15495         use `L' instead.
15496         (andsi3_internal2): Likewise.
15497         (andsi3_internal3): Likewise.
15498         (iorsi3_internal1): Likewise.
15499         (xorsi3_internal1): Likewise.
15500         (movsi): Likewise.
15501         (movsf_softfloat): Likewise.
15502         (scc insns): Likewise.
15503         (movsi+2): Preserve sign bits of SImode constant.
15504         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
15505         (movdf+1): Sign-extend properly.
15506         (movdi_32+1): Sign-extend properly.
15507         (scc insns): Sign-extend properly.
15509         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
15510         K, L, and T.
15512 1999-08-02  Richard Henderson  <rth@cygnus.com>
15514         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
15515         -mcpu parsing code.
15516         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
15517         * alpha.md (all fp insns): Likewise.
15519 1999-08-02  Nick Clifton  <nickc@cygnus.com>
15521         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
15522         already defined.
15524 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
15526         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
15527         pic_load_label generator directly.
15528         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
15529         No longer a named pattern.
15531 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
15533         * explow.c (force_reg): Call force_operand if X does not
15534         satisfy general_operand.
15536 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
15538         * fix-header.c (main): When testing for CONTINUED, use string
15539         equality, not pointer equality.
15541 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
15543         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
15545 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
15547         * cse.c (cse_insn): Fix loop which deletes insns after a jump
15548         that has become an unconditional jump.
15550         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
15551         (output_function_epilogue): Similarly.
15553 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15555         * tree.h (init_dummy_function_start): Declare.
15557 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15559         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
15560         last_expr_type, last_expr_value, block_start_count, block_stack,
15561         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
15562         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
15563         dynamically in stmt elt of struct function for each function.
15564         (struct nesting): Rename function_call_count elt to n_function_calls,
15565         target_temp_slot_level to block_target_temp_slot_level.  All users
15566         changed.
15567         (struct stmt_status): New structure definition.
15568         Add many accessor macros for stmt_status elements which previously
15569         were global variables.
15570         (init_stmt_for_function): Allocate stmt elt for current_function.
15571         Reflect that block_start_count was renamed to
15572         current_block_start_count.
15573         (save_stmt_status, restore_stmt_status): Delete functions.
15574         (preserve_subexpressions_p): Don't access loop_stack when outside
15575         a function.
15576         (expand_start_bindings): Reflect that block_start_count was renamed to
15577         current_block_start_count.
15578         (expand_fixup): Likewise.
15579         (expand_decl): Don't access block_stack when outside a function.
15580         (expand_decl_cleanup): Likewise.
15581         (expand_dcc_cleanup): Likewise.
15582         (expand_dhc_cleanup): Likewise.
15583         (expand_anon_union_decl): Likewise.
15584         (set_file_and_line_for_stmt): New function.
15585         (in_control_zone_p): New function.
15587         * function.h (struct function): Add new elt stmt.
15588         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
15589         case_stack, nesting_stack, nesting_depth, block_start_count,
15590         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
15591         emit_lineno, goto_fixup_chain.
15592         (save_eh_status, restore_eh_status, save_stmt_status,
15593         restore_stmt_status): Delete declarations.
15594         * function.c (push_function_context_to): Don't call save_stmt_status.
15595         (pop_function_context_to): Don't call restore_stmt_status.
15596         * tree.h (in_control_zone_p): Declare.
15597         * rtl.h (set_file_and_line_for_stmt): Declare.
15599         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
15600         call set_file_and_line_for_stmt.
15602 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
15604         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
15605         Also update copyright.
15607 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15609         * c-pragma.c: Don't include "except.h".
15610         * emit-rtl.c: Likewise.
15611         * stor-layout.c: Likewise.
15612         * tree.c: Likewise.
15613         * varasm.c: Likewise.
15615         * flow.c: Include "function.h".
15616         * tree.h (init_dummy_function_start): Declare new function.
15618         * except.h (struct eh_status): New structure.
15619         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
15620         been included.
15621         (eh_return_stub_label, ehstack, catchstack, ehqueue,
15622         catch_clauses, false_label_stack, caught_return_label_stack,
15623         protect_list, current_function_ehc): Add accessor macros for the
15624         corresponding fields in current_function->eh; delete declarations
15625         for all items that used to be declared here.
15626         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
15627         catch_clauses, false_label_stack, caught_return_label_stack,
15628         protect_list, current_function_ehc): Delete variables.
15629         (init_eh_for_function): Allocate current_function->eh.
15630         (save_eh_status, restore_eh_status): Delete functions.
15632         * function.h (struct function): Add fields next_global and eh.
15633         Delete all exception handling related fields.
15634         * function.c (current_function): New variable.
15635         (all_functions): New variable.
15636         (push_function_context_to): Don't allocate a struct function,
15637         use current_function instead.  Call init_dummy_function_start when
15638         outside a function.  Clear current_function before returning.
15639         (pop_function_context_from): Restore current_function.
15640         Don't free the restored struct function.
15641         (prepare_function_start): New function.
15642         (init_dummy_function_start): New function.
15643         (init_function_start): Break out some code into prepare_function_start
15644         and call it here.
15646         * stmt.c (save_stmt_status): Don't call save_eh_status.
15647         (restore_stmt_status): Don't call restore_eh_status.
15649         * Makefile.in: Update dependencies.
15651 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
15653         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
15654         of depending on a magic constant value.  Update comments.
15655         (hppa_expand_prologue): Similarly.
15657         * pa.md (reload_indi, reload_outdi): Allow any register for the
15658         original reload register.
15660 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
15662         * cccp.c (print_help): Change marcos to macros.
15664 1999-07-30  Richard Henderson  <rth@cygnus.com>
15666         * c-typeck.c (initializer_constant_valid_p): Move ...
15667         * c-common.c (initializer_constant_valid_p): ... here.  Use
15668         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
15669         of label addresses.
15670         * c-common.h (initializer_constant_valid_p): Declare.
15671         * c-tree.h (initializer_constant_valid_p): Remove.
15673 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
15675         * config/i386/sol2-c1.asm: Align the stack.
15676         * config/i386/sol2-gc1.asm: Likewise.
15678 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
15680         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
15681         -Asparclite for sparc86x.
15682         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
15683         sparc86x.
15684         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
15686 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
15688         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
15689         the user if using the non-default arch size in BI_ARCH configuration.
15690         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
15692         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
15693         Fix patterns so that they actually match.
15694         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
15695         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
15696         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
15697         TARGET_HARD_MUL32.
15698         (mulsidi3): Reflect this in the expand.
15699         (smulsi3_highpart): Only on TARGET_ARCH32.
15700         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
15701         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
15702         (umulsidi3): Reflect this in the expand.
15703         (umulsi3_highpart): Only on TARGET_ARCH32.
15704         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
15705         don't require g0 to be zero.
15706         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
15707         ({,u}divsi3): New expands.
15708         ({,u}divsi3_sp64): New patterns.
15709         (after lshrdi3_v8plus): Four new patterns to help combiner
15710         optimizing nested mixed mode shifts.
15712         * config/sparc/sparc.c (sparc_override_options): Use deprecated
15713         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
15714         speed things up. Don't use them by default on plain v9 in 64bit
15715         mode, according to what SPAMv9 sais.
15717         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
15718         top 32 bits of %[og][0-7] in signal handlers.
15719         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
15721 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
15723         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
15724         (ashlsi3): Corresponding changes.
15726         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
15728 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
15730         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
15732 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15734         * arm.h (Hint): Delete macro.
15735         Substitute HOST_WIDE_INT for Hint in some prototypes.
15736         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
15738 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
15740         * builtins.c (expand_builtin_setjmp): Use force_operand to
15741         make sure that the buffer address is in a suitable form to be
15742         passed to force_reg.
15744 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
15746         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
15747         them here.
15749 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
15751         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
15752         proper mode in the condition string.
15753         (icacheflush, dcacheflush): Remove modes from match_operands.
15755         * pa.c (emit_move_sequence): Always convert scratch_reg to the
15756         proper mode before using it.
15758         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
15759         pair.
15761         * pa.c (store_reg): Do not call add_high_const generator directly.
15762         (load_reg, set_reg_plus_d): Likewise.
15763         * pa.md (add_high_const): No longer a named pattern.
15765         * pa.c (legitimize_address): Consistently use Pmode rather than
15766         SImode.  Do not call gen_pic2_highpart directly anymore.
15767         * pa.md (pic2_highpart): No longer a named pattern.
15768         (pic2_lo_sum): Similarly.  Reformat to make more readable.
15770         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
15771         needed.
15773         * README: Update.
15775 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15777         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
15779 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
15781         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
15782         and tag the spill mems.
15783         (hppa_va_start): New.
15784         (hppa_va_arg): New.
15785         * pa.h (EXPAND_BUILTIN_VA_START): New.
15786         (EXPAND_BUILTIN_VA_ARG): New.
15788 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
15790         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
15791         and tag the spill mems.
15792         (mn10300_va_start): New.
15793         (mn10300_va_arg): New.
15794         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
15795         (EXPAND_BUILTIN_VA_ARG): New.
15797 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
15799         * mn10200.c (mn10200_va_arg): New.
15800         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
15802 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
15804         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
15805         rather than play with TREE_INT_CST_LOW.
15807 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
15809         * config/arm/telf.h: Include dbxelf.h.
15810         (CPP_PREDEFINES): Only define if not already defined.
15811         (ASM_IDENTIFY_GCC): Likewise.
15812         (SUBTARGET_EXTRA_SECTIONS): Likewise.
15813         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
15814         * config/arm/thumb.h (LINK_SPEC): Only define if not already
15815         defined.
15816         (DBX_DEBUGGING_INFO): Don't define.
15817         * config/arm/linux-telf.h: New file.
15818         * config/arm/linux-tgas.h: New file.
15819         * config/arm/t-thumb-linux: New file.
15820         * config/arm/uclinux-elf.h: New file.
15821         * config/arm/uclinux-telf.h: New file.
15822         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
15823         thumb-*-uclinux): New targets.
15824         * configure: Regenerate.
15826 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
15828         * pa.md (post_store, pre_load): New expanders.
15829         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
15830         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
15831         need to directly generate RTL for them.
15832         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
15833         changes.
15835 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
15837         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
15838         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
15839         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
15840         (secndary_reload_class): Make TARGET_ELF conditional compile.
15841         (print_operand_address): Similar.
15842         (output_toc): Print all values as hex.
15843         (get_issue_rate): Rearrange and add RS64A and PPC630.
15844         * rs6000.h (processor_type): Add RS64A and PPC630.
15845         (PROCESSOR_POWERPC64): New.
15846         (PROMOTE_MODE): Use word_mode.
15847         (RTX_COSTS): Add RS64A and PPC630.
15848         * rs6000.md (scheduling information): Add lmul and ldiv
15849         representing 64-bit integer multiply and divide.  Add rs64a and
15850         PPC630 information.
15851         (ashldi3): Add support for "rldic" instruction.
15852         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
15854 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
15856         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
15857         instead of V8 for sparclite86x in cpu_table.
15859 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15861         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
15862         output_file_directive.
15864 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
15866         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
15867         tree for op1, not the rtl.
15869 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
15871         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
15872         to m88k_va_start, leaving only the register spill.
15873         (m88k_build_va_list): New.
15874         (m88k_va_start): New.
15875         (m88k_va_arg): New.
15876         * m88k.h (BUILD_VA_LIST_TYPE): New.
15877         (EXPAND_BUILTIN_VA_START): New.
15878         (EXPAND_BUILTIN_VA_ARG): New.
15880 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
15882         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
15883         Rename from expand_builtin_saveregs.
15884         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
15886 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
15888         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
15889         for the register spill block.
15890         (i960_build_va_list): New.
15891         (i960_va_start): New.
15892         (i960_va_arg): New.
15893         * i960.h (BUILD_VA_LIST_TYPE): New.
15894         (EXPAND_BUILTIN_VA_START): New.
15895         (EXPAND_BUILTIN_VA_ARG): New.
15896         * i960.md (store_multiple): Use change_address on individul mems.
15898 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
15900         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
15901         an ARRAY_TYPE.
15902         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
15903         (expand_builtin_va_end): Evaluate arg for side effects.
15904         * c-common.c (c_common_nodes_and_builtins): Construct a
15905         va_list_arg_type_node to handle array decomposition to pointer.
15907 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
15909         * except.c (start_dynamic_cleanup): Use force_operand on the
15910         buffer's address.
15912 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
15914         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
15915         * c4x.c (c4x_va_arg): New.
15917 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
15919         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
15920         has manual_pop set.
15922 1999-07-26  Nathan Sidwell  <nathan@acm.org>
15924         * eh-common.h (__eh_matcher): Prototype correctly.
15926 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
15928         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
15929         (TARGET_SINGLE_PIC_BASE): Likewise.
15930         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
15931         definitions.
15932         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
15933         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
15934         (TARGET_OPTIONS): Add -mpic-register=N.
15935         (OUTPUT_INT_ADDR_CONST): New macro.
15936         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
15937         LEGITIMATE_PIC_OPERAND_P): Likewise.
15938         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
15939         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
15940         output_addr_const directly.
15941         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
15942         ARM port.
15943         (thumb_pic_register, thumb_pic_register_string): Declare.
15945         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
15946         from arm.c.
15947         (label_mentioned_p): New function: Imported from arm.c.
15948         (legitimize_pic_address): New function: Imported from arm.c.
15949         (is_pic):New function: Imported from arm.c.
15950         (thumb_finalize_pic):New function: Imported from arm.c.
15951         (add_constant): Cope with PIC constants.
15952         (fixit): Cope with PIC constants.
15953         (output_return): Do not treat the PIC register as live if
15954         TARGET_SINGLE_PIC_BASE is true.
15955         (thumb_function_prologue): Do not treat the PIC register as live if
15956         TARGET_SINGLE_PIC_BASE is true.
15957         (thumb_expand_prologue): Do not treat the PIC register as live if
15958         TARGET_SINGLE_PIC_BASE is true.
15959         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
15960         TARGET_SINGLE_PIC_BASE is true.
15961         (thumb_print_operand): Accept '|'.
15962         (thumb_override_options): Process PIC options.
15964         * config/arm/thumb.md (movsi): Support PIC.
15965         (call_insn): Change "i" constraint to "X".
15966         (call_value_insn): Likewise.
15967         (consttable_4, consttable_8, consttable_end): Set and clear
15968         "making_const_table" as appropriate.
15969         (pic_load_addr, pic_add_dot_plus_four): New insns.
15971         * invoke.texi (Thumb Options): Fix spelling.  Document new
15972         options -msingle-pic-base and -mpic-register=.
15974 1999-07-26  Andrew Haley  <aph@cygnus.com>
15976         * config/m32r/initfini.c (__init): Use a full word immediate for
15977         __fini: this allows it to be placed in any memory region.
15979         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
15980         -mmodel=medium.  This is OK for all memory models.
15982 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
15984         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
15985         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
15987 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
15989         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
15990         defined.
15992         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
15994 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
15996         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
15997         (BUILD_VA_LIST_TYPE): New.
15998         (EXPAND_BUILTIN_VA_START): New.
15999         (EXPAND_BUILTIN_VA_ARG): New.
16000         * i860.c (output_delayed_branch): Disable.
16001         (output_delay_insn): Likewise.
16002         (i860_saveregs): New.
16003         (i860_build_va_list): New.
16004         (i860_va_start): New.
16005         (i860_va_arg): New.
16006         * i860.md: Disable all peepholes using output_delayed_branch.
16007         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
16009 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
16011         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
16012         (BUILD_VA_LIST_TYPE): New.
16013         (EXPAND_BUILTIN_VA_START): New.
16014         (EXPAND_BUILTIN_VA_ARG): New.
16015         * clipper.c (clipper_builtin_saveregs): Only dump registers.
16016         Return the address of the save area.
16017         (clipper_build_va_list): New.
16018         (clipper_va_start): New.
16019         (clipper_va_arg): New.
16021 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
16023         * arc.h (EXPAND_BUILTIN_VA_START): New.
16024         (EXPAND_BUILTIN_VA_ARG): New.
16025         * arc.c (arc_setup_incoming_varargs): Set alias set of
16026         varargs save area.
16027         (arc_va_start): New.
16028         (arc_va_arg): New.
16030 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
16032         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
16033         (BUILD_VA_LIST_TYPE): New.
16034         (EXPAND_BUILTIN_VA_START): New.
16035         (EXPAND_BUILTIN_VA_ARG): New.
16036         * alpha.c (alpha_builtin_saveregs): Delete.
16037         (alpha_build_va_list): New.
16038         (alpha_va_start): New.
16039         (alpha_va_arg): New.
16041 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
16043         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
16044         column zero.
16045         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
16046         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
16048         * gcc.texi: More changes related to list conversion.
16049         * invoke.texi: Likewise.
16051 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
16053         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
16054         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
16055         (expand_builtin_next_arg): Accept ARGLIST not EXP.
16056         (stabilize_va_list): New function.
16057         (std_expand_builtin_va_start): New function.
16058         (expand_builtin_va_start): New function.
16059         (get_varargs_alias_set): New function.
16060         (std_expand_builtin_va_arg): New function.
16061         (expand_builtin_va_arg): New function.
16062         (expand_builtin_va_end): New function.
16063         (expand_builtin_va_copy): New function.
16064         (expand_builtin): Call them.
16065         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
16066         __builtin_{varargs_start,stdarg_start,end,copy}.
16067         (build_va_arg): New function.
16068         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
16069         (build_va_arg): Declare.
16070         * c-decl.c (ptr_type_node, va_list_type_node): New.
16071         * c-parse.gperf (__builtin_va_arg): New.
16072         * c-parse.in (VA_ARG): New token.
16073         (unary_expr): Recognize it.
16074         * expr.c (expand_expr): Expand VA_ARG_EXPR.
16075         * expr.h (std_expand_builtin_va_start): Declare.
16076         (std_expand_builtin_va_arg): Declare.
16077         (expand_builtin_va_arg): Declare.
16078         (get_varargs_alias_set): Declare.
16079         * tree.def (VA_ARG_EXPR): New.
16080         * tree.h (BUILT_IN_VARARGS_START): New.
16081         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
16082         (ptr_type_node, va_list_type_node): Declare.
16083         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
16084         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
16085         * m88k.h, m88k.c: Likewise.
16086         * mn10300.h, mn10300.c: Likewise.
16087         * pa.h, pa.c: Likewise.
16088         * rs6000.h, rs6000.c: Likewise.
16089         * sh.h, sh.c: Likewise.
16090         * sparc.h, sparc.c: Likewise.
16092         * emit-rtl.c (operand_subword): Copy alias set.
16093         (change_address): Likewise.
16095 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
16097         * pa.c (compute_frame_size): Scan all the used callee saved registers,
16098         not just the first one.
16100 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
16102         * config/arm/arm.h (TARGET_SWITCHES): Add
16103         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
16104         (TARGET_OPTIONS): Add -mpic-register=.
16105         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
16106         (arm_pic_register_string): Declare.
16107         (NEED_PLT_GOT): Delete, replace with ...
16108         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
16109         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
16110         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
16111         * config/arm/arm.c (arm_override_options): Add new option
16112         -mpic-register=N.
16113         (arm_pic_register_string): New variable.
16114         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
16115         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
16116         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
16117         (output_return_instruction): Likewise.
16118         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
16119         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
16120         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
16122         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
16123         mention of -msched-prolog.  Document new options -msingle-pic-base
16124         and -mpic-register=.
16126 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
16128         * haifa-sched.c (reemit_notes): Tidy.
16129         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
16130         haifa's routine.
16132 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
16134         * explow.c (trunc_int_for_mode): New function.
16135         (plus_constant_wide): Use it.
16136         * combine.c (simplify_and_const_int): Likewise.
16137         (merge_outer_ops): Likewise.
16138         (simplify_shift_const): Likewise.
16139         * cse.c (simplify_unary_operation): Likewise.
16140         (simplify_binary_operation): Likewise.
16141         * emit-rtl.c (operand_subword): Likewise.
16142         * rtl.h: Declare it.
16144 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16146         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
16147         (use NUM_REGS instead of NUM_INTS).
16149 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16151         * builtins.c: New file.
16152         * expr.c (saveregs_value, apply_args_value):  Delete definition,
16153         moved into builtins.c.
16154         (string_constant): No longer static.
16155         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
16156         apply_args_size, apply_result_size, result_vector,
16157         expand_builtin_apply_args, expand_builtin_apply,
16158         expand_builtin_return): Delete functions, moved into builtins.c.
16159         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
16160         * expr.h (saveregs_value, apply_args_value): Declare variables.
16161         (expand_builtin, string_constant): Declare functions.
16162         * Makefile.in: Update to build builtin.o.
16164 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
16166         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
16167         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
16168         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
16169         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
16170         false.
16171         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
16172         Define to zero.
16174 1999-07-21  Michael Meissner  <meissner@cygnus.com>
16176         * print-rtl.c (print_rtx): Print the names of the virtual
16177         registers.
16179 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
16181         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
16182         introduced in previous delta.
16184 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16186         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
16187         to avoid name clash.
16189 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16191         * c-lex.c (yylex) : Correct the test for overflow when lexing
16192         integer literals.
16194 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
16196         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
16197         (adjust_priority): Always call ADJUST_PRIORITY.
16198         (schedule_insn): Only put insns into the ready at cost 0.
16199         (schedule_block): Remove redundant initial sort.  Give clock_var
16200         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
16201         is not 0.
16202         * tm.texi (MD_SCHED_REORDER): Update docs.
16204         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
16205         * sparc.c (ultra_reorder_called_this_block): Delete.
16206         (ultrasparc_sched_init): Don't set it.
16207         (ultrasparc_sched_reorder): Don't check it.
16209 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
16211         * rs6000.h (struct rs6000_args): Add sysv_gregno.
16212         * rs6000.c (init_cumulative_args): Init sysv_gregno.
16213         (function_arg_boundary): Align DFmode.
16214         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
16215         to get fp reg and stack overflow correct.
16216         (function_arg): Likewise.
16217         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
16218         (setup_incoming_varargs): Restructure for ABI_V4; use
16219         function_arg_advance to skip final named argument.
16220         (expand_builtin_saveregs): Properly unskip the last integer arg
16221         when doing varargs.  Adjust overflow location calculation.
16223         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
16224         explicitly unsigned.
16225         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
16226         (__VA_GP_REGSAVE): Similarly.
16227         (__va_longlong_p): Delete.
16228         (__va_arg_type_violation): New declaration.
16229         (va_arg): Restructure.  Flag promotion errors.  Align double.
16230         TFmode passed by reference.
16232         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
16233         in the HOST_BITS_PER_WIDE_INT > 32 case.
16235 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
16237         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
16239 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
16241         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
16242         * toplev.c (documented_lang_options): Add -fpreprocessed.
16243         * cpplib.h (struct cpp_buffer): Add preprocessed.
16244         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
16245         (cpp_start_read): Don't expand macros or emit an initial #line
16246         directive if -fpreprocessed.
16248 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
16250         * cpplib.h (struct cpp_buffer): Added manual_pop for
16251         better C++ tokenization.
16252         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
16253         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
16254         * c-common.c (cpp_token): Make non-static.
16256 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16258         * c-common.h: New file.
16259         * c-common.c (permanent_obstack): Delete unused declaration.
16260         (c_global_trees): New array.
16261         (c_common_nodes_and_builtins): New function; split off common code
16262         from init_decl_processing in both c-decl.c and cp/decl.c.
16263         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
16264         c_global_trees and accessor macros defined in c-common.h.
16265         Include c-common.h.
16266         * c-decl.c: Delete definitions for tree nodes that were replaced by
16267         c_global_trees.
16268         (init_decl_processing): Build void_list_node.
16269         Call c_common_nodes_and_builtins; delete code to generate the common
16270         builtins here.
16271         * objc/objc-act.c (build_module_descriptor): Rename variable
16272         void_list_node to avoid clash with c-common.h.
16274         * Makefile.in: Update dependencies.
16275         * objc/Make-lang.in: Likewise.
16277 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
16279         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
16280         (UNIQUE_SECTION_P): Likewise.
16281         (UNIQUE_SECTION): Likewise.
16283 1999-07-19  Linas Vepstas  <linas@linas.org>
16285         * config/i370/README: New file.
16286         * config/i370/linux.h: New file.
16287         * config/i370/mvs.h: New file.
16288         * config/i370/oe.h: New file.
16289         * config/i370/t-linux: New file.
16290         * config/i370/t-mvs: New file.
16291         * config/i370/t-oe: New file.
16292         * config/i370/x-oe: New file.
16293         * config/i370/xm-linux.h: New file.
16294         * config/i370/xm-mvs.h: New file.
16295         * config/i370/xm-oe.h: New file.
16297         * i370.c (label_node_t): Add first_ref_page, label_addr,
16298         label_first_ref, label_last_ref members.
16299         (mvs_need_base_reload): Renamed from mvs_label_emitted.
16300         (MAX_MVS_LABEL_SIZE): Define.
16301         (MAX_LONG_LABEL_SIZE): Define.
16302         (alias_node_t, alias_anchor, alias_number): New.
16303         (mvs_function_table): Reorder for EBCDIC.
16304         (ascebc, ebcasc): Unconditionally define.
16305         (i370_branch_dest, i370_branch_length): New functions.
16306         (i370_short_branch, i370_label_scan): New functions.
16307         (mvs_get_label): Renamed from mvs_add_label.  Search for
16308         an existing label before creating a new one.
16309         (mvs_add_label): New function.
16310         (mvs_get_label_page): New function.
16311         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
16312         over the entire list.
16313         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
16314         (mvs_check_page) [TARGET_ELF_ABI]: New function.
16315         (mvs_add_alias, mvs_need_alias): New functions.
16316         (mvs_get_alias, mvs_check_alias): New functions.
16317         (handle_pragma): New function.
16318         (mvs_function_check): New function.
16319         (unsigned_jump_follows_p): Search harder.
16320         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
16321         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
16322         * i370.h (TARGET_VERSION): Delete.
16323         (CPP_SPEC, CPP_PREDEFINES): Delete.
16324         (mvs_label_emitted): Delete.
16325         (TARGET_EBCDIC): Delete.
16326         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
16327         (HANDLE_PRAGMA): Define.
16328         (HARD_REGNO_NREGS): Handle complex modes.
16329         (HARD_REGNO_MODE_OK): Likewise.
16330         (CLASS_MAX_NREGS): Likewise.
16331         (RET_REG): Likewise.
16332         (EXTRA_CONSTRAINT): Define.
16333         (RETURN_IN_MEMORY): True for DImode.
16334         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
16335         (FUNCTION_PROFILER): Delete.
16336         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
16337         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
16338         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
16339         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
16340         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
16341         (ASM_FILE_START): Add "RMODE ANY".
16342         (ASM_OUTPUT_EXTERNAL): Check for aliases.
16343         (ASM_GLOBALIZE_LABEL): Likewise.
16344         (ASM_OUTPUT_LABELREF): Likewise.
16345         (ASM_OUTPUT_COMMON): Likewise.
16346         (PRINT_OPERAND): Handle 'K', 'W', default.
16347         (PRINT_OPERAND_ADDRESS): New.
16348         (Lots of defines): Add support for TARGET_ELF_ABI.
16349         * i370.md (attr length): New.  Define for all patterns.
16350         (*): Lots of tweeks to assembly output and constraints.
16352 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
16354         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
16355         Disable patterns performing SImode comparisons with SImode values
16356         if TARGET_POWERPC64 and instruction does not sign-extend or does
16357         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
16358         differ for signed quantities.
16359         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
16360         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
16361         (decrement_and_branch_on_count): Add 64-bit variant.
16363 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16365         * final.c (output_asm_insn): When searching for the matching string
16366         for a given dialect, don't run past the end of the list of
16367         alternatives if there are fewer alternatives in the template than
16368         dialects.
16370 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
16372         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
16373         Removed paragraph about compression of files and size limitation,
16374         duplicated in the FAQ.  Use gcc-patches for posting patches.
16375         * gcc.c (main): Updated URL with bug reporting instructions to
16376         gcc.gnu.org.  Removed e-mail address.
16377         * system.h (abort): Likewise.
16379 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16381         * Makefile.in (stmp-multilib-sub): Make the files extracted
16382         from $(LIBGCC1) writable.
16384 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
16386         * config/arm/aout.h: Reformat for improved readability.
16388         * config/arm/arm.h: Reformat for improved readability.
16389         Replace uses of fprintf with asm_fprintf where appropriate.
16390         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
16391         function declaration assembler actions.
16392         (NUM_INTS): New macro: Convert from bytes to words.
16393         (NUM_REGS): New macro: Compute number of registers required to
16394         hold a quanitity of tyep MODE.
16395         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
16396         types.
16397         (NUM_ARG_REGS): New macro: The number of argument registers
16398         available.
16399         (ARG_REGISTER): New macro: Compute the register number of the Nth
16400         argument register.
16401         (LAST_ARG_REGNUM): New macro: The number of the last argument
16402         register.
16403         (SP_REGNUM): New macro: Register number of the stack pointer.
16404         (FP_REGNUM): New macro: Register number of the frame pointer.
16405         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
16406         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
16407         CUMULATIVE_ARGS so that it counts registers not bytes.
16409         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
16410         TARGET_INTERWORK.
16411         Replace uses of fprintf with asm_fprintf where appropriate.
16412         (output_ascii_pseudo_op): Replace with version from thumb.c
16414         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
16416         * config/arm/elf.h (CPP_PREDEFINES): Replace with
16417         SUBTARGET_CPP_SPEC.
16418         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
16419         (ASM_FILE_START): Emit ASM_APP_OFF.
16421 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
16423         * pa.c (compute_frame_size): Round frame according to
16424         STACK_BOUNDARY rather than a hardwired value.
16426         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
16428         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
16429         of "1".
16430         * configure: Rebuilt.
16432         * configure.in (hppa*-*-linux*): New configuration.
16433         * configure: Rebuilt.
16434         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
16435         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
16436         * pa/pa-linux.h: New file.
16437         * pa/t-linux: New file.
16438         * pa/xm-linux.h: New file.
16440         * pa.c (hppa_legitimize_address): Change references from SImode to
16441         either Pmode or word_mode as appropriate.
16442         (emit_move_sequence, store_reg, load_reg): Likewise.
16443         (set_reg_plus_d, hppa_expand_prologue): Likewise.
16444         (output_mul_insn): Likewise.
16445         * pa.h (PROMOTE_MODE): Likewise.
16446         (INITIALZE_TRAMPOLINE): Likewise.
16447         (Pmode): Define to word_mode.
16449         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
16450         value of 4.  Allocate 8 bytes for each FP register save.
16451         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
16452         value of 4.
16453         (hppa_expand_prologue): Likewise.
16454         * pa.h (PROMOTE_MODE): Likewise.
16455         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
16456         (FUNCTION_ARG_BOUNDARY): Likewise.
16458         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
16460         * pa.c (out_of_line_prologue_epilogue): Delete.
16461         (override_options): Remove -mspace related code.
16462         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
16463         (compute_frame_size): Only allocate space for register that
16464         actually need to be saved.
16465         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
16466         (TARGET_SWITCHES): Remove -mspace, -mno-space
16467         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
16468         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
16469         * pa/ee.asm, pa/ee_fp.asm: Delete.
16471         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
16473         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
16474         directive in column zero.
16476 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
16478         * m68k.c (output_function_prologue): Fix computation of save mask
16479         when generating PIC code.
16481 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
16483         * tree.c (build_type_attribute_variant): Move current_obstack restore
16484         after build_qualified_type call.
16486 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
16488         * configure.in: Use t-iris6, even with GNU LD.
16489         * config/mips/iris6gld.h: Fix typo in linker spec.
16490         * config/mips/t-iris6gld: Remove.
16492 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
16494         * rs6000.md (insv, extzv): Remove SImode dependence in named
16495         patterns.  Explicitly generate DImode RTL if PowerPC64 and
16496         operand is DImode.
16497         (insvdi): Reverse start and size in instruction template.
16499 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
16501         * invoke.texi: Typo fixes.
16503 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
16505         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
16506         handle at this time instead of silently generating incorrect code.
16507         (gen_imagpart): Likewise.
16509         * reload.c (find_reloads): Emit a USE for a pseudo register without
16510         a hard register if we could not create an optional reload for the
16511         pseudo.
16513 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16515         * c-typeck.c (output_init_element, process_init_element):
16516         When advancing constructor_unfilled_fields for a RECORD_TYPE,
16517         check for nameless bit fields.
16519 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
16521         * regclass.c (scan_one_insn): Notice subregs that change the
16522         size of their operand.
16523         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
16525 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
16527         * configure.in (alpha*-*-*): Include alpha/t-ieee.
16528         * configure: Rebuilt.
16529         * alpha/t-ieee: New file.
16531 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
16533         * rs6000.c (find_addr_reg): Do not select r0 as an address
16534         register.
16536 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
16538         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
16540 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
16542         * rs6000.md (movsf): Do not force easy FP constants into memory.
16544         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
16545         immed_double_const to ensure they are properly truncated then
16546         sign extended.
16548 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
16550         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
16551         always unless NO_DEBUG is used.  Compile this code
16552         unconditionally.
16553         (replace_symbols_in_block): Compile it unconditionally.
16555 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
16557         * configure.in (i?86-*-elf*): New target.
16558         * configure: Rebuilt.
16559         * i386/i386elf.h, i386/t-i386elf: New files.
16561 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
16563         * toplev.c (main): Don't complain about saying -gdwarf.
16564         (rest_of_compilation): Remove redundant code.
16566 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
16568         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
16570 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
16572         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
16573         "Li960R:", to avoid name clash.
16575 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16577         * loop.c (check_dbra_loop): When reversing a loop, delete all
16578         REG_EQUAL notes referencing the reversed biv except those which are
16579         for a giv based on it.
16581 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
16583         * version.c: Drop "gcc-" prefix from version #.
16585 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
16587         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
16588         the label if we're being verbose.
16590 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
16592         * m68k.c (output_function_prologue): Add pic register to mask
16593         if live and flag_pic.
16594         (output_function_epilogue): Likewise.
16596 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
16598         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
16599         directives in column zero.
16601         * pa/elf.h (ASM_FILE_START): Define.
16602         * pa/som.h (ASM_FILE_START): Include .level directives.
16603         * pa/hpux10.h (ASM_FILE_START): Delete.
16604         * pa/hpux11.h (ASM_FILE_START): Delete.
16606         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
16608 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16610         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
16611         when reload_out equals reload_in.
16613 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
16615         * invoke.texi (Spec Files): New node: Describe the contents of
16616         spec files.
16618 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
16620         * invoke.texi (DEC Alpha Options): Put @end table at
16621         beginning of line, to avoid confusing texi2html.
16623 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
16625         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
16626         introduced in previous delta.
16628 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16630         * reload1.c (gen_reload): When synthesizing a 3 operand add
16631         sequence, improve test for when to reload OP1 into the reload
16632         register instead of OP0.
16634 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
16636         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
16638 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
16640         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
16641         string literal.
16643 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
16645         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
16646         (va_dcl): Use __builtin_va_alist_t.
16648 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
16650         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
16651         on the permanent_obstack.
16652         * dwarfout.c (output_type): Likewise.
16654 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16656         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16657         Merged from c-typeck.c and cp/typeck.c.
16658         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16659         Merged into c-common.
16661 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
16663         * c-lex.c (errorcount): Declare it.
16664         (finish_parse): Update errorcount when using CPPLIB.
16666 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
16668         * fixinc/inclhack.def(end_else_label): Double the backslash so
16669         sed gets a chance to see it.
16670         * fixinc/inclhack.sh: regen
16671         * fixinc/fixincl.x: regen
16673 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
16675         Add framework to support armv5 architecture when it becomes
16676         available:
16678         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
16679         (arm_arch5): New variable.
16680         (all_architectures): Add armv5 line.
16681         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
16682         -march=armv5 is specified on the command line.
16683         (arm_arch5): Export this variable.
16684         * invoke.texi: Document new string accepted by -march= switch for
16685         ARM ports.
16687         * config/arm/arm.h: Replace use of constant 12 as a register
16688         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
16689         * config/arm/arm.c: Replace use of constant 12 as a register
16690         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
16692         * config/arm/elf.h: Tidy up.
16693         * config/arm/coff.h: Tidy up.
16695 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
16697         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
16698         * gcc/config/mips/t-iris6gld: New file.
16699         * gcc/config/mips/iris6gld.h: Likewise.
16701 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16703         * c-decl.c (widest_integer_literal_type_node,
16704         widest_unsigned_literal_type) : New.
16705         (init_decl_processing): Handle/use the two new types.
16706         * c-common.c (type_for_size,type_for_mode) : Same.
16707         * c-lex.c (yylex) : Same.
16708         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16709         Same.
16710         * c-tree.h (widest_integer_literal_type_node,
16711         widest_unsigned_literal_type) : New.
16713 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
16715         * dwarfout.c (field_byte_offset): Correctly compute the object's
16716         byte offset for the first bit of a field which crosses an alignment
16717         boundary on a !BYTES_BIG_ENDIAN target.
16719 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
16721         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
16722         ntohs.
16724 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
16725                           Jeff Law <law@cygnus.com>
16727         * ginclude/varargs.h (va_dcl): Use word_mode for type of
16728         __builtin_va_list.
16730         * except.c: Include intl.h.
16731         (expand_eh_return): Set current_function_cannot_inline.
16732         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
16733         * function.h (struct function): Add eh_return_stub_label.
16734         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
16735         * Makefile.in (except.o): Depend on intl.h.
16737 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
16739         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
16740         same as offsettable in cases 1 and 2.
16742 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
16744         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
16745         (extlh, extwh): Likewise.
16747 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16749         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
16751 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
16753         * configure.in: Add arm-pe and thumb-pe targets.
16754         * configure: Regenerate.
16756         * thumb.c (arm_naked_function_p): New function: Determines if
16757         a function is naked (has no gcc generated prologue/epilogue).
16758         (is_called_in_ARM_mode): Return true if the func has the
16759         interfacearm attribute.
16760         (output_return): Do not generate a return for naked functions.
16761         (thumb_function_prologue): Do not generate a prologue for
16762         naked functions.
16763         (thumb_expand_prologue): Do not generate a prologue for naked
16764         functions.
16765         (thumb_expand_epilogue): Do not generate an epilogue for naked
16766         functions.
16767         (arm_valid_machine_decl_attribute): New function, copied from
16768         arm.c:  Permit naked and interfacearm attributes.
16770         * config/arm/pe.c: New file: Support code for arm-pe target.
16771         * config/arm/pe.h: New file: Header file for arm-pe target.
16772         * config/arm/tpe.h: New file: Header file for thumb-pe target.
16773         * config/arm/t-thumb-pe: New file: Makefile fragment for
16774         thumb-pe target.
16776 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
16778         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
16779         -fPIC or -fpic is specified.
16781 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
16783         * expr.c (emit_block_move): Use copy_to_mode_reg for
16784         !TARGET_MEM_FUNCTIONS case too.
16786         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
16787         appropriate.
16788         * configure: Rebuilt.
16789         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
16790         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
16791         definitions made redundant by dbxelf.h inclusion.  Delete
16792         lots of definitions related to assembly output that are
16793         specific to the SOM object format.
16794         * pa.c (output_function_prologue): Do not emit the function's
16795         name for OBJ_ELF.
16796         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
16797         * pa-pro.h: Deleted.
16798         * som.h: New file with SOM specific definitions.
16799         * elf.h: New file with ELF specific definitions.
16801         * elfos.h (const_section): Output a tab before assembler directives.
16802         (ctors_section, dtors_section): Likewise.
16803         (ASM_OUTPUT_SECTION_NAME): Likewise.
16805         * pa/pa1.h: Delete unused file.
16807 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
16809         * configure.in (hppa*-hp-hpux11*): New configuration.
16810         * configure: Rebuilt.
16811         * pa/pa-hpux11.h: New file.
16812         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
16813         command line.
16815         * mips.md (leasi, leadi): New patterns.
16817         * expr.c (emit_block_move): Properly handle case where one of the
16818         block move arguments has a queued increment or decrement.
16819         (clear_storage): Similarly.  Fix formatting goof.
16821 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
16823         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
16824         semicolon from the BSD VA_LIST replacement expression.
16826         * fixinc/inclhack.sh: regen
16827         * fixinc/fixincl.x: regen
16829         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
16830         now use the fixincl program.
16832 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
16834         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
16835         case.  Also make the PIC register call_used.
16837         * m68k.h (FINALIZE_PIC): Delete.
16838         * m68k.c (finalize_pic): Delete.
16840 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
16842         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
16843         to memory.
16845 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
16847         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
16849 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
16851         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
16853 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
16855         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
16857 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
16859         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
16861 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
16863         * rs6000.c (output_toc): Always use hex values for floating-point
16864         constants.  Store single-precision values in upper-half of TOC
16865         entry in 64-bit mode.
16866         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
16867         to final constraints.
16868         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
16869         (fctiwz): Improve accuracy of RTL for pattern.
16871 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16873         * expr.c (expand_expr): Allow RTL_EXPR's through the
16874         MAX_INTEGER_COMPUTATION_MODE checks.
16876 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
16878         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
16879         such that MASK_SUPPORT_ARCH is not negative.
16881 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
16883         * loop.c (verify_dominator): Properly handle ADDR_VEC and
16884         ADDR_DIFF_VEC insns that appear inside loops.
16886 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
16887                           Jeff Law <law@cygnus.com>
16889         * rs6000.md (movdf_hardfloat32): Revert previous patch.
16890         Handle LO_SUM the same as offsettable in cases 1 and 2.
16891         * rs6000.c (find_addr_reg): Revert previous patch.
16893 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
16895         * system.h (strstr): New external function declaration.
16896         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
16897         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
16898         * config.in, configure: Rebuilt.
16900 1999-06-24  Tom Tromey  <tromey@cygnus.com>
16902         * gcc.c (main): Read user-specified specs files after computing
16903         additional startfile_prefixes.
16905 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
16907         Revert these two patches:
16909         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16910         * loop.c (strength_reduce): When doing biv->giv conversion, update
16911         reg note of NEXT->insn.
16913         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16914         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16915         reg_biv_class.
16916         (recombine_givs): Set ix field after sorting.
16918 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16920         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
16921         for the parts of an UNSPEC / UNSPEC_VOLATILE.
16923 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
16925         *fixinc/inclhack.def:  Add fix development commentary
16926         (read_ret_type): reactivate and add selection clause
16927         (zzz_*): tweak output file name to match what is used in hackshell.tpl
16928         *fixinc/{fixincl.x|inclhack.sh}: regen
16930 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
16932         * expr.c (expand_expr): STRIP_NOPS before checking against
16933         MAX_INTEGER_COMPUTATION_MODE
16934         (check_max_integer_computation_mode): Likewise.
16936 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
16938         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
16940 1999-06-22  Jim Wilson  <wilson@cygnus.com>
16942         * expr.c (store_expr): When target is a promoted subreg, return a
16943         promoted subreg as a result.
16945 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
16947         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
16948         coding standards.
16949         (dwarf2out_define): Mark unused parameters appropriately.
16950         (gen_unspecified_parameters_die): Ditto.
16951         (gen_subprogram_die): Fix signed/unsigned warnings.
16952         (gen_variable_die): Ditto.
16954 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
16956         * fixinc/inclhack.def(end_else_label): combined else_label
16957         and endif_label and fixed the sed expression.
16958         *fixinc/{fixincl.x|inclhack.sh}: regen
16960 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
16962         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
16963         'x' when handling non-offsettable addresses
16965 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
16967         * final.c (shorten_branches): Don't try to split an insn that has
16968         been deleted.
16970 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
16972         * config/mips/mips.c (symbolic_expression_p): New function.
16973         (mips_select_rtx_section): Put symbolic expressions in the
16974         data section, not the read-only data section.
16976 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
16978         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
16980 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
16982         * collect2.c (main): Log frame table count.
16983         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
16984         (scan_prog_file) [COFF]: Handle frame tables.
16986         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
16987         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
16988         * alpha/elf.h: Undef them again.
16989         * alpha/vms.h: Remove their definitions.
16991 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16993         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
16994         remove the clobber of r0 and change the REG_UNUSED note to
16995         REG_INC.
16997 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
16999         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
17000         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
17001         fits in HOST_WIDE_INT and one uses union to access a long constant
17002         as double.
17004 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
17006         * sparc.c (sparc_override_options): Don't allow profiling for
17007         code models other than medlow.
17008         (sparc_function_profiler): New function from old FUNCTION_PROFILER
17009         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
17010         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
17011         (sparc_block_profiler): Likewise.
17012         (sparc_function_block_profiler_exit): Likewise.
17013         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
17014         (FUNCTION_BLOCK_PROFILER): Likewise.
17015         (BLOCK_PROFILER): Likewise.
17016         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
17017         (MCOUNT_FUNCTION): New.
17018         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
17019         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
17020         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
17021         (MCOUNT_FUNCTION): New.
17022         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
17023         (BLOCK_PROFILER): Delete.
17024         (MCOUNT_FUNCTION): New.
17026 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
17028         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
17030 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
17032         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17033         Add the macros.
17035         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17036         Ditto.
17038         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17039         Ditto.
17041         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17042         Ditto.
17044 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
17046         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
17047         types.
17049 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
17051         * i386/djgpp.h (LIB_SPEC): New.
17052         (STARTFILE_SPEC): New.
17054         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
17056 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
17058         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
17059         compiler flags.
17061         * system.h (WSTOPSIG): New macro.
17063 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17065         * c-pragma.c (push_alignment): Don't ignore alignments greater than
17066         4 bytes.
17067         (insert_pack_attributes): Take into account member natural
17068         alignment.
17070         * i386/winnt.c (exports_head): New static variable.
17071         (i386_pe_record_exported_symbol): New function.
17072         (i386_pe_asm_file_end): Use.
17073         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
17074         symbols to be emitted at end of assembly.
17075         (ASM_DECLARE_OBJECT_NAME): Likewise.
17076         (ASM_DECLARE_FUNCTION_NAME): Likewise.
17078         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
17079         -iwithprefix.
17081 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
17083         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
17084         in last change.
17086 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
17088         * haifa-sched.c (sched_analyze_1): Use free_list instead of
17089         zapping reg_last_uses directly.
17090         (sched_analyze_2, sched_analyze_insn): Likewise.
17091         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
17093 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
17095         * rs6000.md (movdf_hardfloat32): Use worst case insn length
17096         attributes for cases 1 and 2.
17098 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
17100         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
17101         instead of set.
17103 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
17105         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
17107 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
17109         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
17110         PIC_OFFSET_TABLE_REGNUM for general alloaction.
17111         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
17112         must be stacked if it is used for PIC accesses.
17113         * arm.c (use_return_insn): Handle PIC register specially.
17114         (output_return_instruction): Likewise.
17115         (output_func_{prologue,epilogue}): Likewise.
17116         (output_expand_prologue): Likewise.
17118         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
17119         (*strsi_predec): Renamed from *strqi_predec.
17120         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
17121         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
17123         * arm.c (arm_override_options): Remove warning about PIC code
17124         not being supported.
17126 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
17128         * rs6000.c (find_addr_reg): New function.
17129         * rs6000.h (find_addr_reg): Declare.
17130         (offsettable_addr_operand): Delete.
17131         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
17132         from and stores to GPRs.
17134 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
17136         * alpha.c (alpha_expand_block_move): Use get_insns rather than
17137         gen_sequence as argument to emit_no_conflict_block.
17139 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17141         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
17142         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
17143         *fixinc/fixincl.x: regen
17144         *fixinc/inclhack.sh: regen
17146 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
17148         * added support for -mpcrel (PC relative addressing for m68k)
17149         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
17150         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
17151         * m68k.c (print_operand_address): Handle 32-bit PIC case.
17152         (comments for general_src_operand): Add some explanation
17153         about EXTRA_CONSTRAINTS.
17154         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
17155         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
17156         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
17157         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
17158         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
17159         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
17160         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
17161         if not already set.
17162         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
17163         * m68k.h (TARGET_PCREL): New target flag.
17164         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
17165         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
17166         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
17167         contains a SYMBOL_REF.  Relax this constraint during reload, since
17168         we want to use the predicates, not reload's built-in concept of a
17169         valid memory address, to control what insns need reloading.
17170         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
17171         operands (essentially 'g', 'm', and 's' under normal circumstances).
17172         * m68k.c (print_operand): Cause printing of pc-relative addresses
17173         to include pc register.
17174         (print_operand_address): Ditto.
17175         (general_src_operand): Accept operands that are not only
17176         general_operands, but are also valid when used as a pc-relative
17177         source.
17178         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
17179         (memory_src_operand): Similar, for memory_operands.
17180         (pcrel_address): New predicate to accept the special case of a
17181         pc-relative address.
17182         * m68k.md (many patterns): Rewrite common SImode, HImode, and
17183         QImode insns to accept *_src_operand instead of *_operand where
17184         pc-relative operands can fit.  For example, a pc-relative operand
17185         can be used as a memory source operand for addsi3, but not as a
17186         memory destination.
17187         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
17189 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
17191         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
17192         .thumb_set pseudo op to mark aliases of thumb functions.
17194 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
17196         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
17197         preference to ASM_OUTPUT_DEF, if it is defined.
17199         * tm.texi: Document new, optional target macro
17200         ASM_OUTPUT_DEF_FROM_DECLS.
17202 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17204         * fixincludes: ISCNTL patch
17205         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
17206         (dgux_int_varargs): new for DG/UX
17207         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
17209 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
17211         * invoke.texi (ia32 options): Fix typo.
17213 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17215         * loop.c (strength_reduce): When doing biv->giv conversion, update
17216         reg note of NEXT->insn.
17218 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
17220         * loop.c (move_movables): Note issues with replacing REGs with
17221         SUBREGs.
17222         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
17224 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
17226         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
17228         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
17229         the reference to `mcount' was not correct for the ELF on FreeBSD.
17231 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17233         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
17234         reg_biv_class.
17236         (recombine_givs): Set ix field after sorting.
17238 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
17240         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
17241         to safe to extract a subword out of a REG.
17243 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17245         * sh.md (mulsi3): Don't add a no-op move at the end.
17247 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17249         * cse.c (cse_insn): Don't put hard register source into tables for
17250         the last insn of a libcall.
17252 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17254         * loop.c (strength_reduce): Insert sets of derived givs at every
17255         biv increment, even if it's the only one.
17257 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
17259         * dwarfout.c (add_incomplete_type): New fn.
17260         (output_type): Call it.
17261         (retry_incomplete_types): New fn.
17262         (dwarfout_finish): Call it.
17264         From Eric Raskin <ehr@listworks.com>:
17265         (output_type): Output types for bases.
17267 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17269         * mips.c (mips_output_conditional_branch): Add `break'
17270         between `default' label and `close braces'.
17272 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
17274         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
17275         specifications and make it realistic.
17276         (LIB_SPEC): Likewise.
17278 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
17280         * config/mips/mips.c (mips_secondary_reload_class): Check for
17281         (PLUS (SP) (REG)) and return appropriate register class.
17282         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
17283         Handle (PLUS (SP) (REG)).
17284         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
17285         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
17286         of emit_insn for tablejump.
17288 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
17290         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
17291         asm_fprintf format string by itself.
17292         (output_function_profiler): Likewise.
17294 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
17296         * combine.c (simplify_logical, case AND): Only call
17297         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
17298         or the constant is positive.
17300 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
17302         * configure.in: Fix typo in rs6000-ibm-aix4 case.
17303         * configure: Regenerate.
17305 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
17307         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
17308         require a sub-version #.
17309         * configure: Rebuilt.
17311 1999-06-14  Robert Lipe  (robertlipe@usa.net)
17313         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
17315 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
17317         * c-typeck.c (process_init_element): Detect excess elements in
17318         char array initializer.
17320 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
17322         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
17324 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
17326         * invoke.texi (Option Summary): Add -fpermissive flag.
17328 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
17330         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
17331         that require PIC code sequences.
17333 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
17335         * configure.in: Add new target: thumb-elf.
17336         * configure: Regenerate.
17337         * config/arm/t-thumb-elf: New file: Makefile fragment for
17338         thumb-elf build.
17339         * config/arm/telf.h: New file: Header file for thumb-elf
17340         build.
17342 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
17344         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
17345         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
17346         initializers is some circumstances.
17348         * fixinc/inclhack.def (endif_label): Add additional selector for
17349         more bogus stuff after #endif statements.
17350         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17352 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17354         * i386/cygwin.h (SET_ASM_OP): Define.
17356 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17358         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
17360 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17362         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
17363         latter.
17365         * sh.md (ic_invalidate_line_i): Remove second alternative.
17367 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17369         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
17370         test for the presence of valid prototypes.  Delete bypass expr.
17371         (ioctl_fix_ctrl): Correct the selection expression.
17372         (no_double_slash): Correct quoting rules
17373         *fixinc/fixincl.x: regen
17374         *fixinc/inclhack.sh: regen
17376 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
17378         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
17380 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17382         * rs6000.md (movsi_got_internal_mem): Delete.
17383         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
17384         (GOT_TOC_REGNUM): Delete.
17385         (PIC_OFFSET_TABLE_REGNUM): Define.
17386         (FINALIZE_PIC): Disable.
17387         * rs6000.c (rs6000_got_register): New code for fixed pic register.
17388         (rs6000_replace_regno): Delete.
17389         (rs6000_finalize_pic): Likewise.
17390         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
17392 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17394         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
17395         is a note; use <= for the compare; advance P while it is
17396         a NOTE.
17398 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
17400         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
17401         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
17403         * varasm.c (remove_from_pending_weak_list): Verify t->name
17404         is non-NULL before passing it to strcmp.
17406 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17408         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
17409         the typed arguments are not part of a comment
17410         (ioctl_fix_ctrl): Added a purpose comment
17411         *fixinc/fixincl.x: regenerate
17412         *fixinc/inclhack.sh: regenerate
17414 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17416         * invoke.texi: Add C4x invocation docs.
17418 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17420         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
17421         Define new macros.
17422         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
17423         TARGET_EXPOSE_LDP.
17424         (c4x_legitimize_reload_address): New function.
17425         * config/c4x/c4x.md: Update docs.
17427 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
17429         * fixincludes: Avoid removing '.'.
17430         * fixinc/fixinc.svr4: Likewise.
17431         * fixinc/fixinc.winnt: Likewise.
17432         * fixinc/inclhack.tpl: Likewise.
17433         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
17435 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17437         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
17438         pattern.
17439         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
17441 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17443         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
17444         correctly.
17446 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
17448         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
17449         * configure: Regenerate.
17451 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
17453         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
17454         values.
17456 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
17458         * fixinc/inclhack.def (avoid_bool): Also catch
17459         "typedef [unsigned] int bool".
17460         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17462         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
17463         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
17464         * configure: Rebuilt.
17466 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
17468         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
17469         such that we can override its definitions if necessary.
17470         (CPP_SPEC): New define.  Support processor specific predefines via
17471         %(cpp_cpu).
17472         (CC1_SPEC): New define.  Support processor specific compiler
17473         options via %(cc1_cpu).
17474         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
17475         -static.
17477 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17479         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
17480         between sed's -e flag, and the open-quote following it.
17481         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17483 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
17484                           Jeffrey A Law  (law@cygnus.com)
17486         * varasm.c (assemble_start_function): Remove the function
17487         from the pending weak decls list when we define a function.
17488         (assemble_variable): Similarly for variables.
17489         (weak_finish): Ignore items on the list with a NULL name.
17490         (remove_from_ending_weak_list); New function to "remove" an item
17491         from the pending weak declarations list.
17493 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
17495         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
17497 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
17499         * c-lex.c (GETC): Redefine to call getch.
17500         (UNGETC): Redefine to call put_back.
17501         (putback_buffer): New structure type.
17502         (putback): New static structure.
17503         (getch): New function.
17504         (put_back): New function.
17505         (yylex): Replace unused bytes from bad multibyte character.
17507 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
17509         * cpplib.c (do_define): Cast `alloca' return value.
17510         (do_include, do_undef, do_pragma): Likewise.
17511         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
17512         values.
17513         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
17514         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
17516 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
17518         * sparc.md (abstf2): This should be an expand.
17519         (split after abstf2_notv9): Fix mode.
17520         (abstf2_hq_v9): New pattern.
17521         (abstf2_v9): Only use when no hard quad.
17522         (absdf2_v9): Fix if target is not the same as source.
17523         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
17524         Add correct output constraints.
17526 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
17528         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
17529         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
17531 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
17533         * mips.h (mips_output_conditional_branch): New function.
17534         (mips_adjust_insn_length): Likewise.
17535         (ASSEMBLER_SCRATCH_REGNUM): New macro.
17536         (ADJUST_INSN_LENGTH): Likewise.
17537         * mips.c (print_operand): Add `F' and `W' for floating-point
17538         comparison opcodes.
17539         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
17540         are now in bytes.
17541         (mips_adjust_insn_length): New function.
17542         (mips_output_conditional_branch): New function.
17543         * mips.md (length): Adjust attribute definition to handle
17544         conditional branches.  Change lengths to bytes, rather than
17545         instructions throughout.  Remove length attribute from
17546         instructions whose length is four bytes, and rely on the default
17547         instead.
17548         (dslot): Fix typo in comment.
17549         Reword conditional branch patterns to use
17550         mips_output_conditional_branch.
17552 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17554         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
17555         (LIB_SPEC): Likewise.
17556         Link with -lprof1_r for -g/-pg.
17558 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
17560         * loop.c (check_dbra_loop): Fix change of Jan 19.
17562 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
17564         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
17565         (STARTFILE_SPEC):  Define, override the svr4.h version.
17566         (ENDFILE_SPEC):  Likewise.
17568 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
17570         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
17571         * fixinc/fixincl.x: Regenerated.
17572         * fixinc/inclhack.sh: Regenerated.
17574 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17576         * sh.c (barrier_align): Don't return early for normal branch/barrier
17577         when optimizing for SH2.
17579 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
17581         * i386/udk.h (LINK_SPEC): Correct linker search path for
17582         system libraries.
17584 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17586         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
17587         (braf_label_ref_operand): Delete.
17588         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
17589         * sh.md (casesi_jump_2): Operand1 is now the inside of a
17590         label_ref, and has no predicate.
17591         The patten has a predicate to guard against invalid substitutions.
17592         (dummy_jump): Delete.
17593         (casesi): Update use of casesi_jump_2.
17595 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17597         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
17598         *fixinc/fixincl.x: regenerate
17599         *fixinc/inclhack.sh: regenerate
17601 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
17603         * dwarf2out.c (add_incomplete_type): New fn.
17604         (gen_struct_or_union_type_die): Call it.
17605         (retry_incomplete_types): New fn.
17606         (dwarf2out_finish): Call it.
17608 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
17610         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
17611         current block starts with a CODE_LABEL and ends with a CALL and
17612         we can not find all the argument setup instructions for the CALL.
17614 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
17616         Revert this change:
17617         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17618         something is a candidate for optimize_bit_field_compare.
17620 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17622         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
17624 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
17626         * alpha.c (override_options): Thinko in last patch.
17628         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
17629         (LIB_SPEC): Recognize -pthread.
17631 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
17633         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
17634         definition in config/arm/coff.h
17635         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
17637 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17639         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
17640         fixes that need "file=xxx\n" prepended before invocation
17641         (start_fixer - new): starting the fixer process is complex enough
17642         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
17643         (process): uses the new routine; omit usage of putenv()
17644         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
17645         * fixinc/fixincl.x: regenerate
17647 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
17649         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
17650         and version #s (1.1 -> 2.96) as needed.
17651         * README.g77: Kill way out of date file in the toplevel directory.
17653 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
17655         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
17656         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
17657         * configure: Rebuilt.
17658         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
17659         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
17660         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
17661         (SWITCH_TAKES_ARG): Likewise.
17662         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
17663         * config/t-freebsd: Moved from config/i386/ so it can used for all
17664         FreeBSD targets.
17666 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
17668         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
17670 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
17672         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
17673         * configure: Rebuilt.
17675 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
17677         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
17678         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
17679         * rs6000/rs6000.c (rs6000_file_start): Use putc.
17680         (rs6000_output_load_toc_table): Same.
17681         (output_prolog, output_mi_thunk): Same.
17682         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
17683         (ASM_GLOBALIZE_LABEL): Use putc.
17685 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
17687         * alpha.md (reload_*_help): New patterns and splitters.
17688         (reload_*): Use them.
17689         (mov[qh]i): Likewise.
17691 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
17693         * cccp.c (handle_directive): Handle backslash-newlines in quoted
17694         strings correctly.
17696 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
17698         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
17700 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
17702         * flow.c (mark_regs_live_at_end, insn_dead_p,
17703         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
17704         and HARD_FRAME_POINTER_REGNUM special treatment if reload
17705         hasn't run or the frame pointer is needed.
17706         * haifa-sched.c (attach_deaths): Likewise.
17707         * sched.c (attach_deaths): Likewise.
17709 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
17711         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
17712         calculate_can_reach_end returns nonzero.
17714         * configure.in (native gas tests): Search for an assembler in the
17715         same manner that the installed compiler will.
17716         * configure: Rebuilt.
17717         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
17719         * alias.c (find_base_term): Improve handling of addresses
17720         constructed from binary operations.
17722 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
17724         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
17726 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
17728         * function.h (cleanup_label, frame_offset): Declare.
17729         (tail_recursion_label, tail_recursion_reentry): Likewise.
17730         (arg_pointer_save_area, rtl_expr_chain): Likewise.
17731         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
17732         (tail_recursion_label, tail_recursion_reentry): Likewise.
17733         (arg_pointer_save_area, rtl_expr_chain): Likewise.
17735 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
17737         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
17738         defined.
17739         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
17740         (MAX_OFILE_ALIGNMENT): Define.
17742 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
17744         * fixincl.c: Replace local include scheme with #includes of
17745         gansidecl.h and system.h.
17746         * procopen.c:  Likewise.
17747         * server.c:  Likewise.
17749 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
17751         * i386/t-dgux (EXTRA_PARTS): Add crti.o
17752         (crti.o): Add build rule and dependencies.
17753         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
17755 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17757         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
17758         (LIB_LINUX_SPEC): Likewise.
17759         (LIB_LINUX_SPEC): Add support for -pthread
17760         (CPP_OS_LINUX_SPEC): Likewise.
17761         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
17762         specified.
17764 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
17766         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
17767         conditional move.
17768         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
17769         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
17770         for IEEE math and CC_FCOMI.
17771         (put_jump_code): No IEEE if CC_FCOMI is set.
17773 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
17775         * fold-const.c (fold_truthop): Make the field reference unsigned
17776         when converting a single bit compare.
17778 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17780         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
17782 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
17784         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
17785         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
17786         version did.
17788         * reload.c (push_reload): Do not call remove_address_replacements
17789         when presented with identical optional reloads.
17791 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
17793         * alpha.h (MASK_FIX, TARGET_FIX): New.
17794         (MASK_*): Reorganize constants.
17795         (CPP_AM_FIX_SPEC): New.
17796         (TARGET_SWITCHES): Add FIX.
17797         (EXTRA_SPECS): Likewise.
17798         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
17799         (SECONDARY_MEMORY_NEEDED): Likewise.
17800         (REGISTER_MOVE_COST): Likewise.
17801         * alpha.c (override_options): Add FIX support.  Always use
17802         ALPHA_TP_PROG for ev6.
17803         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
17804         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
17805         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
17807 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
17809         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17810         something is a candidate for optimize_bit_field_compare.
17812 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
17814         * gcc.texi (Passes): Document branch-shortening.
17815         * invoke.texi (Debugging Options): Document the fact that `-dp'
17816         outputs length information for instructions.
17818 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
17820         * flow.c: Revert previous delta.
17822 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
17824         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
17825         FRAME_POINTER_REGNUM.
17826         (mark_set_1): Ditto.
17827         (mark_used_regs): Ditto.
17829 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
17831         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
17832         (GOT_PCREL): New macro.  Define to 1 if not already defined.
17833         * arm/elf.h (GOT_PCREL): Define to 0.
17834         * arm.c (arm_finalize_pic): Take into account the setting of
17835         GOT_PCREL.
17837 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
17839         * output.h (STRIP_NAME_ENCODING): Provide default definition.
17840         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
17842         * flow.c (mark_set_1): Do not record BLKmode stores as dead
17843         store elimination candidates.
17845 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17847         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
17848         TARGET_GAS.
17850 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
17852         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
17853         Add use of x-aix41-gld.
17855 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
17857         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
17858         (ASM_OUTPUT_DESTRUCTOR): Define.
17860 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
17862         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
17863         last CODE_LABEL in a loop if we have previously passed a jump
17864         to the top of the loop.
17866 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
17868         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
17869         applying Philip's patch.
17871 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
17873         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
17874         are not VAR_DECLs.
17876 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
17878         * loop.c (strength_reduce): Grow reg_single_usage as needed.
17880 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
17882         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
17883         Also remove a useless comment.
17885 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
17887         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
17889 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
17891         * collect2.c (main): Only generate import or export file and add
17892         to link arguments if non-empty.  Use xmalloc not alloca.
17893         (write_{export,import}_file): Delete.
17894         (write_aix_file): New function.
17895         (locatelib): Use xmalloc not malloc.
17896         (GCC_OK_SYMBOL): Do not check type if aix64.
17898 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
17900         Based on patch by Scott Bambrough and Pat Beirne:
17901         * config/arm/arm.c (making_const_table): New variable.
17902         * config/arm/arm.h (making_const_table): Declare.
17903         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
17904         appropriate.
17905         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
17906         Keep track of when we are building the constant table.
17908 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
17910         * config/arm/arm.c (arm_override_options): Fix erroneous warning
17911         message.
17913 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
17915         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
17916         defined.
17918 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
17920         * tm.texi (FUNCTION_ARG): Correct description of a stack element
17921         in a PARALLEL.
17923 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
17925         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
17927 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17929         * rs6000.c (output_mi_thunk): Enable full support again.
17931 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17933         * sh.h (BRANCH_COST): Define.
17935 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
17937         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
17939 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
17941         * function.c (assign_stack_local): Align stack slot propertly.
17942         (assign_outer_stack_local): Likewise.
17944 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
17946         * expr.h (lang_expand_constant): Declare.
17947         * toplev.c (lang_expand_constant): Define it.
17948         * varasm.c (output_constant): Use it.
17950 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17952         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
17953         Change function definitions to K&R style.
17955 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17957         * fixinc/fixincl.c: We must not ignore SIGCLD now.
17959 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
17961         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
17962         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
17963         (several places): omit static initialization
17964         (process): use single fd, since only the read fd is used
17965         * fixinc/gnu-regex.c: define 'const' away, if not supported
17966         * fixinc/procopen.c(several places): omit static initialization
17967         * fixinc/server.c: define 'volitile' away, if not supported
17969 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
17971         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
17972         asm_fprintf and %L to generate the label name.
17973         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
17974         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
17976 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
17978         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
17979         insn for a conditional jump can not be found.
17981 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
17983         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
17984         on variables in specific sections other than .sbss and .sdata.
17986 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
17988         * stmt.c (expand_return): Call start_cleanup_deferral and
17989         end_cleanup_deferral around conditional code.
17991 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17993         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
17994         filename lists.  Utilizes new "krstr" AutoGen function.
17995         * fixinc/fixincl.x: Rebuilt.
17997 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
17999         * i386.c (output_float_compare): Avoid GNU-C extensions.
18001 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
18003         * version.c: Bump to distinguish mainline tree from the
18004         gcc-2.95 branch.
18006 See ChangeLog.1 for earlier changes.