* configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
[official-gcc.git] / gcc / ChangeLog
bloba63344f8e5e76b1fbe0f1108eb4caec8e580b206
1 Thu May 18 12:10:18 2000  Philippe De Muyter  <phdm@macqel.be>
3         * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
4         not `$ac_cv_prog_cc_cc_c_o'.
5         * configure: Regenerated.
7 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
8             Richard Henderson  <rth@cygnus.com>
10         * c-common.h (enum c_tree_index): Add g77 type entries.
11         (g77_integer_type_node, g77_uinteger_type_node): New.
12         (g77_longint_type_node, g77_ulongint_type_node): New.
13         * c-decl.c (init_decl_processing): Initialize them.
15 2000-05-18  Richard Henderson  <rth@cygnus.com>
17         * config/h8300/h8300.md (subs patterns): Use %G to negate.
19         * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
20         (small_power_of_two): Likewise; use exact_log2.
21         (adds_subs_operand, one_insn_adds_subs_operand): Remove.
22         (output_adds_subs): Remove.
23         (two_insn_adds_subs_operand): New.
24         (split_adds_subs): New.
25         * config/h8300/h8300-protos.h: Update.
26         * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
27         (CONST_OK_FOR_L): Match strict adds operands.
28         (CONST_OK_FOR_N): Match struct subs operands.
29         * config/h8300/h8300.md (adds_subs insns): Remove.
30         (addhi patterns): Output adds/subs directly.
31         (addsi_h8300h): Likewise.
32         (addhi/addsi splitters): New.  Decompose two_insn_adds_subs_operand.
34 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
36         * cppexp.c (parse_assertion): New.
37         (lex): Call it for CPP_HASH.  Remove CPP_ASSERTION case.
38         (_cpp_parse_expr): Remove case '#'.  Don't set
39         parsing_if_directive.
40         * cpphash.c (collect_objlike_expansion,
41         collect_funlike_expansion, collect_params,
42         _cpp_create_definition): The list no longer has a trailing
43         VSPACE token.
44         * cpphash.h (enum node_type): Add T_ASSERTION.
45         (struct hashnode): Remove aschain, add pred.
46         (struct predicate): New.
47         Update prototypes.
49         * cpplex.c (expand_token_space): Handle both offset and
50         nonoffset lists.
51         (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
52         (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
53         _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
54         _cpp_equiv_toklists): New.
55         (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
56         stop at any single-character token, not just newline.
57         (_cpp_lex_token): Remove special cases for #define and #if.
58         (cpp_get_token): Expect # as a separate token type.  Remove
59         DIRECTIVE case.
60         (_cpp_get_directive_token): Remove DIRECTIVE case.
61         (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
63         * cpplib.c (_cpp_check_directive): Set dirno and
64         SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
65         (_cpp_handle_directive): Run # <number> through the same logic
66         as normal directives.
67         (do_define): Don't set parsing_define_directive.  Use
68         _cpp_scan_until.  The list does not have a VSPACE at the end.
69         (do_if): Save, clear, and restore only_seen_white around 
70         _cpp_parse_expr.
71         (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
72         (do_assert, do_unassert): Rewrite.
74         * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
75         (LIST_OFFSET): New flag.
76         (struct cpp_toklist): Replace dir_handler and dir_flags with
77         dirno and flags.
78         (struct cpp_reader): Remove parsing_if_directive and
79         parsing_define_directive.
81 2000-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
83         * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
84         following the cabs decl which terminate on the following line.
85         Add the corresponding test_text case.
87 2000-05-18  Neil Booth  <NeilB@earthling.net>
89         * cppinit.c (cpp_reader_init): Initialise col_adjust and
90         default tab stop size.
91         (no_num, OPT_ftabstop): New.
92         (handle_option): Handle "ftabstop=" command-line option.
93         (print_help): Document it.
94         * cpplex.c (COLUMN): Remove.
95         (handle_newline): Reset col_adjust.
96         (skip_whitespace): Update col_adjust as tabs encountered.
97         (_cpp_lex_line): Update to use col_adjust.  Call
98         skip_whitespace for all whitespace.
99         * cpplib.h (struct cpp_options): New member tabstop.
100         (struct cpp_reader): New member col_adjust.
101         (CPP_BUF_COL): Update.
102         (CPP_BUF_COLUMN): New.
103         * cpp.texi: Document "-ftabstop=" command line option.
105 Wed May 17 18:19:41 2000  Philippe De Muyter  <phdm@macqel.be>
107         * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
108         files.
109         * configure: Rebuilt.
111 Wed May 17 18:06:12 2000  John David Anglin <dave@hiauly1.hia.nrc.ca>
113         * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
115         * tree.c (build_common_tree_nodes): Do not build TI nodes unless
116         HOST_BITS_PER_WIDE_INT is >= 64.
118 2000-05-17  Richard Henderson  <rth@cygnus.com>
120         * jump.c (jump_optimize_1): Remove inactive but real insns
121         in jump-to-next-insn optimization.
123 2000-05-17  Richard Henderson  <rth@cygnus.com>
125         * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
126         unless OPTIMIZE_MODE_SWITCHING.  Conditionally set no_new_pseudos.
127         Don't call recompute_reg_usage if no_new_pseudos is true.
128         * lcm.c (optimize_mode_switching): Move ifdefs outside function.
129         Return true if we did work; update global life information.
130         * basic-block.h (optimize_mode_switching): Update decl.
132 2000-05-17  Neil Booth  <neilb@earthling.net>
134         * cpplex.c (expand_name_space): Don't use ptrdiff_t.
136 2000-05-17  Zack Weinberg  <zack@wolery.cumb.org>
138         * cpplib.c: New feature, #pragma system_header.
139         * cpp.texi: Document special treatment of system headers, and
140         the various mechanisms to get a header that special treatment.
142 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
144         * system.h (offsetof): Define at the very end, to ensure we prefer
145         the platform's definition if available.
147 2000-05-16  Bruce Korb  <bkorb@gnu.org>
149         * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
150         * fixinc/server.c: likewise
151         * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
152         + #ifdef debugging code + use #def constant for
153         sub-pattern count
154         * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
155         on C++ math namespace
157 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
159         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
160         Don't check the return value of sprintf.  Use asprintf to avoid
161         buffer overflows.
163 Wed May 17 17:27:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
165         * flags.h (warn_unused_function, warn_unused_label,
166         warn_unused_parameter, warn_unused_variable, warn_unused_value):
167         Replace ``warn_unused''.
168         (set_Wunused): Add declaration.
169         * toplev.c (set_Wunused): New function.
170         (warn_unused_function, warn_unused_label, warn_unused_parameter,
171         warn_unused_variable, warn_unused_value): New variables.
172         (W_options): Add -Wunused-function, -Wunused-function,
173         -Wunused-label, -Wunused-parameter, -Wunused-variable and
174         -Wunused-value.  Delete -Wunused.  Handled in decode_W_option.
176         * toplev.c (decode_W_option): Update -Wunused flags by calling
177         set_Wunused.
178         * c-decl.c (c_decode_option): Ditto for -Wall.
180         * stmt.c (expand_expr_stmt, expand_expr_stmt,
181         warn_about_unused_variables): Replace warn_unused with more
182         explicit warn_unused_value et.al.
183         * function.c (expand_function_end): Ditto.
184         * c-typeck.c (internal_build_compound_expr,
185         internal_build_compound_expr): Ditto.
186         * c-decl.c (poplevel, pop_label_level): Ditto.
187         * toplev.c (check_global_declarations): Replace warn_unused with
188         check for either warn_unused_function or warn_unused_variable.
190         * gcc.1, invoke.texi (Warning Options): Document
191         -Wunused-function, -Wunused-function, -Wunused-label,
192         -Wunused-parameter, -Wunused-variable and -Wunused-value options.
194 Wed May 17 10:28:12 2000  Philippe De Muyter  <phdm@macqel.be>
196         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
197         $(srcdir), not in the current directory.
199 2000-05-16  Richard Henderson  <rth@cygnus.com>
201         * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
202         assembler supports it.
203         (.fini, .init): Use a gp-relative indirect call.
204         (__do_global_dtors_aux): Preserve the gp; rebundle.
205         (__do_frame_setup): Likewise.
206         * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
207         (.init): Use a gp-relative indirect call.
208         (__do_global_ctors_aux): Preserve the gp.
210 2000-05-16  Richard Henderson  <rth@cygnus.com>
212         * flow.c (commit_one_edge_insertion): Be prepared for a return
213         insn to be inserted on the edge with a normal jump.
214         * jump.c (jump_optimize_1): Don't look to create return isns.
216         * flow.c (flow_delete_insn): Don't adjust reference count of notes.
217         * jump.c (jump_optimize_1): Likewise.
218         (returnjump_p): Verify the argument is a JUMP_INSN.
219         * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
221 2000-05-16  Nick Clifton  <nickc@cygnus.com>
223         * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
224         GET_RTX_CLASS (GET_CODE ()) == 'i'.
225         (large_insn_p): Ditto.
226         (m32r_is_insn): New function: Return true if the insn contains
227         an executable instruction.
228         (m32r_adjust_insn): Use m32r_is_insn.
229         (m32r_sched_reorder): Use m32r_is_insn.
230         (m32r_sched_variable_issue): Use m32r_is_insn.
232 2000-05-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
234         * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
235         VAR_DECL.
237         * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
239         * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
240         according to given options.
242 Tue May 16 12:17:31 2000  Jeffrey A Law  (law@cygnus.com)
244         * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
245         if X has VOIDmode either.
246         (LIMIT_RELOAD_CLASS): Similarly.
248         * mn10200.md (indirect_jump, tablejump): Use "register_operand",
249         not "general_operand" to match the processor's capabilities.
251 2000-05-16  Bruce Korb  <bkorb@gnu.org>
253         * fixinc/README:  corrected return address
254         * fixinc/check.diff:  regenerate, now that test works
255         * fixinc/fixfixes.c(format_fix,format_write): reformatted
256         (char_macro_def_fix,char_macro_use_fix): corrected and
257         rewrote to use regex to parse the text
258         * fixinc/inclhack.def: more testing
259         * fixinc/fixincl.x:  regenerated
261         * fixinc/inclhack.def: added several "test_text" attributes
262         changed several fixes to use `c_fix = format'
263         re-alphabetized the fixes
265         * fixinc/check.diff: regenerate
266         * fixinc/fixincl.x: regenerate
267         * fixinc/check.tpl: added `sparc' and `netinet' to the list
268         of created dirs
271 2000-05-16  Alexandre Oliva  <aoliva@cygnus.com>
273         * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
275 2000-05-15  Richard Henderson  <rth@cygnus.com>
277         * toplev.c (rest_of_compilation): Run full jump pass before
278         find_basic_blocks of flow2.
280 2000-05-15  Richard Henderson  <rth@cygnus.com>
282         * jump.c: Fix typos and clarify commentary from last change.
283         (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
284         (safe_to_remove_jump_p): Remove.
285         (condjump_label): Use pc_set.
287 2000-05-15  Richard Henderson  <rth@cygnus.com>
289         * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
290         that get in the way after reload.
291         (cond_exec_process_if_block): Skip a label heading THEN block.
293 2000-05-15  Richard Henderson  <rth@cygnus.com>
295         * varasm.c (output_constant_pool): Abort instead of converting
296         (improperly) deleted labels to zero.
298 2000-05-16  Neil Booth  <NeilB@earthling.net>
300         * cpplex.c (parse_string2): Update comment.
301         (cpp_lex_line): No special assertion treatment for '('.
302         * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
303         * cpplib.h (SYNTAX_ASSERT): Remove.
305 Mon May 15 21:45:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
307         * jump.c (condjump_p):  Mark as depreached.
308         (any_condump_p): New.
309         (any_uncondump_p): New.
310         (pc_set): New.
311         (safe_to_remove_jump_p): New.
312         * rtl.h (any_condump_p, any_uncondjump_p, pc_set
313         safe_to_remove_jump_p): Declare.
315 Mon May 15 21:07:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
317         * calls.c: Re-install both patches reverted by last patch.
318         (struct arg_data): New field tail_call_reg.
319         (initialize_argument_information): Initialize tail_call_reg
320         (load_register_parameters): New argument flags, use
321         tail_call_reg when emiting tail call sequence.
322         (expand_call): Update call of load_register_parameters;
323         copy unadjusted_args_size to adjusted_args_size.
325 Mon May 15 19:01:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
327         * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
328         and bct_p parameters to flags.
329         * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
330         * rtl.h (loop_optimize): Update prototype.
331         * toplev.c (rest_of_compilation): Update call of loop_optimize.
333 2000-05-15  Jakub Jelinek  <jakub@redhat.com>
335         * calls.c (expand_call): Move expand_start_target_temps call after
336         start_sequence().
338 2000-05-15  Neil Booth  <NeilB@earthling.net>
340         * cpphash.c (trad_stringify, warn_trad_stringify,
341         collect_params): Make some pointers pointers to const.
342         * cpplex.c (auto_expand_name_space) Guaranteed to always
343         expand by at least one character.
344         (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
345         (struct token_spelling): Use const U_CHAR * rather than PTR.
346         (expand_name_space): Fix up token pointers if name space
347         is moved when expanding.
348         (INIT_NAME, cpp_scan_line, parse_name, parse_number,
349         parse_string2, save_comment, spell_token, cpp_output_list):
350         Update so the routines handle tokens with a direct pointer to
351         their text, rather than an offset into the token's list's namebuf.
352         (_cpp_lex_line): Rearrange for clarity.
354         * cpplib.c (_cpp_check_directive): Similarly.
355         (do_define): Make SYM a pointer to const.
356         * cpplib.h (struct cpp_name): Replace offset with direct pointer.
357         (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
358         (TOK_OFFSET): Delete.
359         (TOK_NAME): Update.
361 2000-05-14  Geoffrey Keating  <geoffk@cygnus.com>
363         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
364         64-bit ABI.
366         * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE 
367         into account.
368         (logical_u_operand): Delete.
369         (non_logical_cint_operand): Rewrite to take MODE into account.
370         (non_logical_u_cint_operand): Delete.
371         (boolean_operator): New function.
372         (print_operand): Add new %q operand.
373         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
374         remove logical_u_operand and non_logical_u_cint_operand,
375         update logical_operand and non_logical_cint_operand.
376         * config/rs6000/rs6000.md: Rewrite the patterns for performing
377         logical operations to use %q.
379         * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
380         (movdi): Make similar to movsi.
381         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
382         is no such thing as a DImode CONST_DOUBLE.
383         * config/rs6000/rs6000.c (output_toc): Likewise.
384         
385         * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
386         codes when old mnemonics are in use.  Print register names
387         for cc registers when requested.
389         * optabs.c (expand_float): Don't allow mode widening that causes
390         double rounding.
392         * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
393         flags to their current names -maix64 and -maix32.
395 2000-05-14  Bruce Korb  <bkorb@gnu.org>
397         * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
398         and/or after current text of file
399         * fixinc/fixlib.c(must_malloc):
400         * fixinc/fixlib.h(must_malloc): + reformatting
401         * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
402         with usages of ``c_fix = wrap;''
403         Add several tests and use the ``c_fix = format'' fixer more.
404         * fixinc/fixincl.x: regen
405         * fixinc/check.diff: regen
406         * fixinc/check.tpl: emit the associated header with the missing
407         test message
409 Sun May 14 17:58:59 2000  Hans-Peter Nilsson  <hp@axis.com>
411         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
412         variables $src and $dst.
413         
414 2000-05-13  Gabriel Dos Reis <gdr@codesourcery.com>
416         * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
417         (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
418         (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
419         (struct output_buffer: emitted_prefix_p, prefixing_rule): New
420         fields. 
421         (set_message_prefixing_rule): Declare.
423         * diagnostic.c: (current_prefixing_rule): New variable.
424         (set_message_prefixing_rule): Define.
425         (output_set_prefix): Adjust buffer->emitted_prefix_p.
426         (init_output_buffer): Adjust Initialization.
427         (output_emit_prefix): Rewrite.  Take prefixing rules into account.
428         
429 Sat May 13 11:05:47 2000  Philippe De Muyter  <phdm@macqel.be>
431         * ifcvt.c (if_convert): Do not free NULL.
433 2000-05-12  Nick Clifton  <nickc@cygnus.com>
435         * config/fr30/fr30.c (fr30_move_double): New function:  Emit code
436         to move a double word value.
437         (di_operand): New function: Return true if the operand is suitbale
438         for a double word move operation.
439         (nonimmediate_di_operand): New function: Return true if the
440         operand is a DImode register or MEM.
442         * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
443         nonimmediate_di_operand.
445         * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
446         nonimmediate_di_operand.
448         * config/fr30/fr30.md (movdi): New pattern.  Required because
449         other patterns generate DImode results.
450         (movdi_insn): New pattern.
452 2000-05-12  Richard Henderson  <rth@cygnus.com>
454         * config/alpha/alpha.c (struct shadow_summary): Define
455         bitfields as type unsigned int.
457 Sat May 13 00:09:59 2000  Denis Chertykov  <denisc@overta.ru>
459         * config/avr/t-avr: Added definition of FLOAT while generates
460         fp-bit.c
462         * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
463         peepholes for tst+jump = sbrs/sbrc optimization.
465 Fry May 12 20:03:00 CEST 2000  Jan Hubicka  <jh@suse.cz>
467         * expr.c (emit_push_insn): Do not adjust stack pointer when
468         preallocating.
470 Fri May 12 19:03:58 2000  Philippe De Muyter  <phdm@macqel.be>
472         * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
473         * system.h (offsetof): ... to here.
475 2000-05-12  Richard Henderson  <rth@cygnus.com>
477         * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
478         * final.c (final_end_function): Use app_disable.  Rearrange note
479         handling into a switch.  Emit deleted labels.
480         (output_asm_label): Generate label strings for deleted labels.
481         * flow.c (tail_recursion_label_list): New.
482         (find_basic_blocks_1): Set label_value_list directly.  Collect list
483         of tail recursion labels from call_placeholders.  Don't add deleted
484         labels to the label value list.
485         (cleanup_cfg): Use free_EXPR_LIST_list.
486         (flow_delete_insn_chain): Turn non-removable labels into notes.
487         (flow_delete_block): Don't disable deleting the block because of
488         a non-removable label.
489         (tail_recursion_label_p): New.
490         (merge_blocks_move_predecessor_nojumps): Don't disable the merge
491         because of a label.
492         (merge_blocks_move_successor_nojumps): Likewise.  Also move a
493         jump table.
494         (merge_blocks): Disable a merge because of tail recursion labels.
495         * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
496         Use a more accurate measure of not merging the join block.
497         (find_if_block): Don't disable conversion because of a label.
498         (find_if_case_1, find_if_case_2): Likewise.
499         * jump.c (duplicate_loop_exit_test): Preserve the kind of list
500         element when copying.
501         (squeeze_notes): Also leave EH notes.
502         (mark_jump_label): Ignore deleted labels.  Use an INSN_LIST for
503         REG_LABEL notes.
504         (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
505         deleting a label.
506         * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
507         NOTE_INSN_DELETED_LABEL.  Print `[# deleted]' for a label_ref
508         referring to a deleted label.  Convert tail handling to a switch.
509         * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
510         for NOTE_INSN_DELETED_LABEL.
511         (NOTE): Fix commentary.
512         * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
513         (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
514         (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
515         (LABEL_NUSES, LABEL_REFS): Likewise.
516         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
518 2000-05-12  Bruce Korb  <bkorb@gnu.org>
520         * fixinc/fixfixes.c(format_write): buglet & relaxed rules
521         * fixinc/check.diff: updated
522         * fixinc/inclhack.def: corrected & added some test_text-s
523         * fixinc/genfixes: removed unneeded options to autogen invocation
524         * fixinc/fixincl.tpl: Specified the output file
525         * fixinc/fixfixes.c: visual appearance
526         * fixinc/fixincl.x: regenerate
528 2000-05-12  Zack Weinberg <zack@wolery.cumb.org>
530         * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
531         CTRL_defn_fix): Delete.
532         (fix_char_macro_defines, fix_char_macro_uses): Rename to
533         char_macro_def_fix and char_macro_use_fix, respectively.  Put
534         them into the FIXUP_TABLE.  Get the string to search for from
535         a c_fix_arg.
537         (format_write): New function.
538         (format_fix): Use it.
540         (FIX_PROC_HEAD): Constify text parameter.
541         (machine_name_fix): Constify all char *s.
542         * fixtests.c (skip_quote): Remove double static.
544         * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
545         ctrl_use_quotes): Update for new scheme.
546         * fixincl.x: Regenerate.
548 2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
550         * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
551         DWARF2_DEBUG.
552         (DWARF2_ASM_LINE_DEBUG_INFO): Define.
553         (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
555 2000-05-11  Robert Lipe <robertlipe@usa.net>
557         * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
558         * fixincl.x: Regenerate.
560 2000-05-11  Richard Henderson  <rth@cygnus.com>
562         * calls.c: Revert both 05-09 patches.
564 2000-05-11  Alexandre Oliva  <aoliva@cygnus.com>
566         * config/mn10300/mn10300.c (print_operand): Print FP constants in
567         hexadecimal.
568         * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
569         for FP values.
571         * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
572         and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
574 2000-05-11  Jason Merrill  <jason@casey.cygnus.com>
576         * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
578 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
580         * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
582 Thu May 11 22:28:05 2000  Denis Chertykov  <denisc@overta.ru>
584         * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
585         * config/avr/avr.c (jump_over_one_insn_p): New function.
586         * config/avr/avr.md: New peepholes added. Output test and
587         conditional jump to "sbrc" or "sbrs" command.
589 2000-05-11  Mark Elbrecht  <snowball3@bigfoot.com>
591         * cppmain.c (main): Use IS_DIR_SEPARATOR.
593 2000-05-11  Jakub Jelinek  <jakub@redhat.com>
595         * except.c (find_exception_handler_labels_1): New function.
596         (find_exception_handler_labels): Split into two functions, dive
597         into CALL_PLACEHOLDERs when looking for exception handler labels.
599 2000-05-11 Stan Cox <scox@cygnus.com>
601         * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
602         * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
603         * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
605 2000-05-11  Bruce Korb  <bkorb@gnu.org>
607         * fixinc/fixfixes.c (double_slash_fix):  obsolete
608         (else_endif_label_fix): obsolete
609         (format_fix):  new, unused as yet
610         (main): obsolete
611         * fixinc/fixlib.h: added fix description struct for use by format_fix
612         * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
613         * fixinc/Makefile.in:  compile fixfixes.c and fixtests.c as separate
614         modules.  Removed the vestiges of the script version.
615         Added support for "make check".
616         * fixinc/check.diff: base diff file (needs work!!)
617         * fixinc/check.tpl: quiet the fixup output
618         * fixinc/fixtests.c (main): obsolete
619         * fixinc/fixincl.sh:  don't bother copying fixincl to ..
620         * fixinc/fixincl.tpl:  provide for arguments to c_fix routines
622 Thu May 11 11:57:02 MET DST 2000  Jan Hubicka <jh@suse.cz>
624         * toplev.c (rest_of_compilation): Remove dead code after
625         combine.
627 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
629         * cpphash.c (collect_funlike_expansion): Make "# is not
630         followed by a macro argument name" a pedwarn, not an error.
631         Preserve the # in the output.  Suppress the warning if lang_asm.
633 Thu May 11 01:19:31 2000  Jeffrey A Law  (law@cygnus.com)
635         * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
636         * configure: Rebuilt.
638 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
640         * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
642 2000-05-10  Kazu Hirata  <kazu@hxi.com>
644         * combine.c (try_combine): Fix a typo.
646 Wed May 10 21:31:44 2000  Jim Wilson  <wilson@cygnus.com>
648         * config/ia64/ia64.md (insv): Add comment.
650 2000-05-10  Richard Henderson  <rth@cygnus.com>
652         * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
653         * mklibgcc.in: Rewrite to not use functions.  Don't shortcut
654         dependancies on FPBIT and DPBIT.
656 2000-05-10  Nick Clifton  <nickc@redhat.com>
658         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
659         when optimising for size.
660         (mark_used_regs:) Ditto.
661         (try_pre_increment_1): Ditto.
663 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
665         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
666         Make error message friendlier.
668         * cpphash.h (struct hashnode): Use struct hack for name
669         member.
670         * cpphash.c (struct hashdummy): New.
671         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
672         (make_HASHNODE): No need to set ->name pointer.  Correct
673         setting of p.
674         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
676 2000-05-10  Richard Henderson  <rth@cygnus.com>
678         * flow.c (find_basic_blocks_1): Remove any spare bb_note
679         after completion.
681 2000-05-10  Bruce Korb  <bkorb@gnu.org>
683         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
685 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
687         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
688         after we enter .debug.
690 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
692         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
693         abstract instance of a nested inline function.
695         * stor-layout.c (finish_record_layout): finalize_type_size
696         before laying out the pending_statics.
698 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
700         * cpplex.c (spell_token): New function.
701         (spell_string, spell_comment, spell_name): fold into
702         spell_token.    
703         (I, S): Add macros.
704         (E, H): Remove macros.
705         (save_comment): Save comment opening characters too.
706         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
707         handling.
708         * cpplib.h (I, S): Add macros.
709         (E, H): Remove macros.
710         (TTYPE_TABLE): Update entries for new speller.
711         (SYNTAX_ASSERT): Remove.
713 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
715         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
716         when removing escaped newlines.  Reverse sense of test for
717         escaped newline.
719 2000-05-09  Richard Henderson  <rth@cygnus.com>
721         * flow.c (find_basic_blocks_1): Do not delete the first
722         bb_note we run across.
723         (create_basic_block): Use reorder_insns to move an existing
724         bb_note to the correct place.
726 2000-05-09  Richard Henderson  <rth@cygnus.com>
728         * calls.c (expand_call): Increment currently_expanding_call
729         before calling optimize_tail_recursion.
731 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
733         * reload1.c (reload_combine): Fix errors in last change.
735 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
737         * gcc.c (used_arg): Skip over a semicolon at the end of the
738         split-up loop; don't break out of it.
740         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
741         (tree.o): Depend on output.h.
743         * c-decl.c (pending_invalid_xref_file,
744         current_function_prototype_file): Constify.
745         (pushdecl): Constify a local char *.
746         (define_label): Constify filename parameter.
747         * c-lex.c (init_parse): Constify parameter and return value.
748         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
749         * c-tree.h: Update prototypes.
750         * c-parse.in: Constify filename member of %union, and if_stmt_file.
751         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
752         objc/objc-parse.c: Regenerate.
754         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
755         * dwarfout.h: Update prototypes.
756         * expr.c (expand_expr): Constify a local char *.
757         * flags.h: Constify main_input_filename.
758         * function.c (expand_function_end): Constify filename parameter.
759         * genrecog.c (make_insn_sequence): Use a character array for
760         c_test_pos.
761         (main): Remove unused variables.
762         * input.h: Constify input_filename, main_input_filename, and
763         file_stack.name.  Update prototypes.
764         * output.h: Declare first_global_object_name and
765         weak_global_object_name here, as const char *.
766         * stmt.c (expand_asm_operands): Constify filename parameter.
767         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
768         Constify filename parameter.
769         (input_filename, main_input_filename): Constify.
770         * toplev.h: Update prototypes.
771         * tree.c: Include output.h.  Don't declare
772         first_global_object_name or weak_global_object_name.  Clean up string
773         bashing in get_file_function_name_long.
774         * tree.h (struct tree_decl): Constify filename member.
775         (input_filename): Constify.
776         Update prototypes.
777         * varasm.c (first_global_object_name, weak_global_object_name):
778         Constify.
779         (assemble_start_function, assemble_variable): Clean up string bashing.
781         * gcc.c: Constify all spec-related strings initialized,
782         transitively, from string constants.  Constify all strings
783         and string variables related to multilibs.
784         (set_spec, read_specs): Cast argument to free to PTR.
785         (used_arg): Do not modify multilib_matches.  Use strncmp plus
786         length comparison to compare multilib switches.
787         * genmultilib: Constify everything declared in multilib.h.
789 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
791         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
792         as deleted.
794 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
796         * config/avr/avr-protos.h (extra_constraint): change a type of
797         second argument from char to int to avoid warnings.
798         (asm_output_byte): Likewise.
799         
800         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
801         (initial_elimination_offset): Handle elimination from
802         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
803         (legitimate_address_p): Use MAX_LD_OFFSET.
804         (legitimize_address): Likewise.
805         (out_movqi_r_mr): Likewise.
806         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
807         (out_movsi_r_mr): Use MAX_LD_OFFSET.
808         (out_movsi_mr_r): Likewise.
809         (out_movqi_mr_r): Likewise.
810         (out_movhi_mr_r): Likewise.
811         (notice_update_cc): Correct CC for the ashrqi3 with the shift
812         count as CONST_INT != 6.
813         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
814         shift count is a CONSTANT_P, but not a CONST_INT.
815         (ashlhi3_out): Coding style modifications.
816         (ashlsi3_out): Likewise.
817         (ashrhi3_out): Likewise.
818         (ashrsi3_out): Likewise.
819         (lshrhi3_out): Likewise.
820         (lshrsi3_out): Likewise.
821         (ashrqi3_out): Generate shift for any known constant count without
822         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
823         but not a CONST_INT.
824         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
825         shift count is a CONSTANT_P, but not a CONST_INT. 
826         (extra_constraint): change a type of
827         second argument from char to int to avoid warnings.
828         (asm_output_byte): Likewise.
829         (asm_file_end): Output size generated commands count as a hex
830         number too.
832         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
834         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
835         removed.
836         (ashlqi3): Values of "length" attribute changed. Shift count
837         uses constraints 'n' instead of 'i'.
838         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
839         shifts without clobber register.
840         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
841         (call_insn): Correct test for which_alternative == 1 (was 0).
842         (call_value_insn): Likewise.
843         
844         * config/avr/t-avr: Remove definition of FLOAT while generates
845         fp-bit.c
847 2000-05-09  Bruce Korb  <bkorb@gnu.org>
849         * fixinc/check.tpl:  Template for checking fixes
850         * fixinc/inclhack.def:  Added 'test_text' for many fixes
851         disable hpux8_bogus_inlines on SCO
852         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
854 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
856         * calls.c (expand_call): Reorganize somewhat in order
857         to avoid unnecesary recalculation inside loop and make
858         tail call failure code cleaner.
859         
860 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
862         * alias.c (nonlocal_reference_p): Minor reformatting.
863         * reload.c (find_equiv_reg): Simplify logic for
864         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
865         some some reformatting.
866         * reload1.c (reload_combine): Don't assume everything in
867         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
869 2000-05-08  Richard Henderson  <rth@cygnus.com>
871         * final.c (current_insn_predicate): New.
872         (final_scan_insn): Set it.
873         * output.h (current_insn_predicate): Declare.
875         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
876         Attach it to call insns.
877         (cond_exec_process_if_block): Track probability for true and
878         false branches.
879         (dead_or_predicable): Likewise.
881         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
882         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
883         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
884         (estimate_probability, expected_value_to_br_prob): Use them.
886         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
887         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
888         (ia64_expand_prediction): New.
889         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
890         as needed after calls.
891         (ia64_epilogue_uses): Mark b0 used.
892         * config/ia64/ia64.md (beq_true, beq_false): Remove.
893         (bne_true, bne_false): Remove.
894         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
895         (br_true, br_false): New.  Use predicate_operator and
896         ia64_expand_prediction.
897         (return_true, return_false): Likewise.
898         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
899         (call_internal1, call_value_internal): Likewise.
900         (call_value_internal1, call_multiple_values_internal1): Likewise.
902         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
904         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
906 2000-05-08  Richard Henderson  <rth@cygnus.com>
908         * rtlanal.c (may_trap_p): Consider old-style and volatile
909         asms to trap.
911 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
913         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
915 2000-05-08  Richard Henderson  <rth@cygnus.com>
917         * config/ia64/ia64.h (predicate_operator): Declare.
919         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
920         of existance.
922         * gensupport.c (process_rtx): Copy and post-process each member
923         of the define_insn rtvec individually.
925 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
927         * cpplex.c (spell_token): New function.
928         (TOKEN_LEN): Add 1 for whitespace.
929         (_cpp_lex_file): Update to use spell_token.
930         * cpplib.h (E): Remove.
931         (TTYPE_TABLE): Update CPP_VSPACE entry.
933 2000-05-08  Richard Henderson  <rth@cygnus.com>
935         * flow.c (init_propagate_block_info): Watch out for conditional
936         branch to next instruction, and thus one outgoing edge.
938         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
939         for global register variables; don't special case __[CD]TOR_LIST__;
940         mind ggc_p for string allocation.
942 2000-05-08  Nick Clifton  <nickc@cygnus.com>
944         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
946 2000-05-08  Bruce Korb  <bkorb@gnu.org>
948         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
949         i?86-*-msdosdjgpp* no longer uses fixincludes
950         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
951         * fixinc/inclhack.sh:  deleted
952         * fixinc/hackshell.tpl:  deleted
953         * fixinc/inclhack.tpl:  deleted
954         * fixinc/Makefile.in:  Remove dependencies on above
955         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
957 2000-05-08  Andreas Jaeger  <aj@suse.de>
959         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
960         support.
962 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
964         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
965         substitutions.
967 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
969         * cpplex.c: Move new lexer definitions and prototypes
970         to top.  Conditional include these and the code if
971         NEW_LEXER is defined.  Rename functions whose names
972         clash if this code included.
974 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
976         * rtl.def (COND_EXEC): Clarify.
978         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
979         same fashion as zero_extendsidi2.
981 2000-05-06  Richard Henderson  <rth@cygnus.com>
983         * config/ia64/ia64.c (predicate_operator): New.
984         (ia64_print_operand): Handle 'J'.
985         (rtx_needs_barrier): Handle COND_EXEC.
986         * config/ia64/ia64.h (BRANCH_COST): Define.
987         (PREDICATE_CODES): Update.
988         * config/ia64/ia64.md: Docuement used unspec values.
989         (attr predicable): New.
990         (movxf, movxf_internal): New.
991         (extendsfdf2): Don't comment out nop.
992         (floatdidf2): Remove.
993         (truncxfsf2, truncxfdf2, floatdixf2): New.
994         (abssi2, absdi2): Put the neg in the "true" slot.
995         (conditional branch instructions): Mark not predicable.
996         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
997         (abs*_internal): Likewise.
998         (alloc, set_bsp): Mark not predicable.
999         (barrier, insn_group_barrier, flush_cache): Likewise.
1000         (define_cond_exec): New.
1002 2000-05-06  Richard Henderson  <rth@cygnus.com>
1004         * c-decl.c: Include "tm_p.h".
1006         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
1007         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
1008         (ia64_expand_op_and_fetch): Declare.
1009         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
1010         (setjmp_operand): Constify variables for XSTR.
1011         (ia64_encode_section_info): Likewise.
1012         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
1013         values to int.
1014         (ia64_asm_output_external): Constify name.
1015         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
1016         (process_for_unwind_directive): Provide switch default.
1017         (ia64_expand_compare_and_swap): Remove unused variables.
1018         (ia64_expand_builtin): Likewise.
1019         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
1020         for printing.
1022         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
1023         (symbolic_operand, function_operand, setjmp_operand): Likewise.
1024         (shift_count_operand, shift_32bit_count_operand): Likewise.
1025         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
1026         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
1027         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
1028         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
1029         (ia64_expand_builtin): Likewise.
1030         (call_multiple_values_operation): Make dest_regno unsigned.
1032 2000-05-06  Richard Henderson  <rth@cygnus.com>
1034         * rtl.def (DEFINE_COND_EXEC): New.
1035         * md.texi: Document it.
1037         * gensupport.c (input_file): Remove.
1038         (struct queue_elem): Add lineno.
1039         (rtx_ready_queue): Remove.
1040         (errors): New.
1041         (predicable_default): New.
1042         (predicable_true, predicable_false): New.
1043         (define_attr_queue, define_attr_tail): New.
1044         (define_insn_queue, define_insn_tail): New.
1045         (define_cond_exec_queue, define_cond_exec_tail): New.
1046         (other_queue, other_tail): New.
1047         (queue_pattern): New.
1048         (process_rtx): Add patterns to the appropriate queues.
1049         (is_predicable, identify_predicable_attribute): New.
1050         (n_alternatives, collect_insn_data): New.
1051         (alter_predicate_for_insn, alter_test_for_insn): New.
1052         (shift_output_template, alter_output_for_insn): New.
1053         (process_one_cond_exec, process_define_cond_exec): New.
1054         (init_md_reader): Read the entire file.  Process define_cond_exec.
1055         (read_md_rtx): Return elements from the queues.
1057 2000-05-06  Richard Henderson  <rth@cygnus.com>
1059         * flow.c (mark_set_1): Don't update conditional life info
1060         if the register is not_dead.
1062 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
1064         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
1065         (mostlyclean): Also delete fixincl, fixinc.sh, and
1066         specs.ready, and make clean in the fixinc subdir.
1068 2000-05-06  Richard Henderson  <rth@cygnus.com>
1070         * Makefile.in (gensupport.o): Compile for the host.
1071         (host-prefix gensuuprt.o): Remove.
1072         (genflags.o): Depend on gensupport.h and OBSTACK_H.
1073         (genattrtab.o): Likewise.
1074         (gencodes.o): Depend on gensupport.h.
1075         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
1076         (genpeep.o, genattr.o, genoutput.o): Likewise.
1078         * gensupport.c (obstack, rtl_obstack): New.
1079         (init_md_reader): Initialize rtl_obstack.
1080         * gensupport.h (rtl_obstack): Declare.
1081         (message_with_line): Declare.
1083         * genattr.c: Remove all traces of obstack manipulation.
1084         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
1085         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
1087         * genattrtab.c (obstack, rtl_obstack): Remove.
1088         (main): Don't init rtl_obstack.
1089         * genflags.c: Likewise.
1091         * genrecog.c (message_with_line): Move ...
1092         * gensupport.c: ... here.
1094 2000-05-06  Richard Henderson  <rth@cygnus.com>
1096         * c-typeck.c (build_c_cast): Remove dead code.
1098 2000-05-06  Richard Henderson  <rth@cygnus.com>
1100         * flow.c (split_edge): Don't allocate global_live_at_start for
1101         the new block unless the old blocks had them as well.
1103         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
1105         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
1106         test_bb if a or b uses x.
1108 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
1110         * cpphash.h: Remove conditional #define of __extension__.
1111         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
1112         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
1113         (ENABLE_RTL_CHECKING only).
1114         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
1115         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
1116         (ENABLE_TREE_CHECKING only).
1117         * varray.h: Add __extension__ to VARRAY_CHECK macro
1118         (ENABLE_CHECKING only).
1120 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
1122         Use new tail-calling mechanism on ARM.
1123         * arm.md (sibcall, sibcall_value): New expands.
1124         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
1125         (tailcalling peepholes): Delete.
1126         (push_multi): Simplify.
1127         * arm.c (lr_save_eliminated): Delete definition.
1128         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
1129         (output_return_instruction): Remove checks on lr_save_eliminated.
1130         (output_arm_prologue): Remove old tail-calling code.
1131         (arm_output_epilogue): New parameter, really_return.  All callers
1132         changed.  Handle tail-calling epilogues.
1133         * arm.h (lr_save_eliminated): Delete declaration.
1134         (frame_pointer_needed): Delete declaration.
1135         * arm-protos.h (arm_output_epilogue): Adjust prototype.
1137         * arm.md (is_thumb): Examine symbol thumb_code, not expression
1138         TARGET_ARM.
1139         * arm.c (thumb_code): Define it.
1140         (arm_override_options): Set it.
1141         * arm.h (thumb_code): Declare it.
1142         
1143 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
1145         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
1147 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
1149         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
1150         bogus clobber to insns.
1151         (load_multiple_operation, store_mulitple_operation): Don't check 
1152         for it.
1153         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
1155         * arm.md (and_scc, ior_scc): Add missing mode.
1157         * arm.md (call_value_symbol): Remove predicate from op2.
1159         * arm.h (SPECIAL_MODE_PREDICATES): Define.
1160         
1161 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1163         * expr.c (get_subtarget): New function.
1164         (force_operand, expand_expr, do_store_flag): Use it.
1166         * toplev.c (compile_file): Don't take strlen of NAME if null.
1168 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
1170         * xcoffout.c (xcoff_current_include_file,
1171         xcoff_current_function_file, xcoff_lastfile): Constify char *.
1172         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
1173         char *'.
1174         (xcoffout_declare_function): Make name 'const char *'.
1175         (xcoffout_end_epilogue): Make fname 'const char *'
1176         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
1177         xcoffout_declare_function, xcoffout_source_line): Match above.
1179         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
1180         -maix64 is error.
1181         * rs6000.c (print_operand): Fix lossage typo.
1182         (output_cbranch): Remove "cr" decoration for now.
1183         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'. 
1185 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
1187         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
1188         constant count.
1190 2000-05-05  Bruce Korb  <bkorb@gnu.org>
1192         * fixinc/genfixes: Improve the matching for make target names
1194 2000-05-05  Catherine Moore  <clm@cygnus.com>
1196         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
1197         attribute to the decl.
1198         * c-decl.c (pushdecl): Propagate the USED attribute to the 
1199         type copy.
1201 2000-05-05  Richard Henderson  <rth@cygnus.com>
1203         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
1204         same way emit_group_load does.
1206 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
1208         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
1210         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
1211         (main): Likewise.
1213 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
1215         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
1217 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
1219         * config/openbsd.h (LINK_SPEC): pass correct flags to ld 
1220         to support -shared, on platforms with dynamic libraries.
1222 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
1224         * system.h (S_ISBLK): Provide fallback definition.
1226 2000-05-05  Geoff Berry  <geoffb@bops.com>
1228         * extend.texi (Extended Asm): Document inability to give asm
1229         statements access to condition codes.
1231 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
1233         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
1234         as arg 2 of UNIQUE_SECTION.
1236 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
1238         * predict.c: Remove May 4 change.
1239         * bb-reorder.c (make_reorder_chain): Do not perform block movement
1240         if we have predicted the branch at 50-50 probability.
1242 2000-05-05  Richard Henderson  <rth@cygnus.com>
1244         * flow.c (init_propagate_block_info): Fix merge error
1245         in HAVE_conditional_execution code.
1247 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
1249         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
1250         shift cycle for unknown shift count. Also generates dec + brpl.
1251         (ashlqi3_out): Don't generate dec + brpl which now generates by
1252         `out_shift_with_cnt'.
1253         (ashlhi3_out): Likewise.
1254         (ashlsi3_out): Likewise.
1255         (ashrqi3_out): Likewise.
1256         (ashrhi3_out): Likewise.
1257         (ashrsi3_out): Likewise.
1258         (lshrqi3_out): Likewise.
1259         (lshrhi3_out): Likewise.
1260         (lshrsi3_out): Likewise.
1262 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
1264         * gcc.c (free_split_directories): Correct typo in explanation
1265         of make_relative_prefix.
1267 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
1269         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
1270         comparison codes to branch_comparison_operator.
1272 2000-05-04  Richard Henderson  <rth@cygnus.com>
1274         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
1276 2000-05-04  Richard Henderson  <rth@cygnus.com>
1278         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
1279         (DPBIT_FUNCS): Remove _sf_to_usi.
1280         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
1282         * ifcvt.c (noce_process_if_block): Fail if A or B modified
1283         between condition and jump.
1285         * libgcc2.c (near eh_context_specific): Comment #endif string.
1286         * longlong.h: Don't use strings with embedded newlines.
1288 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
1290         * config/rs6000/rs6000-protos.h: Add output_cbranch.
1291         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
1292         (print_operand): Delete %t and %T codes.
1293         (output_cbranch): New function.  Support branch prediction.
1294         * config/rs6000/rs6000.md: Use output_cbranch for
1295         conditional branches and returns.
1297 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
1299         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
1300         * stor-layout.c (place_field): Likewise.
1301         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
1302         * expr.c (store_expr): Make align unsigned.
1303         * explow.c (plus_constant_wide): Make low words unsigned.
1304         * expmed.c (choose_multiplier): Likewise.
1305         * fold-const.c (fold):  Likewise.
1306         * tree.h (build_int_2): Likewise.
1307         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
1308         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
1309         (init_emit): Change cast to unsigned char*.
1310         * varasm.c (compare_constant_1): Add cast to char*.
1311         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
1312         * reload1.c (reload): Likewise.
1314         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
1316 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
1318         * predict.c (estimate_probability): If no prediction was found, then
1319         predict the successor that is the next physical block (if such a
1320         successor exists).
1322 2000-05-04  Richard Henderson  <rth@cygnus.com>
1324         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
1326 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1328         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
1330 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
1332         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move 
1333         attribute macros from here ...
1334         (CPP_SPEC): to here.
1335         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
1336         (CPP_SPEC): Likewise.
1337         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros. 
1339         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
1340         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
1342 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1344         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
1345         
1346         * diagnostic (vbuild_message_string, build_message_string,
1347         build_location_prefix, output_get_prefix, init_output_buffer,
1348         output_notice, vline_wrapper_message_with_location,
1349         v_message_with_decl, default_print_error_function): De-constify.
1350         (set_real_maximum_length): Prototype.
1352         * diagnostic.h (struct output_buffer, init_output_buffer,
1353         output_get_prefix, output_set_prefix): De-constify.
1355         * function.c (init_function_start): Constify.
1357         * gensupport.c (remove_constraints, process_rtx): Prototype.
1359         * gthr-posix.h: Indent uses of #pragma.
1361         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
1362         Prototype.
1364         * predict.c (find_expected_value): Delete prototype.
1365         (expected_value_to_br_prob): Initialize variable `ev_reg'.
1367         * sbitmap.h (debug_sbitmap): Prototype.
1369         * ssa.c (compute_coalesced_reg_partition): Prototype.
1371         * stor-layout.c (debug_rli): Prototype.
1373         * tree.h (round_down): Prototype.
1374         (init_function_start): Constify.
1376 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
1378         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
1379         (overly conservative).  Change extern inline wrappers to
1380         static inline, define them always, use PARAMS properly.
1381         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
1382         whitespace warnings for \f and \v at the beginning of a line.
1384 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
1386         * haifa-sched.c (schedule_insns): Free the flow edge list when it
1387         is no longer needed
1389 2000-05-04  Bruce Korb  <bkorb@gnu.org>
1391         * fixincl/inclhack.def: added broken_cabs -
1392         Remove `extern double cabs' declarations from math.h
1393         * fixincl/inclhack.sh: regen
1394         * fixincl/fixincl.x: regen
1395         * fixincl/fixincl.c: Remove BOGOSITY code
1396         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
1398 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1400         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
1401         MEM_ALIAS_SET.
1402         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
1403         when calling MEM_COPY_ATTRIBUTES.
1404         * emit-rtl.c (operand_subword, change_address): Likewise.
1405         * explow.c (stabilize): Likewise.
1406         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
1407         * integrate.c (copy_rtx_and_substitute): Likewise.
1408         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
1409         when calling MEM_COPY_ATTRIBUTES.
1410         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
1411         Likewise.
1412         * cse.c (gen_lowpart_if_possible): Likewise.
1413         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
1414         * optabs.c (gen_move_insn): Likewise.
1415         * recog.c (validate_replace_rtx_1): Likewise.
1416         * simplify-rtx.c (add_mem_for_addr): Likewise.
1417         * stmt.c (expand_anon_union_decl): Likewise.
1418         * config/arm/arm.md: Likewise.
1419         * config/h8300/h7300.c (fix_bit_operand): Likewise.
1420         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
1421         (block_move_no_loop, block_move_sequence): Likewise.
1422         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
1423         * config/alpha/alpha.c (get_aligned_mem): Likewise.
1424         Clear MEM_ALIAS_SET.
1425         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
1426         MEM_COPY_ATTRIBUTES.
1428 2000-05-03  Robert Lipe <robertlipe@usa.net>
1429         
1430         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
1431         to suppress libgcc1.
1432         (i[34567]86-*-sco3.2v5*) Likewise.
1433         (i[34567]86-*-sco3.2v4*) Likewise.
1434         (i[34567]86-*-sco) Likewise.
1435         (i[34567]86-*-solaris2) Likewise.
1436         (i[34567]86-*-sysv5*) Likewise.
1437         (i[34567]86-*-sysv4*) Likewise.
1438         (i[34567]86-*-udk*) Likewise.
1439         (i[34567]86-*-sysv*) Likewise.
1441 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
1443         * cpphash.h (U): New define, to correct type of string constants.
1444         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
1445         routines, to do casts when passing unsigned strings to libc.
1446         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
1448         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
1449         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
1450         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
1451         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
1452         second argument an U_CHAR *.
1454         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
1455         length field, clean up initializer.
1456         (ISTABLE): Add __extension__ to designated-
1457         initializers version.
1458         * cpplex.c (CHARTAB): Likewise.
1460         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
1461         case so the file won't be empty.
1463 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
1465         * bb-reorder.c (struct reorder_block_def): Member succ removed.
1466         (REORDER_BLOCK_SUCC): Removed.
1467         (enum reorder_skip_type): Removed.
1468         (skip_insns_between_block): Renamed to skip_insns_after_block.
1469         Removed second argument. Removed dead code and cleaned up.
1470         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
1471         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
1472         second parameter to skip_insns_after_block.
1474 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1476         * tree.c (staticp, case LABEL_DECL): New case.
1478 2000-05-03  Richard Henderson  <rth@cygnus.com>
1480         * Makefile.in (start.encap): Do not depend on LIBGCC1.
1482         * mklibgcc1.in: Fix typo last change.
1484 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1486         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
1487         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
1488         (GCC_CFLAGS): Use it.
1489         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
1490         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
1491         objc/Make-lang.in: Use it.
1493 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
1495         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
1497 2000-05-03  Richard Henderson  <rth@cygnus.com>
1499         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
1500         LIBGCC1 empty with libgcc1.null.
1502 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
1504         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
1505         change.
1507 2000-05-03  Greg McGary  <gkm@gnu.org>
1509         * tree.h (tree_common): Add bounded_flag member.  Remove
1510         inaccurate comment about number of remaining bits.
1511         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
1512         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
1513         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
1514         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
1515         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
1516         (TYPE_QUAL_BOUNDED): New constant.
1517         (TYPE_QUALS): Handle bounded qualifier.
1518         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
1519         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
1520         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
1521         TYPE_AMBIENT_BOUNDEDNESS): New macros.
1522         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
1523         (tree_type): Add pointer_depth member.  Remove
1524         inaccurate comment about number of remaining bits.
1525         (DECL_POINTER_DEPTH): Add macro.
1526         (tree_decl): Add pointer_depth member.
1528 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
1530         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
1531         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
1532         (lshrhi3_out): Likewise.
1533         (ashrsi3_out): bugfix in shift by 8.
1534         (test_hard_reg_class): New function.
1535         * config/avr/avr.md: Bugfix inside conditions in peepholes.
1536         (ashlhi3): removed define_expand of this pattern.
1537         (*ashlhi3_insn): renamed to ashlhi3.
1538         (ashlsi3): removed define_expand of this pattern.
1539         (*ashlsi3_insn): renamed to ashlsi3.
1540         (ashrqi3): removed define_expand of this pattern.
1541         (*ashrqi3_insn): renamed to ashrqi3.
1542         (ashrhi3): removed define_expand of this pattern.
1543         (*ashrhi3_insn): renamed to ashrhi3.
1544         (ashrsi3): removed define_expand of this pattern.
1545         (*ashrsi3_insn): renamed to ashrsi3.
1546         (lshrhi3): removed define_expand of this pattern.
1547         (*lshrhi3_insn): renamed to lshrhi3.
1548         (lshrsi3): removed define_expand of this pattern.
1549         (*lshrsi3_insn): renamed to lshrsi3.
1551 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
1553         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
1554         inclusion of "system.h".
1556 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
1558         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
1559         TREE_ASM_WRITTEN.
1561 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
1563         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
1564         if -mauto-pic is on.
1565         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
1566         -mconstant-gp is in effect and function-descriptors are being used
1567         to make indirect calls.
1568         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
1569         (MASK_AUTO_PIC): Ditto.
1570         (TARGET_CONST_GP): Ditto.
1571         (TARGET_AUTO_PIC): Ditto.
1572         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
1573         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
1574         -mno-pic is in effect.
1575         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
1576         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
1577         -mauto-pic is in effect.
1578         (gprel64_offset): New pattern.
1579         (load_gprel64): Ditto.
1580         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
1581         -mconstant-gp is in effect, no need to preserve gp around direct
1582         calls.
1583         (call_value): Ditto.
1584         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
1585         (FUNCTION_PROFILER): Define.
1586         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
1587         @fptr() directive when -mno-pic or -mauto-pic is in effect.
1588         (ASM_OUTPUT_DESTRUCTOR): Ditto.
1590 2000-05-03  Richard Henderson  <rth@cygnus.com>
1592         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
1593         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
1594         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
1595         (mklibgcc, libgcc.mk): New targets.
1596         (libgcc.a): Use libgcc.mk.
1597         (stmp-multilib): Likewise.
1598         (stmp-multilib-sub): Remove.
1599         (mostlyclean): Don't delete libgcc2 temp files.
1600         * configure.in (AC_PROG_CC_C_O): Add.
1601         (NO_MINUS_C_MINUS_O): Substitute it.
1602         (all_outputs): Add mklibgcc.
1603         * mklibgcc.in: New file.
1605 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1607         * cppexp.c (op_t): Make an int.
1609         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
1611         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
1613         * gensupport.c (process_rtx): Fix macros used.
1615 2000-05-03  Richard Henderson  <rth@cygnus.com>
1617         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
1618         call-clobbered registers of a call.
1620 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
1622         * gensupport.c: New file.
1623         * gensupport.h: New file.
1624         * Makefile.in (HOST_RTL): Depend on gensupport.
1625         (gensupport.o) New rule.
1626         * genattr.c: Use gensupport for reading .md files.
1627         * genattrtab.c: Ditto. 
1628         * gencodes.c: Ditto. 
1629         * genconfig.c: Ditto. 
1630         * genemit.c: Ditto. 
1631         * genextract.c: Ditto. 
1632         * genflags.c: Ditto. 
1633         * genopinit.c: Ditto. 
1634         * genoutput.c: Ditto. 
1635         * genpeep.c: Ditto. 
1636         * genrecog.c: Ditto.
1637         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
1638         * md.texi (Insn Splitting): Document define_insn_and_split.
1640 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
1642         * flow.c (verify_flow_info): Added two more sanity checks. The
1643         first checks that the blocks are numbered consecutively. The second
1644         checks that n_basic_blocks is actually equal to the number of
1645         basic blocks in the insn chain.
1647 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
1649         * cpplib.h: Add accessor macros for token lists.
1650         * cpplib.c, cpphash.c, cpplex.c: Use them.
1652 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1654         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
1655         memory usage if not in a function.
1656         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
1657         return address if static.
1659 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1661         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
1662         whether address may trap.
1664 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
1666         * bb-reorder (chain_reorder_blocks): Changed code to test for
1667         EDGE_FALLTHRU rather than making erroneous assumption that the
1668         first outgoing edge is the fall-through edge.
1670 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
1672         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new 
1673         ABI for varargs, across all MIPS. This is incompatible because the
1674         va_list (__builtin_va_list) structure is different, so a compilation
1675         unit passing a va_list and a compilation unit being passed one, should
1676         both be compiled with the same ABI. (The old structure had two 
1677         pointers, now it has three.)
1679 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
1681         * bb-reorder.c (struct reorder_block_def): Remove members end,
1682         block_begin, and block_end.
1683         (REORDER_BLOCK_OLD_END): Delete.
1684         (REORDER_BLOCK_BEGIN): Delete.
1685         (REORDER_BLOCK_END): Delete.
1686         (chain_reorder_blocks): Remove dead code.
1688 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
1690         * bb-reorder.c (remove_scope_notes): Check for both types of scope
1691         notes as the end of a basic block before deleting.
1693 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
1695         * final.c (final_start_function): Fix spelling of "necessary".
1697 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
1699         * toplev.c (debug_ignore_block): Return int.
1700         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
1701         * toplev.h, dwarf2out.h: Adjust.
1702         * emit-rtl.c (remove_unnecessary_notes): Test return value.
1704         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
1705         * toplev.c, final.c, rtl.h: Adjust.
1707 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1709         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
1710         * configure.in: Look for makeinfo in the unified tree, then
1711         for a system makeinfo which is sufficiently new.
1712         * Makefile.in: If configure says makeinfo is too old, don't
1713         build or install Info documentation.
1715 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1717         * cpphash.c (collect_params): Fix off-by-one error.
1718         (dump_hash_helper): Dump all four macro nodetypes.
1720 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
1722         * cpphash.c (trad_stringify): Adjust p after stringification as
1723         well.
1725 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1727         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
1728         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
1730         * cppfiles.c (file_cleanup): Delete.
1731         * cpphash.c (macro_cleanup): Delete.
1732         (collect_objlike_expansion, collect_funlike_expansion,
1733         macarg, scan_arguments): Remove CPP_POP case.
1735         * cpplex.c (null_cleanup): Delete.
1736         (cpp_pop_buffer): Do the work that was done in the cleanups
1737         here.  Call _cpp_unwind_if_stack from here.
1738         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
1739         cpp_scan_buffer): Run until we see CPP_EOF and the top of
1740         stack is the buffer _below_ the one we stacked.
1741         (cpp_get_token): Always pop an exhausted buffer.  Return
1742         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
1743         * cpplib.c (skip_if_group): Don't call cpp_get_token to
1744         increment the line number.
1745         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
1747         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
1748         we see CPP_EOF and the top of stack is the buffer _below_ the
1749         one we stacked.
1750         * scan-decls.c: Likewise.
1752 2000-05-02  Andrew Haley  <aph@cygnus.com>
1754         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
1755         where this function is called for the second time on a decl that
1756         has had its section info changed in such a way as to move it out
1757         of small data/bss.  
1758         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
1760 2000-05-01  Richard Henderson  <rth@cygnus.com>
1762         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
1763         the sequence we're moving, not to merge_bb->head.
1765 2000-05-01  Richard Henderson  <rth@cygnus.com>
1767         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
1768         reference to alpha/t-linux.
1769         (alpha*-*-linux-gnu*): Likewise.
1770         * configure: Rebuild.
1772         * calls.c (expand_call): Don't emit reg notes for a sibcall.
1774         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
1775         if not in SSA form.
1777         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
1779 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
1781         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
1782         TREE_THIS_VOLATILE.
1784 2000-05-01  Richard Henderson  <rth@cygnus.com>
1786         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
1787         emit_conditional_move.
1789 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
1791         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
1792         as the dynamic linker.
1794 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
1796         * cppfiles.c (open_include_file): Open file in blocking mode.
1797         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
1798         Only exclude block devices and directories.
1800         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
1801         static.  Allocate the hashnode and its string in the same
1802         block of memory.
1803         (del_HASHNODE): Don't free h->name.
1804         (_cpp_lookup): If there is no entry for this string, create
1805         one, of type T_VOID.
1806         (_cpp_lookup_slot): Delete.
1807         * cpphash.h: Update prototypes.
1809         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
1810         not hp == NULL.
1811         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
1812         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
1813         node here, just fill in the value field properly.  "Delete"
1814         entries by setting the value field to T_VOID.  Check for
1815         hp->type == T_VOID, not hp == NULL.
1817         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
1818         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
1819         hashtab.h.
1821 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
1823         * config/mn10300/mn10300.c (print_operand_address): Do not add
1824         zero to SP.
1826         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
1827         adjusted by less than 256 bytes, use ret regardless of having any
1828         callee-saved register to restore.
1830 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
1832         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
1834 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
1836         * config/i386/djgpp.h (INT_ASM_OP): Define.
1837         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
1838         (ASM_WEAKEN_LABEL): Define.
1839         (MASK_BNU210): Define.
1840         (SUBTARGET_SWITCHES): Define.
1841         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
1842         (MAKE_DECL_ONE_ONLY): Define.
1843         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
1845 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
1847         * i386/cygwin.h (INT_ASM_OP): Define.
1849 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
1851         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
1852         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
1854 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
1856         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
1857         __tmp_reg__ and __zero_reg__ initialization.
1859 2000-04-30  Richard Henderson  <rth@cygnus.com>
1861         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
1863         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
1864         referenced bewteen the condition and the jump.  Don't delete
1865         anything but the jump.
1867 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
1869         * bb-reorder.c (scope_def): New struct.
1870         (scope_forest_info): New struct.
1871         (struct reorder_block_def): New member "scope".
1872         (REORDER_BLOCK_SCOPE): New macro.
1873         (relate_bbs_with_scopes): New function and prototype.
1874         (make_new_scope): Likewise.
1875         (build_scope_forest): Likewise.
1876         (remove_scope_notes): Likewise.
1877         (insert_intra_1): Likewise.
1878         (insert_intra_bb_scope_notes): Likewise.
1879         (insert_inter_bb_scope_notes): Likewise.
1880         (rebuild_scope_notes): Likewise.
1881         (free_scope_forest_1): Likewise.
1882         (free_scope_forest): Likewise.
1883         (dump_scope_forest): Likewise.
1884         (dump_scope_forest_1): Likewise.
1885         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
1886         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
1887         block.
1888         (reorder_basic_blocks): Added calls to build_scope_scope_forest
1889         and remove_scope_notes before reordering is done. Added calls to
1890         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
1891         after reordering is done.
1893 2000-40-30  Bruce Korb  <bkorb@gnu.org>
1895         * fixinc/inclhack.def:  Added definitions needed by OSR5,
1896         removed two stale entries (defined away with OLD_CPP).
1897         * fixinc/inclhack.sh: regen
1898         * fixinc/fixincl.x: regen
1900 2000-04-30  Richard Henderson  <rth@cygnus.com>
1902         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
1903         from the last insn in the sequence.
1905 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
1907         * cpplex.c (cpp_idcmp): New function.
1908         * cpplib.h: Prototype it.
1909         * scan_decls.c (scan_decls): Use it to inspect token names.
1910         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
1911         the file being run through the preprocessor.
1912         (check_macro_names): Provide length of token to cpp_defined.
1914         * Makefile.in: Remove stale warning message.
1916         * cppfiles.c (redundant_include_p): Provide length of token to
1917         cpp_defined.
1918         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
1919         values are unsigned int.
1920         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
1921         (_cpp_lookup_slot): Do not calculate the hash, either.
1922         * cpphash.h: Update prototypes.
1923         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
1924         Hashes are unsigned int.  Calculate hash here, pass by value
1925         to _cpp_lookup_slot.
1927 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
1929         * simplify-rtx.c (check_value_useless): Delete function.
1930         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
1931         by hand.
1932         (cselib_invalidate_regno): Likewise.
1933         (cselib_invalidate_mem_1): Likewise.
1934         (references_value_p): Recognize useless values by the fact that they
1935         have no locations.
1936         (discard_useless_values): Likewise.
1937         (cselib_record_set): This may turn a useless value
1938         into a useful one.
1940 2000-04-30  Richard Henderson  <rth@cygnus.com>
1942         * config/d30v: New port.
1944         * configure.in (d30v-*): Set fp format.
1945         * configure: Rebuild.
1947 2000-04-30  Richard Henderson  <rth@cygnus.com>
1949         * ifcvt.c: New file.
1950         * Makefile.in (OBJS): Add it.
1951         (ifcvt.o): New target.
1952         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
1953         and conditional arithmetic.
1954         (find_insert_position): Remove.
1955         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
1956         * toplev.c (DFI_ce, DFI_ce2): New.
1957         (dump_file): Add ce and ce2 dumps.
1958         (rest_of_compilation): Run if_convert a couple o times.  Set
1959         cse_not_expected after cse2.  Don't set no_new_pseudos until
1960         after sched1 or recompute_reg_usage.
1962 2000-04-30  Richard Henderson  <rth@cygnus.com>
1964         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
1965         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
1967 2000-04-30  Richard Henderson  <rth@cygnus.com>
1969         * flow.c (struct reg_cond_life_info): New.
1970         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
1971         (init_propagate_block_info): Initialize them.
1972         (free_propagate_block_info): Destruct them.
1973         (mark_set_1): Consider conditional life before killing a register.
1974         (mark_regno_cond_dead): New.
1975         (free_reg_cond_life_info): New.
1976         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
1977         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
1978         (mark_used_reg): Record conditional life.
1980         * haifa-sched.c (schedule_insns): Disable death counting
1981         sanity check for HAVE_conditional_execution.
1983 2000-04-30  Richard Henderson  <rth@cygnus.com>
1985         * Makefile.in (TIMEVAR_H): New.
1986         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
1987         (timevar.h): Remove rule.
1989 2000-04-29  Richard Henderson  <rth@cygnus.com>
1991         * config/alpha/crtend.asm: Use C comments instead of #.
1992         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
1994         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
1996 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
1998         * cpphash.h (enum node_type: Take out T_MCONST.
1999         (union hashval): Move into struct hashnode.
2000         (struct hashnode): Pack tighter.  Remove file, line, col
2001         members.
2002         * cpphash.c: Constify most of the macro-definition structures.
2003         (struct definition): Replace by struct object_defn
2004         and struct funct_defn.  Put file, line, column information
2005         here.  All users updated to match.
2006         (_cpp_create_definition, _cpp_macroexpand): Remove special
2007         case for #define WORD OTHERWORD.
2008         * cpplib.c (do_undef): Remove T_MCONST case.
2010         * cpphash.h: Move struct reflist, struct definition, and the
2011         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
2012         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
2013         * cpphash.c (_cpp_free_definition): Free data pointed to by
2014         MCONST, XCONST, MACRO, and FMACRO nodes properly.
2015         (_cpp_create_definition, del_HASHNODE): Just call
2016         _cpp_free_definition to clear out a hashnode.
2017         * cpplib.c (do_pragma_poison): Likewise.
2019 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
2021         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
2022         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
2023         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
2024         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
2025         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
2026         REGNO_AM33_P): Redefine in terms of the new macros.
2027         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
2028         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
2029         STRUCT_VALUE): Likewise.
2030         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
2031         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
2033 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2035         * regmove.c (struct record_stack_memrefs_data): New.
2036         (record_stack_memrefs): New function.
2037         (combine_stack_adjustments_for_block): Use it.
2039 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2041         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
2042         use special_function_p to detect alloca.
2044 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
2046         * gcc.texi: Fixes for makeinfo 4.0 --html.
2048 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
2050         * pcp.h: Delete file.
2052 2000-04-28  Kazu Hirata  <kazu@hxi.com>
2054         * h8300.c (function_epilogue): Clean up flags when the last insn
2055         in a function is a barrier.
2057 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
2059         * configure.in (sparc-hal-solaris2*): protect [] glob from
2060         my expansion.
2061         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
2062         rather than hard-coded constants in target_cpu_default2.
2063         * configure: Regenerate.
2065 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
2067         * tree.c (get_callee_fndecl): Extract the initial value from
2068         a readonly decl.
2070 2000-04-28  Richard Henderson  <rth@cygnus.com>
2072         * varasm.c (record_constant_1): Record the CODE_LABEL when
2073         taking the address of a LABEL_REF.
2075 2000-04-28  Richard Henderson  <rth@cygnus.com>
2076             Jan Hubicka  <jh@suse.cz>
2078         * calls.c (combine_pending_stack_adjustment_and_call): Return the
2079         adjustment; don't do the stack adjust.
2080         (expand_call): Call compute_argument_block_size right before
2081         allocating the block; update comment; don't do alignment sanity
2082         checking for sibling call; use args_size instead of
2083         unadjusted_args_size before args_size is adjusted.  Use
2084         combine_pending_stack_adjustment_and_call to compute stack adjust
2085         for must_preallocate case.
2087         * expr.c (push_block): Remove shadow `temp' in inner scope.
2089 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
2091         * toplev.c (rest_of_compilation): Call
2092         note_deferral_of_defined_inline_function even if the function
2093         can't be inlined.
2095 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
2097         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
2099 2000-04-28  Richard Henderson  <rth@cygnus.com>
2101         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
2103 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2105         * timevar.c (init_timevar): DeANSIfy function definition.
2107 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
2109         * Makefile.in (timevar.o): Depend on flags.h.
2110         * timevar.c (unused_stack_instances): New variable.
2111         (timevar_push): Take a timevar_stack_def from
2112         unused_stack_instances if available.
2113         (timevar_pop): Push the popped timevar_stack_def onto
2114         unused_stack_instances.
2115         (TIMEVAR_ENABLE): New macro.
2116         (timevar_def): Make standalone a 1-bit field.  Add field used.
2117         (get_time): Rename parameter to now.  Return after clearing it if
2118         not TIMEVAR_ENABLE.
2119         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
2120         (timevar_pop): Likewise.
2121         (timevar_stop): Likewise.
2122         (timevar_push): Likewise.  Mark the timing variable as used.
2123         (timevar_start): Likewise.
2124         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
2125         timevars that were never used.
2127 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
2129         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
2130         always TREE_READONLY.
2132 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
2134         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
2135         for call instruction with mode QImode.
2137 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
2139         * Makefile.in (OBJS): Add timevar.o.
2140         (toplev.o): Depend on timevar.h.
2141         (ggc-simple.o): Likewise.
2142         (ggc-page.o): Likewise.
2143         (timevar.o): New rule.
2144         (timevar.h): New rule.
2146         * timevar.h: New file.
2147         * timevar.c: Likewise.
2148         * timevar.def: Likewise.
2150         * toplev.h (gc_time, parse_time, varconst_time): Remove.
2151         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
2152         throughout.
2153         (TIMEVAR): Remove macro.
2154         (gc_time, parse_time, varconst_time, integration_time, jump_time,
2155         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
2156         flow_time, combine_time, regmove_time, sched_time,
2157         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
2158         sched2_time, dbr_sched_time, reorder_blocks_time,
2159         rename_registers_time, shorten_branch_time, stack_reg_time,
2160         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
2161         all_time): Remove.
2162         (compile_file): Don't initialize time variables.  Call
2163         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
2164         of many calls to print_time.
2165         (rest_of_compilation): Add timing for reload_cse_regs.
2166         (get_run_time): Removed to timevar.c.
2167         (print_time): Likewise.
2168         (get_run_time): Implement using TV_TOTAL time variable.
2169         (print_time): Get total run time from get_run_time.
2170         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
2171         computing elapsed time explicitly.
2172         * ggc-simple.c (ggc_collect): Likewise.
2173         (gc_time): Remove declaration.
2175 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
2177         * calls.c (combine_pending_stack_adjustment_and_call): New function.
2178         (expand_call): Use it.
2180 2000-04-27  Jan Hubicka  <jh@suse.cz>
2182         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
2183         fields.
2185 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
2187         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
2188         registers.
2190 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2192         * function.c (epilogue_done): Pass whole insn to record_insns.
2194 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2196         * cse.c (CSE_ADDRESS_COST): Remove.
2197         (find_best_addr): Add new parameter "MODE", use address_cost instead
2198         of CSE_ADDRESS_COST
2199         (address_cost): New.
2200         (fold_rtx): Update call of find_best_addr.
2201         * rtl.h (address_cost): Declare.
2202         * loop.c (general_induction_var): Add new parameter "MODE", use
2203         address_cost instead of ADDRESS_COST
2204         (init_loop): Use address_cost instead of ADDRESS_COST.
2205         (check_insn_for_givs): Update call of general_induction_var.
2206         (find_mem_givs): Likewise.
2207         (consec_sets_giv): Likewise.
2208         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
2209         * i386.c (ix86_address_cost): New.
2210         * i386-protos.h (ix86_address_cost): Declare.
2212 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
2214         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
2215         registers.
2217 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2219         * expr.c (store_expr): Use clear_storage instead of direct memset
2220         libcall.
2222 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
2224         * config/mn10300/mn10300.c (mn10300_address_cost): Test
2225         ASHIFT, AND and LABEL_REF.
2227 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2229         * invoke.texi (-foptimize-sibling-calls): Fix.
2231 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2233         * loop.c (load_mems)  Don't use hard registers for the hoisting.
2235         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
2236         calculation; rename const_equiv array in the preconditioning code
2237         from loop_unroll to loop_unroll_precondition
2239 2000-04-27  Richard Henderson  <rth@cygnus.com>
2241         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
2242         add new_set.
2243         (propagate_one_insn): Clear it.  Don't update reg_live here.
2244         (init_propagate_block_info): Update for pbi member changes.
2245         (free_propagate_block_info): Likewise.
2246         (mark_set_1): Know that zero_extract, sign_extract, and
2247         strict_low_part don't kill their argument.  Alter hard subregs.
2248         Update new_set for non-CLOBBER sets.  Update reg_live.
2249         (find_auto_inc): Update reg_live, not new_dead.
2250         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
2251         to determine if the reg in question was set this insn.  Only update
2252         reg info with PROP_REG_INFO.
2254 2000-04-26  Richard Henderson  <rth@cygnus.com>
2256         * flow.c (allocate_reg_life_data): Set max_regno here ...
2257         (life_analysis): ... not here.
2259         * flow.c (calculate_global_regs_live): Force stack pointer
2260         live at end.
2262 2000-04-26  Richard Henderson  <rth@cygnus.com>
2264         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
2265         commit change group changes.
2266         (invert_exp_1): Similarly.
2267         (redirect_exp, invert_exp): Use them.
2268         (redirect_jump_1): New.
2269         (invert_jump_1): New.
2270         (jump_optimize_1): Remove code subsumed by condexec.c.
2271         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
2273 2000-04-26  Richard Henderson  <rth@cygnus.com>
2275         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
2277         * genconfig.c (main): Set all HAVE_foo to 1.
2279         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
2281 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
2283         * invoke.texi: Document -fssa flag.
2285 2000-04-26  Richard Henderson  <rth@cygnus.com>
2287         * flow.c (count_reg_sets_1): Remove.
2288         (count_reg_sets, count_reg_references): Remove.
2289         (recompute_reg_usage): Implement with update_life_info.
2290         Reallocate life data.
2292 2000-04-26  Richard Henderson  <rth@cygnus.com>
2294         * flow.c (update_life_info): Consider blocks null to mean the
2295         universal set.
2296         (calculate_global_regs_live): Likewise.
2297         (life_analysis): Do that instead of collecting all_blocks.
2299 2000-04-26  Richard Henderson  <rth@cygnus.com>
2301         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
2302         a still-valid conditional jump.
2304 2000-04-26  Richard Henderson  <rth@cygnus.com>
2306         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
2308         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
2309         * flow.c (calculate_loop_depth): Remove.
2310         * output.h (calculate_loop_depth): Don't declare.
2311         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
2312         inline; run estimate_probability at the same time.
2314 2000-04-26  Neil Booth  <NeilB@earthling.net>
2316         * cpplib.h: "~=" is not a single pp-token.
2317         * cpplex.c: Correct commentary.
2319 2000-04-26  Richard Henderson  <rth@cygnus.com>
2321         * flow.c (mark_set_1): New arguments code and flags; update all
2322         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
2323         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
2324         loop_depth when optimizing for size.  Do new_dead update after
2325         emitting REG_UNUSED notes.  Merge mark_set_reg code.
2326         (mark_set_reg): Remove.
2327         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
2328         arrange to not emit REG_UNUSED notes.
2330 2000-04-26  Richard Henderson  <rth@cygnus.com>
2332         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
2333         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
2335 2000-04-26  Richard Henderson  <rth@cygnus.com>
2337         * flow.c (propagate_one_insn): Break out from propagate_block.
2338         (init_propagate_block_info): Likewise.
2339         (free_propagate_block_info): Likewise.
2340         (propagate_block): Use them.  Export.
2341         * basic-block.h: Declare them all.
2343 2000-04-26  Richard Henderson  <rth@cygnus.com>
2345         * basic-block.h (life_analysis): Declare here ...
2346         * output.h: ... not here.
2347         * flow.c (life_analysis): Remove nregs parameter; replace
2348         remove_dead_code with flags.  Remove ssa dead code check.
2349         Only init alias analysis if we'll use it.
2350         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
2351         * ssa.c (convert_to_ssa): Likewise.
2352         (convert_from_ssa): Likewise.
2353         * toplev.c (rest_of_compilation): Likewise.
2355 2000-04-26  Richard Henderson  <rth@cygnus.com>
2357         * flow.c (flow_delete_block): Rename from delete_block.  Export.
2358         * basic-block.h (flow_delete_block): Declare.
2360 2000-04-26  David S. Miller  <davem@redhat.com>
2362         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
2363         taking a PATTERN of it.
2365 2000-04-26  <NeilB@earthling.net>
2367         * cpplex.c (spell_other, spell_char): Remove.
2368         (SPELL_CHAR): New.
2369         (token_spelling, trigraph_map): Use unsigned chars.
2370         (_cpp_lex_line): Tidy up the switch statement.
2371         * cpplib.h: Implement spell_char with spell_string.
2372         (C): New.
2374 2000-04-26  <RodneyBrown@pmsc.com>
2376         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2377         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2379 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2381         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
2382         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
2383         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
2384         dwarf2out_return_save, dwarf2out_return_reg,
2385         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
2386         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
2387         gen_compile_unit_die, dwarf2out_init): Constify a char*.
2389         * dwarf2out.h (dwarf2out_init): Likewise.
2391         * dwarfout.c (filename_entry, primary_filename, last_filename,
2392         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
2394         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
2395         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
2396         dwarf2out_return_reg): Likewise.
2398 2000-04-26  Andreas Jaeger  <aj@suse.de>
2400         * extend.texi (Function Attributes): Fix description of pure
2401         attribute.
2403 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
2405         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
2406         before calling rest_of_compilation.
2408 2000-04-26  Andreas Jaeger  <aj@suse.de>
2410         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
2411         last patch.
2413 2000-04-25  Richard Henderson  <rth@cygnus.com>
2415         * cse.c (cse_insn): Emit barrier after unconditional jump.
2417         * calls.c (expand_call): Disable tail call generation once
2418         rtx_equal_function_value_matters is false.
2420         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
2421         like EDGE_EH edges.
2423 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
2425         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
2427         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
2429         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
2430         is the primary DIE for a member function.
2431         (gen_decl_die): Call set_decl_origin_self here.
2432         * dwarfout.c (output_decl): And here.
2433         * integrate.c (output_inline_function): Not here.
2434         Don't clear DECL_INLINE until after calling rest_of_compilation.
2435         (set_decl_origin_self): No longer static.
2436         * tree.h: Add prototype.
2437         * toplev.c (note_deferral_of_defined_inline_function): Only write
2438         out abstract instance for actual inlines.
2440 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
2442         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
2443         EXTENDED_REGS only if TARGET_AM33.
2444         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
2445         SP_REGS to register allocation and reloading unless absolutely
2446         necessary.
2447         (movsi3): Remove special-case of adding non-constants to SP.
2449 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2451         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
2452         INCLUDES to search and does not provide any of its own.  Also it
2453         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
2454         parameters.  Also it does not call AC_DEFINE.
2455         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
2456         AC_DEFINE and provides for automatic entries for autoheader.
2457         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
2459         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
2460         so we can pass -I flags and include gansidecl.h/system.h in this
2461         test.
2463         * acconfig.h: Delete all NEED_DECLARATION_* entries.
2465 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2467         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2468         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2469         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
2471         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2472         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2473         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
2474         for these macros.  Clean up spacing and linewraps.
2476 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
2478         * calls.c (expand_call): Use get_callee_fndecl.
2480         * print-tree.c (print_node): Print the chain of an _EXPR.
2482 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
2483                           Jim Wilson  <wilson@cygnus.com>
2484                           Andrew Haley  <aph@cygnus.com>
2486         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
2487         and gp save/restore problems.
2488         * config/ia64/crtend.asm: Add IA-64 unwind support.
2489         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
2490         in fr_pad_size calculation.
2491         (save_restore_insns): Move PR save area.  Correct uses of
2492         RTX_FRAME_RELATED_P.
2493         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
2494         (ia64_expand_epilogue): Add eh_epilogue support.
2495         (ia64_function_prologue): Emit .prologue directive.
2496         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
2497         (ia64_override_options): Set init_machine_status and
2498         mark_machine_status.
2499         (rtx_needs_barrier): Handle bsp reads and writes.
2500         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
2501         New static variables.
2502         (process_set, process_for_unwind_directive): New functions.
2503         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
2504         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
2505         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
2506         macros.
2507         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
2508         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
2509         (struct machine_function): Define.
2510         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
2512 2000-04-25  Bruce Korb  <bkorb@gnu.org>
2514         * fixinc/Makefile.in: make the removal of old programs more
2515         robust
2516         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
2517         install-bin and install-sh
2519 2000-04-25  Nick Clifton  <nickc@cygnus.com>
2521         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
2522         defined, define to return zero.
2523         (function_cannot_inline_p): If a function has any target
2524         specific attributes, then use the macro
2525         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
2526         whether it can be inlined.  If it cannot, issue a suitable
2527         explanation.
2529         * tm.texi: Add a new node 'Inlining' to document the new macro
2530         FUNCTION_ATTRIBUTE_INLINABLE_P.
2532 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
2534         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
2535         commentary.
2537 2000-04-25  Neil Booth  <NeilB@earthling.net>
2539         Restore previous patch, plus the following fixes:
2541         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
2542         flags, not CPP_OPEN_PAREN.
2543         * cpplex.c (expand_token_space, init_token_list,
2544         cpp_free_token_list): Put the dummy token at list->tokens[-1].
2545         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
2547 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2549         * config/i386/freebsd.h (INT_ASM_OP): Define.
2551 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2553         * loop.c (strength_reduce): Fix typo in the last checkin.
2555 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2557         * stor-layout.c (finalize_record_size): Simplify to use existing
2558         functions.
2559         (compute_record_mode): No longer static.
2560         * tree.h (compute_record_mode): New declaration.
2562 2000-04-25  Neil Booth  <NeilB@earthling.net>
2564         * Revert my patch below until cause of build failures
2565         determined.
2567 2000-04-25  Richard Henderson  <rth@cygnus.com>
2569         * combine.c (combine_instructions): Add missing argument
2570         to try_combine.
2572         * toplev.c (rest_of_compilation): Delay sibcall optimization
2573         until after emit_eh_context.
2575 2000-04-24  Nick Clifton  <nickc@redhat.com>
2577         * combine.c (combine_instructions): Do not try to combine a
2578         sequence of insns when the second insn has been replaced by a
2579         note.
2581 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
2583         * gcc.c (load_specs): New static function.
2584         (read_specs): Use it.
2586         * gcc.c (lookup_compiler): Make multiple passes for case
2587         insensitive filesystems.
2589 2000-04-24  Neil Booth  <NeilB@earthling.net>
2591         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
2592         * cpphash.h (_cpp_check_directive): new.
2593         * cpplex.c (handle_newline, cpp_free_token_list,
2594         init_trigraph_map, trigraph_ok, trigraph_replace,
2595         backslash_start, skip_block_comment, skip_line_comment,
2596         skip_whitespace, parse_name, parse_number, parse_string,
2597         copy_comment, _cpp_lex_line, spell_char, spell_string,
2598         spell_comment, spell_name, spell_other, _cpp_lex_file,
2599         _cpp_output_list): new.
2600         (expand_name_space): take length argument.
2601         (init_token_list): add comment list initialisation.
2602         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
2603         instead of HSPACE_BEFORE.
2605         * cpplib.c (_cpp_check_directive): new
2606         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
2607         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
2608         (HSPACE_BEFORE): delete.
2609         (TTYPE_TABLE): rearrange.
2610         (struct cpp_toklist): update.
2612 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2614         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
2615         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
2616         argument form of AC_DEFINE.
2618         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
2619         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
2620         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
2621         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
2622         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
2624         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
2626 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2628         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
2629         deduced.h): Use -isystem, not -I, for including system headers.
2631 2000-04-24  Nick Clifton  <nickc@cygnus.com>
2633         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
2634         the source register is the frame pointer or arg pointer.
2635         (addsi3_small_int): Disallow if source register is the frame
2636         pointer or arg pointer.
2638 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2640         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
2641         call to AC_MSG_RESULT.
2643 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2645         * invoke.texi: Correct grammatical errors, document
2646         -fno-gnu-keywords as identical to -fno-asm for C++.
2648 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2650         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
2651         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
2652         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
2653         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
2654         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
2656         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
2657         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
2658         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
2659         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
2660         new macros names.
2662 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
2664         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
2665         (pop_alignment): Likewise.
2666         (handle_pragma_token): Likewise.
2668 2000-04-24  Robert Lipe <robertlipe@usa.net>
2670         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
2672 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
2674         * combine.c (try_combine): Update reg_nonzero_bits of
2675         newi2pat before newpat.
2677 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2679         * loop.c (strength_reduce): Simplify test to INSN_P.
2680         (record_giv): Attempt to simplify the add value, use CONSTANT_P
2681         expressions instead of CONST_INT.
2682         (express_from_1): Likewise.
2684 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
2686         * regs.h (reg_n_max): Don't declare.
2687         * flow.c (reg_n_max): Don't define.
2688         * regclass.c (renumber): Don't initialize to zero.
2689         (regno_allocated): Likewise.
2690         (reg_n_max): Define.
2691         (allocate_reg_info): Don't initialize unnecessarily.
2693 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
2695         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
2696         and blockage_p in the newly allocated attribute.
2698 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
2700         * config/mn10300/mn10300.md (addsi): `inc4' on address
2701         registers does not modify cc, but `inc' on an extended
2702         register does.
2704 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
2706         * reload.c (find_equiv_reg): Checks all valueno regs
2707         as a reload_reg_p regs.
2709 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2711         * cpphash.c (collect_objlike_expansion): Add sanity check.
2712         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
2713         the buffer is the empty string, return.  Mark __DATE__ and
2714         __TIME__ as XCONST nodes, not MCONST.
2715         (_cpp_macroexpand): Avoid pushing an empty buffer.
2716         (funlike_macroexpand): Don't pop token_buffer here.
2718 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
2720         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
2721         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
2722         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
2723         (REGNO_OK_FOR_BASE_P): Define in terms of them.
2724         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
2725         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
2726         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
2728 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2730         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
2731         constant MULT givs.
2733 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2735         * cpphash.h (struct definition): Move file, line, col members...
2736         (struct hashnode): ... here.  Also add 'disabled' flag.
2737         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
2738         T_IDENTITY.  Remove T_DISABLED.
2739         Update prototypes.
2741         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
2742         (collect_expansion): Split into collect_objlike_expansion and
2743         collect_funlike_expansion.
2744         (_cpp_macroexpand): Split out scan_arguments, stringify, and
2745         funlike_macroexpand.
2746         (_cpp_compare_defs): Rename compare_defs, make static.
2747         (_cpp_make_hashnode): Initialize hp->disabled.
2748         (macro_cleanup): Adjust for new token types.  Clear
2749         m->disabled.
2750         (_cpp_create_definition): Move code here to determine what
2751         sort of macro it is, and code to check for redefinitions, from
2752         do_define.  Implement a few simple cases without creating a
2753         full DEFINITION.
2754         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
2755         Handle the simple cases.
2756         (push_macro_expansion): Set buf->has_escapes and hp->disabled
2757         here.
2759         * cppinit.c (builtin_array): Change MCONST to XCONST
2760         everywhere.
2761         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
2762         fix check for disabled and function-like macros.
2763         * cpplib.c (do_define): Move most logic to
2764         _cpp_create_definition.
2765         (do_undef): Handle new special token types.
2767 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2769         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
2770         of CONSTANT_P for mult_val; always use validate_change to update insn.
2772 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
2774         * cpphash.c (trad_stringify, add_pat): New functions.
2775         (collect_expansion): Restore support for -traditional syntax.
2776         Use trad_stringify and add_pat.
2777         (_cpp_macroexpand): Restore support for -traditional semantics.
2778         * cpplex.c (_cpp_scan_line): Don't change space_before if we
2779         get a COMMENT token.
2780         (_cpp_lex_token): Provide COMMENT tokens to caller if
2781         traditional and parsing_define_directive.
2782         (skip_comment): Warn about // comments if -Wtraditional.
2783         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
2784         proper node type.
2785         (do_undef): Don't warn about undefining EMPTY nodes.
2787 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2789         * loop.c (strength_reduce): Fix biv removal code.
2791 2000-04-22  Richard Henderson  <rth@cygnus.com>
2793         * predict.c (estimate_probability): Examine both sides of
2794         a branch for no exits.  Use 90% not 50% for predict taken.
2795         Reorg for one copy of note generation code.
2797 2000-04-22  Richard Henderson  <rth@cygnus.com>
2799         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
2801 2000-04-22  Richard Henderson  <rth@cygnus.com>
2803         * diagnostic.c (init_output_buffer): Don't initialize format_args.
2804         (output_clear): Likewise.
2805         (output_printf): Use va_copy.
2806         (vline_wrapper_message_with_location): Likewise.
2807         (v_message_with_decl): Likewise.
2808         (line_wrapper_printf): VA_START infor buffer.format_args directly.
2809         * system.h (va_copy): Provide default implementation.
2811 2000-04-22  Richard Henderson  <rth@cygnus.com>
2813         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
2814         the collected condition is not a constant.
2816 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
2818         * diagnostic.h: New file.
2820         * Makefile.in (diagnostic.o): Depends on diagnostic.h
2822         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
2823         various function prototypes.
2824         (diagnostic.h): #include.
2825         (struct output_buffer): Move into diagnostic.h.
2826         (get_output_prefix): Rename to output_get_prefix.  Export.
2827         (init_output_buffer): Export. Break out.  Ajust intialization.
2828         (output_space_left, output_append): Export.
2829         (output_newline): Rename to output_add_newline.  Export.
2830         (output_clear): Nullify additional output_buffer fields.
2831         (output_puts): Rename to output_add_string.  Export.
2832         (dump_output): Rename to output_flush_on.  Export.
2833         (build_location_prefix): Constify return-type.
2834         (emit_output_prefix): Rename to output_emit_prefix. Export.
2835         (set_real_maximum_length): New function.
2836         (output_set_maximum_length): Ditto
2837         (output_clear): Ditto.
2838         (output_add_character): Ditto.
2839         (output_add_integer): Ditto.
2840         (output_add_space): Ditto.
2841         (output_format): Ditto.
2842         (output_printf): Adjust buffer initialization.
2843         (vline_wrapper_message_with_location): Ditto.
2844         (v_message_with_decl): Ditto.  Adjust call to output_puts
2845         and get_output_prefix.
2846         (default_print_error_function): Adjust buffer intialization.
2848 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2850         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
2851         of VOID_TYPE.
2853 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
2855         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
2856         of explicit 0.
2858 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
2860         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
2861         accurate data about SP moves.
2863 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
2865         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
2866         aliases to AM33 registers.
2868 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
2870         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
2871         to all EXTENDED bitmaps.
2873 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
2875         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
2876         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
2877         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
2879 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
2881         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
2882         the operand is not constant.
2884 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
2886         * reload.c (find_equiv_reg): Checks all valueno and regno regs
2887         as a call-clobbered regs.
2889 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2891         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
2892         * rtl.h: Likewise.
2893         * rtl.def: Update comment.
2894         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
2895         * integrate.c (expand_inline_function): Likewise.
2896         * profile.c (branch_prob): Likewise.
2897         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
2898         * print-rtl.c (print_rtx): Likewise.
2899         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
2900         (reemit_notes): Likewise; also use enum insn_note.
2902         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
2903         (place_field): Properly compute know and actual alignment.
2905         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
2906         in proper format.
2908         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
2909         note for REG1.
2911 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
2913         * cpphash.c (struct arg, struct arglist): Const-ify strings.
2914         (warn_trad_stringify, duplicate_arg_p): New helper functions.
2915         (collect_expansion): Rewrite to scan over a token list.
2916         Remove -traditional support.
2917         (collect_formal_parameters): Rename to collect_params; rewrite
2918         to scan over a token list.
2919         (_cpp_create_definition): Adjust to scan a token list.
2920         (_cpp_macroexpand): Remove -traditional support.
2921         (_cpp_compare_defs): Whitespace is now canonicalized.
2922         (comp_def_part): Delete function.
2924         * cpphash.h: Update prototypes.
2925         * cpplex.c (init_token_list): Don't set lineno if there is no
2926         buffer.
2927         (pedantic_whitespace): New function.
2928         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
2929         consume a newline.  Use pedantic_whitespace.
2930         (_cpp_lex_token): Remove support for -traditional macros.
2931         (_cpp_get_define_token): Delete.
2932         (_cpp_get_directive_token): Do the real work here.  Use
2933         pedantic_whitespace.
2934         (_cpp_init_input_buffer): Initialize pfile->directbuf.
2936         * cpplib.c (get_macro_name): Delete.
2937         (do_define): Read the entire line into pfile->directbuf, then
2938         feed the token list to _cpp_create_definition.
2939         * cpplib.h (HSPACE_BEFORE): new define.
2940         (struct cpp_reader): Add a toklist member, "directbuf".
2942         * predict.c (estimate_probability): New heuristic: if a jump
2943         branches around a block with no successors, predict it taken.
2944         Disentangle control flow.
2946 2000-04-20  Richard Henderson  <rth@cygnus.com>
2948         * loop.c (emit_iv_add_mult): Revert last change.
2950 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2952         * cpplib.h (enum cpp_ttype): Add token types for all
2953         punctuators.  Distinguish pp-numbers from valid C numbers.
2954         Give some tokens better names.  Initialize from macro.
2955         (struct cpp_name, cpp_token, cpp_toklist): New data
2956         structures.
2957         Update prototypes.
2958         * cpplex.c (bump_column, expand_name_space,
2959         expand_token_space, init_token_list, cpp_output_list,
2960         _cpp_scan_line):  New functions.
2961         (output_line_command): Add third argument, new line number.
2962         * cpphash.h: Update prototypes.
2963         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
2964         token names.
2966 2000-04-20  Richard Henderson  <rth@cygnus.com>
2968         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
2970 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
2972         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
2973         object pointed to.
2975 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2977         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
2978         REG_EQUAL note explaining the calculated value.
2980         * calls.c (expand_call): Avoid unnecesary precalculation
2981         and outgoing parameters space guarding for sibling calls.
2982         (store_one_arg): Likewise.
2984 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2986         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
2987         (rest_of_compilation): Write sibling dump file and account
2988         for time as jump time.
2989         * invoke.texi: Update documentation on dump flags.
2991 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
2993         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
2995 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
2997         * cpphash.c (special_symbol): Represent an empty macro with
2998         "\r \r " not just "\r ".
2999         (_cpp_macroexpand): Correct condition for the foo ( ) special
3000         case.
3001         (unsafe_chars): Handle EOF as second argument.
3002         (push_macro_expansion): Simplify test for removing escape at
3003         end.  Do not trim both escapes if there is no text in between.
3005 2000-04-19  Jim Blandy  <jimb@redhat.com>
3007         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
3008         of PTR_SIZE, when appropriate.
3010 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
3012         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
3013         (USE_ENUM_BITFIELDS): Fix typo.
3015 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3017         * stor-layout.c (place_field): Set rli->offset_align properly.
3019 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3021         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
3022         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
3023         PARM_BOUNDARY): Remove unnecessary casts.
3025 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3027         * calls.c (precompute_arguments): Remove must_preallocate and
3028         args_size calls.
3029         (expand_call): Update call of precompute_arguments.
3031         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
3032         check_insn_for_givs): Break out from ...
3033         (strength_reduce) ... here; use for_every_insn_in_loop to call
3034         check_insn_for_givs.
3035         * loop.h (for_every_insn_in_loop): Declare.
3036         (loop_insn_callback): New type.
3038 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
3040         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
3041         not nul-terminated.
3043 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
3045         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
3046         flag_pic and RELOC.
3048 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
3050         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
3052         * configure.in: Delete --disable-cpplib option and all
3053         references to cpp_main.
3054         * configure: Regenerate.
3055         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
3056         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
3057         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
3058         cpp$(exeext).  Add --no-headers to makeinfo command line when
3059         generating INSTALL.  Install and uninstall cpp.1 manpage, not
3060         cccp.1.
3061         * install.texi: Delete all references to cexp.y/cexp.c.
3062         Delete ancient instructions for compiling GCC on 3b1.
3063         * INSTALL: Regenerate.
3065         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
3066         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
3067         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
3068         cexp.c/cexp.y.
3069         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
3070         which is no longer tested anywhere.
3072         * cppinit.c (handle_option): Don't run error message through
3073         gettext twice.
3075 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3077         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
3078         * cpperror.c (hashtab.h): Now include.
3079         * cppexp.c (hashtab.h): Likewise.
3080         * cpplex.c (hashtab.h): Likewise.
3081         * cppfiles.c (hashtab.h): Likewise.
3082         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
3083         to htab_find_slot_with_hash.
3084         * cpphash.c (hashtab.h): Now include.
3085         (_cpp_lookup_slot): INSERT is now enum insert_option.
3086         * cpphash.h (_cpp_lookup_slot): Likewise.
3087         * cppinit.c (hashtab.h): Include earlier.
3088         (initialize_builtins): Pass enum to htab_find_slot.
3089         * cpplib.c (hashtab.h): Now include.
3090         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
3091         (do_pragma_poison, do_assert): Likewise.
3092         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
3093         htab_find_slot_with_hash.
3094         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
3095         * tree.c (type_hash_add): Likewise.
3096         (build1): Minor cleanup.
3098         * ggc-common.c: Add missing blanks.
3099         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
3100         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
3102         * stmt.c (mark_case_node): New function.
3103         (mark_case_nesting): Call it.
3105         * expmed.c (emit_store_flag): If comparing two-word integer
3106         with zero, can optimize NE, EQ, GE, and LT.
3108         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
3109         * conflict.c: Minor cleanups.
3110         * optabs.c: Add blank line
3111         * simplify-rtx.c: Minor cleanups.
3113 2000-04-18  Stan Cox  <scox@cygnus.com>
3115         * gengenrtl.c (genlegend): Fix misspelling.
3117 2000-04-18  Robert Lipe  <robertlipe@usa.net>
3119         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
3120         bitfields of the host compiler are not signed quantities.
3121         * config.in: Regenerate.
3122         * configure: Regenerate.
3123         * system.h (USE_ENUM_BITFIELDS): Added.
3124         (ENUM_BITFIELDS): Added.
3125         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
3126         (SHORT_ENUM_BUG): Deleted.
3127         * tree.h (tree_common): Members `code', `mode', `built_in_class',
3128         now ENUM_BITFIELD.
3129         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
3130         (CODE_FIELD_BUG): Likewise.
3131         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
3132         (OLD_CC): Likewise.
3133         * config/m68k/x-ccur (X_CFLAGS): Likewise.
3135 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
3137         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
3138         mark is active.
3140 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
3142         * cppexp.c (lex): Don't assume tokens are NUL terminated.
3143         * cpplib.c (do_include, do_import, do_include_next,
3144         read_line_number, detect_if_not_defined): Likewise.
3145         * cpphash.c (collect_expansion): Likewise.
3146         (special_symbol, _cpp_macroexpand): Check return from
3147         cpp_file_buffer.
3148         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
3149         macros.  Delete all uses.
3151         * gcc.dg/cpp-mi.c: Add two more test cases.
3152         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
3154 2000-04-17  Richard Henderson  <rth@cygnus.com>
3156         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
3157         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
3159 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
3161         * function.c (expand_function_start): Use hard_function_value to
3162         compute the RTL to use for DECL_RESULT.
3164 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3166         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
3167         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3168          x86_memory_mismatch_stall): New global variables.
3169         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
3170         alloved; fix load penalties for Athlon.
3171         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3172         x86_memory_mismatch_stall): Declare.
3173         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
3174          TARGET_MEMORY_MISMATCH_STALL): New.
3175         * i386.md (athlon scheduling parameters): Fix latencies according to
3176         Athlon Optimization Manual.
3177         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
3178         vector.
3179         (fsqrt instruction patterns): Set athlon_decode to direct.
3180         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
3181         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
3182         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
3183         and TARGET_PARTIAL_REGISTER_STALL machines.
3184         (pushdf_nointeger): New pattern.
3185         (pushdf_integer): Rename from pushdf.
3186         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
3187         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
3189 2000-04-17  Richard Henderson  <rth@cygnus.com>
3191         * loop.c (canonicalize_condition): Add WANT_REG argument.
3192         Stop the search if we match it.
3193         * expr.h (canonicalize_condition): Update decl.
3194         * predict.c (expected_value_to_br_prob): Use it.  Track last
3195         expected value note.
3196         (find_expected_value): Remove.
3198         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
3200 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
3202         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
3203         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
3204         a plain file.
3205         * configure.in: Call AC_FUNC_MMAP_FILE.
3206         * configure: Regenerate.
3207         * config.in: Regenerate.
3209         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
3210         * fixinc/fixincl.c: Likewise.
3212 2000-04-17  Richard Henderson  <rth@cygnus.com>
3214         * builtins.c (expand_builtin_expect): New.
3215         (expand_builtin): Call it.
3216         * builtins.def (BUILT_IN_EXPECT): New.
3217         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
3218         * extend.texi: Document it.
3220         * predict.c (expected_value_to_br_prob): New.
3221         (find_expected_value): New.
3222         * basic-block.h (expected_value_to_br_prob): Declare.
3223         * toplev.c (rest_of_compilation): Invoke it.
3225         * rtl.h (NOTE_EXPECTED_VALUE): New.
3226         (NOTE_INSN_EXPECTED_VALUE): New.
3227         * rtl.c (note_insn_name): Update.
3228         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
3229         cases; handle NOTE_INSN_EXPECTED_VALUE.
3231 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
3233         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
3234         leaf sibcall delay slot if flag_pic.
3235         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
3237 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3239         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
3241         * fixproto: If fix-header fails, exit with an error.
3243 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3245         * cse.c (struct check_depdendence_data): New.
3246         (check_dependence): New function.
3247         (invalidate): Use check_depdenence.
3249 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
3251         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
3252         UNITS_PER_WORD is unsigned.
3254         * tree.h (struct tree_common): Remove misleading comment.
3256 2000-04-16  Dave Pitts  <dpitts@cozx.com>
3258         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
3259         message in quotes. Otherwise, IBM's make program treats the '#' as the
3260         start of a comment and ignores the remainder of the line.
3262         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
3263         upper case.
3264         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
3265         * cexp.y (initialize_random_junk): Likewise.
3266         * cppfiles.c (find_include_file): Cast alloca return value.
3267         * cppinit.c (initialize_standard_includes): Likewise.
3268         * cpplib.c (cpp_define, cpp_undef): Likewise.
3269         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
3270         * final.c (output_asm_insn): Allow for holes in EBCDIC.
3271         * fold-const.c (CHARMASK): New.
3272         (real_hex_to_f): Use it.
3273         * real.c (CHARMASK): New.
3274         (etoasc, asctoeg): Use it.
3275         (asctoeg): EBCDIC lower case characters preceed upper case.
3277         * i370.c (mvs_add_label): Change spacing for coding conventions.
3278         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
3279         outputing case vectors.
3280         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
3281         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
3282         since vector in in the data CSECT.
3283         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
3284         * i370.md (Many patterns): Put the length in the XL directives.
3285         (movdi): Put back STM and MVC in definition.
3286         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
3287         pattern using the TCA.
3288         * oe.h (CPP_SPEC): Added to allow trigraphs.
3289         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
3290         not support the "long long" type.
3292 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
3294         * config/mips/mips-protos.h (mips_legitimate_address_p): New
3295         function.
3296         (mips_reg_mode_ok_for_base_p): Likewise.
3297         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
3298         (REG_OK_FOR_INDEX_P): Define unconditionally.
3299         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
3300         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
3301         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
3302         that GET_MODE_SIZE is unsigned.
3303         (mips_reg_mode_ok_for_base_p): Define.
3304         (mips_legitimate_address_p): Likewise.  Adjust now
3305         that GET_MODE_SIZE is unsigned.
3306         (block_move_loop): Make the number of bytes unsigned.
3307         (expand_block_move): Likewise.
3308         (function_arg): Make the loop counter unsigned to match the
3309         boundary condition.
3311 2000-04-16  Richard Henderson  <rth@cygnus.com>
3313         * rtl.h (enum insn_note): New enumeration.  Subsume
3314         NOTE_INSN_DELETED and friends.
3315         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
3316         * rtl.c (note_insn_name): Tweak string order.
3318 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
3320         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
3321         to offset * 2.
3323         * cpplex.c (output_line_command): Remove debugging prints.
3324         (cpp_output_tokens): Don't write out a zero-length buffer or
3325         try to see if it has a newline in it.
3326         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
3327         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
3328         the end of the loop.  Use memmove.  Don't read past the end of
3329         the buffer.  Remove trailing newlines from error messages.
3331 2004-04-16  Neil Booth  <NeilB@earthling.net>
3333         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
3334         * cpplib.c: Add new syntax flags to directive table, and
3335         supporting macros.
3337 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
3339         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
3340         using ret $N.
3342 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3344         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
3345         * haifa-sched.c: Update -fsched-verbose comments to use "=".
3347 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3349         * Makefile.in (ggc-page.o): Now includes toplev.h.
3350         * ggc-page.c (toplev.h): Now included.
3351         (gc_time): Remove declaration.
3352         (ggc_collect): TIME now long.
3353         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
3354         others static.
3355         * toplev.h (gc_time, parse_time, gc_time): New declarations.
3357         * toplev.c: Make *_time variable long to reduce chance of overflow.
3358         (TIMEVAR): Likewise for `otime'.
3359         (print_time): Arg is now long; compute percentage in FP and round.
3360         * toplev.h (print_time): Arg is long.
3362         * tree.c: Minor whitespace changes.
3364         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
3365         * configure: Rebuilt.
3366         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
3367         (__fixunsxfDI): Renamed from __fixunsxfdi.
3368         (__fixunsdfDI): Renamed from __fixunsdfdi.
3369         (__fixunssfDI): Renamed from __fixunssfdi.
3370         (__floatdisf): Use proper type in REP_BIT macro.
3371         (__fixunsxfSI): Renamed from __fixunsxfsi.
3372         (__fixunsdfSI): Renamed from __fixunsdfsi.
3373         (__fixunssfSI): Renamed from __fixunssfsi.
3374         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
3375         Change location of macros and upper-case some names as above.
3376         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
3377         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
3379         * varasm.c (assemble_variable): Add cast to remove warning.
3380         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
3382         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
3383         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
3384         region number to -1.
3386 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
3388         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
3389         call unshare_all_rtl.
3391         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
3393 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
3395         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
3396         Use .s1 not .s0 for all FP instructions.
3398 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
3400         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
3401         interfaces.
3402         (safe_fwrite, output_line_command): New static functions.
3403         (cpp_expand_to_buffer): Now private to cpplib.
3404         (cpp_scan_buffer): Take a printer.
3406         * cpphash.h: Update prototypes.
3407         * cpplib.h: Update prototypes.
3408         (cpp_printer): New.
3409         (cpp_buffer): Remove last_nominal_fname.
3410         (cpp_reader): Remove lineno.
3412         * cppmain.c: Use a cpp_printer.
3413         * fix-header.c: No need to inhibit line commands.  Call
3414         cpp_start_read with no printer.
3416         * cpperror.c (cpp_notice_from_errno): Provide default name.
3417         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
3418         (find_include_file, cpp_read_file): Use make_IHASH.
3419         (file_cleanup): Set control_macro and clear
3420         input_stack_listing_current here.
3421         (_cpp_execute_include): Don't output entering-file marker.
3422         * cpphash.c (special_symbol): Look for the line number in the
3423         buffer, not the reader.
3424         (_cpp_macroexpand): No need to disable line commands.
3425         (_cpp_dump_definition): No need to generate line commands.
3426         (dump_hash_helper): Remove excess newline from output.
3427         * cppinit.c (dump_special_to_buffer): No need to generate line
3428         commands.
3429         (cpp_printer_init): New.
3430         (cpp_start_read): Take a printer, and start it up if it's not
3431         NULL.  No need to generate line commands.
3432         (cpp_finish): Expect no buffers stacked at all.  Take a
3433         printer argument, and flush the output buffer if it's not
3434         NULL.
3435         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
3436         Don't put two hashes at the beginning of an assertion.
3437         (cpp_get_token): Don't increment pfile->lineno or emit line
3438         commands here.  Return EOF if there's no buffer when we get
3439         EOF.
3440         * cpplib.c (do_define, skip_if_group):
3441         No need to disable line commands.
3442         (_cpp_output_line_command): Delete function.
3443         (do_line): Don't emit line commands here, but set things up so
3444         they will be emitted if necessary.  Use _cpp_fake_ihash to
3445         make unique nominal_fnames if necessary.
3446         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
3447         with 0 for column, not -1.
3448         (_cpp_handle_eof): Don't set the control macro here.  Don't
3449         clear input_stack_listing_current here.  Don't emit line
3450         commands.
3452 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
3454         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
3455         always, use the default SVR4 start address.
3457         * config/rs6000/linux.h (LINK_SPEC): Don't define.
3458         (LINK_SHLIB_SPEC): Define.
3459         (LINK_START_DEFAULT_SPEC): Define.
3460         (LINK_OS_DEFAULT_SPEC): Define.
3462         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
3464         * config/rs6000/eabi.asm (__eabi): Call __init rather than
3465         __do_global_ctors to handle constructors.
3466         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
3467         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
3468         (STARTFILE_MVME_SPEC): Likewise.
3469         (STARTFILE_SIM_SPEC): Likewise.
3470         (ENDFILE_ADS_SPEC): Use crtend.
3471         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
3472         (ENDFILE_MVME_SPEC): Likewise.
3473         (ENDFILE_SIM_SPEC): Likewise.
3474         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
3475         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
3476         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
3477         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
3478         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
3479         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
3480         (CRTSTUFF_T_CFLAGS_S): Define.
3481         * config/rs6000/eabi-ctors.c: Delete.
3483         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
3484         boundary.
3485         (__fini): Likewise.
3486         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
3487         boundary.
3488         (__fini): Likewise.
3490 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
3492         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
3493         plus mask size is smaller or equal to the mode size.
3495 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3497         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
3498         not yet set.
3500         * expr.c (reload.h): Now included.
3501         (emit_block_move): Set volatile_ok when checking for movstr.
3502         (emit_move_1): Check for replacements in addresses in multi-word case.
3503         * Makefile.in (expr.o): Now includes reload.h.
3505         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
3506         Never have a LIBCALL end a basic block.
3507         (find_basic_blocks_1): Likewise.
3508         Reorganize CALL_INSN cases.
3510         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
3512 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
3514         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
3515         completers from mov.ret instruction.
3517 2000-04-14  Richard Henderson  <rth@cygnus.com>
3519         * fold-const.c (extract_muldiv): Don't distribute and widen
3520         multiply across plus for non-sizetype unsigned types.
3522 2000-04-14  Richard Henderson  <rth@cygnus.com>
3524         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
3525         If the original source is dead in the incr insn, it's dead now.
3527 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3529         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
3530         see if DECL_BIT_FIELD needs to still be set.
3532         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
3534         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
3535         print_int_cst_octal with something that's not an INTEGER_CST.
3537         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
3538         and not a SUBREG to a FLOAT rtl.
3540 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
3542         * emit-rtl.c (try_split): Avoid infinite loop if the split
3543         results in a sequence that contains the original insn.
3545 2000-04-13  Andreas Jaeger  <aj@suse.de>
3547         * config/mips/mips.c (expand_block_move): Pass alignment
3548         argument to move_by_pieces in bits, not bytes.
3550         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
3551         __pic__ for little endian.
3553 2000-04-13  Andreas Jaeger  <aj@suse.de>
3555         * config/i386/i386-protos.h: Add prototype for
3556         uno_comparison_operator.
3558 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3560         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
3561         * calls.c (ECF_PURE): New flag.
3562         (emit_call_1): Handle ECF_PURE calls.
3563         (initialize_argument_information): Unset ECF_PURE flag too.
3564         (precompute_arguments): Precompute for ECF_PURE too.
3565         (expand_call): Handle ECF_PURE calls too.
3566         (emit_library_call_value_1): Rename no_queue argument to fn_type,
3567         accept value of 2 as pure function.
3568         (emit_library_call_value, emit_library_call): Rename no_queue argument
3569         to fn_type.
3570         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
3572         * tree.h (DECL_IS_PURE): New macro.
3573         (struct tree_decl): Add pure_flag.
3574         * c-common.c (enum attrs): Add attribute "pure".
3575         (init_attributes): Initialize attribute "pure"
3576         (decl_attributes): Handle attribute "pure".
3577         * extend.texi (Attribute "pure"): Document.
3578         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
3579         in pure function.
3580         (flags_from_decl_or_type): Support attribute "pure".
3582 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
3584         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
3585         the token except for numbers and identifiers.
3587 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
3589         * i386.c (ix86_expand_binary_operator,
3590         ix86_expand_unary_operator): Check no_new_pseudos
3591         instead of reload_in_progress and reload_completed.
3592         (ix86_split_ashldi, ix86_split_ashrdi,
3593         ix86_split_lshrdi): Check no_new_pseudos instead
3594         of reload_completed.
3596 2000-04-12  Jeffrey A Law  (law@cygnus.com)
3598         * function.c (purge_addressof): Unshare any shared rtl created by
3599         purge_addressof and its children.
3601 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
3603         * function.c (aggregate_value_p): VOID_TYPE nodes are never
3604         aggregates.
3606 2000-04-05  Andreas Jaeger  <aj@suse.de>
3608         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
3609         not compiling PIC code, add flags for mabi=64.
3610         (SUBTARGET_CPP_SIZE_SPEC): New.
3611         (SUBTARGET_CPP_SPEC): New.
3612         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
3613         for MIPS/Linux and lots of code needs these defines.
3615 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
3617         * reorg.c (fill_slots_from_thread): Check side_effects_p when
3618         trying the "opposite arithmetic" approach.
3620 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3622         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
3623         (struct sh_args): Add new field force_mem.
3624         (INIT_CUMULATIVE_ARGS): Initialize it.
3625         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
3627 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3629         * calls.c (expand_call): Do not reverse args in "equal from" field.
3630         (emit_library_call_value_1): Emit_libcall_block for const and pure
3631         function.
3633 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3635         * reload1.c (reload_combine): Don't enable optimization for fixed
3636         registers when encountering a BARRIER.
3638 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3640         * builtins.c (expand_builtin_memcmp): Do expansion even with
3641         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
3643         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
3644         stack is propertly aligned; add sanity checking for aligned
3645         stack pointer.
3646         (expand_library_call_value_1): Add sanity checking for aligned
3647         stack pointer.
3649 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
3651         * calls.c (emit_library_call_value_1): Change 3rd arg to
3652         locate_and_pad_parm to disregard the setting of partial.
3654 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3656         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
3658         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
3659         CALL_INSN from the normal case.
3661 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3663         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3664         New global variables.
3665         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
3666         adjustment.
3667         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3668         Declare,
3669         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
3670          TARGET_ADD_ESP_8): New macros.
3671         * i386.md: Add peep2s to convert esp adjustments to push and pop
3672         instructions.
3673         (pushsi_prologue, popsi_epilogue): New patterns.
3675 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3677         * real.c (toe64): Remove stale #endif from the last change.
3679 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
3681         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
3682         * real.c (toe64): Revert previous change.
3684 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3686         * objc/objc-act.c: Include ggc.h.
3687         (objc_tree_index, objc_global_trees): Convert most of the
3688         static tree variables into a static array with previous names
3689         as defines.
3690         (objc_ellipsis_node): New variable.
3691         (lang_init): Call objc_act_parse_init and c_parse_init.
3692         Create objc_ellipsis_node.
3693         (build_selector_translation_table): Use objc_ellipsis_node instead
3694         of (tree)1.
3695         (hack_method_prototype): Likewise.
3696         (get_arg_type_list): Likewise.
3697         (start_method_def): Likewise.
3698         (continue_method_def): Likewise.
3699         (gen_method_decl): Likewise.
3700         (ggc_mark_imp_list): New function.
3701         (ggc_mark_hash_table): New function.
3702         (objc_act_parse_init): New function.
3703         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
3704         * c-parse.in (c_parse_init): For objc add roots of objc specific
3705         local tree variables.
3706         * objc/objc-parse.y: Rebuilt.
3707         * objc/objc-parse.c: Rebuilt.
3708         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
3710 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
3712         * cse.c (delete_trivially_dead_insns): Also delete insns
3713         that copy a register to itself where the destination is
3714         a strict_low_part.
3716 2000-04-11  Richard Henderson  <rth@cygnus.com>
3718         * flow.c (struct propagate_block_info): Add new_dead, new_live.
3719         (propagate_block): Initialize them.  Use them in parallel instead
3720         of one tmp variable, ie revert much of the 0408 and 0407 functional
3721         changes, but keep the structural changes.
3722         (mark_set_regs): Take new_dead from propagate_block_info instead.
3723         (mark_set_1, mark_set_reg): Likewise.
3724         (mark_used_regs): Likewise with new_live.
3725         (mark_used_reg): Likewise.  Revert 0408 change.
3727 2000-04-11  Nick Clifton  <nickc@cygnus.com>
3729         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
3730         restriction.
3731         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
3733 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3735         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
3736         const section to output a CONSTRUCTOR based on the same conditions
3737         used for VAR_DECLs.
3739 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
3741         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
3742         * pa/pa-protos.h (output_call): Add additional argument indicating
3743         if the call is a sibling/tail call.
3744         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
3745         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
3746         (function_arg, function_arg_partial_nregs): Likewise
3747         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
3748         (emit_move_sequence): Zero extend certain constants as needed
3749         for TARGET_64BIT.
3750         (compute_zdepdi_operands, output_64bit_and): New functions.
3751         (output_64bit_ior, function_arg): Likewise.
3752         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
3753         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
3754         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
3755         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
3756         (output_bvb): Likewise.
3757         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
3758         (output_call): New argument 'sibcall'.  Generate sibcall sequences
3759         as needed.
3760         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
3761         (ouput_arg_descriptor): Do not emit argument descriptors for
3762         TARGET_64BIT.
3763         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
3764         defined.
3765         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
3766         (FUNCTION_OK_FOR_SIBALL): Define.
3767         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
3768         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
3769         (CPP_SPEC): Use new spec infrastructure.
3770         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
3771         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
3772         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
3773         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
3774         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
3775         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
3776         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
3777         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
3778         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
3779         (FUNCTION_ARG); Call out to C code.
3780         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
3781         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
3782         (MIN_UNITS_PER_WORD): Likewise.
3783         * pa/pa.md (cmpdi): New expander.
3784         (scc patterns, movstrsi): Not available for TARGET_64BIT.
3785         (64bit conditional arithmetic): New patterns.
3786         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
3787         (movsicc): Not available if modes on all the operands to not match.
3788         (movdicc): New expander and associated patterns.
3789         (64bit branches): New patterns.
3790         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
3791         (pre_ldd, post_std): New patterns.
3792         (64bit addil, load low part): New patterns.
3793         (special movsf constant): Not available for TARGET_64BIT.
3794         (movsf, movdf expanders): Force constants into memory.
3795         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
3796         (64bit movdf/movdi patterns): New patterns.
3797         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
3798         for TARGET_64BIT.
3799         (extendqidi2, extendhidi2, extendsidi2): Similarly.
3800         (adddi3 expander): Allow "arith_operand" for second input.
3801         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
3802         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
3803         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
3804         (muldi3): New expander for TARGET_64BIT.
3805         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
3806         for TARGET_64BIT.
3807         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
3808         patterns for TARGET_64BIT.
3809         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
3810         patterns for TARGET_64BIT.
3811         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
3812         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
3813         (sibcall_epilogue): New expander.
3814         (casesi): Tweak for TARGET_64BIT.
3815         (call expanders): Set & use the outgoing argument pointer.  Use the
3816         64bit call patterns as needed. Add additional arg to output_call.
3817         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
3818         (sibcall, sibcall_internal_symref): New expanders.
3819         (sibcall_value, sibcall_value_internal_symref
3820         (interspace_jump): Turn into an expander + matching patterns.
3821         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
3822         * pa/pa64-regs.h: Eliminate trigraph sequences.
3823         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
3825 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
3827         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
3828         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
3829         cpp_token with cpp_ttype everywhere.
3830         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
3831         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
3832         CPP_BUF_COL.  Line and column numbers are unsigned int, not
3833         long.
3834         * cpplex.c (cpp_buf_line_and_col): Delete.
3835         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
3836         'long lineno' to 'unsigned int lineno'.
3837         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
3839 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3841         * extend.texi: ISO C99 is not a draft anymore.
3842         * invoke.texi: ISO C++ is not a draft anymore.
3843         * cpp.texi: __cplusplus is required by the ISO standard.
3845         * extend.texi (-fthis-is-variable): Undocument.
3846         * flags.h (warn_template_debugging): Remove declaration.
3847         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
3848         -Wenum-clash, -Wtemplate-debugging): Undocument.
3850 2000-04-10  Nick Clifton  <nickc@cygnus.com>
3852         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
3853         integer.
3854         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
3855         integer.
3856         (ARM_SIGN_EXTEND): Use HOST_UINT.
3857         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
3858         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
3859         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
3860         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
3862         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
3863         (arm_gen_constant): Use HOST_UINT.
3864         (arm_canonicalize_constant): Use HOST_UINT.
3865         (arm_reload_in_hi): Use HOST_UINT.
3866         (arm_reload_out_hi): Use HOST_UINT.
3867         (output_multi_immediate): Use HOST_UINT.
3868         (int_log2): Use HOST_UINT.
3869         (arm_poke_function_name): Use HOST_UINT.
3870         (arm_output_epilogue): Use arm_volatile_func().
3871         (output_thumb_prologue): Use arm_strip_name_encoding().
3873 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3875         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
3876         of sequence point problems.
3878 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
3880         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
3881         Recomment.
3882         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
3884 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3886         * sbitmap.h: Whitespace changes and use upper-case macro args.
3887         (struct simple_bitmap_def): All sizes now unsigned.
3888         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
3889         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
3890         (sbitmap_vector_alloc): Parms and local vars now unsigned.
3891         (sbitmap_zero): Cast bzero arg to PTR.
3892         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
3893         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
3894         loop to make structure clearer.
3895         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
3896         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
3897         (sbitmap_a_and_b_or_c): Likewise.
3898         (sbitmap_intersection_of_succs): Minor cleanups.
3899         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
3900         (sbitmap_union_of_preds): Likewise.
3901         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
3902         (debug_sbitmap): New function.
3904         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
3905         * c-typeck.c (convert_for_assignment): Likewise.
3907         * expmed.c (init_expmed): Don't free objects we make.
3908         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
3910         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
3911         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
3913         * gcse.c (expr_hash_table_size): Now unsigned.
3914         (compute_ae_gen): Local variable `i' now unsigned.
3915         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
3916         (compute_transout, hoist_code): Likewise.
3917         (compute_local_properties): Likewise, also hash_table_size.
3918         (alloc_expr_hash_table): N_INSNS now unsigned.
3919         (delete_null_pointer_checks): Mark arg F as unused.
3921         * regrename.c: Minor cleanups, including chang some variables
3922         to unsigned int.
3924 2000-04-10  Neil Booth  <NeilB@earthling.net>
3926         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
3927         than GETC ().
3928         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
3930 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3932         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
3933         __classof__, and __headof__ from the list of gnu keywords.
3934         (-ansi): Remove -foperator-names from list of implied options.
3935         Do not call it ANSI C++.
3936         (-foperator-names): Document as -fno-operator-names.
3938 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
3940         * cpphash.c (timestamp): Delete.
3941         (del_HASHNODE): If type is T_MCONST, free value.cpval.
3942         (special_symbol): Remove unnecessary braces.  Remove
3943         T_VERSION.  Treat T_STDC like T_CONST unless
3944         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
3945         when one is encountered, then convert them into T_MCONST
3946         nodes.
3947         * cppinit.c (builtin_array): version_string is T_MCONST.
3948         __STDC__ has a "1" in its cpval.  Don't have a terminator
3949         entry.  Clean up which entries are dumped.
3950         (initialize_builtins): Only __STDC__ gets the special
3951         -traditional treatment.  Count the length of builtin_array.
3952         Render version_string here.
3953         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
3954         * cpplib.h (struct cpp_reader): Remove timebuf.
3956 2000-04-09  Richard Henderson  <rth@cygnus.com>
3958         * genrecog.c (pred): Update comparison_operator for the unordered
3959         operators.
3961         * config/i386/i386.c (no_comparison_operator): Disallow unordered
3962         operators.
3963         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
3964         (uno_comparison_operator): New.
3965         (put_condition_code): Handle UNORDERED/ORDERED.
3966         (unsigned_comparison): Likewise.
3967         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
3968         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
3969         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
3970         update all callers.  Handle all 8 unordered operators.
3971         (ix86_expand_setcc): Lose the unordered argument, update all callers.
3972         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
3973         * config/i386/i386.h (PREDICATE_CODES): Update.
3974         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
3975         (ix86_expand_branch, ix86_expand_setcc): Update.
3976         * config/i386/i386.md (sunordered, sordered): New.
3977         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
3978         (bunordered, bordered): New.
3979         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
3980         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
3981         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
3983 2000-04-09  Philip Blundell  <philb@gnu.org>
3985         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
3987 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
3989         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
3990         fix_truncxfhi2): New patterns.
3991         * i386.c (output_fix_trunc): Handle converting to HImode.
3993 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
3995         * ssa.c (convert_to_ssa): Eliminate dead code when calling
3996         life_analysis.
3997         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
3998         (for_each_successor_phi): Change parameter to basic_block.
3999         (coalesce_regs_in_successor_phi_nodes): Likewise.
4000         (coalesce_regs_in_copies): Likewise.
4001         (compute_coalesced_reg_partition): Use basic_block instead of index.
4002         * rtl.h (convert_to_ssa): Delete.
4003         (convert_from_ssa): Likewise.
4004         (successor_phi_fn): Likewise.
4005         (for_each_successor_phi): Likewise.
4006         (in_ssa_form): Likewise.
4007         * basic-block.h (convert_to_ssa): Moved from rtl.h.
4008         (convert_from_ssa): Likewise.
4009         (successor_phi_fn): Likewise.
4010         (in_ssa_form): Likewise.
4011         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
4012         * flow.c (calculate_global_regs_live): Pass a basic_block to
4013         for_each_successor_phi.
4015 2000-04-08  Richard Henderson  <rth@cygnus.com>
4017         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
4018         was modified in the current insn.
4020 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
4022         * arm/thumb.md: Delete.
4023         * arm/thumb-protos.h: Delete.
4025 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
4027         Merge changes from merged-arm-thumb-backend-branch onto trunk.
4029         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
4031         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
4032         into branch.
4034         * arm.md (nop): Use the standard RTL expression.  Don't code as a
4035         define_expand.
4036         (*arm_nop, *thumb_nop): Delete.
4038         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
4039         constants.  Use casts instead.
4040         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
4041         output_multi_immediate, arm_poke_function_name): Likewise.
4042         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
4043         MASK_RETURN_ADDDR): Likewise.
4045         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
4047         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
4048         into branch.
4050         * arm.md (eh_epilogue): New function.
4051         * arm.h (struct machine_function): Move to here ...
4052         * arm.c: ... from here.
4053         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
4054         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
4055         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
4057         2000-03-30  Nick Clifton  <nickc@cygnus.com>
4059         * config/arm/semi.h (ASM_SPEC): Restore definition.
4060         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
4062         * config/arm/elf.h (ASM_SPEC): Restore definition.
4063         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
4065         * config/arm/arm.h (ASM_SPEC): Remove definition.
4066         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
4068         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
4070         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
4072         2000-03-24  Nick Clifton  <nickc@cygnus.com>
4074         Various formating tidyups, elimination of compile time
4075         warnings and synchronisation with internal sources:
4077         * config/arm/arm-protos.h (assemble_align): Add prototype.
4078         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
4079         (gen_comapre_reg): Rename to arm_gen_compare_reg.
4080         (arm_return_addr_rtx): Rename to arm_return_addr.
4082         * config/arm/arm.c: Include except.h.
4083         Define shorter typenames for strict minipool_node and struct
4084         minipool_fix.
4085         (arm_return_in_memory): For WinCE return all structures <= 32 bits
4086         in memory.
4087         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
4088         (gen_comapre_reg): Rename to arm_gen_compare_reg.
4090         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
4091         already defined.
4092         (ASM_SPEC): Define if not already defined.
4093         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
4095         * config/arm/arm.md: Rename references to gen_rotated_half_load to
4096         arm_gen_rotated_half_load, and references to gen_comapre_reg to
4097         arm_gen_compare_reg.
4098         (indirect_jump):  Only accept register operands.
4099         (load_indirect_jump): Keep this pattern since combine can generate
4100         it.
4102         * config/arm/coff.h: Include aout.h.
4103         (MULTILIB_DEFAULTS): Only define if not already defined.
4105         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
4106         into arm.h (so that COFF ports can support thumb based aliases).
4107         (ASM_SPEC): Move definition into arm.h
4109         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
4110         redundant apcs spec.
4111         (ASM_SPEC): Move definition to arm.h
4113         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
4115         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
4116         for entries in the .bss section
4118         2000-03-23  Nick Clifton  <nickc@cygnus.com>
4120         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
4121         to thumb_far_jump_used_p.
4123         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
4124         single integer parameter.
4126         * config/arm/arm.c (struct machine_function): Add two new
4127         fields, 'far_jump_used' and 'arg_pointer_live'.
4128         (thumb_far_jump_used_p): Once the decision has been made that
4129         far jumps might be used, always return true.
4130         If being called from the initial elimination offset macro then
4131         do not bother to perform the test if the arg pointer is not
4132         being used.
4133         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
4134         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
4136         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
4138         * arm.c (output_return_instruction): Handle more cases where we can
4139         return from a function with an ldr instruction.
4140         (arm_output_epilogue): Likewise.
4142         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
4143         if we need to push a large stack frame and there are no callee-saved
4144         registers.
4146         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
4147         in ARM code if the frame pointer has been eliminated.
4149         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
4150         unspec_volatile arguments to avoid duplicates.
4151         (consttable_1, consttable_2): Fixes for big-endian mode.
4153         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
4154         as appropriate.
4156         Re-write constant pool code.
4157         * arm.c (minipool_node, minipool_fix): New types.
4158         (minifix): Delete type.
4159         (arm_add_minipool_constant): Delete.
4160         (arm_compute_minipool_offsets, arm_find_barrier,
4161         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
4162         (get_jump_table_size): Now returns HOST_WIDE_INT.
4163         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
4164         functions.
4165         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
4166         (assign_minipool_offsets, arm_print_value): Likewise.
4167         (dump_minipool): Rewrite.
4168         (arm_barrier_cost): New function.
4169         (create_fix_barrier): New function.
4170         (push_minipool_barrier): New function.
4171         (push_minipool_fix): Record additional information about the fixup
4172         required.
4173         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
4174         check the mode of what needs fixing.
4175         (arm_reorg): Rewrite.
4177         2000-03-08  Nick Clifton  <nickc@cygnus.com>
4179         * config/arm/arm.md (indirect_jump): Force constant addresses into
4180         a register.
4182         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
4184         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
4186         2000-02-24  Nick Clifton  <nickc@cygnus.com>
4188         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
4189         adjust is word aligned.
4190         (thumb_expand_epilogue): Make sure that stack adjust is word
4191         aligned.
4193         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
4195         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
4197         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
4198         pointer relative addresses.
4200         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
4202         * arm.c (find_barrier): Find the last barrier within the allowed
4203         range.
4205         2000-02-09  Nick Clifton  <nickc@cygnus.com>
4207         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
4209         2000-02-09  Nick Clifton  <nickc@cygnus.com>
4211         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
4212         ARM_FUNCTION_PROFILER.
4214         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
4215         ARM_FUNCTION_PROFILER.
4217         * config/arm/linux-oldld.h: Imported from mainline sources.
4219         2000-02-07  Nick Clifton  <nickc@cygnus.com>
4221         * config/arm/lib1funcs.asm: Merge in thumb functions from
4222         lib1thumb.asm.
4224         * config/arm/lib1thumb.asm: Delete.
4226         2000-02-04  Nick Clifton  <nickc@cygnus.com>
4228         * config/arm/arm.c: Sychronised with current Red hat local
4229         sources.
4230         * config/arm/arm.h: Ditto.
4231         * config/arm/arm-protos.h: Ditto.
4233         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
4235         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
4237         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
4238         byte stores.
4240         2000-02-02  Nick Clifton  <nickc@cygnus.com>
4242         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
4244         * config/arm/arm.md (epilogue): Fix rtl checking abort because
4245         (return) was emited using an emit_insn() call.
4247         2000-01-31  Nick Clifton  <nickc@cygnus.com>
4249         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
4250         thumb stack frame.
4251         (thumb_exit): Move frame pointer back into hard frame pointer
4252         register if backtracing is being used.
4254         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
4256         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
4257         into branch.
4259         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
4261         * config/arm/arm.md (neg_pool_offset): Provide default for new
4262         attribute.
4263         (arm_movsi_insn): Add neg_pool_offset attribute.
4264         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
4265         rtx for the insn that starts the scan and an unsigned long for its
4266         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
4267         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
4268         instructions in *PINSERTED.
4269         (struct minipool_fixup): Add MIN_ADDRESS elt.
4270         (sort_fixups): Compute it.
4271         (arm_reorg): Changes to support inserting pools before the insn to be
4272         fixed up.
4274         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
4276         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
4277         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
4278         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
4280         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
4282         * config/arm/semi.h (TARGET_VERSION): Do not define if already
4283         defined.
4284         (TARGET_DEFAULT): Do not define if already defined.
4286         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
4288         * config/arm/arm.md (anddi3): Allow disjoint source operands.
4289         (iordi3): Allow disjoint source operands.
4290         (xordi3): Allow disjoint source operands.
4291         (negdi2): Permit construction for ARM and Thumb.
4292         (arm_negdi2): Renamed version of old negdi2 pattern.
4293         (thumb_negdi2): New pattern: Only permit non-overlapping
4294         source and destination.
4296         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
4298         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
4299         scratch low register so that it will not be deleted.
4301         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
4303         * config/arm/pe.h (ARM_PE): Define.
4305         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
4306         interfacearm attribute if this is a PE toolchain.
4307         (output_return_instruction): Do not emit anything if the function
4308         has the naked attribute set.
4309         (is_called_in_ARM_mode): If the function has the interfacearm
4310         attribute then return true.
4311         (thumb_expand_prologue): Do not generate a prologue for naked
4312         functions.
4313         (thumb_expand_epilogue): Do not generate an epilogie for a naked
4314         function.
4315         (output_thumb_prologue): Do not bother if the function is naked.
4316         Strip PE encoding from function name before emitting.
4318         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
4320         * arm.md (pic_load_addr): Fix constraints.
4322         * arm.md (casesi_insn): Fix mis-applied patch.
4324         * arm.md ("core" function unit): Add rules for single- and
4325         multi-cycle insns.
4326         (All TARGET_THUMB patterns): Add "type" attribute information
4327         where needed.
4328         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
4329         the following insn is a CALL.
4331         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
4332         pointer.
4333         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
4334         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
4335         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
4337         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
4339         * config/arm/linux-gas.h: oops - this file was missed out when the
4340         branch was created...
4342         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
4344         * thumb.c: Deleted.  Move contents to ...
4345         * arm.c: ... here.
4346         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
4347         rule for thumb.o
4348         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
4349         * configure: Regen.
4351         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
4352         declare a prototype for asm_output_align();
4354         * arm.c (thumb_condition_code): Delete.
4355         (arm_print_operand): Always use arm_condition_code array.
4357         * arm.c (thumb_return_addr_rtx): Delete.
4358         (arm_save_machine_status, arm_restore_machine_status): Delete.
4359         (arm_init_machine_status, arm_mark_machine_status): New functions.
4360         (arm_init_expanders): Update accordingly.
4361         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
4362         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
4363         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
4365         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
4367         * configure.in : Fix arm-*-aout target to use new t-arm-aout
4368         script.
4369         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
4370         targets.
4372         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
4374         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
4375         stack backtrace structure.
4377         * config/arm/arm-protos.h: Add prototypes for functions defined in
4378         arm/pe.h.
4380         * config/arm/arm.c (arm_override_options): Fix selection of
4381         attributes of default processor.
4383         * config/arm/coff.h: Delete needless #include.
4385         * config/arm/pe.c: Delete unused code.
4387         * config/arm/pe.h (CPP_DEFINES): Delete
4388         (SUBTARGET_CPP_SPEC): Define.
4389         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
4391         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
4393         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
4395         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
4396         updated.
4397         (CAN_DEBUG_WITHOUT_FP): Define.
4398         (FIXED_REGISTERS): Make r11 call-saved.
4399         (CALL_USED_REGISTERS): Likewise.
4400         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
4401         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
4402         frame-pointer is required.
4403         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
4404         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
4405         if the target normally needs a stack frame in non-leaf functions.
4406         (use_return_insn): Correct logic for determining when a return
4407         instruction can be used.
4408         (output_return_instruction): Handle the frame-pointer register as
4409         a normal register when not TARGET_APCS_FRAME.
4410         (arm_output_prologue): Likewise.
4411         (arm_output_epilogue): Likewise.
4412         (output_func_epilogue): Likewise.
4413         (arm_expand_prologue): Likewise.
4414         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
4416         * arm.c (use_return_insn): No need to check floating point regs if
4417         TARGET_SOFT_FLOAT.
4418         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
4419         the code of value stored in the minipool array.
4420         (arm_add_minipool_constant): Likewise.
4422 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4424         * basic-block.h (conflict_graph_enum_fn): K&R fix.
4426 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4428         * tree.c (tree_expr_nonnegative_p): New function.
4430         * tree.h (tree_expr_nonnegative_p): Declare.
4432         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
4433         elide some sign_compare warnings.
4434         (build_conditional_expr): Likewise.
4436 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
4438         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
4440         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
4441         * i386.c (print_operand): Use the proper suffix for a 387 HImode
4442         operand.  Abort if a 387 operand has an unsupported size.
4444 2000-04-08  Neil Booth  <NeilB@earthling.net>
4446         * cppexp.c (parse_charconst): Null does not end character
4447         constants.
4448         * cppinit.c (ISTABLE): Null character handled as whitespace.
4449         * cpplex.c (null_warning):  new function.
4450         (skip_string): Emit warning if nulls encountered.
4451         (_cpp_skip_hspace): Emit warning if nulls encountered.
4452         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
4453         them.
4454         * cpp.texi: Update.
4456 2000-04-07  Richard Henderson  <rth@cygnus.com>
4458         * flow.c (loop_depth): Remove.
4459         (reg_next_use, cc0_live, mem_set_list): Replace with ...
4460         (struct propagate_block_info): New.
4461         (life_analysis): Don't allocate reg_next_use.
4462         (propagate_block_delete_insn): Break out of propagate_block.
4463         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
4464         (propagate_block_delete_libcall): Likewise.
4465         (propagate_block): Create a propagate_block_info struct to pass
4466         to subroutines.  Allocate one not two temporary regsets.  Don't
4467         clobber memory for const calls.  Look for clobbers in
4468         CALL_INSN_FUNCTION_USAGE.
4469         (mark_set_regs): Recognize COND_EXEC.
4470         (mark_set_reg): Break out of mark_set_1.
4471         (mark_used_reg): Break out of mark_used_regs.
4472         (mark_used_regs): Recognize COND_EXEC.
4473         (insn_dead_p): Use propagate_block_info struct.
4474         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
4475         (find_auto_inc, try_pre_increment_1): Likewise.
4476         (print_rtl_with_bb): Dump regs live at end too.
4477         (count_reg_sets_1): Pass in loop_depth.
4478         (count_reg_sets, count_reg_references): Likewise.
4479         (recompute_reg_usage): Provide it.
4481 2000-04-07  Richard Henderson  <rth@cygnus.com>
4483         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
4484         not the raw files.
4486 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
4488         * cpplib.c (do_elif): Skip the rest of the line if we're
4489         not going to bother evaluating it.
4490         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
4491         to avoid pointless calls to the lexer.
4493 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
4495         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
4497 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
4499         * calls.c (expand_call): emit_queue if we're trying a sibcall.
4501 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
4503         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
4505 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
4507         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
4508         crtend so they can be multilibbed.
4509         (STAGESTUFF): Remove s-crt and s-crtS.
4511 2000-04-07  Richard Henderson  <rth@cygnus.com>
4513         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
4514         if we discover we need a pseudo and no_new_pseudos is true.
4515         * config/alpha/alpha.md (ne:DI insn): New.
4516         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
4518 2000-04-07  Richard Henderson  <rth@cygnus.com>
4520         * rtl.def (COND_EXEC): New.
4521         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
4522         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
4524         * genconfig.c (have_cond_arith_flag): Remove.
4525         (have_cond_exec_flag): New.
4526         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
4527         (main): Print HAVE_conditional_execution.
4529         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
4530         (sched_analyze_insn, print_pattern): Likewise.
4531         * reload.c (find_equiv_reg): Likewise.
4532         * rtlanal.c (reg_referenced_p): Likewise.
4533         (note_stores, dead_or_set_regno_p): Likewise.
4534         (reg_overlap_mentioned_p): Rewrite to use a switch.
4536         * ggc.h (struct rtx_def): Forward declare.
4538         * print-rtl.c (debug_rtx_range): New.
4539         * rtl.h (debug_rtx_range): Declare.
4541         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
4543         * gcse.c (gcse_main): Don't rebuild the CFG here.
4544         (delete_null_pointer_checks): Likewise.
4545         * ssa.c (convert_to_ssa): Likewise.
4546         * toplev.c (rest_of_compilation): Do it here instead.  Combine
4547         sequential calls to TIMEVAR.  Consistently use `insns' instead of
4548         `get_insns()'.  Always split insns after reload when optimizing.
4550         * basic-block.h (merge_blocks_nomove): Declare.
4551         (tidy_fallthru_edge): Declare.
4552         * flow.c (merge_blocks_nomove): Document as merging into previous
4553         blocks.  Remove cruft from between blocks; remove all edges out of A.
4554         (tidy_fallthru_edge): Export.
4556 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4558         * ssa.c (compute_conservative_reg_partition): Declare with
4559         void arguments.
4560         * toplev.c (clean_dump_file): Remove previously-deleted function
4561         inadvertantly merged back in.
4562         * conflict.c (conflict_graph_add): Use a single call to
4563         htab_find_slot to look up and insert.
4565 2000-04-06  Richard Henderson  <rth@cygnus.com>
4567         * genrecog.c (*): Rename _last_insn to last_insn.
4568         (make_insn_sequence): Set the position of the peephole2 C test
4569         to be at the last insn.
4571 2000-04-06  Richard Henderson  <rth@cygnus.com>
4573         * flow.c (compute_flow_dominators): Free worklist.
4575 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
4577         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
4579 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4581         * rtl.h (INSN_P): New macro.
4582         (successor_phi_fn): New typedef.
4583         (for_each_successor_phi): New prototype.
4584         (in_ssa_form): New variable.
4585         (PHI_NODE_P): Likewise.
4586         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
4587         phi nodes in successors.
4588         (mark_used_regs): Add PHI case.
4589         (set_phi_alternative_reg): New function.
4590         (life_analysis): Assert that dead code elimination is not selected
4591         when in SSA form.
4592         * toplev.c (to_ssa_time): New variable.
4593         (from_ssa_time): Likewise.
4594         (compile_file): Zero to_ssa_time and from_ssa_time.
4595         Print time to convert to and from SSA.
4596         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
4597         (print_time): Compute percent fraction as integer.
4598         * ssa.c (PHI_NODE_P): Moved to rtl.h.
4599         (convert_to_ssa): Check if we're already in SSA.
4600         Don't eliminate dead code in life_analysis.
4601         Rerun flow and life analysis at bottom.
4602         (eliminate_phi): Use canonical regnos when adding nodes.
4603         (mark_reg_in_phi): New function.
4604         (mark_phi_and_copy_regs): Likewise.
4605         (convert_from_ssa): Rerun life analysis at top.
4606         Use coalesced partition.
4607         Check for removing a phi node at the end of the block.
4608         (compute_coalesced_reg_partition): New function.
4609         (coalesce_regs_in_copies): Likewise.
4610         (coalesce_reg_in_phi): Likewise.
4611         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
4612         (for_each_successor_phi): Likewise.
4613         (rename_context): New struct.
4614         (rename_block): Use a rename_context with rename_insn_1.  When
4615         renaming sets of a subreg, emit a copy of the entire reg first.
4616         (rename_insn_1): Treat data as a rename_context *.  Save current
4617         insn in set_data.
4618         (rename_set_data): Add field set_insn.
4619         * Makefile.in (HASHTAB_H): Move up in file.
4620         (OBSTACK_H): New macro.
4621         (collect2.o): Use OBSTACK_H in dependencies.
4622         (sdbout.o): Likewise.
4623         (emit-rtl.o): Likewise.
4624         (simplify-rtx.o): Likewise.
4625         (fix-header.o): Likewise.
4626         (OBJS): Add conflict.o.
4627         (conflict.o): New rule.
4628         * basic-block.h: Include partition.h.
4629         (conflict_graph): New typedef.
4630         (conflict_graph_enum_fn): Likewise.
4631         (conflict_graph_new): New prototype.
4632         (conflict_graph_delete): Likewise.
4633         (conflict_graph_add): Likewise.
4634         (conflict_graph_conflict_p): Likewise.
4635         (conflict_graph_enum): Likewise.
4636         (conflict_graph_merge_regs): Likewise.
4637         (conflict_graph_print): Likewise.
4638         (conflict_graph_compute): Likewise.
4639         * conflict.c: New file.
4641 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
4643         * tlink.c (read_repo_files): Don't look for .rpo info for
4644         linker flags.
4646 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4648         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
4650 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4652         * config/sh/lib1funcs.asm (___udivsi3_i4):
4653         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
4654         only depends on FMOVD_WORKS.
4656 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4658         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
4659         make double constant 8-byte aligned.
4661 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
4663         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
4664         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
4665         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
4666         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
4667         Accept storing GENERAL_REGS into offsetable memory.
4668         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
4669         building a TFmode constant other than 0.0L into GENERAL_REGS.
4671 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
4673         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
4675 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
4677         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
4678         (macro_cleanup): No need to cast pbuf->macro.
4679         (collect_expansion): Use _cpp_get_define_token.  Goto done if
4680         it returns VSPACE.  Remove check for trailing space after
4681         CPP_COMMENT.
4682         (_cpp_create_definition): Don't diddle flags here.  Return
4683         directly on error.
4684         (unsafe_chars): Handle c1 being EOF.
4685         (push_macro_expansion): Use unsafe_chars for both accidental-paste
4686         checks.  Don't push the buffer till after we're done with
4687         them.
4688         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
4689         (PEEKN, FORWARD, GETC, PEEKC): Use them.
4690         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
4691         appropriately.
4692         (_cpp_parse_assertion): Don't NUL terminate.
4693         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
4694         hspace before calling _cpp_parse_assertion.  Remove all sets
4695         of only_seen_white. Treat '\f' as hspace.  Don't do anything
4696         special with '\n' here.
4697         (maybe_macroexpand): Handle T_EMPTY hash entries without
4698         pushing a buffer at all.
4699         (cpp_get_token): Handle clearing only_seen_white here.  Handle
4700         incrementing the line number here.  Clear
4701         potential_control_macro as well as only_seen_white, if
4702         appropriate.
4703         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
4704         (_cpp_get_define_token): New function, basically like
4705         _cpp_get_directive_token was but doesn't eat horizontal space.
4706         Don't do anything with only_seen_white here.
4707         (_cpp_get_directive_token): Just call _cpp_get_define_token
4708         repeatedly till it returns non-hspace.
4710         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
4711         (conditional_skip, skip_if_group): Return int.
4712         (DIRECTIVE_TABLE): Change origin of all conditional directives
4713         to "COND".
4714         (TRAD_DIRECT_P): New macro.
4715         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
4716         an error for a bogus directive, unless -lang-asm.  Use
4717         TRAD_DIRECT_P. Loop calling handler functions till one returns
4718         zero.
4719         (get_macro_name): Don't diddle flags here.
4720         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
4721         Create T_EMPTY nodes for #define macro /* nothing */.
4722         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
4723         Use hp->name when calling pass_thru_directive.
4724         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
4725         Return the result of conditional_skip and/or skip_if_group.
4726         Don't call _cpp_output_line_command.
4727         (consider_directive_while_skipping): Use _cpp_get_directive_token.
4728         Issue -Wtraditional warnings as appropriate.  Don't complain
4729         about unrecognized directives.  If we are to stop skipping,
4730         return the number of the directive that ended the skip.
4731         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
4732         expansion and line commands while skipping.  Return the result
4733         of consider_directive_while_skipping, if nonzero.
4734         (do_endif): Just set potential_control_macro here.
4735         (validate_else): Use _cpp_get_directive_token.
4736         (do_assert, do_unassert): Don't save pointers into the
4737         token_buffer across calls to the lexer.  Use
4738         _cpp_get_directive_token.
4740         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
4741         pointer, not an offset.  Replace 'data', which was a generic
4742         pointer, with 'macro', which points to a struct hashnode.
4743         (cpp_reader): Add 'potential_control_macro' pointer.
4744         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
4745         (CPP_BUF_GET, CPP_FORWARD): Delete.
4746         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
4747         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
4748         ACTIVE_MARK_P): Update.
4749         (_cpp_get_define_token): New internal function.
4750         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
4752 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
4754         * configure.in: And here.
4755         * configure: Regenerate.
4756         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
4757         --enable-libstdcxx-v3 is passed at configure time.
4758         * config.h.in: Regenerate.
4760 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
4762         * final.c (final): Use xcalloc to allocate line_note_exists.
4763         * function.c (free_after_compilation): Free the temp_slots.
4764         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
4765         (combine_temp_slot): Free temp_slots when they get combined.
4766         (purge_addressof): Fix typo in comment.
4767         * stmt.c (mark_goto_fixup): Mark the fixup itself.
4768         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
4770         * ggc.h: Include varray.h.
4771         (ggc_pending_trees): Declare.
4772         (ggc_mark_tree_children): Remove declaration.
4773         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
4774         * ggc-common.c (ggc_pending_trees): New variable.
4775         (ggc_mark_roots): Call ggc_mark_trees.
4776         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
4777         the ggc_pending_trees.
4778         * Makefile.in (GGC_H): New variable.  Use it throughout in place
4779         of ggc.h.
4781 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4783         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
4784         GET_MODE_SIZE.
4786 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4788         * sh.c (sh_insn_length_adjustment): New function.
4789         * sh-protos.h (sh_insn_length_adjustment): Declare.
4790         * sh.h (ADJUST_INSN_LENGTH): Use it.
4792 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
4794         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
4795         from the insn where REG_RETVAL is added.
4796         (emit_no_conflict_block): Ditto.
4798         * md.texi (Standard Names): Clarify when movX is needed.
4800         * combine.c (simplify_comparison) [MINUS]: Do not replace
4801         all (op (minus A B) 0) with (op A B).
4803 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
4804                           J"orn Rennecke <amylaar@cygnus.co.uk>
4806         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
4807         (block_lump_real): Likewise.
4809 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
4811         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
4812         remaining non-zero debugging masks.
4814 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
4816         * basic-block.h (verify_flow_info): Declare.
4817         (flow_loop_outside_edge_p): Declare.
4818         * flow.c (verify_flow_info): Remove declaration.
4819         (clear_log_links, flow_loop_outside_edge_p): Likewise.
4821 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
4823         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
4824         not C++ comments.
4826 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
4828         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
4829         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
4830         seqdi_zero_trunc+1): Allow splits only if registers are
4831         different.
4833 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
4835         * acconfig.h: Add HAVE_GAS_HIDDEN.
4836         * config.in: Regenerated.
4837         * configure.in: Add test for .hidden pseudo-op in gas.
4838         * configure: Regenerated.
4839         * crtstuff.c: Include auto-host.h.
4840         Emit additional .hidden pseudo-op for __dso_handle if the
4841         assembler knows about it.
4843 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
4845         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
4846         before freeing argnames.
4847         * cpplib.c (do_ifndef): Cast return value of xstrdup.
4849 2000-04-05  Michael Meissner  <meissner@redhat.com>
4851         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
4852         Walton <jonboy@gordian.com> to make memory references with update
4853         work wtih -mregnames.
4855 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4857         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
4858         (regrename_optimize): Rename variables `def_uses' and
4859         `ext_basic_blocks' to avoid conflicts with similarly named
4860         typedefs in traditional C.
4862         * calls.c (initialize_argument_information): Fix typo in previous
4863         change.
4865 2000-04-04  Richard Henderson  <rth@cygnus.com>
4867         * regrename.c (consider_available): Test fixed_regs not
4868         PIC_OFFSET_TABLE_REGNUM.
4870 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
4872         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
4873         crtend.
4874         (CRTSTUFF_T_CFLAGS_S): Delete definition.
4875         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
4876         (ENDFILE_LINUX_SPEC): Always use crtend.
4877         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
4878         (powerpc-*-linux-gnu): Likewise.
4879         * configure: Regenerate.
4881         * config/rs6000/eabi.h: Don't include sysv4.h.
4882         (MULTILIB_DEFAULTS): Don't define.
4883         * config/rs6000/eabiaix.h: Don't include eabi.h.
4884         * config/rs6000/eabile.h: Delete.
4885         * config/rs6000/eabilesim.h: Delete.
4886         * config/rs6000/eabisim.h: Don't include eabi.h.
4887         * config/rs6000/linux.h: Don't include sysv4.h.
4888         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
4889         (MULTILIB_DEFAULTS): Don't redefine.
4890         * config/rs6000/rtems.h: Don't include eabi.h.
4891         * config/rs6000/sol2.h: Don't include sysv4le.h.
4892         * config/rs6000/sysv4le.h: Don't include sysv4.h.
4893         * config/rs6000/t-ppc: Delete.
4894         * config/rs6000/t-ppcgas: Correct comment.
4895         * config/rs6000/t-ppcos: Correct comment.  Don't build
4896         multilibs for -fPIC, rather use -fPIC -mstrict-align
4897         as default.
4898         * config/rs6000/t-ppc: Delete.
4899         * config/rs6000/vxppc.h: Don't include sysv4.h.
4900         * config/rs6000/vxppcle.h: Delete.
4901         * configure.in: Use multiple header files for p2pc ELF targets
4902         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
4903         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
4904         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
4905         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
4906         always available for these platforms.
4908 2000-04-04  Richard Henderson  <rth@cygnus.com>
4910         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
4912 2000-04-04  Stan Cox  <scox@cygnus.com>
4914         * Makefile.in: Add rules for regrename.o
4915         * regrename.c: New file.
4916         * rtl.h (regrename_optimize): Add prototype.
4917         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
4918         (compile_file, decode_d_option): Add support for -frename-registers.
4919         (rest_of_compilation): Call regrename_optimize.
4920         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
4921         New macros.
4923 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4925         * Makefile (gccbug): New target.
4926         (doc): Depend on it.
4927         * gcc.texi (Bugs): Link subnodes.
4928         (gccbug): New node.
4929         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
4930         Document severities, priorities, and classes in bug form.
4932 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
4934         * cpplex.c (trigraph_map, speccase): Combine into single
4935         table, chartab.
4936         (NORMAL, NONTRI): New macros.
4937         (_cpp_read_and_prescan): Change to use unified table.  Use
4938         is_hspace to test for whitespace.
4940         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
4941         definition that doesn't provoke the "empty body in an
4942         if-statement" warning.
4944 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
4946         * builtins.c (expand_builtin_strlen): Force the source to
4947         be a memory address.
4949 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4951         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
4953 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4955         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
4956          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
4957         (ECF_IS_CONST): Rename to ECF_CONST.
4958         (special_function_p): Make static, change interface.
4959         (flags_from_decl_or_type, try_to_integrate): Break out from ...
4960         (expand_call) ... here; convert number of variables to flags.
4961         (emit_library_call_vlue_1): Likewise.
4962         (setjmp_call_p): New function.
4963         (initialize_argument_information): Accepts flags as argument;
4964         return flags.
4965         (precompute_arguments): Likewise.
4966         * tree.h (special_function_p): Remove.
4967         (setjmp_call_p): Add prototype.
4969 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
4971         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
4972         so that addresses are offsetable by up to 16 bytes.
4973         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
4974         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
4975         offsetable.
4977         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
4978         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
4979         (movsf): Don't force any constant to memory if target is integer
4980         hard register.
4981         Move fp_zero_operand check below the const0_rtx check.
4982         (movtf): Likewise. Also allow fp_zero_operand for stores into
4983         memory.
4984         (movdf): Likewise. Also allow fp_zero_operand for stores into
4985         memory and into integer hard registers.
4986         (clear_df, clear_dfp, movdf_const_intreg_sp32,
4987         movdf_const_intreg_sp64): Remove.
4988         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
4989         conditions.
4990         (movdf_no_e_insn_v9_sp32): New pattern.
4991         (movdf_insn_v9only): Remove.
4992         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
4993         (movdf_insn_sp64): Remove.
4994         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
4995         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
4996         (following splits): Rewrite conditions. Add two new splits
4997         for storing 0.0 into memory and registers.
4998         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
4999         (movtf_insn_sp32): Redo constraints and conditions.
5000         (movtf_insn_vis_sp32): New pattern.
5001         (movtf_no_e_insn_sp32): Redo constraints and conditions.
5002         (movtf_insn_hq_sp64): Likewise.
5003         (movtf_insn_hq_vis_sp64): New pattern.
5004         (movtf_insn_sp64): Redo constraints and conditions.
5005         (movtf_insn_vis_sp64): New pattern.
5006         (movtf_no_e_insn_sp64): Redo constraints and conditions.
5007         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
5008         or memory.
5009         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
5010         -mvis or -m64 to take down the number of various reload patterns.
5012 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
5014         * pa/pa-64.h: New file.
5015         * pa/pa64-regs.h: New file.
5016         * pa/pa64-start.h: New file.
5017         * pa/t-pa64: New file.
5018         * pa/xm-pa64hpux.h: New file.
5020 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5022         * sparc.c (output_restore_regs): Prototype.
5023         (sparc_emit_float_lib_cmp): Constification.
5025         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
5027         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
5028         Prototype.
5030         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
5031         (get_value_hash, hash_rtx): Likewise.
5033         * ssa.c (compute_conservative_reg_partition): Prototype.
5035         * tree.c (mark_hash_entry): Prototype.
5037 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
5039         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
5040         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
5041         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
5043         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
5044         * objc/lang-specs.h: Likewise.
5046 2000-04-03  Neil Booth  <NeilB@earthling.net>
5048         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
5049         and SYNTAX_ERROR2. Replace `' in messages with ''.
5050         (op_to_str): Make re-entrant.
5051         (_cpp_parse_expr): Implement new error macros. Use | rather
5052         than || to logically or 2 boolean integers.  Simply expression
5053         checking we have a left operand iff needed.
5055 2000-04-03  Nick Clifton  <nickc@cygnus.com>
5057         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
5059 2000-04-03  Philip Blundell  <philb@gnu.org>
5061         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
5063 2000-04-03  Felix Lee  <flee@cygnus.com>
5065         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
5066         (run_shell): Use it.
5068 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
5070         * Makefile.in (stmp-int-hdrs): Make include subdir here...
5071         (stmp-fixproto): ...rather than here.
5073 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
5075         * pa.c (print_operand): Compute 'base' only inside the code paths
5076         that use it.
5078 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
5080         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
5081         CEIL_DIV_EXPR.
5083 2000-04-03  Philipp Thomas  <pthomas@suse.de>
5085         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
5087 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
5089         * Makefile.in (alias.o): Depend on $(TREE_H).
5091 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
5093         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
5094         processing C++.
5095         * cpplib.c (_cpp_handle_directive): Improve warnings for
5096         traditional C and indented directives.
5098         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
5099         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
5100         fixinc/inclhack.def: Indent the # of #include_next one space.
5101         * cp/rtti.c: Un-indent #if and #endif.
5103         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
5104         syntax error, but an error has already been printed.
5105         * cpplex.c (_cpp_parse_assertion): Give a more specific error
5106         message when called with nothing remaining on the line.
5107         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
5108         OTHER token, not an ASSERTION.
5109         * cpplib.c (do_assert): When we create a 'base' node, clear
5110         its aschain pointer.
5112 2000-04-02  Neil Booth <NeilB@earthling.net>
5114         * cppexp.c:  New typedef op_t.  struct operation and struct
5115         token updated to use it.
5116         (op_to_str): New function.
5117         (_cpp_parse_expr): Error messages modified to use op_to_str.
5119 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5121         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
5122         before checking MUST_PASS_IN_STACK.
5124 2000-04-02  Neil Booth <NeilB@earthling.net>
5126         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
5127         flags and initial priority into a single constant.  New
5128         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
5129         (_parse_cpp_expr): Implement new constants.  Take left operand
5130         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
5131         parse indicated by reducing FINISHED token.  Remove new lines
5132         from cpp_error messages.
5134 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
5136         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
5137         permanent obstack.
5139 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
5141         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
5142         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
5143         the strings and function names on the fly.  Take the #sccs
5144         entry out of the table if SCCS_DIRECTIVE is not defined.
5145         (_cpp_handle_directive): Decide if the # was at the beginning
5146         of the line here.  Issue -pedantic warnings for extended
5147         directives here.  Warn about K+R directives with the #
5148         indented, and C89/extended directives with the # not indented,
5149         here.
5150         (do_import, do_include_next, do_warning, do_ident, do_sccs,
5151         do_assert, do_unassert): Don't issue pedantic warning here.
5153         * cpphash.h: Add CPP_WTRADITIONAL macro.
5154         * cpplib.h (struct cpp_options): Rename warn_stringify to
5155         warn_traditional; update comments.
5156         * cppinit.c (handle_option): Set warn_traditional not
5157         warn_stringify.
5158         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
5159         CPP_WTRADITIONAL (pfile).
5160         * cpplex.c (_cpp_lex_token): Don't decide if directives should
5161         be ignored in -traditional mode here.
5163         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
5164         to initialize speccase[] and trigraph_map[].  Delete all
5165         references to pfile->input_speccase.  Always treat '?' as a
5166         special character.  Remove table-initialization code from
5167         _cpp_init_input_buffer.
5169         * cpplib.h (struct cpp_reader): Remove input_speccase field.
5170         * cppinit.c (cpp_cleanup): Don't free input_speccase.
5172 2000-04-01  Richard Henderson  <rth@cygnus.com>
5174         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
5175         (mostlyclean): Likewise.
5177         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
5178         (struct dump_file_info, enum dump_file_index, dump_file): New.
5179         (open_dump_file): Take a dump_file_index not a suffix, and a decl
5180         not a string.  Clean out file if we havn't yet done so.  Do nothing
5181         if the dump isn't enabled.
5182         (close_dump_file): Do nothing if the dump isn't open.  Dump
5183         graph data if requested.
5184         (dump_rtl, clean_dump_file): Remove.
5185         (compile_file): Don't clean the dump files.  Only finalize .bp dump
5186         if flag_test_coverage or flag_branch_probabilities.  Only finalize
5187         .combine dump if optimizing.  Iterate over dump_file to finalize the
5188         graph dumps.
5189         (rest_of_compilation): Update for open_dump_file/close_dump_file.
5190         Convert all uses of dump_rtl.
5191         (decode_d_option): Iterate over dump_file to implement 'a' and to
5192         locate pass-specific dumps.
5194 2000-04-01  Neil Booth <NeilB@earthling.net>
5196         * cppexp.c: Redefine priority constants.
5197         (_cpp_parse_expr): Replace left and right priority scheme with
5198         single priority logic.  Move LOGICAL to same place as COMPARE.
5199         Remove bogus check for multiple unary +/- operators.
5201 2000-04-01  Neil Booth <NeilB@earthling.net>
5203         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
5204         within the switch statement.  Binary operations break out of
5205         the switch naturally.  '(' tokens handled by forcing
5206         immediate shift.  ')' handled by forcing immediate reduce to
5207         the previous '('.  New error messages.
5209 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
5211         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
5212         part', it's already in use.  Use %K instead.  Add a return at the
5213         end of what is now %K.
5214         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
5216 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5218         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
5219         allocate_dynamic_stack_space.
5220         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
5221         update stack_pointer_delta; do not update arg_size_so_far.
5222         (compute_argument_block_size): Use stack_delta instead of
5223         stack_pointer_pending and arg_size_so_far.
5224         (expand_call): Add sanity checking for stack_pointer_delta;
5225         save and restore stack_pointer_delta for SIB, use
5226         stack_pointer_delta for alignment; do not update arg_space_so_far.
5227         (emit_library_call_value): Use stack_pointer_delta for alignment.
5228         (store_one_arg): Do not update arg_space_so_far.
5229         * explow.c (adjust_stack, anti_adjust_stack): Update
5230         stack_pointer_delta.
5231         (allocate_dynamic_stack_space): Add sanity checking for
5232         stack_pointer_delta.
5233         * expr.c (init_expr, clear_pending_stack_adjust): Clear
5234         stack_pointer_delta.
5235         (emit_push_insn): Update stack_pointer_delta.
5236         * function.h (struct expr_status): Add x_stack_pointer_delta;
5237         remove x_arg_space_so_far.
5238         (arg_space_so_far): Remove.
5239         (stack_pointer_delta): New macro.
5241 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
5243         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
5244         Reorder struct cpp_options and struct cpp_reader for better
5245         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
5246         takes two args.  Change all 'char' flags to 'unsigned char'.
5247         Move show_column flag into struct cpp_options.  Don't
5248         prototype cpp_options_init.
5249         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
5250         cppinit.c, cpplex.c, cpplib.c:
5251         Replace CPP_OPTIONS (pfile)->whatever with
5252         CPP_OPTION (pfile, whatever), and likewise for
5253         opts = CPP_OPTIONS (pfile); ... opts->whatever;
5255         * cppinit.c (merge_include_chains): Take a cpp_reader *.
5256         Extract CPP_OPTION (pfile, pending) and work with that
5257         directly.
5258         (cpp_options_init): Delete.
5259         (cpp_reader_init): Turn on on-by-default options here.
5260         Allocate the pending structure here.
5261         (cl_options, enum opt_code): Define these from the same table,
5262         kept in a large macro.  Add -fshow-column and -fno-show-column
5263         options.
5265         * cpperror.c (v_message): If show_column is off, don't print
5266         the column number.
5268         * cppmain.c: Update for new interface.
5269         * fix-header.c: Likewise.
5271 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
5273         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
5274         definition.
5275         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
5276         are passed to any invocation of AR_FOR_TARGET.
5277         (AR_CREATE_FOR_TARGET): New macro.
5278         (AR_EXTRACT_FOR_TARGET): New macro.
5279         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
5280         AR_EXTRACT_FOR_TARGET.
5281         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
5282         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
5283         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
5284         AR_EXTRACT_FOR_TARGET to sub-makes.
5286 2000-03-31  Neil Booth <NeilB@earthling.net>
5288         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
5289         PAREN_INNER_PRIO.
5290         (_cpp_parse_expr): Check for multiple unary +/- operators.
5291         Correct priorities of ':' and '?'.  Treat ')' as having a
5292         value.  Ensure conditional expression is not void.
5294 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
5296         * alias.c (canon_rtx): Make it global.
5297         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
5298         equality.
5299         * cse.c (struct table_elt): Add canon_exp.
5300         (insert): Clear it.
5301         (invalidate): Canonicalize expressions only once.
5302         * rtl.h (canon_rtx): Declare.
5304 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
5306         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
5307         * alias.c (reg_known_value): Add comments.
5308         (init_alias_analysis): Likewise.
5309         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
5310         address.
5311         (cse_basic_block): Fix typo in comment.
5312         * emit-rtl.c: Include hashtab.h.
5313         (const_int_htab): New variable.
5314         (const_int_htab_hash): New function.
5315         (const_int_htab_eq): Likewise.
5316         (rtx_htab_mark_1): Likewise.
5317         (rtx_htab_mark): Likewise.
5318         (gen_rtx_CONST_INT): Cache all CONST_INTs.
5319         (unshare_all_rtx): Fix formatting.
5320         (init_emit_once): Initialize const_int_htab.
5321         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
5322         address.
5323         * rtl.texi: Document the fact that all CONST_INTs with the same
5324         value are shared.
5326 2000-03-30  Richard Henderson  <rth@cygnus.com>
5328         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
5330 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
5332         * configure.in: Comment out --enable-c-cpplib stanza.
5333         * configure: Regenerate.
5335 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5337         * expr.c (store_constructor): Properly compute displacement and
5338         alignment when offset is variable.
5340         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
5341         cases of alignment in bytes.
5343 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
5345         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
5346         since it is used to generate c-parse.y.
5347         * objc-parse.c, objc-parse.y: Regenerated.
5349         * function.c (expand_function_end): Pass alignment argument to
5350         emit_block_move in bits, not bytes.
5352 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5354         * expr.c (move_by_pieces_ninsns): Fix one more missing align
5355         correction.
5357         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
5359         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
5360         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
5361         * function.c (assign_parms): Likewise.
5362         * integrate.c (expand_inline_function): Likewise.
5363         * stmt.c (expand_decl): Likewise.
5364         (copy_rtx_and_substitute): Likewise.
5365         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
5366         (clear_by_pieces): Fix error in last change.
5367         * emit-rtl.c (init_emit): Set known registers alignment in bits.
5368         * function.h (regno_pointer_align): Now unsigned.
5369         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
5370         is in bits.
5371         * config/i386/i386.c (aligned_operand): Likewise.
5372         * config/sparc/sparc.c (mem_min_alignment): Likewise.
5373         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
5374         (unaligned_memory_operand): Likewise.
5375         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
5376         Also make alignments and sizes unsigned and some whitespace cleanup.
5377         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
5379         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
5380         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
5381         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5382         (expand_builtin_memset): Likewise, but to clear_storage.
5383         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
5384         (restore_fixed_argument_area): Likewise.
5385         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
5386         (load_register_parameters): Likewise, to emit_group_load.
5387         (expand_call): Likewise, to emit_group_store and emit_block_move.
5388         (emit_library_call_value_1): Likewise, to emit_block_move.
5389         (store_one_arg): Likewise, and to emit_push_insn.
5390         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
5391         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
5392         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
5393         (emit_block_move, emit_group_load, emit_group_store): Likewise.
5394         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
5395         (expand_assigment, store_expr, store_constructor_field): Likewise.
5396         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
5397         (store_constructor, store_field, get_inner_reference): Likewise.
5398         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
5399         (expand_expr, case COMPONENT_REF): Likewise.
5400         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
5401         and positions; reindent code.
5402         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
5403         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
5404         (assign_parms): Likewise to emit_group_store.
5405         * optabs.c (prepare_cmp_insn): Alignment is in bits.
5406         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
5407         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
5408         (expand_return): Likewise to {extract,store}_bit_field.
5409         * stor-layout.c (get_mode_alignment): Minor cleanup.
5410         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
5411         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
5413 2000-03-29  Nick Clifton  <nickc@cygnus.com>
5415         * config/arm/arm.h: Undo effects of previous delta:
5416         (ASM_SPEC): Do not define.
5417         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
5419         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
5420         typo.
5422 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5424         * cppinit.c (cpp_start_read): Call initialize_dependency_output
5425         only after reading in the primary source file.
5427 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
5429         * c-common.c (c_common_nodes_and_builtins): The first parameter to
5430         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
5431         or a reference to a va_list.
5432         * builtins.c (stabilize_va_list): Simplify now we don't have to
5433         work around C array address decay.
5434         * c-typeck.c (convert_for_assignment): Handle assignment to
5435         a reference parameter by taking the address of the RHS.
5436         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
5437         (va_copy): Likewise.
5438         (__va_copy): Likewise.
5439         * ginclude/varargs.h (va_start): Likewise.
5440         (__va_copy): Likewise.
5442 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
5444         * i386/djgpp.h: Remove extraneous "+".
5446         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
5448         * calls.c (expand_call): Fix typo in last change.
5450 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
5452         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
5453         been expanded.
5455 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5457         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
5458         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
5459         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
5460         * tree.c (bit_position, byte_position): Likewise.
5461         * tree.h: Declare new functions.
5463 2000-03-29  Nick Clifton  <nickc@cygnus.com>
5465         * config/arm/arm.c: Minor formatting changes/
5466         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5467         already defined.
5468         (ASM_SPEC): Define if not already defined.
5470 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5472         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
5473         _cpp_calc_hash.
5475 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
5477         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
5478         value, don't output it as unsigned.
5480 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
5482         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
5484 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5486         * c-common.c (c_common_nodes_and_builtins): Don't special case
5487         cplus_mode when declaring builtin bzero/bcmp, always avoid
5488         prototype arguments.
5490 2000-03-29  Bruce Korb  <bkorb@gnu.org>
5492         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
5493         to a non-file
5495 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5497         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
5498         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
5499         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
5500         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
5501         (save_fixed_argument_area, restore_fixed_argument_area):
5502         conditionize by #ifdef REG_PARM_STACK_SPACE only.
5503         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
5504         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
5505         (precompute_register_parameters): Avoid #ifdefs on
5506         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
5507         (stire_one_args): Likewise.
5508         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
5509         (emit_library_call_value_1): Likewise.
5510         (compute_argument_block_size): Align to STACK_BOUNDARY only for
5511         ACCUMULATE_OUTGOING_ARGS.
5512         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
5513         value.
5514         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
5515         (use_crosses_set_p): Likewise.
5516         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
5517         #define ACCUMULATE_OUTGOING_ARGS 1.
5518         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
5519         frames.
5520         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
5521         constants.
5522         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
5523         (TARGET_SWITCHES): Add push-args, no-push-args,
5524         accumulate-outgoing-args and no-accumulate-outgoing-args.
5525         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
5526         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
5527         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
5528         and PUSH_ROUNDING.
5529         (emit_push_insn): Likewise.
5530         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5531         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
5532         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5533         (STACK_DYNAMIC_OFFSET): Define correctly for both
5534         ACCUMULATE_OUTGOING_ARGS and normal mode.
5535         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
5536         * tm.texi (PUSH_ARGS): Document.
5537         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
5539 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5541         * flags.h (flag_optimize_sibling_calls): Declare.
5542         * calls.c (expand_call): Fail sibcall when
5543         !flag_optimize_sibling_calls
5544         * invoke.texi (flag_optimize_sibling_calls): Document.
5545         * toplev.c (flag_optimize_sibling_calls): New global variable.
5546         (f_options): Add flag_optimize_sibling_calls.
5547         (rest_of_compilation): Conditionize
5548         optimize_sibling_and_tail_recursive_calls by
5549         flag_optimize_sibling_calls.
5550         (main): Set flag_optimize_sibling_calls for -O2.
5551         * stmt.c (expand_return): Conditionize tail recursion by
5552         flag_optimize_sibling_calls.
5554 2000-03-29  Richard Henderson  <rth@cygnus.com>
5556         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
5557         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
5559 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
5561         * except.c (add_eh_table_entry): Mark type_info's as referenced.
5563 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5565         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
5566         is given.
5567         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
5568         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
5569         * config/rs6000/aix.h: then modified likewise.
5571 2000-03-28  Richard Henderson  <rth@cygnus.com>
5573         * rtl.h: Redistribute enum reg_note documentation.
5574         Kill trailing whitespace.
5575         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
5576         Kill trailing whitespace.
5578 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
5580         * cppfiles.c (hash_IHASH): Just return i->hash.
5581         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
5582         htab_find_with_hash.
5583         (cpp_read_file): Likewise.
5584         (find_include_file): Likewise.  Properly initialize
5585         ih->nshort.  Share ih->name and ih->nshort if possible.
5586         * cpphash.c (_cpp_calc_hash): New function.
5587         (hash_HASHNODE): Just return h->hash.
5588         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
5589         htab_find_with_hash.
5590         * cpphash.h: Prototype _cpp_calc_hash.
5591         * cppinit.c (initialize_builtins): Provide a valid hash
5592         to _cpp_make_hashnode, using _cpp_calc_hash.
5594         * cpphash.c (collect_expansion): # is not a special character
5595         in object-like macros.  In -traditional mode, /**/ is not
5596         token paste at the beginning or end of the line.
5597         * cpplib.c (do_include, do_import, do_include_next): If
5598         parse_include fails, return immediately.
5600 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
5602         * config/arm/arm.md (return peepholes): Update to reflect the new
5603         call insn patterns.
5604         * config/arm/arm.c (arm_volatile_func): Also check
5605         current_function_nothrow.
5606         (output_return_instruction, output_func_prologue): Use it.
5607         (arm_output_epilogue, arm_expand_prologue): Likewise.
5609 2000-03-27  Tom Tromey  <tromey@cygnus.com>
5611         * gcc.c (handle_braces): In {x*...} case, break out of loop if
5612         switch is found.
5614 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5616         * expr.c (store_constructor): SIZE now signed.
5617         For EXPR_SIZE, don't evaluate size; just needed if constant.
5618         * fold-const.c (fold): Fix a number of cases when folded tree is
5619         wrong type.
5620         * function.c (flush_addressof): Reenable.
5621         * tree.h (flush_addressof): Likewise.
5622         * toplev.c (independent_decode_option): Look at strings_processed.
5623         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
5625 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
5627         * sibcall.c (indentify_call_return_value): Find last call in the chain;
5628         Allow stack adjustment after function call.
5630         * regmove.c (struct csa_memlist): Make mem field rtx *.
5631         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
5632         (try_apply_stack_adjustment): Replace whole MEM rtx.
5633         (combine_stack_adjustments_for_block): Update calls
5634         to record_one_stack_ref.
5636 2000-03-28  Neil Booth  <NeilB@earthling.net>
5638         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
5639         '\\' rather than a null character, so nulls are not special.  Fix
5640         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
5641         speed trigraph conversion.
5642         (_cpp_init_input_buffer): Initialize trigraph map.
5644 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
5646         * config/i386/i386.c (output_387_binary_op): Correct intel
5647         mode assembly output, and add spaces after commas in AT&T
5648         output.  Correct Unixware assembler comment.  Document input
5649         constraints.  Comment fp operations.  Reduce profligate buffer
5650         size.  Remove extraneous abort.  Localize temp var.
5651         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
5652         (output_fix_trunc): Add spaces after commas in assembly output.
5654 2000-03-27  Richard Henderson  <rth@cygnus.com>
5656         * i386-protos.h (ix86_match_ccmode): Declare.
5657         * i386.c (ix86_match_ccmode): New.
5658         (ix86_expand_fp_compare): Update for pattern renames.
5659         (ix86_expand_strlensi_unroll_1): Likewise.
5660         * i386.h (EXTRA_CC_MODES): Add CCZ.
5661         (SELECT_CC_MODE): Use it for EQ/NE zero.
5662         * i386.md (cmpsi_ccz_1): New.
5663         (cmpqi_ccz_1): New.
5664         (*testsi_ccz_1): New.
5665         (testqi_ccz_1): New.
5666         (cmpsi_ccno_1): Rename from cmpsi_0.
5667         (testsi_ccno_1): Rename from testsi_1.
5668         (testqi_ccno_1): Rename from testqi_1.
5669         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
5670         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
5671         (*cmphi_0): Use ix86_match_ccmode.
5672         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
5673         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
5674         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
5675         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
5676         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
5677         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
5678         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
5679         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
5680         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
5681         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
5682         (appropriate peepholes): Likewise.
5683         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
5684         (*subsi_3, *subhi_3, *subqi_3): Remove.
5685         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
5686         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
5687         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
5688         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
5689         (x86_shift_adj_1): Use CCZ.
5690         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
5692 2000-03-27  Stan Cox  <scox@cygnus.com>
5694         * resource.h (mark_resource_type): New.
5695         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
5696         find_free_register): Use mark_resource_type.
5697         (mark_set_resources): Change include_delayed_effects
5698         to mark_resource_type.
5699         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
5700         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
5701         Use mark_resource_type.
5703 2000-03-27  Richard Henderson  <rth@cygnus.com>
5705         * i386.md (call_pop_0, call_value_pop_0): New.
5706         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
5707         (call_value_pop_1): Likewise.
5708         (call_0, call_value_0): New.
5709         (call_1, call_value_1): Remove constraint from unused arg.
5711 2000-03-27  Nick Clifton  <nickc@cygnus.com>
5713         * invoke.texi (Spec Files): Document new spec % command created by
5714         Tom Tromey's recent patch.
5716 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
5718         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
5719         if not defined.
5721 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5723         * expr.c (expand_assignment): Fix typo in last change.
5725         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
5727 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5729         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
5730         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
5731         and DECL_INLINE if FUNCTION_DECL.
5732         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
5733         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
5734         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
5735         (combine_parm_decls): Likewise.
5736         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
5737         * print-tree.c (print_node): Likewise.
5738         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
5739         DECL_TRANSPARENT_UNION on proper decl types.
5740         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
5741         * stor-layout.c (layout_decl): Only check DECL_PACKED and
5742         DECL_BIT_FIELD of FIELD_DECL.
5743         * tree.h (DECL_RESULT_FLD): New macro.
5745         * expr.c (expand_assignment): Add code to handle variable-sized
5746         BLKmode case.
5748 2000-03-26  Richard Henderson  <rth@cygnus.com>
5750         * calls.c (expand_call): Pass parms not original exp to
5751         optimize_tail_recursion.  Mind return value instead of looking
5752         for a barrier.
5753         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
5754         call_expr.  Move checks for call_expr and current_function_decl ...
5755         (expand_return): ... here.
5757 2000-03-26  Tom Tromey  <tromey@cygnus.com>
5759         * gcc.c (handle_braces): Recognize `%{<S}' construct.
5760         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
5761         defines.
5762         (process_command): Use them.
5763         (check_live_switch): Likewise.
5764         (give_switch): Skip ignored switches.
5766 2000-03-26  Jan Hubicka  <jh@suse.cz>
5768         * jump.c (jump_optimize_1): Fix typo in elide optimizations
5769         for minimal jump pass test.
5771 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
5773         * integrate.c (function_cannot_inline_p): Do inline functions that
5774         return `void'.
5776 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5778         * stor-layout.c (layout_type, set_sizetype): early_type_list is
5779         now a list of TREE_LIST entries, not types.
5780         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
5782         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
5783         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
5784         int_bit_position.
5785         * config/mips/mips.c (function_arg): Likewise; also remove cast
5786         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
5787         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
5788         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
5789         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
5790         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
5791         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
5792         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
5793         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
5794         num_adjusts now unsigned.
5795         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
5796         * config/sparc/sparc.c (struct function_arg_record_value_parms):
5797         NREGS now unsigned.
5798         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
5799         as is BITPOS variable; use host_integerp and int_bit_position.
5800         (function_arg_record_value_2): Likewise.
5801         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
5802         Variable REGNO now unsigned.
5803         (function_arg_record_value): NREGS now unsigned.
5805 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
5807         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
5809 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5811         * Rework fields used to describe positions of bitfields and
5812         modify sizes to be unsigned and use HOST_WIDE_INT.
5813         * alias.c (reg_known_value_size): Now unsigned.
5814         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
5815         (really_start_incremental_init): Use bitsize_zero_node.
5816         (push_init_level, pop_init_level, output_init_element): Likewise.
5817         Use bitsize_unit_node and bitsize_one_node.
5818         (output_pending_init_elements, process_init_element): Likewise.
5819         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
5820         (make_extraction): Position and length HOST_WIDE_INT and unsigned
5821         HOST_WIDE_INT, respectively.
5822         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
5823         (num_sign_bit_copies): Returns unsigned.
5824         BITWIDTH now unsigned; rework arithmetic.
5825         Remove recursive call from arg to MAX.
5826         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
5827         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
5828         REGNO now unsigned.
5829         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
5830         (find_split_point, expand_compound_operation, make_extraction): LEN
5831         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
5832         (make_field_assignment): Likewise.
5833         (combine_simplify_rtx): Add cast.
5834         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
5835         (force_to_mode): WIDTH now unsigned; add cast.
5836         (if_then_else_cond): SIZE now unsigned.
5837         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
5838         (extended_count): Now returns unsigned.
5839         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
5840         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
5841         (simplify_comparison): MODE_WIDTH now unsigned.
5842         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
5843         (mark_used_regs_combine): Likewise; rework arithmetic.
5844         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
5845         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
5846         (record_promoted_value): REGNO now unsigned.
5847         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
5848         (get_last_value): REGNO now unsigned.
5849         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
5850         (reg_dead_regno, reg_dead_endregno): Now unsigned.
5851         (remove_death): Arg REGNO now unsigned.
5852         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
5853         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
5854         now unsigned.
5855         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
5856         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
5857         (struct cse_reg_info): REGNO now unsigned.
5858         (cached_regno): Now unsigned.
5859         (REGNO_QTY_VALID_P): Add cast.
5860         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
5861         (remove_invalid_regs): Likewise.
5862         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
5863         as are variables END and I.
5864         (get_cse_reg_info, insert): Likewise.
5865         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
5866         (canon_hash): Likewise.
5867         (insert_regs, lookup_for_remove): REGNO now unsigned.
5868         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
5869         New variable RN.
5870         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
5871         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
5872         * emit-rtl.c (subreg_realpart_p): Add cast.
5873         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
5874         (operand_subword_force): Arg I is now unsigned.
5875         * except.c (eh_regs): Variable I is now unsigned.
5876         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
5877         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
5878         length is unsigned HOST_WIDE_INT; likewise for internal variables.
5879         (store_split_bit_field, extract_fixed_bit_field): Likewise.
5880         (extract_split_bit_field, store_bit_field, extract_bit_field):
5881         Likewise.
5882         * expr.c (store_constructor_fields, store_constructor, store_field):
5883         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
5884         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
5885         (do_jump): Likewise.
5886         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
5887         MAX_SIZE is now unsigned.
5888         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
5889         (emit_group_store): Likewise.
5890         (emit_move_insn): I now unsigned.
5891         (store_constructor): Use host_integerp, tree_low_cst, and
5892         bitsize_unit_node.
5893         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
5894         Rework all calculations to use trees and new fields.
5895         * expr.h (promoted_input_arg): Regno now unsigned.
5896         (store_bit_field, extract_bit_field): Adjust types of pos and size.
5897         (mark_seen_cases): Arg is HOST_WIDE_INT.
5898         * flow.c (verify_wide_reg_1): REGNO now unsigned.
5899         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
5900         precisions and alignments are unsigned.
5901         (optimize_bit_field_compare, fold_truthop): Likewise.
5902         (int_const_binop): Adjust threshold for size_int_type_wide call.
5903         (fold_convert): Likewise.
5904         (size_int_type_wide): Make table larger and fix thinko that only
5905         had half of table used.
5906         (all_ones_mask_p, fold): Precisions are unsigned.
5907         * function.c (put_reg_info_stack): REGNO is unsigned.
5908         (instantiate_decl): Size is HOST_WIDE_INT.
5909         (instantiate_virtual_regs): I is unsigned.
5910         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
5911         (promoted_input_arg): REGNO is unsigned.
5912         * function.h (struct function): x_max_parm_reg is now unsigned.
5913         * gcse.c (max_gcse_regno): Now unsigned.
5914         (struct null_pointer_info): min_reg and max_reg now unsigned.
5915         (lookup_set, next_set): REGNO arg now unsigned.
5916         (compute_hash_table): REGNO and I now unsigned.
5917         (handle_avail_expr): regnum_for_replacing now unsigned.
5918         (cprop_insn): REGNO now unsigned.
5919         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
5920         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
5921         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
5922         * hard-reg-set.h (reg_class_size): Now unsigned.
5923         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
5924         * jump.c (mark_modified_reg): I now unsigned; add cast.
5925         (rtx_equal_for_thread_p): Add cast.
5926         * loop.c (max_reg_before_loop): Now unsigned.
5927         (struct_movable): REGNO now unsigned.
5928         (try_copy_prop): REGNO arg unsigned.
5929         (regs_match_p): XN and YN now unsigned.
5930         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
5931         (strength_reduce): Likewise; NREGS also unsigned.
5932         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
5933         * loop.h (struct iv_class): REGNO now unsigned.
5934         (max_reg_before_loop, first_increment_giv, last_increment_giv):
5935         Now unsigned.
5936         * machmode.h (mode_size, mode_unit_size): Now unsigned.
5937         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
5938         * optabs.c (expand_binop): I and NWORDS now unsigned.
5939         (expand_unop): I now unsigned.
5940         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
5941         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
5942         * real.c (significand_size): Now returns unsigned.
5943         * real.h (significand_size): Likewise.
5944         * regclass.c (reg_class_size): Now unsigned.
5945         (choose_hard_reg_mode): Both operands now unsigned.
5946         (record_reg_classes): REGNO and NR now unsigned.
5947         (reg_scan): NREGS now unsigned.
5948         (reg_scan_update): old_max_regno now unsigned.
5949         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
5950         * reload.c (find_valid_class): BEST_SIZE now unsigned.
5951         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
5952         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
5953         Likewise for variable R.
5954         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
5955         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
5956         (find_equiv_reg): Add casts.
5957         (regno_clobbered_p): Arg REGNO now unsigned.
5958         * reload.h (struct reload): NREGS now unsigned.
5959         (refers_to_regno_for_reload_p): Regno args are unsigned.
5960         (regno_clobbered_p): Likewise.
5961         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
5962         (compute_use_by_pseudos): REGNO now unsigned.
5963         (find_reg): I and J now unsigned, new variable K, and change loop
5964         variables accordingly; THIS_NREGS now unsigned.
5965         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
5966         (spill_hard_reg): REGNO arg now unsigned; add casts.
5967         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
5968         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
5969         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
5970         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
5971         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
5972         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
5973         (emit_reload_insns): REGNO now unsigned.
5974         (reload_cse_move2add): Add cast.
5975         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
5976         and rework loop.
5977         * resource.c (mark_referenced_resources, mark_set_resources): New
5978         variable R; REGNO and LAST_REGNO now unsigned.
5979         (mark_target_live_regs): J and REGNO now unsigned.
5980         * rtl.c (mode_size, mode_unit_size): Now unsigned.
5981         * rtl.h (union rtunion_def): New field rtuint.
5982         (XCUINT): New macro.
5983         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
5984         (operand_subword, operand_subword_force): Word number is unsigned.
5985         (choose_hard_reg_mode): Operands are unsigned.
5986         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
5987         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
5988         (regno_use_in, combine_instructions, remove_death): Likewise.
5989         (reg_scan, reg_scan_update): Likewise.
5990         (extended_count): Return is unsigned.
5991         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
5992         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
5993         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
5994         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
5995         (reg_reg_last_1): FIRS and LAST now unsigned.
5996         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
5997         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
5998         now unsigned.
5999         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
6000         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
6001         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
6002         (replace_regs): Arg NREGS now unsigned.
6003         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
6004         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
6005         (simplify_binary_operation): Likewise.
6006         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
6007         THIS_LAST now unsigned.
6008         (cselib_record_set): Add cast.
6009         * ssa.c (ssa_max_reg_num): Now unsigned.
6010         (rename_block): REGNO now unsigned.
6011         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
6012         sizes now unsigned.
6013         (all_cases_count): Just return -1 not -2.
6014         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
6015         Rework tests to use trees whenever possible.
6016         Use host_integerp and tree_low_cst.
6017         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
6018         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
6019         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
6020         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
6021         (smallest_mode_for_size): Likewise.
6022         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
6023         KNOWN_ALIGN is now an alignment, so simplify code.
6024         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
6025         (start_record_layout): Renamed from new_record_layout_info.
6026         Update to new fields.
6027         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
6028         New functions.
6029         (place_union_field): Renamed from layout_union_field.
6030         Update to use new fields in rli.
6031         (place_field): Renamed from layout_field.
6032         Major rewrite to use new fields in rli; pass alignment to layout_decl.
6033         (finalize_record_size): Rework to use new fields in rli and handle
6034         union.
6035         (compute_record_mode): Rework to simplify and to use new DECL fields.
6036         (finalize_type_size): Make rounding more consistent.
6037         (finish_union_layout): Deleted.
6038         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
6039         (layout_type, case RECORD_TYPE): Call new function names.
6040         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
6041         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
6042         (get_best_mode): UNIT is now unsigned; remove casts.
6043         * tree.c (bit_position): Compute from new fields.
6044         (byte_position, int_byte_position): New functions.
6045         (print_type_hash_statistics): Cast to remove warning.
6046         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
6047         (build_index_type): Likewise; make subtype of sizetype.
6048         (build_index_2_type): Pass sizetype to build_range_type.
6049         (build_common_tree_nodes): Use size_int and bitsize_int to
6050         initialize nodes; add bitsize_{zero,one,unit}_node.
6051         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
6052         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
6053         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
6054         (DECL_FIELD_BITPOS): Deleted.
6055         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
6056         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
6057         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
6058         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
6059         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
6060         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
6061         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
6062         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
6063         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
6064         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
6065         (DECL_ALIGN): Adjust to new field in union.
6066         (DECL_OFFSET_ALIGN): New field.
6067         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
6068         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
6069         (union tree_decl): Add struct for both aligns.
6070         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
6071         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
6072         (struct record_layout_info): Rework fields to have offset
6073         alignment and byte and bit position.
6074         (start_record_layout, place_field): Renamed from old names.
6075         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
6076         (byte_position, int_byte_position): Likewise.
6077         (get_inner_reference): Change types of position and length.
6078         * unroll.c (unroll_loop): New variable R; use for some loops.
6079         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
6080         (calculate_giv_inc): Arg REGNO now unsigned.
6081         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
6082         * varasm.c (assemble_variable): Clean up handling of size using
6083         host_integerp and tree_low_cst.
6084         (decode_addr_const): Use byte, not bit, position.
6085         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
6086         use tree_low_cst and int_bit_position.
6087         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
6089 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
6091         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
6092         (reorder_block_def): New members eff_head and eff_end.
6093         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
6094         (verify_insn_chain): New function.
6095         (skip_insns_between_block): Add code to skip deleted insns.
6096         Check for note before using.
6097         (chain_reorder_blocks): Replace calls to skip_insns_between_block
6098         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
6099         Check for note before using.
6100         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
6101         (fixup_reorder_chain): Restructure, clean up, defect removal.
6102         (reorder_basic_blocks): Remove last_insn and references to it.
6103         Moved insn chain verification code into a new function (see above).
6104         Delete defective code that sets last insn.
6105         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
6106         all blocks.
6108 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6110         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
6112 2000-03-24  Richard Henderson  <rth@cygnus.com>
6114         * tree.c (lang_safe_for_unsave): Remove.
6115         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
6116         allowing for two levels of unsafeness.  Remove lang hook.
6117         * tree.h: Update declarations.
6118         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
6119         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
6120         Always fail sibcalls when there are pending cleanups.
6122 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
6124         * flow.c (propagate_block): When we delete an ADDR_VEC,
6125         also delete the BARRIER following it if there is one.
6127 2000-03-24  Richard Henderson  <rth@cygnus.com>
6129         * builtins.c (expand_builtin_bzero): Convert `length' argument
6130         to sizetype.
6132 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
6134         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
6135         comparison if regno's are equal.
6136         * calls.c (initialize_argument_informat): Add ecf_flags argument.
6137         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
6138         (expand_call): Update caller.
6139         Avoid making a sibling call if argument size of the callee is larger
6140         than argument size of the caller.
6141         Call hard_function_value with outgoing set if in sibcall pass.
6142         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
6144         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
6145         Change LEAF_REGISTERS from an array initializer to actual array
6146         identifier. Move static global variable into the function.
6147         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
6148         sequences for leaf functions.
6149         * global.c (global_alloc): Likewise.
6150         * tm.texi (LEAF_REGISTERS): Update documentation.
6152         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
6153         TARGET_FLAT leaf disabling hack.
6154         (LEAF_REGISTERS): Changed from an array initializer to actual array
6155         identifier to avoid duplication and remove the above hack.
6156         (FUNCTION_OK_FOR_SIBCALL): Define.
6157         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
6158         always like call attribute.
6159         (eligible_for_sibcall_delay): New attribute.
6160         (sibcall): New delay type.
6161         (sibcall, sibcall_value, sibcall_epilogue): New expands.
6162         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
6163         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
6164         * config/sparc/sparc.c (sparc_leaf_regs): New array.
6165         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
6166         New functions.
6167         (output_function_epilogue): Move part of the code into
6168         output_restore_regs.
6169         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
6170         TYPE_SIBCALL.
6171         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
6172         prototypes.
6174         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
6175         until infrastructure is finished.
6177 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
6179         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
6180         (save_parm_insns): Not here.
6182 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6184         * builtins.c (expand_builtin_bzero): New function.
6185         (expand_builtin): Handle bzero.
6187         * builtins.def: Add BUILT_IN_BZERO.
6189         * c-common.c (c_common_nodes_and_builtins): Provide builtin
6190         prototype & function for bzero.
6192 2000-03-23  Michael Meissner  <meissner@redhat.com>
6194         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
6195         change adding TARGET_FP to the TF floating point insns, except for
6196         trunctfsf2, which generates direct calls to truncdfsf2.
6198 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
6200         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
6201         try to protect against middle-end changes that break binary
6202         compatibility.
6203         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
6205 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6207         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
6209 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6211         * calls.c (expand_call): If TARGET is passed by reference and
6212         is readonly, write a CLOBBER.
6214 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6216         * builtins.c (expand_builtin): Handle bcmp.
6218         * builtins.def: Add BUILT_IN_BCMP.
6220         * c-common.c (c_common_nodes_and_builtins): Provide builtin
6221         prototype & function for bcmp.
6223 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
6225         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
6226         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
6227         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
6229 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
6231         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
6232         alternative when using -fp64 -gp32.
6234 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
6236         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
6237         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
6238         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
6240         * frame.h (frame_state): Revert last change.
6241         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
6242         * libgcc2.c (throw_helper): Revert last change.
6244 2000-03-22  Richard Henderson  <rth@cygnus.com>
6246         * stmt.c (expand_asm_operands): Don't promote the temporary.
6248 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6250         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
6251         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
6252           c_get_alias_set): Likewise.
6253         * c-decl.c (duplicate_decls): Likewise.
6254         * c-typeck.c (default_conversion,build_unary_op): Likewise.
6255         * calls.c (initialize_argument_information): Likewise.
6256         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
6257         Likewise.
6258         * dwarfout.c (decl_class_context,output_type): Likewise.
6259         * expr.c (get_inner_reference): Likewise.
6260         * fold-const.c (simple_operand_p,fold): Likewise.
6261         * function.c (aggregate_value_p): Likewise.
6262         * stmt.c (expand_asm_operands): Likewise.
6263         * varasm.c (named_section): Likewise.
6265 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
6267         Implement dwarf2 exception handling for the ARM.
6268         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
6269         (DWARF_FRAME_RETURN_COLUMN): Define.
6270         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
6271         REG_FRAME_RELATED_EXPR note.
6272         (emit_sfm): Likewise.
6273         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
6274         * dwarf2out.c (reg_save): Handle saving a register to itself.
6275         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
6276         * except.c (eh_regs): Don't use the static chain reg if it's
6277         callee-saved.
6278         * frame.h (frame_state): Add cfa_saved field.
6279         * frame.c (execute_cfa_insn): Set it.
6280         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
6281         the epilogue.
6282         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
6283         Now takes a parm.
6284         (instantiate_virtual_regs): Adjust.
6285         * tm.texi: Adjust.
6286         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6287         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6288         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
6290         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
6291         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
6293 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6295         * builtins.def: New file.
6297         * Makefile.in (TREE_H): Depend on builtins.def.
6299         * builtins.c (built_in_names): Use builtins.def.
6301         * tree.h (built_in_function): Likewise.
6303 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
6305         * tree.c (size_in_bytes): Return size_zero_node, not
6306         integer_zero_node.
6308 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
6310         * config/fp-bit.c (pack_d): Correct the case when a denormal
6311         is rounded up and stops being denormal.
6313 2000-03-21  Richard Henderson  <rth@cygnus.com>
6315         * config/alpha/alpha.c (function_arg): Check for void_type_node
6316         before using MUST_PASS_IN_STACK.
6318 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
6320         * regmove.c (combine_stack_adjustments_for_block): Check that
6321         the stack pointer is a valid memory address.
6323 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
6325         * calls.c: re-install Mar 16 emit_library_call merge.
6327 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
6329         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
6330         we cannot be sure that if reload_completed base register will
6331         be properly aligned.
6333 2000-03-21  Richard Henderson  <rth@cygnus.com>
6335         * flow.c (delete_block): Fix typo last change.
6337 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
6339         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
6340         not COMPLETE_TYPE_P, to check the type of the expression.
6342 2000-03-21  Michael Meissner  <meissner@redhat.com>
6344         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
6345         all floating point insns that just tested the macro
6346         TARGET_HAS_XFLOATING_LIBS.
6347         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
6348         used to only use the gprs.
6350 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
6352         * tree.h (COMPLETE_TYPE_P): New macro.
6353         (COMPLETE_OR_VOID_TYPE_P): New macro.
6354         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
6355         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
6356         * c-aux-info.c (gen_type): Use them.
6357         * c-common.c (c_expand_expr_stmt): Likewise.
6358         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
6359         grokdeclarator, grokparms, finish_struct, start_function,
6360         store_parm_decls, combine_parm_decls): Likewise.
6361         * c-parse.y (cast_expr): Likewise.
6362         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
6363         c_size_in_bytes, c_alignof, build_component_ref,
6364         build_indirect_ref, build_array_ref, convert_arguments,
6365         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
6366         * calls.c (initialize_argument_information): Likewise.
6367         * convert.c (convert_to_integer): Likewise.
6368         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
6369         * dwarfout.c (location_or_const_value_attribute,
6370         output_enumeration_type_die, output_structure_type_die,
6371         output_union_type_die, output_type): Likewise.
6372         * expr.c (safe_from_p, expand_expr): Likewise.
6373         * function.c (assign_parms): Likewise.
6374         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
6375         * tree.c (build_array_type, build_function_type,
6376         build_method_type, build_offset_type, build_complex_type): Likewise.
6377         * c-parse.c, c-parse.h: Regenerated.
6379 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6381         * config/c4x/rtems.h: Include config/rtems.h.
6383 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
6385         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
6386         decl is a FUNCTION_DECL
6388 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
6390         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
6391         function uses output registers.  Don't save RP for leaf functions.
6392         Do save RP even if no epilogue.
6393         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
6394         (CALL_USED_REGISTERS): Unmark in registers.
6395         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
6396         to near the middle.
6398 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
6400         * config/rs6000/rs6000.md (bunordered): New expander.
6401         (bordered): New expander.
6402         (buneq): New expander.
6403         (bunge): New expander.
6404         (bungt): New expander.
6405         (bunle): New expander.
6406         (bunlt): New expander.
6407         (bltgt): New expander.
6409         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
6410         (ccr_bit_negated_p): New function.
6411         (print_operand): For %C, generate appropriate cror for UNEQ,
6412         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
6414 2000-03-20  Andreas Jaeger  <aj@suse.de>
6416         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
6417         warning.
6419         * tree.h (safe_for_unsave): Prototype.
6421 2000-03-20  Richard Henderson  <rth@cygnus.com>
6423         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
6424         (combine_stack_adjustments_for_block): Don't allow sp references
6425         in the side of a set we're not fixing up.
6426         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
6427         after life_analysis.
6429 2000-03-20  Richard Henderson  <rth@cygnus.com>
6431         * calls.c (expand_call): Don't bother generating tail call
6432         sequences if there are pending cleanups.  Use
6433         expand_start_target_temps/expand_end_target_temps to elide
6434         cleanups created during sibcall expansion.
6436 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
6438         * configure.in: Set $IFS to a value if it doesn't already have one
6439         in the --enable-checking handling.
6440         * configure: Regenerate.
6442 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6444         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
6445         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6446         Regenerated.
6448 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
6450         * jump.c (delete_noop_moves): Remove code attempting to
6451         combine stack adjustments.
6453 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6455         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
6456         * except.c (emit_cleanup_handler): Use them.
6457         (expand_end_all_catch): Likewise.
6458         * function.c (fixup_var_refs): Likewise.
6459         (expand_function_end): Clear catch_clauses_last.
6460         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
6461         * except.h (struct eh_status): New field x_catch_clauses_last.
6462         (catch_clauses_last): New define.
6464         * Makefile.in (tree.o): Depend on HASHTAB_H.
6465         * tree.c: Include hashtab.h.
6466         (struct type_hash): Remove next field.
6467         (TYPE_HASH_SIZE): Remove.
6468         (TYPE_HASH_INITIAL_SIZE): New define.
6469         (type_hash_table): Change type to htab_t.
6470         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
6471         mark_hash_entry): New functions.
6472         (init_obstacks): Allocate type hash.
6473         (type_hash_lookup): Use htab functions.
6474         (type_hash_add, mark_type_hash): Likewise.
6475         (dump_tree_statistics): Call print_type_hash_statistics.
6477 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6479         * rs6000/t-aix41: New file.
6481         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
6483 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
6485         * tm.texi (Driver): Fix typos and tweak entry for
6486         INCLUDE_DEFAULTS.
6487         Move misplaced STRUCT_FORCE_BLK entry ...
6488         (Storage Layout): ... to here.
6489         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
6491 2000-03-19  Richard Henderson  <rth@cygnus.com>
6493         * flow.c (delete_block): Delete the addr_vec along with the block.
6494         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
6495         reference labels.
6497         * fold-const.c (extract_muldiv): Apply type check for defined
6498         overflow to multiply as well as divide.
6500         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
6502 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6504         * emit-rtl.c (remove_unncessary_notes): Check that all
6505         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
6506         associated NOTE_BLOCK.
6507         * function.h (identify_blocks): Update comments.
6508         (reorder_blocks): Declare.
6509         * function.c (identify_blocks): Don't take paramters.
6510         (reorder_blocks): Don't take parameters.
6511         * loop.h (find_loop_tree_blocks): Remove.
6512         (unroll_block_trees): Likewise.
6513         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
6514         reorder_blocks instead of unroll_block_trees.h
6515         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
6516         * stmt.c (find_loop_tree_blocks): Remove.
6517         (unroll_block_trees): Likewise.
6518         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
6519         in whole-function mode.
6520         * tree.h (reorder_blocks): Remove declaration.
6522         * expr.c: Include intl.h.
6523         * Makefile.in (expr.o): Depend on intl.h.
6525 2000-03-18  Richard Henderson  <rth@cygnus.com>
6527         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
6529 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6531         * tree.h (tree_index): Remove enumerals for integer types.
6532         (integer_type_kind): New type.
6533         (integer_types): New variable.
6534         (char_type_node): Adjust.
6535         (signed_char_type_node): Likewise.
6536         (unsigned_char_type_node): Likewise.
6537         (short_integer_type_node): Likewise.
6538         (short_unsigned_type_node): Likewise.
6539         (integer_type_node): Likewise.
6540         (unsigned_type_node): Likewise.
6541         (long_integer_type_node): Likewise.
6542         (long_unsigned_type_node): Likewise.
6543         (long_long_integer_type_node): Likewise.
6544         (long_long_unsigned_type_node): Likewise.
6545         * tree.c (integer_types): New variable.
6546         (init_obstacks): Register it as a root.
6548 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
6550         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
6551         NEXT_INSN. Update last insn in chain.
6553 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
6555         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
6556         with TYPE_DECL_SUPPRESS_DEBUG set.
6558 2000-03-18  Richard Henderson  <rth@cygnus.com>
6560         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
6562 2000-03-18  Richard Henderson  <rth@cygnus.com>
6564         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
6565         care for HALF_PIC_P.
6566         (expander_call_insn_operand): Remove.
6567         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
6568         * i386.h (PREDICATE_CODES): Update.
6569         * i386.md (all call expanders): Remove predicates, remove special
6570         handling for half-pic.
6571         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
6572         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
6573         (sibcall_epilogue): New.
6575 2000-03-17  Richard Henderson  <rth@cygnus.com>
6577         * rtlanal.c (single_set): Reject if the parallel has anything
6578         except SET or USE or CLOBBER.
6580 2000-03-17  Jeff Law  <law@cygnus.com>
6581             Richard Henderson  <rth@cygnus.com>
6583         * Makefile.in (OBJS): Add sibcall.o.
6584         (sibcall.o): New.
6585         * sibcall.c: New file.
6586         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
6587         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
6588         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
6589         Emit sibcall patterns when requested.  Update all callers.
6590         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
6591         elimination seems feasable.
6592         * final.c (leaf_function_p): Sibling calls don't discount being
6593         a leaf function.
6594         * flow.c (HAVE_sibcall_epilogue): Provide default.
6595         (find_basic_blocks_1): Sibling calls don't throw.
6596         (make_edges): Make edge from sibling call to EXIT.
6597         (propagate_block): Don't remove sibcall_epilogue insns.
6598         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
6599         (sibcall_epilogue): New.
6600         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
6601         (identify_blocks_1): Likewise.  Break out from ...
6602         (identify_blocks): ... here.
6603         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
6604         (reorder_blocks): ... here.
6605         (init_function_for_compilation): Zap prologue/epilogue as varrays.
6606         (record_insns): Extend a varray instead of mallocing new memory.
6607         (contains): Read a varray not array of ints.
6608         (sibcall_epilogue_contains): New.
6609         (thread_prologue_and_epilogue_insns): Emit and record
6610         sibcall_epilogue patterns.
6611         (init_function_once): Allocate prologue/epilogue varrays.
6612         * genflags.c (gen_insn): Treat sibcall patterns as calls.
6613         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
6614         Broken out from ...
6615         (save_for_inline_nocopy): ... here.
6616         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
6617         Broken out from ...
6618         (expand_inline_function): ... here.
6619         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
6620         (subst_constants): Handle 'n' formats.
6621         * jump.c (jump_optimize_minimal): New.
6622         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
6623         optimizations if it's set.
6624         * rtl.c (copy_rtx): Do copy jump & call for insns.
6625         * rtl.h (struct rtx_def): Document use of jump and call for insns.
6626         (SIBLING_CALL_P): New.
6627         (sibcall_use_t): New.
6628         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
6629         Invoke optimize_sibling_and_tail_recursive_calls.
6630         * tree.c (lang_safe_for_unsave): New.
6631         (safe_for_unsave): New.
6632         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
6634         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
6635         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
6636         (*sibcall_osf_1, *sibcall_value_osf_1): New.
6638 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
6640         * objc/objc-act.c (encode_method_prototype): Pass types, not
6641         PARM_DECLs, to int_size_in_bytes.
6643 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
6645         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
6647         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6648         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
6650 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6652         * Clean up usages of TREE_INT_CST_LOW.
6653         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
6654         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6655         Regenerated.
6656         * c-tree.h (min_precision): Move declaration to here.
6657         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
6658         (build_unary_op, add_pending_init): Use bit_position.
6659         (pending_init_member, process_init_element): Likewise.
6660         (really_start_incremental_init, push_init_level, pop_init_level):
6661         Don't make copies of nodes or modify them in place, use consistent
6662         types when tracking positions, and use tree routines computations.
6663         (set_init_index, output_init_element): Likewise.
6664         (output_pending_init_elements, process_init_element): Likewise.
6665         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
6666         tree_low_cst and int_bit_position; also minor cleanup.
6667         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
6668         (print_cst_octal): Precision is unsigned.
6669         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
6670         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
6671         (simple_type_align_in_bits): Result is unsigned int.
6672         Use tree_int_low_cst and host_integerp.
6673         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
6674         (field_byte_offset): Result is HOST_WIDE_INT.
6675         Change types of internal variables so alignments are unsigned int,
6676         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
6677         Use host_integerp, tree_low_cst, and int_bit_position.
6678         (add_bit_offset_attribute): Likewise.
6679         (add_data_member_location_attribute): Use tree_cst_low.
6680         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
6681         (add_bit_size_attribute): Use tree_low_cst.
6682         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
6683         * dwarfout.c: Similar changes to dwarf2out.c.
6684         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
6685         * genoutput.c (n_occurences): Return -1 for null string.
6686         (strip_whitespace): Accept null string and make into function.
6687         (scan_operands): Reflect above changes.
6688         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
6689         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
6690         * ssa.c (rename_registers): Add missing cast of arg to bzero.
6691         * tree.c (int_size_in_bytes): Check for too big to represent.
6692         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
6693         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
6694         New declarations.
6695         (min_precision): Delete from here.
6696         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
6697         and int_bit_position.
6698         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
6699         (encode_method_def): Likewise.
6700         (build_ivar_list_initializer): Use int_bit_position.
6701         (generate_shared_structures): Convert size.
6702         (encode_type, encode_complete_bitfield): Use integer_zerop.
6703         (encode_bitfield): Use tree_low_cst and int_bit_position.
6705 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6707         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
6709 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6711         * call.c (special_function_p): It is only malloc if it returns
6712         Pmode.
6714 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6716         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
6717         (C33_FLAG, TARGET_C3X): Add macros.
6718         (TARGET_SWITCHES): Add -m33 option.
6719         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
6721 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6723         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
6724         (PARALLEL_PACK_FLAG): Delete.
6725         (TARGET_SWITCHES): Update.
6726         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
6728 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6730         * fold-const.c (fold): Fix a few cases when the returned result
6731         is not of the same type as the input.
6733 2000-03-16  Nick Clifton  <nickc@cygnus.com>
6735         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
6736         warning.
6738 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6740         * libgcc2.h: Move prototypes above macros with the same name.
6741         Wrap some function prototypes in the conditional which indicates
6742         whether they are supported, i.e. "BITS_PER_UNIT == 8".
6744 2000-03-16  Richard Henderson  <rth@cygnus.com>
6746         * calls.c: Revert last two changes.
6748 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
6750         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
6751         has exponent 0 is a zero.
6753         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
6754         HASH may already be nonzero.  Add code/mode into hash value
6755         immediately after repeat label.
6756         (cselib_lookup): Don't leave the hash table in an inconsistent
6757         state before a hash lookup operation.
6759 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
6761         * i386.md (all HI and QI mode non-move patterns):  Conditionize
6762         by TARGET_[HQ]IMODE_MATH.
6763         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6764         x86_promote_qi_regs): Declare.
6765         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
6766         TARGET_PROMOTE_QI_REGS): New macros.
6767         (PROMOTE_MODE): New macro.
6768         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6769         x86_promote_qi_regs): New global variables.
6771 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
6773         * calls.c (emit_library_call_value_1): Break out from ...; handle
6774         VOIDmode function calls too.
6775         (emit_library_call_value): ... here.
6776         (emit_library_call): Implement by calling emit_library_call_value_1.
6778 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
6780         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
6781         Update arg_space_so_far on stack adjustments.
6782         (emit_library_call, emit_library_call_value): Likewise; take into
6783         account arg_space_so_far and pending_stack_adjust when calculcating
6784         the boundary.
6786 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
6788         * flow.c: Move all basic block reordering code into its own file.
6789         (create_basic_block): Externalize.
6790         * bb-reorder.c: New file. Copy all basic block reordering code from
6791         flow.c to this file.
6792         (reorder_basic_blocks): Fix fencepost error in for-loop.
6793         (reorder_basic_blocks): Remove braces from single statement for-loops.
6794         * basic-block.h: Add declaration for create_basic_block.
6795         * Makefile.in: Add rules for bb-reorder.o.
6797 2000-03-16  Neil Booth  <NeilB@earthling.net>
6799         * cppinit.c (handle_option):  Implement #unassert directive
6800         as -A- command line option.
6801         (print_help):  Update.
6802         * cpptexi.c:  Update.
6804 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6806         * md.texi (Standard Names): Document `jump'.
6808 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
6810         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
6811         gotos.
6813 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6815         Merge changes from newppc-branch onto trunk.
6817         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6819         * rs6000.c (toc_hash_table): Update for new hash table functions.
6820         (toc_hash_function): Likewise.
6821         (toc_hash_eq): Likewise.
6822         (toc_hash_mark_entry): Likewise.
6823         (toc_hash_mark_table): Likewise.
6824         (output_toc): Likewise.
6825         (rs6000_add_gc_roots): Likewise.
6827         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6829         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
6830         (AR_FLAGS_FOR_TARGET): here.  New macro.
6832         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
6834         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
6835         fpmem_operand) Delete.
6836         (xer_operand) New.
6837         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
6838         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
6839         (rs6000_save_machine_status, rs6000_restore_machine_status,
6840         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
6841         references to above variables.
6842         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
6843         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
6844         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
6845         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
6846         (XER_REGNO_P, XER_REGNO): New.
6847         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
6848         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
6849         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
6850         XER_REGNO_P.
6851         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
6852         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
6853         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
6855         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6857         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
6858         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
6859         * rs6000.h: from here.
6861         * rs6000-protos.h (rs6000_select_section): Provide prototype.
6862         (rs6000_select_rtx_section): Likewise.
6863         (rs6000_encode_section_info): Likewise.
6864         (sdata_section): Likewise.
6865         (sdata2_section): Likewise.
6866         (sbss_section): Likewise.
6867         * sysv4.h (rs6000_select_section): Delete prototype.
6868         (rs6000_select_rtx_section): Likewise.
6869         (rs6000_encode_section_info): Likewise.
6870         (sdata_section): Likewise.
6871         (sdata2_section): Likewise.
6872         (sbss_section): Likewise.
6873         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
6875         * sysv4.h: Delete various unnecessary #undef's and put a comment
6876         on the remaining ones.
6877         Change various comments according to coding standard.
6879         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
6881         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
6882         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
6883         (CR0_REGNO_P) Remove.
6884         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
6885         setup_incoming_varargs, mtcrf_operation, print_operand,
6886         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
6887         Use the above macros.
6889         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
6891         * config/rs6000/rs6000.md: Added a new alternative for each
6892         pattern that had a 'x' alternative but no 'y' alternative.
6893         Added a new split for each of the above patterns.
6895         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6897         * aix41.h (ASM_CPU_SPEC): Delete.
6898         (CPP_CPU_SPEC): Delete.
6900         * aix.h (RS6000_OUTPUT_BASENAME): Define.
6901         (ASM_OUTPUT_LABEL): Define.
6902         (ASM_GLOBALIZE_LABEL): Define.
6903         (STRIP_NAME_ENCODING): Define.
6904         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
6905         (STRIP_NAME_ENCODING): Don't define.
6906         (ASM_OUTPUT_LABEL): Don't define.
6907         (ASM_GLOBALIZE_LABEL): Don't define.
6908         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
6909         names, and ASM_OUTPUT_LABEL to output labels, rather than
6910         asm_fprintf.
6911         (ASM_OUTPUT_LABEL): Define.
6912         (ASM_OUTPUT_INT): Use assemble_name.
6913         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
6914         (STRIP_NAME_ENCODING): Don't undefine first.
6915         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
6916         ELF.
6917         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
6918         specified with 'asm' even with -fleading-underscore.
6919         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
6920         (output_epilog): Likewise.
6921         (output_toc): Likewise.
6922         * tramp.asm: Handle -fleading-underscore correctly.
6924         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
6925         -mminimal-toc.
6926         (nonlocal_goto_receiver): Delete.
6927         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
6929         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
6930         (SET_ASM_OP): Define.
6931         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
6933         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
6934         (ASM_LONG): Define.
6936         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
6937         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
6939         * rs6000.h: Add 'u' to more constants.
6941         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
6943         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
6945         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
6947         * rs6000.c (reg_or_u_cint_operand): New function.
6948         (logical_operand): Handle 64-bit hosts.
6949         (logical_u_operand): New function.
6950         (non_logical_cint_operand): Handle 64-bit hosts.
6951         (non_logical_u_cint_operand): New function.
6952         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
6953         (PREDICATE_CODES): Define new functions.
6954         * rs6000-protos.h: Declare new functions.
6955         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
6956         (movdi_64): Bracket code intended for 64-bit hosts.  Create
6957         CONST_DOUBLE for 32-bit values.
6958         (scc insns): Generate DImode compares.
6959         (mfcr insns): Create DImode versions.
6960         (sge matchers): New patterns.
6962         2000-02-15  Gabriel Paubert  <paubert@iram.es>
6964         * rs6000.md: Correct instructions length attributes and
6965         constraints on unsigned compare instructions.
6966         (*ne0): Disable for PowerPC64.
6968         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6970         * rs6000.c (output_function_profiler): Use .long for a 32-bit
6971         quantity, fix profile1.C test failure under -fPIC.
6973         * rs6000.c: Add 'u' to many constants to suppress warnings.
6974         (constant_pool_expr_1): Make static.
6975         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
6976         * rs6000.h: Add 'u' to many constants to suppress warnings.
6978         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
6979         for the start of the TOC, instead of LCTOC..0.
6980         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
6981         of the TOC.
6982         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
6983         (load_toc_aix_di): Use LCTOC..1.
6985         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
6986         * rs6000.c (rs6000_legitimize_address): New function from
6987         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
6988         symbols in the constant pool that really are TOC references.
6989         (print_operand_address): For ELF, write TOC offsets under
6990         -fPIC as subtractions in the insn.
6991         (output_toc): For ELF, define symbols in TOC as normal labels,
6992         to match RTL.
6993         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
6994         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
6995         (create_TOC_reference): Prototype only when RTX_CODE is defined.
6996         * rs6000.md (movsi): Only use create_TOC_reference on
6997         symbols in the constant pool that really are TOC references.
6999         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
7000         * rs6000.c (rs6000_reorg): Delete.
7001         * rs6000-protos.h (rs6000_reorg): Delete.
7003         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
7005         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
7007         * aix.h (SETUP_FRAME_ADDRESSES): Define.
7008         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
7009         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
7010         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
7011         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
7012         rs6000_aix_emit_builtin_unwind_init.
7013         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
7014         rs6000_emit_eh_toc_restore on AIX.
7015         (return_eh_si): Use r2.
7016         (return_eh_di): Use r2.
7018         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
7019         since we're breaking binary compatibility anyway.
7021         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7023         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
7024         constant_pool_expr_p): Declare them.
7025         (constant_pool_expr_p): Declare it.
7026         * config/rs6000/rs6000.c (toc_label_name): Define.
7027         (rs6000_override_options): Set toc_label_name.
7028         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
7029         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
7030         uses_TOC): New functions.
7031         (print_operand): Delete old '*' case.
7032         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
7033         and strip off rtl for TOC before calling output_addr_const.
7034         (rs6000_emit_load_toc_table): Use toc_label_name.
7035         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
7036         the default.
7037         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
7038         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
7039         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
7040         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
7041         into explicit TOC_REGISTER offsets.
7042         (TOC_REGISTER): New macro.
7043         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
7044         TARGET_TOC to reference TOC_REGISTER.
7045         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
7046         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
7047         uses_TOC before emitting label references.
7049         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7051         * rs6000.md (stack_tie): Fix warning.
7053         * eabi-ctors.c: Use 'asm' names for the start/end variables,
7054         to handle -fleading-underscore.
7055         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
7056         (USER_LABEL_PREFIX): New macro.
7057         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
7058         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
7059         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
7060         call-linux can use the same multilibs.
7061         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
7062         and call-linux multilibs.  Do multilib with -fleading-underscore.
7063         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
7064         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
7065         to call-aix.
7067         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
7068         have MASK_SOFT_FLOAT set.
7069         (CPP_FLOAT_DEFAULT_SPEC): New macro.
7070         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
7071         CPP_FLOAT_DEFAULT_SPEC.
7073         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
7074         * rs6000.md: Whitespace change.
7075         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
7076         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
7078         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7080         * rs6000.md (eh_epilogue): New expander.
7081         (eh_reg_restore): New expand/split/insn combination.
7082         (return_eh_si): New insn.
7083         (return_eh_di): New insn.
7085         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
7086         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
7087         * eabi-ctors.c (__do_global_ctors): Register this object's
7088         frame.  Clean up.  Call atexit() after the constructors.
7089         (__do_global_dtors): Deregister this object's frame.  Clean up.
7090         Allow for recursive calls to exit().
7091         * rs6000.c (fixuplabelno): New variable.
7092         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
7093         TARGET_RELOCATABLE, it slows down exec() under linux.
7094         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
7096         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
7097         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
7098         (ASM_OUTPUT_DWARF_DELTA2): New macro.
7099         (ASM_OUTPUT_DWARF_DELTA4): New macro.
7100         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
7101         (ASM_OUTPUT_DWARF_ADDR): New macro.
7102         (ASM_OUTPUT_DWARF_DATA4): New macro.
7103         (ASM_OUTPUT_DWARF_DATA2): New macro.
7104         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
7105         (ASM_OUTPUT_DWARF_OFFSET): New macro.
7106         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
7108         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
7110         * rs6000.c (rs6000_sr_alias_set): New variable.
7111         (rs6000_override_options): Initialise rs6000_sr_alias_set.
7112         (rs6000_emit_stack_tie): New function.
7113         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
7114         in a way that dwarf2out can understand.
7115         (rs6000_frame_related): New function.
7116         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
7117         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
7118         Use rs6000_emit_stack_tie when needed.
7119         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
7120         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
7121         * rs6000.md (stack_tie): New insn.
7122         (return_internal_si): Allow return value to be in the count
7123         register.
7124         (return_internal_di): Likewise.
7126         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
7128         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
7130         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
7132         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
7134         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
7136         * rs6000.md (stmw): Use the right POWER opcode.
7137         (lmw): Likewise.
7139         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7141         * rs6000-protos.h: New file.
7143         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
7145         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
7146         warnings.
7148         * sysv4.h: Likewise.
7150         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
7152         * ../../configure.in: Delete powerpcle-*-winnt*
7153         and powerpcle-*-pe|powerpcle-*-cygwin*.
7154         * ../../configure: Regenerated.
7155         * cygwin.h: Delete.
7156         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
7157         (TARGET_WINDOWS_NT): Delete.
7158         (ABI_NT): Delete.
7159         (CALL_NT_DLLIMPORT): Delete.
7160         Delete NT-specific code.
7161         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
7162         * win-nt.h: Delete.
7163         * t-winnt: Delete.
7164         * nt-ci.asm: Delete.
7165         * nt-cn.asm: Delete.
7166         * ntstack.asm: Delete.
7168         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7170         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
7171         (ASM_FILE_START): Likewise.
7172         (ASM_DECLARE_FUNCTION_NAME): Likewise.
7173         (ASM_OUTPUT_LABELREF): Likewise.
7174         (ASM_OUTPUT_SKIP): Likewise.
7175         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
7176         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
7177         (ASM_OUTPUT_CASE_LABEL): Likewise.
7178         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
7179         (ASM_OUTPUT_ASCII): Likewise.
7181         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
7183         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
7184         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
7185         increment rs6000_pic_labelno here.
7186         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
7187         and increment rs6000_pic_labelno here.
7189         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
7191         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
7192         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
7193         allocation knows (reg) is dead before the insn.
7195         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
7197         * rs6000.md (movsi_to_cr): Correct typo in output template.
7199         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
7201         * rs6000.c (rs6000_pic_labelno): Always define.
7202         (rs6000_pic_func_labelno): Delete.
7203         (lmw_operation): Check for a zero base register,
7204         which doesn't mean what we want.
7205         (stmw_operation): New function.
7206         (print_operand): Define new 'l' modifier.
7207         (rs6000_stack_info): We must save all 64 bits of the registers
7208         if TARGET_POWERPC64.
7209         (rs6000_output_load_toc_table): Delete.
7210         (rs6000_emit_load_toc_table): New function.
7211         (rs6000_allocate_stack_space): Delete.
7212         (rs6000_emit_allocate_stack): New function.
7213         (rs6000_emit_prologue): New function.
7214         (output_prolog): Use rs6000_emit_prologue.
7215         (rs6000_emit_epilogue): Change a few variable names to be
7216         more accurate.  Restore all 64 bits of the registers if
7217         TARGET_POWERPC64.  Only restore the FP registers which were used
7218         if they are being saved/restored one-at-a-time.
7219         (output_mi_thunk): Delete inefficient code generation.
7220         (output_function_profiler): Don't use rs6000_output_load_toc_table.
7221         * rs6000.h: Declare rs6000_emit_load_toc_table,
7222         rs6000_allocate_stack_space, stmw_operation.  Don't declare
7223         rs6000_output_load_toc_table.
7224         * rs6000.md (elf_high): Allow register 0, but discourage it
7225         heavily.
7226         (elf_low): Support loading into register 0.
7227         (load_toc_aix_si): New pattern.
7228         (load_toc_aix_di): New pattern.
7229         (load_toc_v4_pic_si): New pattern.
7230         (load_toc_v4_pic_di): New pattern.
7231         (load_toc_v4_PIC_1): New pattern.
7232         (load_toc_v4_PIC_1b): New pattern.
7233         (load_toc_v4_PIC_2): New pattern.
7234         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
7235         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
7236         (prologue): New expander.
7237         (movesi_from_cr): New pattern.
7238         (stmw): New pattern.
7239         (save_fpregs_si): New pattern.
7240         (save_fpregs_di): New pattern.
7242         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7244         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
7245         (movdi): Likewise.
7246         (movhi): Likewise.
7247         (movqi): Likewise.
7249         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7251         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
7252         at present.
7253         (movsi_got_internal): Likewise.
7254         (movsi_got_internal+1): Likewise.
7255         (set_sp): 'unspec 7' does a SImode clobber.
7257         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7259         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
7260         allocate a stack temporary.
7261         (floatsidf2_internal): Likewise.
7262         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
7263         with unspec.
7264         (floatunssidf2): Don't use the fpmem "register", just
7265         allocate a stack temporary.
7266         (floatunssidf2_internal): Likewise.
7267         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
7268         with unspec.
7269         (floatsidf2_loadaddr): Delete.
7270         (floatsidf2_store1): Delete.
7271         (floatsidf2_store2): Delete.
7272         (floatsidf2_load): Delete.
7273         (fix_truncdfsi2): Don't use the fpmem "register", just
7274         allocate a stack temporary.
7275         (fix_truncdfsi2_internal_si): Delete.
7276         (fix_truncdfsi2_internal_di): Delete.
7277         (fix_truncdfsi2_internal): New insn.
7278         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
7279         (fix_truncdfsi2_store): Delete.
7280         (fix_truncdfsi2_load): Delete.
7281         (fctiwz): Produce gen_fctiwz.
7283         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
7285         * eabi.h (INVOKE__main): Define.
7286         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
7287         specially.
7288         (rs6000_emit_prologue): Likewise.
7289         * rs6000.h (struct rs6000_stack): Don't keep track of whether
7290         this is the main program.
7292         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7294         * rs6000.c (rs6000_va_arg): Delete some unused variables.
7296         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7298         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
7299         goes after the argument.
7301         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
7303         * rs6000.md: Document 'unspec' values used.
7304         (epilogue): New expander.
7305         (movesi_to_cr_one): New expander.
7306         (movesi_to_cr and following): New pattern.
7307         (lmw): New pattern.
7308         (return_internal_si): New pattern.
7309         (return_internal_di): New pattern.
7310         (return_and_restore_fpregs_si): New pattern.
7311         (return_and_restore_fpregs_di): New pattern.
7312         * rs6000.h: Declare new functions.
7313         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
7314         rather than rs6000_calls_p.
7315         (rs6000_makes_calls): Delete.
7316         (lmw_operation): New function.
7317         (mtcrf_operation): New function.
7318         (rs6000_emit_epilogue): New function.
7319         (output_epilog): Call rs6000_emit_epilogue and final if
7320         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
7322         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
7324         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
7325         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
7326         * aix.h (SUBTARGET_SWITCHES): Document switches.
7327         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
7328         sched-prolog and sched-epilog the same.  Document all the
7329         switches.
7330         (TARGET_OPTIONS): No longer allow -mdebug-.
7332         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
7334         * rs6000.h (ASM_FILE_END): Move to aix.h.
7335         (EXTRA_SECTIONS): Move to aix.h.
7336         (READONLY_DATA_SECTION): Move to aix.h.
7337         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
7338         (SELECT_SECTION): Move to aix.h.
7339         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
7340         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
7341         (LINK_REGISTER_REGNUM): New definition.
7342         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
7343         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
7344         AIX and SVR4.
7345         * sysv4.h: Delete the code between the inclusion of rs6000.h
7346         and svr4.h.
7347         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
7348         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
7349         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
7350         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
7351         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
7352         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
7353         (fix_truncdfsi2_internal_di): New pattern.
7354         (fix_truncdfsi2_store): The second arg here is Pmode too.
7355         (fix_truncdfsi2_load): The second arg here is Pmode too.
7356         (tablejumpdi): Now that switch tables hold only SImode values,
7357         gcc needs to know how to add them to the pc which is DImode.
7358         * rs6000.c (rs6000_stack_info): Use symbolic name for
7359         LINK_REGISTER_REGNUM.
7360         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
7361         (output_toc): Delete unused variables s1 and s2.
7362         (output_ascii): Use fputs not fprintf on a variable string.
7364         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
7366         * rs6000.c (processor_target_table): Add power3 as alias for 630.
7367         * aix43.h: Revert Aug 2 change.
7368         (HAS_INIT_SECTION): Define, not visible yet.
7369         (LD_INIT_SWITCH): Define, not visible yet.
7370         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
7372         2000-01-04  Joel Sherrill (joel@OARcorp.com>
7374         * config/rs6000/rtems.h: Include config/rtems.h.
7376         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
7378         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
7379         (SLOW_UNALIGNED_ACCESS): Define.
7380         (CASE_VECTOR_MODE): Always use 32-bit offsets.
7381         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
7382         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
7383         (toc_section): Likewise and .toc pseudo-op.
7384         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
7385         64-bit mode.
7386         (TEXT_SECTION_ASM_OP): Likewise.
7387         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
7388         32-bit offsets.
7390         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
7392         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
7393         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
7394         compiling libgcc2.
7396         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7398         * rs6000.h: Move more stuff from here...
7399         * aix.h: to here.
7400         * sysv4.h: Cleanup accordingly.
7401         * netware.h: Likewise
7403         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7405         * rs6000.h: Continue cleanup.
7406         * aix.h: Likewise.
7407         * lynx.h: Likewise.
7408         * netware.h: Likewise.
7409         * sol2.h: Likewise.
7410         * sysv4.h: Likewise.
7411         * win-nt.h: Likewise.
7413         * rs6000.h (TARGET_SWITCHES): Add descriptions.
7414         (TARGET_OPTIONS): Likewise.
7416         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
7417         (SUBTARGET_OPTIONS): Likewise.
7419         * rs6000.md: Fix compile time warnings.
7421         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7423         vxworks patches from the Cygnus tree originally by
7424         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
7425         <vmakarov@cygnus.com>.
7426         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
7427         (ENDFILE_SPEC): Likewise.
7428         (LIB_VXWORKS_SPEC): New macro.
7429         (STARTFILE_VXWORKS_SPEC): New macro.
7430         (ENDFILE_VXWORKS_SPEC): New macro.
7431         (LINK_START_VXWORKS_SPEC): New macro.
7432         (LINK_OS_VXWORKS_SPEC): New macro.
7433         (CPP_OS_VXWORKS_SPEC): New macro.
7434         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
7435         * vxppc.h: Rewrite to use proper configuration method.
7436         * vxppcle.h: New file.
7437         * ../../configure.in: Add powerpcle-wrs-vxworks*.
7438         * ../../configure: Rebuilt.
7440         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7442         Lots of changes to rs6000.h, sysv4.h, aix.h,
7443         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
7444         with the aim that rs6000.h is the first header
7445         included and the others override it.
7446         * aix.h: New file.
7448         * x-aix41-gld: Remove.
7449         * x-aix43: Remove.
7450         * x-aix41: Remove target-specific switches, and don't specify
7451         -Wl,-bbigtoc as we don't need it any more.
7452         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
7453         Use t-aix43 for AIX 4.3 and above.
7454         * ../../configure: Regenerated.
7456         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
7457         options, that don't do anything yet.
7458         (MASK_SCHED_PROLOG): New macro.
7459         (MASK_SCHED_EPILOG): New macro.
7460         (TARGET_SCHED_PROLOG): New macro.
7461         (TARGET_SCHED_EPILOG): New macro.
7463         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7465         * rs6000.c: Correct comment, the `minimal' TOCs are actually
7466         one per translation unit, not one per function.
7467         (output_toc): Also do duplicate constant elimination
7468         for per-translation-unit TOCs.
7470         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
7471         a comment explaining _exactly_ when this pattern gets used.
7472         (builtin_setjmp_receiver): New pattern for better clarity.
7473         (init_v4_pic): Move it into a section dealing with TOC registers.
7475         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
7477         * rs6000.c (toc_hash_table): New variable.
7478         (rs6000_hash_constant): New function.
7479         (toc_hash_function): New function.
7480         (toc_hash_eq): New function.
7481         (toc_hash_mark_entry): New function.
7482         (toc_hash_mark_table): New function.
7483         (output_toc): Don't output duplicate TOC entries in
7484         a single file.
7485         (rs6000_add_gc_roots): Add the hash table as a GC root.
7486         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
7487         where they clearly shouldn't be.  This may need to be fixed
7488         later when there is a GNU ar for AIX.
7489         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
7490         Don't define BOOT_LDFLAGS as it is now not necessary.
7492         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
7494         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
7495         for va_list on AIX.  Use unsigned_char_type_node rather than
7496         constructing our own version on svr4.
7498         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
7500         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
7501         since patently it's not.
7503         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
7505         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
7506         define_expand/define_insn pair, and handle restore of the
7507         SVR4 -fpic register.
7509 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
7511         * acconfig.h (HAVE_GAS_WEAK): New define.
7512         * configure.in (assembler weak support): Check for .weak support.
7513         * config.in, configure: Rebuilt.
7514         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
7515         HAVE_GAS_WEAK is defined.
7517 2000-03-15  Nick Clifton  <nickc@cygnus.com>
7519         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
7520         asm_fprintf().
7522 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
7524         * cppfiles.c (open_include_file): New function.
7525         (find_include_file, cpp_read_file): Use it.
7527 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
7529         * cpphash.c (dump_hash_helper): Take the slot, not the element.
7531 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
7533         * flow.c (verify_flow_info): Check for unconditional return.
7535 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
7537         * config/ia64/ia64.md (restore_stack_nonlocal): New.
7538         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
7539         (__ia64_restore_stack_nonlocal): New.
7540         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
7542 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7544         * cpphash.c (collect_formal_parameters): Do not complain about
7545         parameter names that just start with `__VA_ARGS__'.
7547 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
7549         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
7550         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
7551         * i386.c (pentiumpro_cost): Set mul cost to 4.
7552         (x86_use_movx): Set for PPro.
7554 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
7556         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
7557         STACK_BOUNDARY for empty frames now.
7559 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
7561         * stor-layout.c (layout_union): Remove.
7562         (layout_union_field): New function, split out from layout_union.
7563         (finish_union_layout): Likewise.
7564         (layout_field): Handle unions by calling layout_union_field.
7565         (finish_record_layout): Handle unions.
7566         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
7567         QUAL_UNION_TYPE handling.
7569 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
7571         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
7572         end of basic block is jump_insn, not barrier; use create_basic_block
7573         instead of creating basic block by hand.
7575 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
7577         * flow.c (reorder_basic_blocks): Account for barriers when writing
7578         over NEXT_INSN (last_bb->end).
7579         (verify_flow_info): Add check for missing barriers.
7581 2000-03-14  Greg McGary  <gkm@gnu.org>
7583         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
7584         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
7585         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
7586         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
7587         __unbounded, __unbounded__): New keywords.
7588         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
7589         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
7590         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
7592 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7594         * cselib.h: New file.
7595         * alias.c: Include "cselib.h".
7596         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
7597         MEMs as two new arguments.
7598         (get_addr): New static function.
7599         (find_base_term): Handle VALUEs.
7600         (memrefs_conflict_p): Likewise.
7601         (true_dependence): Call get_addr on the addresses.
7602         Call fixed_scalar_and_varying_struct_p with addresses that have been
7603         passed through get_addr and canon_rtx.
7604         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
7605         with true_dependence.
7606         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
7607         * loop.c: Include "cselib.h".
7608         (load_mems): Process extended basic block that enters the loop with
7609         cselib.  Use that information to change initialization of the shadow
7610         register so that a constant equivalence is seen by later passes.
7611         * reload1.c: Include "cselib.h".
7612         (reload_cse_invalidate_regno): Delete function.
7613         (reload_cse_mem_conflict_p): Likewise.
7614         (reload_cse_invalidate_mem): Likewise.
7615         (reload_cse_invalidate_rtx): Likewise.
7616         (reload_cse_regno_equal_p): Likewise.
7617         (reload_cse_check_clobber): Likewise.
7618         (reload_cse_record_set): Likewise.
7619         (reg_values): Delete static variable.
7620         (invalidate_regno_rtx): Likewise.
7621         (reload_cse_delete_noop_set): New static function.
7622         (reload_cse_simplify): New static function, broken out of
7623         reload_cse_regs_1.
7624         (reload_cse_noop_set_p): Delete unused argument INSN.
7625         Just call rtx_equal_for_cselib_p on set source and destination.
7626         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
7627         reload_cse_delete_noop_set.  Delete code to keep track of values; use
7628         cselib functions instead.  Delete code to push/pop obstacks.
7629         (reload_cse_simplify_set): Use cselib to find equivalent values.
7630         Delete code to push/pop obstacks.
7631         (reload_cse_simplify_operands): Likewise.
7632         * rtl.def (VALUE): New rtx code.
7633         * rtl.h (union rtunion_def): New elt rt_cselib.
7634         (X0CSELIB, CSELIB_VAL_PTR): New macros.
7635         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
7636         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
7637         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
7638         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
7639         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
7640         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
7641         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
7642         cselib_record_set, cselib_record_sets): New static functions.
7643         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
7644         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
7645         references_value_p): New functions.
7646         (MAX_USELESS_VALUES, REG_VALUES): New macros.
7647         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
7648         n_useless_values, reg_values, callmem, cselib_obstack,
7649         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
7650         New static variables.
7651         * varray.h (union varray_data_tag): New elt te.
7652         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
7653         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
7654         dependencies.
7656 2000-03-14  Nick Clifton  <nickc@cygnus.com>
7658         * gcc.c (do_spec_1): Catch the case where %* is used in a
7659         substitution pattern, but it has not been initialised.
7660         Issue a meaningful error message if an unrecognised operator
7661         is encountered in a spec string.
7663 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
7665         * function.c (prepare_function_start): Correctly initialize
7666         cfun->stack_alignment_needed.
7668 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
7670         * cppfiles.c (find_include_file): Don't assume nshort is a
7671         substring of name.
7673 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
7675         * configure.in (hppa configurations): Add pa32-regs.h to the
7676         list of tm files as appropriate.
7677         * configure: Rebuilt.
7678         * pa.c (compute_frame_size): Remove explicit knowledge about FP
7679         register numbering.
7680         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
7681         (fmpyaddoperands, fmpysuboperands): Likewise.
7682         * pa.h: Remove various definitions which depend on knowing
7683         how registers are numbered.
7684         * pa32-regs.h: New file with PA32 register numbering specific
7685         definitions.
7687 2000-03-14  Richard Henderson  <rth@cygnus.com>
7689         * regmove.c (combine_stack_adjustments): New.
7690         (stack_memref_p, single_set_for_csa): New.
7691         (free_csa_memlist, record_one_stack_memref): New.
7692         (try_apply_stack_adjustment): New.
7693         (combine_stack_adjustments_for_block): New.
7694         * rtl.h (combine_stack_adjustments): Declare.
7695         * toplev.c (rest_of_compilation): Call it.
7697         * i386.md: Revert 2000-01-16 change.
7699 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7701         * gccbug.in: Add web category, gcc specific classes.
7703 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
7705         * stor-layout.c (finalize_record_size): Fix typo.
7707 2000-03-14  Stan Shebs  <shebs@apple.com>
7709         * c-typeck.c (c_alignof): Error on incomplete types.
7710         * extend.texi (Alignment): Document this.
7712 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7714         * cppfiles.c: Include mkdeps.h.
7715         (find_include_file, read_include_file): Remove _cpp_ prefix
7716         from name, make static.
7717         (_cpp_execute_include): New function, broken out of
7718         do_include.
7720         * cpplib.c: Don't include mkdeps.h.
7721         (struct directive): Remove type field. Reorder entries.  The
7722         function takes only one argument.
7723         (struct if_stack): Make type field an int.
7724         (directive_table): Rename to dtable.  Generate it, the
7725         prototypes of the directive handlers, and the enum for the
7726         directive numbers, from a template macro.
7727         (do_ifndef, do_include_next, do_import): New functions.
7728         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
7729         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
7730         do_ident, do_assert, do_unassert, do_sccs): Take only one
7731         argument.
7732         (do_sccs): Define always, but alter behavior based on
7733         SCCS_DIRECTIVE.
7734         (_cpp_handle_directive, consider_directive_while_skipping):
7735         Restructure for new directive table layout.
7737         (pass_thru_directive): Take a directive number, not a pointer
7738         to a struct directive.
7739         (parse_include): New function, broken out of do_include.
7740         (do_include, do_import, do_include_next): Use parse_include
7741         and _cpp_execute_include.
7742         (do_elif, do_else): Test for T_ELSE specifically when checking
7743         for #elif/#else after #else.
7744         (parse_ifdef): New function, broken out of do_ifdef.
7745         (validate_else): Expect a name arg without a leading #.
7746         (if_directive_name): Delete.
7747         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
7748         directive handlers with only one argument.
7750         * cpphash.h: Update prototypes.
7751         (enum node_type): Remove entries for directives.
7752         * Makefile.in: Update dependencies.
7754         * cpphash.c (dump_hash_helper): Only dump nodes of type
7755         T_MACRO.  Emit a newline after each definition.
7757 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7759         * gccbug.in: New file.
7760         * configure.in (all_outputs): Add gccbug.
7761         * Makefile.in (install-common): Install gccbug.
7762         (GCCBUG_INSTALL_NAME): New variable.
7763         * configure: Rebuilt.
7765 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7767         * function.c (put_var_into_stack): Use type_for_mode to calculate
7768         part_type.  Use MEM_SET_IN_STRUCT_P.
7769         * expr.c (store_field): Handle CONCAT.
7770         (store_constructor): Use fields_length.
7771         * tree.c (fields_length): New fn.
7772         * tree.h: Declare it.
7774 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7776         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
7777         (cpplex.o): New target.
7778         * po/POTFILES.in: Add cpplex.c.
7780         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
7781         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
7782         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
7783         skip_block_comment, skip_line_comment, skip_comment,
7784         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
7785         _cpp_parse_name, skip_string, parse_string,
7786         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
7787         _cpp_get_directive_token, find_position,
7788         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
7789         (maybe_macroexpand, _cpp_lex_token): New functions.
7791         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
7792         parse_goto_mark): Delete.
7793         (_cpp_handle_eof): New function.
7794         (_cpp_handle_directive): Rename from handle_directive.
7795         (_cpp_output_line_command): Rename from output_line_command.
7796         (do_if, do_elif): Call _cpp_parse_expr directly.
7797         * cppfiles.c (_cpp_read_include_file): Don't call
7798         init_input_buffer here.
7799         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
7800         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
7801         here; pop the token_buffer and skip the rest of the line here.
7802         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
7803         here.
7805         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
7806         Define here.
7807         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
7808         CPP_GOTO_MARK): New macros.
7809         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
7810         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
7811         _cpp_read_and_prescan, _cpp_init_input_buffer,
7812         _cpp_grow_token_buffer, _cpp_get_directive_token,
7813         _cpp_handle_directive, _cpp_handle_eof,
7814         _cpp_output_line_command): Prototype them here.
7815         * cpplib.h (enum cpp_token): Add CPP_MACRO.
7816         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
7817         quote_string, output_line_command): Remove.
7819 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
7821         * stmt.c (expand_end_case): RANGE may be signed, and when checking
7822         whether it is too large we must also verify that it isn't negative.
7824 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
7826         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
7827         (movsi_zero_liveg0): Remove.
7828         (movsf_insn_novis_liveg0): Remove.
7829         (negsi2): Remove.
7830         (negsi2_not_liveg0): Rename to negsi2.
7831         (one_cmplsi2): Remove.
7832         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
7833         (one_cmplsi2_liveg0): Remove.
7834         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
7835         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
7836         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
7837         (PREDICATE_CODES): Remove zero_operand.
7838         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
7839         TARGET_BROKEN_SAVERESTORE.
7840         (zero_operand): Remove.
7841         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
7842         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
7843         options.
7844         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
7845         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7846         TARGET_BROKEN_SAVERESTORE): Remove.
7847         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7848         Remove.
7849         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7850         Remove.
7851         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7852         Remove.
7854         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
7856 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7858         * cpplib.c (do_pragma_implementation): Fix off-by-one error
7859         truncating a string.  Don't assume tokens are nul terminated.
7860         Problem noted by Andreas Jaeger <aj@suse.de>
7862 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7864         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
7865         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
7866         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
7868 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
7870         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
7871         STRUCTURE_SIZE_BOUNDARY.
7873 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
7875         * tree.h (record_layout_info_s): New structure.
7876         (record_layout_info): New type.
7877         (new_record_layout_info): New function.
7878         (layout_field): Likewise.
7879         (finish_record_layout): Likewise.
7880         * stor-layout.c (layout_record): Remove.
7881         (new_record_layout_info): New function.
7882         (layout_field): New function, broken out from layout_record.
7883         (finalize_record_size): Likewise.
7884         (compute_record_mode): Likewise.
7885         (finalize_type_size): New function, broken out from layout_type.
7886         (finish_record_layout): Likewise.
7887         (layout_type): Use them.
7889 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7891         * cpphash.c: Don't include version.h.
7892         (special_symbol) [case T_VERSION]: Look for the string in
7893         hp->value.cpval; don't use version_string.
7894         * cppinit.c (initialize_builtins): Set hp->value.cpval for
7895         __VERSION__ to version_string.
7896         * Makefile.in (cpphash.o): Update deps.
7898 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7900         Convert cpplib to use libiberty/hashtab.c.
7902         * cpplib.h (struct cpp_reader): Make hashtab and
7903         all_include_files of type 'struct htab *'.  Delete HASHSIZE
7904         and ALL_INCLUDE_HASHSIZE macros.
7906         * cpphash.h: Update prototypes.
7907         (struct hashnode): Remove next, prev, and bucket_hdr members.
7908         Make length a size_t.  Add hash member.
7909         (struct ihash): Remove next member.  Add hash member.  Make
7910         name a flexible array member.
7912         * cppfiles.c: Include hashtab.h.
7913         (include_hash): Delete.
7914         (IHASHSIZE): New macro.
7915         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
7916         (cpp_included): Do the hash lookup here.
7917         (_cpp_find_include_file): Rewrite.
7918         (cpp_read_file): Put the "fake" hash entry into the hash
7919         table.  Honor the control_macro, if it turns out we've seen
7920         the file before.  Don't push the buffer here.
7921         (_cpp_read_include_file): Push the buffer here.
7922         (OMODES): New macro.  Use it whenever we call open(2).
7924         * cpphash.c: Include hashtab.h.
7925         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
7926         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
7927         _cpp_lookup_slot): New functions.
7928         (HASHSIZE): new macro.
7929         (hashf, _cpp_install, _cpp_delete_macro): Delete.
7930         (_cpp_lookup): Use hashtab.h routines.
7932         * cppinit.c: Include hashtab.h.
7933         (cpp_reader_init): Call _cpp_init_macro_hash and
7934         _cpp_init_include_hash.  Don't allocate hashtab directly.
7935         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
7936         pfile->all_include_files.
7937         (initialize_builtins): Use _cpp_make_hashnode and
7938         htab_find_slot to add hash entries.
7939         (cpp_finish): Just call _cpp_dump_macro_hash.
7940         * cpplib.c: Include hashtab.h.
7941         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
7942         create hash entries.
7943         (do_pragma_poison, do_assert): Likewise.
7944         (do_include): Don't push the buffer here.  Don't increment
7945         system_include_depth unless _cpp_read_include_file succeeds.
7946         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
7947         or htab_remove_elt.
7948         (do_pragma_implementation): Use alloca to create copy.
7950         * Makefile.in: Update dependencies.
7952 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7954         * cppinit.c (cl_directive_handler): More K&R fixing.
7956 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
7958         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
7959         STACK_BOUNDARY.
7960         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
7962 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7964         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
7965         Change from char[] to macros.
7967 2000-03-12  Neil Booth  <NeilB@earthling.net>
7969         * cppinit.c (cpp_start_read): Update indirect function
7970         call to K&R C.
7972 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
7974         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
7975         entry.
7977         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7978         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
7980 2000-03-11  Neil Booth  <NeilB@earthling.net>
7982         * cppinit.c (struct pending option): Replace undef with a
7983         pointer to a directive handling routine.
7984         (struct cpp_pending): Replace separate assert_ and define_
7985         lists with one directive_ list.
7986         (new_pending_define): Rename new_pending_directive. Extra
7987         argument is the directive's handling routine.
7988         (handle_option): Update to use new_pending_directive.
7990 2000-03-11  Neil Booth  <NeilB@earthling.net>
7992         * cppfiles.c (file_cleanup, _cpp_find_include_file,
7993         remap_filename, _cpp_read_include_file, actual_directory,
7994         hack_vms_include_specification): Replace bcopy(), index() etc
7995         calls.  Add casts to some allocations.  Make some variables
7996         pointers to const [unsigned] char.
7997         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
7998         collect_formal_parameters): Similarly.
7999         * cppinit.c (struct pending_option, append_include_chain,
8000         cpp_options_init, cpp_reader_init, initialize_standard_includes,
8001         cpp_start_read, new_pending_define, handle_option): Similarly.
8002         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
8003         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
8004         do_pragma_implementation, detect_if_not_defined,
8005         do_ifdef, skip_if_group, cpp_get_token, parse_string,
8006         do_assert, do_unassert): Similarly.
8007         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
8008         function prototypes.
8009         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
8011 2000-03-10  Richard Henderson  <rth@cygnus.com>
8013         * builtins.c (expand_builtin_strlen): Revert last change.
8014         Use emit_insn_before if we're at the beginning of a sequence.
8016 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
8018         * builtins.c (expand_builtin_strlen): Make sure that we have something
8019         at the beginning of the sequence.
8021         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
8022         deferred inlines.
8024         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
8026 2000-03-10  Richard Henderson  <rth@cygnus.com>
8028         * except.c (can_throw): Use INTVAL on a CONST_INT.
8029         (reachable_handlers): Likewise.
8030         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
8032 2000-03-10  Andreas Jaeger  <aj@suse.de>
8034         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
8035         MD_STARTFILE_PREFIX since those are not needed on linux.
8036         (ASM_FILE_START): New, from mips/gnu.h.
8038 2000-03-09  Richard Henderson  <rth@cygnus.com>
8039             Alex Samuel  <samuel@codesourcery.com> and others
8041         * Makefile.in (ssa.o): New rule.
8042         (OBJS): Add ssa.o.
8043         (STAGESTUFF): Add *.ssa and *.ussa.
8044         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
8045         * rtl.def (PHI): New RTL expression.
8046         * rtl.h (clear_log_links): New declaration.
8047         (convert_to_ssa): Likewise.
8048         (convert_from_ssa): Likewise.
8049         * flow.c (split_edge): If the entry node falls through to the
8050         split edge's source block, split the entry edge.
8051         (clear_log_links): New function.
8052         * toplev.c (ssa_dump): New variable.
8053         (flag_ssa): Likewise.
8054         (f_options): Add "ssa".
8055         (compile_file): Create SSA dump files.
8056         (rest_of_compilation): Go to and from SSA if enabled.
8057         (decide_d_option): Handle -de for SSA dump files.
8058         * ssa.c: New file.
8060 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
8062         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
8063         same as VAR_DECL.
8065 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
8067         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
8069 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
8071         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
8072         (MD_STARTFILE_PREFIX_1): New macro.
8074 2000-03-09  Robert Lipe  <robertl@sco.com>
8076         * config/ia64/ia64.c: Include system.h.
8078 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
8080         * except.c (nothrow_function_p): If -fno-exceptions, just return.
8081         (init_eh_nesting_info): Likewise.
8083         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
8084         (TREE_NOTHROW): Rename from TREE_RAISES.
8085         * toplev.c (rest_of_compilation): Set it.
8086         * print-tree.c (print_node): Adjust.
8087         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
8088         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
8089         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
8090         REG_EH_REGION note as appropriate.
8091         (libfunc_nothrow): New fn.
8092         (emit_library_call, emit_library_call_value): Use it.
8093         (expand_call): Check TREE_NOTHROW.
8095         * varasm.c (make_decl_rtl): Skip initial '*' when setting
8096         DECL_ASSEMBLER_NAME.
8098 2000-03-09  Andreas Jaeger  <aj@suse.de>
8100         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
8101         (TARGET_MEM_FUNCTIONS): Define.
8103 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
8105         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
8107         * except.c (can_throw): See through a SEQUENCE.
8108         (nothrow_function_p): New fn.
8109         * except.h: Declare it.
8110         * function.c (current_function_nothrow): New var.
8111         (prepare_function_start): Initialize it.
8112         * output.h: Declare it.
8113         * toplev.c (rest_of_compilation): Set it.
8114         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
8116 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
8118         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
8119         match.  (cpp_compare_defs): Count the nul separator when
8120         advancing over argument names.
8122 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
8124         * recog.c (preprocess_constraints): Matching constraints affect
8125         same alternative/different operand, not same operand/different
8126         alternative.
8128         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
8129         register and a constant specially.
8131 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8133         * libgcc2.h: New file.
8134         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
8136 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
8138         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
8139         * configure: Regenerate.
8140         * config/ia64: New.
8142 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
8144         * Makefile.in (LIBCPP_DEPS): New macro.
8145         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
8146         it to declare deps.
8147         * cpperror.c: Include cpphash.h.
8148         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
8149         dingleberry.
8150         (lex): Don't use CPP_WARN_UNDEF.
8151         (_cpp_parse_expr): Return an int, the truth value.
8152         * cppfiles.c: Include cpphash.h.
8153         (_cpp_merge_include_chains): Move to cppinit.c and make static.
8154         * cppinit.c (include_defaults_array): Disentangle.
8155         (cpp_cleanup): Don't free the if stack here.
8156         (cpp_finish): Pop off all buffers, not just one.
8157         * cpplib.c (eval_if_expr): Return int.
8158         (do_xifdef): Rename do_ifdef.
8159         (handle_directive): Don't use CPP_PREPROCESSED.
8160         (cpp_get_token): Don't use CPP_C89.
8161         * fix-header.c: Don't use CPP_OPTIONS.
8163         * cpplib.h: Move U_CHAR, enum node_type, struct
8164         file_name_list, struct ihash, is_idchar, is_idstart,
8165         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
8166         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
8167         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
8168         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
8169         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
8170         of _cpp_simplify_pathname, _cpp_find_include_file,
8171         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
8172         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
8173         cppinit.c.
8174         Change all uses of U_CHAR to be unsigned char instead.
8175         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
8177 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
8179         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
8180         (dwarf2out_begin_prologue): Set it.
8181         (output_call_frame_info): Don't emit EH unwind info for leaves.
8183         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
8184         can occur outside of an EH region.
8185         * except.c: Correct comments about rethrow behavior.
8186         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
8188 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
8190         * flow.c (make_edges): Always call make_eh_edge for calls.
8192 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
8194         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
8195         (struct cpp_buffer): Remove fname and underflow fields.
8196         (struct cpp_reader): Remove get_token field.
8197         (struct include_hash): Rename to struct ihash.  Add typedef to
8198         IHASH.
8199         (struct if_stack): Remove fname field.
8200         (IF_STACK_FRAME): Rename to IF_STACK.
8202         * cpperror.c (print_containing_files): Trust that there are no
8203         macro buffers below the top file buffer.
8204         * cppfiles.c: Replace all references to 'struct include_hash'
8205         with 'IHASH'.  Rename initialize_input_buffer to
8206         init_input_buffer.  Don't set or reference cpp_buffer->fname,
8207         use buffer->ihash->name instead.
8208         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
8209         not CPP_NULL_BUFFER.
8210         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
8211         IF_STACK_FRAME, IHASH not struct include_hash.
8212         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
8213         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
8214         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
8215         references to cpp_buffer->fname (delete entirely, or use
8216         ->ihash->name instead) and IF_STACK->fname.
8217         (cpp_push_buffer): Don't set new->underflow.
8218         (do_include): Use cpp_file_buffer.
8220         * cpphash.c (collect_formal_parameters): Remove duplicate
8221         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
8222         used as a macro argument name.  Don't append "..." to namebuf
8223         for varargs macros.  After we're done scanning, go through
8224         namebuf and make it NUL separated, not comma separated.
8225         (_cpp_compare_defs): Remove register tag from variables.
8226         Expect defn->argnames to be NUL separated.
8227         (_cpp_dump_definition): Expect defn->argnames to be NUL
8228         separated and in forward order.
8229         * cpphash.h: Update documentation of argnames field.
8231 2000-03-08  Richard Henderson  <rth@cygnus.com>
8233         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
8234         to fail.  Don't pre-expand the source operand.
8236         * i386.md (strlensi): Initialize eoschar and align before use.
8238 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
8240         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
8241         CONSTRUCTOR element.
8243 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
8245         * mips.c (mips_expand_prologue): If the last
8246         named argument is the vararg marker "va_list", treat it as
8247         an unnamed argument.
8249 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
8251         * dbxout.c (dbxout_parms): When correcting for promoted
8252         big-endian parameters, use the mode of the DECL_RTL rather
8253         than UNITS_PER_WORD.
8255 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
8257         * c-common.h (make_fname_decl): Declare.
8258         * c-common.c (make_fname_decl): Define.
8259         (declare_hidden_char_array): Remove.
8260         (declare_function_name): Use make_fname_decl.
8261         * c-decl.c (c_make_fname_decl): New function.
8262         (init_decl_processing): Set make_fname_decl.
8264 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
8266         * cccp.c (handle_directive): Initialize backslash_newlines_p.
8268 2000-03-07  Philipp Thomas  <pthomas@suse.de>
8270         * po/POTFILES.in: Remove cppalloc.c from file list.
8272 2000-03-07  Steve Chamberlain  <sac@pobox.com>
8274         * pj.c (pj_expand_prologue): current_function->args_info is
8275         now current_function_args_info.
8277         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
8278         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
8279         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
8281 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8283         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
8284         output as hexadecimal rather than the default octal.
8286 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
8288         * cpphash.c (special_symbol): Fix thinko in previous commit.
8290 2000-03-07  Neil Booth  <NeilB@earthling.net>
8292         * cppexp.c (struct operation, left_shift, right_shift,
8293         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
8294         "int"s to "unsigned int"s.
8295         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
8296         Similarly.
8297         * cpplib.h: Update for above.
8298         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
8299         returned from allocations.
8301         * cppinit.c (opt_comp, parse_options): New functions.
8302         (handle_option): Use parse_option to parse a single command
8303         line option, that possibly takes an argument.
8304         (cpp_handle_options): Sort the array of command line options on
8305         first invocation (non-ASCII hosts only).
8306         (print_help): Update.
8308 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
8310         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
8311         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
8313         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
8314         initialized.
8315         * cppinit.c (cpp_cleanup): Free imp->nshort also.
8317         * cpperror.c (cpp_print_containing_files,
8318         cpp_print_file_and_line, v_cpp_message): Rename to
8319         print_containing_files, print_file_and_line, and v_message.
8320         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
8321         to _cpp_parse_expr, parse_escape, and lex.
8322         (parse_charconst): Remove broken multibyte support.
8323         * cppfiles.c (include_hash): Make static.
8324         (cpp_included): New function.
8325         (merge_include_chains, find_include_file, finclude,
8326         simplify_pathname): Rename to _cpp_merge_include_chains,
8327         _cpp_find_include_file, _cpp_read_include_file, and
8328         _cpp_simplify_pathname.
8329         * cpphash.c (cpp_lookup, free_definition, delete_macro,
8330         cpp_install, create_definition, macroexpand, compare_defs,
8331         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
8332         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
8333         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
8334         * cppinit.c (cpp_handle_option): Rename to handle_option, make
8335         static.
8336         * cpplib.c: Remove extern prototype of cpp_parse_expr.
8338         * cpphash.h: Update prototypes.
8339         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
8341 2000-03-07  Andrew Haley  <aph@cygnus.com>
8343         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
8344         PTRDIFF_TYPE should be based solely on Pmode.
8345         (SIZE_TYPE): ditto.
8347 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8349         * rtl.h (rtunion_def): Constify member `rtstr'.
8350         (emit_line_note_after, emit_line_note, emit_line_note_force,
8351         emit_note, decode_asm_operands): Constify.
8353         * cse.c (canon_hash): Likewise.
8355         * dbxout.c (dbxout_block): Likewise.
8357         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
8358         v_warning_for_asm): Likewise.
8360         * dwarfout.c (function_start_label): Likewise.
8362         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
8363         emit_line_note_force): Likewise.
8365         * final.c (last_filename, asm_insn_count, final_scan_insn,
8366         output_source_line): Likewise.
8368         * function.h (struct emit_status): Likewise.
8370         * gcse.c (hash_expr_1): Likewise.
8372         * genattr.c (gen_attr, main): Likewise.
8374         * genattrtab.c (struct function_unit, current_alternative_string,
8375         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
8376         attr_numeral, check_attr_test, check_attr_value,
8377         convert_set_attr_alternative, convert_set_attr,
8378         compute_alternative_mask, simplify_by_exploding, gen_attr,
8379         gen_unit): Likewise.
8381         * genflags.c (gen_insn): Likewise.
8383         * gengenrtl.c (type_from_format): Likewise.
8385         * genopinit.c (gen_insn): Likewise.
8387         * genoutput.c (n_occurrences, process_template, process_template):
8388         Likewise.
8390         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8391         Likewise.
8393         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8394         Likewise.
8396         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
8397         ggc_set_mark, ggc_get_size): Likewise.
8399         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
8401         * optabs.c (init_one_libfunc): Likewise.
8403         * output.h (assemble_start_function): Likewise.
8405         * recog.c (decode_asm_operands): Likewise.
8407         * toplev.c (rest_of_compilation): Likewise.
8409         * tree.h (emit_line_note_after, emit_line_note,
8410         emit_line_note_force): Likewise.
8412         * varasm.c (asm_output_bss, asm_output_aligned_bss,
8413         asm_emit_uninitialised, assemble_start_function,
8414         assemble_variable, const_hash, compare_constant_1,
8415         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
8417         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
8419         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
8421         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
8423         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
8425         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
8426         arm_dllimport_name_p): Likewise.
8428         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
8429         Likewise.
8431         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
8433         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8435         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
8436         arm_mark_dllexport, arm_mark_dllimport,
8437         arm_pe_encode_section_info): Likewise.
8439         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
8440         ASM_FINISH_DECLARE_OBJECT): Likewise.
8442         * arm/thumb.c (thumb_function_prologue): Likewise.
8444         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
8446         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8448         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
8450         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
8452         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
8454         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8456         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
8457         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
8459         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
8461         * i386/i386.c (asm_output_function_prefix): Likewise.
8463         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
8465         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8467         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
8469         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
8470         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
8471         ASM_OUTPUT_SECTION_NAME): Likewise.
8473         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
8475         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
8477         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
8479         * m32r/m32r.c (m32r_encode_section_info): Likewise.
8481         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8483         * mcore/mcore.c (mcore_encode_section_info): Likewise.
8485         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8487         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8489         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8491         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
8493         * mips/mips.md (movdi, movsi): Likewise.
8495         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8497         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8499         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8501         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8502         ASM_OUTPUT_ASCII): Likewise.
8504         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
8505         output_mi_thunk, output_toc): Likewise.
8507         * rs6000/rs6000.md (movsi): Likewise.
8509         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
8511         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
8513         * v850/v850.c (print_operand, print_operand_address,
8514         v850_encode_data_area): Likewise.
8516 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
8518         * config/mips/mips.md (zero_extendsidi2): Always force operand
8519         one to memory for mips16.
8521 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8523         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
8524         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
8525         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
8526         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
8527         (min_precision): Result is unsigned.
8528         (add_double, neg_double, mul_double): Low word is unsigned.
8529         (lshift_double, rshift_double, lrotate_double): Likewise.
8530         (rrotate_double, div_and_round_double): Likewise.
8531         (tree_floor_log2, compare_tree_int): New functions.
8532         (preserve_rtl_expr_temps): New declaration.
8533         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
8534         (decl_attributes): Use tree_log2 to find alignment.
8535         Check for TREE_INT_CST_HIGH for format args.
8536         (min_precision): Now unsigned.
8537         Use tree_floor_log2.
8538         (truthvalue_conversion): Delete long-disabled code.
8539         * c-decl.c (finish_struct): Clean up tests on field width.
8540         (finish_function): Use compare_tree_int.
8541         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
8542         * c-typeck.c (comptypes): Use tree_int_cst_equal.
8543         (default_conversion, digest_init): Use compare_tree_int.
8544         (build_binary_op): Use integer_all_onesp and compare_tree_int.
8545         Fix type errors in forming masks.
8546         * calls.c (initialize_argument_information): Use compare_tree_int.
8547         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8548         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
8549         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
8550         (store_field): Use compare_tree_int.
8551         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
8552         (expand_expr, case ARRAY_REF): Use compare_tree_int.
8553         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
8554         (do_store_flag): Use compare_tree_int.
8555         * fold-const.c (encode, decode): Low part is always unsigned.
8556         (force_fit_type, add_double, neg_double, mul_double): Likewise.
8557         (lshift_double, rshift_double, lrotate_double): Likewise.
8558         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
8559         (fold_convert): Use compare_tree_int.
8560         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
8561         (invert_truthvalue, case INTEGER_CST): Likewise.
8562         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
8563         * mkdeps.c (deps_dummy_targets): Make I unsigned.
8564         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
8565         (lshift_double, rshift_double, lrotate_double, rrotate_double):
8566         Likewise.
8567         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
8568         (expand_end_case): Use compare_tree_int.
8569         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8570         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
8571         (layout_decl): Likewise.
8572         (layout_record, layout_union): Make sizes unsigned.
8573         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
8574         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
8575         * tree.c (struct type_hash): hashcode is unsigned.
8576         (build_type_attribute_variant, type_hash_list): Likewise.
8577         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
8578         (attribute_hash_list, build_array_type, build_method_type): Likewise.
8579         (build_complex_type): Likewise.
8580         (real_value_from_int_cst): Remove unneeded casts.
8581         (integer_all_onesp): Add casts.
8582         (tree_floor_log2, compare_tree_int): New functions.
8583         (build_index_type): Use tree_int_cst_sgn.
8584         * varasm.c (assemble_variable): Use compare_tree_int.
8586 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
8588         * cpphash.c (collect_expansion): Also catch ## at start of macro.
8590         * varasm.c (make_decl_rtl): Don't add a number to members of
8591         local classes.
8592         (make_function_rtl): Likewise.
8594 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8596         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
8597         patch from 2000-01-28.
8599 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
8601         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
8602         filled with an insn from the jump target.
8604 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8606         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
8607         (c4x_external_ref): Likewise.
8608         * config/c4x/c4x.c (struct name_list): Likewise.
8610 1999-12-16  Ben Collins  <bcollins@debian.org>
8612         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
8613         argument to genmultilib.
8614         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
8615         the contents into the multilib.h header.
8616         * gcc.c: Declare multilib_exclusions for the specs file.
8617         (set_multilib_dir): Use it.
8618         (print_multilib_info): Likewise.
8619         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
8620         to pass to genmultilib.
8622 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8624         * builtins.c (built_in_class_names, built_in_names): Constify a
8625         char*.
8627         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
8628         int.
8629         (_mcleanup): Ensure value matches format specifier in sprintf.
8631         * cpphash.c (special_symbol): Don't needlessly cast away
8632         const-ness.
8634         * cppinit.c (base_name): Delete unused prototype.
8636         * mkdeps.c (deps_init): Make definition K&R safe.
8638         * tree.h (built_in_class_names, built_in_names): Constify a
8639         char*.
8641 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
8643         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
8644         floating point instructions for epilogue delay.
8646         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
8647         to gas if it supports .register pseudo.
8649         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
8650         LONG_DOUBLE_TYPE_SIZE if not defined.
8651         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
8652         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
8653         * real.c: Likewise.
8654         * gengenrtl.c: Likewise.
8655         * print-rtl.c: Likewise.
8656         * rtl.c: Likewise.
8657         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
8658         MASK_LONG_DOUBLE_128.
8659         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
8660         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
8661         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
8662         (SUBTARGET_SWITCHES): Define.
8663         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
8664         with -mlong-double-128.
8665         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8666         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8667         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8668         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
8669         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
8670         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
8671         with -mlong-double-128.
8672         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8673         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8674         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8675         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
8676         TARGET_LONG_DOUBLE_128): Define.
8677         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
8678         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
8679         long double on TARGET_ARCH64.
8681 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
8683         * function.c (free_temps_for_rtl_expr): Don't free slots
8684         that have been pushed into a higher level.
8686         Revert this patch:
8687         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8689 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8691         * basic-block.h (ALLOCA_REG_SET): Remove.
8692         (INITIALIZE_REG_SET): New macro.
8693         * flow.c (update_life_info): Use it.
8694         (calculate_global_regs_live): Likewise.
8695         (propagate_block): Likewise.
8696         * global.c (build_insn_chain): Likewise.
8697         * haifa-sched.c (schedule_region): Likewise.
8699 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
8701         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
8702         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
8703         (DWARF_ARANGES_PAD_SIZE): New define.
8704         (output_aranges): Use it to pad the address range header.
8705         (DWARF_ROUND): Fix for non power of 2 rounding.
8707 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
8709         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
8711 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8713         * tree.def (RTL_EXPR): Update documentation.
8714         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
8715         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
8716         * function.c (preserve_rtl_expr_temp): New function.
8717         (preserve_rtl_expr_temps): Likewise.
8718         (preserve_rtl_expr_result): Use it.
8720         Revert this patch:
8721         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8723 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
8725         * regmove.c (copy_src_to_dest)  Do not create src->dest move
8726         for unchanging destination.
8728 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8730         * function.h (struct sequence_stack): Remove rtl_expr.
8731         (struct emit_staus): Likewise.
8732         (seq_rtl_expr): Remove.
8733         * tree.h (free_temps_for_rtl_expr): Don't declare.
8734         (start_sequence_for_rtl_expr): Likewise.
8735         * rtl.h (preserve_rtl_expr_result): Likewise.
8736         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
8737         (start_sequence_for_rtl_expr): Remove.
8738         (push_topmost_sequence): Don't save sequence_rtl_expr.
8739         (pop_topmost_sequence): Remove comment about not restoring it.
8740         (end_sequence): Don't set seq_rtl_expr.
8741         (init_emit): Don't initialize it.
8742         (mark_sequence_stack): Don't mark it.
8743         (mark_emit_status): Likewise.
8744         * except.c (protect_with_terminate): Use
8745         start_sequence_for_rtl_expr, not start_sequence.
8746         * expr.c (expand_expr, case RTL_EXPR): Don't call
8747         preserve_rtl_expr_result or free_temps_for_rtl_expr.
8748         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
8749         (preserve_rtl_expr_result): Remove.
8750         (free_temps_for_rtl_expr): Likewise.
8751         (pop_temp_slots): Likewise.
8752         (mark_temp_slot): Don't mark the rtl_expr.
8753         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
8754         start_sequence_for_rtl_expr.
8756 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
8758         * mkdeps.c, mkdeps.h: New files.
8759         * po/POTFILES.in: Add them.
8760         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
8761         (cpplib.o, cppinit.o): Depend on mkdeps.h.
8762         (mkdeps.o): New target.
8764         * cppfiles.c: Delete deps_output.
8765         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
8766         OBJECT_SUFFIX, and base_name.
8767         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
8768         the include hash.
8769         (initialize_dependency_output): Use deps_init,
8770         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
8771         all the unnecessary string bashing.
8772         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
8773         level.
8774         * cpplib.c (do_include): Use deps_add_dep.
8775         * cpplib.h (struct cpp_reader): Replace deps_buffer,
8776         deps_allocated_size, deps_size, deps_column members with
8777         single pointer to a struct deps.  Delete prototype of
8778         deps_output.
8780         * cppinit.c: Fix thinko in previous patch.
8782 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8784         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
8785         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
8786         (mode_for_size_tree): New function.
8787         (layout_decl, layout_type): Call it and clean up BLKmode checks.
8788         * tree.h (mode_for_size_tree): New declaration.
8790         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
8792 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
8794         * stmt.c (is_body_block): Move...
8795         * dwarfout.c, dwarf2out.c: ...from here.
8796         * tree.h: Declare it.
8797         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
8798         * final.c (final_start_function): Do call remove_unnecessary_notes
8799         when scheduling.
8801 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8803         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
8805         * cpplib.h (_dollar_ok): New macro.
8806         (is_idchar, is_idstart): Use it.
8807         (IStable): Rename to _cpp_IStable.  Declare it const if
8808         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
8809         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
8810         is_space): Update for renamed IStable.
8812         * cppinit.c: Delete all references to FAKE_CONST and CAT
8813         macros. Define init_IStable as empty macro if gcc >=2.7 or
8814         C99. Change TABLE() to ISTABLE and hardcode name of table.
8815         (cpp_start_read): Don't change the IStable based on
8816         dollars_in_ident.
8818         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
8819         changed.  Handle '$' for char1 correctly.
8820         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
8822         * cppexp.c (tokentab2): Make const.
8823         (cpp_lex): Make toktab const.
8824         * cppinit.c (include_defaults_array): Make const.
8825         (initialize_standard_includes): Make default_include const.
8827 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8829         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
8830         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
8831         (gen_decl_die): Likewise.
8832         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
8833         (output_decl): Likewise.
8835         * varasm.c (make_function_rtl): If we change the name used in the
8836         rtl, update DECL_ASSEMBLER_NAME accordingly.
8837         (make_decl_rtl): Likewise.
8839         * toplev.c (rest_of_compilation): Tweak formatting.
8841         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
8842         remove_unnecessary_notes.
8843         (debug_ignore_block): New fn.
8844         * toplev.h: Declare it.
8845         * emit-rtl.c (remove_unncessary_notes): Call it.
8846         * dwarf2out.c (dwarf2out_ignore_block): New fn.
8847         * dwarf2out.h: Declare it.
8848         * final.c (final_start_function): Don't call remove_unnecessary_notes
8849         if we did insn scheduling.
8851 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8853         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
8854         * cpplib.h: Delete SET_CPP_PEDANTIC.
8856 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8858         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
8859         result is a RECORD_TYPE.
8861 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8863         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
8865 2000-03-03  Richard Henderson  <rth@cygnus.com>
8867         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
8868         addition over compliments over shifts.
8870 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8872         * reload1.c (reload_combine_note_use): Handle return register USEs.
8873         REG case: Handle multi-hard-register hard regs.
8875 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8877         * md.texi: Document use of '*' in insn pattern name.
8879 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8881         * calls.c (special_function_p): operator new may not be malloc-like.
8883         * gcse.c (dump_hash_table): Really fix error in last change.
8885 2000-03-02  Denis Chertykov  <denisc@overta.ru>
8887         * avr.c (print_operand): Use print_operand_address instead of
8888         output_addr_const.
8889         * avr/libgcc.S: Cleanup code.
8891 2000-03-02  Richard Henderson  <rth@cygnus.com>
8893         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
8895 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
8897         * tree.h (TYPE_ALIGN_UNIT): New macro.
8899 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
8901         * i386.c: (constant_call_address_operand): Reject CONST_INT.
8903 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
8905         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
8906         for the buffer.
8907         (SET_CPP_PEDANTIC): New macro.
8908         * cpplib.c (do_include): Don't bother checking system_header_p.
8909         (do_warning, do_ident, do_assert, do_unassert): Likewise.
8910         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
8912         * function.h (struct expr_status): Add x_arg_space_so_far.
8913         (arg_space_so_far): New macro.
8914         * expr.c (init_expr): Initialize it.
8915         * calls.c (emit_call_1): Reset it.
8916         (compute_argument_block_size, expand_call): Use it.
8917         (expand_call, store_one_arg): Increment it.
8919 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8921         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
8922         a UNION_TYPE.
8924 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
8926         * cppfiles.c (cpp_read_file): New function.
8928         * cpphash.c (collect_expansion): Make sure to reset last_token
8929         to NORM when we hit a string.  Handle trailing whitespace
8930         properly when the expansion is empty.
8931         (create_definition): Disable line commands while parsing the
8932         directive line.
8933         (dump_definition): If pfile->lineno == 0, output a line
8934         command ahead of the dump, and add a trailing newline.
8936         * cppinit.c (append_include_chain): Add fifth argument, which
8937         indicates whether or not system headers are C++ aware.
8938         (initialize_standard_includes): New function,
8939         broken out of read_and_prescan.  Pass 'cxx_aware' value from
8940         the include_defaults_array on to append_include_chain.
8941         (dump_special_to_buffer): Const-ify char array.
8942         (builtin_array): Don't dump __BASE_FILE__.
8943         (cpp_start_read): Use cpp_read_file.  Reorder code for
8944         clarity.  Don't output line commands here for -D/-A/-U
8945         switches.  Don't call deps_output for files included with
8946         -include or -imacros.
8948         * cpplib.c (do_define): Don't pay any attention to the second
8949         argument.
8950         (cpp_expand_to_buffer): Disable line commands while scanning.
8951         (output_line_command): Work in the file buffer.
8952         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
8953         Fix formatting of comments.  Prototype cpp_read_file.
8955 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8957         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
8958         reference the language-equivalent of sizetype.
8959         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
8960         * fold-const.c (size_binop, size_diffop): Put back checks.
8961         * gcse.c (dump_hash_table): Fix minor error in last change.
8962         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
8963         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
8964         all sizetypes.
8966 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
8968         * calls.c (expand_call)  Do not attempt to combine stack adjustments
8969         with inhibit_defer_pop set.
8971 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
8973         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
8974         the DECL_SIZE for a FIELD_DECL.
8976 2000-03-01  Bruce Korb  <bkorb@gnu.org>
8978         * fixinc/inclhack.tpl: remove unused symlinks
8979         * fixinc/README: GCC Maintainer info
8980         * fixinc/inclhack.sh: regen
8981         * fixinc/fixincl.sh: regen
8983 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
8985         * cpphash.c (collect_expansion): Trim trailing white space
8986         from macro definitions, but don't go past the last insertion
8987         point.
8989 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8991         * i386.md (mulqi3): New pattern.
8993 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
8995         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
8996         token types.
8997         (struct cpp_reader): Add parsing_if_directive and
8998         parsing_define_directive flags.
8999         (struct cpp_options): Remove output_conditionals flag.
9000         (check_macro_name): Delete prototype.
9002         * cpphash.h (struct macrodef): Delete.
9003         (struct reflist): Separate from struct definition.
9004         (struct definition): Remove unused fields.  Add column number.
9005         (create_definition): Returns a DEFINITION *.  Takes a
9006         cpp_reader * and an int.
9008         * cpphash.c (SKIP_WHITE_SPACE): Delete.
9009         (PEEKC): Copy defn from cpplib.c.
9010         (rest_extension, REST_EXTENSION_LENGTH): Delete.
9011         (struct arg): New.
9012         (struct arglist): Simplify.
9013         (collect_expansion): Rewrite.  Get tokens by calling
9014         cpp_get_token.  Add more error checking.
9015         (collect_formal_parameters): New function, broken out of
9016         create_definition and reworked to use get_directive_token.
9017         (create_definition): All real work is now in collect_expansion
9018         and collect_formal_parameters.  do_define handles finding the
9019         macro name.  Return a DEFINITION, not a MACRODEF.
9020         (macroexpand): Replace bcopy with memcpy throughout.  Replace
9021         character-at-a-time copy loop with memcpy and pointer increments.
9022         (compare-defs): d1->argnames / d2->argnames might be null.
9024         * cpplib.c (copy_rest_of_line): Delete function.
9025         (skip_rest_of_line): Do all the work ourselves.
9026         (skip_string): New function.
9027         (parse_string): Use skip_string.
9028         (get_macro_name): New function.
9029         (check_macro_name): Delete.
9030         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
9031         (cpp_skip_hspace): Use CPP_BUMP_LINE.
9032         (handle_directive): ICE if we're called on a macro buffer.
9033         (do_define): Determine macro name and type (funlike/objlike)
9034         here.  Expunge all uses of MACRODEF.
9035         (cpp_push_buffer): Set line_base to NULL.
9036         (do_undef, read_line_number): Don't worry about getting a POP token.
9037         (eval_if_expression): Set/reset parsing_if_directive around
9038         cpp_parse_expr. Don't clear only_seen_white.
9039         (skip_if_group): Remove output_conditionals logic.  Use
9040         skip_rest_of_line.
9041         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
9042         tokens under appropriate conditions.
9043         (cpp_unassert): Call do_unassert not do_assert.  Oops.
9045         * cppexp.c (parse_defined): New function, break out of
9046         cpp_lex.
9047         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
9048         ourselves, with cpp_defined.
9049         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
9051         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
9052         * gcc.dg/strpaste-2.c: New.
9054 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
9056         * fold-const.c (size_binop): Don't asert inputs are the same and
9057         have TYPE_IS_SIZETYPE set.
9058         (size_diffop): Likewise.
9060 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
9062         * dwarfout.c (output_block): Output abstract blocks even if they
9063         don't have TREE_ASM_WRITTEN set.
9065         * calls.c (emit_library_call): Check for null REG.
9067 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
9069         * c-decl.c (current_function_decl): Move to toplev.c.
9070         (init_decl_processing): Don't add current_function_decl as a ggc
9071         root here.
9072         * dbxout.c (dbxout_symbol): Change return type to int.
9073         (dbxout_symbol_location, dbxout_syms): Likewise.
9074         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
9075         any locals. Use current_function_func_begin_label if set.
9076         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
9077         * dwarf2out.c (dwarf2out_begin_prologue): Set
9078         current_function_func_begin_label.
9079         * final.c (final_start_function): Reset it.
9080         * toplev.c (current_function_decl): Define it here.
9081         (current_function_func_begin_label): New variable.
9082         (main): Add both as ggc roots.
9083         * tree.h (current_function_func_begin_label): Declare.
9085 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9087         * gcse.c: Cleanups throughout: mostly white-space, but also
9088         some minor rearrangement of code.
9090 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
9092         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
9093         returns a PARALLEL.  Use emit_group_load and use_group_regs
9094         as needed.
9095         (emit_library_call_value): Similarly.
9097         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
9098         * pa/quadlib.asm: Remove.
9099         * pa/quadlib.c: New file.
9101         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
9102         * configure: Rebuilt.
9104 2000-02-29  Philip Blundell  <pb@futuretv.com>
9106         * config/arm/conix-elf.h: New file.
9107         * configure.in (arm*-*-conix*): New configuration.
9108         * configure: Regenerate.
9110 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
9112         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
9113         don't have TREE_ASM_WRITTEN set.
9115 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9117         * Eliminate DECL_FIELD_SIZE.
9118         * builtins.c (built_in_class_names, built_in_names): New variables.
9119         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
9120         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
9121         DECL_SIZE, not DECL_FIELD_SIZE.
9122         * print-tree.c (print_node): Remove code that prints extra blank
9123         lines in some cases.
9124         Properly handle inline and builtin function cases.
9125         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
9126         * tree.h (built_in_class_named, built_in_names): New declarations.
9127         (union tree_decl): Rename internal unions to u1 and u2 and change
9128         some of their components.
9129         Add new field built_in_class.
9130         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
9131         Reflect above changes.
9132         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
9133         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
9134         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
9135         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
9137 2000-02-28  Dmitri Makarov  <dim@windriver.com>
9139         * extend.texi: Document ARM's support for long/short calls.
9141         * invoke.texi: Document ARM's -mlong-calls command line switch.
9143         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
9144         (arm_encode_call_attribute): Add prototype.
9145         (arm_set_default_type_attribute): Add prototype.
9146         (arm_strip_name_encoding): Add prototype.
9148         * config/arm/arm.c (arm_init_cumulative_args): replace
9149         initialisation og 'long_calls' field with initialisation of
9150         'call_cookie' field.
9151         (enum arm_pragma_enum): New enum.
9152         (arm_pragma_long_calls): New static variable.
9153         (arm_process_pragma): Also process "#pragma long_calls_off".
9154         (arm_valid_type_attribute_p): Accept short_call attribute.
9155         (arm_comp_type_attributes): Check long/short call attributes.
9156         (arm_encode_call_attribute):  New function:  Encode long_call
9157         or short_call attribute in function name.
9158         (arm_set_default_type_attributes): New function: Assign
9159         default attributes to newly defined type.
9160         (current_file_function_operand): New function: Return true if
9161         the symbol is a function which has already been compiled.
9162         (arm_is_longcall_p): New function: Return true if the
9163         indicated function should be called via a long call.
9164         (arm_get_strip_length): New function.  Returns number of
9165         prefix characters to be stripped from a function's name.
9166         (arm_strip_name_encoding): New function.  Strip prefix characters
9167         from a function's name.
9169         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
9170         with 'call_cookie'.
9171         (SHORT_CALL_FAG_CHAR): Define.
9172         (LONG_CALL_FAG_CHAR): Define.
9173         (ENCODED_SHORT_CALL_ATTR_P): Define.
9174         (ENCODED_LONG_CALL_ATTR_P): Define.
9175         (ARM_NAME_ENCODING_LENGTHS): Define.
9176         (STRIP_NAME_ENCODING): Define.
9177         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
9178         (ARM_ENCODE_CALL_TYPE): Define.
9179         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
9180         (ARM_DECLARE_FUNCTION_SIZE): Define.
9181         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
9183         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
9184         if a long call is needed.
9185         (call_value): Ditto.
9186         (call_symbol): Ditto.
9188         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
9189         ARM_DECLARE_FUNCTION_SIZE.
9191         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
9192         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
9193         (ARM_STRIP_NAME_ENCODING): Undefine.
9194         (STRIP_NAME_ENCODING): Undefine.
9195         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
9196         (ASM_DECLARE_FUNCTION_NAME): Ditto.
9197         (ASM_OUTPUT_COMMON): Ditto.
9198         (ASM_DECLARE_OBJECT_NAME): Ditto.
9200         * config/arm/pe.c (arm_dllexport_name_p): Check for
9201         ARM_PE_FLAG_CHAR.
9202         (arm_dllimport_name_p): Ditto.
9203         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
9204         (arm_mark_dllimport): Ditto.
9206 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9208         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
9210 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
9212         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
9214 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
9216         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
9217         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
9218         NO_BUILTIN_WCHAR_TYPE is not defined.
9219         (CPP_WCHAR_TYPE): Delete.
9220         * cccp.c (main): Don't change wchar_type if cplusplus.
9221         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
9223 2000-02-28  Nick Clifton  <nickc@cygnus.com>
9225         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
9227 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
9229         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
9230         (ASM_WEAKEN_LABEL): Define.
9232 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
9234         * expr.c (store_constructor): Do not emit USE.
9235         * rtl.h (stupid_life_analysis): Remove.
9237 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9239         * function.c (number_blocks): Reset next_block_index based on
9240         what debugging format is used, not what is defined.
9242         * lcm.c: Minor reformatting throughout.
9243         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
9245         * toplev.c (rest_of_compilation): Account for time in
9246         optimize_mode_switching.
9248         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
9249         if only marking labels.
9251 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
9253         * calls.c (expand_call): Attempt to combine stack adjustments with
9254         pending stack adjustments.
9256 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9258         * loop.c (reg_in_basic_block_p): Don't abort when falling through
9259         to the end of the function.
9261 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
9263         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
9264         blocks.
9265         * final.c (next_block_index): Remove.
9266         (max_block_depth): Likewise.
9267         (pending_blocks): Likewise.
9268         (init_final): Don't initialize them.
9269         (final_start_function): Don't set next_block_index.  Set up
9270         BLOCK_NUMBER.
9271         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
9272         * function.h (number_blocks): New function.
9273         * function.c (get_block_vector): New function.
9274         (identify_blocks): Use it.
9275         (reorder_blocks): Set NOTE_BLOCK.
9276         (number_blocks): New function.
9277         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
9278         * tree.h (BLOCK_NUMBER): New macro.
9279         (tree_block): Add block_num field.
9280         * dbxout.c (next_block_number): Remove.
9281         (dbxout_init): Don't set it.
9282         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
9283         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
9284         block numbers.
9285         * toplev.c (rest_of_compilation): Always call
9286         find_loop_tree_blocks.  Fix indentation.
9287         * dwarf2out.c (next_block_number): Remove.
9288         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9289         to determine block numbers.
9290         (gen_inlined_subroutine_die): Likewise.
9291         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
9292         (decls_for_scope): Don't increment next_block_number.
9293         * dwarfout.c (next_block_number): Remove.
9294         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9295         to determine block numbers.
9296         (output_inlined_subroutine_die): Likewise.
9297         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
9298         (output_decls_for_scope): Don't increment next_block_number.
9299         * sdbout.c (next_block_number): Remove.
9300         (sdbout_block): Use BLOCK_NUMBER.
9301         (sdbout_begin_block): Simplify.
9302         * xcoffout.c (next_block_number): Remove.
9303         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
9304         (xcoffout_begin_block): Don't set next_block_number.
9305         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
9306         next_block_number.
9308 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9310         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
9311         (expand_builtin_strcpy): Pass correct type to size_binop.
9312         (expand_builtin_strcmp): Likewise.
9313         Clean up conditional structure.
9314         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
9315         (complete_array_type): Don't use size_binop for MAXINDEX.
9316         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
9317         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
9318         (c_alignof): Use size_one_node.
9319         (build_unary_op): Pass arg of proper type to size_binop.
9320         (really_start_incremental_init, push_init_level): Use sizetype for
9321         constructor{,_bit,_unfilled}_index.
9322         (pop_init_label, output_init_element): Likewise.
9323         (output_pending_init_elements, process_init_element): Likewise.
9324         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
9325         * expr.c (store_expr): Use size_int.
9326         (store_constructor): Use proper types for size_binop args.
9327         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
9328         (expand_expr_unaligned): Likewise.
9329         (string_contant): Return object of sizetype.
9330         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
9331         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
9332         (ARGS_SIZE_TREE): Pass proper types to size_binop.
9333         * fold-const.c (int_const_binop): Refine when size_int is called.
9334         (fold_convert): Likewise.
9335         (size_int_wide): Rework to take KIND as arg, only take low order
9336         bits, handle new sizetype_tab datatype, and chain entries in
9337         size_table.
9338         (size_int_type_wide): New function.
9339         (size_binop): Validate types of arguments.
9340         (ssize_binop): Deleted.
9341         (size_diffop): New function.
9342         (extract_muldiv): Only fold division into multiplication for sizetypes.
9343         * function.c (assign_parms): Use size_diffop and make sure
9344         VAR field is of ssizetype; also pass proper type to size_binop.
9345         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
9346         (round_down): Deleted from here.
9347         * store-layout.c (sizetype_tab): Now an array.
9348         (sizetype_set, early_root_list): New variables.
9349         (variable_size): Use size_one_node.
9350         (round_up): Pass proper type to size_binop.
9351         (round_down): Moved to here and corrected as above.
9352         (layout_record): Pass proper arg types to size_binop.
9353         (layout_type): Likewise.
9354         If sizetype_set is zero, record the type just laid out.
9355         (make_unsigned_type): Don't call set_sizetype;
9356         (make_signed_type): Likewise; also, call fixup_signed_type.
9357         (initialize_sizetypes): New function.
9358         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
9359         set name of bitsizetype to "bit_size_type".
9360         Fix up type of sizes of all types made before call.
9361         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
9362         * tree.c (fix_sizetype): Deleted.
9363         (build_common_tree_nodes): Call initialize_sizetypes.
9364         (build_common_tree_nodes_2): Don't call fix_sizetype.
9365         * tree.h (TYPE_IS_SIZETYPE): New macro.
9366         (initialize_sizetype): New declaration.
9367         (enum size_type_kind): New type.
9368         (struct sizetype_tab): Deleted.
9369         (sizetype_tab): Now array; adjust sizetype macros.
9370         (size_diffop, size_int_type_wide): New functions.
9371         (size_int_wide): Change number of args and type; access macros changed.
9372         (ssize_int, sbitsize_int): New macros.
9373         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
9374         (ROUND_TYPE_SIZE_UNIT): New macro.
9376 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
9378         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
9380 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9382         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
9383         Mark as possibly unused.
9385         * cse.c (cse_insn): Delete dead code involving tablejump.
9386         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
9388         * Makefile.in (libcpp.a): Start by deleting it.
9390 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9392         * cpplib.h (enum file_change_code): Added rename_file.
9393         * cpplib.c (do_line): If a filename is given, set file_change to
9394         rename_file.
9395         (output_line_command): If file_change is rename_file, always
9396         output a # directive with the file name.
9398         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
9400 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
9402         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
9403         when copying a PARM_DECL or RESULT_DECL.
9405 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9407         * fix-header.c (recognized_function): Also fix prototypes for
9408         functions taking "void".
9410 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
9412         * reload1.c (do_output_reload): Check reg_reloaded_valid before
9413         looking at reg_reloaded_contents.
9415 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
9417         * Makefile.in (STMP_FIXINC): New toggle.
9418         (LIBGCC2_DEPS): Delete all references.
9419         (stmp-headers): Delete target.  All references either deleted
9420         or changed to stmp-int-headers.
9421         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
9422         (LIBCPP_OBJS): Take out cppalloc.o.
9423         (cppalloc.o): Delete target.
9424         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
9425         (gen-protos, fix-header): Link with libiberty.a.
9426         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
9427         to empty.
9429         * configure.in: Remove refs to strerror.
9430         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
9431         * system.h: Take out strerror stanza.
9433         * cpperror.c (my_strerror): Delete function.
9434         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
9435         * cppmain.c (main): Call xmalloc_set_program_name first thing.
9436         * cppalloc.c: Delete file.
9437         * gen-protos.c: Don't provide xrealloc.
9439         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
9440         xstrerror throughout.
9442 2000-02-26  Bruce Korb  <bkorb@gnu.org>
9444         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
9445         match for DOS headers, too.
9446         * fixinc/inclhack.sh,fixincl.x: Regenerate.
9448 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
9450         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
9451         is right for most ELF targets.
9452         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
9453         Let the default file use %U properly.
9454         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
9455         default.
9457         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
9458         numbers.
9460 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9462         * toplev.c (documented_lang_options): Correct spelling error.
9463         (decode_d_option, decode_f_option, main): Likewise.
9465         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
9467         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
9468         to tell assembler it is permitted to expand large constants.
9470 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
9472         * protoize.c: (AUX_INFO_SUFFIX): New macro.
9473         (aux_info_suffix): Use.
9474         (SAVE_SUFFIX): New macro.
9475         (save_suffix): Use.
9476         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
9477         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
9478         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
9480         * invoke.texi (Running Protoize): Update documentation.
9482 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
9484         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
9486 2000-02-25  John Wehle  (john@feith.com)
9488         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
9490 2000-02-25  Anthony Green  <green@cygnus.com>
9492         * toplev.c (rest_of_compilation): Rebuild jump labels if
9493         combine_instructions has created a new direct jump.
9494         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
9495         when appropriate.
9496         (combine_instructions): Call try_combine with new argument.
9497         Return non-null value when new direct jump instruction is created.
9498         * rtl.h: combine_instructions returns an int.
9500 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
9502         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
9503         jump when changing a computed jump into a jump to a known
9504         target.
9506 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
9508         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
9509         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
9511         * i386.md (define_expand "clrstrsi"): Fix typo.
9513 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
9515         * rtl.texi: Fix typo.
9517 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9519         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
9520         UNITS_PER_WORD.  Change caller initial_elimination_offset.
9521         (rounded_frame_size): Take into account that argument pushed has
9522         changed.  Fix TARGET_ALIGN_DOUBLE problem.
9524 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
9526         * haifa-sched.c (schedule_block): Explain the real reason
9527         we delete REG_SAVE_NOTEs on the first insn of a block.
9528         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
9530 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
9532         * input.h (push_srcloc): New function.
9533         (pop_srcloc): Likewise.
9534         * toplev.c (push_srcloc): Define it.
9535         (pop_srcloc): Likewise.
9537 2000-02-24  Richard Henderson  <rth@cygnus.com>
9539         * flow.c (life_analysis): When collecting reg info, clear
9540         regs_ever_live.
9542 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9544         Fix bug exposed by reload.c no longer rounding the frame
9545         size to BIGGEST_ALIGNMENT:
9546         * sh.c (rounded_frame_size): New function.
9547         (sh_expand_prologue, sh_expand_epilogue): Use it.
9548         (initial_elimination_offset): Likewise.
9550 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9552         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
9553         * sh-protos.h (sh_need_epilogue): Declare.
9554         * sh.c (sh_need_epilogue_known): New static variable.
9555         (sh_need_epilogue): New function.
9556         (function_epilogue): Clear need_epilogue_known.
9557         * sh.md (return): Split into expander / insn pattern.
9558         Make the expander conditional on ! sh_need_epilogue ().
9560 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
9562         * machmode.h (get_mode_alignment): Declare.
9563         (GET_MODE_ALIGNMENT): Call it.
9564         * stor-layout.c (get_mode_alignment): New function. Make
9565         sure alignment is always power of 2.
9567 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9569         * i386.h: Remove useless definition of "I386" and misleading
9570         comment above it.
9572 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9574         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
9575         under which TREE_PERMANENT will be set.
9576         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
9577         build1): Use TREE_SET_PERMANENT.
9578         * print-tree.c (print_node): Don't report value of
9579         TREE_PERMANENT if ggc_p is true.
9581         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
9582         decide whether to give a type a new alias set.
9583         * objc/objc-act.c (build_objc_string_object): Never copy the string.
9584         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
9585         of value of 'obstack'.
9588 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9590         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
9592 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9594         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
9595         * cpplib.c (cpp_get_token): Produce them.
9596         * cppexp.c (cpp_lex): Handle them.
9598 2000-02-23  Nick Clifton  <nickc@cygnus.com>
9600         * config/arm/arm.c (arm_comp_type_attributes): Simply and
9601         comment tests on type attributes.
9603 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9605         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
9606         conform to documentation.
9607         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
9608         to check for special cases.
9609         * sh-protos.h (sh_loop_align): Declare.
9610         * sh.c (sh_loop_align): Define.
9612 2000-02-22  Andrew Haley  <aph@cygnus.com>
9614         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
9615         (SIZE_TYPE): Is 32 bits when using -mgp32.
9616         (PTRDIFF_TYPE): Ditto.
9618 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9620         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
9622 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9624         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
9625         BIGGEST_FIELD_ALIGNMENT a constant.
9627 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
9629         * dwarf2out.c (output_line_info): Put the marker for the end of
9630         the line number info at the actual end.
9631         (gen_struct_or_union_type_die): Use decl_function_context
9632         to check for local classes.
9633         * dwarfout.c (output_type): Likewise.
9635 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
9637         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
9638         for arguments with a mode, but no type.
9639         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
9640         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
9641         * pa/long_double.h: New file.
9642         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
9643         both have 128bit wide long doubles.
9644         * configure: Rebuilt.
9646 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9648         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
9650         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
9651         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
9652         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
9654         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
9656         * integrate.c (compare_blocks, find_block): Likewise.
9658         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
9660         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
9662         * stmt.c (stmt_status, set_file_and_line_for_stmt,
9663         expand_asm_operands): Likewise.
9665 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
9667         * predict.c (estimate_probability): Added the pointer heuristic to
9668         the collection of static branch predictors.
9670 2000-02-21  Catherine Moore  <clm@cygnus.com>
9672         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
9673         * invoke.texi (-mfix7000): Document.
9675 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
9677         * diagnostic.c (init_output_buffer): Make it possible to output at
9678         least 32 characters if we're given a too long prefix.
9680 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
9682         * varasm.c (initializer_constant_valid_p): Call
9683         lang_expand_constant to simplify the constant.
9685 2000-02-20  Bruce Korb  <bkorb@gnu.org>
9687         * fixinc/inclhack.def(stdio_va_list):
9688         typedef needs to be disabled.
9689         * fixinc/inclhack.sh: regen
9690         * fixinc/fixincl.x: regen
9692 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
9694         * print-rtl.c (print_rtx): Don't print addresses when
9695         flag_dump_unnumbered.
9697 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9699         * sparc.c (sparc_output_scratch_registers): Mark parameter with
9700         ATTRIBUTE_UNUSED.
9701         (sparc_va_arg, sparc_flat_output_function_prologue,
9702         sparc_flat_output_function_epilogue): Cast value to unsigned in
9703         comparison.
9704         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
9706         * sparc.md: Add default case in switch.
9708 2000-02-19  Richard Henderson  <rth@cygnus.com>
9710         * c-typeck.c (add_pending_init): Don't abort for multiple
9711         fields at the same offset.
9712         (pending_init_member): Test the correct member.
9714 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9716         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
9717         instead of SImode.
9718         (start_catch_handler) : Same.
9720 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
9722         * Makefile.in: Have flow.o depend on $(EXPR_H)
9724 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9726         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
9727         * c-decl.c (duplicate_decls, finish_enum): Likewise.
9728         (finish_decl): Remove -Wlarger-than code from here.
9729         * flags.h (id_clash_len): Now int.
9730         (larger_than_size): Now HOST_WIDE_INT.
9731         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
9732         Clean up checking to see if in table.
9733         (make_bit_field_ref): Remove extra parm to bitsize_int.
9734         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
9735         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
9736         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
9737         and for computing size of decl.
9738         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
9739         Move -Wlarger-than code to here.
9740         (layout_record): Remove extra arg to bitsize_int.
9741         Set TYPE_BINFO_SIZE_UNIT.
9742         (layout_union): Remove extra arg to bitsize_int.
9743         Use proper type for size of QUAL_UNION.
9744         (layout_type): Remove extra arg to bitsize_int.
9745         * toplev.c (id_clash_len): Now int.
9746         (larger_than_size): Now HOST_WIDE_INT.
9747         (decode_W_option): Clean up id-clash and larger-than- cases.
9748         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
9749         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
9750         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
9751         (struct tree_decl): New field size_unit.
9752         (size_int_wide): No HIGH operand; NUMBER is now signed.
9753         (size_int_2): Deleted.
9754         (size_int, bitsize_int): Don't use it and rework args.
9755         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
9757 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
9759         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
9761 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
9763         * invoke.texi (Warning Options): Add an explanation of why
9764         you might want the -Wfloat-equal flag.
9766 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9768         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
9769         * cppinit.c (new_pending_define): Add cast to avoid warning.
9770         * expmed.c (extract_bit_field): Likewise.
9771         * flow.c (enum reorder_skip_type): New type.
9772         (skip_insns_between_blcok): New it.
9773         Rework to avoid warning about possibly undefined variable.
9774         * function.c (assign_parms): Make thisparm_boundary unsigned.
9775         * genrecog.c (write_switch): Cast XWINT result to int.
9776         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
9777         * mips-tfile.c (init_file): Make two versions of FDR intializer:
9778         one for MIPS and one for Alpha.
9779         (get_tag, copy_object): Add casts to avoid warnings.
9780         * optabs.c (init_one_libfunc): Cast NAME to (char *).
9781         * reload.c (find_reloads): Make TYPE enum reload_type.
9782         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
9783         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
9784         * varasm.c (compare_constant_1): Add cast to avoid warning.
9785         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
9786         to (char *).
9787         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
9788         Cast switch operand of size to int.
9789         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
9790         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
9791         in unhandled case.
9793 2000-02-18  Nick Clifton  <nickc@cygnus.com>
9795         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
9796         anything for an alignment of zero.
9798         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
9799         anything for an alignment of zero.
9801 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
9803         * gcc.texi (Bug Reporting): Refer to bugs.html.
9804         (Bug Lists): Likewise.
9805         * system.h (GCCBUGURL): New preprocessor define.
9806         * rtl.c (fancy_abort): Use it.
9807         * gcc.c (main): Likewise.
9809 2000-02-18  Richard Henderson  <rth@cygnus.com>
9811         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
9812         (life_analysis_1): Subsume into ...
9813         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
9814         Use update_life_info for the relaxation.
9815         (update_life_info): Update REG_BASIC_BLOCK for registers live on
9816         entry and regs_live_at_setjmp.
9817         (set_noop_p): Simplify.
9818         (notice_stack_pointer_modification_1): Renamed from s/_1//.
9819         (record_volatile_insns): Split into ...
9820         (delete_noop_moves): ... here,
9821         (notice_stack_pointer_modification): ... here,
9822         (insn_dead_p): ... and here.
9823         (propagate_block): Don't query INSN_VOLATILE.
9824         (mark_used_regs): Mind !PROP_REG_INFO.
9825         * toplev.c (rest_of_compilation): Call mark_constant_function here,
9826         not in life_analysis.
9828 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
9830         * loop.c (canonicalize_condition): New function,
9831         broken out of get_condition.
9832         (get_condition): Use it.
9833         * expr.h (canonicalize_condition): Prototype it.
9835         * tree.h (tree_int_cst_msb): Declare.
9836         * tree.c (tree_int_cst_msb): New function.
9838 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9840         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
9841         isn't set.
9843         * invoke.texi (-fmessage-length=n): Document.
9845 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
9847         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
9849 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9851         * function.c (thread_prologue_and_epilogue_insns): Put a line note
9852         after the prologue.
9854 2000-02-17  Nick Clifton  <nickc@cygnus.com>
9856         * config/arm/thumb.c: Replace includes of system headers with
9857         #include "system.h".
9859 2000-02-16  Richard Henderson  <rth@cygnus.com>
9861         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
9862         Add crtbeginS.o and crtendS.o.
9863         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
9864         (ENDFILE_SPEC): Use crtendS.o.
9865         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
9867         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
9868         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
9869         shared and present.
9870         (__dso_handle): New variable.
9871         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
9872         bias to __CTOR_END__.
9874 2000-02-16  Richard Henderson  <rth@cygnus.com>
9876         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
9878 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9880         * longlong.h (__clz_tab): Declare as static to match definition.
9882 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
9884         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
9885         (XREF_FILE_NAME): Define.
9887         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
9888         (EH_FRAME_SECTION_ASM_OP): Define.
9889         (IDENT_ASM_OP): Define.
9890         (TEXT_SECTION_ASM_OP): Define.
9891         (CPP_SPEC): Define.
9892         (CTORS_SECTION_ASM_OP): Define.
9893         (CTOR_SECTION_FUNCTION): Use it.
9894         (DTORS_SECTION_ASM_OP): Define.
9895         (DTOR_SECTION_FUNCTION): Use it.
9897 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
9899         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
9900         NOTE_BASIC_BLOCK.
9902         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
9903         debug_bb_n): New functions.
9904         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
9905         * basic-block.h: Prototype new functions.
9907 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
9909         * configure.in: Add support for avr target.
9910         * configure: Rebuilt.
9912         * invoke.texi: Add AVR invocation docs.
9913         * install.texi: Add information about AVR.
9914         * md.texi: Add AVR constraint letters description.
9915         * extend.texi: Add description for AVR specific attributes.
9917 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
9919         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
9921 2000-02-16  Nick Clifton  <nickc@cygnus.com>
9923         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
9924         (make_insn_raw): Move RTL check here.
9926 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9928         * version.c: Include gansidecl.h and version.h.
9930         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
9932         * configure.in (gcc_version): When setting, narrow search to
9933         lines containing `version_string'.
9935         * Makefile.in (mainversion): Likewise.
9936         (GCC_H): New variable.
9937         (gcc.h): Delete target.
9938         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
9939         (version.o): Depend on version.h.
9940         (dbxout.o): Don't depend on gcc.h.
9942 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9943                           Michael Meissner  <meissner@cygnus.com>
9945         * md.texi (Simple Constraints): Add item about whitespace.
9946         * genoutput.c (strip_whitespace): New.
9947         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
9948         strip_whitespace for constraints.
9949         Test pointer using NULL, not 0.
9951 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9953         * cpplib.c (do_line): Pedwarn for #line > 32767.
9955         * c-lex.c (readescape): Warn about '\x', but do not reject it.
9957 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
9959         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
9960         to default cpp spec.
9961         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
9962         * cpp.texi: Document __GNUC_PATCHLEVEL__.
9963         * cpp.1: Likewise.
9965         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
9966         default spec.
9968 2000-02-15  Denis Chertykov  <denisc@overta.ru>
9970         * configure.in: Add support for avr target.
9972 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9974         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
9975         (sh_addr_diff_vec_mode): Don't declare.
9976         * sh.c (sh_addr_diff_vec_mode): Delete.
9978 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9980         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
9982 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9984         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
9985         (smulsi3_highpart_i): Name.
9986         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
9987         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
9988         (smulsi3_highpart, umulsi3_highpart): Likewise.
9990         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
9991         correctly independent of endianness.
9992         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
9993         confuse the optimizers.
9994         (mulsidi3+1, umulsidi3+1): New define_split.
9996 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
9998         * config/sh/sh.md: Guard insn splits against illegal registers.
9999         * config/sh/sh.h: Correct comment about macros.
10001 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10002                           Andrew MacLeod  <amacleod@cygnus.com>
10004         * Makefile.in (lcm.o): Depend on insn-attr.h.
10005         * basic-block.h (optimize_mode_switching): Declare.
10006         * lcm.c (tm_p.h, insn-attr.h): #include.
10007         (seginfo, bb_info): New structs.
10008         (antic, transp, comp, delete, insert) : New file-scope static variables.
10009         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
10010         (reg_becomes_live, optimize_mode_switching): Likewise.
10011         * tm.texi: Add description of mode switching macros.
10012         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
10014         * sh-protos.h (remove_dead_before_cse): Remove prototype.
10015         (fldi_ok, fpscr_set_from_mem): New prototypes.
10016         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
10017         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
10018         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
10019         (sh_flag_remove_dead_before_cse): Remove declaration.
10020         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
10021         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
10022         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
10023         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
10024         (barrier_align): Allow for JUMP_INSNS containing a parallel.
10025         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
10026         (fldi_ok): New function.
10027         (get_fpscr_rtx): Add fpscr_rtx as GC root.
10028         (emit_sf_insn): Only generate fpu switches when optimize < 1.
10029         (emit_df_insn): Likewise.
10030         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
10031         (sh_flag_remove_dead_before_cse): Delete.
10032         (get_free_reg, fpscr_set_from_mem): New functions.
10033         * sh.md (movdf, movsf): Remove no_new_pseudos code.
10034         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
10036 2000-02-15  Loren Rittle  <ljrittle@acm.org>
10038         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
10040 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10042         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
10043         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
10045         * cccp.c: Include version.h and/or don't declare `version_string'.
10046         * collect2.c: Likewise.
10047         * alpha.c: Likewise.
10048         * arm/aof.h: Likewise.
10049         * arm/coff.h: Likewise.
10050         * arm/elf.h: Likewise.
10051         * arm/pe.h: Likewise.
10052         * arm/tcoff.h: Likewise.
10053         * arm/telf.h: Likewise.
10054         * arm/tpe.h: Likewise.
10055         * arm/vxarm.h: Likewise.
10056         * convex/convex.c: Likewise.
10057         * i386/dgux.c: Likewise.
10058         * i386/sun386.h: Likewise.
10059         * m88k/m88k.c: Likewise.
10060         * mcore/mcore-pe.h: Likewise.
10061         * mips/mips.h: Likewise.
10062         * romp/romp.h: Likewise.
10063         * sh/sh.c: Likewise.
10064         * cpphash.c: Likewise.
10065         * cppinit.c: Likewise.
10066         * dwarf2out.c: Likewise.
10067         * dwarfout.c: Likewise.
10068         * gcc.c: Likewise.
10069         * gcc.h: Likewise.
10070         * mips-tfile.c: Likewise.
10071         * protoize.c: Likewise.
10072         * toplev.c: Likewise.
10073         * tree.h: Likewise.
10075         * version.c (version_string): Constify a char*.
10077         * version.h: New file.
10079 2000-02-14  Nick Clifton  <nickc@cygnus.com>
10081         * configure.in: Add mcore-elf and mcore-pe targets.
10082         * configure: Regenerate.
10084         * NEWS: Add note that MCore port has been contributed.
10086         * invoke.texi: Document command line switches for MCore port.
10087         * install.texi: Add MCore to list of supported targets.
10089 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
10091         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
10092         then we will need to import the frame handling functions.
10093         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
10094         to import the frames themselves.
10096 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
10097                           Jason Eckhardt  <jle@cygnus.com>
10099         * basic_block.h: Added prototype for reorder_basic_blocks.
10100         * toplev.c: Changes to add -freorder-blocks and graph dump after
10101         block reordering is done.
10102         * flow.c (reorder_block_def): New structure for use during block
10103         reordering.
10104         (REORDER_BLOCK_*): New macros to access members of above structure.
10105         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
10106         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
10107         functions for block reordering.
10109 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10111         * gcc.texi (Passes): Fix typo.
10112         * md.texi (Standard Names): Ditto.
10113         * tm.texi (Storage Layout): Ditto.
10115 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
10117         * cpplib.c (do_define): Only free the old definition if it
10118         actually had one.
10120 2000-02-13   Neil Booth  <NeilB@earthling.net>
10122         * cppfiles.c (read_and_prescan): When emitting deferred
10123         newlines, test speccase[] again instead of checking each
10124         possible whitespace character in turn.  When we encounter \r,
10125         look behind for \n first, then ahead.
10127 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
10129         * cse.c (cse_altered): New internal flag.
10130         (cse_insn): Set it if we changed an insn.
10131         (cse_main): Clear cse_altered before each basic block.
10132         Only garbage collect if cse_altered is true afterward.
10134 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10136         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
10138 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
10140         * combine.c (simplify_comparison): Fix typo.
10142 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
10144         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
10145         consistently.
10147 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10149         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
10150         previously inserted node instead of root node.  Caller changed.
10152 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10154         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
10156 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10158         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
10159         __dereg_frame_dtor): Add prototype argument.
10161         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
10163         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
10165         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
10167         * gthr-vxworks.h (__gthread_once): Likewise.
10169         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
10171 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
10173         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
10174         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
10175         stack pointer in functions w/o saved registers, output LEAVE more often
10176         on TARGET_USE_LEAVE machines.
10178 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
10180         * config/arm/arm.c (arm_init_cumulative_args); New function:
10181         Initlaise the CUMULATIE_ARGS strcuture for a function
10182         defintion.
10183         (arm_function_arg): New function: Determine where to place a
10184         function's argument.  Also handles deciding the function's
10185         call cookie.
10186         (current_file_function_operand): New function: Return true if
10187         the symbol is a function which has already been compiled.
10188         (arm_is_long_call_p): New function: Return true if the
10189         indicated function should be called via a long call.
10190         (arm_valid_type_attribute_p): New function: Return true if the
10191         attribute is a valid, arm specific, attribute.
10192         (arm_comp_type_attribute): New function: Return true if the
10193         two types have compatable, arm specific, attributes.
10195         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
10196         structure.
10197         (FUNCTION_ARG): Redefine to call arm_function_arg.
10198         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
10199         structure field.
10200         (INIT_CUMULATIVE_ARGS): Redefine to call
10201         arm_init_cumulative_args.
10202         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
10203         field.
10204         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
10205         field.
10206         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
10207         functions.
10208         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
10209         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
10210         (COMP_TYPE_ATTRIBUTES): Define.
10212         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
10213         if a long call is needed.
10214         (call_value): Call arm_is_long_call_p to decide if a long call
10215         is needed.
10216         (call_symbol): Call arm_is_long_call_p to decide if a long call
10217         is needed.
10219         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
10221 2000-02-11  Denis Chertykov  <denisc@overta.ru>
10223         * README.AVR: New file with information about the avr ports.
10224         * config/avr: New directory with avr port files.
10226 2000-02-11  Andreas Jaeger  <aj@suse.de>
10228         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
10230 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
10232         * cpphash.c: Fix formatting, update commentary.
10233         (dump_definition): Take three separate arguments instead of a
10234         MACRODEF structure argument.
10235         * cpphash.h: Update prototype of dump_definition.
10236         * cppinit.c (cpp_finish): Update call of dump_definition.
10238         * cpplib.c (do_define): Always create new hash entry with
10239         T_MACRO type.  Remove redundant check for redefinition of
10240         poisoned identifier.  Update call of dump_definition.
10241         (do_undef): Don't call check_macro_name.  Rename sym_length to
10242         len.
10243         (do_error, do_warning): Don't use copy_rest_of_line or
10244         SKIP_WHITE_SPACE.
10245         (do_warning): Don't use pedwarn for the actual warning,
10246         only the notice about its not being in the standard.  (Fixes
10247         bug with #warning in system headers.)
10248         (do_ident): Stricter argument checking - accept only a single
10249         string after #ident.  Also, macro-expand the line.
10250         (do_xifdef): Use cpp_defined.  De-obfuscate.
10252         (do_pragma): Split out specific pragma handling to separate
10253         functions.  Use get_directive_token.  Update commentary.  Do
10254         not pass on #pragma once or #pragma poison to the front end.
10255         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
10256         do_pragma_default): New.
10258 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
10260         * jump.c (jump_optimize_1): The first operand in a relational
10261         can be a CONST_INT.
10262         * optabs.c (emit_conditional_move): Handle relationals which
10263         have a known true/false result.
10265 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
10267         * function.c (thread_prologue_and_epilogue_insns): Don't insert
10268         a RETURN insn into a block which already ends with a jump.
10270 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
10272         * haifa-sched.c (BUF_LEN): Increase a lot.
10274 2000-02-11  Nick Clifton  <nickc@cygnus.com>
10276         * configure.in: Add tm_p_file specification for thumb targets.
10277         * configure: Regenerate.
10279         * config/arm/thumb-protos.h: New file: Prototypes for exported
10280         functions defined in thumb.c.
10282 2000-02-11  Robert Lipe  <robertl@sco.com>
10284         * Makefile.in (bootstrap-lean): Remove additional files.
10285         (bootstrap2-lean): Likewise.
10286         (VOL_FILES): List of files for above.
10288 2000-02-11  Nathan Sidwell  <nathan@acm.org>
10290         * cpphash.c (special_symbol): Remove spurious argument to
10291         cpp_lookup.
10293 2000-02-11  Joel Sherrill (joel@OARcorp.com>
10295         * configure.in: (i*86-*-rtems*): Swapped elf and coff
10296         stanzas.
10297         * configure: Rebuilt.
10299 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
10301         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
10303 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
10305         * pa.c, pa.h: Remove trigraph sequences within comments.
10307 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
10309         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
10311 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
10313         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
10315 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10317         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
10319 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10321         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
10322         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
10323         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
10324         (ASM_FILE_END): Use c4x_file_end.
10325         * config/c4x/c4x.c (c4x_global_label): New function.
10326         (c4x_external_ref, c4x_file_end): Likewise.
10328         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
10329         (c4x_external_ref, c4x_end_file): Likewise.
10331 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
10333         * cppexp.c: Don't include cpphash.h.
10334         (parse_charconst, cpp_lex): Use cpp_defined.
10335         (cpp_lex): Use get_directive_token throughout.  Remove
10336         unnecessary cases from switch.  Move assertion-handling code
10337         down to OTHER case.
10338         (cpp_parse_expr): If we see '+' or '-', check the context to
10339         determine if they are unary or binary operators.  Streamline
10340         the jumps a bit.  Do not call skip_rest_of_line.
10342         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
10343         static.  Export get_directive_token.  Update commentary.
10344         (cpp_defined): New function.
10345         (do_define): Remove reference to T_PCSTRING.  Call
10346         free_definition to release memory for old definition, when
10347         redefining a macro.
10348         (eval_if_expression): Set only_seen_white to 0 before calling
10349         cpp_parse_expr.  Call skip_rest_of_line after it returns.
10350         (cpp_read_check_assertion): Don't preserve a pointer into the
10351         token buffer across a call to cpp_get_token.
10353         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
10354         * cppfiles.c (redundant_include_p): Use cpp_defined.
10355         * cpphash.c (free_definition): New function.
10356         (delete_macro): Use it.  Update commentary.
10357         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
10358         free_definition.
10359         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
10360         from enum node_type.  Prototype cpp_defined and get_directive_token.
10361         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
10363         * fix-header.c (check_macro_names): Use cpp_defined.
10364         (read_scan_file): Set inhibit_warnings and inhibit_errors in
10365         the options structure.
10367 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10369         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
10371 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
10373         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
10374         rather than die->die_tag.
10376 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10378         * combine.c (make_extraction, force_to_mode): Avoid warning on
10379         mixed-signedness conditionals.
10380         (make_field_assignment, nonzero_bits): Likewise.
10381         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
10382         (store_split_bit_field, extract_split_bit_field): Likewise.
10383         (extract_fixed_bit_field, store_bit_field,
10384         * expr.c: Change alignment to be unsigned everywhere.
10385         (move_by_pieces, store_constructor_field, store_constructor):
10386         Alignment parm is unsigned.
10387         (emit_block_move, emit_group_load, emit_group_store): Likewise.
10388         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10389         (do_compare_rtx_and_jump): Likewise.
10390         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
10391         Compare align with GET_MODE_ALIGNMENT.
10392         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
10393         (get_inner_reference): Likewise.
10394         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
10395         (expand_assignment): Local vars for alignment now unsigned.
10396         (store_constructor, store_field, expand_expr, do_jump): Likewise.
10397         (do_compare_and_jump): Likewise.
10398         (store_field): Call new function expr_align.
10399         * expr.h (emit_block_move, emit_group_load, emit_group_store):
10400         Alignment arg now unsigned.
10401         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10402         (do_compare_rtx_and_jump, store_bit_field): Likewise.
10403         (extract_bit_field): Likewise.
10404         * fold-const.c (add_double): Add cast to eliminate signedness warning.
10405         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
10406         (get_best_mode): Alignment arg is unsigned.
10407         * rtl.h (move_by_pieces): Likewise.
10408         * store-layout.c (maximum_field_alignment, set_alignment):
10409         Now unsigned.
10410         (layout_decl): Alignment arg is now unsigned.
10411         Remove unneeded casts.
10412         (layout_record, layout_union, layout_type): Remove unneeded casts.
10413         Local alignment variables now unsigned.
10414         (get_best_mode): Alignment arg now unsigned.
10415         * tree.c (expr_align): New function.
10416         * tree.h (expr_align): Likewise.
10417         (maximum_field_alignment, set_alignment): Now unsigned.
10418         (get_inner_reference): Alignment argument is now pointer to unsigned.
10419         * varasm.c (assemble_variable): Add cast to eliminate warning.
10421 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
10423         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
10424         then store directly into op0.
10426         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
10427         the CALL_INSN, and emit the note immediately after it.
10429 2000-02-10  Nick Clifton  <nickc@cygnus.com>
10431         * config/arm/thumb.md (epilogue): Include a (return) in the
10432         generated insn, and emit it using emit_jump_insn not
10433         emit_insn.
10435 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
10437         * function.c (assign_temp): Change zero-sized arrays to size 1.
10438         * integrate.c (expand_inline_function): Do not update
10439         stack_alignment_needed
10440         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
10441         add some sanity checking, remove optimization for function with
10442         zero frame size.
10444 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10446         * flow.c (mark_regs_live_at_end): Delete unused variables.
10448         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
10450         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
10451         in macro FRAME_GROWS_DOWNWARD.
10453         * stmt.c (expand_end_bindings): Delete unused variable.
10455         * unroll.c (iteration_info): Mark parameter `loop' with
10456         ATTRIBUTE_UNUSED.
10458 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10460         * fixinc/server.c (load_data): Return NULL if the marker line is
10461         not found.
10462         (run_shell): If load_data returns NULL, retry the command once, in
10463         a new shell.
10465         * configure: Rebuilt.
10467 2000-02-09  Bruce Korb  <bkorb@gnu.org>
10469         * gcc/fixincludes:  ** DELETED **
10470         * gcc/fixcpp:  ** DELETED **
10471         * gcc/fixinc-nt.sed:  ** DELETED **
10472         * gcc/just-fixinc:  ** DELETED **
10473         * gcc/Makefile.in:  Removed out-dated commentary
10474         * gcc/configure.in: Removed fast-fixincludes disablement.
10475         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
10477 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10478         * function.c (thread_prologue_and_epilogue_insns): Uncomment
10479         last change.
10481 2000-02-09  Richard Henderson  <rth@cygnus.com>
10483         * jump.c (delete_insn): Don't delete user labels at -O0.
10485 2000-02-09  Robert Lipe  <robertl@sco.com>
10487         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
10488         Don't link with HOST_LIBS.
10490 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10492         * configure.in: Correct --help text for --with-dwarf2.
10493         Put tm-dwarf2.h after other tm files, if it's requested.
10494         * configure: Regenerate.
10495         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
10496         defining it.
10498 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10500         * cpplib.h: Provide HASHNODE typedef and forward decl of
10501         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
10502         DEFINITION, struct hashnode, struct macrodef, struct
10503         definition, scan_decls prototype, default defn of
10504         INCLUDE_LEN_FUDGE moved elsewhere.
10506         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
10507         definition, and struct hashnode moved here. Remove the unused
10508         'predefined' field from struct definition.  Replace the 'args'
10509         union with its sole member.  All users updated (cpphash.c).
10510         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
10511         multiple include guard.
10513         * cpphash.c (hashf): Make static; use better algorithm; drop
10514         HASHSIZE parameter; return an unsigned int.
10515         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
10516         used. Calculate HASHSIZE modulus here.
10517         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
10518         here.
10519         (create_definition): Drop PREDEFINITION parameter.
10520         * cpplib.c (do_define): Don't calculate a hash value here.
10521         Don't pass (keyword == NULL) to create_definition.
10523         * scan.h: Prototype scan_decls here.
10524         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
10525         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
10526         callers of cpp_lookup and cpp_install updated.
10528         * cpphash.c (macarg): Hoist all the flag diddling out of the
10529         function...
10530         (macroexpand): ... and out of the loop that calls macarg.
10531         Skip over the initial paren before macro arguments with
10532         cpp_get_non_space_token; point may be some distance before
10533         that paren.  Abort if it's not there.
10535         * cpplib.c (parse_clear_mark): Delete function.
10536         (parse_set_mark, parse_goto_mark): Make static.
10537         (ACTIVE_MARK_P): New macro.
10538         (skip_block_comment, skip_line_comment): Do not bump the line
10539         if ACTIVE_MARK_P is true.
10540         (cpp_pop_buffer): The buffer to be popped may not have an
10541         active mark.
10542         (cpp_get_token): When looking for the initial paren before
10543         macro arguments, only set a mark in a file buffer, Always
10544         return to that mark before proceeding to call macroexpand or
10545         return a NAME token.
10547         * cpplib.h: Remove prototypes of parse_set_mark,
10548         parse_clear_mark, parse_goto_mark.
10549         (struct cpp_options): Rename 'put_out_comments' to
10550         'discard_comments' and invert its sense.
10551         * cppinit.c, cpphash.c, cpplib.c: All users of
10552         put_out_comments changed to use discard_comments, with
10553         opposite sense.
10555 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10557         * function.c (thread_prologue_and_epilogue_insns): Don't delete
10558         the edge from a block that both jumps and falls through to the
10559         fallthru block.
10561 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
10563         * config/arm/arm.md (movsi): In PIC mode, make sure that a
10564         constant source address is legitimate.
10566 2000-02-09  Philip Blundell  <pb@futuretv.com>
10568         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
10569         correctly.
10571         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
10572         generating PIC.
10573         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
10575 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10577         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
10578         ends with a newline and a NUL.  Don't be so clever manipulating
10579         strings.
10581 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
10583         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
10584         not to BIGGEST_ALIGNMENT.
10586 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
10588         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
10589         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
10590         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
10591         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
10592         * frame.c (execute_cfa_insn): Handle
10593         DW_CFA_GNU_negative_offset_extended.
10595 2000-02-08  Richard Henderson  <rth@cygnus.com>
10597         * flow.c (tidy_fallthru_edges): Split out from ...
10598         (delete_unreachable_blocks): ... here.
10599         (find_basic_blocks): Use it.
10601 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10603         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
10605 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
10607         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
10608         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
10609         (fix-header.o): Don't depend on cpphash.h.
10611         * scan.c (hashstr): New function.
10612         * scan.h: Prototype it.
10613         * fix-header.c: Don't include cpphash.h.  Use hashstr.
10614         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
10615         hashstr.  Report hash table statistics.  Add private
10616         definition of xrealloc.
10618 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10620         * i386.h (TARGET_SWITCHES): Fix typo in option name.
10622 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
10624         * function.c (thread_prologue_and_epilogue_insns): Don't replace
10625         jumps with returns unless they are jumps to the fallthru block.
10627 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
10629         * i386.md (addqi3_cc): Fix contraints.
10631 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10633         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
10635 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
10637         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
10638         carriage return after a macro name.
10640 2000-02-07  Fred Fish  <fnf@be.com>
10642         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
10643         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
10645 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
10647         * cppfiles.c (deps_output): Count spacers in deps_column.
10649 2000-02-07  Neil Booth  <NeilB@earthling.net>
10651         * cppinit.c (initialize_dependency_output): If there is no
10652         suffix, don't try to look for known suffixes.  Use strrchr.
10653         (cpp_start_read): Remove duplicate initialization.
10655 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
10657         * calls.c (compute_argument_block_size): New argument
10658         preferred_stack_boundary.
10659         (expand_call): update cfun->preferred_stack_boundary, update call of
10660         compute_argument_block_size
10661         (emit_library_call): Increate cfun->preferred_stack_boundary
10662         to PREFERRED_STACK_BOUNDARY
10663         (emit_library_call_value): Likewise.
10664         * explow.c (allocate_dynamic_stack_spave): Likewise.
10665         * function.c (prepare_function_start): Set
10666         cfun->preferred_stack_boundary
10667         * function.h (struct function): Add preferred_stack_boundary field.
10668         * integrate.c (expand_inline_function): Update
10669         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
10670         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
10671         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
10673 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
10675         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
10676         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
10677         cpp_pedwarn, cpp_pedwarn_with_line,
10678         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
10679         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
10680         v_cpp_error_with_line, v_cpp_warning_with_line,
10681         cpp_message_from_errno, cpp_perror_with_name): Delete.
10683         * cpperror.c (cpp_print_containing_files): Take starting
10684         buffer as argument.
10685         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
10686         (v_cpp_message): Now called directly by all entry points.
10687         Remove -1 case.
10688         (cpp_pfatal_with_name, cpp_message): Delete.
10689         (cpp_notice_from_errno, cpp_ice): New functions.
10690         (cpp_notice): Is now for reporting error conditions, just
10691         without an associated file.
10692         (cpp_error, cpp_error_with_line): Don't do anything if
10693         opts->inhibit_errors is on.
10694         (cpp_pedwarn_with_file_and_line): Take column argument also.
10696         * cpplib.h: Update prototypes of exported functions.
10697         (struct cpp_options): Add inhibit_errors.
10699         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
10700         non-error messages.  Include intl.h.
10702         * cppinit.c, cppmain.c: Likewise.  Also, use
10703         cpp_notice_from_errno instead of cpp_perror_with_name or
10704         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
10706         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
10707         report internal errors.
10709         * cpplib.c (do_define): Switch bcopy to memcpy.
10710         Give cpp_pedwarn_with_file_and_line a dummy column argument.
10712         * cpplib.c (copy_rest_of_line): Revert previous change: don't
10713         bail out early if we hit a line comment.
10715 2000-02-06  Richard Henderson  <rth@cygnus.com>
10717         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
10718         * basic-block.h: Declare them.
10719         * emit-rtl.h (active_insn_p): New.
10720         (next_active_insn, prev_active_insn): Use it.
10721         * rtl.h: Declare it.
10722         * function.c (emit_return_into_block): New.
10723         (thread_prologue_and_epilogue_insns): Insert return insns instead
10724         of epilogues when possible.
10725         * jump.c (jump_optimize_1): Remove code to insert a return insn
10726         on the fallthru to the exit block.
10728         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
10729         and for non-empty stack frames.
10730         * i386.md (return): Expand to return-pop as needed.
10732 2000-02-06  Richard Henderson  <rth@cygnus.com>
10734         * simplify-rtx.c (simplify_relational_operation): Canonicalize
10735         constant to op1 for testing.
10737 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10739         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
10740         (fixuns_truncqfqi2): Use it.
10742 2000-02-06  Richard Henderson  <rth@cygnus.com>
10744         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
10745         as a TYPE_LEA insn.
10747         * i386.md (widening and peepholes): Mask the constant instead of
10748         using gen_lowpart.
10750 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10752         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
10753         input pointer before possibly branching off to the backslash
10754         code.
10755         * cpphash.c (macroexpand): Correctly delete \r escapes when
10756         stringifying parameters.
10757         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
10758         if we can; bail out early if we hit a line comment.
10759         (handle_directive): Treat '# 123' in an .S file just like
10760         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
10761         Return 1 for '# not_a_directive'.
10762         (get_directive_token): Pop macro buffers here, so that
10763         cpp_get_token can't sneakily move past a newline.
10764         Add sanity checks.
10765         (cpp_get_token): goto randomchar if handle_directive returns 0.
10767         * cppalloc.c: Update copyright.
10768         * cpplib.c: Merge all the static function prototypes into one
10769         block.
10770         * cpplib.h: Remove #if 0 block.
10772         * cpperror.c: Remove #ifdef EMACS block.
10773         * cppmain.c: Likewise.
10774         * cpphash.c: Remove #if 0 blocks.
10775         * cppinit.c: Remove #if 0 blocks, and the -lint option.
10776         * cpplib.c: Remove #if 0 blocks and code referencing
10777         pcp_inside_if or for_lint.  Remove duplicate error message.
10778         Fix error messages for #else after #else or #elif.  Reformat.
10779         Remove archaic TODO list.
10780         * cpplib.h: Remove pcp_inside_if and for_lint flags.
10782 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10784         * i386/osf1elf.h: Add missing backslash to multiline string.
10786 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10788         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
10790 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10792         * Makefile.in (c-common.o): Depend on $(EXPR_H).
10794         * c-common.c: Include expr.h.
10796         * c-pragma.c (mark_align_stack): Add prototype.
10798         * caller-save.c (add_stored_regs): Likewise.
10800         * combine.c (record_promoted_value): Likewise.
10802         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
10803         Likewise.
10805         * cppinit.c (new_pending_define): Likewise.
10807         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
10809         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
10810         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10811         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
10812         class_scope_p): Likewise.
10814         * dwarf2out.h (dwarf2out_set_demangle_name_func,
10815         dwarf2out_add_library_unit_info): Likewise.
10817         * ggc.h (ggc_page_print_statistics): Likewise.
10819         * haifa-sched.c (propagate_deps): Likewise.
10821         * reg-stack.c (next_flags_user, record_label_references): Likewise.
10823         * rtl.h (set_stack_check_libfunc): Likewise.
10825         * toplev.h (set_fatal_function): Likewise.
10827         * toplev.c (set_fatal_function): Delete prototype.
10829         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
10831 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
10833         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
10834         (FUNC_END): Likewise.
10836 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10838         * caller-save.c: Include tm_p.h.
10840 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10842         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
10844 2000-02-04  Neil Booth  <NeilB@earthling.net>
10846         * cccp.c (main): Check 'dir' for a NULL pointer before passing
10847         it to strcmp.
10849 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
10851         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
10852         * genflags.c: Use the max_operand_1 logic from genemit.c to
10853         calculate how many arguments gen_insn prototypes have.  Remove
10854         NO_MD_PROTOTYPES ifdefs from the generated file.
10855         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
10856         file.  Cast gen_insn initializers to insn_gen_fn.
10857         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
10858         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
10860 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10862         * fixinc/Makefile.in (HDR): Add machname.h.
10863         (clean): Likewise.
10865 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10867         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
10868         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
10869         (c4x_cpu_version): Ditto.
10870         * config/c4x/c4x-protos.h: ... here.
10872 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
10874         * dwarf2out.c (add_abstract_origin_attribute): Don't call
10875         gen_abstract_function on our context if we're a nested function.
10877 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10879         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
10880         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
10882 2000-02-04  Bruce Korb  <bkorb@gnu.org>
10884         * fixinc/genfixes(machname.h):
10885         Move the functionality from gen-machine.h into this file.
10886         UNdef MN_NAME_PAT if there are no names to change.
10887         Also, be a little kinder when AutoGen is not present.
10889         * fixinc/Makefile.in(machname.h):
10890         Change the generation rule to use genfixes.
10892         * fixinc/fixfixes.c(machine_name):
10893         machine_name_fix's functionality now dependent upon whether
10894         MN_NAME_PAT is defined.
10896         * fixinc/fixtests.c(machine_name):
10897         ditto.
10899         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
10900         of MN_NAME_PAT.
10902         * fixinc/fixlib.h(mn_get_regexps):
10903         ditto
10905         * fixinc/gen-machine.h: DELETED
10907 2000-02-04  Jan Hubicka  <jh@suse.cz>
10908             Richard Henderson  <rth@cygnus.com>
10910         * i386.c (SAVE_REGS_FIRST): Remove.
10911         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
10912         (ix86_compute_frame_size): Likewise.
10913         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
10914         (ix86_emit_restore_regs): Remove.
10915         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
10916         when a frame pointer is in use.
10917         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
10918         instead of pop to restore a register when profitable; emit leave
10919         when profitable.
10920         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
10921         as a TYPE_LEA insn.
10922         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
10923         * i386.md (prologue_allocate_stack): Remove.
10924         (epilogue_deallocate_stack): Remove.
10925         (pro_epilogue_adjust_stack): New.
10927 2000-02-04  Richard Henderson  <rth@cygnus.com>
10929         * function.c (diddle_return_value): Rework to use a callback function.
10930         Use current_function_return_rtx if it's been set up.
10931         (do_clobber_return_reg, clobber_return_register): New.
10932         (do_use_return_reg, use_return_register): New.
10933         (expand_function_end): Use them.
10934         * stmt.c (expand_null_return): Likewise.
10935         * function.h: Declare them.
10936         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
10937         (mark_reg): Change arguments as appropriate for callback.
10938         * integrate.c (expand_inline_function): Revert 19 Jan change.
10940 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10942         * tm.texi (Values in Registers): Fix typo: "fo" "for".
10943         (Misc): Say the scheduler, not the Haifa scheduler.
10945 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
10947         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
10948         when in_mem is set.  Update all callers.
10950 2000-02-04  Richard Henderson  <rth@cygnus.com>
10952         * i386/openbsd.h (INT_ASM_OP): Define.
10954 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10956         * tm.texi: Fix various typos.
10958 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
10960         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
10961         (MD_STARTFILE_PREFIX_1): New macro.
10963 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
10965         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
10966         destination when needed.
10967         (strmovsi, strsetsi): New expander.
10968         (strmovsi_1, strsetsi_1): New pattern.
10969         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
10970         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
10971         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
10972         * invoke.texi (align-stringops, inline-all-stringops): Document.
10974 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
10976         * i386/netbsd.h (INT_ASM_OP): Define.
10978 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
10980         * cpplib.h (cpp_reader): Add new flag, no_directives.
10981         * cpphash.c (macarg): Set it.
10982         * cpplib.c (handle_directive): If no_directives is on and we
10983         find a directive, issue an error and discard the line.
10985 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
10987         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
10988         FP constants.  Add ! TARGET_FPU check for FP constants.
10990 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
10992         * flow.c (find_basic_blocks): Don't kill label_value_list
10993         here.
10994         (cleanup_cfg): Kill it here.
10996 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10998         * expr.c (store_field): Ensure ALIGN is no stricter than the
10999         alignment of EXP.
11001 2000-02-02  Richard Henderson  <rth@cygnus.com>
11003         * jump.c (delete_insn): Partially revert 19 Jan change;
11004         don't convert unused code labels to notes at -O0.
11006 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11008         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
11009         split_all_insns to recreate REG_LABEL notes for flow2 pass.
11011 2000-02-01  Richard Henderson  <rth@cygnus.com>
11013         * i386.c (general_no_elim_operand): New.
11014         (nonmemory_no_elim_operand): New.
11015         (ix86_expand_move): Copy eliminable operands before a push.
11016         * i386-protos.h: Declare new functions.
11017         * i386.h (CAN_ELIMINATE): Simplify.
11018         (PREDICATE_CODES): Update.
11019         * i386.md (push insns): Don't allow eliminable register operands.
11021 2000-02-01  Richard Henderson  <rth@cygnus.com>
11023         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
11024         replace BLKmode with DECL_RTL's mode.
11026 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
11028         * frame.c (find_fde): Convert for loop to do-while so compiler
11029         sees it's always executed at least once.
11030         * libgcc2.c (BBINBUFSIZE): Kill.
11031         (__bb_init_prg): Use fgets.
11032         (__bb_exit_trace_func): Don't paste strings.
11033         * unroll.c (unroll_loop): Initialize unroll_type, not
11034         unroll_number, and tweak logic to match.
11036         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
11037         all failure paths.
11038         (ix86_flags_dependant): Likewise.  Disentangle control flow.
11039         (ix86_sched_reorder): Break guts out to
11040         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
11041         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
11042         any possible use.
11044         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
11045         use string concatenation.  Don't save and restore esi.
11047         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
11048         (machname.h): Remove script to separate file.  Use two-step
11049         sequence so target is not created if script fails.
11050         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
11051         identifiers are defined.
11052         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
11053         an empty string, machine_name doesn't need to do anything at
11054         all.
11055         (is_cxx_header): Add more cases to regexp.
11056         * fixinc/fixlib.h: Update prototype.
11057         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
11058         mn_get_regexps.
11059         * fixinc/fixincl.c: Define NO_BOGOSITY.
11061         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
11062         (hp_sysfile): Add missing comma.
11063         (math_exception): Put the wrapper ifdefs at the beginning and
11064         the end of the file.
11065         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
11067 2000-02-01  Richard Henderson  <rth@cygnus.com>
11069         * sparc.c (fp_zero_operand): Turn into a normal predicate.
11070         Use CONST0_RTX.  Update all callers.
11071         * sparc.h, sparc-protos.h: Update accordingly.
11072         * sparc.md (fp mov insns): Use fp_zero_operand directly
11073         where applicable.
11075 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11077         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
11078         example.
11080 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11082         * Makefile.in (specs.ready): New target.
11083         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
11085 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11087         * fixinc.irix: Use unique filenames for writing into /tmp,
11088         * fixinc.ptx: Likewise.
11089         * fixinc.sco: Likewise.
11090         * fixinc.svr4: Likewise.
11091         * fixinc.winnt: Likewise.
11093 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11095         * tsystem.h: New file.
11097         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
11098         s-crtS): Depend on tsystem.h.
11100         * crtstuff.c: Include tsystem.h.
11101         * frame.c: Likewise.
11102         * libgcc2.c: Likewise.
11104 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
11106         * builtins.c (expand_builtin_memset): Expand for variable sized
11107         lengths too.
11109 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
11111         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
11112         on ABI.
11114 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11116         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
11118         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
11120 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
11122         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
11123         case 3->2 combining (combining with splitting) in which 2 is CC0
11124         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
11125         checked at the begining of the function with the aid of calling
11126         function 'can_combine_p'.
11128 2000-01-31  Dave Brolley  <brolley@redhat.com>
11130         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
11132 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
11134         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
11135         new label.
11137 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11139         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
11141         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
11142         PROTO -> PARAMS.
11144 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
11146         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
11147         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
11148         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
11149         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
11150         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
11151         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
11152         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
11153         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
11154         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
11155         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
11157         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
11158         Add %(cpp_cpu) to CPP_SPEC.
11160         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
11161         Add %(cc1_cpu) to CC1_SPEC.
11163 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
11165         * c-decl.c (c_decode_option): Accept optional numeric argument to
11166         -Wformat and set warn_format.
11167         * c-common.c: Don't emit warning about non-constant printf format
11168         string unless warn_format > 1.
11170 2000-01-30  Richard Henderson  <rth@cygnus.com>
11172         * alpha.md (return_internal): Allow after reload only.
11174 2000-01-30  Richard Henderson  <rth@cygnus.com>
11176         * i386.c (ix86_compute_frame_size): Omit padding1 if the
11177         local frame size is zero.
11179 2000-01-30  Richard Henderson  <rth@cygnus.com>
11181         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
11182         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
11183         * alpha.md (return): Turn into an expander.
11184         (return_internal): Don't use $26.
11185         (epilogue): Emit the return insn.
11187 2000-01-30  Richard Henderson  <rth@cygnus.com>
11189         * alpha.md (negtf2, abstf2): Fix word order thinko.
11190         (extendsftf2): New.
11191         (trunctfsf2): Avoid intermediate rounding errors.
11193 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
11195         * cppfiles.c (find_position): Drop 'colp' argument, return the
11196         new line base.
11197         (read_and_prescan): Adjust to match.  Don't ever manipulate
11198         line or line_base except via find_position.
11200 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
11202         * c-parse.in: Apply Ulrich's changes from c-parse.y.
11203         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
11204         Regenerate.
11206 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
11208         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
11209         just print "<command line>".  If 'filename' is null or an
11210         empty string, print "<stdin>" for the filename.
11211         * cpplib.c (do_define): Don't print the 'location of the
11212         previous definition' message if we're still parsing the
11213         command line.
11214         (cpp_pedwarn_with_file_and_line): Always call
11215         cpp_file_line_for_message.
11217 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
11219         * flow.c (mark_regs_live_at_end): Fix typo.
11221 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
11223         * c-common.c: Adjust variable names, comments, help strings to c99.
11224         * c-lex.c: Likewise.
11225         * c-parse.y: Likewise.
11226         * c-tree.h: Likewise.
11227         * cccp.c: Likewise.
11228         * cpplib.h: Likewise.
11229         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
11230         * cppinit.c: Likewise.
11232 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11234         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
11235         * c4x.c: Define the optab rtx values.
11236         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
11237         (c4x_emit_libcall): Use new optab rtx values.
11238         (c4x_emit_libcall3): Likewise.
11239         (c4x_emit_libcall_mulhi): Likewise.
11240         * c4x-protos.h: Add prototypes for optab rtx values and change
11241         prototypes for above c4x_emit_libcall functions.
11243 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11245         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
11246         syntax is used.
11247         (c4x_function_prologue): Use regnames intead of float_reg_names when
11248         TI syntax is used.
11249         (c4x_function_epilogue): Likewise.
11250         (c4x_print_operand): Likewise.
11251         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
11252         * c4x.md (set_high): Disable for TARGET_TI.
11254 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11256         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
11257         of framepointer + constant to ADDR_REGS class.
11258         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
11259         * c4x.c (std_or_reg_operand): New function.
11260         * c4x-protos.h (std_or_reg_operand): Prototype it.
11262 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11264         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
11265                 object names as libgcc2.c.
11266         * libgcc.S: Use newly defined names.
11268 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
11269         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
11270         function.
11271         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
11272         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
11273         (FLOW_LOOP_LAST_BLOCK): Likewise.
11275 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11277         * basic-block.h (struct loop): New fields 'first' and 'last'.
11278         * flow.c (flow_loops_find): Compute loop->first and loop->last.
11279         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
11280         and loop->last to check for NOTE_INSN_LOOP_END.
11282 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
11284         * predict.c (estimate_probability): Use the new FIRST and LAST fields
11285         of the loop descriptor rather than HEADER and LATCH. Also added
11286         missing break statements as well making some coding style modifications
11287         as suggested by Michael Hayes.
11289 2000-01-28  Richard Henderson  <rth@cygnus.com>
11291         * flow.c (find_basic_blocks): Remove do_cleanup argument.
11292         Break out that code ...
11293         (cleanup_cfg): ... here.
11294         (commit_one_edge_insertion): Detect a return instruction being
11295         emitted to an edge.  Emit a barrier following; clear fallthru.
11296         (commit_edge_insertions): Verify CFG consistency.
11297         * function.c (expand_function_start): Kill unused variable.
11298         (expand_function_end): Likewise.
11299         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
11300         to insert the epilogue.
11302         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
11303         (delete_null_pointer_checks): Likewise.
11304         * output.h: Likewise.
11305         * reg-stack.c (reg_to_stack): Likewise.
11306         * toplev.c (rest_of_compilation): Likewise.  Run
11307         thread_prologue_and_epilogue_insns after rebuilding the CFG.
11309 2000-01-28  Richard Henderson  <rth@cygnus.com>
11311         * Makefile.in (flow.o): Revert 24 Jan change.
11312         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
11313         FUNCTION_VALUE result to DECL_RESULT's mode.
11315         * haifa-sched.c (schedule_insns): Don't recompute reg info
11316         after reload.
11318 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
11320         * configure.in: Make --enable-cpplib the default.
11321         * configure: Regenerate.
11322         * gcc.dg/990119-1.c: No longer expected to fail.
11324 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
11326         * jump.c (jump_optimize_1): Delete an optimization that is also done
11327         by merge_blocks in flow.
11329 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11331         * diagnostic.c (build_message_string, output_printf,
11332         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
11333         (build_location_prefix): Fix non-literal format string.
11335 2000-01-27  Richard Henderson  <rth@cygnus.com>
11337         * alpha.md (trunctfsf2): New.
11339 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
11341         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
11343 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
11345         * cppinit.c (cpp_handle_option): Recognize C++ comments under
11346         -std=gnu89.
11347         * cpplib.c (skip_block_comment, skip_line_comment): Split code
11348         out of...
11349         (skip_comment) ... here.  Permit C++ comments in system
11350         headers always.  Warn about C++ comments in user code under
11351         -std=gnu89 -pedantic.
11352         (copy_comment): Use skip_comment.
11353         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
11354         return EOF.
11355         (consider_directive_while_skipping, do_else, do_endif): Call
11356         validate_else unconditionally.
11357         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
11358         text after the conditional in a system header.
11359         * cpplib.h (struct cpp_buffer): Add flag
11360         warned_cplusplus_comments.
11362 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
11364         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
11365         Use unshare_all_rtl_1.
11366         (unshare_all_rtl_again): New function.
11367         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
11369         * function.c (purge_addressof_1): Use unshare_all_rtl_again
11370         rather than resetting the 'used' flags ourself.
11372         * toplev.c (rest_of_compilation): Add current_function_decl
11373         to the unshare_all_rtl call.
11374         * tree.h: Prototype unshare_all_rtl.
11375         * rtl.h: Prototype unshare_all_rtl_again here.
11377 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
11379         * genoutput.c (output_prologue): Include ggc.h in generated
11380         files.
11381         * Makefile.in (insn-output.o): Depends on ggc.h.
11383 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
11384             Hans-Peter Nilsson  <hp@bitrange.com>
11386         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
11387         Remove redundant include of xm-ns32k.h.
11388         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
11389         Remove redundant include of xm-ns32k.h.
11390         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
11391         Remove redundant include of xm-ns32k.h.
11392         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
11394         * ns32k/ns32k.h: Update comment on multiply-add instructions.
11395         (TARGET_SWITCHES): Add documentation strings.
11396         (DWARF_FRAME_REGNUM): Override default definition.
11397         (REG_CLASS_CONTENTS): Add comments.
11398         (SUBSET_P): Format to reduce line length.
11399         (SMALL_REGISTER_CLASSES): Make a run time option.
11400         (GO_IF_NONINDEXED_ADDRESS): Reformat.
11401         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
11402         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
11403         (regclass_map): fix typo in comment.
11404         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
11405         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
11406         (trace, reg_or_mem_operand): Delete, unused function.
11407         (calc_address_cost): Small offsets are cheaper than large ones.
11408         (expand_block_move): Generate more efficient code when bytes is a
11409         known at compile time.
11410         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
11411         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
11412         instead of reg_or_mem_operand.
11414         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
11415         not general_operand.  Similarly use "=rm" or stricter, not "=g".
11416         For input operands, use stricter constraints than "g" if not
11417         general_operand.  Similarly use stricter predicate than
11418         "general_operand" when stricter constraints than "g" are present,
11419         except for matching constraints.
11420         (movstrsi): Use "memory_operand" for operands 0 and 1.
11421         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
11422         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
11423         not reg_or_mem_operand.
11424         (udivmoddisi4): Ditto.
11425         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
11426         Use nonimmediate_operand for operand 3, not register_operand.
11427         (udivmoddiqi4_internal): Use register_operand for operand 1, not
11428         reg_or_mem_operand.
11430 2000-01-27  Fred Fish  <fnf@be.com>
11432         * gthr-posix.h: Fix typo; compatibily -> compatibility.
11433         * gthr-single.h: Likewise.
11434         * gthr-solaris.h: Likewise.
11435         * gthr-vxworks.h: Likewise.
11436         * gthr-win32.h: Likewise.
11437         * gthr.h: Likewise.
11439 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
11441         * cppinit.c: Add " (cpplib)" to end of string printed by
11442         -v / --version.
11444 2000-01-27  Richard Henderson  <rth@cygnus.com>
11446         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
11447         testing for a signed comparison.
11448         (alpha_emit_floatuns): New.
11449         * alpha-protos.h: Declare it.
11450         * alpha.md (floatunsdisf2, floatunsdidf2): New.
11451         (extendsfdf2): Tidy.
11453 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
11455         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
11456         no -g option specifying debugging format, default to -gstabs+.
11458 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
11460         * calls.c (special_function_p): New argument fork_or_exec.
11461         (expand_call): When profile_arc_flag is set and the function
11462         is in the fork_or_exec group, call __bb_fork_func first.
11463         * libgcc2.c, _bb module (__bb_fork_func): New function.
11464         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
11465         output file.
11466         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
11467         * tree.h (special_function_p): Update prototype.
11469 2000-01-26  Richard Henderson  <rth@cygnus.com>
11471         * alpha.c (alpha_split_tfmode_pair): New.
11472         * alpha-protos.h: Declare it.
11473         * alpha.md (abstf2, negtf2): New.
11474         (movtf insn): Add input G constraint.
11475         (movtf splitter): Use alpha_split_tfmode_pair.
11477 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11479         * i386/cygwin.h: PROTO -> PARAMS.
11481 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
11483         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
11484         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
11485         using _Qp_cmp/_Q_cmp and testing the return value.
11486         (print_operand): Call reverse_condition_maybe_unordered if
11487         we are handling CCFPmode or CCFPEmode.
11488         Handle ORDERED, UN* and LTGT comparisons.
11489         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
11490         if not TARGET_HARD_QUAD.
11491         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
11492         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
11493         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
11494         Adjust gen_b* calls so that they reflect return comparison of
11495         sparc_emit_float_lib_cmp.
11497 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11499         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
11500         incoming operands array is large enough for one more operand.
11501         (alpha_emit_xfloating_arith): Likewise.
11503 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11505         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
11506         file with one line and no trailing newline.
11507         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
11508         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
11509         checking if the match is on the line.
11510         * fixinc/gnu-regex.c: Provide regerror not __regerror.
11512 2000-01-25  Richard Henderson  <rth@cygnus.com>
11514         * sparc.c (output_cbranch): Fix accidental squashing of the
11515         fp branch pre-delay nop.
11517 2000-01-25  Richard Henderson  <rth@cygnus.com>
11519         * tree.def (UNNE_EXPR): Remove.
11520         * c-typeck.c (build_binary_op): Don't handle it.
11521         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
11523         * rtl.def (UNNE): Remove.
11524         (LTGT): Add.
11525         * jump.c (reverse_condition): Update accordingly.
11526         (swap_condition): Likewise.
11527         (comparison_dominates_p): Handle unordered comparisons.
11528         (reverse_condition_maybe_unordered): New.
11529         * rtl.h (reverse_condition_maybe_unordered): Declare.
11531         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
11532         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
11533         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
11534         * sparc.md (bltgt): New.
11536 2000-01-25  Nick Clifton  <nickc@redhat.com>
11538         * emit-rtl.c (emit_insn): Only check machine class insns for
11539         improper emission of a RETURN.
11541 2000-01-25  Richard Henderson  <rth@cygnus.com>
11543         * Makefile.in (flow.o): Depend on $(EXPR_H).
11544         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
11545         duplicate the structure of diddle_return_value for keeping regs live.
11547 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11549         * loop.c (current_loop_info): Delete.
11550         (consec_sets_invariant_p): Add loop argument, update callers.
11551         (get_condition_for_loop): Likewise.
11552         (count_nonfixed_reads, update_giv_derive): Likewise.
11553         (simplify_giv_expr, general_induction_var): Likewise.
11554         (consec_sets_giv, recombine_givs): Likewise.
11555         (move_movables): Delete loop_start and loop_end arguments,
11556         add loop argument, and update callers.
11557         (find_mem_givs, check_final_value): Likewise.
11558         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
11559         (loop_invariant_p): Rename from invariant_p, add loop argument, and
11560         update callers.
11561         (basic_induction_var): Add loop argument, delete loop_level argument,
11562         and update callers.
11563         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
11564         add loop argument, and update callers.
11565         (find_splittable_regs, find_splittable_givs): Likewise.
11566         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
11567         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
11568         (biv_total_increment): Delete loop_start and loop_end arguments;
11569         update callers.
11570         (precondition_loop_p): Delete loop_start and loop_info arguments;
11571         update callers.
11572         * loop.h (get_condition_for_loop): Add loop argument.
11573         (biv_total_increment): Delete loop_start and loop_end arguments.
11574         (precondition_loop_p): Delete loop_start and loop_info arguments;
11575         add loop argument.
11576         (final_biv_value): Delete loop_start and loop_end arguments;
11577         add loop argument.
11578         (final_giv_value, back_branch_in_range_p): Likewise.
11580 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11582         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
11584 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11586         * Makefile.in (c-gperf.h) : Change the "See" pointer to
11587         point to the new "generated_files" doc.
11589 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11591         * config/fp-bit.c (_unord_f2): Fix typo.
11593 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11595         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
11596         c-typeck.c, objc/objc-act.c: Remove all references to obstack
11597         functions obsoleted by GC, such as push_obstacks_nochange,
11598         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
11599         and code which existed only to decide whether or not to call
11600         them.  Remove now-unused NESTED argument from start_function;
11601         all callers changed.  Do not change behavior based on ggc_p.
11602         The use of the ixp_obstack in c-iterate.c and the util_obstack
11603         in objc/objc-act.c remain; these are not obsoleted by garbage
11604         collection.
11605         * c-tree.h: Update prototype for start_function.
11607         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
11609 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11611         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
11612         mips16.
11614 2000-01-25  Richard Henderson  <rth@cygnus.com>
11616         * sparc-protos.h (select_cc_mode): Declare.
11617         * sparc.c (select_cc_mode): New.  Handle unordered compares.
11618         (output_cbranch): Always reverse via code change.  Handle
11619         unordered compares.  Factor tests and string updates.
11620         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
11621         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
11622         * sparc.md (bunordered, bordered): New.
11623         (bungt, bunlt, buneq, bunge, bunle): New.
11625 2000-01-25  Richard Henderson  <rth@cygnus.com>
11627         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
11628         * ggc-common.c (ggc_add_rtx_varray_root): New.
11629         (ggc_mark_rtx_varray): New.
11630         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
11631         functions down below ggc_mark_foo.
11632         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
11634 2000-01-25  Richard Henderson  <rth@cygnus.com>
11636         * alpha.c (secondary_reload_class): Don't allocate a secondary
11637         for integral mode memories into FLOAT_REGS.  Rearrange the more
11638         complicated memory expression inward.
11640 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11642         * inclhack.def: Fixes to play nicer with FreeBSD, and
11643         corrections to comments.
11644         (cxx_unready): Add select expression.
11645         (irix_sockaddr): Add bypass expression.
11646         (machine_ansi_h_va_list): New fix.
11647         (stdio_va_list): No need to edit _BSD_VA_LIST_.
11648         Split out addition of "#include <stdarg.h>" to...
11649         (stdio_stdarg_h): ... here.
11650         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
11651         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
11652         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
11653         size_t.
11654         (ultrix_ifdef): Tighten up select expression.
11656         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
11657         re_ct and max_mach to avoid use of shell.  Make printed names
11658         match names in inclhack.def.  Use static copyright date.
11659         Don't count c_test and test expressions as requiring regex_t
11660         slots.  Add some commentary.
11661         * inclhack.tpl: Do not include the 'This script contains N
11662         fixup scripts' line if PROGRAM is defined.  Use static
11663         copyright date.
11665 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
11667         * dwarf2out.c: include "varray.h", not dyn-string.h.
11668         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
11669         (addr_const_to_string, addr_to_string): Lose.
11670         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
11671         (struct dw_val_struct): val_addr is now an rtx.
11672         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
11673         (used_rtx_varray): New varray.
11674         (dwarf2out_init): Initialize it.
11675         (save_rtx): New fn.
11676         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
11677         addr_to_string.
11678         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
11679         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
11680         * Makefile.in (dwarf2out.o): Update dependencies.
11682 2000-01-24  Richard Henderson  <rth@cygnus.com>
11684         * i386.c (i386_dwarf_output_addr_const): New.
11685         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
11687         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
11688         if defined.
11689         * dwarfout.c (output_mem_loc_descriptor): Likewise.
11690         * i386.c (i386_simplify_dwarf_addr): New.
11691         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
11693 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
11695         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
11696         TYPE_STUB_DECL is NULL.
11698 2000-01-24  Richard Henderson  <rth@cygnus.com>
11700         * builtins.c (expand_tree_builtin): Move ...
11701         * c-common.c (expand_tree_builtin): ... here.
11703 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11705         * loop.h (LOOP_INFO): New accessor macro.
11706         * basic-block.h (struct loop): Rename field `info' to `aux'.
11707         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
11708         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
11709         * unroll.c (loop_iterations, unroll_loop): Likewise.
11711 2000-01-24  Christopher Faylor <cgf@cygnus.com>
11713         * config/i386/t-cygwin: Accomodate new winsup directory layout
11714         when searching for include files.
11716 2000-01-24  Richard Henderson  <rth@cygnus.com>
11718         * rtl.def: Add unordered fp comparisions.
11719         * tree.def: Likewise.
11720         * tree.h: Add ISO C 9x unordered fp comparision builtins.
11722         * builtins.c (expand_tree_builtin): New function.
11723         * c-typeck.c (build_function_call): Use it.
11724         (build_binary_op): Support unordered compares.
11725         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
11727         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
11728         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
11729         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
11730         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
11731         * jump.c (reverse_condition): Don't abort for UNLE etc, but
11732         return UNKNOWN.
11733         (swap_condition): Handle unordered compares.
11734         (thread_jumps): Check can_reverse before reversing.
11735         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
11736         reversed for FP.
11738         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
11739         setcc is present before acking for cmp_optab.  Update all callers.
11740         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
11741         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
11742         * expr.c (expand_expr): Likewise.  Support unordered compares.
11743         (do_jump, do_store_flag): Likewise.
11744         * expr.h (enum libfunc_index): Add unordered compares.
11746         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
11747         (DPBIT_FUNCS): Add _unord_df.
11748         * config/fp-bit.c (_unord_f2): New.
11749         * fp-test.c (main): Try unordered compare builtins.
11751         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
11752         * alpha.c (alpha_comparison_operator): Check mode properly.
11753         (alpha_swapped_comparison_operator): Likewise.
11754         (signed_comparison_operator): Likewise.
11755         (alpha_fp_comparison_operator): New.
11756         (alpha_emit_conditional_branch): Handle unordered compares.
11757         * alpha.h (PREDICATE_CODES): Update.
11758         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
11759         (bunordered, bordered): New.
11761 2000-01-24  Richard Henderson  <rth@cygnus.com>
11763         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
11764         * alpha.md (movtf): New expander, insn, and splitter.
11766 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
11768         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11769         dead registers.
11771 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
11773         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
11774         (FIXED_REGISTERS, CALL_USED_REGISTERS,
11775          REG_ALLOC_ORDER): Add frame pointer
11776         (FRAME_POINTER_REGNUM): Set to 20
11777         (HARD_FRAME_POINTER_REGNUM): New macro.
11778         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
11779         to HARD_FRAME_POINTER.
11780         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
11781         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
11782         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
11783         (HI_REGISTER_NAMES): Add "frame".
11784         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
11785         (debug_reg): Handle FRAME_POINTER_REGNUM.
11786         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
11787         GENERAL_REGS and INDEX_REGS.
11788         * i386.c (SAVED_REGS_FIRST): new macro.
11789         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
11790         (ix86_decompose_address, memory_address_length): Likewise.
11791         (regclass_map): Add frame pointer.
11792         (call_insn_operand): Handle frame_pointer_rtx.
11793         (reg_no_sp_operand): Likewise.
11794         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
11795         (print_operand, legitimize_pic_address): Fix formating.
11796         (ix86_compute_frame_size): Make static, update prototype, new
11797         parameters padding1, padding2, use ix86_nsaved_regs, use
11798         stack_alignment_needed.
11799         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
11800         to HARD_FRAME_POINTER_REGNUM conversions.
11801         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
11802         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
11803         (print_reg): Abort on FRAME_POINTER_REGNUM
11805 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
11807         * i386.h (PREDICATE_CODES): Add aligned_operand.
11808         * i386.c (aligned_operand): New function.
11809         (ix86_aligned_p): Kill.
11810         * i386.md (movhi_1): Emit mov for aligned operands.
11811         (promoting peep2s): Use aligned_operand.
11813 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
11815         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
11816         expression to allow underscores in macro names.
11817         (fix_char_macro_defines): Increment scanning pointer.
11819 2000-01-23  Richard Henderson  <rth@cygnus.com>
11821         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
11822         * alpha/osf5.h: New file.
11823         * configure.in (alpha-*-osf5): Add it to tm_file.
11825         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
11827         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
11828         (alpha_emit_xfloating_cvt, function_arg): Declare.
11829         * alpha.c (alpha_emit_conditional_branch): Call
11830         alpha_emit_xfloating_compare for TFmode compares.
11831         (alpha_lookup_xfloating_lib_func): New.
11832         (alpha_compute_xfloating_mode_arg): New.
11833         (alpha_emit_xfloating_libcall): New.
11834         (alpha_emit_xfloating_arith): New.
11835         (alpha_emit_xfloating_compare): New.
11836         (alpha_emit_xfloating_cvt): New.
11837         (print_operand): Add default abort case.
11838         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
11839         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
11840         (BIGGEST_ALIGNMENT): Increase to 128 bits.
11841         (RETURN_IN_MEMORY): True for TF/TCmode.
11842         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
11843         (FUNCTION_ARG): Move to function_arg.
11844         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
11845         (ASM_OUTPUT_LONG_DOUBLE): New.
11846         (ASM_OUTPUT_DOUBLE): Always output bits.
11847         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
11848         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
11849         (extenddftf2, trunctfdf2): New.
11851 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11853         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
11854         * config/sparc/sol2.h: ... here.
11856 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11858         * basic-block.h (struct loops): New field `levels'.
11859         * flow.c (flow_loops_level_compute): Traverse all outer loops.
11860         (flow_loop_level_compute): Initialise level to 1.
11861         (flow_loops_find): Set loops->levels.
11862         (flow_loops_dump): Print loops->levels.
11864 2000-01-23  Richard Henderson  <rth@cygnus.com>
11866         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
11867         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
11869 2000-01-23  Richard Henderson  <rth@cygnus.com>
11871         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
11872         * i386.h (DBX_REGISTER_NUMBER): Use them.
11873         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
11874         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
11875         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
11876         * i386/sequent.h: Kill incorrect comment.
11878 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
11880         * ggc-page.c (struct page_entry): Make `context_depth' an
11881         `unsigned short'.
11882         (struct globals): Likewise.
11884 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
11886         * loop.c (check_dbra_loop): When checking a loop for
11887         reversability, check the source of any stores to ensure
11888         they don't depend on an initial value.
11890 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11892         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
11894 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
11896         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
11897         'pz_scan' into scope of entire function.  Only affects
11898         compiles with -DDEBUG.
11900 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
11902         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
11903         section naming to that prior to 2000-01-07 patch.
11904         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
11905         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
11906         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
11907         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
11908         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
11910 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
11912         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
11913         constant.
11915 2000-01-21  Jim Wilson  <wilson@cygnus.com>
11917         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
11918         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
11920 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11922         * cpphash.c (change_newlines): Delete function.
11923         (struct argdata): Delete 'newlines' and 'use_count' fields.
11924         (macroexpand): Remove code referencing those fields.
11926 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11928         * loop.c (loops_info): New variable.
11929         (loop_optimize): Allocate loops->array and free it on exit.
11930         Allocate memory for loops_info and assign to each loop,
11931         replacing alloca.
11932         (find_and_verify_loops): Do not allocate loops->array.
11934 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11936         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
11938 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
11940         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
11941         pseudos if expanded after first flow.
11942         (movdi_pic_label_ref): Likewise.
11944 2000-01-20  Richard Henderson  <rth@cygnus.com>
11946         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
11948 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
11950         * Makefile.in (fixinc.sh): Depend on specs.
11951         * fixinc/Makefile.in: Add rule to create machname.h.
11952         (fixlib.o): Depend on machname.h.
11953         * fixinc/fixtests.c (machine_name): New test.
11954         * fixinc/fixfixes.c (machine_name): New fix.
11955         * fixinc/fixlib.c (mn_get_regexps): New helper function for
11956         the machine_name test and fix.
11957         * fixinc/fixlib.h: Prototype it.
11958         * fixinc/inclhack.def (machine_name): Use the C test and fix.
11959         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
11961         * gcc.c (do_spec_1) [case P]: Take care not to create
11962         identifiers with three leading or trailing underscores.
11964         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
11965         (fixincl): Don't specify libraries twice on link line.
11966         (gnu-regex.o): Remove special rule.
11967         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
11968         defined by config.h.  Do not define _REGEX_RE_COMP.
11969         (regcomp): Allocate and initialize a fastmap.
11970         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
11972 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
11974         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
11976 2000-01-19  Richard Henderson  <rth@cygnus.com>
11978         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
11979         arguments with BB.  Update all callers.  Tidy line wrapping.
11981 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
11983         * emit-rtl.c (try_split): Return last_insn if we split the
11984         last_insn.
11986 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
11988         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
11989         (ix86_initial_elimination_offset): Declare.
11990         * i386.c (ix86_nsaved_regs): Break out from ...
11991         (ix86_can_use_return_insn_p): ... here.
11992         (ix86_emit_save_regs): Break out from ...
11993         (ix86_expand_prologue): ... here.
11994         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
11995         out from ...
11996         (ix86_expand_epilogue): ... here.
11997         (ix86_compute_frame_size): Make static, add prototype.
11998         (ix86_initial_elimination_offset): Break out from ...
11999         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
12001 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12003         * recog.h (OUT_FCN): Delete.
12005         * vax.md: Call `get_insn_template' instead of OUT_FCN.
12007 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12009         * cppalloc.c: PROTO -> PARAMS.
12010         * cpperror.c: Likewise.
12011         * cppfiles.c: Likewise.
12012         * cpplib.c: Likewise.
12013         * cpplib.h: Likewise.
12015         * config/arm/arm-protos.h: PROTO -> PARAMS.
12016         * config/arm/arm.c: Likewise.
12017         * config/c4x/c4x.c: Likewise.
12018         * config/fr30/fr30-protos.h: Likewise.
12019         * config/nextstep.c: Likewise.
12020         * config/pa/pa.c: Likewise.
12021         * config/pj/pj.c: Likewise.
12022         * config/rs6000/rs6000.c: Likewise.
12023         * config/v850/v850-protos.h: Likewise.
12024         * config/v850/v850.c: Likewise.
12026 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12028         * i370-protos.h: New file.
12030         * i370.c: Include tm_p.h.  Fix compile time warnings.
12032         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
12033         warnings.
12035         * i370.md: Likewise.
12037 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12039         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
12040         (target_isinf, target_isnan, eisnan): Mark parameter with
12041         ATTRIBUTE_UNUSED.
12042         (eiisinf): Wrap in INFINITY.
12043         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
12044         (ibmtoe): Remove unused variable `rndsav'.
12046 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12048         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
12049         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
12051 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
12053         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
12054         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
12055         (fix_char_macro_defines, fix_char_macro_uses): New functions.
12057         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
12058         Recognize Emacs mode markers also.
12059         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
12060         C++ comments in C++ headers.  Call is_cxx_header only if
12061         necessary.
12063         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
12064         bypass for ncurses.
12065         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
12066         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
12067         ... these, which use the new C fixes.
12068         (math_exception): Escape literal '+' in bypass expression.
12070         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
12071         Regenerate.
12073 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
12075         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
12076         inside the MEM.
12078 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12080         * loop.c (loop_optimize): Allocate loop_info structure for each loop
12081         prior to calling scan_loop.
12083 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12085         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
12086         (split_branches, calc_live_regs): Likewise.
12088 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12090         * sh.md (fpu_single, fp_mode): New attributes.
12092 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12094         * loop.c (current_loop_info): Renamed from loop_info_data
12095         and changed to a pointer.
12096         (loop_optimize): Allocate loop_info structure for each loop
12097         and initialise to zero.
12098         (scan_loop): Set current_loop_info.
12100         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
12101         on iteration_var.
12103 2000-01-19  Richard Henderson  <rth@cygnus.com>
12105         * stupid.c: Die die die.
12106         * Makefile.in (OBJS): Remove stupid.o.
12107         (stupid.o): Likewise.
12109         * except.c (emit_eh_context): Don't emit USEs for stupid.
12110         * explow.c (probe_stack_range): Likewise.
12111         * flags.h (obey_regdecls): Remove.
12112         * flow.c (find_basic_blocks): Don't run try_merge_blocks
12113         when not optimizing.
12114         (life_analysis): Limit data collection when not optimizing.
12115         (mark_regs_live_at_end): Always mark the return value registers.
12116         (mark_used_regs): Remove dummy RETURN case.
12117         (print_rtl_with_bb): Don't consult obey_regdecls.
12118         * function.c (use_variable, use_variable_after): Remove.
12119         (assign_parms): Consult optimize not obey_regdecls.
12120         (expand_function_start): Don't emit USEs for stupid.
12121         (expand_function_end): Likewise.
12122         * global.c (build_insn_chain): Export.
12123         * integrate.c (expand_inline_function): Kill return-value USE
12124         handling code.
12125         * jump.c (jump_optimize_1): Do simple jump optimizations and
12126         dead code elimination.
12127         (calculate_can_reach_end): Remove check_deleted argument.
12128         (delete_insn): Patch out insns even when not optimizing.
12129         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
12130         * rtl.h (use_variable, use_variable_after): Remove declarations.
12131         (build_insn_chain): Declare.
12132         * stmt.c (expand_value_return): Don't emit USEs for stupid.
12133         (expand_end_bindings): Likewise.
12134         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
12135         * toplev.c (obey_regdecls): Remove.
12136         (rest_of_compilation): Don't set it.  Kill stupid in favour of
12137         flow1, local-alloc, and reload.
12138         (main): Don't set obey_regdecls.
12140         * config/nextstep.c (handle_pragma): Likewise.
12142         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
12144         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
12146 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12148         * alpha-protos.h: PROTO -> PARAMS.
12149         * alpha.c: Likewise.
12150         * elf.h: Likewise.
12151         * h8300.c: Likewise.
12152         * i386-protos.h: Likewise.
12153         * i386.c: Likewise.
12154         * m32r-protos.h: Likewise.
12155         * m32r.c: Likewise.
12156         * mips.c: Likewise.
12157         * mips.md: Likewise.
12158         * gmon-sol2.c: Likewise.
12159         * sparc.c: Likewise.
12161 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12163         * ns32k-protos.h: New file.
12165         * ns32k.c: Fix compile time warnings.
12167         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
12168         warnings.
12170         * ns32k.md: Likewise.
12172 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12174         * vax-protos.h: New file.
12176         * vax.c: Fix compile time warnings.
12178         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
12179         warnings.
12181         * vax.md: Likewise.
12183         * vaxv.md: Likewise.
12185 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12187         * romp-protos.h: New file.
12189         * romp.c: Fix compile time warnings.
12191         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
12192         warnings.
12194         * romp.md: Likewise.
12196 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12198         * we32k-protos.h: New file.
12200         * we32k.c: Fix compile time warnings.
12202         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
12203         warnings.
12205 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12207         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
12209         * except.c (eh_regs): Likewise.
12211         * final.c (output_operand): Likewise.
12213         * fold-const.c (target_isinf, target_isnan): Likewise.
12215 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12217         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
12218         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
12220         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
12221         when optimize_size.
12222         (clrstrsi): Rewrite.
12223         (strsethi, strsetqi): New expanders.
12224         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
12225         (cmpstrsi): Emit compare insn before cmpstrsi_1
12226         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
12227         (strlensi_1): Likewise.
12228         (cmpstrsi_1): Likewise; do not output compare.
12229         (strlen expander): Do not unroll when optimizing for size.
12230         (*subsi3_carry): Rename to subsi3_carry
12231         (addqi3_cc): New pattern.
12232         * i386.h (processor_costs): Add move_ratio field.
12233         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
12234         * i386.c (*_cost): Set move_ratio.
12235         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
12236         (x86_expand_strlensi_1): Rewrite the main loop.
12238 2000-01-17  Richard Henderson  <rth@cygnus.com>
12240         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
12241         * cse.c (find_comparison_args, fold_rtx): Likewise.
12242         * integrate.c (subst_constants): Likewise.
12243         * loop.c (get_condition): Likewise.
12245         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
12247         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
12249 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12251         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
12252         (RESTORE_WARN_FLAGS): Unpack it.
12253         Change semantic type of extension to ttype.
12254         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
12255         * c-parse.y, c-parse.c, objc/objc-parse.y,
12256         objc/objc-parse.c: Regenerate.
12258 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
12260         * fixinc/fixlib.c: Add copyright notice.
12261         (compile_re): New function.
12262         * fixinc/fixlib.h: Prototype compile_re.
12264         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
12265         Use compile_re to compile regular expressions.
12267         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
12268         where the pattern matched.
12270         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
12271         use 'replace'.
12272         (ultrix_ansi_compat): Likewise.
12273         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
12274         add egrep test.
12275         (interactv_add2, interactv_add3): Delete.
12276         (x11_sprintf): Don't use filename glob.
12277         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
12278         Regenerate.
12280 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12282         * print-rtl.c: PROTO -> PARAMS.
12283         * real.c: Likewise.
12284         * reg-stack.c: Likewise.
12285         * resource.c: Likewise.
12286         * sdbout.h: Likewise.
12287         * simplify-rtx.c: Likewise.
12288         * stor-layout.c: Likewise.
12289         * stupid.c: Likewise.
12290         * xcoffout.c: Likewise.
12291         * xcoffout.h: Likewise.
12293 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12295         * toplev.c: PROTO -> PARAMS.
12296         * toplev.h: Likewise.
12297         * tree.c: Likewise.
12298         * tree.h: Likewise.
12299         * unroll.c: Likewise.
12300         * varasm.c: Likewise.
12301         * varray.c: Likewise.
12302         * varray.h: Likewise.
12304 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12306         * reload.c: PROTO -> PARAMS.
12307         * reload.h: Likewise.
12308         * reload1.c: Likewise.
12309         * reorg.c: Likewise.
12310         * resource.h: Likewise.
12311         * rtl.c: Likewise.
12312         * rtl.h: Likewise.
12313         * rtlanal.c: Likewise.
12314         * sbitmap.h: Likewise.
12315         * sdbout.c: Likewise.
12316         * stack.h: Likewise.
12317         * stmt.c: Likewise.
12318         * system.h: Likewise.
12320 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12322         * machmode.h: PROTO -> PARAMS.
12323         * mbchar.h: Likewise.
12324         * mips-tdump.c: Likewise.
12325         * mips-tfile.c: Likewise.
12326         * optabs.c: Likewise.
12327         * output.h: Likewise.
12328         * prefix.c: Likewise.
12329         * profile.c: Likewise.
12330         * protoize.c: Likewise.
12331         * real.h: Likewise.
12332         * recog.c: Likewise.
12333         * recog.h: Likewise.
12334         * regclass.c: Likewise.
12335         * regmove.c: Likewise.
12336         * regs.h: Likewise.
12338 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12340         * ggc-common.c: PROTO -> PARAMS.
12341         * ggc-page.c: Likewise.
12342         * ggc-simple.c: Likewise.
12343         * ggc.h: Likewise.
12344         * global.c: Likewise.
12345         * graph.c: Likewise.
12346         * gthr-win32.h: Likewise.
12347         * haifa-sched.c: Likewise.
12348         * halfpic.h: Likewise.
12349         * integrate.c: Likewise.
12350         * integrate.h: Likewise.
12351         * jump.c: Likewise.
12352         * lcm.c: Likewise.
12353         * local-alloc.c: Likewise.
12354         * loop.c: Likewise.
12355         * loop.h: Likewise.
12357 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12359         * genattr.c: PROTO -> PARAMS.
12360         * genattrtab.c: Likewise.
12361         * gencheck.c: Likewise.
12362         * gencodes.c: Likewise.
12363         * genconfig.c: Likewise.
12364         * genemit.c: Likewise.
12365         * genextract.c: Likewise.
12366         * genflags.c: Likewise.
12367         * gengenrtl.c: Likewise.
12368         * genopinit.c: Likewise.
12369         * genoutput.c: Likewise.
12370         * genpeep.c: Likewise.
12371         * genrecog.c: Likewise.
12373 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
12375         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
12377 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12379         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
12380         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
12381         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
12382         * configure, config.in: Rebuilt.
12384 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
12386         * config/i386/i386.md: Add peephole to merge successive stack
12387         adjusts.
12389 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
12391         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
12392         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
12393         when walking backwards to find all the parameter loads when
12394         the basic block ends in a call.
12396 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12398         * loop.c (this_loop_info): Delete.
12399         (uid_loop): Add in place of uid_loop_num.  All uses updated.
12400         (loop_number_exit_count): Delete and replace with entry in loop
12401         structure.  All uses updated.
12402         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12403         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12404         (loop_outer_loop): Likewise.
12405         (loop_invalid, loop_number_exit_labels): Likewise.
12406         (loop_used_count_register): Delete and replace with entry in
12407         loop_info structure.
12408         (find_and_verify_loops): Add loops argument.
12409         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
12410         loop_end, etc. arguments with loop structure pointer.  All callers
12411         changed.
12412         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
12413         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
12414         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
12415         (insert_bct): Likewise.
12416         (basic_induction_var): New argument level.
12417         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
12418         vtop, and cont.  Add used_count_register.
12419         (uid_loop): Delete declaration.
12420         (loop_number_exit_count): Likewise.
12421         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12422         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12423         (loop_outer_loop, loop_used_count_register): Likewise.
12424         (loop_invalid, loop_number_exit_labels): Likewise.
12425         (unroll_loop): Replace loop_start and loop_end arguments
12426         with loop structure pointer.
12427         (loop_precondition_p, loop_iterations): Likewise.
12428         Include basic-block.h.
12429         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
12430         with loop structure pointer.
12431         (loop_precondition_p, loop_iterations): Likewise.
12432         * basic-block.h (struct loop): New entries vtop, cont,
12433         cont_dominator, start, end, top, scan_start, exit_labels,
12434         exit_count.
12435         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
12437 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12439         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
12441 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
12443         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
12445 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12447         * pdp11-protos.h: New file.
12449         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
12450         time warnings.
12452         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
12453         warnings.
12455         * pdp11.md: Likewise.
12457         * 2bsd.h: Likewise.
12459 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12461         * mn10300-protos.h: New file.
12463         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12464         time warnings.
12466         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
12467         warnings.
12469         * mn10300.md: Likewise.
12471 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12473         * mn10200-protos.h: New file.
12475         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
12476         time warnings.
12478         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
12479         warnings.
12481         * mn10200.md: Likewise.
12483 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12485         * h8300-protos.h: New file.
12487         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12488         time warnings.
12490         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
12491         warnings.
12493         * h8300.md: Likewise.
12495 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12497         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
12498         (asm_emit_uninitialised): Likewise.
12500 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
12502         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
12503         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
12505 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12507         * config/mips/mips.c (override_options): Don't turn on extra
12508         alignment for mips16.
12510 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12512         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
12513         eabi, and make sure queued POSTINCREMENT rtl is emitted at
12514         the right point.
12516 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12518         * builtins.c (PAD_VARARGS_DOWN): Define.
12519         (std_expand_builtin_va_arg): Use the above macro.
12520         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
12521         * tm.texi (Register Arguments): Document the above macro.
12523 2000-01-14  Nick Clifton  <nickc@cygnus.com>
12525         * emit-rtl.c (emit_insn): If checking is enabled, make sure
12526         that this function has not been used to emit a jump
12527         instruction.
12529         * jump.c (return_jump_1): Cope with being passed a null rtx.
12531 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12533         * eh-common.h: PROTO -> PARAMS.
12534         * emit-rtl.c: Likewise.
12535         * errors.c: Likewise.
12536         * errors.h: Likewise.
12537         * except.c: Likewise.
12538         * except.h: Likewise.
12539         * explow.c: Likewise.
12540         * expmed.c: Likewise.
12541         * expr.c: Likewise.
12542         * expr.h: Likewise.
12543         * final.c: Likewise.
12544         * fix-header.c: Likewise.
12545         * flow.c: Likewise.
12546         * fold-const.c: Likewise.
12547         * function.c: Likewise.
12548         * function.h: Likewise.
12549         * gcc.c: Likewise.
12550         * gcov-io.h: Likewise.
12551         * gcov.c: Likewise.
12552         * gcse.c: Likewise.
12554 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12556         * sh-protos.h: New file.
12558         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
12559         Add static prototypes.  Fix compile time warnings.
12561         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
12562         * sh.md: Likewise.
12563         * elf.h: Likewise.
12565 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12567         * arc-protos.h: New file.
12569         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
12570         time warnings.
12572         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
12573         warnings.
12575         * arc.md: Likewise.
12577 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12579         * dsp16xx-protos.h: New file.
12581         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
12582         time warnings.
12584         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
12585         warnings.
12587         * dsp16xx.md: Likewise.
12589 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12591         * convex-protos.h: New file.
12593         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
12594         time warnings.
12596         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
12597         warnings.
12599 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12601         * elxsi-protos.h: New file.
12603         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
12604         time warnings.
12606         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
12607         warnings.
12609         * elxsi.md: Likewise.
12611 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12613         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
12614         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
12615         match the comment for MIPS16.
12617 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
12619         * flow.c (split_edge): Do not call set_block_for_insn if we
12620         do not have a basic_block_for_insn structure.
12622         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
12623         and destination functions are 32bit aligned within the trampoline.
12624         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
12625         (TRAMPOLINE_ALIGNMENT): Define.
12627         * cse.c (cse_insn): When changing (set (pc) (reg)) to
12628         (set (pc) (label_ref)), verify the change creates a valid insn.
12630         * fr30.c (call_operand): Tighten and rework to match rules for
12631         call RTL expressions.
12632         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
12633         * fr30.md (call patterns): Improve constraints.
12635 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
12637         * fr30.c (fr30_expand_epilogue): Revert last change.
12638         Use emit_jump_insn for the return insn.
12640 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
12641                           Stan Cox  <scox@cygnus.com>
12643         * predict.c: New file. Preliminary infrastructure work for static
12644         branch prediction and basic block reordering.
12645         * basic-block.h: Add prototype for estimate_probability.
12646         * Makefile.in: Add rules for predict.o.
12648 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
12650         * fixincludes (va_list): Use __not_va_list__ for the dummy.
12651         * fixinc/*: Likewise.
12653 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12655         * cccp.c: PROTO -> PARAMS.
12656         * cexp.y: Likewise.
12657         * collect2.c: Likewise.
12658         * combine.c: Likewise.
12659         * convert.h: Likewise.
12660         * cse.c: Likewise.
12661         * dbxout.c: Likewise.
12662         * dbxout.h: Likewise.
12663         * diagnostic.c: Likewise.
12664         * doprint.c: Likewise.
12665         * dwarf2out.c: Likewise.
12666         * dwarf2out.h: Likewise.
12667         * dwarfout.c: Likewise.
12668         * dwarfout.h: Likewise.
12669         * dyn-string.h: Likewise.
12671 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12673         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
12674         macro conditionals guarding use.
12676         * dwarf2out.c: Include "tm_p.h".
12678         * function.c (locate_and_pad_parm): Mark parameter with
12679         ATTRIBUTE_UNUSED.
12680         (expand_function_end): Likewise for variable `context'.
12682         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
12684 2000-01-13  Nick Clifton  <nickc@cygnus.com>
12686         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
12687         register to prevent compile time warnings.
12689 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
12691         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
12692         to avoid -Wtraditional warning.
12694 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12696         * 1750a-protos.h: New file.
12698         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
12699         time warnings.
12701         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
12702         warnings.
12704         * 1750a.md: Likewise.
12706 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12708         * a29k-protos.h: New file.
12710         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12711         time warnings.
12713         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
12714         warnings.
12716 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12718         * clipper-protos.h: New file.
12720         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
12721         time warnings.
12723         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
12724         warnings.
12726 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12728         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
12730 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
12732         * configure.in (--enable-new-gxx-abi): New option.
12733         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
12734         * Makefile.in (GXX_ABI_FLAG): New variable.
12735         * configure: Regenerate.
12737 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12739         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
12740         * tm.texi (FORCE_STRUCT_BLK): Document.
12741         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
12743 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
12745         * config/ns32k/ns32k.md: Revert Jan 9 change.
12747         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
12748         to a mode-test, if the predicate is address_operand.
12750 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
12752         * combine.c (if_then_else_cond): Be careful about what kinds
12753         of RTL expressions are passed to operand_subword.
12755         * flow.c (split_edge): If we have to insert a new jump, make
12756         sure to associate it with a basic block.
12758         * flow.c (commit_one_edge_insertion): A block with one successor
12759         can end in a JUMP_INSN that is not a simplejump.
12761 2000-01-12  Robert Lipe  <robertl@sco.com>
12763         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
12764         (BUILD_VA_LIST_TYPE): Define.
12765         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
12766         with crtstuff.c.
12768 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
12770         * cccp.c (do_pragma): Add cast to (char *).
12772 2000-01-12  Richard Henderson  <rth@cygnus.com>
12773             Fred Fish  <fnf@be.com>
12774             Jason Merrill  <jason@cygnus.com>
12776         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
12777         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
12778         * i386/beos-elf.h, i386/beos-pe.h: New files.
12780         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
12781         * cross-make (SYSTEM_HEADER_DIR): Define using
12782         CROSS_SYSTEM_HEADER_DIR.
12784         * gcc.c (LIBRARY_PATH_ENV): Provide default.
12785         (process_command): Use it.
12786         (main): Likewise.  Kill trailing = from env vars.
12787         (build_search_list): Put it back.
12788         * collect2.c (main): Use LIBRARY_PATH_ENV.
12790         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
12791         * toplev.c: Use NEED_DECLARATION_ENVIRON.
12793         * tm.texi (Frame Layout): Document SMALL_STACK.
12794         * c-common.c (c_common_nodes_and_builtins): Check it.
12796         * system.h: Undef alloca after including glibc's <stdlib.h>,
12797         if USE_C_ALLOCA is defined.
12799         * gcc.c (set_input): New fn.
12800         (main): After all input files are compiled, reset the input file
12801         info to the first.
12803         * aclocal.m4 (rindex, index): If already defined, don't attempt
12804         to redefine.
12806         * ginclude/varargs.h: (__va_list__): Define ifndef.
12807         * ginclude/stdarg.h: Likewise.
12809         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
12810         instead of unsigned char.
12812         * hash.h (true, false, boolean): Undef before enum.
12814         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
12815         proper type of "HOST_WIDE_INT *", rather than their natural type of
12816         "unsigned HOST_WIDE_INT *".
12818 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12820         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
12822         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
12824         * regclass.c (choose_hard_reg_mode): Likewise.
12826         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
12828         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
12830 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12832         * c-common.c: PROTO -> PARAMS.
12833         * c-common.h: Likewise.
12834         * c-decl.c: Likewise.
12835         * c-iterate.c: Likewise.
12836         * c-lang.c: Likewise.
12837         * c-lex.c: Likewise.
12838         * c-lex.h: Likewise.
12839         * c-parse.in: Likewise.
12840         * c-pragma.c: Likewise.
12841         * c-pragma.h: Likewise.
12842         * c-tree.h: Likewise.
12843         * c-typeck.c: Likewise.
12844         * objc/objc-act.c: Likewise.
12845         * objc/objc-act.h: Likewise.
12847 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12849         * m88k-protos.h: New file.
12851         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12852         time warnings.
12854         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
12856         * m88k.md: Likewise.
12858         * tekXD88.h: Likewise.
12860 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12862         * m68k-protos.h: New file.
12864         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12865         time warnings.
12867         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
12869         * mot3300.h: Likewise.
12871 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
12873         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
12874         extract_bitlst.
12875         (extract_bitlist): Declare bitlen.
12877 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
12879         * cccp.c: Accept and ignore -lang-fortran.
12881         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
12882         qualifiers don't match at any level of pointerness.
12884 2000-01-12  Robert Lipe  <robertl@sco.com>
12886         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
12888 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
12890         * reload1.c (reload_reg_unavailable): New static variable.
12891         (reload_reg_free_p): Test it.
12892         (reload_reg_free_for_value_p): Test it instead of
12893         reload_reg_used.
12894         (choose_reload_regs_init): Compute it.
12896 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
12898         * reorg.c (fill_slots_from_thread): Check modified_in_p
12899         before replacing.
12901 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
12903         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
12904         these nodes even if INTERNALS is not set.
12906 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
12908         * gcse.c (delete_null_pointer_checks_1): Cope when
12909         get_condition cannot determine the condition.
12911 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
12913         * toplev.h (set_message_length): Declare.
12915         * diagnostic.c (obstack_chunk_alloc): Define macro.
12916         (obstack_chunk_free): Likewise.
12917         (struct output_buffer): New data structure.
12918         (vmessage): Remove.
12919         (output_maximum_width): New variable.
12920         (doing_line_wrapping, set_message_length, init_output_buffer,
12921         get_output_prefix, output_space_left, emit_output_prefix,
12922         output_newline, output_append, output_puts, dump_output,
12923         vbuild_message_string, build_message_string, build_location_prefix,
12924         voutput_notice, output_printf, line_wrapper_printf,
12925         vline_wrapper_message_with_location):  New functions. Implement
12926         automatic line wrapping.
12927         (v_message_with_decl): Make it handle automatic line wrapping.
12928         (v_error_with_file_and_line): Likewise.
12929         (v_warning_with_file_and_line): Likewise.
12930         (announce_function): Likewise.
12931         (default_print_error_function): Likewise.
12933 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
12935         * cpplib.h (struct cpp_options): Change lang_asm to char.
12936         Add lang_fortran.
12937         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
12938         done in cpp_handle_option now.
12939         (initialize_builtins): Take out special case code used only by
12940         __STDC_VERSION__.
12941         (cpp_handle_option): Turn off trigraphs and trigraph warnings
12942         if -traditional.  Recognize -lang-fortran and set
12943         lang_fortran, also turn off cplusplus_comments.
12944         (print_help): Document -lang-fortran.
12945         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
12946         lang_asm. Ignore all directives other than `# 123 "file"' if
12947         CPP_PREPROCESSED.
12948         (cpp_get_token): If -traditional, don't recognize directives
12949         unless the # is in column 1.
12950         (parse_string): If lang_fortran or lang_asm, silently
12951         terminate strings ('' or "") at end of line.
12952         Remove unnecessary braces.
12954 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12955             Richard Henderson  <rth@cygnus.com>
12957         * resource.c (mark_referenced_resources): Mark a set strict_low_part
12958         as used.
12959         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
12960         strict_low_part when possible.
12962 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12964         * alias.c: PROTO -> PARAMS.
12965         * basic-block.h: Likewise.
12966         * bitmap.c: Likewise.
12967         * bitmap.h: Likewise.
12968         * builtins.c: Likewise.
12969         * c-aux-info.c: Likewise.
12970         * caller-save.c: Likewise.
12971         * calls.c: Likewise.
12973 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12975         * Makefile.in (toplev.o): Depend on regs.h.
12977         * output.h (tdesc_section): Prototype.
12979         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
12981         * sdbout.c: Include "tm_p.h".
12983         * toplev.c: Include "regs.h".
12985 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
12987         * unroll.c (unroll_loop): Add EH support.
12989 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12991         * pa-protos.h: New file.
12993         * pa.c: Include recog.h and tm_p.h.
12994         (compute_zdepwi_operands, compute_movstrsi_length,
12995         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
12996         find_addr_reg, import_milli): Add static prototypes.
12997         (pa_cpu_string, pa_arch_string): Constify a char*.
12998         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
12999         (read_only_operand): Add argument `mode'.
13000         (singlemove_string, output_move_double, output_fp_move_double,
13001         output_block_move, output_and, output_ior, output_ascii,
13002         remove_useless_addtr_insns, milli_names, output_mul_insn,
13003         output_div_insn, output_mod_insn, output_arg_descriptor,
13004         output_cbranch, output_bb, output_bvb, output_dbra, ,
13005         output_millicode_call, output_call, hppa_encode_label,
13006         output_parallel_movb, output_parallel_addb): Constify a char*.
13007         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
13008         (output_parallel_addb): Remove extra arg to `constrain_operands'
13010         * pa.h:  Move all prototypes to pa-protos.h.
13011         (pa_cpu_string, pa_arch_string): Constify a char*.
13012         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
13014         * pa.md: Call `function_label_operand' with mode argument.
13015         Likewise for `read_only_operand'.
13016         Fix nesting of parens in call to `symbolic_operand'.
13018 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13020         * i860-protos.h: New file.
13022         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
13023         time warnings.
13025         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
13027         * i860.md: Likewise.
13029 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
13031         * i386.md (movstrsi expander): Rewrite.
13032         (movstrsi_1 insn): Deleted.
13033         (strmovhi, strmovqi expander): New expanders.
13034         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
13035         * i386.c (x86_single_stringop): New global variable.
13036         * i386.h (x86_single_stringop): Declare.
13037         (TARGET_SINGLE_STRINGOP): New macro.
13039 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
13041         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
13042         integer vararg POSTINCREMENT before the destination of the jump
13043         for the hard fp case.
13044         (function_arg_pass_by_reference): Pass a copy of CUM to
13045         FUNCTION_ARG.
13047         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
13048         for CONSTANT_ADDRESS_P above while loop for subreg.
13050 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
13052         * flow.c (propagate_block): When a prologue/epilogue insn
13053         is marked dead, unconditionally clear libcall_is_dead and
13054         insn_is_dead, and only dump rtl if warnings aren't being
13055         suppressed.
13057 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
13059         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
13060         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
13061         (FIXED_REGISTERS): Set dirflag as fixed.
13062         (CALL_USED_REGISTERS): Set dirflag as used.
13063         (REG_ALLOC_ORDER): Set dirflag as last one.
13064         (DIRFLAG_REG): New macro.
13065         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
13066         (HI_REGISTER_NAMES): Add dirflag.
13067         (DEBUF_PRINT_REG): Handle dirflag.
13068         * i386.md (type attribute): New cld and str types.
13069         (length_opcode attribute): Set cld and str to 1.
13070         (memory attribute): Set str to unknown - it is not clear from the
13071         patterns.
13072         (pent_np function unit): Prefixed string operations takes 12 cycles
13073         minimally; cld takes 2 cycles.
13074         (ppro_uops attribute): Str is "many" and cld is "few".
13075         (ppro_p0 unit): Handle cld here.
13076         (k6_alux unit): Handle cld and str types.
13077         (k6_load unit): It is ocupied by str opcodes.
13078         (k6_store unit): It is ocupied by str opcodes.
13079         (athlon_decode): Str is vector decoded.
13080         (athlon_ieu): Handle str and cld.
13081         (cld pattern): New.
13082         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
13083         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
13084         cmpstrsi_nz_1 insn): Do not output cld instruction
13086 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
13088         * gcc.texi (G++ and GCC): Add Java and Chill.
13089         (Bug Critera): Don't list languages.
13091         * gcc.texi (Incompatibilities): No longer claim most C compilers
13092         are K&R.
13094         * gcc.texi (G++ and GCC): Update other front-ends list.
13096 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
13098         * i386.c (ix86_expand_setcc): Fix typo.
13099         (ix86_expand_movcc): Similarly.
13101         * Band-aid until haifa's bitset implementation is nuked.
13102         * haifa-sched.c (extract_bitlst): New parameter for size of the
13103         bitset in bits.  All callers changed.  Avoid looking at undefined
13104         bits in the bitset.
13105         (edgeset_bitsize): New variable.
13106         (schedule_region): Initialize edgeset_bitsize.
13108 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13110         * Makefile.in (optabs.o): Depend on real.h
13111         (resource.o): Depend on insn-attr.h
13113         * builtins.c (result_vector): Wrap prototype in macro conditions
13114         governing definition and use.
13116         * c-common.c: Include tm_p.h.
13118         * c-lex.c: Likewise.
13120         * elfos.h: Constify a char*.
13122         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
13123         (get_attr_length, shorten_branches, profile_after_prologue): Mark
13124         parameter with ATTRIBUTE_UNUSED.
13126         * fold-const.c (exact_real_inverse): Wrap variable `i' in
13127         CHECK_FLOAT_VALUE.
13129         * haifa-sched.c (schedule_insns): Mark parameter with
13130         ATTRIBUTE_UNUSED.
13132         * optabs.c: Include real.h.
13134         * real.h (ereal_atof): Add prototype arguments.
13136         * resource.c: Include insn-attr.h.
13138         * sdbout.c (sdbout_queue_anonymous_type,
13139         sdbout_dequeue_anonymous_types): Wrap in macro
13140         SDB_ALLOW_FORWARD_REFERENCES.
13141         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
13142         ATTRIBUTE_UNUSED.
13144         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
13146         * stupid.c: Include tm_p.h.
13148         * tree.c (real_value_from_int_cst): Mark parameter with
13149         ATTRIBUTE_UNUSED.
13151 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13153         * i960-protos.h: New file.
13155         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
13156         time warnings.
13158         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
13160 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13162         * combine.c (expand_field_assignment): Do not discard SUBREGs
13163         while computing nonzero_bits.
13165 2000-01-09  Nick Clifton  <nickc@cygnus.com>
13167         * config/arm/arm.c: Fix compile time warnings about signed vs
13168         unsigned constants.
13169         * config/arm/arm.h: Fix compile time warnings about signed vs
13170         unsigned constants.
13172 2000-01-09  Philip Blundell  <philb@gnu.org>
13174         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
13175         than `ldm' with only one register.
13176         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
13177         only one register.
13179         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
13180         clobbered.
13182 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
13184         * config/ns32k/ns32k.md (load or push effective address): Operand 1
13185         must have SImode.
13187 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13189         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
13190         assignment used as truth value.
13192         * function.c (assign_temp): Mark parameter `dont_promote' with
13193         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
13194         PROMOTE_FOR_CALL_ONLY.
13196         * genrecog.c (write_subroutine): Mark variable `operands' with
13197         ATTRIBUTE_UNUSED.
13199         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
13200         ATTRIBUTE_UNUSED.
13202         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
13203         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
13205         * toplev.c (note_deferral_of_defined_inline_function): Likewise
13206         for `decl'.
13208 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13210         * config/c4x.h: Tidy up comments.
13211         * config/c4x.c: Likewise.
13213 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
13215         * fold-const.c (lshift_double, rshift_double): Handle
13216         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
13218 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13220         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
13221         in prepare_function_start().
13223 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
13225         * config/v850/v850.c (expand_epilogue): Interrupt functions no
13226         longer allocate extra stack for function calls.
13228 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13230         * config/c4x/c4x.md (*subqf3_set): Fix typo.
13232 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13234         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
13236 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
13238         * rs6000.c (processor_target_table): Add power3 as alias for 630.
13239         * aix43.h: Revert Aug 2 change.
13240         (HAS_INIT_SECTION): Define, not visible yet.
13241         (LD_INIT_SWITCH): Define, not visible yet.
13242         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
13244         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
13246         * collect2.c (main): Expand ld2 size further.
13247         (export_object_lst): Cast assignment to avoid warning.
13248         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
13249         (scan_prog_file, COFF): Do not collect initialization or
13250         finalization functions generated for entire shared object if
13251         init/fini support present.
13253 2000-01-07  Nick Clifton  <nickc@cygnus.com>
13255         * config/elfos.h: Tidy up formatting of marcos.  Make sure
13256         that .section directives are always prefixed by a tab.
13258         * config/svr4.h: Add #include "elfos.h" and remove duplicate
13259         definitions.
13261 2000-01-07  Matt Austern  <austern@sgi.com>
13263         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
13264         expon.
13266 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
13268         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
13269         crtstuff.c.
13270         (crtbegin.o, s-crtS): Likewise.
13272 2000-01-06  Richard Henderson  <rth@cygnus.com>
13274         * alpha.md (adddi_2+1): Limit offset such that it will be
13275         loadable with a single ldah+lda pair.
13276         (adddi_2+2): Explicitly fail split if we can't make it work.
13278 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
13280         * protoize.c: Conditionally include unistd.h.
13281         (IS_SAME_PATH_CHAR): New macro.
13282         (IS_SAME_PATH): New macro.
13283         (CPLUS_FILE_SUFFIX): New macro.
13284         (cplus_suffix): New static variable.
13285         (is_abspath): New static function.
13286         (in_system_include_dir): Handle DOS style pathnames.
13287         (file_could_be_converted): Likewise.
13288         (file_normally_convertible): Likewise.
13289         (directory_specified_p): Likewise.
13290         (file_excluded_p): Likewise.
13291         (abspath): Likewise.
13292         (shortpath): Likewise.
13293         (referenced_file_is_newer): Likewise.
13294         (save_def_or_dec): Likewise.
13295         (do_processing): Likewise.
13296         (main): Likewise.
13297         (edit_file): Likewise. Use rename instead of link.
13298         (rename_c_file): Likewise. Don't rename syscalls file.
13299         (munge_compile_params): Define null device for DOS based systems.
13300         (process_aux_info_file): Use binary mode if appliable.
13301         (edit_file): Likewise.
13302         * invoke.texi (Running Protoize): Document C++ suffixes used.
13304         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
13305         IS_DIR_SEPARATOR macros.
13306         * collect2.c: Likewise.
13307         * cppinit.c: Likewise.
13308         * dwarf2out.c: Likewise.
13309         * gcc.c: Likewise.
13310         * gcov.c: Likewise.
13311         * prefix.c: Likewise.
13312         * rtl.c: Likewise.
13313         * toplev.c: Likewise.
13314         * system.h: And move to here.
13316         * prefix.c (update_path): Fix typo in variable name.
13318 2000-01-06  Richard Henderson  <rth@cygnus.com>
13320         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
13321         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
13322         (count_reg_sets_1, count_reg_references): Likewise.
13323         (flow_loops_level_compute): Start counting actual loop depth at 1.
13324         (flow_loops_find): Likewise.
13325         * local-alloc.c (update_equiv_regs): Likewise.
13326         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
13328 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
13330         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
13331         FIRST_PSEUDO_REGISTER
13332         * dwarf2out.c: Don't include frame.h
13333         * dwarfout.c: Likewise
13334         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
13335         frame.h
13337 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
13339         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
13340         dead registers.
13342         * i386.c (movsf splitter): Fix typo in my last checkin.
13344 2000-01-05  Nick Clifton  <nickc@cygnus.com>
13346         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
13347         own definition of this macro.
13348         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
13349         flag_data_sections or UNIQUE_SECTION_P are true.
13351         * tm.texi (UNIQUE_SECTION): Document that it can be called for
13352         unitialised data decls.
13354         * config/i386/winnt.c (i386_pe_unique_section): Cope with
13355         being called for uninitialised data.
13357         * config/i386/interix.c (i386_pe_unique_section): Cope with
13358         being called for uninitialised data.
13360         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
13361         for uninitialised data.
13363         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
13364         for uninitialised data.
13366         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
13367         for uninitialised data.
13369         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
13370         (UNIQUE_SECTION_P): Always generate a unique section if
13371         flag_data_sections is true.
13372         (UNIQUE_SECTION): Also generate unique sections for
13373         uninitialised data.
13374         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
13375         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
13376         named_section().
13378 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13380         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
13381         SI, or DI.
13383 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13385         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
13386         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
13387         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
13388         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
13389         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
13391         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
13393 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
13395         * c-decl.c (finish_enum): Simplify code to determine minimum and
13396         maximum values of the enum, and calculate the type.  Remove check
13397         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
13398         the DECL_INITIAL of each enumeration constant with a copy converted
13399         to the enumeration type.  When updating variant types, don't bother
13400         updating the type itself.
13402         * c-typeck.c (build_binary_op): Simplify conditional expressions
13403         when weeding out spurious signed-unsigned warnings.  Add new
13404         spurious warning category: if the unsigned quantity is an enum
13405         and its maximum value fits in signed_type(result_type).  Update
13406         commentary.
13407         (build_conditional_expr): Warn here if one alternative is signed
13408         and the other is unsigned.
13410 2000-01-05  Nick Clifton  <nickc@cygnus.com>
13412         * config/fr30/fr30.h: Remove extraneous comments.
13414 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
13416         * reload1.c (choose_reload_regs): When disabling a reload, also
13417         set reload_spill_index to -1.
13419 2000-01-04  Joel Sherrill (joel@OARcorp.com>
13421         * configure.in (m68*-*-rtemscoff*): New target, formal name for
13422         old m68*-*-rtems*.
13423         (m68*-*-rtemself*): New target.
13424         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
13425         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
13426         (sparc*-*-rtemself*): New target.
13427         (sparc*-*-rtems*): Now elf not a.out.
13428         * config/i386/rtems.h: Include config/rtems.h.
13429         * config/i386/rtemself.h: Include config/rtems.h.
13430         * config/i960/rtems.h: Include config/rtems.h.
13431         * config/m68k/rtems.h: Include config/rtems.h.
13432         * config/m68k/rtemself.h: Include config/rtems.h.
13433         * config/mips/rtems64.h: Include config/rtems.h.
13434         * config/pa/rtems.h: Include config/rtems.h.
13435         * config/rs6000/rtems.h: Include config/rtems.h.
13436         * config/sh/rtems.h: Include config/rtems.h.
13437         * config/sh/rtemself.h: Include config/rtems.h.
13438         * config/sparc/rtems.h: Include config/rtems.h.
13439         * config/sparc/rtemself.h: Include config/rtems.h
13441 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
13443         * final.c (shorten_branches): Correctly compute length of
13444         asms without operands.
13446 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
13448         * configure.in: Add pj target.
13449         * configure: Regenerate.
13450         * config/pj: New directory.
13451         * config/pj/lib1funcs.S: New file.
13452         * config/pj/linux.h: New file.
13453         * config/pj/pj.c: New file.
13454         * config/pj/pj.md: New file.
13455         * config/pj/pjl.h: New file.
13456         * config/pj/t-pj: New file.
13457         * config/pj/xm-pj.h: New file
13459 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
13461         * toplev.c (rest_of_compilation): Run shorten-branches before
13462         reg-stack for now.
13464 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13466         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
13467         macros so that they're consistent with their names.
13468         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13469         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13471 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13473         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
13474         modified inadvertently.
13476 2000-01-04  Joel Sherrill <joel@OARcorp.com>
13478         * configure.in (v850*-*-rtems*): New target.
13479         * configure: Regenerate.
13480         * config/v850/rtems.h: New file.
13482 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
13484         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
13485         (__gthread_key_create): Likewise.
13486         (__gthread_key_dtor):  Likewise.
13487         (__gthread_once): Fix logic.
13488         (__gthread_key_delete): Cast away constness.
13490         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
13491         * invoke.texi: Document.
13492         * i386/mingw32.h (CPP_SPEC): Use.
13493         (LIBGCC_SPEC): Likewise.
13494         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
13496 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13498         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
13499         (HANDLE_PRAGMA_PACK): Undefine.
13500         (SLOW_UNALIGNED_ACCESS): Define.
13502 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13504         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13505         to default definition.
13506         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
13507         (store_fixed_bit_field): Call macro with word_mode and alignment.
13508         (extract_bit_field): Call macro with relevant mode and alignment.
13509         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13510         to default definition.
13511         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
13512         and alignment.
13513         (move_by_pieces_ninsns): Likewise.
13514         (clear_by_pieces): Likewise.
13515         (emit_push_insn): Likewise.
13516         (store_field): Call macro with relevant mode and alignment.
13517         (expand_expr): Likewise.
13518         (expand_expr_unaligned): Likewise.
13520         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
13521         (SLOW_UNALIGNED_ACCESS): Define.
13522         (CASE_VECTOR_MODE): Always use 32-bit offsets.
13523         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
13524         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
13525         (toc_section): Likewise and .toc pseudo-op.
13526         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
13527         64-bit mode.
13528         (TEXT_SECTION_ASM_OP): Likewise.
13529         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
13530         32-bit offsets.
13532         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
13533         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
13534         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
13535         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
13536         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
13538 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
13540         * regclass.c: Revert my Jan 4 change to loop cost computation.
13542 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13544         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
13545         compilation.
13547 2000-01-04  Stan Cox  <scox@cygnus.com>
13549         * haifa-sched.c (build_control_flow): Change unreachable simple
13550         loop test to check if current block has only one predecessor.
13551         (find_rgns): Initialize degree.  Use dest as degree index, not src.
13553 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13555         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
13557         * calls.c (expand_call): Likewise for
13558         `old_stack_arg_under_construction'.
13560         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
13562         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
13563         `save_constant'.
13565         * gcc.c (execute): Likewise for `ut' and `st'.
13567         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
13569         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
13571         * jump.c (jump_optimize_1): Likewise for `temp2'.
13573         * local-alloc.c (block_alloc): Likewise for `r1'.
13575         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
13577         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
13578         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
13580         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
13581         and `set2'.
13583         * reload.c (find_reloads): Likewise for `goal_alternative_number'
13584         and `goal_earlyclobber'.
13586         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
13588         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
13590         * stupid.c (stupid_life_analysis): Likewise for `chain'.
13592         * unroll.c (copy_loop_body): Likewise for `copy'.
13594         * varasm.c (output_constructor): Likewise for `byte'.
13596 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13598         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
13599         all FP constants for constant->reg moves.
13600         (ix86_split_to_parts): Try to convert memory address into immediate
13601         when available in the constant pool.
13602         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
13603         moves.
13604         (LEGITIMATE_CONSTANT_P): Return 1.
13605         * i386.md (pushsf): New splitter to convert constant pool memory
13606         reference to immediate.
13607         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
13608         reload.
13610 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
13612         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
13613         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
13614         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
13615         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
13616         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
13618 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
13620         * ginclude/stdbool.h:  Support compilation as C++.
13622 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13624         * fold-const.c (make_range): Don't try to reverse an unbounded range.
13626 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
13628         * regclass.c (regclass): Properly compute loop_cost.  Adjust
13629         comments.
13631         * regclass.c: Fix minor whitespace problems.
13633 2000-01-03  Anthony Green  <green@cygnus.com>
13635         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
13636         Restore the pic register if required.
13638 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
13640         * c-common.c (format_char_info): Update comment.
13641         (check_format_info): Recognize 'z' modifier in the same way 'Z'
13642         was recognized.  Emit warning for formats new in ISO C99 only
13643         if flag_isoc9x is not set.
13645 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
13647         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
13649 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13651         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
13652         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
13653         (make_compound_operation): Choose cheaper alternative between
13654         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
13656         * regclass.c (op_costs): Remove global variable.
13657         (record_reg_classes): New parameter "op_costs" and "reg_pref".
13658         (record_operand_costs): Break out from ...
13659         (scan_one_insn): ... here.
13660         (dump_regclass): Make dumps nicer.
13661         (regclass): Dump preferrences choosed and changes done during passes.
13663 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13665         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
13667 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13669         * config/sparc/sparc.c (gen_df_reg): New function.
13670         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
13671         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
13672         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
13673         movtf_cc_reg_sp64+1): Use it.
13675 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13677         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
13678         copied LABEL_DECLs.
13680 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13682         * config/i386/i386.c (ix86_expand_unary_operator): Function
13683         definition made void.
13684         (ix86_expand_binary_operator): Update outdated preceding comment.
13685         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
13686         prototype.
13688         * config/i386/i386.c (override_options): Fix option-name typo.
13690 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13692         * system.h (CEIL): Define.
13693         * builtins.c (CEIL): Remove.
13694         * expmed.c (CEIL): Likewise.
13695         * expr.c (CEIL): Likewise.
13696         * stor-layout.c (CEIL): Likewise.
13698 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13700         * expr.c (store_constructor_field): Fix typo introduced with last
13701         gcc2 merge.
13703 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
13705         * tree.h (BINFO_N_BASETYPES): New macro.
13707 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
13709         * expmed.c (emit_store_flag): Prevent losing a pending stack
13710         adjust the same way we prevent losing queued increments.
13712 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13714         * function.c (update_temp_slot_address): Handle case where sum of
13715         temporary address plus offset in register is a valid address.
13717 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
13719         * genrecog.c (change_state) Corrected typo.
13721 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13723         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
13724         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
13725         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
13727 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
13729         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
13730         case, expand GT comparisons correctly.  Fix a comment before this
13731         part of the code.
13733 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
13735         * dwarfout.c: Include "frame.h"
13736         * dwarf2out.c: Likewise.
13737         * Makefile.in (dwarfout.o): Depend on frame.h
13738         (dwarf2out.o): Likewise.
13740 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
13742         Restore i386 binary compatibility in Dwarf EH info.
13743         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
13744         value of FIRST_PSEUDO_REGISTER.
13745         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
13746         (struct frame_state): Use DWARF_FRAME_REGISTERS.
13747         * dwarfout.c (output_reg_number): Ditto.
13748         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
13749         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
13751 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
13753         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
13754         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
13755         (<hack>_RE_CT): not needed
13756         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
13757         rewritten to scan the file text once only
13758         "template<..." test added
13759         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
13760         (is_cxx_header): declaration added
13761         * fixinc/fixtests.c(is_cxx_header): removed
13762         (apply_fix_p_t): removed
13763         (double_slash_test): is_cxx_header is only called once now
13764         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
13765         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
13766         within the templates.
13767         The borken spelling of "broken" was fixed.
13768         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
13769         The default level depends on FIXINC_DEBUG.
13771 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13773         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
13774         Otherwise provide a declaration for atexit.
13775         (init_dummy): Make sure dummy call to atexit is nevertheless
13776         called with correct number of args.
13778         * frame.c: Update comments referring to other files.
13780         * libgcc2.c: Likewise.
13782 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13784         * cse.c (free_element, get_element): Remove unused prototypes.
13786         * fold-const.c (extract_muldiv): Initialize variables `op0' and
13787         `op1'.
13789         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
13790         `else' clauses.
13792 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
13794         * configure.in,configure: case arm for mn10200-*-* now sets
13795         float_format=i32 so that float.h will correctly claim "double"
13796         to be 32 bits. Ran autoconf to generate configure from .in file.
13798 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
13800         * pa.md (conditional zero): If op1 is a register, force it into
13801         the same register as op0.
13803 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
13805         * tree.h (BINFO_BASETYPES): Improve documentation.
13807 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13809         * configure.in (--enable-checking): Use a more portable `for'
13810         loop syntax.
13812 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13814         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
13815         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
13817         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
13818         Delete files.
13820         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
13821         Delete descriptions.
13823         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
13824         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
13825         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
13826         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
13827         xm-svr4.h: Remove all instances of sys_siglist handling.
13829 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
13831         * config/sparc/sparc.md (cmp_zero_qi,
13832         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
13833         cmp_zero_extendqidi2_andcc_set): New patterns.
13835 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
13837         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
13838         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
13839         (fpgnulib.c, xfgnulib.c): Add rules.
13840         * m68k/t-mot3300-gas: Likewise.
13842 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
13844         * configure.in: Avoid [[ by using test and changequote.  Add
13845         changequote required by 1999-12-14 change.
13846         * configure: Rebuild.
13848 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
13850         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
13852 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
13854         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
13855         * flow.c (find_use_as_address): Likewise.
13856         * function.c (fixup_var_refs_1): Likewise.
13857         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
13858         * jump.c (invert_exp, redirect_exp): Likewise.
13859         * loop.c (replace_call_address): Likewise.
13860         (count_nonfixed_reads): Likewise.
13861         * rtlanal.c (modified_between_p): Likewise.
13862         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
13863         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
13864         * unroll.c (remap_split_bivs): Likewise.
13866 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13868         * diagnostic.c (v_message_with_decl): Use .* format specifier
13869         instead of building the format specifier width manually.
13871         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
13872         determining whether to provide a prototype.  Remove the
13873         sys_siglist clause in the conditional.
13875 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13877         * fold-const.c (operand_equal_p): Use memcmp to compare string
13878         constants.
13879         Suggested by D. J. Bernstein
13881 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
13883         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
13884         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
13885         compiling libgcc2.
13886         * config/mips/mips.h (TARGET_64BIT): Likewise.
13887         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
13888         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
13889         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
13890         dsps.  Give routines proper names if SI/DI modes are not used.
13891         * longlong.h: Use DWunion instead of DIunion.
13893 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
13895         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
13896         GC_CHECKING, GC_ALWAYS_COLLECT.
13897         * configure.in: Allow --enable-checking with an argument
13898         listing check modes to enable.
13899         * config.in, configure: Rebuilt.
13900         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
13901         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
13902         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
13903         ENABLE_GC_ALWAYS_COLLECT.
13904         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
13905         throughout.
13906         * tree.h, tree.c: Change ENABLE_CHECKING to
13907         ENABLE_TREE_CHECKING throughout.
13909 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13911         * fold-const.c (fold_truthop): Properly check for FP RHS.
13913 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
13915         * toplev.h (note_deferall_of_defined_inline_function): Declare.
13916         * toplev.c (note_deferral_of_defined_inline_function): New
13917         function, split out from ...
13918         (rest_of_compilation): ... here.  Use it.
13920 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13922         * expr.c (store_constructor): Don't call clear_storage if size is
13923         variable.
13925 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13927         * Makefile.in (toplev.o): Depend on loop.h.
13929         * dwarfout.c: Include tm_p.h.
13931         * emit-rtl.c (restore_emit_status): Mark parameter with
13932         ATTRIBUTE_UNUSED.
13934         * final.c (final_scan_insn): Likewise.
13936         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
13937         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
13938         flow_depth_first_order_compute, flow_loop_pre_header_find,
13939         flow_loop_tree_node_add, flow_loops_tree_build,
13940         flow_loop_level_compute, flow_loops_level_compute,
13941         flow_loop_outside_edge_p): Add prototypes.
13942         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
13944         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
13945         Mark with ATTRIBUTE_NORETURN.
13947         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
13949         * local-alloc.c (no_conflict_p): Likewise.
13951         * loop.c (insert_bct): Hide definitions of variables with hidden
13952         usage.
13953         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
13955         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
13956         with ATTRIBUTE_UNUSED.
13957         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
13958         (reg_scan): Likewise.
13960         * reload.c (find_reloads): Remove unused variables `changed'.
13962         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
13963         away const-ness.
13964         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
13965         Remove unused variable `insn'.
13967         * toplev.c: Include loop.h.
13968         (report_file_and_line): Remove unnecessary prototype.
13970         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
13972         * unroll.c (biv_total_increment): Likewise.
13974 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13976         * reload1.c (emit_input_reload_insns): Restore old behaviour
13977         wrt. 'special' reloads.
13979 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
13981         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
13982         hash.h.  (cse.c): Don't depend on hashtab.h.
13984         * cse.c: Don't include hashtab.h.
13985         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
13986         of dead functions.
13987         * ggc-simple.c: Don't include hash.h.
13989 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
13991         * dwarf2out.c (add_abstract_origin_attribute): Call
13992         gen_abstract_function on our function context.
13994 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
13996         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
13998 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14000         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
14001         case in switch.
14003 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14005         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
14006         constraints to "a!r".
14008 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
14010         * Makefile.in (calls.o): Depend on function.h.
14011         (alias.o): Likewise.
14013 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
14015         * reload1.c (emit_reload_insns): Break out code and variables into...
14016         (input_reload_insns, other_input_address_reload_insns,
14017         other_input_reload_insns, input_address_reload_insns,
14018         inpaddr_address_reload_insns, output_reload_insns,
14019         output_address_reload_insns, outaddr_address_reload_insns,
14020         operand_reload_insns, other_operand_reload_insns,
14021         other_output_reload_insns): ... new static variables, and...
14022         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
14023         do_output_reload): ... new functions.
14025 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14027         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
14029 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14031         * md.texi: Add c4x constraints documentation.
14033 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
14035         * config/i386/dgux.c (struct option): Rename to
14036         lang_independent_option.
14037         (struct m_options): Add description field.
14038         (output_options): Rename option type, add sep declaration, output
14039         ix86_cpu_string and ix86_arch_string only if set.
14040         (output_file_start): Rename option type.
14042 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
14044         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
14045         stmp-int-hdrs.
14046         (libgcc2.a): Similarly.
14048 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
14050         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
14051         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
14052         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
14054 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
14056         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
14057         Remove redundant initialization of "frexpon" and "expon".
14059 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14061         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
14063         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
14064         (store_constructor_field, expand_expr): Pass new arg.
14066 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
14068         * Makefile.in (explow.o): Depend on function.h.
14070         * stor-layout.c (set_sizetype): Fix typo.
14072 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
14074         * function.c (cfun): Renamed from current_function.  All users
14075         changed.
14076         * function.h (cfun): Rename declaration as well.
14078         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
14079         to be of type regset_head, not regset.  All users changed by adding
14080         address operator.
14081         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
14083 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14085         * config/c4x/rtems.h: New file.
14087 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
14089         * reload1.c (spill_failure): Take class of failed reload as argument
14090         and print it.  Caller changed.
14092 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14094         * rs6000.h (SUBTARGET_DEFAULT): New macro.
14095         (TARGET_SWITCHES): Allow subtargets to default switches.
14096         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
14098 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
14100         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
14101         in a main program.
14103 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
14105         * cccp.c (main): Define __STDC_VERSION__ as necessary.
14106         * cppinit.c (cpp_handle_option): Likewise.
14108         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
14109         determine when to define.
14111 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
14113         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
14114         cmove with mismatched test and data modes.
14116 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
14118         * c-typeck.c (c_expand_start_case): Don't warn for long switch
14119         in system headers.
14121 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14123         * alias.c: Minor reformatting.
14124         * flow.c: Likewise.
14125         * regs.h: Likewise.
14126         * stor-layout.c: Likewise.
14127         * fold-const.c: Likewise.
14128         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
14129         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
14130         not arg itself.
14131         (size_int_wide): Cache nodes even if garbage collecting.
14132         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
14133         of SAVE_EXPR has no side effects.
14134         * cse.c: Move a comment.
14135         * tree.c: Minor reformatting.
14136         (int_size_in_bytes): Return -1 if constant overflows.
14138 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14140         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
14142 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
14144         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
14145         after any change to c-parse.in, even if objc-parse.y didn't
14146         change.  Oops.
14148 1999-12-18  David S. Miller  <davem@redhat.com>
14150         * toplev.c (rest_of_compilation): Restore BLOCK tree
14151         reconstruction and branch shortening changes lost in
14152         December 18th change.
14154 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
14156         * config/arm/linux-elf.h: Change all instances of
14157         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
14158         * config/arm/uclinux-elf.h: Likewise.
14160 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
14162         * toplev.c (notice, vmessage, v_message_with_file_and_line,
14163         v_message_with_decl, file_and_line_for_asm,
14164         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
14165         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
14166         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
14167         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
14168         pfatal_with_name, fatal_io_error, need_error_newline,
14169         last_error_function, last_error_tick, announce_function,
14170         default_print_error_function, print_error_function,
14171         report_error_function, fnotice, error_with_file_and_line,
14172         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
14173         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
14174         warning_with_decl, warning_for_asm, warning, pedwarn,
14175         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
14176         diagnostic.c
14177         (compile_file): Use fnotice instead of notice.  Adjust call.
14179         * diagnostic.c: New file.
14181         * Makefile.in (OBJS): Include diagnostic.o
14182         (diagnostic.o): Define dependence.
14184 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14186         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
14187         Tweak formatting.
14189 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14191         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
14193 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
14195         * fixtests.c (is_cxx_header): New fn, split out of
14196         double_slash_test.
14197         (else_endif_label): Allow "#endif // comment" in C++ headers,
14198         as determined by is_cxx_header.
14199         * fixfixes.c (else_endif_label_fix): Update comment.
14200         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
14201         a tty.
14202         * genfixes: Correct double thinko in commandline parsing.
14203         * hackshell.tpl: Generate correct sh syntax for bypass
14204         entries.
14206         * inclhack.def (all): Whenever an inserted preprocessor
14207         conditional is split over multiple lines, use double
14208         backslashes in this file so the fixed header will be readable.
14210         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
14211         and add bypass entry for correct version of this header.
14212         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
14213         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
14215         (hpux8_bogus_inlines): New fix, split from...
14216         (ultrix_atof_param) ... here.
14217         (math_expression): Add bypass entry keyed to glibc comment
14218         indicating the problem has been dealt with; disable
14219         unnecessary sed operations; update commentary.
14220         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
14221         add select and bypass entries, simplify shell operation.
14222         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
14224         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
14225          ultrix_atof_param): Add select entry.
14226         (stdio_va_list, sunos_mather_decl): Add bypass entry.
14227         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
14228         comments with the fixes they describe.
14230         * c-parse.in (string action): Do not warn about ANSI string
14231         concatenation in system headers.  Affects C parser only.
14232         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
14234 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
14236         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
14237         compiling libgcc2 the macro depends always on arch cpp defines.
14239 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
14241         * loop.c (insert_loop_mem): Don't record MEMs from inside
14242         EXPR_LISTs.
14244 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
14246         * regclass.c (regclass): Do not use flowgraph when not optimizing.
14248         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
14249         notes too, create one when replacement failed, attempt to simplify
14250         resulting notes.
14251         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
14252         or REG_EQUIV notes.
14254 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
14256         * crtstuff.c (__dso_handle): Declare.
14257         (__cxa_finalize): Likewise.
14258         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
14259         non-NULL.
14261         * invoke.texi: Document -fuse-cxa-atexit.
14263         * tree.h (ptr_type_node): Document.
14264         (const_ptr_type_node): Likewise.
14266 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14268         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
14269         (optimize_reg_copy_2): Likewise.
14270         (optimize_reg_copy_3): Likewise.
14271         (fixup_match_2): Likewise.
14272         (regmove_optimize): Likewise.
14273         (fixup_match_1): Liekwise.
14275         * i386.md (HI to SImode promoting splitters): Rewrite.
14276         (pushsf mem peep2): New.
14277         (testhi to andhi peep2): Remove.
14278         * i386.h (x86_promote_QImode): New.
14279         (TARGET_PROMOTE_QImode): New.
14280         (PREDICATE_CODES): Add promotable_binary_operator.
14281         * i386.c (x86_promote_QImode0: New.
14282         (promotable_binary_operator): New.
14283         * i386-protos.h (promotable_binary_operator): New.
14285         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
14286         condition.
14287         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
14289 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
14291         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
14292         * function.c (insert_block_after_note): Remove.
14293         (retrofit_block): Likewise.
14294         (identify_blocks): Fix indentation.
14295         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
14296         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
14297         * function.h (insert_block_after_note): Remove prototype.
14298         (retrofit_block): Likewise.
14299         * integrate.c (expand_inline_function): Don't call
14300         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
14301         just expand_start_bindings.  Use the block_map to remap old
14302         NOTE_BLOCKs to new ones.
14303         (integrate_decl_tree): Keep track of remapped blocks.
14304         * integrate.h (struct inline_remap): Add block_map.
14305         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
14306         NOTE_BLOCK on the notes.
14307         (expand_start_bindings): Rename to ...
14308         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
14309         (expand_end_bindings): Set NOTE_BLOCK.
14310         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
14311         reconstruct the BLOCK tree.
14312         * tree.h (expand_start_bindings): Macroize.  Call ...
14313         (expand_start_bindings_and_block): New function.
14315 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
14317         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
14318         to match the format.
14320 1999-12-16  David S. Miller  <davem@redhat.com>
14322         * expr.c (emit_move_insn_1): Only emit clobbers if one of
14323         the outputs is a SUBREG.
14324         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
14325         change.
14327         * config/sparc/sparc.c (epilogue_renumber): Add default case
14328         to switch stmt.
14330 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14332         * toplev.c (rest_of_compilation): Run branch shortening after
14333         reg-stack.
14335         * regclass.c (loop_depth): Remove
14336         (scan_one_insn): Do not handle LOOP_NOTE insns.
14337         (regclass): Go through basic blocks and set loop_cost
14339 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
14341         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
14343 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14345         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
14346         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
14347         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
14349 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
14351         * loop.c (insert_loop_mem): Ignore memory clobbers.
14353         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
14354         to (OP A B).
14356 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
14358         * profile.c: Remove redundant #include "output.h".
14360         * h8300.md (HImode preinc peephole): Fix typo.
14362 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
14364         * function.c (retrofit_block): Abort if we don't find a suitable insn.
14365         (insert_block_after_note): Abort if we don't have a previous block.
14366         Remove FN parameter.
14367         * function.h: Adjust.
14369 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
14371         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
14372         argument more than once.
14374 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
14376         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
14378 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
14380         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
14382 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14384         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
14385         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
14386         update stack_alignment_needed.
14387         (prepare_function_start): Initialize stack_alignment_needed
14388         * function.h (struct function): Add field stack_alignment_needed.
14390 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14392         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
14393         Handle live_throughout / dead_or_set instead of live_before /
14394         live_after.
14395         (save_call_clobbered_regs): Get register livenessinformation from
14396         chain->live_throughout.
14397         (add_stored_regs): New function.
14398         (insert_restore, insert_save): Add restored / saved registers to
14399         dead_or_set.
14400         * global.c (reg_dies): New parameter chain.
14401         (reg_becomes_live): Third parameter is regs_set now.
14402         Changed all callers.
14403         (reg_dies): New parameter chain.  Changed all callers.
14404         (build_insn_chain): Set live_throughout instead of
14405         live_before / live_after.
14406         * reload.h (struct insn_chain): Replace members live_before /
14407         live_after with live_throughout / dead_or_set.
14408         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
14409         instead of live_before / live_after.
14410         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
14411         (order_regs_for_reload, find_reg, finish_spills): Likewise.
14412         (choose_reload_regs_init): Likewise.
14413         * stupid.c (current_chain, find_clobbered_regs): Delete.
14414         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
14415         instead of chain->live_before / chain->live_after.
14416         (mark_hard_ref): New function.
14417         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
14419 1999-12-15  David S. Miller  <davem@redhat.com>
14421         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
14423 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14425         * flow.c (calculate_loop_depth): Make global, remove prototype,
14426         rewrite to use new loop infrastructure.
14427         (find_basic_block): Remove calculate_loop_depth call.
14428         * toplev.c (rest_of_compilation): Call find_basic_block.
14429         * output.h (calculate_loop_depth): Declare.
14431         * flow.c (dump_flow_info): Dump loop_depth.
14432         (flow_loops_nodes_find): Increase loop_depth for basic block in the
14433         body.
14434         (flow_loops_find): Initialize the loop_depth for each basic block.
14436 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
14438         * tree.c (decl_function_context): Handle virtual functions.
14440         * tlink.c (scan_linker_output): Don't look in demangled name when
14441         looking for linker output keywords.
14443         * dwarfout.c (output_type): We can defer namespace-scope classes.
14445 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
14447         * regclass.c (record_reg_classes): Update comment for merging
14448         register class preferences in reg->reg copies.  Tighten conditions
14449         for merging register class preferences in reg->reg copies.
14451 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
14453         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
14455 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
14457         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
14458         (INIT_SECTION_ASM_OP): Delete.
14459         (FINI_SECTION_ASM_OP): Delete.
14460         (STARTFILE_SPEC): Define to hold just crtbegin.o.
14462 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
14464         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
14465         the abstract origin wasn't emitted.
14467         * dwarf2out.c (class_scope_p): New fn.
14468         (gen_subprogram_die): Use it.
14469         (gen_variable_die): Use it.  Tweak logic.
14470         (gen_struct_or_union_type_die): Check context_die to determine
14471         if we're function-local.
14472         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
14474 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14476         * loop.c (check_dbra_loop): Can't reverse a biv that has
14477         maybe_multiple set.
14479 1999-12-14  Nick Clifton  <nickc@cygnus.com>
14481         * config/arm/arm.c: Add support for -mcpu=arm720 command line
14482         switch.
14484 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14486         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
14487         for givs made from biv increments.
14489 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
14491         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
14492         * alpha.c (override_options): Recognize -mcpu=ev67.
14493         * alpha.h (CPP_CPU_EV67_SPEC): New.
14494         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
14495         (EXTRA_SPECS): Update.
14497 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
14499         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
14500         appropriate for -lang-c89 and -std=*.
14501         * cppinit.c (cpp_handle_option): Likewise.
14502         (new_pending_define): New, split out from cpp_handle_option.
14503         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
14504         or enable trigraphs for -ansi/-std=*.
14506         * ginclude/stdarg.h (__va_copy): New.
14507         (va_copy): Don't define for C89.
14509 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
14511         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
14512         for long long multiply-accumulate.
14514 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14516         * regclass.c (scan_one_insn): Set loop_cost to 1 when
14517         optimizing for size.
14519 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14521         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
14522         if something changed.  Back out that part of yesterday's changes.
14524         * loop.c (loop_max_reg): New static variable.
14525         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
14526         max_reg_num.
14527         (scan_loop): Call reg_scan_update whenever we may have added new
14528         registers, and update loop_max_reg.
14530 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14532         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
14533         when source does not die.
14535         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
14537 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
14539         * config/sparc/linux64.h (TARGET_LIVE_G0,
14540         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
14541         variants on Linux.
14542         * config/sparc/linux.h (TARGET_LIVE_G0,
14543         TARGET_BROKEN_SAVERESTORE): Likewise.
14544         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
14545         TARGET_BROKEN_SAVERESTORE): Likewise.
14547         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
14548         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
14549         not %g2.
14550         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
14551         as sparc64 block profiling register.
14552         * config/sparc/sparc.c (sparc_override_options): Allow block
14553         profiling with -m32.
14554         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
14555         profiling register.
14556         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
14557         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
14558         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
14560         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
14561         for sparc64.
14562         * config/sparc/sparc.h: Likewise.
14563         * config/sparc/xm-sysv4-64.h: Likewise.
14564         * config/float-sparc.h: Likewise.
14565         * glimits.h: Likewise.
14566         * longlong.h: Likewise.
14568         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
14569         (ASM_IDENTIFY_GCC): Remove.
14571 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14573         * combine.c (combine_simplify_rtx): Don't make shared rtl.
14574         (simplify_logical): Likewise.
14576 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14578         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
14579         * cppfiles.c (INO_T_EQ): Likewise.
14581 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14583         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
14584         * i386/mingw32.h (LIB_SPEC): Likewise.
14585         (STARTFILE_SPEC): Likewise.
14586         * i386/uwin.h (LIB_SPEC): Likewise.
14587         (STARTFILE_SPEC): Likewise.
14589         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
14590         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
14592 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
14594         * combine.c (combine_simplify_rtx): Fix order of checks for
14595         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
14597 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
14599         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
14600         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
14602 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14604         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
14605         defined.
14606         * regclass.c (inv_reg_alloc_order): New array.
14607         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
14609         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
14610         counted_for_groups, counted_for_nongroups.  Add fields rld and
14611         n_reloads.
14612         * reload.c (push_secondary_reload): Don't set nongroup field of
14613         new reloads.
14614         (push_reload): Likewise.
14615         (find_reloads): Delete code to compute nongroup fields.
14616         * reload1.c (reload_insn_firstobj): New static variable.
14617         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
14618         users changed.
14619         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
14620         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
14621         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
14622         functions.
14623         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
14624         functions.
14625         (struct hard_reg_n_uses): Deleted.
14626         (potential_reload_regs): Deleted.
14627         (init_reload): Initialize spilled_pseudos and pseudos_counted.
14628         (reload): Don't try to allocate reload registers if we already know
14629         we have to make another pass.  Call select_reload_regs.  Free memory
14630         starting with reload_firstobj when starting another pass.
14631         Don't allocate spilled_pseudos.
14632         (calculate_needs_all_insns): Call copy_reloads for an insn that
14633         needs reloads; don't call calculate_needs.
14634         (spill_cost): New static array.
14635         (used_spill_regs_local): New static variable.
14636         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
14637         to compute potential_reload_regs.
14638         (find_reload_regs): Completely rewritten to use find_reg.
14639         (allocate_reload_reg): Don't test counted_for_groups or
14640         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
14641         all cllers changed.
14642         (choose_reload_regs): Add fallback code that uses the existing
14643         register allocation from find_reload_regs.
14645 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
14647         * flow.c (create_edge_list): Cast xmalloc return value.
14649 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
14651         * doprnt.c: Remove incorrect comment closure.
14653         * cse.c: Fix a few minor whitespace goofs.
14655 1999-12-13  Don Bowman  <don@pixstream.com>
14657         * mips/vxworks.h: Fix problem with comment termination.
14658         (EXTRA_SECTIONS): Add in_sbss.
14659         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
14661 1999-12-12  David S. Miller  <davem@redhat.com>
14663         * cse.c (struct cse_reg_info): Add hash_next member,
14664         reorder rest of struct for better packing on 64-bit
14665         hosts.
14666         (cse_reg_info_tree): Kill.
14667         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
14668         REGHASH_FN): New custom pow2 hash mechanism.
14669         (NBUCKETS): Kill.
14670         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
14671         use a pow2 hash table.
14672         (get_cse_reg_info): Rework to use new REGHASH.
14673         (new_basic_block): Likewise, use HASH_SIZE, and inline
14674         free_element call.
14675         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
14676         and inline free_element call.
14677         (lookup_as_function, insert, flush_hash_table, invalidate,
14678         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
14679         invalidate_for_call, use_related_value, find_comparison_args,
14680         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
14681         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
14682         get_element): Kill.
14684 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
14686         * cse.c (cse_basic_block): Free qty_table consistently.
14688 1999-12-12  David S. Miller  <davem@redhat.com>
14689             Jakub Jelinek    <jakub@redhat.com>
14691         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
14692         SUBREGs by hand, gen the appropriate hard reg directly.
14693         (movtf reg/mem split): Likewise and alter_subreg on destination
14694         if necessary.
14695         (movtf mem/reg split): Similarly.
14696         (movdf_cc_sp64): Rename from hidden pattern.
14697         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
14698         (movtf_cc_sp64, following split): New pattern and splitter.
14699         (movdf_cc_reg_sp64): Rename from hidden pattern.
14700         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
14701         TARGET_HARD_QUAD.
14702         (movtf_cc_reg_sp64, following split): New pattern and splitter.
14704 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
14706         * loop.c (load_mems): Don't hoist written floating point mem
14707         if -ffloat-store.
14709 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
14711         * except.h (struct eh_queue): Add `next' pointer.
14712         (struct eh_status): Make x_ehqueue a pointer.
14713         (push_ehqueue):  Declare.
14714         (pop_ehqueue): Likewise.
14715         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
14716         pointer.
14717         (expand_fixup_region_end): Likewise.
14718         (expand_leftover_cleanups): Likewise.
14719         (push_ehqueue): Define.
14720         (pop_ehqueue): Likewise.
14721         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
14722         than doing it inline.
14723         (expand_start_all_catch):  Adjust now that ehqueue is a
14724         pointer.
14725         (mark_eh_queue): Mark all level of the queue.
14726         (mark_eh_status):  Adjust now that ehqueue is a
14727         pointer.
14728         (init_eh_for_function): Allocate ehqueue.
14729         (free_eh_status): Free it.
14730         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
14731         expansion for a fixup.
14733 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14735         * gthr-single.h (__gthread_active_p): Add prototype arguments.
14737         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
14738         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
14739         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
14740         function_ptr, getpagesize, __enable_execute_stack,
14741         __enable_execute_stack, __clear_insn_cache,
14742         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
14743         _cleanup, _exit, __default_terminate, __terminate_func,
14744         __terminate, __empty, __throw, new_eh_context,
14745         eh_context_initialize, eh_context_static, eh_context_specific,
14746         get_eh_context, __get_eh_context, __get_eh_info,
14747         init_reg_size_table, eh_threads_initialize,
14748         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
14749         __unwinding_cleanup, throw_helper, __throw, __rethrow,
14750         __pure_virtual): Add prototype arguments.
14751         (__bb_exit_func): Cast a sizeof to long when comparing against one.
14752         Cast a signed value to unsigned long when comparing against one.
14753         (new_eh_context): Wrap in _GTHREADS macro.
14754         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
14755         declaration.
14756         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
14757         (throw_helper): Initialize variables `handler_p' and `pc_p'.
14759 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14761         * combine.c (record_promoted_value): Remove unused variable
14762         `links2'.
14764         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
14766         * global.c (record_conflicts): Likewise for `j'.
14768         * genoutput.c (output_insn_data): Don't unnecessarily cast away
14769         const-ness.
14771 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14773         * i386-protos.h (output_387_binary_op, output_fix_trunc,
14774         output_fp_compare): Constify a char*.
14776         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
14777         static prototypes.
14778         (override_options, ix86_comp_type_attributes, print_operand,
14779         output_387_binary_op, output_fix_trunc, output_fp_compare):
14780         Constify a char*.
14781         (ix86_sched_reorder): Mark parameter `clock_var' with
14782         ATTRIBUTE_UNUSED.
14784         * i386.h (DEBUG_PRINT_REG): Constify a char*.
14786 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
14788         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
14789         operand, for use in the Java front-end.
14791 1999-12-10  Ben Collins  <bcollins@debian.org>
14793         * configure.in: Fix typo for "-64" in 64bit as check.
14794         * configure: Rebuilt.
14796 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
14798         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
14799         appropriate.
14801 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14803         * c-parse.in (string): With -Wtraditional, warn if ANSI string
14804         concatenation is utilized.
14806         * invoke.texi (-Wtraditional): Document it.
14808 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14810         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
14811         Cast a ptrdiff_t to long and pass it to printf with %ld.
14813 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
14815         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
14816         68881, we have no 68881 registers at all.
14817         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
14818         value in a 68881 register if it is available.
14820 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
14822         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
14823         for long long multiply-accumulate.
14825 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14827         * loop.c (insert_loop_mem): Undo last change.
14829 1999-12-10  David S. Miller  <davem@redhat.com>
14831         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
14832         New functions.
14833         * config/sparc/sparc-protos.h: Add them.
14834         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
14835         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
14836         constraints which use those helpers.
14837         (EXTRA_CONSTRAINT): Use this new macro.
14838         * md.texi: Update sparc target constraints documentation.
14839         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
14840         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
14841         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
14842         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
14843         (movsf high/lo_sum split): Rework for new patterns.
14844         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
14846 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
14848         * c-common.c (c_common_nodes_and_builtins):
14849         Create __builtin_ptrdiff_t and __builtin_size_t.
14851 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
14853         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
14855 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14857         * regclass.c (globalize_reg): Re-instate test that allows
14858         fixed registers to be declared as a variable even after functions
14859         are defined.
14861 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14863         * i386.md (cpu attribute): Add "athlon".
14864         (athlon_decode): New attribute.
14865         (Athlon scheduling units definitions): New.
14866         (fcmp and shld patterns): Set athlon_decode to "vector".
14867         * i386.c (athlon_cost): New.
14868         (m_ATHLON): New.
14869         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
14870         x86_use_sahf): Set for Athlon.
14871         (x86_use_fiop): Unset for Athlon.
14872         (override_options): Define Athlon alignments and "athlon" name.
14873         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
14874         * i386.h (TARGET_ATHLON): New.
14875         (enum processor_type): Add PROCESSOR_ATHLON.
14876         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
14877         for CPU_DEFAULT==5
14878         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
14880 1999-12-09  Andreas Jaeger  <aj@suse.de>
14882         * loop.c (record_biv): Declare parameter as int.
14884         * config/i386/i386-protos.h: Declare long_memory_operand.
14886 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
14888         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
14889         EXPR_WITH_FILE_LOCATION.
14891 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
14893         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
14894         in expander.
14896         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
14898         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
14899         updating code.
14901 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
14903         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
14904         default on linux64 again.
14905         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
14906         models for multilibing.
14907         * genmultilib: Accept | as alternative separator within a set in
14908         MULTILIB_OPTIONS.
14910         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
14912         * calls.c (precompute_arguments): Make sure initial_value contains
14913         value pseudo which CSE expects.
14914         * cse.c (struct set): New entry orig_src.
14915         (cse_insn): Set it early on entry, use it for libcall EQUIV note
14916         replacement.
14918 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
14920         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
14922 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
14924         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
14926 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
14928         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
14929         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
14931         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
14932         if TARGET_ARCH32.
14934         * longlong.h: Merge in changes from glibc.
14935         Also don't clobber %g2 register in 32bit SPARC assembly, so that
14936         -mno-app-regs libgcc can be compiled.
14937         * libgcc2.c: Add defines so that the updated longlong.h
14938         can be used in libgcc2.a. Also, make sure on most architectures
14939         (at least on all which have optimized code in longlong.h defined
14940         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
14942 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14944         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
14945         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
14946         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
14947         is GNU ld.
14948         * configure: Rebuilt.
14950 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
14952         * alpha.c (secondary_reload_class): For !BWX, sub-simode
14953         outputs require a register.
14955 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
14957         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
14958         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
14959         functions like dptoul will be resolved.
14960         (libgcc2.a): Make sure that the object files from DPBIT are named
14961         differently (prefix `_dp') from those that would be coming from
14962         FPBIT.
14964 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
14966         * configure.in: When target is sparc* and tm_file contains 64,
14967         test for 64bit support in assembler.  If not supported, remove
14968         sparc/t-sol2-64 from target-dependent Makefile fragments.
14969         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
14970         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
14971         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
14972         * acconfig.h (AS_SPARC64_FLAG): Added.
14973         * configure, config.in: Rebuilt.
14974         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
14975         support.  Use AS_SPARC64_FLAG.
14977 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
14979         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
14980         suitable for holding OFmode values so that gcc works with complex
14981         quad long doubles.
14982         (hard_64bit_mode_classes): Likewise.
14984         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
14985         so that it is actually matched.
14986         (sethi_di_medlow): Likewise.
14988         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
14989         as legitimate constant if -mvis.
14990         * config/sparc/sparc.md (movtf): Likewise.
14991         (clear_sf): Use const_double_operand.
14992         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
14994         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
14995         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
14996         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
14997         routines, _Qp_* cannot be handled like that now.
14998         (INIT_TARGET_OPTABS): Likewise.
14999         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
15000         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
15001         sparc_emit_float_lib_cmp if ARCH64 and soft float.
15002         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
15003         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
15004         divtf3, sqrttf3): New expanders.
15005         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
15006         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
15007         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
15008         non-_hq patterns.
15010         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
15011         * configure: Rebuilt.
15012         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
15013         -mcpu is given and we're doing 64bit compiles.
15015 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
15017         * loop.h (struct induction): Add multi_insn_incr.
15018         * loop.c (basic_induction_var): New multi_insn_incr argument.
15019         Set it if we search back through previous insns for the biv.
15020         (record_biv): New multi_insn_incr argument; fill in struct induction.
15021         (strength_reduce): Discard an iv with multiple bivs, any of
15022         which require multiple insns to increment.
15024 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15026         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
15027         documentation.
15029 1999-12-06  David S. Miller  <davem@redhat.com>
15031         * combine.c (check_promoted_subreg): Do not conditionalize this upon
15032         PROMOTE_FUNCTION_RETURN.
15034 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
15036         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
15037         and handle REG_UNUSED note on insn.
15039         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
15040         inner_mask instead of mask.
15042 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
15044         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
15045         zero if there was an error.
15047 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
15049         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
15050         output string.
15052         * longlong.h: Fix clobbers in SPARC asm statements.
15054         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
15055         valid sethi operations when TARGET_ARCH64.
15057         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
15058         always use move_by_pieces to avoid infinite recursion.
15059         (restore_fixed_argument_area): Likewise.
15061         * combine.c (check_promoted_subreg, record_promoted_value): New
15062         functions.
15063         (combine_instructions): Use them to retain nonzero and sign bit
15064         information after SUBREGs are eliminated by optimizations in
15065         this pass if PROMOTE_FUNCTION_RETURN.
15067         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
15068         .register declaration. Don't use variables with __ prefixes.
15070 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15072         * fold-const.c (optimize_bit_field_compare): Only use one mode
15073         for both RHS and LHS in non-constant case.
15075 1999-12-06  Nathan Sidwell  <nathan@acm.org>
15077         * frame.c (start_fde_sort): Only allocate erratic array, if
15078         linear one was allocated. Return allocated flag.
15079         (fde_insert): Only insert, if there's a valid array.
15080         (fde_end_sort): Split, sort and merge if linear and erratic
15081         arrays exist, else just sort linear one.
15082         (search_fdes): New function. Linear search through original fde
15083         structure.
15084         (frame_init): Permit multiple initializations. Cope with
15085         memory shortages.
15086         (find_fde): Fallback on linear search, if failed to sort array.
15087         (__deregister_frame_info): Only free sorted array, if we
15088         allocated it.
15090 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
15092         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
15094 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
15096         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
15098 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
15100         * tree.h (special_function_p): Declare.
15101         * calls.c (special_function_p): Make it global.  Don't take `name'
15102         as a parameter.  Fix typo in 1999-11-28 change.
15103         (expand_cal): Adjust.
15105 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
15107         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
15108         * tree.h (EXPR_WFL_FILENAME): Define in terms of
15109         EXPR_WFL_FILENAME_NODE.
15110         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
15111         the TREE_CHAIN.
15112         * print-tree.c (print_note): Print TREE_PRIVATE and
15113         TREE_PROTECTED.
15115         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
15116         the original die cannot be found.
15118         * varray.h (varray_head_tag): Add elements_used.
15119         (VARRAY_PUSH): New macro.
15120         (VARRAY_POP): Likewise.
15121         (VARRAY_TOP): Likewise.
15122         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
15123         types.
15124         * varray.c (varray_init): Initialize elements_used.
15125         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
15126         (INTEGRATE_H): New variable.
15127         (integrate.o): Depend on INTEGRATE_H.
15128         (unroll.o): Likewise.
15130         * function.h (insert_block_after_note): Declare.
15131         * function.c (insert_block_after_note): Split out from ...
15132         (retrofit_block): ... here.
15134         * stmt.c (expand_fixup): Fix typo in comment.
15136 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15138         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
15139         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
15140         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
15141         (regmove_optimize, fixup_match_1): Likewise.
15143 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15145         * flow.c (flow_loops_dump): Add missing argument when calling
15146         flow_loop_nested_p.
15148 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
15149             Greg McGary  <gkm@gnu.org>
15151         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
15152         (init_attributes): Add A_NO_LIMIT_STACK.
15153         (decl_attributes): Handle A_NO_LIMIT_STACK.
15154         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
15155         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
15156         Handle stack bounds checking.
15157         * flags.h (flag_stack_check): Use the word 'probe' rather than
15158         'check', because the flag doesn't actually cause any checking to
15159         be done.
15160         * function.c (expand_function_start): Set
15161         current_function_limit_stack.
15162         * function.h (struct function): Add limit_stack.
15163         (current_function_limit_stack): Define.
15164         * invoke.texi (Code Gen Options): Document new options.
15165         * rtl.h: Declare stack_limit_rtx.
15166         * toplev.c (stack_limit_rtx): New variable.
15167         (decode_f_option): Handle new options -fstack-limit-register=REG,
15168         -fstack-limit-symbol=IDENT, -fno-stack-limit.
15169         (main): Add stack_limit_rtx as GC root.
15170         * tree.h (DECL_NO_LIMIT_STACK): New macro.
15171         (struct tree_decl): New member no_limit_stack.
15173         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
15174         stack_limit_rtx.
15175         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
15176         (conditional_trap+1): Get new mnemonic correct.
15177         (conditional_trap+2): New pattern for DImode traps.
15179         * config/m68k/m68k.c (output_function_prologue): Handle
15180         stack_limit_rtx.
15181         * config/m68k/m68k.md (trap): New insn.
15182         (conditional_trap): New insn.
15183         * md.texi (Standard Names): Document `trap' and
15184         `conditional_trap'.
15185         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
15186         so a cc0 setter doesn't get emitted at some random place in the
15187         function.
15189         * config/i960/i960.md (trap): New insn.
15190         (conditional_trap): New expander.
15191         (conditional_trap+1, conditional_trap+2): New insns for signed
15192         and unsigned cases.
15193         * config/i960/i960.c (i960_function_prologue): Use
15194         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
15196 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
15197                           Geoffrey Keating  <geoffk@cygnus.com>
15199         * flags.h (warn_padded, warn_packed): Add global var decls.
15200         * toplev.c (warn_padded, warn_packed): Add global var defns.
15201         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
15202         * stor-layout.c (layout_record): Add local variable `type'
15203         to hold often-used TREE_TYPE (field).  Add local variable
15204         `unpacked_align' to hold alignment that would be in force
15205         if no `packed' attribute were present.  Warn if `packed' attribute
15206         is unnecessary, or even harmful.  Warn when gcc inserts padding
15207         to satisfy alignment requirements of members.  Use NULL_TREE
15208         when checking whether var_size is set.
15209         * invoke.texi: Document new flags.
15211 1999-12-03  Nathan Sidwell  <nathan@acm.org>
15213         * frame.c (fde_split): Reimplement to avoid variable sized array.
15215 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15217         * combine.c (try_combine): Before fixing up LOG_LINKS for the
15218         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
15220 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
15222         * invoke.texi: Document the mips option -mno-crt0
15224 1999-12-02  Mike Karr  <mkarr@mathworks.com>
15226         * cccp.c (argdata): Added free_ptr member.
15227         (macroexpand): Initialize free_ptr of each argument. When an
15228         argument's buffers are freed, if the argument's free_ptr corresponds
15229         to a buffer on the input stack, then return the free_ptr to that stack
15230         frame, otherwise, free it.
15231         (macarg): If an argument begins and ends on the same input stack level,
15232         then transfer the free_ptr of that buffer to the argument in case
15233         the stack is popped during the processing of a subsequent argument.
15235 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
15237         * loop.c (note_reg_stored): New function.
15238         (struct note_reg_stored_arg): New structure.
15239         (try_copy_prop): Change to be more conservative; only replace within
15240         one extended basic block and stop replacing if a store to the
15241         replacement reg is seen.
15243 1999-12-02  Nick Clifton  <nickc@cygnus.com>
15245         * config/fp-bit.c: Initialise all fields of the NAN
15246         constants.
15248         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
15249         to HANDLE_PRAGMA.
15251 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
15253         * i386.md (extend?f?f2): Force the input into a register, not
15254         the output.
15256 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
15258         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
15259         regclass' sake.
15260         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
15261         alternative because setting up 64bit constant is usually costly,
15262         especially when reload is in progress or completed.
15263         (movdf_const_intreg_sp64): Likewise.
15264         (movdf_const_intreg split): Fix building up constants when
15265         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
15267 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
15269         * combine.c (if_then_else_cond): Use const_true_rtx instead of
15270         const1_rtx for return values in EQ/NE comparison against (const_int 0)
15271         case.
15273         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
15274         (asm_file_start): Emit .am33 into assembly file when compiling for
15275         the AM33.
15276         (print_operand_address): Handle POST_INC addresses.
15277         (can_use_return_insn, initial_offset): Check AM33 registers too.
15278         (expand_prologue): Check & save AM33 registers too.
15279         (expand_epilogue): Similarly.
15280         (secondary_reload_class): Handle AM33 specific secondary reloads.
15281         (output_tst): Emit efficient code for the AM33 too.
15282         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
15283         (TARGET_SWITCHES): Add -mam33 switch.
15284         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
15285         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
15286         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
15287         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
15288         (enum reg_class, REG_CLASS_NAMES): Likewise.
15289         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
15290         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
15291         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
15292         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
15293         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
15294         (HAVE_POST_INCREMENT): Define.
15295         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
15296         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
15297         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
15298         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
15299         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
15300         (zero_extend to SI from QI/HI): Likewise.
15301         (sign_extend to SI from QI/HI): Likewise.
15302         (mulsidi3, umulsidi3): New patterns for the AM33.
15303         (tstsi with zero extension from QI/HI): Add AM33 variants.
15304         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
15305         (return_internal_regs, store_movm): Handle new AM33 registers.
15306         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
15307         (LIBGCC, INSTALL_LIBGCC): Likewise.
15308         * invoke.texi: Document new flags.
15310 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15312         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
15313         (addsi3_carry): Likewise.
15314         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
15315         (sbbsi3_carry): Likewise.
15316         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
15317         (mulhi3): Likewise.
15318         (test?i_1): Ensure that only one operand is memory.
15319         (conditional move patterns): likewise.
15320         (shift and rotate patterns): Rewrite to expander, add
15321         "binary_operator_ok" to the condition.
15323         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
15324         * i386.h (procesor_costs): Add movzbl_load field.
15325         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
15326         non-Q registers, accept DImode registers anywhere.
15327         (Q_CLASS_P): New.
15328         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
15329         * i386.c (*_cost): Set value for movxbl_load field.
15331         * (addsi): New add to lea splitter.
15332         (ashlsi): Likewise.
15333         (lea to add/shift peep2): New.
15335 1999-12-01  Mark Salter <msalter@cygnus.com>
15337         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
15338         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
15339         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
15341 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15343         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
15344         * i386.md (movsi_xor): New.
15345         (movsi_or): New.
15346         (movsi_1, movhi_1, movqi_1): Remove.
15347         (movsi_2): Rename to movsi_1.
15348         (movhi_2): Rename to movhi_1.
15349         (movqi_2): Rename to movqi_1.
15350         (movdi_1): Remove; remove splitter.
15351         (movdi_2): Rename to movdi_1.
15352         (divmodsi4 splitter): Do not emit clobbers for move patterns.
15353         (long move peep2): Do not create QI or HI mode mov0s
15354         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
15356         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
15357         rewrite splitters.
15359         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
15360         (abs?f2_if): Likewise.
15362 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
15364         * ggc.h (ggc_test_and_set_mark): New macro.
15365         (ggc_mark_rtx): Use ggc_test_and_set_mark.
15366         (ggc_mark_tree): Likewise.
15367         (ggc_mark_rtvec): Likewise.
15368         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
15370 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
15372         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
15373         containing types.
15374         (decl_scope_table): Just an array of trees now.
15375         (push_decl_scope): Simplify.
15376         (dwarf2out_init): Adjust.
15377         (local_scope_p): New fn.
15378         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
15379         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
15380         (gen_typedef_die): Likewise.
15381         (gen_lexical_block_die): Don't call push/pop_decl_scope.
15382         (gen_inlined_subroutine_die): Likewise.
15383         (gen_abstract_function): Set current_function_decl temporarily.
15384         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
15385         Handle block extern declarations.  Don't call push/pop_decl_scope.
15386         (gen_decl_die): Fix logic for block externs.
15388 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15390         * calls.c (special_function_p): Remove `realloc' and add `strdup'
15391         to the list of functions which have attribute malloc by default.
15393 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15395         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
15396         integer constant does not match the traditional type, limit the
15397         warnings to cases where the base of the type is ten.
15399         * invoke.texi (-Wtraditional): Document it.
15401 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15403         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
15404         * rs6000.md: Only access a CONST_INT with INTVAL
15406 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
15408         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
15409         (compute_nearerout): Likewise.
15410         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
15411         size_t to unsigned long for formatting.
15413 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
15415         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
15416         Allow the user to override call-used/fixed state of %g2-5
15417         registers from the command line (with the exception of %g4 for
15418         embedded model).
15419         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
15420         there is a higher chance of having a leaf function.
15421         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
15422         for ARCH64 which has %ccr register.
15423         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
15424         patterns.
15425         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
15426         insn accept into delay slot any insn which does not use %[ol]
15427         registers.  Accept some LO_SUM and shift left by 1 for the normal
15428         restore case.
15429         (output_function_epilogue): Likewise.
15430         (epilogue_renumber): Added argument which inhibits any renumbering
15431         and just tests if the rtx does not use any %[ol] registers.
15432         (output_return): Reflect above change.
15434 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
15436         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
15437         aggregate passing for sizes <= 16 bytes.
15439 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
15441         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
15442         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
15443         * reload.c (find_dummy_reload): Likewise.
15444         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
15445         * reload1.c (reload_as_needed): Likewise.
15446         * stupid.c (stupid_find_reg): Likewise.
15447         * tm.texi (Obsolete Register Macros): Delete section.
15448         * gmicro.h: Remove all traces of the two macros.
15449         * i386.h: Likewise.
15450         * m88k.h: Likewise.
15451         * mips.h: Likewise.
15453 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
15455         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
15456         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
15457         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
15458         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
15459         units for the sparclite86x chip.
15460         (flush): Revert October 14th change; add SImode specifically.
15461         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
15462         * invoke.texi: Document it.
15464 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
15466         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
15467         psimode_truncation_operand.
15469         * config/mn10200/mn10200.c (psimode_truncation_operand): New
15470         function.  Return true if the operand is either a MEM valid
15471         for a PSImode address or not a MEM at all.
15473         * config/mn10200/mn10200.md (truncsipsi2): Use
15474         psimode_truncation_operand.
15476 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15478         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
15479         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
15480         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
15481         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
15482         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
15483         (flow_loop_level_compute, low_loops_level_compute): Likewise.
15484         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
15485         * basic-block.h: Protect from multiple inclusion.
15486         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
15487         (struct loops, struct loop): Define structures.
15488         * sbitmap.c (sbitmap_a_subset_b_p): New function.
15489         * sbitmap.h: Protect from multiple inclusion.
15490         (sbitmap_a_subset_b_p): Add prototype.
15491         * Makefile.in (LOOP_H): New macro.
15492         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
15494 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
15496         * cppinit.c (CAT): The argument list of this macro may not contain
15497         spaces !
15499 1999-11-29  David S. Miller  <davem@redhat.com>
15501         Move quantity tables and register equivalence chains into
15502         per-qty and per-register structure arrays respectively.
15503         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
15504         qty_const_insn, qty_comparison_code, qty_comparison_const,
15505         qty_comparison_qty): Delete, replace with...
15506         (qty_table): this structure table.
15507         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
15508         (reg_eqv_table): this structure table.
15509         (make_new_qty): Add argument MODE.  Caller updated.
15510         Update to use qty_table and reg_eqv_table.
15511         (make_regs_eqv, delete_reg_equiv, insert_regs,
15512         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
15513         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
15514         cse_process_notes, cse_main, cse_basic_block): Likewise.
15516 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15518         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
15519         operation if C is negative.
15520         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
15521         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
15522         law for some divisions if constant is negative and change other
15523         divisions to the opposite rounding.
15525         * expr.c (store_constructor_field): If bit position is not multiple
15526         of alignment of TARGET's mode, use BLKmode.
15528         * expr.c (expand_expr_unaligned): Add more code from full case
15529         that is needed when OP0 is in a register.
15531 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15533         * dwarfout.c (field_byte_offset): Size can be zero if there was
15534         an error.
15536 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15538         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
15539         (associate_trees): Delete unused var TEM.
15540         (extract_muldiv): Delete unused var CANCEL_P.
15542         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
15543         (target_isinf, target_isnan, target_negative): Add return types to
15544         function definitions.
15546 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
15548         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
15549         * fixinc/hackshell.tpl: ditto
15550         * fixinc/fixtests.c(double_slash_test): more C++ header testing
15551         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
15553 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15555         * reload.c (push_reload): When looking for a register to put into
15556         reg_rtx, make sure all hard regs in a multi-reg register are in the
15557         right class and nonfixed.
15559         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
15560         pending_read_insns, pending_write_insns, pending_read_mems,
15561         pending_write_mems, pending_list_length, last_pending_memory_flush,
15562         last_function_call, sched_before_next_call): Move static variables
15563         into a structure.
15564         (bb_ prefixed versions): Replace with single array bb_deps.
15565         (struct deps): New structure.
15566         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
15567         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
15568         argument of type "struct deps *"; use that instead of global
15569         variables.  All callers changed.
15570         (init_rgn_data_dependencies): Delete function.
15571         (init_rtx_vector): Delete function.
15572         (init_deps): New function.
15574         (free_pending_lists): Simplify, we always use the bb_deps array even
15575         if only one basic block.
15576         (compute_block_backward_dependences): Likewise.
15577         (schedule_region): Likewise.
15579         (propagate_deps): New function, broken out of
15580         compute_block_backward_dependences.
15581         (compute_block_backward_dependences): Use it.
15583         * alpha.md: Delete useless patterns that tried to work around
15584         register elimination problems.
15586         * unroll.c (loop_iterations): Don't abort if iteration variable
15587         was made by loop.
15589         From Joern Rennecke:
15590         * reload1.c (reloads_conflict): Reverse test comparing operand
15591         numbers when testing for conflict between output/outaddr reloads.
15593 1999-11-29  David S. Miller  <davem@redhat.com>
15595         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
15596         arg.
15597         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
15599 1999-11-28  Robert Lipe  <robertl@cygnus.com>
15601         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
15602         table from .fini into .dtor.
15604 1999-11-28  Anthony Green  <green@cygnus.com>
15606         * tree.h (struct tree_decl): Add malloc_flag.
15607         (DECL_IS_MALLOC): Define.
15608         * c-common.c (attrs): Add A_MALLOC attribute.
15609         (init_attributes): Add this attribute to the table.
15610         (decl_attributes): Handle malloc attribute.
15611         * calls.c (special_function_p): Check for the malloc attribute.
15612         * extend.texi (Function Attributes): Document malloc attribute.
15614 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
15616         * pa.md (reload shift-add patterns): Remove.
15618 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15620         * reorg.c (dbr_schedule) Print more statistics. Corrected
15621         problem when printing info when 3 delay slots are filled.
15623 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
15625         * combine.c (setup_incoming_promotions): Pass an outgoing
15626         regno to FUNCTION_ARG_REGNO_P which it expects.
15628 1999-11-28  Andreas Jaeger  <aj@suse.de>
15630         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
15632 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
15634         * cccp.c (do_include): Avoid initialization of automatic variable.
15636         * integrate.c (mark_stores): Function definition made void, to match
15637         previous declaration.
15638         * regclass.c (dump_regclass): Ditto.
15639         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
15641 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15643         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
15644         known to be multiple of divisor.
15646         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
15648         * combine.c (try_combine): Add code to try to merge a set of a
15649         two-word pseudo to a constant with a setting of one of those words
15650         to a constant.
15652         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
15653         (split_tree): Completely rework to make more general.
15654         (make_range, fold): Call negate_expr.
15655         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
15656         (fold, associate): Call new split_tree and associate_trees.
15657         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
15659 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
15661         * loop.c (try_copy_prop): Avoid GNU C extension.
15663 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15665         * except.c (init_eh_for_function): Still zero eh_return_context,
15666         eh_return_stack_adjust, and eh_return_handler.
15668         * except.h (eh_status): Adjust documentation for x_protect_list.
15669         (begin_protect_partials): New function.
15670         * except.c (enqueue_eh_entry): Fix formatting.
15671         (get_first_handler): Add consistency check.
15672         (add_partial_entry): Adjust usage of protect_list.
15673         (emit_cleanup_handler): Save and restore ehqueue.
15674         (expand_start_all_catch): Add comment.
15675         (begin_protect_partials): New function.
15676         (end_protect_partials): Adjust usage of protect_list.
15677         (init_eh_for_function): Use xcalloc.
15679 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15681         * c-common.c (check_format_info): Don't call a variadic function
15682         with a non-literal format string.
15684         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
15686         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
15687         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
15688         Likewise.
15690         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
15691         Likewise.
15693         * collect2.c (collect_wait): Likewise.
15695         * dbxout.c (dbxout_type): Likewise.
15697         * gcc.c (do_spec_1): Likewise.
15699         * genemit.c (gen_insn, gen_expand): Likewise.
15701         * genrecog.c (write_switch, write_subroutine): Likewise.
15703         * mips-tfile.c (catch_signal, botch): Likewise.
15705         * print-rtl.c (print_rtx): Likewise.
15707         * toplev.c (default_print_error_function, report_error_function,
15708         _fatal_insn): Likewise.
15710 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15712         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
15714 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15716         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
15717         operations when needed.
15718         * i386.md (fop_?f_comm): New.
15719         (fop_?f_1): Do not accept commutative operands.
15721 1999-11-25  Andreas Jaeger  <aj@suse.de>
15723         * config/mips/mips.md (casesi_internal): Add missing brace.
15725 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
15727         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
15728         (splice_child_die): Handle moving a child DIE from the declaration
15729         DIE of a class to its specification.
15730         (gen_struct_or_union_type_die): Use 'complete' consistently.
15731         (gen_decl_die): Generate the virtual context DIE first.
15732         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
15734 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
15736         * config/mips/mips.md (call_value_multiple_interanal1): New.
15738 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
15740         * dwarf2out.c (free_AT, free_die): New fns.
15741         (remove_children): Call them.
15742         (output_line_info): Disable removal of duplicate notes.
15744         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
15745         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
15746         means pretend the type isn't defined.
15747         Don't defer emitting types.
15748         (gen_type_die_for_member): New fn.
15749         (gen_decl_die): Call it.
15750         (splice_child_die): New fn.
15751         (gen_member_die): Call it rather than generate duplicate dies.
15753         Defer emitting information for the abstract instance of an inline
15754         until we either inline it or emit an out-of-line copy.
15755         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
15756         from output_inline_function if DECL_ABSTRACT is also set.
15757         (block_ultimate_origin): Likewise.
15758         (gen_abstract_function): New fn.
15759         (gen_decl_die, gen_inlined_subroutine_die): Call it.
15760         (gen_subprogram_die):  An abstract instance is not a declaration
15761         just because it doesn't match current_function_decl.  Don't abort
15762         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
15763         has an abstract origin.
15764         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
15765         abstract instance here.
15767 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
15769         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
15770         where we need to reload fpul from a system register.
15772 1999-11-24  Andreas Jaeger  <aj@suse.de>
15774         * config/mips/linux.h (CPP_PREDEFINES): Added.
15775         (LINK_SPEC): Remove -Y since this is only needed on sparc.
15777 1999-11-24  Andreas Jaeger  <aj@suse.de>
15779         * config/mips/linux.h (TARGET_VERSION): Added.
15780         (HANDLE_SYSV_PRAGMA): Added.
15781         (DEFAULT_VTABLE_THUNKS): Added.
15783 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15785         * local-alloc.c (qty): New structure and static variable.
15786         (qty_phys_reg): Remove, all references changed to qty.
15787         (qty_n_refs): Likewise.
15788         (qty_min_class): Likewise.
15789         (qty_birth): Likewise.
15790         (qty_death): Likewise.
15791         (qty_size): Likewise.
15792         (qty_mode): Likewise.
15793         (qty_n_calls_crossed): Likewise.
15794         (qty_alternate_class): Likewise.
15795         (qty_changes_size): Likewise.
15796         (qty_first_reg): Likewise.
15797         (alloc_qty): Rename variable QTY to QTYNO.
15798         (finf_free_reg): Likewise.
15799         (local_alloc): Allocate qty, do not allocate the removed variables.
15801 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
15803         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
15804         when -membedded-pic is passed.
15806         * config/mips/mips.md (casesi): Handle 64-bit case too.
15807         (casesi_internal_di): New insn.
15809         * config/mips/mips.c (embedded_pic_offset): Always make the
15810         embedded-pic subtractions relative to the name of the current
15811         function by use of the magic string "..CURRENT_FUNCTION".
15812         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
15814 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
15816         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
15817         of (const_int 0), when what we really care about is
15818         whether it's a zero constant anyway.
15819         (div_trap_mips16): Likewise.
15821 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
15823         * loop.c (loop_optimize): Always find_loop_tree_blocks and
15824         unroll_block_trees when generating debuggable code.
15826         * tree.h (unsave_expr_1): New function.
15827         (lang_unsave): New variable.
15828         (get_callee_fndecl): New function.
15829         * tree.c (unsave_expr_now_r): New function.
15830         (lang_unsave): Define.
15831         (unsave_expr_1): Likewise.
15832         (unsave_expr_now_r): Split out from unsave_expr_now.
15833         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
15834         call unsave_expr_now_r.
15835         (get_callee_fndecl): Define.
15837         * Makefile.in (gencheck): Don't depend on lang_tree_files.
15838         (gencheck.o): Do depend on lang_tree_files.
15840         * integrate.h (copy_decl_for_inlining): New declaration.
15841         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
15842         (copy_decl_for_inlining): New function.
15843         (integrate_parm_decls): Use it.
15844         (integrate_decl_tree): Likewise.
15846 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
15848         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
15849         the second two from the first.
15850         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
15851         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
15852         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15853         ISA_HAS_FP4.
15854         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
15855         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15856         ISA_HAS_FP4.
15858 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
15860         * pa.md (call_internal_symref, call_value_internal_symref): No mode
15861         needed on the address operand.
15862         * pa.c (call_operand_address): Check for the correct mode.
15864 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
15866         * loop.c: Include "basic-block.h".
15867         (try_copy_prop, replace_loop_reg): New functions.
15868         (load_mems): Detect registers that just hold copies of the hoisted
15869         mem, and call try_copy_prop to eliminate them.
15870         * Makefile.in (loop.o): Update dependencies.
15872 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
15874         * Makefile.in (gencheck.o): Depend on gencheck.h.
15875         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
15876         (insn-peep.o): Depend on except.h and function.h.
15877         (insn-attrtab.o): Depend on RECOG_H.
15878         (insn-output.o): Depend on toplev.h and flags.h.
15879         (gengenrtl.o): Depend on real.h.
15880         (gen-protos.o): Depend on cpplib.h and cpphash.h.
15881         Unify all dependencies to be on RECOG_H rather than recog.h.
15883 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15885         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
15886         * configure.in: Try building a bi-arch 32/64-bit compiler on
15887         sparc-*-solaris2.7 and higher.
15888         * configure: Rebuild.
15890 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
15892         * config/freebsd.h: New, FreeBSD architecture independent file.
15893         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
15894         independent pieces.
15895         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
15896         directly by i386/freebsd.h.
15897         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
15898         independent configuration file.
15899         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
15900         directly by i386/freebsd.h.
15901         * configure: Rebuilt.
15903         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
15904         which is in the user's namespace.
15905         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
15906         `i386' which is not in our namespace.
15908 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
15910         * invoke.texi (ARM Options): Add in -mno-alignment-traps
15912 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15914         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
15915         (add_dwarf_attr, add_child_die): Just push onto the front.
15916         (reverse_die_lists): New fn.
15917         (add_sibling_attributes): Use it.
15918         (push_decl_scope): Reorganize.
15919         (add_name_and_src_coords_attributes): Don't set file and line for
15920         an artificial decl.
15921         (gen_subprogram_die): An artificial function doesn't need to match
15922         file and line.
15923         (gen_compile_unit_die): Return the generated die.  Only add
15924         AT_comp_dir if the filename is relative.
15925         (remove_AT): Simplify loop.  Also free string values.
15926         (output_die): A DIE ref can't be null.
15927         (output_value_format, value_format): Take a dw_attr_ref.
15928         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
15929         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
15930         AT_addr, AT_lbl): New fns.
15931         (various): Use them.
15932         (various): Constify.
15934 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15936         * combine.c (combine_simplify_rtx): When handling a SUBREG,
15937         take SUBREG_WORD into account.
15938         (if_then_else_cond): Likewise.
15940 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15942         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
15943         clause from BSD license, pursuant with
15945           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
15947 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
15949         * loop.c (load_mems): Reformat slightly.
15950         * basic-block.h (regset_head): New typedef.
15951         (INIT_REG_SET): New macro.
15953 1999-11-22  Bruce Korb  <autogen@linuxbox.com
15955         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
15956         (mips-dec-bsd*): non-functional code
15957         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
15959         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
15960         added three replacement fixes
15961         (no_double_slash): removed comments that are not (any longer) pertinent
15962         (bad_lval): this fix currently runs against many files.
15963         The comment seems to indicate that we should select for files
15964         containing 'pragma extern_prefix'.
15966         * fixinc/fixinc.x86-linux-gnu: deleted
15967         * fixinc/inclhack.sh:  regen
15968         * fixinc/fixincl.x:  regen
15969         * fixinc/fixincl.sh:  regen
15971 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
15973         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
15974         its code is INSN and it has no notes.
15976 1999-11-22  Andrew Haley  <aph@cygnus.com>
15978         * varasm.c (function_defined): Remove.
15979         (make_function_rtl): Don't set function_defined.
15980         (make_decl_rtl): Remove global register warning.
15981         * regclass.c (no_global_reg_vars): New variable.
15982         (globalize_reg): Warn if function has already been defined.
15983         (regclass_init): Set no_global_reg_vars.
15985 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15987         * regclass.c (reg_pref): New structure and static variable
15988         (prefclass): Delete.
15989         (altclass): Delete.
15990         (all uses of prefclass and altclass): Use reg_pref instead.
15992 1999-11-21  Nick Clifton  <nickc@cygnus.com>
15994         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
15995         -malignment-traps.
15996         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
15997         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15998         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
16000 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
16002         * varasm.c (output_constructor): Solve problem with long long
16003         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
16005 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16007         * global.c (allocno): New structure and static variable.
16008         (allocno_reg): Remove, all references replaced by allocno.
16009         (allocno_size): Likewise.
16010         (hard_reg_conflicts): Likewise.
16011         (hard_reg_preferences): Likewise.
16012         (hard_reg_copy_preferences): Likewise.
16013         (hard_reg_full_preferences): Likewise.
16014         (regs_someone_prefers): Likewise.
16015         (allocno_calls_crossed): Likewise.
16016         (allocno_n_refs): Likewise.
16017         (allocno_live_length): Likewise.
16018         (find_reg): Rename ALLOCNO to NUM.
16020         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
16021         references updated.
16022         (may_move_out_cost): New variable.
16023         (init_reg_sets_1): Initialize may_move_out_cost.
16024         (record_reg_classes): Use may_move_out_cost.
16026         * regclass.c (dump_regclass): New function.
16027         (regclass): New parameter DUMP, call DUMP_REGCLASS.
16028         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
16029         pass rtl_dump_file to regclass.
16030         * rtl.h (regclass): Update prototype.
16032 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16034         * i386.md (neg, not and abs patterns): Revmap to use
16035         ix86_expand_unary_operator and ix86_unary_operator_ok.
16036         (add?f and sub?f expanders): Force operand 1 to register.
16037         * i386.c (ix86_expand_unary_operator): Rewrite.
16038         (ix86_unary_operator_ok): Ensure that memory operands
16039         match real opcode.
16040         (ix86_binary_operator_ok): Do not allow operand 1 to
16041         come into memory and operand 0 not.
16042         (ix86_expand_binary_operator): Ensure that
16043         src1 is not non-matching memory.
16045         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
16046         to support integer registers and memory.
16047         (abss?2_integer): Likewise.
16049         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
16050         (REG_CLASS_NAMES): Likewise.
16051         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
16052         and GENERAL_REGS.
16053         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
16054         (movsf): Likewise; unify 4th and 5th alternative.
16055         (pushdf): Likewise.
16056         (movdf_1): Likewise; rename to movdf_integer.
16057         (pushxf): Likewise; rename to pushxf_integer; fix output template;
16058         remove redundant splitter.
16059         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
16060         (movdf_nointeger): New.
16061         (movxf_nointeger): New.
16062         (pushxf_nointeger): New.
16064         * i386.md (extend?f?f): Split to expander and pattern, refuse two
16065         memory operands in patterns.
16066         (fop*): Refuse two memory operands.
16068         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
16069         on !TARGET_USE_CLTD CPUs.
16071 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
16073         * extend.texi: Document C++ restricted pointers and references.
16075 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
16077         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
16078         (invalidate_skipped_set): Call it unconditionally.
16079         (cse_set_around_loop): Likewise.
16081 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
16083         * rtl.texi (mem): Add documentation for alias-set argument
16084         to RTX `mem'.
16086 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16088         * i386.h (struct_processor_costs): New fields int_load, int_store,
16089         fp_move, fp_load and fp_store
16090         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
16091         fp->int moves
16092         (MEMORY_MOVE_COST): New macro.
16093         * i386.c (386_cost): Define new fields.
16094         (i486_cost): Likewise.
16095         (pentium_cost): Likewise.
16096         (pentiumpro_cost): Likewise.
16097         (k6_cost): Likewise.
16099 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
16100                           Geoffrey Keating  <geoffk@cygnus.com>
16102         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
16104         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
16105         MASK_ALIGN_INT.
16107         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
16108         (TARGET_STRICT_ALIGNMENT): New macro.
16109         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
16110         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
16111         * invoke.texi (M680x0 Options): Document -mstrict-align.
16113 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
16114                           Richard Henderson  <rth@cygnus.com>
16116         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
16117         (ix86_split_long_move): Declare.
16118         * i386.c (split_xf, ix86_split_movdi): Remove.
16119         (ix86_split_to_parts, ix86_split_long_move): New.
16120         * i386.md (dimode move splitters): Use ix86_split_long_move.
16121         (dfmode move splitters): Likewise.
16122         (xfmode move splitters): Likewise.
16123         (movsf_1): Allow F->r.
16124         (movdf_1, movxf_1): Allow F->ro.
16126 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
16128         * except.h (struct eh_entry): Add goto_entry_p.
16129         (eh_region_from_symbol): Remove prototype.
16130         * except.c (find_func_region_from_symbol): New function.
16131         (emit_cleanup_handler): Likewise.
16132         (eh_region_from_symbol): Make it static.
16133         (add_new_handler): Verify the argument.
16134         (find_func_region): Update comment.
16135         (expand_eh_region_end): Expand handlers here, rater than waiting
16136         until expand_leftover_cleanups or start_all_catch.
16137         (expand_leftover_cleanups): Don't expand here.
16138         (expand_start_all_catch): Or here.
16139         (expand_rethrow): Check the return value from find_func_region.
16140         * function.c (expand_function_end): Emit the catch_clauses.
16142 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
16144         * integrate.c (expand_inline_function): Add necessary check for NULL.
16146 1999-11-18  Nick Clifton  <nickc@cygnus.com>
16148         * toplev.c (main): Correctly detect an unrecognised option.
16150         * cppinit.c (cpp_handle_option): Do not claim to have consumed
16151         a -f option if it has not been recognised.
16153 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
16155         * basic-block.h (update_life_extent): Remove trailing comma on
16156         enumeration type list.
16158 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16160         * varasm.c (output_constructor) Solved problem with long long
16161         bitfields. Corrected calculating this_time and shift. Also
16162         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
16164 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
16166         * flow.c (split_edge): Take looping structure into account when
16167         determining where to put the new block note.
16169 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
16171         * Makefile.in (ggc-none.o): Provide host specific version if
16172         needed.
16174 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
16176         * cse.c (delete_trivially_dead_insns): Identify no-op insns
16177         containing subregs too.
16179 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
16181         * invoke.texi: Add documentation for -muninit-const-in-rodata.
16182         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
16183         (TARGET_UNINIT_CONST_IN_RODATA): Define.
16184         (text_section): Add switches -munint-const-in-rodata and
16185         -mno-uninit-const-in-rodata.
16186         (ASM_OUTPUT_COMMON): Remove.
16187         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
16188         const objects should be placed in read-only data. Otherwise declare
16189         them in common.
16191 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
16193         * jump.c (jump_optimize_1): Revert last change.
16195 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
16197         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
16198         test if optimizing for size.
16200 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
16202         * Makefile.in (toplev.o): Depend on except.h.
16203         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
16205 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16207         * i386.md (divmodsi4): Rewrite to expander.
16208         (*divmodsi4_nocltd): New.
16209         (*divmodsi4_cltd): New.
16210         (divmodsi4 splitter): Handle the case when input comes in edx.
16211         (udivmodhi4): Do not use constraints in exander.
16212         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
16214 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
16216         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
16217         for the common case.
16219 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
16221         * explow.c (hard_function_value): Add outgoing argument.
16222         * expr.h (hard_function_value): Declare it.
16223         * calls.c (expand_call, emit_library_call_value): Update callers.
16224         * function.c (aggregate_value_p): Ditto.
16225         (diddle_return_value): Must look at the outgoing registers
16226         on archs with register windows.
16228 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
16230         * alpha.c (alpha_build_va_list): Use make_lang_type and
16231         initialize TYPE_NAME for the va_list record.
16233         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
16235         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
16236         for printing.
16237         * ggc.h (struct ggc_statistics): Rearrange elements for better
16238         packing on 64-bit hosts.
16239         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
16240         (compute_nearerout): Likewise.
16242 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
16244         * config/rs6000/rs6000.c (first_reg_to_save): Save
16245         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
16247 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
16249         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
16250         notion of nesting to find the DIE for a type or function.
16251         DIEs can go in limbo even if we got a context_die.
16252         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
16253         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
16254         for local type.
16255         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
16256         (gen_type_die): Writing out the context doesn't cause member class
16257         template instantiations to be written out as well.
16259 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
16261         * rs6000.h (ASM_OUTPUT_DEF): New.
16262         Based on proposed addition from David Edelsohn.
16264 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
16265             Bruce Korb  <autogen@linuxbox.com>
16267         * fixinc/inclhack.def
16268         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
16269         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
16270                 in net/inet.h.
16271         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
16272         (svr4_endian): enabled with SVR5
16273         (svr4_mkdev): simplified syntax and enabled with SVR5
16275 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
16277         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
16278         * configure: Rebuilt.
16279         * config/t-freebsd-thread: New file.
16281 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
16283         * i386.c (ix86_decompose_address): Verify the base is a REG
16284         before trying to examine its register number.
16286         * basic-block.h: Remove all #defines and prototypes related to
16287         integer lists.
16288         (free_bb_mem, compute_preds_succs): Remove prototype.
16289         * rtl.h (free_bb_mem): Remove prototype.
16290         * flow.c (alloc_int_list_node); Remove function.
16291         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
16292         (compute_preds_succs, free_bb_mem): Likewise.
16293         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
16294         * toplev.c (rest_of_compilation): Likewise.
16295         * haifa-sched.c (build_control_flow): Use flow generated edge
16296         list to build the haifa specific edge list.
16297         (find_rgns): Use new CFG data structures instead of pred/succ lists.
16298         (schedule_insns): Do not build pred/succ lists anymore.  Instead
16299         build the edge table.
16301         * basic-block.h (dump_bb_data): Remove declaration.
16302         * flow.c (dump_bb_data): Remove function.
16303         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
16304         (sbitmap_union_of_predsucc): Likewise.
16306         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
16307         argument.  All callers changed.
16308         (delete_null_pointer_checks_1): No longer need to compute the
16309         pred/succ lists.
16311         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
16312         All callers changed.
16313         (pre_expr_reaches_here_p_work): Likewise.
16314         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
16315         * lcm.c (compute_laterin): Fix initialization of LATER.
16316         (compute_nearerout): Similarly for NEARER.
16318 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16320         * cse.c (set_nonvarying_address_components): Delete unused function.
16321         (refers_to_p): Likewise.
16323 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
16325         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
16326         needed.
16328 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16330         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
16331         definition in do while (0).
16333 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
16335         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
16337 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
16339         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
16341 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
16343         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
16344         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
16345         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
16346         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
16348         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
16349         saved on the stack.  Output more accurate stack frame statistics
16350         into assembler file.
16352 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
16354         * genextract.c (record_insn_name): New function.
16355         (get_insn_name): No longer a stub.
16356         (main): Call record_insn_name for each insn.  After each label
16357         written, print the insn name in a comment.
16359 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16361         * output.h (const_section, init_section, fini_section): Add
16362         prototypes.
16364         * alpha/elf.h (const_section): Delete declaration.
16366         * svr4.h (const_section): Likewise.
16368 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
16370         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
16371         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
16372         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
16373         expressions.
16374         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
16375         variable-sized array bounds.
16377 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
16379         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
16380         ASM_OUTPUT_LABEL.
16382 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16384         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
16385         addresses the same way GO_IF_LEGITIMATE_INDEX does.
16387 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16389         * cse.c (hash_arg_in_struct): Delete.
16390         (struct table_elt): Delete elt in_struct.
16391         (struct set): Delete elt src_in_struct.
16392         (merge_equiv_classes): Don't set either hash_arg_in_struct or
16393         the corresponding in_struct elts.
16394         (canon_hash): Likewise.
16395         (safe_hash): Likewise.
16396         (find_best_addr): Likewise.
16397         (record_jump_cond): Likewise.
16398         (cse_insn): Likewise.
16400 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
16402         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
16404         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
16405         unsigned types.
16407 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
16409         * function.c (diddle_return_value): Put back check that the DECL_RTL
16410         for the function is a register.
16412         * function.c (diddle_return_value): Use hard_function_value to
16413         get an rtx suitable for use in the USE/CLOBBER insn.
16415         * global.c (global_conflicts): Update comments.
16416         (record_conflicts): No need to record conflicts between pseudos here.
16418 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
16420         * fixinc/fixincl.c: Added verbose levels for status messages
16422 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16424         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
16425         operand as argument to expand_and or expand_binop.
16427 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
16429         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
16430         gcc_add_string_root.
16432 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
16434         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
16436 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
16438         * flow.c (compute_flow_dominators): Initially put all blocks on
16439         the worklist.
16440         * lcm.c (compute_antinout_edge, compute_available): Similarly.
16441         * gcse.c (compute_cprop_avinout): Remove.
16442         (compute_cprop_data): Use compute_available.
16443         (delete_null_pointer_checks_1): Use compute_available.
16445         * basic-block.h (compute_available): Returns a void now.
16446         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
16447         to return a value anymore.
16448         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
16449         worklists.  Fix boundary cases. Compute maximal solutions.
16450         (compute_laterin, compute_nearerout): Similarly.
16452         * dwarf2out.c (add_AT_location_description): Allow
16453         (mem (plus (pseudo) (...)) too.
16455 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
16457         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
16459 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
16460                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16462         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
16464         * gansidecl.h: Likewise.
16466         * rtl.c: Likewise.
16468         * rtl.h: Likewise.
16470         * toplev.h: Likewise.
16472         * tree.c: Likewise.
16474         * tree.h: Likewise.
16476         * varray.c: Likewise.
16478         * varray.h: Likewise.
16480 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
16482         * gcov.c (struct arcdata): Add hits and total, remove prob.
16483         (output_branch_counts): New.
16484         (process_args): Set output_branch_counts if -c.
16485         (calculate_branch_probs): Store hits and total instead of
16486         percentage.
16487         (output_data): Emit counts if output_branch_counts is true.
16488         * gcov.texi (Invoking Gcov): Document -c switch..
16490 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
16492         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
16493         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
16495 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
16497         * invoke.texi (C Dialect Options): Add missing builtins from
16498         c-common.c to list.
16499         * extend.texi (Other Builtins): Copy to this list.
16501 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16503         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
16504         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
16505         redundant bitmap.h.
16507 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
16509         * flow.c (compute_flow_dominators): No longer treat basic block 0
16510         or (n_basic_blocks - 1) specially.  Clear the AUX field before
16511         starting computation of doms/pdoms.  Fix initial state for pdoms.
16513 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16515         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
16516         match rtl.o's: added ggc.h and toplev.h
16517         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
16518         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
16519         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
16521 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
16523         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
16524         from HAVE_DOS_BASED_FILESYSTEM.
16525         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
16526         HAVE_DOS_BASED_FILESYSTEM.
16527         (main): Likewise.
16528         (split_directories): Only special-case DOS file names if
16529         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
16530         instead of explicit tests.  Conditionalize on !VMS.
16531         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
16532         tests.  Conditionalize on !VMS.
16533         (process_command): Only use make_relative_prefix if !VMS.
16534         (free_split_directories): Conditionalize on !VMS.
16535         (DIR_UP): Conditionalize on !VMS.
16537 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16539         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
16541 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16543         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
16544         case.
16546 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
16548         * invoke.texi (Environment Variables): Document relative path
16549         lookup.
16550         * gcc.c (DIR_UP): If not defined, define as "..".
16551         (standard_bindir_prefix): New static, holds target location to
16552         install binaries.
16553         (split_directories): New function to split a filename into
16554         component directories.
16555         (free_split_directories): New function, release memory allocated
16556         by split_directories.
16557         (make_relative_prefix): New function, make a relative pathname if
16558         the compiler is not in the expected location.
16559         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
16560         can figure out an appropriate prefix from argv[0].
16561         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
16562         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
16563         STANDARD_BINDIR_PREFIX.
16565 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16567         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
16568         in c4x.c.
16569         * config/c4x/c4x.h: Moved prototypes to c4x.h.
16570         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
16571         c4x_secondary_memory_needed) Delete.
16572         (fp_zero_operand): Add mode argument.
16574 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
16576         * reload1.c (reload_reg_free_for_value_p): Don't use a register
16577         that is in reload_reg_used.
16579 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
16581         * config/arm/arm-protos.h: New file: Prototypes for functions
16582         defined in arm.c and pe.c.
16583         * config/arm/arm.h: Fix compile time warnings.
16584         * config/arm/arm.c: Fix compile time warnings.
16585         * config/arm/pe.h: Fix compile time warnings.
16586         * config/arm/aout.h: Fix compile time warnings.
16588 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
16590         * config/m32r/m32r-protos.h: New file: Prototypes for functions
16591         defined in m32r.c
16593         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
16594         Add support for subtargets.
16595         Add prototypes for new predicates.
16596         Add scheduling macros.
16598         * config/m32r/m32r.c: Fix compile time warnings.
16599         (int8_operand): New predicate function.
16600         (reg_or_cmp_int16_operand): New predicate function.
16601         (extend_operand): New predicate function.
16602         (m32r_adjust_code): New scheduling function.
16603         (m32r_adjust_priorty): New scheduling function.
16604         (m32r_sched_init): New scheduling function.
16605         (m32r_sched_reorder): New scheduling function.
16606         (m32r_sched_variable_issue): New scheduling function.
16607         (direct_return): New codegen function.
16608         (m32r_not_same_reg): New rtl testsing function.
16610         * config/m32r/m32r.md: Fix compile time warnings.
16611         Add support for pre decrement and post increment memory
16612         references.
16613         Add S<cc> patterns.
16614         Add fabs patterns.
16616 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16618         * global.c (EXECUTE_IF_CONFLICT): Don't define.
16619         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
16620         (find_reg): Likewise.
16622 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
16624         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
16625         to avoid assembler errors.
16627 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
16629         * config/v850/v850-protos.h: New file: Prototypes for functions
16630         defined in v850.c
16631         * config/v850/v850.h: Move prototypes to v850-protos.h
16632         * config/v850/v850.c: Move prototypes to v850-protos.h
16633         * config/v850/v850.md: Fix compile time warnings.
16635         * config/fr30/fr30-protos.h: New file: Prototypes for functions
16636         defined in fr30.c
16637         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
16638         * config/fr30/fr30.c: Fix compile time warnings.
16639         * config/fr30/fr30.md: Fix compile time warnings.
16641 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
16643         * tree.h (get_containing_scope): Declare it.
16644         * tree.c (get_containing_scope): New fucntion.
16645         (decl_function_context): Use it.
16646         * toplev.c (rest_of_compilation): Use get_containing_scope.
16648 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16650         * Makefile.in (rtl.o): Depend on toplev.h.
16652 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
16654         * cse.c (delete_trivially_dead_insns): Replace alloca with
16655         xmalloc/xcalloc.
16656         * except.c (update_rethrow_references): Likewise.
16657         (init_eh_nesting_info): Likewise.
16658         * function.c (identify_blocks): Likewise.
16659         * gcse.c (dump_hash_table): Likewise.
16660         * graph.c (print_rtl_graph_with_bb): Likewise.
16661         * loop.c (combine_movables): Likewise.
16662         (move_movables): Likewise.
16663         (count_loop_regs_set): Likewise.
16664         (strength_reduce): Likewise.
16665         * profile.c (compute_branch_probabilities): New function, split
16666         out from ...
16667         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
16668         * regclass.c (regclass): Likewise.
16669         * regmove.c (regmove_optimize): Likewise.
16670         * toplev.c (compile_file): Likewise.
16671         (main): Don't mess with the stack rlimit.
16673 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
16675         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
16676         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
16678 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
16680         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
16682 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
16684         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
16685         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
16686         macro expansion.
16688 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
16690         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
16692 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
16694         * gcse.c (post_dominators): Kill.
16695         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
16696         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
16697         pass in a pdom array since we do not need pdoms.
16698         * haifa-sched.c (schedule_insns): Similarly.
16699         * flow.c (compute_dominators): Remove dead function.
16700         (compute_flow_dominators): Do not compute doms or pdoms if the
16701         caller does not request them.  Split up loop to build doms and
16702         pdoms.  Use a worklist to compute doms and pdoms.
16703         * basic-block.h (compute_dominators): Remove prototype.
16705 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
16707         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
16708         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
16709         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
16710         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
16711         (cant_move, fed_by_spec_load, is_load_insn): Remove.
16712         (schedule_region): Remove unused variable.
16713         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
16715 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
16717         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
16718         (update_equiv_regs): Likewise.
16719         (block_alloc): Likewise.
16720         * reg-stack.c (reg_to_stack): Likewise.
16721         (convert_regs_2): Likewise.
16722         * reload1.c (reload_as_needed): Likewise.
16724 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
16726         * Makefile.in (dbxout.o): Depend on ggc.h.
16727         (dwarf2out.o): Likewise.
16728         (xcoffout.o): Likewise.
16729         * dbxout.c: Include ggc.h.
16730         (dbxout_init): Register lastfile as a root.
16731         * dwarf2out.c: Include ggc.h.
16732         (dwarf2out_line): Register lastfile as a root.
16733         * xcoffout.c: Include ggc.h.
16734         (xcoffout_source_line): Register xcoff_lastfile as a root.
16736 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
16738         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
16740 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
16742         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
16743         defined.
16744         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
16746 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16748         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
16749         (EXECUTE_IF_CONFLICT): Likewise.
16750         (ALLOCNO_LIVE_P): Avoid signed division.
16751         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
16752         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
16753         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
16755 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
16757         * haifa-sched.c (schedule_block): Don't crash if there's no
16758         next insn for an interblock movement.
16759         (add_branch_dependences): Don't allow clobber insns to move either.
16761 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
16763         * i386.c (split_xf): New.
16764         * i386-protos.h: Declare it.
16765         * i386.md (movxf_1): Add general regs alternatives.
16766         (movxf_1+1): New splitter for same.
16768 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
16770         * function.c (purge_addressof_1): Add missing return values.
16772 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
16774         * function.c (is_addressof): New function.  Returns true if
16775         the given piece of RTL is an ADDRESSOF.
16776         (purge_addressof_1): Make boolean.  Return false if the
16777         ADDRESSOFs could not be purged.
16778         (purge_addressof): If ADDRESSOFs could not be purged from the
16779         notes attached to an insn, remove the offending note(s),
16780         unless they are attached to a libcall.
16782 1999-11-05  Andreas Jaeger  <aj@suse.de>
16784         * genoutput.c (null_operand =): Initialize all fields.
16786         * errors.h: Add extern to prototypes.
16788 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
16790         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
16791         * configure: Rebuilt.
16793 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16795         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
16796         (mirror_conflicts): New function.
16797         (global_alloc): Call it.
16798         (expand_preferences): Remove redundant CONFLICTP test.
16799         (find_reg, dump_conflicts): Likewise.
16800         (prune_preferences): Process conflicts one word at a time.
16802 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
16804         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
16805         instead of an explicit loop.
16807 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
16809         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
16810         if REG_RETVAL check succeeds, then put classp in src_elt.
16812 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
16814         * function.c (pad_to_arg_alignment): Only update argument_pad
16815         if the argument's alignment is greater than STACK_BOUNDARY.
16817 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
16819         * bitmap.h (BITMAP_XFREE): New.
16820         * flow.c (life_analysis): Use it.
16821         (life_analysis_1): Free blocks.
16823         * combine.c (undo_commit): New.
16824         (try_combine): Use it.  Don't zap undobuf.undos.
16825         (combine_instructions): Don't zap undobuf.undos; free the
16826         undobuf.frees list.
16828         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
16830         * stmt.c (cost_table_): New.
16831         (estimate_case_costs): Use it instead of xmalloc.
16833         * toplev.c (compile_file): Reuse dumpname memory instead
16834         of strdup'ing it.
16836 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
16838         * reg-stack.c (convert_regs_1): Initialize target_stack->top
16839         after verifying an EH edge.
16841         * haifa-sched.c (init_rgn_data_dependences): Correctly
16842         size bb_pending_lists_length when zeroing.
16844 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
16846         * function.c (diddle_return_value): New.
16847         (expand_function_end): Use it.
16848         * stmt.c (expand_null_return): Likewise.
16849         (expand_value_return): Likewise.
16851         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
16853         * reload1.c (reload): Don't remove return value clobbers.
16855 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
16857         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
16859 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
16861         * cse.c (cse_main): Use xmalloc, not alloca.
16862         (cse_basic_block): Likewise.
16863         * local-alloc.c (local_alloc): Likewise.
16865 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
16866                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16868         * rtl.c: Include toplev.h.
16869         (fatal): Remove declaration.
16871 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
16873         * haifa-sched.c (schedule_block): Fix thinko.
16875 1999-11-03  James McKelvey <mckelvey@fafnir.com>
16877         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
16878         S_IR* defined values
16880 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
16882         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
16883         call `malloc' instead.
16885 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
16887         * flags.h (flag_renumber_insns): Declare.
16888         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
16889         renumbering table.
16890         * rtl.h (renumber_insns): Change prototype.
16891         * toplev.c (flag_renumber_insns): Define.
16892         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
16894 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
16896         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
16897         and fpsqrtd.  Use them and create fdiv function unit to more
16898         accurately represent fpu sqrt pipeline semantics on UltraSparc.
16899         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
16901 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
16903         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
16904         3 on UltraSparc.
16905         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
16906         insn into ready list, do not use just a raw swap.
16908 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
16910         * rtl.h (renumber_insns): New function.
16911         (remove_unnecessary_notes): Likewise.
16912         * emit-rtl.c (renumber_insns): Define.
16913         (remove_unncessary_notes): Likewise.
16914         * toplev.c (rest_of_compilation): Remove dead code.
16915         Use renumber_insns and remove_unncessary_notes.
16917         * gcse.c (struct null_pointer_info): New type.
16918         (get_bitmap_width): New function.
16919         (current_block): Remove.
16920         (nonnull_local): Likewise.
16921         (nonnull_killed): Likewise.
16922         (invalidate_nonnull_info): Take a null_pointer_info as input.
16923         (delete_null_pointer_checks_1): New function.
16924         (delete_null_pointer_checks): Use it.
16926         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
16927         (split_edges): Likewise.
16928         (schedule_block): Likewise.
16929         (compute_block_backward_dependencies): Likewise.
16930         (schedule_region): Likewise.
16931         (schedule_insns): Likewise.
16933 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
16935         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
16936         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
16937         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
16938         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
16939         * jump.c (delete_unreferenced_labels): Don't delete if
16940         LABEL_ALTERNATE_NAME is set.
16941         * print-rtl.c (print_rtx): Dump alternate name.
16942         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
16943         * rtl.h (LABEL_ALTERNATE_NAME): Define.
16944         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
16945         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
16947 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16949         * fix-header.c (recognized_extern, recognized_function): Constify
16950         a char*.
16952         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
16953         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16954         (compute_available): Remove unused variable `last'.
16955         (compute_nearerout): Remove unused variable `temp_bitmap'.
16956         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16957         Remove unused variable `x'.
16959         * scan.h (recognized_function, recognized_extern): Constify a
16960         char*.
16962         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
16964 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16966         * varasm.c (decode_rtx_const): Use XSTR to access the string
16967         of a SYMBOL_REF.
16969 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
16971         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
16973 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16975         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
16977 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
16979         * pa.c (ireg_operand): New function.
16980         * pa.h (PREDICATE_CODES): Handle ireg_operand.
16981         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
16982         Fix out of date comment.
16984         * pa.md (negdi2): Turn into expander + anonymous pattern.
16986         * reload.c (find_reloads): Fix typos in recent change.
16988         * dwarf2out.c: Do not include ctype.h.
16990 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16992         * regclass.c (record_reg_classes): Always use may_move_cost when
16993         seeing how operand fits with various register classes.
16995 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
16997         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
16998         * toplev.c: Revert Nov 1 13:22 change.
17000 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
17002         * config/pa/pa.md (height reduction patterns): Add checks for
17003         overlapping operands to avoid semantic-destroying splits for
17004         height reduction patterns.
17006 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17008         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
17009         have been an hyphen, fixed.
17010         * configure: Rebuilt.
17012 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
17014         * config/arm/tpe.h: Add prototypes for exported functions.
17015         * config/arm/pe.c: Fix compile time warnings.
17016         * config/arm/semi.h: Fix compile time warnings.
17017         * config/arm/arm.c: Fix compile time warnings.
17018         * config/arm/arm.h: Fix compile time warnings.
17019         * config/arm/arm.md: Fix compile time warnings.
17020         * config/arm/thumb.c: Fix compile time warnings.
17021         * config/arm/thumb.h: Fix compile time warnings.
17022         * config/arm/thumb.md: Fix compile time warnings.
17024 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
17026         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
17027         detection code
17029         * unroll.c (unroll_loop): Remove LOOP notes when loop is
17030         completely unrolled.
17032 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17034         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
17036 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
17038         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
17039         * rtl.h (rtx_equal_p): Move prototype.
17040         * rtl.c (rtx_equal_function_value_matters): Move from
17041         rtlanal.c
17042         (rtx_equal_p): Likewise.
17043         * rtlanal.c (rtx_equal_function_value_matters): Delete.
17044         (rtx_equal_p): Likewise.
17046 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
17048         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
17049         ! HAS_INIT_SECTION.
17051 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
17053         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
17055         * pa.h (ADDR_VEC_ALIGN): Define.
17057         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
17058         notes when presented with "if (foo) break; end_of_loop" and
17059         the break sequence gets moved out of the loop.
17061         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
17062         Remove explicit zero initializations of entries within MAP.
17064 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
17066         * reg-stack.c (convert_regs_1): Handle EH edges specially.
17068 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
17070         * bitmap.h (BITMAP_XMALLOC): New macro.
17071         * flow.c (CLEAN_ALLOCA): Remove.
17072         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
17073         (life_analysis): Likewise.
17074         (update_life_info): Don't use CLEAN_ALLOCA.
17075         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
17076         (calculate_global_regs_live): Likewise.
17077         (print_rtl_with_bb): Likewise.
17078         (verify_flow_info): Likewise.
17079         * global.c (global_alloc): Likewise.
17080         (global_conflicts): Likewise.
17081         * integrate.c (save_for_inline_nocopy): Likewise.
17082         (expand_inline_function): Likewise.
17083         * jump.c (jump_optimize_1): Likewise.
17084         (duplicate_loop_exit_test): Likewise.
17085         (thread_jumps): Likewise.
17086         * loop.c (loop_optimize): Likewise.
17087         (combine_givs): Likewise.
17088         (recombine_givs): Likewise.
17089         * reorg.c (dbr_schedule): Likewise.
17090         * unroll.c (unroll_loop): Likewise.
17092         * combine.c (combine_instructions): Use xmalloc instead of alloca.
17094 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
17096         * toplev.c (rest_of_compilation): Don't optimize the CFG
17097         when rebuilding, just before dbr.
17099 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17101         * output.h (assemble_end_function, assemble_destructor,
17102         assemble_constructor, assemble_gc_entry, assemble_global,
17103         assemble_label, output_constant_pool) Constify a char*.
17105         * varasm.c (assemble_destructor, assemble_constructor,
17106         assemble_gc_entry, assemble_end_function, assemble_global,
17107         assemble_label, output_constant_pool): Likewise.
17109 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
17111         * config/arm/thumb.c (thumb_expand_prologue): Add comments
17112         explaining what is goin on in this function.
17114 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17116         * regclass.c (record_reg_classes): In matching case, recompute
17117         costs since the direction of movement is different.
17119 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
17121         * resource.c (mark_target_live_regs): For unconditional branches,
17122         the resources found at the branch target should be added to the
17123         resources found so far, not intersected.
17125 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
17127         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
17128         old cpp's.
17129         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
17130         (sys/mman.h): Include this file only if #HAVE_MMAP.
17131         (run_compiles): Initialize `esac_fmt' with one old KR string, not
17132         with automatically concatenated ANSI strings.
17134 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
17136         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
17137         (DIV_ROUND_UP): Robustify.
17138         (ggc_recalculate_in_use_p): New function.
17139         (release_pages): Don't inline it.
17140         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
17141         outer contexts.
17142         (ggc_pop_context): Use ggc_recalculate_in_use_p.
17143         (clear_marks): Always save in_use_p.
17144         (sweep_pages): Use ggc_recalculate_in_use_p.
17145         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
17146         Release pages before counting statistics.
17148 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
17150         * toplev.c (rest_of_compilation): Fix thinko in this change:
17152         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
17154         (rest_of_compilation): If inside an inlined external function,
17155         pretend we are just being declared.
17157 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
17159         * flow.c (calculate_global_regs_live): Fix thinko.
17161         * integrate.c (expand_inline_function): Fix bugs in previous
17162         change from Oct 28, 1999.
17164 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
17166         * stmt.c (expand_value_return): Fix typo in this change:
17168         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17169         (expand_value_return): Correctly convert VAL when promoting function
17170         return; support RETURN_REG being a PARALLEL.
17172 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
17174         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
17176 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17178         * hard-reg-set.h (reg_names): Constify a char*.
17180         * regclass.c  (reg_names): Likewise.
17182         * regs.h (reg_names): Likewise
17184         * a29k/a29k.c (reg_names): Delete declaration.
17186         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
17188         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
17189         arc_output_function_epilogue): Likewise.
17191         * elxsi/elxsi.c (reg_names): Likewise.
17193         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
17195         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
17196         Likewise.
17198         * m88k/m88k.c (output_function_profiler): Likewise.
17200         * sparc/sparc.c (sparc_flat_output_function_prologue,
17201         sparc_flat_output_function_epilogue): Likewise.
17203 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
17205         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
17206         warning from -Wuninitialized and put it under -W.
17207         * function.c (uninitialized_vars_warning): Warn only when the
17208         corresponding flag is set.
17210 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
17212         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
17213         is nonzero and the single set does not have an elt, then assign
17214         it an elt.
17216         * simplify-rtx.c: New file.
17217         * Makefile.in (OBJS): Add simplify-rtx.o
17218         (simplify-rtx.o): Add dependencies.
17219         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
17220         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
17221         (cse_gen_binary, simplify_unary_operation): Delete.
17222         (simplify_binary_operation, simplify_plus_minus): Likewise.
17223         (check_fold_consts, simplify_relation_operation): Likewise.
17224         (simplify_ternary_operation): Likewise.
17225         (delete_trivially_dead_insns): Simplify the contents of the
17226         REG_EQUAL note before trying to substitute it into the source
17227         of the reg-reg copy at the end of a libcall sequence.
17229         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
17230         references/callers changed.
17232         * mn10200.c (mn10200_va_arg): Force the return value into a
17233         register.
17235         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
17237         * cccp.c (macroexpand): Avoid out of range accesses for omitted
17238         arguments.
17240 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
17242         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
17244 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
17246         * fold-const.c (fold): Fix thinko when optimizing comparisons
17247         against -0.0.
17249 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
17251         * gcc.texi (Passes): Update front-end files to their current
17252         location.
17254 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
17256         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
17257         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
17258         (PREDICATE_CODES): Add addition_operation.
17259         * alpha-protos.h (addition_operation): Declare.
17260         (secondary_reload_class): Likewise.
17261         * alpha.c (addition_operation): New.
17262         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
17263         * alpha.md (adddi3): Turn into expander.
17264         (*lda, *adddi_2): New.
17265         (movsf, movdf patterns): Don't preference integer regs.
17266         (movsi, movdi patterns): Don't preference fp regs.
17268 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
17270         * genrecog.c (write_switch): Check for duplicate CODE cases.
17272 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
17274         * ggc-common.c: Update pre-function commentary.
17275         * ggc-page.c: Likewise.
17276         (poison): Remove.
17277         (poison_pages): Use memset directly.
17278         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
17279         (ggc_collect): Poison before sweeping.
17280         * ggc-simple.c: Update pre-function commentary.
17281         (ggc_alloc_obj): Poison non-zeroed memory.
17283 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
17285         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
17286         match format string, even on 64-bit hosts.
17287         * gcc-page.c (ggc_page_print_statistics): Likewise.
17289 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
17291         * config/i386/i386.c (ix86_cpu): Revert last patch.
17292         * config/i386/i386.h (ix86_cpu): Ditto.
17294 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
17296         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
17297         TYPE_SIZE, convert type of result to sizetype.
17299 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
17301         * flow.c (count_or_remove_death_notes): Equate NULL with the
17302         universal set.
17304         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
17305         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
17306         dbr_schedule.
17308         * i386.c (pic_label_no): Delete.
17309         (ix86_attr_length_default): Don't use single_set to peek
17310         inside a parallel.
17312         * recog.c (peephole2_optimize): Allow recog_next_insn to index
17313         the first insn after bb->end.
17314         * i386.md (push mem peeps): Scratch is live after evaluation
17315         of the memory.
17316         (cmp mem peep): Similarly.
17318 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
17320         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
17321         * function.c (pad_to_arg_alignment): Add missing braces.
17323 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17325         * alpha/alpha-protos.h (literal_section): Add prototype.
17326         (alpha_need_linkage, alpha_start_function,alpha_end_function):
17327         Constify a char*.
17329         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
17330         prototype.
17331         (alpha_start_function, alpha_end_function, float_strings,
17332         alpha_need_linkage): Constify a char*
17334         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
17336         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
17338         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
17340         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
17342 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17344         * flow.c (debug_flow_info): Add prototype.
17346         * gcc.c (main): Likewise.
17348         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
17349         Likewise.
17351         * reload1.c (failed_reload, set_reload_reg): Likewise.
17353         * mips-tfile.c (main): Likewise.
17354         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
17355         with ATTRIBUTE_NORETURN.
17357 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
17359         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
17360         DECL is not a memory ref.
17362 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
17364         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
17365         * config/i386/i386.c (ix86_cpu): Add extern attribute.
17367 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
17369         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
17370         * config/mips/elf64.h: ditto.
17372 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
17374         * expr.c (emit_push_insn): New argument alignment_pad.
17375         Update all callers.  Adjust stack pointer based on alignment pad.
17376         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
17377         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
17378         (locate_and_pad_parm): New argument alignment_pad.  Update all
17379         callers.
17380         * expr.h (emit_push_insn): Update prototype.
17381         (locate_and_pad_parm): Update prototype.
17382         * calls.c (arg_data):  Add new field alignment_pad.
17383         (initialize_argument_information): Initialize alignment_pad.
17385 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
17387         * except.c (free_eh_nesting_info): Free the info itself.
17388         * function.c (free_after_compilation): Don't free NULL.
17389         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
17390         (pre_edge_insert): Free inserted.
17391         * stmt.c (free_stmt_status): Don't free NULL.
17393 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
17395         * gcov.c (DIR_SEPARATOR): Provide default.
17396         (output_data): Add test for MS-DOS format absolute filename.
17397         (fancy_abort): Correct program name.
17398         (open_files): Open all files in binary mode.
17399         * libgcc2.c (__bb_exit_func): Likewise.
17401         * profile.c (init_branch_prob): Specify binary when opening files.
17403         * flags.h (flag_unwind_tables): New decl.
17404         * toplev.c (flag_unwind_table): New definition.
17405         (f_options): Add -funwind-tables.
17406         (decode_g_option): Clarify warning when unknown -g option is given.
17407         (rest_of_compilation): If inside an inlined external function,
17408         pretend we are just being declared.
17410         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
17411         (dwarf2out_frame_finish): Likewise.
17413 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
17415         * fold-const.c (merge_ranges): If not in0, but in1, handle
17416         upper bounds equal like subset case.
17418 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
17420         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
17421         passed in a register but moved to the stack.
17423 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
17425         * gcc.c (pass_exit_codes, greatest_status): New variables.
17426         (struct option_map): Add entry for "--pass-exit-codes".
17427         (execute): Update greatest_status if error.
17428         (display_help): Add documentation for -pass-exit-codes.
17429         (process_command): Handle -pass-exit-codes.
17430         (main): Look at pass_exit_codes and greatest_status on call to exit.
17432 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17434         * reload.c (find_reloads): Refine test for no input reload
17435         case to not includes reloads emitted after insn.
17437         * function.c (find_temp_slots_from_address): Handle sum involving
17438         a register that points to a temp slot.
17439         (update_temp_slot_address): Make recursive call if both old and
17440         new are PLUS with a common operand.
17441         * calls.c (expand_call): Mark temp slot for result as having
17442         address taken.
17444         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
17446         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
17447         component as well as "BINUTILS".
17449         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
17450         * integrate.c (copy_rtx_and_substitute): Likewise.
17451         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
17452         All callers changed.
17453         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
17455         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
17456         gdb extensions, write size of type; also be more consistent
17457         in using references when this is a subtype.
17459         * pa.md (extv, extzv, insv): Use define_expand to reject constant
17460         that is out of range.
17462         * loop.c (unknown_constant_address_altered): New variable.
17463         (prescan_loop): Initialize it.
17464         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
17465         (invariant_p, case MEM): Remove handling for volatile and readonly;
17466         check new variable if readonly.
17467         (check_dbra_loop): Chdeck unknown_constant_address_altered.
17469         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
17470         (addr_affects_sp_p): Removed from note_mem_written and only
17471         define #ifdef AUTO_INC_DEC.
17473         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
17475         * regclass.c (record_reg_classes): Properly handle register move
17476         directions.
17478         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
17479         Don't think valid if both operands are invalid.
17480         (struct constant_descriptor): New field RTL.
17481         (mark_const_hash_entry): Mark it.
17482         (record_constant{,_rtx}): Initialize it.
17483         (output_constant_def): Allocate RTL in permanent obstack and
17484         save in table.
17485         ({record,compare}_constant_1): Modes must match for
17486         CONSTRUCTOR of ARRAY_TYPE.
17488         * c-common.h (initializer_constant_valid_p): Delete decl from here.
17489         * output.h (initializer_constant_valid_p): Move decl to here.
17490         * c-common.c (initializer_constant_valid_p): Delete function from here.
17491         * varasm.c (initializer_constant_valid_p): Move function to here.
17493         * tree.h (STRIP_SIGN_NOPS): New macro.
17494         * fold-const.c (optimize_minmax_comparison): New function.
17495         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
17496         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
17497         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
17498         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
17499         widening conversions.
17500         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
17501         to look at size of mode, not precision of type; also add missing cases.
17502         (optimize_bit_field_compare, decode_field_reference): Don't try to
17503         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
17505         * dwarf2out.c (ctype.h): Include.
17506         (dwarf2out_set_demangle_name_func): New function.
17507         (size_of_line_info): Deleted.
17508         (output_line_info): Compute size of line info table from difference
17509         of labels.
17510         (base_type_die, add_name_attribute): Call demangle function, if any.
17511         (field_byte_offset): Use bits per word for variable length fields.
17512         (gen_array_type_die): Add array name.
17513         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
17514         (dwarf2out_add_library_unit_info): New function.
17516         * explow.c (set_stack_check_libfunc): New function.
17517         (stack_check_libfunc): New static variable.
17518         (probe_stack_range): Allow front-end to set up a libfunc to call.
17520         * combine.c (simplify_comparison): When making comparison in wider
17521         mode, check for having commuted an AND and a SUBREG.
17522         (contains_muldiv): New function.
17523         (try_combine): Call it when dividing a PARALLEL.
17524         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
17525         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
17526         a PLUS.
17527         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
17528         use one of the CLOBBERs instead.
17529         (if_then_else_cond): If comparing against zero, just return thing
17530         being compared.
17532         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
17533         Don't generate shifts and subtract if have conditional arithmetic.
17535         * rtl.h (delete_barrier): New declaration.
17536         * jump.c (jump_optimize): Set up to handle conditional call.
17537         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
17538         (delete_barrier): New function.
17540         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
17542         * recog.c (nonmemory_operand): Accept ADDRESSOF.
17544         * tree.c (build_type_attribute_variant): Push to obstack of
17545         ttype around type_hash_canon call.
17547         * expr.c (placeholder_list): Move decl to file scope.
17548         (expand_expr): Don't force access to volatile just because its
17549         address is taken.
17550         If ignoring reference operations, just expand the operands.
17551         (expand_expr, case COMPONENT_REF): Propagate
17552         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
17553         Refine test for using bitfield operations vs pointer punning.
17554         (expand_expr, case CONVERT_EXPR): If converting to
17555         BLKmode UNION_TYPE from BLKmode, just return inner object.
17556         Use proper mode in store_field call.
17557         Properly set sizes of object to store and total size in store_field
17558         call for convert to union.
17559         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
17560         memory (like for ADDR_EXPR).  Also, don't put constant in register if
17561         we'll want it in memory.
17562         (readonly_fields_p): New function.
17563         (expand_expr, case INDIRECT_REF): Call it if LHS.
17564         (expand_assignment): Handle a RESULT_DECL where
17565         DECL_RTL is a PARALLEL.
17566         (do_jump, case WITH_RECORD_EXPR): New case.
17567         (get_inner_reference): Always go inside a CONVERT_EXPR
17568         and NOP_EXPR if both modes are the same.
17569         (store_field): Use bitfield operations if size of bitsize is not same
17570         as size of RHS's type.
17571         Check for bitpos not a multiple of alignment in BLKmode case.
17572         Do block move in largest possible alignment.
17573         (store_constructor): Set BITSIZE to -1 for variable size and properly
17574         in case of array of BLKmode.
17575         (expand_expr_unaligned): New function.
17576         (do_compare_and_jump): Call it.
17578         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
17579         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
17580         does not include 'o'.
17582         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
17583         both SET_DEST and SET_SRC reference a virtual register.
17584         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
17586         * integrate.c (expand_inline_function): Handle case of setting
17587         virtual stack vars register (from built in setjmp); when parameter
17588         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
17589         (subst_constant): Add new parm, MEMONLY.
17590         (expand_inline_function, integrate_parm_decls): Pass new parm.
17591         (integrate_decl_tree): Likewise.
17592         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
17593         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
17594         (copy_rtx_and_substitute, case SET): Add explicit calls to
17595         copy_rtx_and_substitute for both sides.
17597         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
17598         constraints.
17599         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
17600         within INDEX_TYPE, instead of before.
17601         (fixup_gotos): Use f->target_rtl, not the next insn,
17602         since latter may be from a later fixup.
17603         (expand_value_return): Correctly convert VAL when promoting function
17604         return; support RETURN_REG being a PARALLEL.
17605         (expand_return): When checking for result in regs and having
17606         cleanup, consider PARALLEL in DECL_RTL as being in regs.
17608 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
17610         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
17611         last_nominal_fname): Mark const.
17612         (struct include_hash: name, nshort, control_macro): Mark
17613         const.
17614         (struct macrodef: symnam): Mark const.
17615         (struct if_stack: fname): Mark const.
17616         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
17617         (IStable): New character-syntax array which encompasses all
17618         the old is_foo arrays.
17619         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
17620         is_space): New macros for interrogating IStable.
17621         (check_macro_name): Kill last argument.  All callers changed.
17623         * cppinit.c (initialize_char_syntax): Delete.
17624         (is_idchar, is_idstart, is_hor_space, is_space,
17625         trigraph_table): Delete.
17626         (IStable): New.  Initialize with clever macros to avoid
17627         information duplication.
17628         (builtin_array): Table of builtins to get rid of explicit list
17629         in initialize_builtins.
17630         (initialize_builtins): Use builtins_array.
17631         (cpp_start_read): Call init_IStable, and set IStable['$'] if
17632         opts->dollars_in_ident.
17634         * cppexp.c: Change all refs to is_xyz[] arrays to use new
17635         is_xyz() macros.
17636         (cpp_parse_expr): Avoid 'format string is not constant'
17637         warning. Use ISGRAPH to identify printable chars.
17638         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
17639         is_xyz() macros.
17640         (read_and_prescan): Map trigraphs to chars with open-coded
17641         if-else-if-... sequence, not a lookup table.
17642         * cpphash.c: Change all refs to is_xyz[] arrays to use new
17643         is_xyz() macros.
17644         * cpplib.c: Change all refs to is_xyz[] arrays to use new
17645         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
17646         (check_macro_name): Remove ability to report an invalid
17647         assertion name, which is never used.
17648         (do_line): Constify a couple of char *'s.
17649         * cppmain.c (main): Call cpp_cleanup before returning.
17651 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
17653         * ggc.h (struct ggc_statistics): New type.
17654         (ggc_get_size): New function.
17655         (ggc_print_statistics): Likewise.
17656         * ggc-common.c (ggc_stats): New variable.
17657         (ggc_mark_rtx_children): Keep statistics.
17658         (ggc_mark_tree_children): Likewise.
17659         (ggc_print_statistics): New function.
17660         * ggc-page.c (struct globals): Add bytes_mapped field.
17661         (alloc_anon): Update it.
17662         (release_pages): Likewise.
17663         (ggc_get_size): New function.
17664         (ggc_page_print_statistics): New function.
17665         * ggc-simple.c (ggc_get_size): New function.
17667 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
17669         * flow.c (propagate_block): When the last reference to a label
17670         before an ADDR_VEC is deleted because the reference is a dead
17671         store, delete the ADDR_VEC.
17673 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
17675         * resource.c (find_free_register): Don't use the frame pointer
17676         if frame_pointer_needed.
17678 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
17680         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
17681         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
17683         * config/i960/i960.c (i960_va_start): New locals base, num.
17684         Use INDIRECT_REF instead of ARRAY_REF on valist.
17685         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
17687 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
17689         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
17691 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
17693         * tree.def (PLACEHOLDER_EXPR): Update comments.
17695 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17697         * c-common.c (check_format_info): Avoid non-literal format string
17698         warnings when `first_arg_num' is zero.
17700 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17702         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
17704 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
17706         * arm.md (casesi_insn): Add a clobber of the condition code
17707         register.
17709 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
17711         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
17712         used by both cc1 and cc1plus.
17714 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
17716         * config/arm/arm.c: Initialise arm_structure_size_boundary to
17717         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
17718         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
17719         to the value 32 if it has not already been defined.
17720         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
17721         Override definition in arm.h with a value of 8.
17723 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
17725         * c-pragma.c (push_alignment): Don't check the return value
17726         of xmalloc.
17728 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
17730         * sparc.h (ADJUST_COST): Fix thinko.
17732 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
17734         * cccp.c (rescan): Fixed obp pointer handling around call to
17735         check_expand subroutine.
17737 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
17739         * gcse.c (delete_null_pointer_checks): Only record non-null info
17740         for pseudos when examining stores.
17742         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
17743         splitters for these patterns.  Use "#" for output templates.
17744         (addsi3_carryin_shift): New pattern.
17746 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
17748         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
17749         of the function return register into a plain REG until
17750         after function inlining is done.
17752 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
17754         * jump.c (jump_optimize_1): If we did cross-jumping, and
17755         the data will matter, rebuild the CFG.
17756         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
17757         not optimizing.  Don't run shorten_branches.
17758         * toplev.c (rest_of_compilation): Run shorten_branches after
17759         reg_to_stack.
17761 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
17763         * rtl.h (note_stores): Add additional paramter.
17764         * rtlanal.c (reg_set_p_1): Take additional paramter.
17765         (reg_set_last_1): Likewise.
17766         (reg_set_p): Adjust call to note_stores.
17767         (reg_set_last): Likewise.
17768         (note_stores): Pass data parameter to worker function.
17769         * alias.c (record_set): Take additional parameter.
17770         (init_alias_analysis): Pass it.
17771         * caller-save.c (mark_set_regs): Take additional parameter.
17772         (save_call_clobbered_regs): Pass NULL to note_stores.
17773         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
17774         parameter.
17775         (record_dead_and_set_regs_1): Likewise.
17776         (reg_dead_at_p_1): Likewise.
17777         (combine_instructions): Adjust calls to note_stores.
17778         (try_combine): Likewise.
17779         (record_dead_insn): Remove.
17780         (record_dead_and_set_regs): Adjust calls to note_stores.
17781         (reg_dead_at_p): Likewise.
17782         * cse.c (invalidate_skipped_set): Take additional parameter.
17783         (cse_check_loop_start): Likewise.
17784         (cse_check_loop_start_value): Remove.
17785         (cse_set_around_loop): Adjust calls to note_stores.
17786         * flow.c (notice_stack_pointer_modification): Take additional
17787         parameter.  Remove duplicate declaration.
17788         (record_volatile_insns): Adjust calls to note_stores.
17789         * gcse.c (record_set_info): Take additional parameter.
17790         (record_last_set_info): Likewise.
17791         (invalidate_nonnull_info): Likewise.
17792         (record_set_insn): Remove.
17793         (compute_sets): Adjust calls to note_stores.
17794         (last_set_insn): Remove.
17795         (compute_hash_table): Adjust calls to note_stores.
17796         (insert_insn_end_bb): Likewise.
17797         (delete_null_pointer_checks): Likewise.
17798         * global.c (mark_reg_store): Take additional parameter.
17799         (mark_reg_clobber): Likewise.
17800         (reg_becomes_live): Likewise.
17801         (global_conflicts): Adjust calls to note_stores.
17802         (build_insn_chain): Likewise.
17803         * integrate.c (note_modified_parmregs): Take additional parameter.
17804         (mark_stores): Likewise.  Make it static.
17805         (save_for_inline_nocopy): Adjust calls to note_stores.
17806         (try_constants): Likewise.
17807         * integrate.h (mark_stores): Remove declaration.
17808         * jump.c (mark_modified_reg): Take additional parameter.
17809         (thread_jumps): Adjust calls to note_stores.
17810         * local-alloc.c (validate_equiv_mem_from_store): Take additional
17811         parameter.
17812         (no_equiv): Likewise.
17813         (reg_is_set): Likewise.
17814         (validate_equiv_mem): Adjust calls to note_stores.
17815         (update_equiv_regs): Likewise.
17816         (block_alloc): Likewise.
17817         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
17818         (note_addr_stored): Take additional parameter.
17819         (note_set_pseudo_multiple_uses): Likewise.
17820         (record_initial): Likewise.
17821         (prescan_loop): Adjust calls to note_stores.
17822         (strength_reduce): Likewise.
17823         (check_dbra_loop): Likewise.
17824         * regmove.c (flags_set_1): Take additional paramter.
17825         (mark_flags_life_zones): Adjust calls to note_stores.
17826         * reload1.c (mark_not_eliminable): Take additional parameter.
17827         (forget_old_reloads_1): Likewise.
17828         (reload_cse_invalidate_rtx): Likewise.
17829         (reload_cse_check_clobber): Likewise.
17830         (reload_combine_note_store): Likewise.
17831         (move2add_note_store): Likewise.
17832         (reload): Adjust calls to note_stores.
17833         (reload_as_needed): Likewise.
17834         (emit_reload_insns): Likewise.
17835         (reload_cse_regs_1): Likewise.
17836         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
17837         (reload_combine): Adjust calls to note_stores.
17838         * resource.c (update_live_status): Take additional paramter.
17839         (mark_target_live_regs): Adjust calls to note_stores.
17840         * stupid.c (find_clobbered_regs): Take additional parameter.
17841         (stupid_life_analysis): Adjust calls to note_stores.
17843 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
17845         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
17846         definition.
17848         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
17849         definition.
17851         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
17852         of the variable arm_structure_size_boundary.
17854 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
17856         * alias.c (init_alias_analysis): Allocate reg_known_value and
17857         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
17858         and reg_seen.
17859         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
17860         * cse.c (cse_main): Call end_alias_analysis.
17861         * haifa-sched.c (schedule_insns): Likewise.
17862         * local-alloc. (update_equiv_regs): Likewise.
17863         * reload1.c (reload_cse_regs): Likewise.
17865 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17867         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
17868         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
17869         mapping from MASK_FPU.
17871 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
17873         * sparc.md (call): Don't bound structure return size to 0xfff.
17875 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
17877         * resource.c (mark_target_live_regs): Check that the target
17878         insn wasn't created after compute_bb_for_insn.
17880 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
17882         * ggc-page.c (poison_pages): Don't be overzealous.
17884 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
17886         * alias.c: Update comments for ADDRESS.
17887         (nonlocal_reference_p): Look inside the ADDRESS to determine if
17888         it is a local memory reference.
17890         * c-typeck.c (build_function_call): Check that the built-in
17891         function is of class BUILT_IN_NORMAL before trying to recongize
17892         it as BUILT_IN_ABS.
17893         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
17894         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
17896 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
17898         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
17899         of alloca.
17900         (pre_gcse): Likewise.
17901         (hoist_expr_reaches_here_p): Likewise.
17902         (hoist_code): Likewise.
17903         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17904         code to ...
17905         (pre_expr_reaches_here_p_work): ... here.
17906         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17907         code to ...
17908         (expr_reaches_here_p_work): ... here.
17910 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
17912         * resource.c (find_basic_block): Delete.
17913         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
17914         (init_resource_info): Call compute_bb_for_insn.
17916 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
17918         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
17919         with already adjacent blocks, but no fallthru.
17920         (merge_blocks_move_successor_nojumps): Simplify.
17921         (debug_flow_info): New.
17923         * toplev.c (rest_of_compilation): Open jump1 dump file before
17924         jump and close after, as opposed to just using dump_rtl.
17926 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17928         * reload.h (earlyclobber_operand_p): Declare.
17929         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
17930         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
17931         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
17932         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
17934 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
17935                           Richard Henderson  <rth@cygnus.com>
17937         * emit-rtl.c (emit_block_insn_before): New.
17938         (emit_block_insn_after): New.
17939         * basic-block.h: Declare them.
17941         * bitmap.h: Protect from multiple inclusion.
17943         * recog.c (scratch_operand): Handle VOIDmode correctly.
17945         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
17947         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
17948         * function.c (assign_parms): Likewise.
17949         * global.c (global_conflicts): Clarify STACK_REGS commentary.
17951         * reg-stack.c (max_uid): Remove.
17952         (blocks, block_begin, block_end, block_drops_in): Remove.
17953         (block_stack_in, block_out_reg_set, block_number): Remove.
17954         (struct block_info_def, BLOCK_INFO): New.
17955         (enum emit_where): New.
17956         (current_block): New.
17957         (BLOCK_NUM): Remove.
17958         (mark_regs_pat, record_label_references): Remove.
17959         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
17960         (nan): New.
17961         (goto_block_pat, print_blocks, dump_stack_info): Remove.
17962         (reg_to_stack): Simplified test for existance of fp code.  Use
17963         flow.c code.  Call shorten_branches after cross-jump opt.
17964         (check_asm_stack_operands): Renamed from record_asm_reg_life.
17965         Return false if the asm doesn't use stack regs.  Don't do life
17966         analysis on the asm.
17967         (emit_pop_insn): Replace function pointer arg `when' with
17968         enum `where'.  Update all callers.
17969         (change_stack): Likewise.  Update basic block end.
17970         (emit_swap_insn): Use current_block->head to limit reverse search
17971         for start of block.  Use emit_block_insn_after.
17972         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
17973         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
17974         structure assignment instead of bcopy.
17975         (print_stack): New.
17976         (convert_regs_entry, convert_regs_exit): New.
17977         (convert_regs_1, convert_regs_2): Split out from convert_regs.
17978         Work on basic blocks and the CFG.
17979         (convert_regs): Use them.
17981         * i386.c (output_fix_trunc): Remove code for DImode input operand
17982         not at top-of-stack.
17983         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
17984         appropriate mode.
17985         (fix_truncdi_1): Allow any mode scratch.
17987 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
17989         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
17990         * linux.h, netbsd.h, vms.h: Not here.
17992 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
17994         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
17995         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
17996         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
17997         CONDITIONAL_REGISTER_USEAGE): Use them.
17998         * config/mips/mips.c (mips_move_1word,mips_move_2words,
17999         gen_conditional_branch,override_options) : Use them.
18000         * config/mips/mips.md : Use them.
18002 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
18004         * i386.md (zero_extendqihi2): Use SImode register name with andl.
18006 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
18008         * integrate.c (function_cannot_inline_p): Don't allow inlining
18009         if setjmp is used.
18011 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18013         * c-parse.in (cast_expr): Constify.
18015         * cccp.c (special_symbol): Likewise.
18017         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
18019         * dwarf2out.c (base_type_die): Likewise.
18021         * global.c (allocno_compare): Likewise.
18023         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
18025         * regclass.c (fix_register): Likewise.
18027         * rtl.h (fix_register): Likewise.
18029         * stupid.c (stupid_reg_compare): Likewise.
18031         * toplev.c (decode_f_option): Likewise.
18033         * tree.c (build_complex_type): Likewise.
18035 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
18037         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
18039 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18041         * reload.c (find_reloads): Compute mode and nregs fields of all
18042         reloads.
18043         * reload1.c (calculate_needs_all_insns): Simplify a bit.
18044         (calculate_needs): Use precomputed mode/nregs values.
18045         (allocate_reload_reg): Likewise.
18046         Break out two...
18047         (failed_reload, set_reload_reg): ... new functions.
18048         (choose_reload_regs_init): New function, mostly broken out from...
18049         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
18050         Also lose one #if 0 block.
18052 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
18054         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
18055         substitution.
18057 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
18059         * tree.h (BLOCK_TYPE_TAGS): Remove.
18060         (BLOCK_END_NOTE): Likewise.
18061         (BLOCK_LIVE_RANGE_FLAG): Likewise.
18062         (BLOCK_LIVE_RANGE_START): Likewise.
18063         (BLOCK_LIVE_RANGE_END): Likewise.
18064         (tree_block): Remove live_range_flag, live_range_var_flag, and
18065         type_tags.  Remove end_note, live_range_start, and live_range_end.
18066         (remember_end_note): Remove prototype.
18067         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
18068         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
18069         remember_end_note.
18070         * ggc-common.c (ggc_mark_tree_children): Don't mark
18071         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
18072         * integrate.c (adjust_copied_decl_tree): Remove.
18073         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
18074         * stmt.c (last_block_end_note): Remove.
18075         (init_stmt): Don't add a GC root for it.
18076         (expand_fixup): Don't set it.
18077         (remember_end_note): Remove.
18078         (expand_end_bindings): Don't set last_block_end_note.
18080 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18082         * reload1.c (reload_reg_free_for_value_p): Show
18083         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
18084         reloads.
18086 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
18088         * expmed.c (extract_bit_field): Allow for the case of non-integer
18089         objects that are smaller than a word (like SFmode on a 64-bit
18090         machine).
18092         * loop.c (basic_induction_var): A non-integer variable which is
18093         being set by a paradoxical subreg is probably not a biv.
18095 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18097         * prefix.c (translate_name) Check for empty prefix string.
18099 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
18101         * Makefile.in (CPP_CROSS_NAME): New variable.
18102         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
18103         xcpp.
18104         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
18105         names of the files to be uninstalled.
18107 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
18109         * collect2.c (IS_DIR_SEPARATOR): Define.
18110         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
18112         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
18113         functions too.
18115         * haifa-sched.c (add_dependence): Update the true dependency
18116         cache the first time we add a true dependence to the LOG_LINKS chain.
18118 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
18120         * fold-const.c (fold): Fix comment.
18122 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18124         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
18125         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
18126         dbxout_start_new_source_file, dbxout_source_file,
18127         dbxout_source_line, dbxout_finish, dbxout_type_fields,
18128         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
18129         Constify a char*.
18130         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
18131         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
18132         (dbxout_block): Initialize variable `blocknum'.
18134         * dbxout.h (dbxout_init, dbxout_finish,
18135         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
18136         dbxout_args, dbxout_source_line): Constify a char*.
18138         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
18139         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
18140         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
18141         low_pc_attribute, high_pc_attribute, body_begin_attribute,
18142         body_end_attribute, comp_dir_attribute, sf_names_attribute,
18143         src_info_attribute, mac_info_attribute, producer_attribute,
18144         lookup_filename, generate_macinfo_entry, fundamental_type_code,
18145         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
18146         dwarfout_undef): Constify a char*.
18147         (add_incomplete_type, retry_incomplete_types): Add prototypes.
18149         * dwarfout.h (dwarfout_define, dwarfout_undef,
18150         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
18152 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
18154         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
18155         (MULTILIB_ISA_DEFAULT): New.
18156         (MULTILIB_DEFAULTS): Use it.
18157         * config/mips/mips.c (): Remove the now unnecessary definition
18158         of MIPS_ISA_DEFAULT.
18159         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
18160         unnecessary definition.
18162 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
18164         * arm.md (pic_load_addr): Add constraints to operand 1.
18166 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
18168         * fixinc/genfixes:  Provide a means for specifying -D options to
18169         AutoGen
18171 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
18173         * arm.c (arm_override_options): Correct initialization of
18174         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
18175         arm_is_strong, and arm_is_6_or_7.
18177         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
18178         (note_set_pseudo_multiple_uses): New function.
18179         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
18180         if a pseudo set in the loop exit is used elsewhere.
18182 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
18184         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
18186 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
18188         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
18189         a single load-address pattern.
18191 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
18193         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
18194         depending on whether or not line-number notes are present.
18196 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18198         * cccp.c (progname, file_buf, default_include, include_file,
18199         macrodef, definition, hashval, wchar_type, user_label_prefix,
18200         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
18201         expand_to_temp_buffer, is_system_include, base_name,
18202         absolute_filename, read_name_map, open_include_file,
18203         record_control_macro, check_precompiled, check_preconditions,
18204         pcfinclude, pass_thru_directive, create_definition,
18205         check_macro_name, comp_def_part, collect_expansion,
18206         check_assertion, read_token_list, assertion_install,
18207         assertion_lookup, eval_if_expression, conditional_skip,
18208         validate_else, skip_quoted_string, quote_string, macarg1,
18209         error_from_errno, install, lookup, hashf, dump_defn_1,
18210         perror_with_name, pfatal_with_name, main, trigraph_pcp,
18211         check_white_space, rescan, handle_directive, monthnames,
18212         special_symbol, do_include, remap_include_file, write_output,
18213         arglist, do_assert, do_unassert, do_line, do_error, do_once,
18214         do_ident, do_sccs, do_xifdef, skip_if_group,
18215         output_line_directive, macroexpand, macarg, change_newlines,
18216         initialize_builtins, make_definition): Constify a char*.
18218         * pcp.h (stringdef): Likewise.
18220 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
18222         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
18223         not of pattern.
18225 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
18226                           Richard Henderson  <rth@cygnus.com>
18228         * alias.c: Include ggc.h.
18229         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
18230         (record_set): Verify enough room in reg_base_value.
18231         (init_alias_analysis): Allocate reg_base_value with xcalloc.
18232         Register it as a GC root.
18233         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
18234         * Makefile.in (alias.o): Depend on ggc.h.
18236         * unroll.c (unroll_loop): Verify the insn before a barrier
18237         is a JUMP_INSN before checking JUMP_LABEL.
18239 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18241         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
18242         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
18243         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
18244         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
18245         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
18246         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
18248 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18250         * output.h (ctors_section, dtors_section, bss_section): Prototype.
18252         * alpha/alpha-interix.h (text_section): Delete prototype.
18253         * alpha/elf.h (text_section): Likewise.
18254         * arm/linux-elf.h (text_section): Likewise.
18255         * arm/linux-telf.h (text_section): Likewise.
18256         * c4x/c4x.h (text_section): Likewise.
18257         * dsp16xx/dsp16xx.h (bss_section): Likewise.
18258         * elfos.h (text_section): Likewise.
18259         * i386/aix386ng.h (text_section): Likewise.
18260         * i386/i386-interix.h (text_section): Likewise.
18261         * i386/sco5.h (text_section): Likewise.
18262         * i386/svr3gas.h (text_section): Likewise.
18263         * nextstep.h (text_section): Likewise.
18264         * psos.h (text_section): Likewise.
18265         * ptx4.h (text_section): Likewise.
18266         * svr3.h (text_section): Likewise.
18267         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
18269 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18271         * final.c (peephole): Delete prototype.
18273         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
18274         (pre_insert_copies): Remove unused variable `bb'.
18276         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
18277         prototypes.
18279         * output.h (peephole): Add prototype.
18281 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
18283         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
18284         -O0.
18286 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
18288         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
18289         for inlined declarations.
18291 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
18293         * arm.c (logical_binary_operator): New fucntion.
18294         * arm.h (logical_binary_operator): Declare it.
18295         (PREDICATE_CODES): Handle logical_binary_operator.
18296         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
18297         output constraints.  Add appropriate splitters.
18298         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
18299         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
18300         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
18302 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18304         * genoutput.c (struct operand_data): New elt eliminable.
18305         (output_operand_data): Write it.
18306         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
18307         (compare_operands): Take it into account.
18308         * recog.h (struct insn_operand_data): New elt eliminable.
18309         * reload1.c (check_eliminable_occurrences, elimination_effects): New
18310         functions.
18311         (old_asm_operands_vec, new_asm_operands_vec): Delete.
18312         (eliminate_regs): Move code that detects changes to elimination
18313         target regs into new function elimination_effects.
18314         Delete one #if 0 block.
18315         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
18316         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
18317         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
18318         Only call eliminate_regs for real operands of the insn, not for parts
18319         of its structure or parts matched by things like match_operator.
18320         Use elimination_effects and check_eliminable_occurrences.  Use
18321         copy_insn to duplicate the pattern when not in the final pass.
18323 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
18325         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
18326         and fld.
18328 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
18330         * fixinc/README: document the "mach" machine matching test
18331         * fixinc/fixfixes.c: Implement the #else/#endif label fix
18332         * fixinc/fixtests.c: Implement the #else/#endif label test
18333         * fixinc/inclhack.def: utilize these tests and fixes
18334         * fixinc/inclhack.sh:  regen
18335         * fixinc/fixincl.x:  regen
18336         * fixinc/fixincl.sh:  regen
18338 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
18340         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
18341         depend on ggc.h.
18343 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
18345         * gcc.1: Document exit codes.
18347 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18349         * calls.c: Include tm_p.h later, so everything we need is defined.
18350         * expr.c: Likewise.
18351         * function.c: Likewise.
18353         * except.c: Include tm_p.h.
18355         * sparc.c: Likewise.
18356         (dwarf2out_cfi_label): Don't prototype.
18357         (check_return_regs, epilogue_renumber,
18358         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
18359         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
18360         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
18361         ultra_schedule_insn): Add static prototype.
18362         (data_segment_operand, text_segment_operand): Call itself with the
18363         proper number of arguments.
18364         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
18366         * sparc.h: Move all declarations to sparc-protos.h.
18367         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
18368         symbolic_operand.
18370         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
18372         * config/svr4.h (text_section, ctors_section, dtors_section): Add
18373         Prototypes.
18374         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
18375         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
18376         ASM_OUTPUT_ASCII): Constify a char*.
18378         * sparc-protos.h: New file for sparc prototypes.
18380 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18382         * function.c (record_insns, contains): Always declare and define.
18383         (record_insns): Mark with ATTRIBUTE_UNUSED.
18385 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18387         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
18388         to .section when outputting a .bss section to deal with multiple
18389         .bss input sections (as happens with -fdata-sections)
18390         Also output %progbits, not @progbits so the assembler doesn't treat as
18391         a comment.
18392         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
18394         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
18395         thumb parts even when building with non-thumb CPUs, by forcing
18396         thumb mode.
18398 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
18400         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
18401         (movdf_const_intreg_sp64): Similarly.
18403         * local-alloc.c (update_equiv_regs): Check the correct insn
18404         for pre-existing REG_EQUIV notes.
18406 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
18408         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
18409         block reached by a branch if we're not going to actually process
18410         this block.
18412 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
18414         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
18415         a local extern function declaration.
18417 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
18419         * i386.c (ix86_expand_prologue): Properly wrap USE around
18420         reg for CALL_INSN_FUNCTION_USAGE.
18422 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
18424         * config/mips/mips.md (movdf_internal1a): Allow floating-point
18425         move between GP_REGs.
18427 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
18429         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
18430         the mode size when finding out if an offset is legal.
18432 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
18434         * basic-block.h (PROP_*): Move constants from ...
18435         * flow.c: ... here.
18436         (compute_bb_for_insn): Free the array before reallocating.
18437         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
18438         (allocate_reg_life_data): Reset all reg variables collected by
18439         propagate_block.
18440         (get_block_head_tail): Don't convert from bb to block.
18441         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
18442         (find_insn_reg_weight): Take block not bb.
18443         (schedule_block): Don't set block num for moved insns.
18444         (schedule_region): Don't update_life_info or find_insn_reg_weight.
18445         (schedule_insns): Do it here instead.
18446         * combine.c (combine_instructions): Invoke compute_bb_for_insn
18447         before update_life_info.
18448         * recog.c (split_all_insns, peephole2_optimize): Update for
18449         new arg to update_life_info.
18450         * rtlanal.c (remove_note): Cope with NULL note.
18451         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
18452         if we did sched1.
18454 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
18456         * jump.c (jump_optimize_1): More accurately detect casesi insns.
18458         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
18459         block records so that merge_blocks_nomove will clean up correctly.
18460         (split_edge): Handle casesi insns.
18462         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
18464 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
18466         * pa.md (call, call_value): Do not emit a blockage after restoring
18467         the PIC register.
18469 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
18471         * c-typeck.c (c_expand_asm_operands): Fix typo.
18473 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18475         * arm.c (fpu_rhs_operand): Verify modes.
18476         (fpu_add_operand): Likewise.
18477         (di_operand): Likewise.
18478         (soft_df_operand): Likewise.
18480 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
18482         * arm.c (arm_return_in_memory): APCS rules state that the elements
18483         of a structure returned in a register must be 'integer-like'.
18485 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
18487         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
18488         in the source tree when the generated targets are out of date
18489         * fixinc/genfixes: Alter it to run individual fixes for make.
18490         * fixinc/README: rewrite
18491         * fixinc/inclhack.def: moved initial comments to README
18493 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
18495         * toplev.c (main): Do not generate an error message if an
18496         unrecognised command line switch is recognisable by another
18497         language.  If extra_warnings are enabled, then generate a
18498         warning message instead.
18500 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18502         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
18503         (insert_pack_attributes): Delete prototype.
18505         * c-pragma.c (default_alignment): New static variable.
18506         (push_alignment): Initialize to current effective alignment.
18507         (pop_alignment): Use to set new alignment.
18508         (insert_pack_attributes): Delete function.
18509         (handle_pragma_token): Set default_alignment as well each time
18510         a #pragma pack(<n>) is encountered.
18512 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
18514         * reg-stack.c (stack_result): Aggregates are not returned in
18515         stack registers.
18517 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
18519         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
18521 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
18523         * basic-block.h (set_block_num): Declare.
18524         * flow.c (update_life_info): Don't call compute_bb_for_insn
18525         or free_basic_block_vars.
18526         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
18527         (insn_orig_block): Remove.
18528         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
18529         (schedule_block): Keep BLOCK_NUM up-to-date.
18530         (schedule_insns): Use compute_bb_for_insn.
18531         * recog.c (split_all_insns): Likewise.
18532         (peephole2_optimize): Likewise.
18534 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
18536         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
18537         if the pic register is used.
18539 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18541         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
18542         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
18543         if that tests TREE_PERMANENT.
18545 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
18547         * cse.c (invalidate_for_call): Do not remove memory references from
18548         the table here.  It's handled elsewhere.
18550         * haifa-sched.c (add_dependence): Protect references to the
18551         true dependency cache with #ifdef INSN_SCHEDULING.
18552         (remove_dependence): Similarly.
18554         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
18555         to the cfg code that this is a return instruction.
18556         * mn10300.md (return_internal): Similarly.
18558         * combine.c (get_last_value): If the last set of a register
18559         is after subst_low_cuid, then we can not use it to determine
18560         the register's last value.
18562 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18564         * Makefile.in: Back out previous change.
18566 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
18568         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
18570         * haifa-sched.c (add_dependence): Only check/update the cache
18571         if it exists.
18572         (remove_dependence): Likewise.
18573         (schedule_insns): Only create the true_dependency_cache if the
18574         average number of instructions in a basic block is very large.
18576 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18578         * Makefile.in (ggc-common.o): Depend on genrtl.h.
18579         (ggc-simple.o): Likewise.
18580         (ggc-page.o): Likewise.
18582 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
18584         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
18585         Prototype for exported functions.
18586         (pre_lcm, pre_rev_lcm): Remove prototypes.
18587         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
18588         (compute_available): Move to lcm.c, and change parameter order.
18589         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
18590         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
18591         (gcse_main): No longer call compute_preds_succs.  Rebuild the
18592         set table after reach pre pass.
18593         (pre_insert_map, pre_delete_map, edge_list): New.
18594         (alloc_pre_mem): Allocate edge vectors.
18595         (free_pre_mem): Delete edge vectors.
18596         (compute_pre_data): Call new edge based lcm routines.
18597         (process_insert_insn): New function.
18598         (insert_insn_end_bb): Use it.
18599         (pre_edge_insert): New function.
18600         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
18601         needed.
18602         (pre_insert_copies): Revamp using new edge based lcm outputs.
18603         (pre_delete): Likewise.
18604         (one_pre_gcse_pass): Insert & remove fake edges to the exit
18605         block.
18606         (compute_code_hoist_vbeinout): New new edge based routines.
18607         * lcm.c: Remove all the old LCM functions.  Replace with new ones
18608         that work with the new cfg datastructures and work with edges
18609         instead of blocks.
18611 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18613         * reload.h (struct reload): Add new fields "mode" and "nregs".
18614         * reload1.c: Change all occurrences of reload_mode and reload_nregs
18615         to reference the "mode" and "nregs" field within struct reload.
18617 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
18619         * haifa-sched.c (true_dependency_cache): New.
18620         (add_dependence): Use the true dependency cache to avoid expensive
18621         walks down the LOG_LINKS dependency list.  Add entries to the
18622         cache as necessary.
18623         (remove_dependence): Remove entries from the true dependency cache
18624         as needed.
18625         (schedule_insns): Allocate and initialize and free the true
18626         dependency cache.
18628         * haifa-sched.c (schedule_insns): Do not remove inter-block
18629         dependencies anymore.
18631 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
18633         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
18634         * i386/t-winnt: Likewise.
18636 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
18638         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
18640 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
18642         * Makefile.in (LANGUAGES): Omit "proto".
18643         (clean): Remove stale comment about removing unprotoize.c.
18645 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18647         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
18648         using arithmetic on void pointers.
18650 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
18652         * haifa-sched.c (compute_block_forward_dependencies): Only check
18653         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
18655 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
18657         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
18658         (expr_equiv_p): Reject memories with different alias sets.
18660 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
18662         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
18663         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
18664         (f_options): Add "bounded-pointers" and "bounds-check" entries.
18665         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
18666         (lang_init): Set default for flag_bounds_check if still "unspecified".
18668 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18670         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
18672 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18674         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
18675         instructions.
18677 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18679         * config/c4x/c4x.md (*db_noclobber,
18680         *decrement_and_branch_until_zero_noclobber): New patterns and
18681         associated splitters.
18683 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18685         * config/c4x/c4x.md (parallel instruction patterns): Rework
18686         constraints to keep reload happy.
18688 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18690         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
18691         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
18692         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
18693         Add new patterns and associated post-reload splitters.
18695 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18697         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
18699 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18701         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
18702         if appropriate.
18703         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
18705 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18707         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
18708         memory mode.
18710 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18712         * pa.c (move_operand): Rely on memory_address_p to determine the
18713         validity of non-indexed memory addresses.
18714         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
18715         operand in DFmode and SFmode when generating PA2.0 code.
18717 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
18719         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
18721 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
18723         * mips.c (function_prologue): Fix argument types.
18724         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
18725         (casesi_internal): Write to the scratch register.
18727 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
18729         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
18730         to U_CHAR **.
18731         (parse_charconst): Delete unnecessary cast when calling
18732         cpp_parse_escape.
18733         (cpplib.h): Kill prototype of cpp_parse_escape.
18735 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
18737         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
18738         * unroll.c (unroll_loop): Cast return value of alloca.
18739         * i370/i370.c: Include function.h and toplev.h.
18740         (i370_label_scan): Remove c++ commented abort.
18741         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
18742         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
18743         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
18744         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
18746 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
18748         * config/t-freebsd: Do not override USER_H.
18749         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
18751 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
18752                           Mumit Khan  <khan@xraylith.wisc.edu>
18754         * c-parse.in (component_decl): Support anonymous struct/union.
18755         (%expect): Update.
18756         * c-parse.y: Regenerate.
18757         * c-parse.c: Likewise.
18758         * objc/objc-parse.y: Likewise.
18759         * objc/objc-parse.c: Likewise.
18760         * c-decl.c (finish_struct): Don't sort the fields.
18761         (field_decl_cmp): Delete unused function.
18763 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
18765         * sparc.md (movsf_const_intreg): Revert last constraint change.
18766         (movdf_const_intreg_sp32): Likewise.
18768 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
18770         * cse.c: Include hashtab.h instead of splay-tree.h
18771         (struct cse_reg_info): No longer use variant union.  Add new
18772         field "regno".  All references changed to avoid union.
18773         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
18774         (free_cse_reg_info): Remove.
18775         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
18776         (get_cse_reg_info): Revamp to use expandable hash tables instead
18777         of splay trees.  Initialize new fields in cse_reg_info structure.
18778         (new_basic_block): Similarly.
18780 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
18782         * genrecog.c (message_with_line): Prototype.
18783         (validate_pattern): Pass along the set for the dest, not a flag.
18784         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
18785         Check for PC/CC0 as sources.
18786         (nodes_identical): Check for children position match before
18787         allowing the combination.
18789         * rtl.c (read_rtx): Track line number across \\\n.
18791 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
18793         * mips.h (SPECIAL_MODE_PREDICATES): New.
18794         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
18795         (movdi+1, movsi+1): Add output reload constraint.
18796         (casesi_internal): Likewise.  Fix commentary.
18797         (return_internal): Use pmode_register_operand.
18799 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
18801         * 1750a.md (movstrqi): Add missing output reload constraint.
18802         (call_value): Likewise.
18803         * a29k.md (cpxxx patterns): Add missing match_operator mode.
18804         (jmpfdec): Add missing inout reload constraint.
18805         * elxsi.md (addsi patterns): Add missing output reload constraint.
18806         (move from sp): Use @ alternates.
18807         (call_value): No constraint on output.
18808         * fr30.md (movsi_pop): Add missing output reload constraint.
18809         (movsf_constant_store): Likewise.
18810         (splits): Remove constraints.
18811         (subsi3): Add missing mode.
18812         * i370.md (cmpstrsi+1): Add missing output reload constraint.
18813         (call_value): Likewise.
18814         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
18815         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
18816         * m32r.md (movsicc_internal): Add output reload constraint.
18817         (movstrsi_internal): Add inout reload constraints.
18818         * m88k.h (reg_names): Don't declare.
18819         (SPECIAL_MODE_PREDICATES): New.
18820         * m88k.md (*): Use register_operand not reg_or_0_operand
18821         on destinations.
18822         * mn10200.h (PREDICATE_CODES): New.
18823         * ns32k.md (ffs pattern): Add output reload constraint.
18824         * pdp11.md (sob pattern): Add inout reload constraint.
18825         * sh.md (splits): Remove constraints.
18826         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
18827         * v850.md (pattern_is_ok_for_epilogue): Likewise.
18828         * vax.md (jgequ pattern): Add inout reload constraint.
18830 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
18832         * configure.in (djgpp): Revert previous patch.
18833         * configure: Rebuit.
18834         * config/i386/djgpp.h: Revert previous patch.
18836 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
18838         * fixinc/inclhack.def: Restore patch lost during last merge of
18839         "no_bogosity" branch.
18840         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
18842 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18844         * fixincludes: Add a HPUX 11 fix for inttypes.h.
18845         * fixinc/inclhack.def: Same.
18846         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
18848 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
18850         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
18851         as the base of a PLUS.
18853 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18855         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
18856         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
18858 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
18860         * pa.md (post_stw+1): Use pmode_register_operand.
18861         (dcacheflush, icacheflush): Likewise.
18863         * i386.md (movstricthi_1): Allow r/r.
18865 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
18867         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
18868         to (not (and (arg0) (arg1))). Similary for and.
18870         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
18871         fallthrough to associate code.
18872         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
18873         bits in common.
18875         * combine.c (simplify_logical): Convert XOR to IOR if operands have
18876         no bits in common; remove XOR to ROTATE conversion.
18878 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18880         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
18882 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18884         * config/c4x/c4x.c (dst_operand): New.
18885         (PREDICATE_CODES): Update.
18886         * config/c4x/c4x.h (dst_operand): Declare it.
18887         * config/c4x/c4x.md:  Define mode for each unspec usage.
18888         (move patterns):  Use dst_operand predicate instead of src_operand.
18889         (movqi_update, movqf_update): Delete.
18891 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
18893         * recog.c (pmode_register_operand): New.
18894         * recog.h: Declare it.
18895         * genrecog.c (pred_codes): Likewise.
18896         (special_mode_pred_table): Likewise.
18897         (validate_pattern): Don't warn no mode for address_operand.
18899         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
18900         if the operand is not insn-like.
18902 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
18903                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
18905         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
18907 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
18909         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
18910         instead of general_operand in a SET_DEST.  Use const_double_operand
18911         instead of an explicit test against CONST_DOUBLE.
18912         (movsf_const_lo): Add missing register mode.
18913         (goto_handler_and_restore): Add auxiliary test for Pmode.
18914         (flush): Adjust to use address_operand.
18915         (return_sf_no_fpu): Add missing output constraint.
18917 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
18919         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
18920         for call return value.
18921         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
18923 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
18925         * toplev.c (main): Only warn about options for other languages.
18926         * collect2.c (main): Pass -w to sub-gcc.
18928 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
18930         * flow.c (propagate_block): Add call-clobbered registers to
18931         significant too.
18933         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
18934         zapping mem_set_list.
18935         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
18936         (mark_set_1, mark_used_regs): Likewise.
18938 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
18940         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
18942 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
18944         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
18945         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
18946         options. Also add a new item "C-only Warning Options" to the
18947         option summary.
18949 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
18951         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
18952         from multiple calls.
18954 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
18956         * i386.md (call value patterns): Move to the end of the file.
18957         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
18959 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
18961         * configure.in (djgpp configuration): Define extra_objects..
18962         * configure: Rebuilt.
18963         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
18964         (DTORS_SECTION_ASM_OP): Define.
18965         (INIT_SECTION_ASM_OP): Define.
18966         (FINI_SECTION_ASM_OP): Define.
18967         (DATA_SECTION_ASM_OP): Define.
18968         (TEXT_SECTION_ASM_OP): Define.
18969         (EH_FRAME_SECTION_ASM_OP): Define.
18970         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
18971         (STARTFILE_SPEC): Add crtbegin.o.
18972         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
18973         to here from LINK_COMMAND_SPEC.
18974         (DO_GLOBAL_CTORS_BODY): Define.
18975         (CRTSTUFF_USE_FINI_SECTION): Define
18976         (HAS_INIT_SECTION): Delete.
18978 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
18980         * Makefile.in (all.cross): Depend on xcpp$(exeext).
18982 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
18984         * pa.h (PREDICATE_CODES): New.
18986         * genrecog.c (validate_pattern): Condense the destination
18987         non-lvalue message.
18989 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
18991         * alpha.md (call-1): Supply missing mode for operator.
18992         (*): Add missing output reload constraints.  Remove constraints
18993         from define_splits.
18995         * i386.h (SPECIAL_MODE_PREDICATES): New.
18996         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
18997         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
18998         (addsi_lea_3): Add missing mode for op 3.
18999         (prologue_set_got, prologue_get_pc): Add missing modes.
19000         (*) Add missing output reload constraints.
19002 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
19004         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
19005         check for member bit-size overflow and use var_size if it occurs.
19006         (layout_record): Use bitsize_int() to define the type size in bits.
19007         Likewise for computation and assignment to DECL_FIELD_BITPOS.
19008         (layout_decl): Likewise when assigning to DECL_SIZE.
19010 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
19012         * genrecog.c (validate_pattern): Typo last change.  Verify
19013         that output operands have output reloads.
19015 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
19017         * genrecog.c (special_mode_pred_table): New.
19018         (NUM_SPECIAL_MODE_PREDS): New.
19019         (find_operand): New.
19020         (validate_pattern): New argument `insn'.  Warn for assignment to
19021         any predicate accepting non-lvalues.  Conditionaly warn for
19022         match_operand without a mode.  Try much harder to match source
19023         and destination modes on a set.
19024         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
19026 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
19028         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
19030 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
19032         * combine.c (simplify_logical): Recognize xor pattern that encodes
19033         rotation.
19035 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19037         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
19038         alignment.
19040 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
19042         * ggc-page.c (MAP_FAILED): Provide default.
19044 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
19046         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
19047         * sparc.h (PREDICATE_CODES): Update.
19049 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
19051         * alpha.c (some_ni_operand): New.
19052         * alpha-protos.h: Declare it.
19053         * alpha.h (PREDICATE_CODES): Update.
19054         * alpha.md (sXaddq reload insns): Use some_ni_operand
19055         for SET_DEST instead of some_operand.
19057 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
19058                           Jim Wilson  <wilson@cygnus.com>
19060         * genrecog.c (maybe_both_true_2): Don't compare modes of
19061         two DT_pred tests.
19062         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
19063         after find_afterward.
19064         (debug_decision_1): Dump next and afterward codes.
19066 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
19068         * rtl.c (dump_and_abort): Remove.
19069         (fatal_with_file_and_line): New.
19070         (fatal_expected_char): New.
19071         (read_rtx_lineno, read_rtx_filename): New.
19072         (read_skip_spaces): Track line number.
19073         (read_name): Use fatal_with_file_and_line.
19074         (read_rtx): Use fatal_expected_char.  Track line number.
19075         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
19077         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
19078         if it isn't a CODE_LABEL.
19080         * genattr.c (main): Set read_rtx_filename.
19081         * genattrtab.c (main): Likewise.
19082         * gencodes.c (main): Likewise.
19083         * genconfig.c (main): Likewise.
19084         * genemit.c (main): Likewise.
19085         * genextract.c (main): Likewise.
19086         * genflags.c (main): Likewise.
19087         * genopinit.c (main): Likewise.
19088         * genoutput.c (main): Likewise.
19089         * genpeep.c (main): Likewise.
19091         * genrecog.c (decision_test.u.insn): Add `lineno'.
19092         (pattern_lineno, error_count): New variables.
19093         (message_with_line): New.
19094         (add_to_sequence): Break out checking code to ...
19095         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
19096         (merge_insn): Use message_with_line.
19097         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
19098         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
19100 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19102         * expr.c (store_constructor): Clear union if constructor is empty.
19104 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
19106         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
19107         Add !endian checks.  Change %{...} to %(...).
19109 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
19111         * i386.md (*addsi3_cc): Renamed from addcsi3.
19112         (*addsi3_carry): Renamed from addxsi3.
19113         (*subsi3_cc): Renamed from subcsi3.
19114         (*subsi3_carry): Renamed from subxsi3.
19115         (*xorqi_cc_1): Renamed from xorcqi_1.
19116         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
19117         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
19119 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
19121         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
19122         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
19124 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
19126         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
19127         climb up the chain of insns.
19129 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
19131         * genrecog.c (write_subroutine): Careful for null trees.
19132         (process_tree): Don't elide empty functions.
19134 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
19136         * Makefile.in (genrtl.o): Depend on ggc.h.
19137         * configure.in (valloc): Probe for it.
19138         (with-gc): Use ggc-page if valloc present.
19139         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
19140         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
19141         (ggc_alloc_string): Moved from ggc-page.c.
19142         * ggc-none.c (ggc_alloc_obj): New.
19143         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
19144         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
19145         (struct globals): Likewise for dev_zero_fd.
19146         (init_ggc): Likewise for it's initialization.
19147         (ggc_allocated_p): Move careful dereference from ...
19148         (ggc_lookup_page_table): ... here.  Delete.
19149         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
19150         (alloc_anon): Use valloc if no mmap.
19151         (release_pages): Use free if using valloc.
19152         (ggc_alloc_obj): Renamed from alloc_obj.
19153         (ggc_set_mark): Renamed from mark_obj.
19154         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
19155         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
19156         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
19157         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
19158         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
19159         (ggc_collect): Use fp printing instead of our own rounding.
19160         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
19161         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
19162         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
19163         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
19164         (struct ggc_string, struct ggc_any): Delete.
19165         (offsetof): Provide default definition.
19166         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
19167         (PTR_KEY): New.
19168         (struct ggc_mem): New, from corpse of ggc_any.
19169         (struct ggc_status): Delete.
19170         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
19171         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
19172         (n_strings_collected, n_anys_collected): Delete.
19173         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
19174         (ggc_alloc_string, ggc_alloc): Delete.
19175         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
19176         (ggc_free_string, ggc_free_any): Delete.
19177         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
19178         (ggc_compare_addresses, ggc_mark_string): Delete.
19179         (ggc_mark_string_if_gcable, ggc_mark): Delete.
19180         (search_data): Delete.
19181         (struct globals): New.
19182         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
19183         (tree_insert, tree_lookup): New.
19184         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
19185         (clear_marks, sweep_objs): New.
19186         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
19187         (init_ggc): Set allocated_last_gc.
19188         (ggc_push_context): Gut.  Use G.context.
19189         (ggc_pop_context): Likewise.
19190         (ggc_pop_context_1): New.
19191         (debug_ggc_tree): New.
19192         (debug_ggc_balance, tally_leaves): New.
19193         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
19194         (ggc_mark_string_if_gcable): Remove decl.
19195         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
19196         (ggc_mark_rtvec_children): New.
19197         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
19198         (ggc_mark_if_gcable): New decl.
19199         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
19200         (ggc_alloc_tree, ggc_alloc): Likewise.
19201         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
19202         (ggc_alloc_obj): New decl.
19203         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
19204         (ggc_alloc_tree, ggc_alloc): Likewise.
19205         (ggc_set_mark): New decl.
19206         * rtl.h (struct rtx_def): Remove gc_mark.
19207         (struct rtvec_def): Likewise.
19208         * tree.h (struct tree_common): Likewise.
19210 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
19212         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
19213         float_format and thread_file definitions.
19214         * configure: Rebuilt.
19216 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
19218         * extend.texi (Function Names): Document types of function names.
19220 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19222         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
19223         an earlyclobbered output conflict with RELOAD_INPUT reloads.
19225 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19227         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
19229 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19231         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
19233 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
19235         * collect2.c (main): Do prelimnary link on AIX if rflag.
19237 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
19239         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
19240         __CTOR_LIST__ in opposite order, which is the correct order for sorted
19241         constructors.
19242         (__do_global_dtors): similarly for __DTOR_LIST__.
19244 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19245                                 Diego Novillo <dnovillo@cygnus.com>
19247         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
19248         FPUL_REGS.
19250 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
19252         * fixincl/*: Merged "no_bogosity" branch
19253         * fixincl/fixlib.h: protect against doubly defining t_bool
19254         * fixincl/server.h: protect against doubly defining t_bool
19256 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
19258         * genoutput.c: Include toplev.h.
19260 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
19262         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
19263         Undef.
19264         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
19265         * configure: Regenerate.
19267 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
19269         * gcse.c (delete_null_pointer_checks): Returns void.
19271 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19273         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
19274         * emit-rtl.c (copy_insn_1): Likewise.
19276 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19278         * config/mips/mips.c (mips_build_va_list): Correct
19279         TREE_CHAIN setting when hard-float.
19280         (mips_va_start): Use corrected setting.
19281         (mips_va_arg): Likewise.  Also pass a tree to build of
19282         POSTINCREMENT_EXPR rather than a naked 'int'.
19284 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
19286         * ggc.h (ggc_push_context): Fix comment.
19287         (ggc_pop_context): Likewise.
19288         (mark_string_if_gcable): Likewise.
19289         * ggc-common.c (ggc_mark_rtx_children): Use
19290         ggc_mark_string_if_gcable.
19291         * ggc-page.c (ggc_lookup_page_table): New function.
19292         (ggc_allocated_p): Likewise.
19293         (mark_obj): Fix formatting.
19294         (ggc_mark_string_if_gcable): New function.
19295         * ggc-simple.c (ggc_allocated_strings): New variable.
19296         (ggc_strings_used): Likewise.
19297         (ggc_compare_addresses): New function.
19298         (ggc_pop_context): Pop the `any' memory too.
19299         (ggc_mark_string_if_gcable): New function.
19300         (ggc_collect): Initialize and tear down ggc_allocated_strings.
19302 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
19304         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
19305         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
19306         * rs6000.c (expand_block_move): Match movstrsi_?reg register
19307         changes.
19309 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
19311         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
19312         (sched_reg_live_length, sched_reg_basic_block): Delete.
19313         (current_block_num, bb_live_regs, old_live_regs): Delete.
19314         (dead_notes, struct sometimes): Delete.
19315         (sched_note_set, birthing_insn_p): Delete.
19316         (adjust_priority): Gut useless reg lifetime code.
19317         (create_reg_dead_note, attach_deaths): Delete.
19318         (attach_deaths_insn, new_sometimes_live): Delete.
19319         (finish_sometimes_live): Delete.
19320         (find_pre_sched_live, find_post_sched_live): Delete.
19321         (update_reg_usage): Delete.
19322         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
19323         (schedule_insns): Delete reg lifetime code.
19324         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
19325         (unlink_other_notes): Adjust REG_NOTE commentary.
19326         (reemit_notes): Use REG_SAVE_NOTE.
19327         (schedule_block): Likewise.
19328         (schedule_region): Allocate bitmap of blocks in region.  Use
19329         count_or_remove_death_notes.  Use update_life_info.
19331         * rtl.h (REG_SAVE_NOTE): New.
19332         * rtl.c (reg_note_name): Update.
19334 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
19336         * combine.c (refresh_blocks, need_refresh): New.
19337         (combine_instructions): Allocate refresh_blocks.  Invoke
19338         update_life_info if needed.
19339         (distribute_notes): Mark refresh_blocks instead of installing
19340         USE insns.
19341         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
19342         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
19344         * Makefile.in (recog.o): Depend on basic-block.h.
19346 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
19348         * genrecog.c (add_to_sequence): Thinko last change: delete
19349         shadowing allow_const_int variable.
19351 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19353         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
19354         __GNUC__ and __GNUC_MINOR__.
19356         * gansidecl.h: Likewise.
19358         * rtl.c: Likewise.
19360         * rtl.h: Likewise.
19362         * toplev.h: Likewise.
19364         * tree.c: Likewise.
19366         * tree.h: Likewise.
19368         * varray.c: Likewise.
19370         * varray.h: Likewise.
19372 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19374         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
19375         use one before a jump table.
19377         * rtl.def (ADDRESS): Change documentation to match reality.
19378         * md.texi: Don't document it.
19379         * gmicro.md (load address pattern): Use 'p' constraint, delete use
19380         of ADDRESS rtx.
19382         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
19384 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
19386         * genrecog.c (add_to_sequence): Move allow_const_int test outside
19387         known predicate block; default allow_const_int true.
19388         (debug_decision_list): New.
19390 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
19392         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
19394 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
19396         * gcse.c (gcse_main): Avoid global optimizations if we have a
19397         large number of basic blocks and the ratio of edges to blocks
19398         is high.
19399         (delete_null_pointer_checks): Likewise.
19401 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
19403         * c-common.c (check_format_info): Warn if format string isn't a
19404         string literal.
19406 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
19408         * configure.in (arm*-*-*): Don't let autoconf remove brackets
19409         * configure: regenerate
19411 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
19413         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
19414         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
19415         (peepholes): Re-enable.
19417 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
19419         * Makefile.in (flow.o): Depend on TREE_H.
19420         * basic-block.h (REG_SET_EQUAL_P): New.
19421         (XOR_REG_SET): New.
19422         (n_edges): Declare.
19423         (free_regset_vector): Remove declaration.
19424         (flow_delete_insn_chain): Declare.
19425         (enum update_life_extent): New.
19426         (update_life_info, count_or_remove_death_notes): Declare.
19427         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
19428         Verify register live at bb->global_live_at_start before adding USE.
19429         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
19430         (CLEAN_ALLOCA): New.
19431         (n_edges): New.
19432         (PROP_*): New flags.
19433         (find_basic_blocks_1): Use alloc_EXPR_LIST.
19434         (clear_edges): Zero n_edges.
19435         (make_edge): Increment n_edges.
19436         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
19437         (flow_delete_insn_chain): Export.
19438         (delete_block): Decrement n_edges.
19439         (merge_blocks_nomove): Likewise.
19440         (life_analysis): Give life_analysis_1 PROP flags.
19441         (verify_wide_reg_1, verify_wide_reg): New.
19442         (verify_local_live_at_start): New.
19443         (update_life_info): Rewrite to call into propogate_block.
19444         (mark_reg): New.
19445         (mark_regs_live_at_end): After reload, if epilogue as rtl,
19446         always mark stack pointer.  Conditionally mark PIC register.
19447         After reload, mark call-saved registers, return regsiters.
19448         (life_analysis_1): Accept PROP flags not remove_dead_code.
19449         Call mark_regs_live_at_end before zeroing regs_ever_live.
19450         Use calculate_global_regs_live.  Copy global_live_at_end before
19451         calling final propagate_block.  Zero reg_next_use on exit.
19452         (calculate_global_regs_live): New.
19453         (allocate_bb_life_data): Don't allocate bb->local_set.
19454         (init_regset_vector, free_regset_vector): Remove.
19455         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
19456         Test flags before every operation.  Warn if prologue/epilogue insn
19457         would have been deleted.
19458         (mark_set_regs, mark_set_1): Accept and use FLAGS.
19459         Use alloc_EXPR_LIST.
19460         (mark_used_regs): Accept and use FLAGS, not FINAL.
19461         Remove special handling for RETURN.
19462         (try_pre_increment): Use alloc_EXPR_LIST.
19463         (dump_flow_info): Dump n_edges.
19464         (unlink_insn_chain, split_hard_reg_notes): Remove.
19465         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
19466         (find_insn_with_note, new_insn_dead_notes): Remove.
19467         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
19468         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
19469         (replace_insns): Remove.
19470         (count_or_remove_death_notes): New.
19471         (verify_flow_info): Abort on error after all checks.
19472         (remove_edge): Decrement n_edges.
19473         (remove_fake_edges): Tweak format.
19474         * haifa-sched.c (schedule_insns): Use split_all_insns.
19475         * output.h (update_life_info): Remove declaration.
19476         * recog.c (split_all_insns): From the corpse of split_block_insns,
19477         do the whole function block by block.  Use update_life_info.
19478         (recog_last_allowed_insn): New.
19479         (recog_next_insn): Mind it.
19480         (peephole2_optimize): Set it.  Walk backwards through blocks.
19481         Use update_life_info.
19482         * rtl.h (update_flow_info, replace_insns): Remove declarations.
19483         (split_all_insns): Declare.
19484         * toplev.c (rest_of_compilation): Thread prologue before flow2.
19485         Use split_all_insns.
19487         * i386.md (or -1 peep2s): Disable.
19489 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
19491         * config/mips/mips.md (movstrsi+[123]) : Combine these into
19492         a single pattern.  Scrap the 'd' versions as unnecessary.
19494         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
19495         tablejump_mips162,tablejump_internal4): The operands to a
19496         label_ref must be VOIDmode.
19498 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19500         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
19502 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19504         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
19506 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19508         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
19509         cache every function if ggc_p.
19511 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19513         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
19514         instead of copy_rtx.  Accept sequences that contain asm statements.
19515         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
19516         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
19517         orig_asm_operands_vector, copy_asm_operands_vector,
19518         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
19519         variables.
19520         * rtl.h (copy_insn, copy_insn_1): Declare.
19522 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19524         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
19526         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
19527         arguments to `current_file_function_operand'.
19529         * genrecog.c: Include hard-reg-set.h and resource.h in the
19530         generated output file.
19532         * real.c: Include tm_p.h.
19534 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19536         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
19537         output operand.
19539 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
19541         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
19542         before the fctiwz insn.
19544 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19545                           Mark Mitchell  <mark@codesourcery.com>
19547         * tree.c (make_lang_type_fn): New funtion pointer.
19548         (make_lang_type): Call it.
19549         * tree.h (make_lang_type): Declare.
19550         (make_lang_type_fn): Likewise.
19551         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
19553 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
19555         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
19556         make sure that HIGH instructions are copied into BASE_REGS.
19558 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
19560         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
19562 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
19564         * c-decl.c (finish_struct): Use simpler method of
19565         removing elements of a singly-linked list.
19567 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
19569         * alpha.md (peephole2's): Comment out peephole2's that generate
19570         buggy code.
19572 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
19574         * genrecog.c (add_to_sequence): Disable mode check for
19575         wildcard matches.
19577 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19579         * ggc-simple.c (init_ggc): Set empty_string.
19581 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
19583         * configure.in: Detect mmap.  Add --with-gc=foo to select
19584         garbage collector; default to page if mmap available.
19585         * Makefile.in (GGC): Substitute.
19587 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
19589         * c-decl.c (ggc_p): Enable.
19591 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19593         * flow.c (verify_flow_info): Make it extern & unconditionally define.
19595 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
19597         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
19598         string for little-endian-data.
19600 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
19602         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
19603         case somebody tries to compile --enable-checking code with gcc
19604         1.34 or such.
19606 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
19608         * genrecog.c (add_to_sequence): Verify operand to label_ref is
19609         VOIDmode.
19611 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
19613         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
19614         * jump.c (jump_optimize_1): Document why.
19616 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19618         * collect2.c (scan_prog_file, scan_libraries): Prototype function
19619         pointers and casts for `int_handler' and `quit_handler'.
19621         * flow.c (verify_flow_info, split_hard_reg_notes,
19622         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
19623         remove_edge, remove_fake_successors): Add static prototypes.
19624         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
19625         (mark_set_1): Initialize variable `regno'.
19626         (unlink_insn_chain): Likewise for variable `curr'.
19627         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
19629         * loop.c (strength_reduce): Initialize variable
19630         `unrolled_insn_copies'.
19631         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
19632         prototypes.  Change these functions to take const PTR parameters
19633         to avoid prototype conflict when used as the comparson argument
19634         for qsort.
19635         (check_dbra_loop): Initialize variable `comparison_val'.
19637         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
19638         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
19639         (find_valid_class): Initialize variable `best_class'.
19640         (find_reloads): Call memcpy, not bcopy.
19642         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
19643         (hard_reg_use_compare): Don't needlessly cast away const.
19644         (reload_reg_class_lower): Likewise.
19645         (choose_reload_regs): Initialize variable `regno'.
19647 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
19649         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
19651 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
19653         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
19654         ({,d}discard): Add forward declarations.  Declare parameter as
19655         unused.
19656         (main_without_main): Explicitly declare return type to be int.
19657         (memcpy): Properly declare.
19659         * libgcc2.c (toplevel): If inhibit_libc is defined and not
19660         building the trampoline support, declare malloc, free, and
19661         atexit.
19662         (__clear_cache): Mark arguments as potentially unused.
19664         * frame.c (toplevel): If inhibit_libc is defined, declare
19665         malloc and free.
19667 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
19669         * flow.c (make_edge): Accept an optional 2D bitmap in which
19670         to cache edge existence.  Update all callers.
19671         (make_label_edge, make_eh_edge): Pass through the edge cache.
19672         (make_edges): Provide the cache.
19674 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19676         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
19677         a char*.
19678         (local_mbtowc): Change the type of variable `i' from int to size_t.
19680         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
19681         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
19683 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
19685         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
19686         after other includes that define the appropriate types.  Include
19687         tm_p.h for getting user prototypes.
19688         * ggc-callbacks.c (toplevel): Ditto.
19689         * ggc-none.c (toplevel): Ditto.
19690         * gcc-page.c (toplevel): Ditto.
19691         * ggc-simple.c (toplevel): Ditto.
19693 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
19694                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
19696         * config/mips/mips.c (mips_move_2words): Split doubles if
19697         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
19699 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
19701         * genrecog.c (struct decision_test): New.
19702         (struct decision): Remove test-related members, sort the rest by size.
19703         (IS_SPLIT): Simplify.
19704         (new_decision, new_decision_test): New.
19705         (add_to_sequence): Use them.  No special handling for args of
19706         non-MATCH codes.
19707         (maybe_both_true): Renamed from not_both_true; return sense changed.
19708         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
19709         of maybe_both_true and adjusted for decision_test.
19710         (position_merit): Remove.
19711         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
19712         (merge_accept_insn): New, broken out of merge_trees.
19713         (merge_trees): Use them.  No special case for c_test; no node
19714         splitting; use test type instead of position_merit.
19715         (factor_tests): New.
19716         (simplify_tests): New.
19717         (break_out_subroutines): Don't write code now.
19718         (find_afterward): New.
19719         (write_afterward, write_switch, write_cond): New.
19720         (write_action, is_unconditional): New.
19721         (write_node): New.  Use them.
19722         (write_tree_1): Rewrite.  Use the new functions above.
19723         (write_tree): Remove afterward processing.
19724         (write_subroutine): Simplify function variant emission.
19725         (write_subroutines): New.
19726         (same_codes, clear_codes): Remove.
19727         (same_modes, clear_modes): Remove.
19728         (write_header): New, broken out of main.
19729         (make_insn_sequence): Use new_decision and new_decision_test.
19730         (process_tree): New, broken out of main.
19731         (main): Adjust for merge_trees interface change.
19732         Don't #define operands in the output file.
19733         (record_insn_name): New, broken out of make_insn_sequence.
19734         (debug_decision_2, debug_decision_1, debug_decision_0): New.
19735         (debug_decision): New.
19737 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
19739         * resource.c (find_free_register): Mark class_str argument const.
19740         * resource.h: Update prototype to match.
19742         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
19743         * i386.md: Give all anonymous insns names.
19745 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
19747         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
19748         blocks.
19750 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
19752         * toplev.c (dbr_sched_time): Unconditional.
19753         (peephole2_time): New.
19754         (compile_file): Add pass numbers to all of the dump file suffixes.
19755         Dump peephole2_time.  Don't dump times for non-applicable passes.
19756         (rest_of_compilation): Add pass numbers to dump file suffixes.
19757         Conditionalize calls to the scheduler.
19758         * invoke.texi: Update.
19760 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
19762         * flow.c (make_edges): Fix insn iteration.
19763         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
19764         (find_basic_blocks_1): Fix spelling mistake.
19766 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
19768         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
19769         always have side-effects.  Use memset not bzero.
19770         (make_node): Likewise.
19772 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
19774         * stmt.c (expand_anon_union_decl): When any of the elements of the
19775         union is addressable, so is the entire union.
19777 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
19779         * sbitmap.c (sbitmap_ones): Don't set too many bits.
19781         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
19782         * bitmap.c (bitmap_operation): Return true iff TO changed.
19783         (bitmap_equal_p): New.
19784         (bitmap_bit_p): Tidy arithmetic.
19785         (debug_bitmap_file): Likewise.
19787 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
19789         * toplev.c (rest_of_compilation): Turn on cse_not_expected
19790         before cse2 instead of after.
19792 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
19794         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
19795         register offsets.
19797 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19799         * cppinit.c (is_idchar initializer): Loosen tests to accept
19800         gcc 2.>6 and >2.
19802 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
19804         * mips.md: Define conditional move patterns for floating point
19805         operands and DI mode conditions.
19807 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
19809         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
19810         always have side-effects.
19812 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
19814         * mn10200.c (asm_file_start): Fix typo.
19816         * cppinit.c (is_idchar initializer): Tighten tests for when
19817         to put the table into initialized memory.
19819         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
19820         not an array of rtunion.
19821         * gcc-page.c (ggc_alloc_rtvec): Similarly.
19822         * gcc-simple (ggc_free_rtvec): Similarly.
19824         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
19825         of rtunions.
19827         * mbchar.h: Add missing #endif.
19829         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
19830         (FPBIT, DPBIT): Define.
19832 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19834         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
19836         * profile.c (instrument_arcs, output_gcov_string,
19837         tablejump_entry_p): Add static prototypes.
19838         (output_gcov_string): Constify a char*.
19840         * regmove.c (replacement_quality, fixup_match_2): Add static
19841         prototypes.
19843         * resource.h (reg_dead_p): Add extern prototype.
19845         * rtl.c (trim_filename): Add static prototype.
19847         * scan-decls.c (skip_to_closing_brace): Likewise.
19849         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
19850         (expand_end_case): Initialize variable `range'.
19851         (emit_case_nodes): Remove unused prototype `rtx_fn'.
19853         * varasm.c (asm_emit_uninitialised): Add static prototype.
19854         (asm_emit_uninitialised, assemble_variable): Mark parameter with
19855         ATTRIBUTE_UNUSED.
19857 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19859         * cpplib.c (if_directive_nameo): Add static prototype.
19861         * cse.c (cse_insn): Remove unused variable `p'.
19863         * except.c (create_rethrow_ref, push_entry,
19864         receive_exception_label, new_eh_region_entry, find_func_region,
19865         clear_function_eh_region, process_nestinfo): Add static prototypes.
19866         (get_reg_for_handler): Hide definition.
19867         (process_nestinfo): Initialize variable `extra_handlers'.
19869         * expr.h (expand_builtin_longjmp): Add extern prototype.
19871         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
19873         * function.c (prepare_function_start): Likewise.
19874         (pop_function_context_from): Mark parameter `context' with
19875         ATTRIBUTE_UNUSED.
19876         (push_temp_slots_for_block, flush_addressof): Hide definition.
19878         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
19879         solve_program_flow_graph, calculate_branch_probs,
19880         function_summary, main, fancy_abort): Add prototypes.
19882         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
19883         (add_hash): Constify a char*.
19885         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
19886         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
19887         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
19889         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
19891         * lists.c (free_list, zap_lists): Likewise.
19893 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19895         * alias.c (nonlocal_reference_p): Add static prototype.
19897         * bitmap.c (bitmap_element_allocate): Prototype args in function
19898         pointer cast.
19900         * builtins.c (stabilize_va_list): Add static prototype.
19901         (expand_builtin_va_arg): Constify a char*.
19903         * c-lex.c (getch, put_back, extend_token_buffer_to,
19904         read_line_number, token_getch, token_put_back): Add static
19905         prototypes.
19907         * c-parse.gperf (hash, is_reserved_word): Likewise.
19909         * cccp.c (is_dir_separator): Likewise.
19911 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19913         * graph.h: New file to prototype functions exported by graph.c.
19915         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
19917         * graph.c: Include graph.h.
19919         * toplev.c: Likewise.  Remove redundant prototypes.
19921 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
19923         * invoke.texi: Removed duplicated description for -Q.
19925 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
19927         * extend.texi: Grammar fix in __extension__ text.
19929 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
19931         * md.texi (define_peephole2): New section.
19933 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
19935         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
19936         (mov $-1 to or peepholer): Enable for pentium when optimizing for
19937         speed.
19939 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
19941         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
19943 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
19945         * i386.md (ffs expander): Emit Pentium friendly code for
19946         TARGET_PENTIUM.
19948 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
19950         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
19951         for non-trees.
19952         (build1): Likewise.
19954 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19956         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
19958 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
19960         * config/m68k/m68k.c (use_return_insn): Return false if the pic
19961         register is in use.
19963 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19965         * md.texi (No Constraints): Delete section.
19966         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
19967         * final.c (final_scan_insn): We always have register constraints.
19968         * genattrtab.c: Don't include "insn-config.h".
19969         (write_attr_case): We always have register constraints.
19970         * genconfig.c (register_constraint_flag): Delete.
19971         (walk_insn_part): Don't check whether we have register constraints.
19972         (main): Don't write out "#define REGISTER_CONSTRAINTS".
19973         * genoutput.c (have_constraints): Delete.
19974         (main): Don't set it.
19975         (output_operand_data): We always have constraints.
19976         (scan_operands): Likewise.
19977         (compare_operands): Likewise.
19978         * local-alloc.c (block_alloc): We always have constraints.
19979         (requires_inout): Always compile this function.
19980         * recog.c (extract_insn): We always have constraints.
19981         (constrain_operands, reg_fits_class_p): Always compile these
19982         functions.
19983         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
19984         fields.
19985         (struct insn_operand_data): Likewise.
19986         * regclass.c (regclass): We always have constraints.
19987         (record_reg_classes, copy_cost, record_address_regs,
19988         auto_inc_dec_reg_p): Always compile these functions.
19989         * regmove.c (regmove_optimize): We always have constraints.
19990         * reload.c (find_reloads): Likewise.
19991         * reload1.c (reload): Likewise.
19992         (reload_cse_simplify_operands): Likewise.
19993         * i860.c (output_delay_insn): Likewise.
19995 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
19997         * iris6.h (BUILD_VA_LIST_TYPE): Define.
19999 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20001         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
20002         for the va_list record.
20004 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
20006         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
20007         prologues.
20009 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
20011         * alias.c: Include insn-flags.h.
20012         * Makefile.in (alias.o): Update.
20014 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
20016         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
20017         to LTU and GEU.  Handle more cases using sbb.
20019 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
20021         * i386.md (truncatexfdf splitters): Do not use subreg.
20022         (fop XFmode patterns): Fix mode in operand testing.
20024 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
20026         * jump.c (jump_optimize_1): Amend last change to test only the
20027         form of the operand, not the insn.
20029         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
20030         not register_operand to determine when B may need preloading.
20032 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
20034         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
20035         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
20036         (call-value patterns): Move to end of file.
20037         (*): Remove mode from label_ref in (pc) context.
20038         (movstrqi): Use memory not general_operand for BLKmode operands.
20039         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
20040         to register_operand operands.
20041         (peep2 patterns): Convert from commented-out peephole patterns.
20043 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20045         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
20046         to BUILT_IN_INIT_DWARF_REG_SIZES.
20047         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
20048         Renamed from BUILT_IN_DWARF_REG_SIZE; call
20049         expand_builtin_init_dwarf_reg_sizes.
20050         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
20051         with __builtin_init_dwarf_reg_size_table.
20052         * dwarf2out.c (struct reg_size_range): Delete.
20053         (expand_builtin_init_dwarf_reg_sizes): New function.
20054         (expand_builtin_dwarf_reg_size): Delete.
20055         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
20056         (expand_builtin_dwarf_reg_size): Don't declare.
20057         * libgcc2.c (dwarf_reg_size_table_initialized): New.
20058         (dwarf_reg_size_table): New.
20059         (init_reg_size_table): New function.
20060         (copy_reg): Use dwarf_reg_size_table.
20061         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
20062         before use.
20064 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
20066         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
20067         Correctly build argument list to constructor and destructor functions.
20069 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
20071         * c-tree.h (warn_float_equal): Declare.
20072         * c-decl.c (warn_float_equal): Define.
20073         (c_decode_option): Recognize -W[no-]float-equal.
20074         * c-typeck.c (build_binary_op): Conditionally warn
20075         about equality tests of floating point types.
20076         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
20077         * invoke.texi: Add docs for -Wfloat-equal warning.
20079 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
20081         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
20082         generating RTL directly.
20083         * mips.h (INIT_TARGET_OPTABS): Likewise.
20084         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
20086         * expr.h (init_mov_optab): Delete declaration
20088         * h8300.c (WORD_REG_USED): Update to avoid useless register
20089         saves in interrupt functions and functions which never return.
20091         * cse.c (struct set): Delete inner_dest_loc field.
20092         (cse_insn): Remove assignments to inner_dest_loc field.
20094 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
20096         * ggc-page.c: Don't include <unistd.h> etc taken care of
20097         by "system.h".  Include <sys/mman.h> afterward.
20099 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
20101         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
20102         ggc_alloc_string.
20104 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
20106         * xcoffout.c (xcoffout_declare_function): Add documentation.
20107         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
20108         TARGET_64BIT.  Compare constant to -1, not bit pattern.
20109         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
20110         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
20111         gen_movsi typos.
20113 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
20115         * dwarf2out.c (add_abstract_origin_attribute): Abort if
20116         origin_die is NULL.
20117         (gen_inlined_enumeration_type_die): Do not abort if the type has
20118         not been writeen out.
20119         (gen_inlined_structure_type_die): Do not abort if the type has
20120         not been writeen out.
20121         (gen_inlined_union_type_die): Do not abort if the type has
20122         not been writeen out.
20123         (gen_tagged_type_instantiation_die): Do not abort if the type
20124         has not been written out.
20126 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20128         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
20129         call it.
20130         * reg-stack.c (straighten_stack): Copy hard reg set with
20131         COPY_HARD_REG_SET.
20133 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
20135         * builtins.c (stabilize_va_list): Stabilize array type va_list
20136         to a pointer type, not the base record type.
20137         (expand_builtin_va_copy): Dereference the pointers explicitly;
20138         use the correct size for the copy.
20140         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
20141         (rs6000_va_arg): Likewise.
20143 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
20145         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
20147 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
20149         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
20150         field.
20151         (DECL_BUILT_IN_CLASS): Adjust accordingly.
20153 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
20155         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
20156         (init_ggc): Use it instead of a constant.
20157         (ggc_collect): Bound allocated_last_gc by it.
20159 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
20161         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
20162         with va_list.
20164 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
20166         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
20167         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
20168         * configure:  Regen.
20169         * config/mips/openbsd.h:  New, OpenBSD little endian target.
20170         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
20171         * config/mips/xm-openbsd.h:  New, OpenBSD host.
20173 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
20175         * config/m68k/m68k.c (output_function_prologue,
20176         output_function_epilogue): Use
20177         current_function_uses_pic_offset_table instead of regs_ever_live
20178         to decide whether to save/restore pic register.
20179         (legitimize_pic_address): Don't modify regs_ever_live any more.
20181 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
20183         * function.h (struct function): Add x_dont_save_pending_sizes_p.
20184         * stor-layout.c (variable_size): Don't add sizes to the pending
20185         sizes list if x_dont_save_pending_sizes_p is set.
20187 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
20189         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
20190         for symbolic_operand().
20191         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
20193 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20195         * combine.c (gen_rtx_combine): Add missing call to va_end().
20197         * final.c (asm_fprintf): Likewise.
20199         * genattrtab.c (attr_rtx): Likewise.
20201 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
20203         * cse.c: Update comments.
20204         (cse_insn): When converting a conditional/computed jump into
20205         an unconditional jump, always make sure a BARRIER immediately
20206         follows the converted jump.  Do not delete unreachable code.
20207         (cse_basic_block): Do not delete unreachable code.
20208         * toplev.c (rest_of_compilation): Move call to
20209         delete_trivially_dead_insns after the conditional call to
20210         jump_optimize.
20212 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20214         * collect2.c (make_temp_file): Don't prototype.
20216         * gcc.c (make_temp_file): Likewise.
20218         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
20220 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
20222         * varasm.c (asm_emit_uninitialised): New function: Generate
20223         the assembler statements necessary to declare an uninitialised
20224         variable.
20225         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
20226         variable.
20227         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
20228         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
20229         section.
20230         (assemble_variable): Use asm_emit_uninitialised to emit an
20231         uninitialised variable.
20233 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
20235         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
20236         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
20237         <geoffk@cygnus.com>.
20239 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20241         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
20242         * c-common.h (builtin_function): Don't declare.
20244         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
20245         DECL_BUILT_IN.
20246         (pushdecl): Likewise.
20247         (finish_decl): Likewise.
20248         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
20249         int.  All callers changed.
20250         Set the builtin's DECL_BUILT_IN_CLASS.
20251         * tree.h (enum built_in_class): New.
20252         (enum built_in_function): Delete NOT_BUILT_IN.
20253         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
20254         in a union.
20255         (DECL_SET_FUNCTION_CODE): Likewise.
20256         (DECL_BUILT_IN_CLASS): New macro.
20257         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
20258         (struct tree_decl): Split builtin function code field into a
20259         struct.
20260         (builtin_function): Declare.
20262 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
20264         * optabs.c (init_traps): Fix typo in last change.
20266 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
20268         * toplev.c (rest_of_decl_compilation): Update comment.
20270 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
20272         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
20273         in .sbss if appropriate.
20274         (EXTRA_SECTION_FUNCTIONS): Add sbss.
20275         (SBSS_SECTION_ASM_OP): New macro.
20276         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
20277         (EXTRA_SECTIONS): Add in_sbss.
20278         * config/mips/mips.h: Prototype sbss_section.
20280 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
20282         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
20283         to disappear.
20285 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
20287         * optabs.c (init_traps): Register trap_rtx as a GC root.
20289 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20291         * config/mips/mips.c (function_arg_pass_by_reference): Define
20292         unconditionally, since it's called unconditionally.
20294 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
20296         * toplev.c (documented_lang_options): Add -fshort-wchar.
20297         * c-decl.c (c_decode_option): Likewise.
20298         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
20299         for wchar_t.
20300         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
20301         * gcc.c (default_compilers): If -fshort-wchar,
20302         override __WCHAR_TYPE__.
20303         * tm.texi (C Dialect Options): Add -fshort-wchar.
20305         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
20306         symbol for a variable.
20308         * cpplib.h (CPP_PREPROCESSED): New macro.
20309         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
20310         we're seeing this input for a second time.
20312 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
20314         * emit-rtl.c (init_emit_once): Initialize modes first.
20316 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
20318         * config/i386/i386.c (pic_label_name): Change to char pointer.
20319         (global_offset_table): New variable.
20320         (load_pic_register): Fill global_offset_table if it hasn't
20321         already been done.  Allocate pic_label_name dynamically.
20322         * ggc.h (empty_string): New variable.
20323         * ggc-simple.c (empty_string): Likewise.
20324         (init_ggc): Allocate empty_string and add as root.
20325         * stmt.c (digit_strings): New variable.
20326         (init_stmt): Add last_block_end_note as root.  Allocate and
20327         initialize digit_strings.
20328         (expand_asm_operands): Use empty_string instead of string
20329         constant.  Use digit_strings instead of string constants.
20330         * profile.c (init_arc_profiler): Allocate string with
20331         ggc_alloc_string instead of xmalloc.
20332         (output_func_start_profiler): Likewise.
20333         * c-typeck.c (digest_init): Check if init is error_mark_node.
20335 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
20336                           Richard Henderson  <rth@cygnus.com>
20338         * ggc-page.c: New file.
20339         * Makefile.in (ggc-page.o): New.
20341 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
20343         * invoke.texi: Document -fdelete-null-pointer-checks
20344         * toplev.c (flag_delete_null_pointer_checks): New.
20345         (f_options): Add entry for -fdelete-null-pointer-checks.
20346         (rest_of_compilation): Conditionalize null pointer check
20347         elimination on flag_delete_null_pointer_checks.
20348         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
20350 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
20352         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
20353         copyright notice and special exception to GPL.
20355 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20357         * abi64.h (mips_function_value): Add prototype arguments.
20359         * mips-protos.h: New file with mips prototypes.
20361         * mips.c: Include "tm_p.h".
20362         (mktemp, lookup_name): Add prototype arguments.
20363         (extern_list, string_constant, mips_fill_delay_slot,
20364         mips_output_external, mips_output_external_libcall,
20365         mips_output_filename, mips_declare_object, function_prologue,
20366         mips_expand_prologue, function_epilogue, mips16_constant,
20367         build_mips16_function_stub, mips_output_conditional_branch):
20368         Constify a char*.
20369         (mips_va_start): Remove unused variable `u'.
20370         (mips_va_arg): Cast value to unsigned when comparing against one.
20371         (trace): Delete.
20372         (save_restore_insns, mips_expand_prologue): Add missing arg in
20373         call to `large_int'.
20375         * mips.h: Move prototypes to mips-protos.h.
20376         (data_section, memory_address_p, rdata_section,
20377         readonly_data_section, simple_epilogue_p, text_section): Delete
20378         prototypes delcared elsewhere.
20379         (mips_epilogue_delay_slots, print_options): Delete unused decls.
20380         (trace): Delete.
20381         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
20383         * mips.md: Delete extra args in call to `mips_move_2words'.
20385         * xm-iris6.h (alloca): Add prototype argument.
20387         * genpeep.c: Include "tm_p.h" in generated output file.
20389 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20391         * basic-block.h (find_edge_index): Change parameters.
20392         * flow.c (verify_edge_list): Pass basic_block parameters to
20393         find_edge_index instead of integers.
20395 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
20397         * combine.c (simplify_comparison): Use an unsigned shift to adjust
20398         the constant.
20400 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
20402         * gcc.1: Fix a formatting error.
20404 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
20406         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
20407         i786, mn10200, mn10300, pdp11, v850.
20409 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
20411         * libgcc2.c (num_digits): Add prototype with
20412         __attribute__((const)).
20413         (__terminate): Add prototype.
20415 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
20417         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
20419         * alpha/alpha.c (print_operand): Fix type of `code'.
20420         (alpha_output_filename): Constify.
20421         * alpha/alpha.h: Move all function declarations ...
20422         * alpha/alpha-protos.h: ... here.  New file.
20423         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
20424         (SECTION_FUNCTION_TEMPLATE): Likewise.
20426 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20428         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
20429         * expr.c (expand_expr): Likewise.
20430         (do_jump): Likewise.
20431         (do_store_flag): Pass ccp_store_flag to can_compare_p.
20432         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
20433         accessor macros.
20434         (enum can_compare_purpose): New.
20435         (can_compare_p): Adjust prototype.
20436         (prepare_cmp_insn, prepare_operand): Declare.
20437         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
20438         * optabs.c (cmp_available_p): Deleted.
20439         (expand_abs): Pass ccp_jump to can_compare_p.
20440         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
20441         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
20442         Call can_compare_p rather than cmp_available_p.
20443         (prepare_operand): No longer static.
20444         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
20445         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
20446         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
20447         sequence to use emit_cmp_and_jump_insns.
20448         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
20450 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
20452         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
20453         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
20454         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
20455         (plus (reg) (const_int 0))
20456         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
20458 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
20460         * rs6000.c (expand_block_move): DImode loads and stores require
20461         word-aligned displacements.  Increment address registers with
20462         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
20464 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
20466         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
20467         is no name for the base type, rather than segfault.  If we are
20468         writing out a complex integer type, use DW_ATE_lo_user.
20470         * expr.c (emit_move_insn_1): If we are copying a complex that fits
20471         in one word or less (complex char, complex short, or on 64 bit
20472         systems complex float) to/from a hard register, copy it through
20473         memory instead of dying in gen_{real,imag}part.  If we have a
20474         short complex type, prevent inlining since it allocates stack
20475         memory.
20477         * tree.c (build_complex_type): If we are writing dwarf2 output,
20478         generate a name for complex integer types.
20480 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20482         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
20483         * flow.c (remove_edge): Remove extra whitespace.
20484         (remove_fake_edges): Fix comment.
20485         (add_noreturn_fake_exit_edges): Use the correct name.
20487 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
20489         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
20490         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
20491         (clean): Depend on INTL_CLEAN.
20492         (maintainer-clean): Adjust.
20494 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20496         * configure.in (AC_PREREQ): Bump to 2.13.
20497         (AC_C_STRINGIZE): Call this instead of using a custom macro.
20499         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
20501         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
20503         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
20505         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
20506         (HAVE_STRINGIZE): Define.
20508 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
20510         * c-parse.in: save and restore warn_pointer_arith on __extension__
20511         along with pedantic.
20512         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
20513         Set the type of extension to itype rather than $<itype>1 kludge.
20514         * extend.texi (Alternate Keywords): Adjust documentation.
20515         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
20517 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
20519         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
20520         most assembler templates.
20522         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
20523         FP loads and stores.
20524         (following_call): Always return zero for the PA8000.
20525         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
20526         FP loads and stores.
20527         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
20529         * pa.h (BRANCH_COST): Define.
20531         * pa.md (return, return_internal): Use bve for PA2.0.
20533         * pa.md (fused multiply): Add variants which reduce height for the
20534         fused multiply, but which still generate 2 insns.
20535         (fnegabs): Similarly.
20537         * pa.md (subsi3): Turn into an expander.  Create two anonymous
20538         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
20539         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
20541         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
20542         for TARGET_PA_20.
20543         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
20544         code generation.
20545         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
20546         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
20548         * regclass.c (init_regs): Add "top_of_stack" as a garbage
20549         collection root.
20551         * flow.c (record_active_eh_regions): Terminate loop after finding
20552         the last insn in the last basic block.
20554 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20556         * config/c4x/c4x.md: Delete parallel instruction peepholes.
20558 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20560         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
20562 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20564         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
20565         splitting to not use output template.
20567 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20569         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
20570         * config/c4x/c4x.c (c4x_va_start): New function.
20572 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
20574         * genrecog.c (not_both_true): Handle correctly cases when called for
20575         tests with different positions in the insn.
20577 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20579         * machmode.h (HOST_PTR_PRINTF): Move from here ...
20581         * system.h (HOST_PTR_PRINTF): ... to here.
20583         * mips-tfile.c: Don't include machmode.h.
20585         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
20586         (mips-tfile.o): Don't depend on machmode.h.
20588 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20590         * haifa-sched.c (sched_analyze): Rename local variable `region' to
20591         avoid conflicts with typedef struct `region' at the top level scope.
20593 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
20595         * basic-block.h (basic_block): Add eh_beg, eh_end.
20596         * flow.c (entry_exit_blocks): Update.
20597         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
20598         Call new functions.
20599         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
20600         lists.c functions to allocate insn lists.
20601         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
20602         edge creation ...
20603         (make_eh_edge): ... here.  New.
20604         (move_stray_eh_region_notes): New.
20605         (record_active_eh_regions): New.
20606         (delete_unreachable_blocks): Split out block merging ...
20607         (try_merge_blocks): ... here.  New.
20608         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
20609         Dump debugging data.
20610         (merge_blocks_move_successor_nojumps): Likewise.
20611         (merge_blocks): Use eh_beg+eh_end to validate block movement.
20613 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
20615         * extend.texi (Bound member functions): Document unbound pmf
20616         conversion.
20618 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20620         * flow.c (split_edge): Handle insertion on a fallthrough edge which
20621         has the EXIT_BLOCK as a dest.
20623 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20625         * flow.c (remove_edge): New function to remove an edge from the
20626         flow graph.
20627         (remove_fake_successors): New function to remove fake successor edges.
20628         (remove_fake_edges): New function to remove all fake edges from the
20629         flow graph.
20630         (add_fake_exit_edges): New function to add fake edges from all blocks
20631         with no successors to the exit block.
20632         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
20633         prototypes for new functions.
20635 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20637         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
20638         Use Pmode to determine whether to output .dword or .word.
20640 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
20642         * tree.c (built_in_filename): New variable.
20643         (BUILT_IN_FILENAME): New macro.
20644         (init_tree_codes): Allocate built_in_filename.
20645         (make_node): Use built_in_filename instead of string constant.
20647 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
20649         * configure.in: Add fr30 target.
20650         * configure: Regenerate.
20651         * config/fr30: New directory.
20652         * config/fr30/crti.asm: New file.
20653         * config/fr30/fr30.c: New file.
20654         * config/fr30/crtn.asm: New file.
20655         * config/fr30/fr30.h: New file.
20656         * config/fr30/fr30.md: New file.
20657         * config/fr30/lib1funcs.asm: New file.
20658         * config/fr30/t-fr30: New file.
20659         * config/fr30/xm-fr30.h: New file.
20661 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
20663         * flow.c (merge_blocks_move_successor_nojumps): Delete the
20664         BARRIER at the end of the successor, not the BARRIER before
20665         the successor.
20667         * pa.c (pa_add_gc_roots): Fix thinko in last change.
20669 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
20671         * stmt.c (any_pending_cleanups): Don't crash when
20672         current_function->stmt is unset.
20674 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20676         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
20677         other initializations that may use it for relative offsets.
20679 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20681         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
20682         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
20683         * config/i386/sol2dbg.h: Removed.
20684         * config/i386/sol2gas.h: New file, to enable gas work-around.
20685         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
20686         Don't use sol2dbg.h.
20687         * configure: Rebuilt.
20689 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
20691         * invoke.texi (-fthis-is-variable): Remove documentation.
20693 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
20695         * basic-block.h (compute_bb_for_insn): Declare.
20696         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
20697         to use; set size of basic_block_for_insn directly.
20698         (find_basic_blocks): Update.
20700 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20702         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
20704 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20706         * crtstuff.c (ON_EXIT): Delete empty macro definition.
20707         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
20709 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
20711         * c-decl.c (c_decode_option): Extend comment.
20713 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
20715         * toplev.c (progname): Make 'const char *'
20716         (flag_print_mem): Move out of main.
20717         (version_flag): Move out of main.
20718         (filename): Move out of main.
20719         (debug_args): Remove g prefix from options.
20720         (documented_lang_options): Remove cpplib specific options.
20721         (display_help): Add g prefix to debug options.
20722         (check_lang_option): Delete this function.
20723         (decode_d_option): New function: Decode -d... option.
20724         (decode_f_option): New function: Decode -f... option.
20725         (decode_W_option): New function: Decode -W... option.
20726         (decode_g_option): New function: Decode -g... option.
20727         (independent_decode_option): New function: Decode a language
20728         independent command line option.
20729         (main): Invoke lang_decode_option and then
20730         independent_decode_option on each command line option in
20731         turn.
20733 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
20735         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
20736          * fold-const.c (fold_range_test): Do not try to fold the range
20737          test if the rhs or lhs has side effects.
20739         * basic-block.h (compute_flow_dominators): Declare.
20741         * gcse.c (alloc_code_hoist_mem): New function.
20742         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
20743         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
20744         (hoist_code, one_code_hoisting_pass): Likewise.
20745         (gcse_main): If optimizing for size, then hoist expressions
20746         computed in multiple dominated basic blocks.
20748         * gcse.c (invalid_nonnull_info): New function.
20749         (delete_null_pointer_checks): Likewise.
20750         * rtl.h (delete_null_pointer_checks): Declare.
20751         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
20753         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
20754         (merge-blocks_move_successor_nojumps): Likewise.
20755         (merge_blocks): Allow merging of some blocks, even if it requires
20756         physical movement of the blocks, but not if it requires new jumps.
20758         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
20759         Callers and prototype changed.
20760         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
20762 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20764         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
20765         -YP when both -p and -pg are present.  From i386/sol2.h.
20767 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20769         * Makefile.in (distclean): Delete tm_p.h.
20770         * configure.in: Create a new file, "tm_p.h", from a list in
20771         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
20772         "i386/i386-protos.h".
20774         * alias.c: Include "tm_p.h".
20775         * c-typeck.c: Likewise.
20776         * calls.c: Likewise.
20777         * cse.c: Likewise.
20778         * emit-rtl.c: Likewise.
20779         * explow.c: Likewise.
20780         * expmed.c: Likewise.
20781         * expr.c: Likewise.
20782         * final.c: Likewise.
20783         * flow.c: Likewise.
20784         * fold-const.c: Likewise.
20785         * function.c: Likewise.
20786         * gcse.c: Likewise.
20787         * global.c: Likewise.
20788         * haifa-sched.c: Likewise.
20789         * integrate.c: Likewise.
20790         * jump.c: Likewise.
20791         * local-alloc.c: Likewise.
20792         * loop.c: Likewise.
20793         * optabs.c: Likewise.
20794         * recog.c: Likewise.
20795         * reg-stack.c: Likewise.
20796         * regclass.c: Likewise.
20797         * regmove.c: Likewise.
20798         * reload.c: Likewise.
20799         * reload1.c: Likewise.
20800         * reorg.c: Likewise.
20801         * resource.c: Likewise.
20802         * stmt.c: Likewise.
20803         * stor-layout.c: Likewise.
20804         * toplev.c: Likewise.
20805         * tree.c: Likewise.
20806         * unroll.c: Likewise.
20807         * genattrtab.c (main): Make generated file include "tm_p.h".
20808         * genemit.c (main): Likewise.
20809         * genoutput.c (main): Likewise.
20810         * genrecog.c (main): Likewise.
20812         * i386.h: Delete all prototypes.
20813         * i386.c: Include "tm_p.h".
20814         (ix86_attr_length_default): Call constant_call_address_operand
20815         with correct number of arguments.
20816         * i386-protos.h: New file.
20817         * i386.md (unnamed patterns): Call constant_call_address_operand
20818         with correct number of arguments.
20819         (exception_receiver): Call load_pic_register with correct number
20820         of arguments.
20822 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
20824         * c-pragma.c (mark_align_stack): Dereference the void* properly.
20826 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
20828         * rtl.h (insns_safe_to_move_p): New function.
20829         * loop.c (find_and_verify_loops): Use it.
20830         * rtlanal.c (insns_safe_to_move_p): Define it.
20832 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
20834         * c-pragma.c: Include ggc.h.
20835         * Makefile.in (c-pragma.o): Update.
20837 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20839         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
20840         (LIB_SPEC): Likewise.
20841         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
20842         Reindent -YP/-p/-pg.
20843         Copied from config/sparc/sol2.h.
20845 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
20847         * c-pragma.c (mark_align_stack): New.
20848         (init_pragma): New.
20849         * c-pragma.h (init_pragma): Declare it.
20850         * c-lex.c (init_parse): Call it.
20852 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20854         * configure.in: Pick up thread library on Solaris/x86 just
20855         like on Solaris/sparc.
20856         * configure: Rebuilt.
20858 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
20860         * rtl.h (global_rtx_index): New enum.
20861         (global_rtl): Change to array of rtx.
20862         (pc_rtx, cc0_rtx): Redefine accordingly.
20863         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
20864         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
20865         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
20866         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
20867         (const_int_rtx): Change to array of rtx.
20868         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
20869         accordingly.
20870         * emit-rtl.c (global_rtl): Change to array of rtx.
20871         (const_int_rtx): Change to aray of rtx.
20872         (gen_rtx_CONST_INT): Redefine accordingly.
20873         (init_emit_once): Allocate and initialize global_rtl.  Likewise
20874         for const_int_rtx.  Add both as GC roots.
20875         * genattrtab.c (global_rtl): Update declaration.
20877 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
20879         * Makefile (USER_H): Add iso646.h back.
20881 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
20883         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
20884         zapping the LOG_LINKS of sched_before_next_call.
20886         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
20887         * pa.c (insn_refs_are_delayed): Renamed from
20888         insn_sets_and_refs_are_delayed.
20890 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
20892         * functiion.h (struct function): Add x_whole_function_mode_p.
20893         (retrofit_block): Declare.
20894         * function.c (retrofit_block): New function.
20895         (identify_blocks): Add assertions.  Allow an incomplete set of
20896         block notes if we're still generating code for the function.
20897         * integrate.c: Include loop.h.
20898         (expand_inline_function): Call find_loop_tree_blocks to map block
20899         notes to blocks when in whole-function mode.  Use retrofit_block
20900         to insert new BLOCKs for the inlined function, rather than
20901         insert_block.
20902         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
20903         * Makefile.in (integrate.o): Depend on loop.h.
20905 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20907         * tree.h (warn_about_unused_variables): Declare.
20908         * stmt.c (warn_about_unused_variables): New function, split out
20909         from ...
20910         (expand_end_bindings): Here.
20912 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
20914         * stmt.c (preserve_subexpressions_p): Don't crash when
20915         current_function->stmt is unset.
20917 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
20919         * stmt.c (expand_start_bindings): Allow callers to pass a flag
20920         indicating that no NOTE_INSN_BLOCK_BEG note is required.
20921         (expand_start_target_temps): Use it.
20922         * except.c (expand_eh_region_start_for_decl): Likewise.
20923         * expr.c (expand_expr): Likewise.
20925 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20927         * fold-const.c (operand_equal_p): Pay attention to side effects.
20929 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
20931         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
20932         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
20934         * tlink.c (scan_linker_output): Look for keywords before accepting
20935         a mangled name in quotes.
20937 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
20939         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
20940         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
20942 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
20944         * alpha.md: Revert Thu Nov 26 change that came in through the
20945         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
20946         Avoid earlyclobber when possible.
20948 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20950         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
20952         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
20953         Define HAVE_ON_EXIT.
20955 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20957         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
20958         CTYPE_CONV in all ctype macros.
20960         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
20961         from system.h.
20963         * cexp.y (initialize_random_junk): Likewise.
20965         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
20967         * i370.c (handle_pragma): Likewise.
20969         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
20971         * v850.c (override_options): Likewise.
20973         * doprint.c (_doprnt): Likewise.
20975         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
20976         Likewise.
20978         * fixinc/server.c (load_data): Likewise.
20980         * fold-const.c (real_hex_to_f): Likewise.
20982         * genattr.c (write_upcase, gen_attr): Likewise.
20984         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
20985         write_upcase): Likewise.
20987         * genemit.c (print_code): Likewise.
20989         * genopinit.c (gen_insn): Likewise.
20991         * genpeep.c (print_code): Likewise.
20993         * genrecog.c (print_code): Likewise.
20995         * optabs.c (init_libfuncs): Likewise.
20997 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
20999         * haifa-sched.c (sched_analyze): Keep the list of notes organized
21000         in pairs.
21001         (reemit_notes): Likewise.
21003 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
21005         * ggc.h (ggc_root): Move to ggc-common.c.
21006         (roots): Remove.
21007         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
21008         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
21009         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
21010         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
21011         * ggc-common.c (ggc_root): Move from ggc.h.
21012         (roots): Declare, static.
21013         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
21014         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
21015         null or check/set mark bit.
21016         (ggc_mark_roots): New.
21017         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
21019 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
21021         * m32r.c: Include toplev.h.
21022         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
21023         (gen_compare): Rename swap_p to must_swap to match uses.
21024         Add default abort case.
21025         (m32r_output_function_epilogue): Remove unused variables.
21026         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
21027         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
21028         define to empty parameter list.  Update all uses.
21029         (predicate decls): Use enum machine_mode not int.
21030         * m32r.md (movsi): Call abort, not fatal_insn.
21031         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
21033 1999-09-14  Andrew Haley  <aph@cygnus.com>
21035         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
21036         use $0 instead of 0.
21038 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21040         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
21041         computation out of loop over hard regs.
21043 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
21045         * function.c (identify_blocks): Don't shadow a variable in an
21046         outer scope.
21047         * integrate.c (integrate_decl_tree): Don't use pushlevel,
21048         pushdecl, or poplevel to build up the new BLOCK tree.
21049         (expand_inline_function): Likewise.
21050         (integrate_parm_decls): Likewise.
21052 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
21054         * c-typeck.c (qualify_type): Merge qualifiers from both types.
21056 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
21058         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
21059         * invoke.texi: Document this change.
21061 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
21063         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
21064         Free the struct.
21065         (mark_emit_status): Renamed from mark_emit_state.
21066         * except.c (mark_eh_status): Renamed from mark_eh_state.
21067         Check not null before marking.
21068         (free_eh_status): New.
21069         * expr.c (mark_expr_status, free_expr_status): New.
21070         * function.c (free_machine_status): New.
21071         (free_after_parsing): New.
21072         (free_after_compilation): Move bits to free_after_parsing; call
21073         free_eh_status, free_expr_status; zero the marked members of the
21074         function state.
21075         (prepare_function_start): No can_garbage_collect.
21076         Call init_eh_for_function.
21077         (expand_dummy_function_end): Free up current_function state.
21078         (mark_function_status): Renamed from mark_function_state.
21079         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
21080         * function.h (struct function): No can_garbage_collect.
21081         (free_machine_status, free_after_parsing): Declare.
21082         (free_eh_status, free_expr_status): Declare.
21083         * ggc.h (mark_expr_status): Declare.
21084         * stmt.c (free_stmt_status): Free the struct.
21085         (mark_stmt_status): Renamed from mark_stmt_state.
21086         (init_stmt): Don't call init_eh.
21087         (init_stmt_for_function): Don't call init_eh_for_function.
21088         * toplev.c (compile_file): Call init_eh.
21089         (rest_of_compilation): Free basic block info before ggc_collect.
21090         Call free_after_parsing; conditionally call free_after_compilation.
21091         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
21092         Check not null before marking.
21093         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
21095 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
21097         * c-lex.c (yylex): Initialize warn.
21099 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
21101         * pa.c (emit_move_sequence): Properly set the mode of the scratch
21102         register when performing secondary reloads for the SAR register.
21104 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
21106         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
21107         (NOTE_BLOCK): New macro.
21108         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
21109         * function.h (identify_blocks): Change prototype.
21110         * function.c (identify_blocks): Simplify.
21111         (reorder_blocks): Likewise.
21112         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
21113         NOTE_INSN_BLOCK_{BEG,END}.
21114         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
21115         the list of saved notes if the note isn't a
21116         NOTE_INSN_BLOCK_{BEG,END}.
21117         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
21118         NOTE_BLOCK_NUMBER.
21119         (reemit_notes): Adjust recreation of notes to reflect new saved
21120         note structure.
21121         * print-rtl.c (print_rtx): Print the address of the BLOCK when
21122         printing a block note.
21123         * stmt.c (block_vector): Remove.
21124         (find_loop_tree_blocks): Simplify.
21125         (unroll_block_trees): Likewise.
21126         * tree.h (reorder_block): Change prototype.
21128 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
21130         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
21131         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
21132         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
21133         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
21134         (atexit, exit): Simplify.
21135         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
21136         * config/lots: Remove defns of HAVE_ATEXIT.
21138 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
21140         * calls.c (precompute_arguments): Fix typo in comment.
21141         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
21142         TARGET_EXPR.
21144 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
21146         * dsp16xx.c (override_options): Fix typos in GC root registration.
21148 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
21150         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
21151         from config/svr4.h.
21152         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
21153         (FUNCTION_PROFILER): Redefine appropriately for Linux.
21154         (CC1_SPEC): Likewise.
21156 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21158         * genattr.c (main): Add extern prototype.  Call return, not exit.
21159         * genattrtab.c (main): Likewise.
21160         * gencheck.c (main): Likewise.
21161         * gencodes.c (main): Likewise.
21162         * genconfig.c (main): Likewise.
21163         * genemit.c (main): Likewise.
21164         * genextract.c (main): Likewise.
21165         * genflags.c (main): Likewise.
21166         * gengenrtl.c (main): Likewise.
21167         * genopinit.c (main): Likewise.
21168         * genoutput.c (main): Likewise.
21169         * genpeep.c (main): Likewise.
21170         * genrecog.c (main): Likewise.
21172         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
21173         * genattrtab.c (get_insn_name): Likewise.
21174         * gencodes.c (get_insn_name): Likewise.
21175         * genconfig.c (get_insn_name): Likewise.
21176         * genemit.c (get_insn_name): Likewise.
21177         * genextract.c (get_insn_name): Likewise.
21178         * genflags.c (get_insn_name): Likewise.
21179         * genopinit.c (get_insn_name): Likewise.
21180         * genpeep.c (get_insn_name): Likewise.
21182         * gencheck.c (usage): Add static prototype.
21183         * genextract.c (print_path): Constify a char*.
21184         * genopinit.c (optabs): Likewise.
21185         * genoutput.c (operand_data, data, output_predicate_decls,
21186         compare_operands): Likewise.
21187         * genrecog.c (write_tree): Add default case in switch.
21189 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21191         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
21193         * print-rtl.c (get_insn_name): Remove prototype.
21195         * toplev.h (progname): Declare const.
21197         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
21198         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
21199         dump_sched_info, dump_local_alloc, regset_release_memory,
21200         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
21201         error_with_file_and_line, error_with_decl, error_for_asm, error,
21202         fatal, warning_with_file_and_line, warning_with_decl, warning,
21203         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
21204         Remove redundant prototypes.
21206         (notice, check_lang_option, report_file_and_line, vnotice,
21207         mark_file_stack): Add static prototype.
21208         (set_fatal_function): Add prototype.
21209         (vnotice, report_file_and_line, set_fatal_function,
21210         check_lang_option): Constify a char*.
21211         (main): Prototype.  Call return, not exit.
21213 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21215         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
21217         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
21219         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
21221         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
21223 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21225         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
21226         behave as if it's zero in all cases.
21227         (expand_function_start): Adjust call to assign_parms.
21228         * tree.h (assign_parms): Adjust prototype.
21229         * objc/objc-act.c (hack_method_prototype): Adjust call to
21230         assign_parms.
21232 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
21234         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
21235         arg_pointer_rtx fixed if the argument pointer register is
21236         not fixed.
21237         (NONZERO_BASE_PLUS_P): Likewise.
21239 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
21241         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
21242         match_insn2 to match_insn.
21243         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
21245 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
21247         * Makefile.in (USER_H): Remove va-foo.h.
21249         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
21250         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
21251         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
21252         va-spur.h,va-v850.h}: Remove.
21254 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
21256         * sparc/sparc.md (eligible_for_return_delay): New attribute.
21257         (in_return_delay): Use it instead of match_insn.
21259 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21261         * config/alpha/va_list.h (va-alpha.h): Do not include.
21262         (__gnuc_va_list): Typedef as in varargs.h.
21264 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
21266         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
21267         DECL_LIVE_RANGE_RTL.
21269 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
21271         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
21272         not NOTE_BLOCK_NUMBER.
21273         (expand_eh_region_end): Likewise.
21274         (find_exception_handler_labels): Likewise.
21275         (scan_region): Likewise.
21276         (exception_optimize): Likewise.
21277         (update_rethrow_references): Likewise.
21278         (set_insn_eh_region): Likewise.
21279         * final.c (final_scan_insn): Likewise.
21280         * flow.c (make_edges): Likewise.
21281         * integrate.c (expand_inline_function): Likewise.
21282         * print-rtl.c (print_rtx): Likewise.
21284 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
21286         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
21287         terms of builtin functions and types.
21289         * mips.c (mips_build_va_list): New.
21290         (mips_va_start, mips_va_arg): New.
21291         * mips.h (BUILD_VA_LIST_TYPE): New.
21292         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21294         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
21295         (sh_build_va_list, sh_va_start, sh_va_arg): New.
21296         * sh.h (BUILD_VA_LIST_TYPE): New.
21297         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21299 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
21301         * recog.h (struct recog_data): Make dup_num, operand_address_p,
21302         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
21303         (struct insn_data): Likewise with n_operands, n_dups,
21304         n_alternatives, output_format.
21305         * regclass.c (scan_one_insn): Cast n_operands to int before
21306         arithmetic inside comparison.
21308 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
21310         * toplev.c (compile_function): Unconditionally emit nop.
21312 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21314         * haifa-sched.c (actual_hazard): Move declaration of variable
21315         `this_cost' into the scope where it is used.
21317 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21319         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
21320         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
21321         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
21323         * genrecog.c (make_insn_sequence): Call memset, not bzero.
21325         * jump.c (find_insert_position): Don't declare or define unless
21326         !HAVE_conditional_arithmetic.
21327         (returnjump_p_1, delete_prior_computation): Add static prototypes.
21329         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
21331         * recog.c (offsettable_address_p): Prototype function pointer.
21332         (preprocess_constraints): Call memset, not bzero.
21334         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
21335         (gcc_obstack_init): Don't declare.
21336         (fix_sizetype): Add static prototype.
21337         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
21338         (tree_cons): Call memset, not bzero.
21340         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
21341         definition in macro ASM_WEAKEN_LABEL.
21342         (mark_const_hash_entry): Add static prototype.
21344 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21346         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
21348         * unroll.c (find_common_reg_term, subtract_reg_term,
21349         loop_find_equiv_value): Add static prototypes.
21350         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
21351         (copy_loop_body): Remove unreachable break statement.
21353         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
21355         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
21357 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21359         Undo some changes from the gcc2 merge:
21360         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
21361         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
21362         pointers.
21364         Undo this change:
21365         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
21366         * emit-rtl.c (gen_lowpart_common): Disable optimization of
21367         initialized float-int union if the value is a NaN.
21369 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21371         * gthr-win32.h: New file.
21373         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
21374         shared as a valid attribute.
21375         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
21376         * extend.texi: Document `shared' variable attribute.
21378 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
21380         * configure.in: Handle --enable-threads on FreeBSD.
21381         * configure: Rebuit.
21383 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
21385         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
21386         thread support.
21387         * configure: Rebuilt.
21389 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
21390                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
21391                           Rosimildo DaSilva <rdasilva@connecttel.com>
21393         * configure.in (m68k-*-rtemscoff*): Added.
21394         * configure.in (mips64orion-*-rtems*): Converted to ELF.
21395         * configure.in (sparc-*-rtemsaout*): Added as alias for old
21396         sparc-rtems configuration.
21397         * configure.in (sparc-*-rtemself*): Added.
21398         * configure.in (sparc-*-rtems*): Now ELF not a.out.
21399         * config/i386/rtems.h: Added comment.
21400         * config/sparc/rtemself.h: New file.
21402         * configure.in (m68k-rtemself): Added.
21403         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
21404         and DWARF_DEBUGGING_INFO.
21405         * config/m68k/crti.s: New file.
21406         * config/m68k/crtn.s: New file.
21407         * config/m68k/t-crtstuff: New file.
21408         * config/m68k/rtemself.h: New file.
21410         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
21411         global ctor/dtor and C++ exception handling.
21412         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
21413         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
21414         ENDFILE_SPEC.
21415         * config/i386/t-rtems-i386: New File.
21417 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
21419         * stmt.c (expand_end_case): Return right away if the case stack is
21420         empty.
21422 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
21424         * Makefile.in (version.c): Remove rule incorrectly brought in from
21425         the gcc2 merge.
21427 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
21429         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
21430         * msdos/top.sed:  Take into account a prepended $(SHELL) to
21431         move-if-change.
21432         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
21434         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
21436 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21438         * regmove.c (fixup_match_1): Don't change an unchanging register.
21439         (stable_but_for_p): Renamed to:
21440         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
21441         Changed all callers.
21443 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
21445         * loop.c (strength_reduce): Don't call reg_used_between_p if the
21446         insn from BL2 is after the insn from BL.
21448 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
21450         * recog.h (INSN_OUTPUT_FORMAT_*): New.
21451         (struct insn_data): Merge `template' and `outfun' into `output'.
21452         Add `output_format'.
21453         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
21454         (struct data): Remove `outfun'; add `output_format'.
21455         (name_for_index): Remove declaration.
21456         (output_insn_data): Handle output formats.
21457         (process_template): Emit the bare array for @.
21458         (gen_expand, gen_split): Set output_format to NONE.
21459         * output.h (get_insn_template): Declare.
21460         * final.c (get_insn_template): New.
21461         (final_scan_insn): Use it.
21462         * toplev.c (compile_file): Likewise.
21464         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21465         * i860/i860.c (output_delayed_branch): Likewise.
21466         (output_delay_insn): Likewise.
21468 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21470         * rtl.c (obstack_alloc_rtx): Removed.
21472 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
21474         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
21476 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
21478         * i386.c (call_insn_operand): Reject const_int.
21479         (expander_call_insn_operand): Use call_insn_operand.
21481 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21483         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
21485 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
21487         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
21488         Use DImode operation.
21490 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
21492         * gcc.c: Include sys/resource.h.
21493         (report_times): New flag.
21494         (execute):  If report_times is set, calculate and report the
21495         CPU time consumed by each subprocess.
21497         (rus, prus): New globals.
21498         (option_map): Add --time.
21499         (display_help): Document -time.
21500         (process_command): Set report_times if -time is given.
21501         Turn off -pipe if -time is given.
21503         * invoke.texi: Document new option -time.
21505         * configure.in: Check for getrusage.  Check if we have to
21506         prototype getrusage.
21507         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
21508         * configure: Regenerate.
21509         * config.in: Regenerate.
21511 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
21513         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
21514         fields.
21516 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
21518         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
21519         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
21520         (nan): Return _thenan_sf or _thenan_df as appropriate.
21521         (L_thenan_sf): Define _thenan_sf.
21522         (L_thenan_df): Define _thenan_df.
21524         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
21525         (DPBIT_FUNCS): Add _thenan_df.
21527 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
21529         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
21530         TYPE_SIZE_UNIT.
21532 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21534         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
21536         * gcc.h: New file.
21537         (lang_specific_driver): Don't take a function pointer parameter.
21538         All callers changed.
21540         * gcc.c: Include gcc.h.
21541         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
21542         lang_specific_extra_outfiles, fatal): Don't declare.
21543         (multilib_defaults_raw): Constify.
21544         (read_specs): Call memset, rather than bzero.
21545         (main): Call return, not exit.
21546         (lookup_compiler): Call memcpy, not bcopy.
21547         (fatal): Make extern.
21549         * cppspec.c: Include gcc.h.
21550         (lang_specific_driver): Initialize variable `quote'.  Constify a
21551         char*.  All calls to the function pointer parameter now
21552         explicitly call `fatal'.
21554         * gccspec.c (lang_specific_driver): Include gcc.h.
21556 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
21558         * arm.c (note_invalid_constants): Use recog_data.operand_type
21559         for recog_op_type.
21561 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21563         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
21564         Declare.
21566         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
21567         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21568         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21569         reload_secondary_in_reload, reload_secondary_out_reload,
21570         reload_secondary_in_icode, reload_secondary_out_icode,
21571         reload_reg_rtx, reload_when_needed): Delete declarations.
21572         (struct reload): New structure.
21573         (rld): Declare new array.
21574         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
21575         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21576         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21577         reload_secondary_in_reload, reload_secondary_out_reload,
21578         reload_secondary_in_icode, reload_secondary_out_icode,
21579         reload_reg_rtx, reload_when_needed): Delete definitions.
21580         (rld): New array.
21581         (whole file): Replace uses of the deleted arrays with uses of rld.
21582         * reload1.c (whole file): Replace uses of the deleted arrays with
21583         uses of rld.
21584         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
21585         explicit loops, not with bcopy.
21587 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
21589         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
21590         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
21591         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
21592         insn_name): Delete and consolidate into new structures.
21593         (insn_operand_predicate_fn): New.
21594         (insn_output_fn): New.
21595         (insn_gen_fn): New.
21596         (struct insn_operand_data): New.
21597         (struct insn_data): New.
21598         (insn_data): New.
21599         (OUT_FCN): Update for insn_data change.
21600         * builtins.c (expand_builtin_strlen): Likewise.
21601         (expand_builtin_memcmp): Likewise.
21602         * combine.c (make_extraction, simplify_comparison): Likewise.
21603         * cse.c (canon_reg, cse_insn): Likewise.
21604         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
21605         * expmed.c (store_bit_field, extract_bit_field): Likewise.
21606         (emit_store_flag): Likewise.
21607         * expr.c (convert_move, emit_block_move): Likewise.
21608         (clear_storage, emit_push_insn, expand_increment): Likewise.
21609         (do_store_flag): Likewise.
21610         * expr.h (GEN_FCN): Likewise.
21611         (insn_gen_function): Die.
21612         * final.c (final_scan_insn): Update for insn_data change.
21613         (output_asm_name): Likewise.
21614         * function.c (fixup_var_refs_1): Likewise.
21615         * loop.c (check_dbra_loop): Likewise.
21616         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
21617         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
21618         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
21619         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
21620         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
21621         * regmove.c (gen_add3_insn): Likewise.
21622         * reload.c (push_secondary_reload, combine_reloads): Likewise.
21623         (find_reloads, find_reloads_address_1): Likewise.
21624         (debug_reload_to_stream): Likewise.
21625         * reload1.c (emit_reload_insns, gen_reload): Likewise.
21626         * stmt.c (expand_end_case): Likewise.
21627         * toplev.c (compile_file): Likewise.
21629         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21630         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21632         * print-rtl.c (insn_name_ptr): Remove declaration.
21633         (get_insn_name): Declare.
21634         (print_rtx): Use it.
21635         * genoutput.c (insn_name_ptr): Remove.
21636         (next_operand_number): New.
21637         (struct operand_data): New.
21638         (null_operand, odata, odata_end): New.
21639         (struct data): Use struct operand_data.
21640         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
21641         (get_insn_name): Renamed from name_for_index.
21642         (output_prologue): Define NO_MD_PROTOTYPES.
21643         (output_predicate_decls): Break out from output_epilogue.
21644         Iterate over the operands list.
21645         (output_operand_data): Break out from output_epilogue.  Emit
21646         just the operands list.
21647         (output_insn_data): Break out from output_epilogue.  Emit just
21648         the insn data.
21649         (output_epilogue): Remove.
21650         (output_get_insn_name): New.
21651         (constraints, op_n_alternatives, predicates, address_p): Die.
21652         (modes, strict_low, seen): Die.
21653         (scan_operands): Take new param `d' instead of writing to
21654         seven global variables.
21655         (compare_operands): New.
21656         (place_operands): New.
21657         (validate_insn_alternatives): Update for struct data change.
21658         (gen_insn): Don't zero or copy 7 global arrays.  Update for
21659         scan_operands; call place_operands.
21660         (gen_peephole, gen_expand, gen_split): Likewise.
21661         (main): Update for new output routines.
21663         * genattr.c (insn_name_ptr): Remove.
21664         (get_insn_name): New function.
21665         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
21666         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
21667         * genrecog.c: Likewise.
21669         * alpha.md (adddi3): Make `pattern' array static.
21671 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21673         * config/c4x/c4x.h (c4x_rpts_cycles_string,
21674         c4x_cpu_version_string): Constify char *.
21675         * config/c4x/c4x.c (c4x_rpts_cycles_string,
21676         c4x_cpu_version_string): Likewise.
21678 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
21680         * tree.c (save_tree_status): Revert 10 Sep change.
21681         (restore_tree_status): Likewise.  Call obstack_free with NULL
21682         before freeing the obstack proper.
21684 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
21686         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
21688         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
21689         surrounding context.
21691 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
21693         * tree.c (type_hash_canon): Put all types in the hash-table, when
21694         GC'ing.
21696 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
21698         * recog.h (struct recog_data, recog_data): New.
21699         (recog_foo variables): Kill.
21700         * recog.c (recog_operand, recog_operand_loc): Kill.
21701         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
21702         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
21703         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
21704         (recog_data): Define.
21705         (extract_insn): Update all recog_foo references to use recog_data.
21706         (preprocess_constraints, constrain_operands): Likewise.
21707         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
21708         * genattrtab.c (main): Likewise.
21709         * genextract.c (main): Likewise.
21710         * genoutput.c: Likewise.
21711         * genrecog.c (write_subroutine, main): Likewise.
21712         * local-alloc.c (block_alloc): Likewise.
21713         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
21714         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
21715         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
21716         * reload.c (find_reloads, find_reloads_toplev): Likewise.
21717         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
21718         (reload_cse_simplify_operands): Likewise.
21720         * arc/arc.c (arc_final_prescan_insn): Likewise.
21721         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
21722         * h8300/h8300.c (notice_update_cc): Likewise.
21723         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
21724         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21725         * mn10200/mn10200.c (notice_update_cc): Likewise.
21726         * mn10300/mn10300.c (notice_update_cc): Likewise.
21727         * romp/romp.c (update_cc): Likewise.
21728         * sparc/sparc.c (check_pic): Likewise.
21729         * v850/v850.c (notice_update_cc): Likewise.
21731         * genemit.c (main): Don't declare recog_operand.
21733 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
21735         * ggc.h (rtvec_def): Forward declare.
21736         (tree_node): Likewise.
21737         (ggc_root): Define.
21738         (roots): Declare.
21739         (ggc_set_mark_rtx): Add prototype.
21740         (ggc_set_mark_rtvec): Likewise.
21741         (ggc_set_mark_tree): Likewise.
21742         * ggc-simple.c (ggc_root): Don't define.
21743         (roots): Don't declare.
21744         (ggc_mark_rtx): Remove.
21745         (ggc_mark_rtvec): Likewise.
21746         (ggc_mark_tree): Likewise.
21747         (ggc_mark_varray): Likewise.
21748         (ggc_mark_tree_hash_table_entry): Likewise.
21749         (ggc_mark_tree_hash_table): Likewise.
21750         (ggc_set_mart_rtx): New function.
21751         (ggc_set_mark_rtvec): Likewise.
21752         (ggc_set_mark_tree): Likewise.
21753         (ggc_add_root): Remove.
21754         (ggc_add_rtx_root): Likewise.
21755         (ggc_remove_tree_root): Likewise.
21756         (ggc_add_string_root): Likewise.
21757         (ggc_add_tree_varray_root): Likewise.
21758         (ggc_add_tree_hash_table_root): Likewise.
21759         (ggc_del_root): Likewise.
21760         (ggc_mark_rtx_ptr): Likewise.
21761         (ggc_mark_tree_ptr): Likewise.
21762         (ggc_mark_string_ptr): Likewise.
21763         (ggc_mark_tree_varray_ptr): Likewise.
21764         (ggc_mark_tree_hash_table_ptr): Likewise.
21765         * ggc-common.c: New file.
21766         * Makefile.in (OBJS): Add ggc-common.o.
21767         (ggc-common.o): List dependencies.
21769 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
21771         * cppalloc.c (xstrdup): Use memcpy.
21772         * cpperror.c (cpp_print_containing_files): Don't use
21773         cpp_notice.
21774         * cpplib.c (conditional_skip): Set temp->lineno.
21775         (do_endif): Make error message less obscure.
21776         (if_directive_name): New function.
21777         (cpp_get_token [case EOF]): Unwind the if stack and generate
21778         error messages for each unterminated conditional in this file.
21779         (parse_string):  Do not behave differently if -traditional.
21781 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
21783         * builtins.c (expand_builtin_va_arg): Cope with an array-type
21784         va_list decomposing to pointer-type.
21785         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
21786         (rs6000_va_arg): Likewise.
21788 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
21790         * except.c (start_dynamic_handler): Compute size using
21791         STACK_SAVEAREA_MODE.
21793 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21795         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
21796         include directory headers.  Don't define strrchr.  Don't provide
21797         my_* replacement functions.  Prefer PTR over `pointer_type'.
21798         Don't prototype system functions.  Don't redefine getopt.
21800         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
21801         safe_read, safe_write, save_pointers, restore_pointers,
21802         is_id_char, in_system_include_dir, directory_specified_p,
21803         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
21804         find_corresponding_lparen, referenced_file_is_newer,
21805         save_def_or_dec, munge_compile_params, gen_aux_info_file,
21806         process_aux_info_file, identify_lineno, check_source,
21807         seek_to_line, forward_to_next_token_char, output_bytes,
21808         output_string, output_up_to, other_variable_style_function,
21809         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
21810         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
21811         find_static_definition, connect_defs_and_decs, add_local_decl,
21812         add_global_decls, needs_to_be_converted, visit_each_hash_node,
21813         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
21814         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
21815         scan_for_missed_items, edit_file, string_list_cons): Add static
21816         prototypes.
21817         (standard_exec_prefix, target_machine, target_version,
21818         default_syscalls_dir, string_list, string_list_cons, find_file,
21819         do_cleaning): Constify a char*.
21820         (safe_read, safe_write): Use PTR, not a char*.
21821         (is_id_char): Take an int, not a char.
21822         (main): Add prototype.  Call return, not exit.
21824 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
21826         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
21827         when comparing types.
21829 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
21831         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
21832         (strength_reduce): Release the varrays from the no-bivs early exit.
21834         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
21835         the loop over the registers.
21837         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
21838         for a new obstack.
21839         (restore_tree_status): Check that instead when freeing the obstack.
21841 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
21843         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
21844         as pointers.
21846 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21848         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
21849         operand size modifiers.
21851 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21853         * c-common.c (c_common_nodes_and_builtins): Don't build
21854         va_list_type_node.
21855         * c-common.h (enum c_tree_index and related accesor macros): Remove
21856         everything now declared in tree.h.
21857         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21858         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
21859         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
21860         (error_mark_node, void_type_node, char_type_node, integer_type_node,
21861         unsigned_type_node, ptr_type_node, va_list_type_node,
21862         integer_zero_node, null_pointer_node, integer_one_node): Delete.
21863         (init_decl_processing): Call build_common_tree_nodes and
21864         build_common_tree_nodes_2 instead of building their nodes here.
21865         Don't add roots for these nodes.
21866         * stor-layout.c (size_zero_node, size_one_node): Delete.
21867         (set_sizetype): Make a new node for bitsizetype each time.
21868         * tree.c (global_trees): New variable.
21869         (init_obstacks): Add a gc root for it.
21870         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21871         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
21872         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
21873         (build_common_tree_nodes): New function.
21874         (fix_sizetype): New function.
21875         (build_common_tree_nodes_2): New function.
21876         * tree.h (enum tree_index): New.
21877         (global_trees): Declare.
21878         Add accessor macros for all nodes now moved to global_trees.
21879         Delete their declarations.
21881 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
21883         * c-decl.c (finish_function): When processing a nested function,
21884         push and pop GC context around rest_of_compilation.
21886 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
21888         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
21889         Default ix86_arch to PROCESSOR_I386.
21890         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
21891         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
21892         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
21893         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
21894         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
21895         (EXTRA_SPECS): Remove deleted specs.
21897 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
21899         * function.c (assign_stack_local_1): Allocate from
21900         function->x_frame_offset, not frame_offset.
21902 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
21904         * ggc.h (lang_cleanup_tree): Remove.
21905         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
21906         * ggc-callbacks.c (lang_cleanup_tree): Remove.
21908         * c-decl.c (finish_struct): Use ggc_alloc to allocate
21909         TYPE_LANG_SPECIFIC when garbage collecting.
21910         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
21911         (lang_cleanup_tree): Remove.
21913 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
21915         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
21916         * crtstuff.c: Not here.
21917         * dwarf2out.c: Or here.
21918         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
21919         info.
21921 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
21923         * function.h (free_after_compilation): Remove decl parameter.
21924         (free_varasm_status0: Likewise.
21925         (free_emit_status): Likewise.
21926         (free_stmt_status): Likewise.
21927         (free_after_compilation): Likewise.
21928         (init_lang_status): New variable.
21929         (free_lang_status): Likewise.
21930         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
21931         * function.c (init_lang_status): New variable.
21932         (free_lang_status): Likewise.
21933         (push_function_context_to): Don't set function::decl here.
21934         (free_after_copmilation): Make decl parameter implicit.  Call
21935         free_lang_status if defined.
21936         (prepare_function_start): Call init_lang_status if defined.
21937         (init_function_start): Set function::decl here.
21938         * profile.c (output_func_start_profiler): Don't call pushdecl
21939         until we've actually started the function.
21940         * stmt.c (free_stmt_status): Make decl parameter implicit.
21941         * toplev.c (rest_of_compilation): Don't pass decl to
21942         free_after_compilation.
21943         * varasm.c (free_varasm_status): Likewise.
21945 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21947         * except.c (call_get_eh_context): Add root when allocating static
21948         tree variable.
21950 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
21952         * arm.c: Include "ggc.h".
21953         (arm_add_gc_roots): New function.
21954         (arm_override_options): Call it.
21955         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
21957         * arm.md (define_asm_attributes): Add a pool_range attribute.
21959 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
21961         * extend.texi (Volatiles): New node.
21963 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
21965         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
21966         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
21967         (struct ggc_any): Replace `mark' with `magic_mark'.
21968         (ggc_alloc_string): Use memcpy, not bcopy.
21969         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
21970         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
21971         (ggc_free_any): New.
21972         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
21973         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
21974         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
21975         Use IS_MARKED. Use ggc_free_any.
21977 1999-09-09  Scott Bambrough <scottb@netwinder.org>
21979         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
21981 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
21983         * toplev.c (main): Always init_ggc.
21985 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
21987         * except.c (find_all_handler_type_matches): Free the list if
21988         we found no matches.
21990         * combine.c (SUBST): Break out to a real function do_SUBST.
21991         (SUBST_INT): Likewise.
21992         * gcse.c (free_pre_mem): Free `temp_bitmap'.
21993         (pre_insert): Free `inserted'.
21994         * loop.c (basic_induction_var): Always set `location'.
21996         * function.c (expand_function_end): Add initial_trampoline as a root.
21997         * rtl.h (init_varasm_once): Declare.
21998         * toplev.c (compile_file): Call it.
21999         * ggc-simple.c (ggc_mark_string_ptr): New.
22000         (ggc_add_string_root): New.
22001         (ggc_collect): Disable collection avoidance temporarily.
22002         * ggc.h (ggc_add_string_root): Declare.
22003         * except.c (create_rethrow_ref): Use ggc_alloc_string.
22004         * optabs.c (init_libfuncs): Likewise.
22005         * varasm.c (named_section): Use ggc_alloc_string.
22006         (make_function_rtl): Likewise.
22007         (make_decl_rtl): Likewise.
22008         (assemble_static_space): Likewise.
22009         (assemble_trampoline_template): Likewise.
22010         (output_constant_def): Likewise.
22011         (force_const_mem): Likewise.
22012         (mark_const_hash_entry): New.
22013         (mark_pool_sym_hash_table): New.
22014         (mark_varasm_state): Use it.
22015         (init_varasm_once): New.
22017         * expr.h (init_one_libfunc): Declare.
22018         * optabs.c (init_one_libfunc): New.
22019         (init_optabs): Use it.
22020         * config/gofast.h: Likewise.
22021         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
22022         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
22024 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
22026         * Makefile.in (cppexp.o): Depend on cpphash.h.
22027         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
22028         Include cpphash.h.
22029         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
22030         * cpplib.c (do_define): Generalise to handle poisoned definitions,
22031         redefining poisoned identifiers, etc.
22032         (do_undef): Don't allow poisoned identifiers to be undefined.
22033         (do_pragma): Add #pragma poison.
22034         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
22036         * cccp.c: Add T_POISON node type.
22037         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
22038         poisoned xxx.
22039         (do_define): Generalise to handle poisoned definitions,
22040         redefining poisoned identifiers, etc.
22041         (do_undef): Don't allow poisoned identifiers to be undefined.
22042         (do_pragma): Add #pragma poison.
22043         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
22045         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
22046         * c-pragma.h: Add ps_poison state.  We now always have generic
22047         pragmas.
22049 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
22051         * ggc.h (ggc_alloc): New function.
22052         (ggc_mark): Likewise.
22053         * ggc-simple.c (ggc_any): New structure.
22054         (ggc_status): Add anys.
22055         (n_anys_collected): New variable.
22056         (ggc_alloc): Define.
22057         (ggc_mark): Likewise.
22058         (ggc_collect): Collect the anys.
22060 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22062         * c-decl.c (mark_binding_level): Make static to match prototype.
22064 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
22066         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
22068 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
22070         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
22071         will use into account.  Expand the max width to 5.
22072         * rtl.c: Likewise.
22074 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
22076         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
22077         for the rtx length.
22079 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
22081         * alpha.md (call value patterns): Remove the result predicates.
22083 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
22085         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
22086         last change.
22088 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22090         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
22091         changed from extern char *, to extern PTR.  Also fix typo in
22092         NEED_DECLARATION_REALLOC test.
22094         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
22096 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22098         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
22099         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
22100         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
22101         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
22103         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
22105         * cccp.c (pcfinclude): Likewise.
22107         * global.c (allocno_compare): Likewise.
22109         * haifa-sched.c (rank_for_schedule): Likewise.
22111         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
22113         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
22115         * stupid.c (stupid_reg_compare): Likewise.
22117         * tree.c (_obstack_allocated_p): Likewise.
22119         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
22121 1999-09-08  Bruce Korb  autogen@linuxbox.com
22123         * Makefile.in: Give the hapless gperf user a hint about
22124         why "gperf -F" fails.
22126 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
22128         * lists.c: Include ggc.h.
22129         (zap_lists): New.
22130         (init_EXPR_INSN_LIST_cache): Install it.
22132         * ggc-simple.c (init_ggc): Absorb the old init.
22133         (ggc_push_context): Use xcalloc.
22134         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
22135         (ggc_collect): Add [rvts] tags to the collection stats.
22137 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
22139         * cccp.c (main): Fix handling of -include and -imacros options.
22141 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
22143         * cpplib.c (cpp_push_buffer): Fix order of arguments.
22145 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22147         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
22148         genrtl.c.
22150 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
22152         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
22153         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
22154         and SET_DEST. Update comment.
22156 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22158         * config/c4x/c4x.c: Include ggc.h.
22159         (c4x_add_gc_roots): New function.
22160         (c4x_override_options): Call c4x_add_gc_roots.
22162 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
22164         * defaults.h (TARGET_ESC): Move ...
22165         * system.h: ... here, where Linas had it in the first place.  Silly me.
22167 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
22169         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
22170         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
22171         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
22172         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
22173         * defaults.h (TARGET_ESC): Add default.
22175 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
22177         * configure.in: add i370-*-openedition, i370-*-mvs and
22178         i370-*-linux targets
22180 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
22182         * dsp16xxx.c: Include ggc.h
22183         (override_options): Mark GC roots.
22184         * mn10200.c: Include ggc.h.
22185         (asm_file_start): Mark GC roots.
22186         * tahoe.c: Include ggc.h.
22187         (extensible_operand): Mark GC roots.
22189 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
22191         * README: Add section discussing status of ELF ABI.
22192         * i370.c: Fix misc spelling mistakes.
22193         (i370_label_scan): Updated notes, exception handling.
22194         (i370_function_prolog): Simplify ELF stack handling.
22195         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
22196         (STACK_GROWS_DOWNWARD): ELF stack grows down.
22197         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
22198         * i370.md: (movdi): Add notes.
22199         (floatsidf2): Use stack not rtca for scratch float area.
22200         (iorsi3): Correct operand constraints.
22201         * x-oe: Restore TAROUTOPTS which are used by pax.
22203 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
22205         * rs6000.c: Include ggc.h.
22206         (rs6000_add_gc_roots): New function.
22207         (override_options): Call it.
22209 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
22211         * alpha.h (alpha_compare): New.
22212         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
22213         * alpha.c: Likewise for the definitions.
22214         (alpha_emit_conditional_branch): Update for alpha_compare.
22215         (alpha_emit_conditional_move): Likewise.
22216         * alpha.md (cmpdf, cmpdi): Likewise.
22217         (setcc patterns): Likewise.  Zero alpha_compare after use.
22218         (sne): Optimize (x != 0) into (0U < x).
22220 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
22222         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
22223         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
22224         (INIT_EXPANDERS): Remove.
22225         * alpha.c: Include ggc.h.
22226         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
22227         (alpha_init_machine_status, alpha_mark_machine_status): New.
22228         (override_options): Install them.
22229         (struct machine_function): Moved to alpha.h.
22230         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
22231         (alpha_init_expanders): Remove.
22232         (alpha_return_addr): Adjust to use current_function->machine.
22233         (alpha_ra_ever_killed): Likewise.
22234         (alpha_expand_epilogue): Likewise.
22235         * alpha.md (eh_epilogue): Likewise.
22237 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
22238                           Melissa O'Neill  <oneill@cs.sfu.ca>
22239                           Geoffrey Keating  <geoffk@cygnus.com>
22241         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
22242         call-used registers (call-saved registers must still be contiguous
22243         and end with r31, of course).
22245 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
22247         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
22248         (self_promoting_type_p): Delete.
22249         (self_promoting_args_p): Move ...
22250         * c-common.c: ... here.
22251         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
22252         (simple_type_promotes_to): New.
22253         * builtins.c (lang_type_promotes_to): New.
22254         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
22255         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
22256         * c-common.h: ... here.
22257         (self_promoting_args_p, simple_type_promotes_to): Declare.
22258         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
22259         (grokdeclarator): Likewise.
22260         * tree.h (lang_type_promotes_to): Declare.
22262 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
22264         Add some machine-dependent GC roots.
22265         * sparc.c: Include ggc.h.
22266         (sparc_add_gc_roots): New function.
22267         (mark_ultrasparc_pipeline_state): Likewise.
22268         (override_options): Call sparc_add_gc_roots.
22269         * pa.c: Include ggc.h.
22270         (pa_add_gc_roots): New function.
22271         (mark_deferred_plabels): Likewise.
22272         (override_options): Call pa_add_gc_roots.
22273         * mips.c: Include ggc.h.
22274         (mips_add_gc_roots): New function.
22275         (override_options): Use it.
22277 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22279         * cpperror.c (cpp_file_line_for_message): Constify a char*.
22281         * cppexp.c (parse_number, parse_charconst, cpp_lex,
22282         cpp_parse_expr): Add static prototypes.
22283         (parse_charconst): Don't cast away const-ness.
22284         (token): Constify a char*.
22286         * cppfiles.c (file_name_list, include_hash, find_include_file,
22287         finclude, initialize_input_buffer): Constify a char*.
22288         (file_cleanup, find_position): Add static prototypes.
22290         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
22291         collect_expansion): Add static prototypes.
22292         (cpp_install, create_definition, monthnames): Constify a char*.
22294         * cpphash.h (cpp_install): Likewise.
22296         * cppinit.c (known_suffixes, default_include,
22297         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
22298         (base_name, dump_special_to_buffer, initialize_dependency_output):
22299         Add static prototypes.
22301         * cpplib.c (my_strerror): Constify a char*.
22302         (null_underflow, null_cleanup, skip_comment, copy_comment,
22303         copy_rest_of_line, handle_directive, pass_thru_directive,
22304         get_directive_token, read_line_number, cpp_print_file_and_line,
22305         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
22306         v_cpp_warning_with_line, detect_if_not_defined,
22307         consider_directive_while_skipping): Add static prototypes.
22308         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
22309         cpp_pedwarn_with_file_and_line): Constify a char*.
22311         * cpplib.h (cpp_options, include_hash, progname, definition,
22312         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
22313         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
22314         find_include_file, deps_output, include_hash): Constify a char*.
22316         * cppmain.c (progname): Constify.
22317         (main): Add prototype.  Use return, not exit.
22319         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
22320         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
22321         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
22322         check_protection): Add static prototype.
22323         (xfree): Remove.
22324         (progname, recognized_macrom, recognized_extern): Constify a char*.
22325         (main): Add prototype.
22327         * gen-protos.c (progname): Constify a char*.
22329 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
22331         * emit-rtl.c (free_emit_status): Take decl as a parameter.
22332         (init_emit_once): Add more GC roots.
22333         * except.c (mark_func_eh_entry): New function.
22334         (mark_eh_node): Mark false_label and rethrow_label.
22335         (init_eh): Add more GC roots.
22336         * function.c (free_after_compilation): Take decl as a paramter.
22337         Call free_stmt_status.
22338         (mark_function_state): Don't assume x_parm_reg_stack_loc is
22339         non-NULL.
22340         * function.h (free_after_compilation): Change prototype.
22341         (free_varasm_status): Likewise.
22342         (free_emit_status): Likewise.
22343         (free_stmt_status): New function.
22344         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
22345         Remove, replacing with ...
22346         (ggc_status): New structure.
22347         (ggc_chain): New variable.
22348         (init_gcc): Define.
22349         (ggc_push_context): New function.
22350         (ggc_pop_context): Likewise.
22351         (ggc_alloc_rtx): Adjust for use of ggc_chain.
22352         (ggc_alloc_rtvec): Likewise.
22353         (ggc_alloc_tree): Likewise.
22354         (ggc_alloc_string): Likewise.
22355         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
22356         (ggc_mark_tree): Give language-dependent code a chance to mark
22357         `x' nodes.
22358         (ggc_mark_tree_varray): Handle empty arrays.
22359         (ggc_collect): Adjust for use of ggc_chain.  Clear
22360         bytes_alloced_since_last_gc.
22361         * ggc.h (ggc_pop_context): New function.
22362         (ggc_push_context): Likewise.
22363         * print-tree.c (print_node): Don't print obstacks when GC'ing.
22364         * stmt.c (free_stmt_status): New function.
22365         (init_stmt_for_function): Clear last_expr_value.
22366         * toplev.c (rest_of_compilation): Always call free_after_compilation.
22367         Conditionalize call to ggc_collect.
22368         (main): Call init_ggc.
22369         * tree.c (push_obstacks): Do the push, even when GC'ing.
22370         (push_obstacks_nochange): Likewise.
22371         (pop_obstacks): Liekwise.
22372         * varasm.c (free_varasm_status): Take decl as a parameter.
22374 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22376         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
22377         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
22378         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
22379         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
22381 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
22383         * pa/x-pa-mpeix: New file for the MPE port.
22385         * pa/quadlib.asm: New file for long double support.
22387         * configure.in: Add hppa1.0-*-mpeix for MPE port.
22388         * configure: Rebuilt.
22390 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
22392         * final.c (shorten_branches): Fix last change.
22394 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
22396         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
22398 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
22400         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
22401         details.
22403 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22405         * c-aux-info.c (concat): Don't define.
22407         * cccp.c (my_strerror): Likewise.  All callers changed to use
22408         xstrerror instead.
22409         (do_include): Call xstrdup, not xmalloc/strcpy.
22410         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
22411         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
22413         * collect2.c (my_strsignal): Likewise.  All callers changed to use
22414         strsignal instead.
22415         (locatelib): Call xstrdup, not xmalloc/strcpy.
22417         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
22419         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
22421         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
22423         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
22425         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
22427         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
22429         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
22430         malloc/realloc.
22431         (find_all_handler_type_matches): Likewise.  Don't check return
22432         value.
22433         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
22434         xmalloc, not malloc.
22435         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
22437         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
22438         (init_spec): Call xcalloc, not xmalloc/bzero.
22439         (set_spec): Call xstrdup, not save_string.
22440         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
22441         (find_a_file): Call xstrdup, not xmalloc/strcpy.
22442         (process_command): Call xstrdup, not save_string.
22443         (main): Call xcalloc, not xmalloc/bzero.
22445         * gcov.c (xmalloc): Don't define.
22446         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
22447         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
22448         (output_data): Call xcalloc, not xmalloc/bzero.
22450         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
22452         * mips-tdump.c (xmalloc): Don't define.
22453         (print_symbol): Call xmalloc, not malloc.
22454         (read_tfile): Call xcalloc, not calloc.
22456         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
22457         Don't define.  All callers of xfree/my_strsignal changed to use
22458         free/strsignal instead.
22459         (allocate_cluster): Call xcalloc, not calloc.
22461         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
22462         Fix memory leak, free allocated memory.
22464         * prefix.c (translate_name): Call xstrdup, not save_string.
22465         (update_path): Likewise.
22467         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
22469         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
22470         Don't define.  Callers of xfree/savestring2 changed to use
22471         free/concat instead.
22473         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
22474         (init_elim_table): Likewise.
22476         * resource.c (init_resource_info): Likewise.
22478         * stupid.c (stupid_life_analysis): Likewise.
22480         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
22481         (open_dump_file): Call concat, not xmalloc/strcpy/...
22482         (clean_dump_file): Likewise.
22483         (compile_file): Call xstrdup, not xmalloc/strcpy.
22485 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
22487         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
22488         * v850.c (v850_va_arg): New.
22490 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22492         * haifa-sched.c: Tidy comments.
22494 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22496         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
22497         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
22498         $(out_object_file)): Depend on ggc.h.
22499         * c-common.c: Include "ggc.h".
22500         (combine_strings): If doing GC, use ggc_alloc_string.
22501         * c-decl.c: Include "ggc.h".
22502         (ggc_p): Define with value 0.
22503         (mark_binding_level): New function.
22504         (init_decl_processing): Add GC roots.
22505         (mark_c_function_context): New function.
22506         (lang_mark_false_label_stack): New function.
22507         (lang_mark_tree): New function.
22508         (lang_cleanup_tree): New function.
22509         * c-lang.c: Include "ggc.h".
22510         (lang_init): Call c_parse_init.
22511         * c-lex.c: Include "ggc.h".
22512         (check_linenum): If doing GC, don't copy filenames to permanent
22513         obstack.
22514         * c-parse.in: Include "ggc.h".
22515         (c_parse_init): New function.
22516         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
22517         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
22519         * except.c (mark_eh_state): Mark more state.
22520         * function.c (mark_function_state): Likewise.
22521         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
22522         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
22523         * toplev.c (mark_file_stack): New function.
22524         (compile_file): If doing GC, use ggc_alloc_string on input filename.
22525         (main): Add root for input_file_stack.
22527         * i386.c: Include "ggc.h".
22528         (ix86_mark_machine_status): New function.
22529         (override_options): Set mark_machine_status.
22531 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22533         * tree.c (copy_node): Copy node contents also if doing GC.
22535 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22537         * collect2.c (scan_libraries): Fix double-thinko :-).
22539 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
22541         * collect2.c (scan_libraries): Fix thinko.
22543         * cse.c (delete_trivially_dead_insns): Do not skip the last
22544         insn if it is a real insn.
22546 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
22548         * Makefile.in (ggc-simple.o): Depend on hash.h.
22549         * ggc.h (ggc_add_tree_hash_table_root): Declare.
22550         (ggc_mark_tree_varray): Likewise.
22551         (ggc_mark_tree_hash_table): Likewise.
22552         * ggc-simple.c: Include hash.h.
22553         (ggc_mark_tree_hash_table_ptr): New function.
22554         (ggc_mark_tree_hash_table_entry): Likewise.
22555         (ggc_mark_tree_hash_table): Likewise.
22556         (ggc_add_tree_hash_table_root): Likewise.
22557         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
22558         rtx, when defining fields.
22560 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22562         * profile.c (output_func_start_profiler): Remove apparently
22563         nonsensical call to start_sequence.
22565 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
22567         * clipper/clipper.c (clipper_va_start): Fix typos.
22569         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
22570         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
22571         (spur_va_arg): New stub.
22573         * configure.in: Comment out pyramid.
22575 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
22577         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
22578         don't conflict with the bits that win32, cygwin, and dgux
22579         defines.
22581 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
22582                           Bernd Schmidt <bernds@cygnus.co.uk>
22584         * integrate.c (function_cannot_inline_p): Do not inline
22585         functions with forced labels.
22587 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
22588                           Bernd Schmidt <bernds@cygnus.co.uk>
22589                           Mark Mitchell  <mark@codesourcery.com>
22591         * Makefile.in (ggc-simple.o): Depend on varray.h.
22592         (rtl.o): Depend on ggc.h.
22593         (genattrtab.o): Depend on ggc.h.
22594         (print-tree.o): Likewise.
22595         (fold-const.o): Likewise.
22596         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
22597         (make_insn_raw): Don't cache insns when GC'ing.
22598         (emit_insn_before): Likewise.
22599         (emit_insn_after): Likewise.
22600         (emit_insn): Likewise.
22601         (start_sequence): Use xmalloc to allocate the sequence_stack.
22602         (end_sequence): Add free to free it.
22603         (gen_sequence): Don't cache insns when GC'ing.
22604         (clear_emit_caches): Don't use sequence_element_free_list.
22605         (init_emit): Use xcalloc, not xmalloc+bzero.
22606         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
22607         * function.c (pop_function_context_from): Use free to free the
22608         fixup_var_refs_queue.
22609         (put_reg_into_stack): Allocate it with xmalloc.
22610         * genattrtab.c: Include ggc.h.
22611         (operate_exp): Don't use obstack_free when GC'ing.
22612         (simplify_cond): Likewise.
22613         (simplify_text_exp): Likewise.
22614         (optimize_attrs): Likewise.
22615         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
22616         GC'ing.
22617         (gencode): Generate a #include for ggc.h.
22618         * ggc-callbacks.c (ggc_p): Define it to zero.
22619         * ggc-none.c (ggc_p): Likewise.
22620         * ggc-simple.c: Include varray.h.
22621         (ggc_mark_tree_varray): New function.
22622         (ggc_add_tree_varray_root): Likewise.
22623         (ggc_mark_tree_varray_ptr): Likewise.
22624         * ggc.h (ggc_p): Declare.
22625         (varray_head_tag): Likewise.
22626         (ggc_add_tree_varray_root): Declare.
22627         * print-tree.c (print_node): Don't check for TREE_PERMANENT
22628         inconsistencies when GC'ing.
22629         * rtl.c: Include ggc.h.
22630         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
22631         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
22632         (rtx_free): Don't call obstack_free when GC'ing.
22633         * toplev.c (rest_of_compilation): Call ggc_collect after every
22634         pass, if GC'ing.
22635         * tree.c (push_obstacks): Do nothing, if GC'ing.
22636         (pop_obstacks_nochange): Likewise.
22637         (pop_obstacks): Likewise.
22638         (make_node): Use ggc_alloc_tree when GC'ing.
22639         (copy_node): Likewise.
22640         (get_identifier): Use ggc_alloc_string when GC'ing.
22641         (build_string): Likewise.
22642         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
22643         (tree_cons): Likewise.
22644         (build1): Likewise.
22645         (type_hash_canon): Don't call obstack_free when GC'ing.
22647 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
22649         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
22650         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
22652 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
22653                           Bernd Schmidt <bernds@cygnus.co.uk>
22654                           Mark Mitchell  <mark@codesourcery.com>
22656         * Makefile.in (stor-layout.o): Depend on ggc.h.
22657         (expr.o): Depend on ggc.h.
22658         (profile.o): Depend on ggc.h.
22659         (stor-layout.o): Depend on ggc.h.
22660         * emit-rtl.c (init_emit_once): Add gc roots.
22661         * expr.c: Include ggc.h.
22662         (emit_block_move): Add gc roots.
22663         (clear_storage): Likewise.
22664         * expr.h (init_stor_layout_once): New function.
22665         * profile.c: Include ggc.h.
22666         (init_arc_profiler): profiler_label is a root.
22667         * scan.c (make_sstring_space): Trust xrealloc to function
22668         correctly with first parameter NULL.
22669         * stor-layout.c: Include ggc.h.
22670         (set_sizetype): Add gc root.
22671         (init_stor_layout_once): New function.
22672         * toplev.c (compile_file): Call it.
22674 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
22675                           Bernd Schmidt <bernds@cygnus.co.uk>
22676                           Mark Mitchell  <mark@codesourcery.com>
22678         * Makefile.in (tree.o): Depend on ggc.h.
22679         (varasm.o): Likewise.
22680         (function.o): Likewise.
22681         (stmt.o): Likewise.
22682         (except.o): Likewise.
22683         (optabs.o): Likewise.
22684         (emit-rtl.o): Likewise.
22685         * emit-rtl.c: Include ggc.h.
22686         (sequence_element_free_list): Remove, and all references.
22687         (mark_sequence): New functions.
22688         (mark_emit_state): New function.
22689         * except.c: Include ggc.h.
22690         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
22691         (mark_tree_label_node): New functions.
22692         (mark_eh_state): New function.
22693         * function.c: Include ggc.h.
22694         (mark_temp_slot, mark_function_chain): New functions.
22695         (mark_function_state): New function.
22696         (init_function_once): New function.
22697         * function.h (init_function_once): New function.
22698         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
22699         * ggc.h (label_node): Declare.
22700         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
22701         (lang_mark_false_label_stack): New function.
22702         (mark_temp_slot): Remove declaration.
22703         (mark_function_chain): Likewise.
22704         (mark_eh_state): Adjust prototype.
22705         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
22706         Likewise.
22707         * optabs.c: Include ggc.h.
22708         (mark_optab): New function.
22709         (init_optabs): Add gc roots.
22710         * stmt.c: Include ggc.h.
22711         (mark_cond_nesting, mark_loop_nesting): New functions.
22712         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
22713         (mark_stmt_state): New function.
22714         * toplev.c (compile_file): Call init_function_once.
22715         * tree.c: Include ggc.h.
22716         (type_hash): Move declaration earlier in file.
22717         (TYPE_HASH_SIZE, type_hash_table): Likewise.
22718         (init_obstacks): Add gc roots.
22719         (mark_type_hash): New function.
22720         * varasm.c: Include ggc.h.
22721         (mark_pool_constant): New function.
22722         (mark_varasm_state): New function.
22724 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22726         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
22728 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
22730         * c-decl.c (struct language_function): Renamed from struct c_function.
22731         Delete elt NEXT.
22732         (c_function_chain): Delete.
22733         (push_c_function_context): New arg F.  Don't warn about nested
22734         functions here.  Fill LANGUAGE elt of F.  Delete code to update
22735         c_function_chain.  Don't call push_function_context.
22736         (pop_c_function_context): New arg F.  Restore from there instead of
22737         from c_function_chain.  Don't call pop_function_context.  Clear out
22738         LANGUAGE field of F when done.
22739         * c-lang.c: Include "function.h"
22740         (lang_init): Initialize save_lang_status and restore_lang_status.
22741         * c-parse.in (nested_function, nested_function_notype): Warn about
22742         nested functions.  Call push_function_context/pop_function_context
22743         instead of the _c_ variants.
22744         * c-tree.h (push_c_function_context, pop_c_function_context): Update
22745         prototype.
22746         * Makefile.in (c-lang.o): Update dependencies.
22748         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
22749         regno_pointer_flag, regno_pointer_align.
22750         (gen_reg_rtx): Use xrealloc to enlarge them.
22751         (free_emit_status): New function.
22752         * function.c (mark_machine_status, mark_lang_status): New variables.
22753         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
22754         in some bits from assign_stack_local.  All callers changed to use new
22755         name.
22756         (assign_stack_local): Just call assign_stack_local_1.
22757         (free_after_compilation): New function.
22758         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
22759         (trampoline_address): Likewise.
22760         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
22761         (prepare_function_start): Explicitly clear some more variables.
22762         * function.h (struct function): New elt can_garbage_collect.
22763         (mark_machine_status, mark_lang_status): Declare variables.
22764         (free_after_compilation, free_emit_status, free_varasm_status,
22765         init_varasm_status): Declare functions.
22766         * toplev.c (rest_of_compilation): Call free_after_compilation when
22767         done with the current function.
22768         * varasm.c (free_varasm_status): New function.
22770 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
22772         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
22773         (EXPAND_BUILTIN_VA_ARG): Define.
22774         * sparc.c (sparc_va_start): New.
22775         (sparc_va_arg): New.
22777 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22779         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
22781 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22783         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
22785 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
22787         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
22788         (OBJS): Add $(GGC).
22789         (ggc-callbacks.o): New target.
22790         * ggc-callbacks.c: New file.
22792 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22794         * expr.h: Collapse individual optab and libfunc vars to arrays.
22795         (optab_index, libfunc_index): New enumerations.
22796         (optab_table, libfunc_table): New arrays.
22797         Add accessor macros for both.
22799         * optabs.c (optab_table, libfunc_table): New.
22800         Delete declarations for individual optab and libfunc vars.
22802 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
22804         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
22806 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
22808         * Makefile.in (GGC, GGC_LIB): New.
22809         (HOST_RTL): Include ggc-none.o.
22810         (ggc-simple.o): New target.
22811         (ggc-none.o): Likewise.
22812         * tree.h (tree_common): Add gc_mark.
22813         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
22814         (struct rtvec_def): Add gc_mark.
22815         * emit-rtl.c (global_rtl): Update static initializers to contain
22816         enough initializers.
22817         * ggc.h, ggc-none.c, ggc-simple.c: New files.
22818         * toplev.c (gc_time): New variable.
22819         (all_time): New variable.
22820         (compile_file): Print gc time.
22821         (print_time): Calculate percentage of the whole.
22823 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22825         Change obstack memory management and varasm constant pool handling so
22826         that nested functions are treated like any other functions.
22827         * function.c (init_machine_status): New variable.
22828         (push_function_context_to): Set contains_functions for the outer
22829         function.  Don't call save_varasm_status.
22830         (pop_function_context_from): Don't call restore_varasm_status.  Don't
22831         set current_function_contains_functions.
22832         (prepare_function_start): Call init_varasm_status rather than
22833         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
22834         is non-null.
22835         * function.h (struct function) Add field varasm.  Delete fields
22836         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
22837         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
22838         (init_machine_status): Declare.
22839         (save_varasm_status, restore_varasm_status): Delete declarations.
22840         (save_tree_status, restore_tree_status): Delete last argument.
22841         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
22842         code.  All callers changed.
22843         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
22844         save_constants_in_decl_trees, restore_constants, save_constants,
22845         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
22846         functions.
22847         (inlining): New variable.
22848         (reg_map, label_map, insn_map, orig_asm_operands_vector,
22849         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
22850         variables.
22851         (save_for_inline_nocopy): Don't save constants.
22852         Don't set inl_emit field in current_function.
22853         (expand_inline_function): Use emit field, not inl_emit, of the inlined
22854         function.  Set new variable inlining before
22855         calling copy_rtx_and_substitute.
22856         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
22857         constant pool references if inlining is nonzero.
22858         Delete ADDRESS and (most of the) CONST cases.
22859         (output_inline_function): Save and restore current_function/
22860         current_function_decl.  Delete restore_constants code.  Don't call
22861         init_const_rtx_hash_table.
22862         * output.h (init_const_rtx_hash_table): Don't declare.
22863         * rtl.h (struct function): Declare.
22864         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
22865         * toplev.c (rest_of_compilation): Don't treat nested functions or
22866         functions containing them specially.  Delete all code to deal with
22867         save_for_inline_copying.
22868         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
22869         inline_obstacks): Delete variables.
22870         (save_tree_status): Lose arg CONTEXT.  All callers changed.
22871         Simply allocate a new function_maybepermanent_obstack for the new
22872         function, delete all the special cases.
22873         Don't save inline_obstacks.
22874         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
22875         Delete special handling for function_maybepermanent_obstack; simply
22876         free it if empty.
22877         Don't restore inline_obstacks.
22878         (permanent_allocation):  Delete code that frees inline_obstacks.
22879         (print_inline_obstack_statistics): Delete function.
22880         (dump_tree_statistics): Don't call it.
22881         * varasm.c (struct varasm_status): New.
22882         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
22883         last_pool, pool_offset, const_double_chain): Delete global
22884         variables, replace with accessor macros.
22885         (immed_double_const): Don't walk const_double_chain outside a
22886         function, but don't treat nested functions specially anymore.
22887         (immed_real_const_1): Likewise.
22888         (clear_const_double_mem): Don't treat nested functions specially.
22889         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
22890         (save_varasm_status, restore_varasm_status): Delete functions.
22891         (init_varasm_status): New function.
22892         (force_const_mem): Don't treat nested functions specially.
22893         (find_pool_constant): Accept new arg F, search for constants in
22894         that function's pool rather than the current one.  All callers
22895         changed.
22896         (get_pool_constant_for_function, get_pool_mode_for_function): New
22897         functions.
22899         * i386.c (init_386_machine_status): New function, mostly from
22900         clear_386_stack_locals.
22901         (struct machine_functions): Rename element names to avoid name
22902         clashes.
22903         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
22904         macros, replacing global variables.
22905         (clear_386_stack_locals, save_386_machine_status,
22906         restore_386_machine_status): Delete functions.
22907         (override_options): Initialize init_machine_status.
22908         * i386.h (INIT_EXPANDERS): Delete macro.
22909         (save_386_machine_status, restore_386_machine_status,
22910         clear_386_stack_locals): Delete declarations.
22912 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22914         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
22915         (doloop_begin):  Simplify pattern and use emit_jump_insn.
22916         (doloop_end): Simplify pattern, switch operand order,
22917         and use emit_jump_insn.
22919 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22921         * function.h (struct function): Add new element LANGUAGE.
22922         (save_lang_status): Declare new variable.
22923         (restore_lang_status): Likewise.
22924         * function.c (save_lang_status): Define.
22925         (restore_lang_status): Likewise.
22926         (push_function_context_to): Call language-specific save function.
22927         (pop_function_context_from): Call language-specific restore function.
22929 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
22931         * i386.md (movsf_1): Check REG_P before use of REGNO.
22932         (movdf_1): Likewise.
22933         (movxf_1): Likewise.
22934         (extendsfdf2): Likewise.
22935         (extendsfxf2): Likewise.
22936         (extenddfxf2): Likewise.
22938 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22940         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
22941         constants into memory.
22942         (c4x_shiftable_constant): New function.
22943         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
22944         (c4x_shiftable_constant): Declare.
22945         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
22946         ashlqi3_noclobber): Add new patterns and associated splitters.
22948 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
22950         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
22951         * dwarf2out.c (dwarf2out_frame_init): Likewise.
22952         * final.c (shorten_branches): Likewise.
22953         * global.c (global_alloc): Likewise.
22954         * haifa-sched.c (build_control_flow): Likewise.
22955         * stmt.c (check_for_full_enumeration_handling): Likewise.
22956         (estimate_case_costs): Likewise.
22958 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
22960         * rtl.h (RTL_CHECKC2): Fix typo in last change.
22962 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
22964         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
22965         (recompute_reg_usage): Likewise.
22966         * rtlanal.c (find_regno_fusage): Likewise.
22968         * rtl.c (rtl_check_failed_code1): New function.
22969         (rtl_check_failed_code2): New.
22970         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
22971         (RTL_CHECKC1, RTL_CHECKC2): New.
22972         (XC*): New accessor macros.
22973         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
22974         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
22975         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
22976         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
22977         (TRAP_*, RANGE_INFO_*): Likewise.
22979 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22981         * Makefile.in (tlink.o): Don't depend on toplev.h.
22983         * collect2.c (c_file, o_file, export_file, import_file, ldout,
22984         output_file, nm_file_name, ldd_file_name, strip_file_name,
22985         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
22986         add_prefix, prefix_from_env, prefix_from_string, do_wait,
22987         fork_execute, maybe_unlink, add_to_list,
22988         extract_init_priority, write_list, dump_list,
22989         dump_prefix_list, write_list_with_asm, write_c_file,
22990         write_c_file_stat, write_c_file_glob, scan_prog_file,
22991         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
22992         ignore_library, extract_string, notice, dump_file, target_machine,
22993         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
22994         read_file, print_load_command): Constify a char*.
22995         (fdopen, error, fatal, fatal_perror): Don't prototype.
22996         (my_strerror): Remove.  All callers use xstrerror instead.
22997         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
22998         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
22999         to xcalloc/strcpy/strcat/...  to one call to concat.
23000         (main, scan_prog_file, scan_libraries): Use an intermediate
23001         `const char **' to build an argv array.
23002         (mapfile, libselect, libcompare, locatelib): Add prototypes.
23004         * collect2.h (collect_execute, collect_wait, dump_file,
23005         file_exists): Constify a char*.
23006         (ldout, c_file_name, temporary_obstack, permanent_obstack,
23007         temporary_firstobj, vflag, debug): Add extern declarations.
23008         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
23010         * tlink.c: Don't include toplev.h.
23011         (vflag, debug, ldout, c_file_name, temporary_obstack,
23012         permanent_obstack, temporary_firstobj): Don't declare.
23013         (tlink_execute, frob_extension, symbol_hash_lookup,
23014         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
23015         recompile_files, read_repo_files, demangle_new_symbols,
23016         scan_linker_output): Constify a char*.
23017         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
23018         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
23020 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
23022         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
23023         (relative) rather than jsr (absolute) subroutine call insns.
23024         * config/m68k/m68k-coff.h: Ditto.
23026 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
23028         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
23029         now rework these too.
23030         (arm_reorg): If an insn can't reach the end of the current pool,
23031         ensure that we emit that pool before the insn.
23033 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
23035         * tlink.c (scan_linker_output): Skip the initial underscore in
23036         a mangled name if appropriate.
23038 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23040         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
23041         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
23042         error_with_ivar, gen_declarator, create_builtin_decl,
23043         my_build_string, generate_descriptor_table, generate_ivars_list,
23044         generate_dispatch_table, check_protocols, TAG_GETCLASS,
23045         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
23046         dump_base_name, lang_decode_option, build_encode_expr,
23047         start_class, finish_class, encode_pointer, really_start_method,
23048         gen_declaration, dump_interface, handle_class_ref, handle_impent):
23049         Constify.
23050         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
23051         Add static prototypes.
23052         (build_objc_string_decl, build_selector_reference_decl,
23053         encode_bitfield, build_class_reference_decl): Remove unused
23054         parameter, all callers changed.
23055         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
23056         (objc_printable_name): Likewise.  Change second parameter to type int.
23057         (init_objc): Use memcpy, not bcopy, to avoid casts.
23059 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
23061         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
23062         reg notes on a deleted insn.
23063         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
23065 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
23067         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
23069 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23071         * stmt.c (expand_asm_operands): Fix index into inout_mode when
23072         reading it.
23074 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
23076         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
23077         * tm.texi (MD_ASM_CLOBBERS): Document it.
23079 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
23081         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
23082         * except.c (expand_rethrow): Remove unused variable.
23083         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
23084         * flow.c (replace_insns): Likewise.
23085         (create_edge_list, verify_edge_list): Likewise.
23086         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
23088         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
23089         is special code to run.
23090         (main): Don't define operands to emit_operand.
23091         * genrecog.c (main): Don't emit an empty peephole2_insn function.
23093         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
23095         * alpha/alpha.h (normal_memory_operand): Declare.
23096         (reg_no_subreg_operand): Declare.
23097         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
23099 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
23101         * c-parse.in (compstmt_primary_start): New, broken out of first
23102         part of compstmt handling in primary.
23103         (primary): Use it.  Add an error clause.
23104         (compstmt_nostart): Renamed from compstmt; remove all
23105         initial invocations of compstmt_start.
23106         (compstmt): New.
23108 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
23110         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
23111         needed.
23113 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
23115         * combine.c (simplify_shift_const): Remove extra semicolon.
23116         * dwarf2out.c (remove_AT): Likewise.
23117         * expmed.c (expand_mult): Likewise.
23118         * gcov.c (create_program_flow_graph): Likewise.
23119         * reorg.c (mostly_true_jump): Likewise.
23121 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
23123         * fold-const.c (fold_range_test): Do not try to fold the range
23124         test if the rhs or lhs has side effects.
23126         * combine.c (simplify_rtx): Recognize another case of a synthesized
23127         sign extension.
23129         * varasm.c (mark_constant_pool): When marking indirect references,
23130         only look at SYMBOL_REFs.
23132         * except.c (expand_fixup_region_end): Do not peek at
23133         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
23135 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
23137         * flags.h: New variables align_loops, align_loops_log,
23138         align_jumps, align_jumps_log, align_labels, align_labels_log,
23139         align_functions, align_functions_log.
23140         * toplev.c: Define them.
23141         (f_options): Handle -falign-* when they have no argument.
23142         (main): Add logic to set variables for -falign-functions,
23143         -falign-jumps, -falign-labels, -falign-loops.
23144         Make it -fsched-verbose=<n> and -finline-limit=<n>.
23145         (display_help): Change help to match options.
23146         * final.c (LABEL_ALIGN): Default to align_labels_log.
23147         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
23148         (LOOP_ALIGN): Default to align_loops_log.
23149         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
23150         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
23151         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
23152         * varasm.c (assemble_start_function): Handle align_functions.
23154         * config/sparc/sparc.h: Don't declare sparc_align_*.
23155         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
23156         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
23157         sparc.c.
23158         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
23159         it's a promise.
23160         * config/sparc/sparc.c: Delete sparc_align_loops,
23161         sparc_align_jumps, sparc_align_funcs and the corresponding string
23162         variables.
23163         (sparc_override_options): Default align_functions on ultrasparc.
23164         Delete -malign-* handling.
23166         * config/mips/mips.c (override_options):  On 64-bit targets,
23167         try to align code to 64-bit boundaries.
23168         (print_operand): New substitution, %~,
23169         which aligns labels to align_labels_log.
23170         * config/mips/mips.md (div_trap_normal): Use %~.
23171         (div_trap_mips16): Likewise.
23172         (abssi): Likewise.
23173         (absdi2): Likewise.
23174         (ffssi2): Likewise.
23175         (ffsdi2): Likewise.
23176         (ashldi3_internal): Likewise.
23177         (ashrdi3_internal): Likewise.
23178         (lshrdi3_internal): Likewise.
23179         (casesi_internal): Likewise.
23181 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
23183         Merge new ia32 backend from the branch!
23185         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
23186         See ChangeLog.P2 on new_ia32_branch for details.
23188         * rtl.h (stack_regs_mentioned_p): Delete prototype.
23189         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
23190         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
23191         * i386/gas.h (ASM_FILE_START): Define.
23192         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
23193         for name change of ix86_valid_decl_attribute_p.
23194         (i386_pe_valid_type_attribute_p): Similarly.
23196 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
23198         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
23199         to step through CC modes.
23201 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23203         * regmove.c (fixup_match_1): Don't move INSN in front of P if
23204         it would end up in the shadow of a live flags regsiter.
23206 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23208         * reload1.c: Fix many indentation problems.
23209         * reload.c: Likewise.
23211 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
23213         * alias.c (non_local_reference_p): Constify fmt.
23215 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
23217         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
23219 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
23221         * cse.c (delete_trivially_dead_insns): Do not delete stores to
23222         the internal_arg_pointer.
23224 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
23226         Merge peephole2 from new_ia32_branch:
23227         * Makefile.in (STAGESTUFF): Add *.peephole2.
23228         (mostlyclean): Likewise.
23229         (recog.o): Depend on resource.h.
23231         * final.c (peephole): Conditionalize decl on HAVE_peephole.
23232         (final_scan_insn): Likewise for the invocation of peephole.
23233         * genconfig.c (main): Look for peephole and peephole2 patterns.
23234         Emit HAVE_peephole* accordingly.
23235         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
23236         * flags.h (flag_peephole2): Declare.
23237         * toplev.c: New pass peephole2.  New flag -fpeephole2.
23239         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
23240         * gencodes.c (main): Likewise.
23241         * genextract.c (main): Likewise.
23242         * genoutput.c (main): Likewise.
23243         * genemit.c (max_operand_1): Look for the max scratch operand.
23244         (gen_rtx_scratch): New.
23245         (gen_exp): Use it, and pass on new arg subroutine_type.
23246         (gen_expand): Take max scratch into account.
23247         (gen_split): Emit peephole2 functions.
23248         (output_peephole2_scratch): New.
23249         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
23250         * genrecog.c (routine_type): Add PEEPHOLE2.
23251         (IS_SPLIT): New.
23252         (make_insn_sequence): Match outer parallel for peep2.  Discard
23253         top level scratches and dups.
23254         (add_to_sequence): New args insn_type and top.  Update all callers.
23255         Handle toplevel peep2 matching insns.
23256         (write_subroutine): Handle peep2.
23257         (write_tree_1): Likewise.
23258         (write_tree): Likewise.
23259         (main): Likewise.
23260         (change_state): New arg afterward.  Update all callers.
23261         Handle matching separate insns.
23262         * recog.c (recog_next_insn): New.
23263         (peephole2_optimize): New.
23264         * rtl.def (DEFINE_PEEPHOLE2): New.
23265         * resource.c (find_free_register): New argument last_insn.  Use it
23266         to find a register available through the entire span.
23267         * resource.h (find_free_register): Update prototype.
23269 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
23271         * i386.c (output_strlen_unroll): Don't write xops[7]
23272         label if it wasn't set.
23274 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
23276         * cpplib.c (struct directive): Const-ify name pointer and
23277         function pointer prototype.
23278         (validate_else, do_define, do_line, do_include, do_undef,
23279         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
23280         do_elif, do_endif, do_sccs, do_assert, do_unassert,
23281         do_warning): Const-ify second arg.
23282         (directive_table): Mark const.  Reorder entries by frequency
23283         of usage, record statistics.
23285 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
23287         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
23288         bounds- check RTL accesses if --enable-checking.
23289         (RTVEC_ELT): Bounds check if --enable-checking.
23290         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
23291         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
23292         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
23293         GET_NUM_ELEM.
23294         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
23295         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
23297         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
23298         (NOTE_SOURCE_FILE): Use X0STR.
23299         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
23300         MEM_ALIAS_SET): Use X0INT.
23301         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
23302         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
23303         Use X0EXP.
23304         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
23305         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
23306         (rtl_check_failed_bounds, rtl_check_failed_type1,
23307         rtl_check_failed_type2, rtvec_check_failed_bounds): New
23308         functions.
23309         (fancy_abort): Fix comment.
23311         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
23312         (cse_insn): Decrement LABEL_NUSES for jump target before
23313         deleting jump insn.
23314         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
23315         * final.c (alter_subreg): Compute regno before changing x to
23316         REG; set REGNO(x) after changing it.
23317         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
23318         notes containing CONST_INTs.
23319         (delete_eh_regions): Use NOTE_EH_HANDLER.
23320         * function.c (put_reg_into_stack): Make reg a MEM before
23321         initializing it.
23322         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
23323         delete insn.
23324         (gen_mem_addressof): Make reg a MEM before initializing it.
23325         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
23326         X0WINT.
23327         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
23328         deleting an insn, not after.
23329         (block_alloc): Only look at PATTERN(insn) if we have to, and
23330         only if it's format class 'i'.
23331         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
23332         CONST_INT before using its INTVAL.
23333         * print-rtl.c (print_rtx): Use X0STR.
23334         * regmove.c (fixup_match_1): Don't look at PATTERN of
23335         non-class-'i' insn chain elements.
23336         * reload.c (loc_mentioned_in_p): Take address of
23337         in->fld[1].rtx directly.
23338         * reload1.c (reload): Change reg to a MEM before initializing
23339         it.
23340         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
23341         have no names.
23342         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
23344 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
23346         * config/mips/mips.c (machine_dependent_reorg): Force a
23347         barrier to output the local constant pool if a barrier hasn't
23348         been found at a natural point in the instruction stream.
23350 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23352         * c-parse.in (language_string): Constify.
23354         * dwarf2out.c (language_string): Remove declaration.
23356         * dwarfout.c (language_string): Likewise.
23358         * toplev.c (language_string, init_parse, finish_parse): Likewise.
23360         * tree.h (language_string, init_parse, finish_parse): Declare.
23362         * i386/sun386.h (language_string): Remove declaration.
23364         * mips.h (language_string): Likewise.
23366         * nextstep.h (language_string): Likewise.
23368         * nextstep21.h (language_string): Likewise.
23370         * rs6000.c (language_string): Likewise.
23372 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23374         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
23375         (getpwd.o): Remove target.
23377         * getpwd.c: Delete file.  Its in libiberty now.
23379         * dbxout.c (getpwd): Don't prototype.
23380         * dwarf2out.c (getpwd): Likewise
23381         * dwarfout.c (getpwd): Likewise
23382         * final.c (getpwd): Likewise.
23383         * protoize.c (getpwd): Likewise.
23385 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23387         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
23389 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
23391         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
23392         mark_set_resources.
23394 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
23396         * fixinc/Makefile.in (subdir): New.
23397         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
23398         (Makefile): New.
23400 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
23402         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
23403         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
23404         be shared.
23406         * invoke.texi: Fix typo.
23408         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
23409         changed.  Handle autoincrement addressing modes.
23411         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
23412         just like we would the virtual incoming args register when
23413         integrating.
23415 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
23417         * rs6000.h (ASM_FILE_START): Specify complete filename, including
23418         path, in .file directive.
23420 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
23422         * gcc.texi (External Bugs): Remove obsolete note about Perl on
23423         SunOS.
23425 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
23427         * stdbool.h: Make the typedef name _Bool, with bool a #defined
23428         alias.
23430 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23432         * tree.c (tree_code_name): Constify a char*.
23434         * tree.h (tree_code_name, decl_printable_name): Likewise.
23436         * function.h (struct function): Likewise.
23438         * toplev.c (decl_name, decl_printable_name): Likewise.
23440         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
23442         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
23443         (init_objc): Remove function pointer cast.
23445 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
23447         * pa.md (interspace_jump): New pattern.
23448         (builtin_longjmp): New expander.
23450 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
23452         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
23453         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
23454         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
23456 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
23458         * jump.c (delete_prior_computation): Also check calls
23459         to constant functions.  Don't bother checking for a
23460         REG_UNUSED note before adding it.
23461         (delete_computation): Handle multi-word hard registers
23462         when synthesizing missing REG_DEAD notes for a register
23463         which is both set and used by an insn.
23465 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23467         * loop.c (this_loop_info): New variable.
23468         (loop_has_call, loop_has_volatile, loop_has_tablejump,
23469         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
23470         All uses updated.
23471         (prescan_loop, strength_reduce): New argument loop_info.  All callers
23472         updated.
23473         (scan_loop): New variable loop_info, initialise to address of
23474         this_loop_info.
23475         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
23476         Delete variable loop_has_multiple_exit targets and replace with
23477         field in this_loop_info.
23478         (find_and_verify_loops): Rename this_loop to this_loop_num.
23479         (strength_reduce): Delete loop_iteration_info.  Replace variable
23480         loop_info with function argument of same name.
23481         (insert_bct): Rework test for loop being completely unrolled.
23483         * loop.h (struct loop_info): New fields num, loops_enclosed,
23484         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
23485         has_indirect_jump, and cont.  Redefine use of unroll_number.
23486         (loop_unroll_number): Delete.
23488         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
23489         field of loop_info.
23490         (loop_iterations): Delete variable vtop and instead use
23491         loop_info->vtop computed in prescan_loop.
23493 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
23495         * fix-header.c (main): Do not pass a null pointer to strcmp.
23497 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
23499         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
23500         filenames.
23501         * configure: Rebuilt.
23503 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
23505         * jump.c (jump_optimize_1): Do not delete assignments to
23506         internal_arg_pointer.
23507         * cse.c (delete_trivially_dead_insns): Always consider a set of
23508         the internal_arg_pointer live.
23510 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
23512         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
23513         (update_life_info) [REG_WAS_0]: Search the original insns rather
23514         than the new insns for the note.  Fix typos finding note_dest.
23515         If no dest found, discard the note rather than abort.
23516         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
23517         (replace_insns): Remove the old insn list after update_life_info
23518         not before.
23520 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
23522         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
23523         sched_analyze_insn.
23524         (sched_analyze_1): Let add_dependence care for not adding dups.
23525         (sched_analyze_2): Likewise.
23526         (add_branch_dependences): Likewise.
23528 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23530         * i386/winnt.c (export_list): New type.
23531         (exports_head): Rename to
23532         (export_head):  this.
23533         (i386_pe_record_exported_symbol): Add is_data flag.
23534         (i386_pe_asm_file_end): Emit directive for exported variables.
23535         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
23536         prototype.
23537         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
23538         (ASM_DECLARE_OBJECT_NAME): Likewise.
23539         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23540         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
23542 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
23544         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
23546         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
23547         operand.
23549 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
23551         * config/openbsd.h: Define SET_ASM_OP.
23552         * tm.texi: cross-reference SET_ASM_OP in the index.
23554 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
23556         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
23557         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
23558         and class_narrowest_mode at compile time.  Kill init_rtl.
23559         Mark rtx_length, mode_class, mode_size, mode_unit_size,
23560         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
23561         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
23562         EXTRA_CC_NAMES.
23563         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
23564         format.
23565         * rtl.h: Declare rtx_length and rtx_format as const.
23566         * machmode.def: Define CC().  Use CC() to define CCmode.  If
23567         EXTRA_CC_MODES is defined, expand it here.
23568         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
23569         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
23570         const.  Kill all references to EXTRA_CC_MODES.
23572         * toplev.c: Don't prototype or call init_rtl.
23573         * optabs.c: Don't call init_mov_optab.
23574         * genemit.c: Don't generate init_mov_optab.  Don't call
23575         init_rtl.
23576         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
23577         here.
23578         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
23579         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
23580         genrecog.c: Don't call init_rtl.
23582         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
23583         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
23584         definition of EXTRA_CC_MODES.
23586         * md.texi: Kill ref to EXTRA_CC_NAMES.
23587         * tm.texi: Document new way to define EXTRA_CC_MODES.
23589         * genrecog.c: Do not look up the name of a define_split.
23590         (Unrelated bugfix.)
23592 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
23594         * config/v850/v850.md: Fix typo introduced by previous delta.
23596 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23598         * gcc.c (fatal): Make definition static to match prototype.
23600 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23602         * combine.c (get_last_value): Don't look for earlier sets if the last
23603         known set is somewhere in between the insns being combined.
23605 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
23607         * configure.in: Don't use shell ! to negate exit codes
23608         * configure: Regenerate
23610 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
23612         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
23613         the fact that ALIGN is measured in bits, not bytes.
23615 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
23617         * errors.c: New file; defines functions error, warning, and
23618         fatal, variables have_error and progname.
23619         * errors.h: New file; prototypes and decls for stuff in errors.c.
23621         * Makefile: Add rules to build errors.o and
23622         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
23623         genopinit, genrecog, genextract, genpeep, genattr, and
23624         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
23625         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
23626         genpeep.o, genattr.o, and genoutput.o.
23628         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
23629         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
23630         define or prototype fatal.  Set progname at beginning of main.
23631         * genoutput.c:  Likewise, and don't define or prototype error
23632         either.
23634         * c-typeck.c (c_expand_start_case): Return immediately if exp
23635         is an ERROR_MARK.
23636         * fold-const.c (operand_equal_p): Return immediately if arg1
23637         or arg0 are ERROR_MARKs.
23638         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
23639         fields of type ERROR_MARK when calculating if the record can
23640         go in a register.
23642 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
23643         with much help from Jeffrey A Law and Richard Henderson
23645         * i386.md: In the 6 insns which call output_fix_trunc,
23646         earlyclobber operands[0].
23648 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
23650         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
23651         creating new registers.
23653 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
23655         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
23656         i386_reg_alloc_order, i386_regparm_string,
23657         i386_align_loops_string, i386_align_jumps_string,
23658         i386_align_funcs_string, i386_preferred_stack_boundary_string,
23659         and i386_branch_cost_string as type "const char *".
23660         * i386.c: Define all above strings as type "const char *".
23662 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
23664         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
23665         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
23667 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
23669         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
23670         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
23672 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
23674         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
23675         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
23676         (dwarf2out_line, dwarf2out_finish): Likewise.
23677         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
23679 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23681         * tree.c (lang_unsave_expr_now) : Correct return type.
23682         * tree.h (lang_unsave_expr_now) : Same.
23684 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
23686         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
23687         instead of duplicating code.
23689 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23691         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
23693 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
23695         * tree.h: fancy_abort always takes three args.
23696         * resource.c: Move include of system.h before toplev.h.
23698 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
23700         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
23701         as SYMBOL_REFs.
23703 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
23705         * system.h: Don't redefine abort or trim_filename.
23706         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
23707         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
23708         whether or not __FUNCTION__ is available.
23709         * tree.h: Duplicate rtl.h's definition of abort, for files
23710         that don't include rtl.h.  Delete all code to perform type
23711         checking with a compiler other than GCC.
23712         * varray.h: Delete all code to perform type checking with a
23713         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
23714         its arguments exactly once, using a statement expression.
23715         Adjust the VARRAY_<type> accessor macros to match.
23716         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
23717         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
23718         caller's location.  Define fatal_insn and fatal_insn_not_found
23719         as macros that use _fatal_insn and _fatal_insn_not_found.
23720         (fancy_abort, trim_filename): Kill prototypes.
23722         * rtl.c (trim_filename): Move here from toplev.c.
23723         (fancy_abort): New function.
23724         (DIR_SEPARATOR): Provide default definition.
23725         * tree.c (tree_check_failed, tree_class_check_failed): Go
23726         through fancy_abort.
23727         (tree_check, tree_class_check, cst_or_constructor_check,
23728         expr_check): Delete.
23729         * varray.c (varray_check_failed): New function.
23730         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
23731         _fatal_insn and _fatal_insn_not_found.  Go through
23732         fancy_abort.
23733         (trim_filename, fancy_abort): Delete.
23735         * builtins.c (expand_builtin_args_info): Report ICE with abort.
23736         * except.c (start_catch_handler): Report ICE with error/abort
23737         combo.
23738         * final.c (output_operand_lossage): Likewise.
23739         * flow.c (verify_flow_info): Likewise.
23741         * gcc.c: Prototype fatal.
23742         * gengenrtl.c: Undef abort after including rtl.h not system.h.
23743         * genattr.c, genattrtab.c, genemit.c, genextract.c,
23744         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
23745         Don't define fancy_abort.
23747 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
23749         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
23750         canonization.
23752 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
23754         * m88k.h (VERSION_INFO2): Kill.
23755         (VERSION_STRING): Kill.
23756         (TM_RCS_ID): Kill.
23757         (VERSION_INFO1): Tidy.
23758         (TARGET_VERSION): Update.
23759         * m88k/dgux.h (VERSION_INFO2): Kill.
23760         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
23761         * m88k/luna.h (VERSION_INFO1): Tidy.
23762         * m88k/sysv4.h (VERSION_INFO1): Likewise.
23763         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
23764         (output_file_start): Adjust for death of VERSION_STRING.
23766 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
23768         * cpplib.c (detect_if_not_defined): New function.
23769         (do_if): Use it to detect potential once-only headers.
23771 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
23773         * c-common.c (combine_strings): Always set TREE_CONSTANT.
23775 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23777         * combine.c (nonzero_bits) : Allow single-ly set registers to be
23778         anywere in the function only if they are pseudos and set before
23779         being used (not live at the start of the function).
23780         (num_sign_bit_copies) : Same.
23781         (get_last_value_validate) : Same.
23782         (get_last_value) : Same.
23784 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
23786         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
23787         where N and M are constant and N is an integer multiple of M.
23789 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23791         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
23792         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
23793         sbitmap_union_of_preds): Add prototypes.
23794         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
23795         the intersection of successors with the new flow graph structures.
23796         (sbitmap_intersection_of_preds): New function to compute the
23797         intersection of predecessors with the new flow graph structures.
23798         (sbitmap_union_of_succs): New function to compute the union of
23799         successors with the new flow graph structures.
23800         (sbitmap_union_of_preds): New function to compute the union of
23801         predecessors with the new flow graph structures.
23802         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
23803         (expr_reaches_here_p): Use edge and basic_block structures instead
23804         of s_preds and s_succs.
23805         (compute_cprop_avinout): Use new sbitmap routines.
23806         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
23807         of s_preds and s_succs.
23808         * flow.c (compute_flow_dominators): Compute dominators using
23809         edges and basic blocks instead of s_preds and s_succs.
23811 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23813         * lists.c (unused_insn_list, unused_expr_list): New file for
23814         maintaining various types of lists. New statics for maintaining a
23815         cache of available INSN_LIST and EXPR_LIST nodes.
23816         (free_list): Static function for freeing a list of INSN/EXPR nodes.
23817         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
23818         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
23819         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
23820         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
23821         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
23822         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
23823         (free_INSN_LIST_node): Free an individual INSN_LIST node.
23824         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
23825         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
23826         (remove_dependence, free_pending_lists): Use new global routines.
23827         (flush_pending_lists, sched_analyze_insn): Use new global routines.
23828         (sched_analyze, compute_block_backward_dependences): Use new routines.
23829         (sched_analyze_1, sched_analyze_2): Use new routines.
23830         (schedule_insns): Use new global routines.
23831         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
23832         prototypes.
23833         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
23834         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
23835         prototypes.
23836         * toplev.c (rest_of_compilation): Initialize node cache.
23837         * Makefile.in (OBJS): Add lists.o to list of object files.
23838         (lists.o): Add dependancies.
23840 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
23842         * config/v850/v850.md: Fix compile time warning messages.
23843         * config/v850/v850.c: Fix compile time warning messages.
23844         * config/v850/v850.h: Fix compile time warning messages.
23846 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23848         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
23849         Remove unused prototype for `init_lengths'.
23851 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23853         * calls.c (emit_call_1): Mark parameter `stack_size' with
23854         ATTRIBUTE_UNUSED.
23855         (expand_call): Initialize variable `insn'.
23856         (emit_library_call): Likewise for variable `high_to_save'.
23857         (emit_library_call_value): Likewise.
23858         (store_one_arg): Likewise for variables `lower_bound' and
23859         `upper_bound'.
23861         * combine.c (try_combine): Likewise for variables `i2_code_number'
23862         and `other_code_number'.
23863         (find_split_point): Likewise for variables `pos', `unsignedp' and
23864         `inner'.
23865         (simplify_if_then_else): Likewise for variables `op' and `c1'.
23866         (simplify_and_const_int): Remove unused variable `width'.
23867         (merge_outer_ops): Likewise.
23869         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
23870         HOST_WIDE_INT' when comparing against one.
23871         (simplify_relational_operation): Likewise.
23872         (cse_insn): Initialize variables `src_eqv_volatile',
23873         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
23875         * final.c (init_final): Constify parameter `filename'.
23876         (final_start_function): Mark parameter `optimize' with
23877         ATTRIBUTE_UNUSED.
23878         (profile_function): Likewise for parameters `first' and `optimize'.
23879         (output_source_line): Likewise for parameter `file'.
23881         * integrate.c (subst_constants): Cast a value to `size_t' when
23882         comparing against one.
23883         (mark_stores): Initialize variable `mode'.  Cast a value to
23884         `size_t' when comparing against one.
23886         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
23888         * loop.c (move_movables): Initialize variable `first'.
23889         (strength_reduce): Likewise for variable `increment'.
23890         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
23891         value to `size_t' when comparing against one.
23892         (load_mems): Initialize variable `end_label'.
23894         * output.h (init_final): Constify parameter.
23896         * reload.c (decompose): Initialize variable `base'.
23898         * reload1.c (reload): Likewise for variable `is_scalar'.
23899         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
23900         (choose_reload_regs): Initialize variable `mode'.
23901         (emit_reload_insns): Likewise for variable `store_insn'.
23902         (reload_cse_noop_set_p): Mark parameter `insn' with
23903         ATTRIBUTE_UNUSED.
23904         (reload_combine): Initialize variable `set'.
23906         * unroll.c (unroll_loop): Likewise for variable `local_label'.
23907         (copy_loop_body): Cast a value to `size_t' when comparing against
23908         one.
23910         * varasm.c (assemble_variable): Initialize variable `size_tree'.
23911         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
23912         (remove_from_pending_weak_list): Mark parameter `name' with
23913         ATTRIBUTE_UNUSED.
23915 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23917         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
23918         gcse dump file.
23920 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
23922         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
23923         (ASM_DECLARE_FUNCTION_NAME): Define.
23924         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
23925         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
23926         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
23927         not already defined.
23929 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
23931         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
23932         of n_popped when call/call_value are not defined.
23934 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
23936         * tm.texi: GNU CC -> GCC conversion.
23937         (CC1_SPEC): Indicate it is used for all language front ends.
23939 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
23941         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
23942         NOTE_INSN_EH_REGION_END correctly.
23944 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23945                           Jeff Law <law@cygnus.com>
23947         * loop.c (strength_reduce): Automatically unroll loops if the
23948         unrolled loop size is smaller than the rolled loop size.
23950         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
23951         and delete comment that code should be rewritten.
23953 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
23955         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
23956         as reachable.
23958         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
23960 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23962         * fixinc/mkfixinc.sh: Don't fix uwin headers.
23963         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
23964         (LINK_SPEC): Add -u _main when building executables.
23965         (ASM_DECLARE_FUNCTION): Update from Cygwin.
23966         (ASM_FILE_END): Use the default for ix86-pe.
23967         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
23969 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
23971         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
23972         and ASM_CLOSE_PAREN are empty strings.
23974 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
23975                           Geoffrey Keating <geoffk@cygnus.com>
23977         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
23978         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
23979         (unprotoize.o): Ditto.
23980         (test-protoize-simple): Don't define STD_PROTO_DIR.
23981         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
23982         changes to make 'test-protoize-simple' pass.
23983         (STD_PROTO_DIR): Remove define.
23984         (STANDARD_EXEC_PREFIX): Supply default define.
23985         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
23986         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
23987         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
23988         (GET_ENV_PATH_LIST): New macro.
23989         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
23990         (do_processing): Initialize default_syscalls_dir using new
23991         macros.  Use it to initialize syscalls_absolute_filename.
23993 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
23995         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
23996         B into a register before emit_conditional_move.
23998 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
24000         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
24001         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
24002         multiplicand out of (+ (* a b) (* c d)).
24004 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
24005                           Richard Henderson  <rth@cygnus.com>
24007         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
24008         (new_insn_dead_notes): Likewise.
24009         (update_n_sets): Likewise.
24010         (update_flow_info): Move to flow.c, renamed to update_life_info;
24011         extend to handle multiple source insns.
24012         * flow.c: Include resource.h
24013         (unlink_insn_chain): New.
24014         (split_hard_reg_notes): New.
24015         (maybe_add_dead_note): New.
24016         (maybe_add_dead_note_use): New.
24017         (find_insn_with_note): New.
24018         (new_insn_dead_notes): New.
24019         (update_n_sets): New.
24020         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
24021         (maybe_remove_dead_notes): New.
24022         (update_life_info): New.
24023         (prepend_reg_notes): New.
24024         (replace_insns): New.
24025         * output.h (update_life_info): Declare.
24026         * recog.c (split_block_insns): Use update_life_info.
24027         * resource.c (find_free_register): Use reg_alloc_order, don't use
24028         fixed regs, make sure the mode is supported, don't use new regs.
24029         (reg_dead_p): New.
24030         * rtl.h (replace_insns): Declare.
24032 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
24034         * expr.c (expand_expr): Cope with COND_EXPRs with one
24035         non-returning branch.
24037 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
24039         * expr.c (store_expr): Always pass down the target, even when not
24040         doing CSE.
24042 1999-08-24  Nick Clifton  <nickc@cygnus.com>
24044         * configure.in: Define target_cpu_default for v850 targets.
24045         * configure: Regenerate
24047         * config/v850/v850.h (TARGET_CPU_generic): Define.
24048         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
24049         addresses are 4 byte aligned.
24051         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
24052         addresses.
24054 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24056         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
24057         (main): Add prototypes.
24059         * genattrtab.c (substitute_address, write_const_num_delay_slots,
24060         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
24061         (write_attr_get): Emit prototypes along with function definition.
24062         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
24063         (write_complex_function): Emit static prototype along with
24064         function definition.
24066         * genemit.c (gen_split): Emit prototypes along with function
24067         definition.
24069         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
24070         Likewise for predicates and `insn_operand_predicate'.
24071         (process_template): Emit static prototype along with function
24072         definition.
24074         * genrecog.c (make_insn_sequence): Constify a char*.  Add
24075         prototypes for get_split_*().
24076         (write_subroutine): Emit prototypes along with function
24077         definition.
24079 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24081         * gcse.c (find_avail_set): Follow chains of register-register copies.
24082         Use oprs_not_set_p to guarantee that the returned value can be
24083         substituted.
24084         (cprop_insn): Don't verify the return value of find_avail_set with
24085         oprs_not_set_p.
24087         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
24088         (cprop_cc0_jump): New function.
24089         (cprop_insn): Break out new function cprop_jump and use it.
24090         Also use cprop_cc0_jump for machines with CC0.
24091         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
24093         * tree.h (current_function_calls_setjmp,
24094         current_function_calls_longjmp): Delete declarations.
24095         * dsp16xx.c: Include "function.h".
24096         * elxsi.c: Likewise.
24097         * gmicro.c: Likewise.
24098         * h8300.c: Likewise.
24099         * i370.c: Likewise.
24100         * m32r.c: Likewise.
24101         * mn10200.c: Likewise.
24102         * mn10300.c: Likewise.
24103         * ns32k.c: Likewise.
24104         * spur.c: Likewise.
24105         * v850.c: Likewise.
24107         * rtl.h (rtx_equal_function_value_matters): Declare.
24108         * toplev.c (rtx_equal_function_value_matters): Don't declare.
24109         * cse.c: Likewise.
24110         * function.c: Likewise.
24111         * emit-rtl.c: Likewise.
24113 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
24115         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
24116         call.
24118 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24120         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
24121         exactly.
24123 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
24125         * cpp.texi: Add a node documenting macro varargs (copied
24126         from extend.texi).
24128 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
24130         * cppspec.c: Put a null pointer at the end of the new argv.
24132 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
24134         * configure.in: Remove code to select/de-select the haifa
24135         scheduler.  Every scheduled port gets haifa now.
24136         * configure: Rebuilt.
24137         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
24138         * sched.c Deleted.
24139         * Makefile.in: Corresponding changes.
24141 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24143         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
24144         All callers changed.
24145         (prepare_float_lib_cmp): Likewise.
24146         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
24147         * expr.h (emit_float_lib_cmp): Delete declaration.
24148         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
24149         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
24150         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
24151         specially.
24152         (cmptf): Now conditional on TARGET_HARD_QUAD.
24154 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
24156         * resource.c (mark_target_live_regs): Use
24157         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
24159 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24161         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
24163         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
24165         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
24167 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24169         * rtl.h (rtx_format): Constify a char*.
24171         * rtl.c (rtx_format): Likewise.
24172         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
24173         (init_rtl): Use accessor macro, not `rtx_format'.
24175         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
24176         char*.
24178         * caller-save.c (mark_referenced_regs): Likewise.
24180         * combine.c (subst, make_compound_operation, known_cond,
24181         gen_rtx_combine, update_table_tick, get_last_value_validate,
24182         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
24184         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
24185         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
24186         count_reg_usage): Likewise.
24188         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
24189         Likewise.
24191         * final.c (leaf_renumber_regs_insn): Likewise.
24193         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
24194         dump_edge_info, count_reg_references): Likewise.
24196         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
24197         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
24198         Likewise.
24200         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
24201         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
24202         add_label_notes): Likewise.
24204         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
24205         clear_struct_flag, count_sub_rtxs, count_alternatives,
24206         compares_alternatives_p, contained_in_p, walk_attr_value,
24207         write_expr_attr_cache): Likewise.
24209         * genconfig.c (walk_insn_part): Likewise.
24211         * genemit.c (max_operand_1, gen_exp): Likewise.
24213         * genextract.c (walk_rtx): Likewise.
24215         * genflags.c (num_operands): Likewise.
24217         * genoutput.c (scan_operands): Likewise.
24219         * genpeep.c (match_rtx): Likewise.
24221         * genrecog.c (add_to_sequence): Likewise.
24223         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
24224         Likewise.
24226         * integrate.c (save_constants, copy_for_inline,
24227         copy_rtx_and_substitute, subst_constants, restore_constants):
24228         Likewise.
24230         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
24231         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
24233         * local-alloc.c (contains_replace_regs, memref_referenced_p):
24234         Likewise.
24236         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
24237         add_label_notes, replace_call_address, count_nonfixed_reads,
24238         invariant_p, find_single_use_in_loop, find_mem_givs,
24239         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
24240         Likewise.
24242         * print-rtl.c (reg_names, print_rtx): Likewise.
24244         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
24246         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
24247         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
24248         print_blocks): Likewise.
24250         * regclass.c (fix_register, record_address_regs,
24251         reg_scan_mark_refs): Likewise.
24253         * regmove.c (stable_but_for_p): Likewise.
24255         * reload.c (loc_mentioned_in_p, operands_match_p,
24256         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
24257         copy_replacements, refers_to_regno_for_reload_p,
24258         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
24259         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
24260         Likewise.
24262         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
24263         delete_address_reloads_1, count_occurrences,
24264         reload_cse_mem_conflict_p, reload_combine_note_use,
24265         add_auto_inc_notes): Likewise.
24267         * resource.c (mark_referenced_resources, mark_set_resources):
24268         Likewise.
24270         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
24271         reg_mentioned_p, regs_set_between_p, modified_between_p,
24272         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
24273         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
24274         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
24275         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
24277         * sched.c (sched_analyze_2, attach_deaths): Likewise.
24279         * stupid.c (stupid_mark_refs): Likewise.
24281         * unroll.c (remap_split_bivs): Likewise.
24283         * varasm.c (mark_constants): Likewise.
24285         * a29k/a29k.c (uses_local_reg_p): Likewise.
24287         * alpha/alpha.c (summarize_insn): Likewise.
24289         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
24290         eliminate_lr2ip): Likewise.
24292         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
24294         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
24295         reg_mentioned_in_mem): Likewise.
24297         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
24298         symbolic_reference_mentioned_p): Likewise.
24300         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
24302         * sh/sh.c (regs_used, mark_use): Likewise.
24304         * vax/vax.c (vax_rtx_cost): Likewise.
24306 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24308         * machmode.h (mode_name): Constify a char*.
24310         * rtl.c (mode_name): Likewise.
24312         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
24314         * optabs.c (init_libfuncs): Constify a char*.
24316         * print-tree.c (mode_name): Remove redundant declaration.
24317         (print_node): Use accessor macro, not `mode_name'.
24319         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
24320         not `mode_name'.
24321         (new_spill_reg): Constify a char*.
24323         * tree.c (mode_name): Remove redundant declaration.
24325 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24327         * rtl.c (rtx_name): Constify a char*.
24329         * rtl.h (rtx_name, fix_sched_param): Likewise.
24331         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
24332         (mypr): Use accessor macro, not `rtx_name'.
24334         * genemit.c (print_code): Constify a char*.
24336         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
24338         * genpeep.c (print_code): Constify a char*.
24340         * genrecog.c (print_code): Likewise.
24342         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
24343         end_bb): Add static prototype.
24344         (draw_edge): Constify a char*.
24345         (end_bb): Remove unused parameter.
24347         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
24348         print_block_visualization): Constify a char*.
24350 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
24352         * c-common.c (c_get_alias_set): Update comment.
24354 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
24356         * linux.h (LIB_SPEC): Added.
24358 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24360         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
24362 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
24364         * tree.c (expr_check): Fix typo in last change.
24366 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
24368         * rtl.def (NOTE): Change format to "iuu0n".
24369         (ADDR_DIFF_VEC): Change format to "eEee0".
24370         (ADDRESSOF): Change format to "eit".
24372         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
24373         (RTVEC_ELT): Change to match.
24374         (XVECEXP): Use XVEC and RTVEC_ELT.
24375         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
24376         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
24377         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
24378         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
24379         TRAP_CONDITION, TRAP_CODE): Use XEXP.
24380         (INTVAL): Use XWINT.
24381         (ADDRESSOF_DECL): Use XTREE.
24382         (SET_ADDRESSOF_DECL): Delete.
24383         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
24384         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
24385         ifdefed out since 2.6 at least.
24386         (gen_rtvec_vv): Delete prototype.
24388         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
24389         not rtunion.
24390         (copy_most_rtx): Handle 't' format letter.
24391         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
24392         (gen_rtvec_vv): Delete function.  All callers changed to use
24393         gen_rtvec_v instead.
24394         * print-rtl.c (print_rtx): Move special casing of NOTEs to
24395         the '0' format letter.
24397         * function.c (gen_mem_addressof): Don't use
24398         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
24399         instead.
24400         * integrate.c (copy_rtx_and_substitute): Likewise.
24401         Copy 't' slots with XTREE.
24402         (subst_constants): Treat 't' slots like '[swi]' slots.
24403         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
24404         * jump.c (rtx_equal_for_thread_p): Likewise.
24405         * rtlanal.c (rtx_equal_p): Likewise.
24406         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
24407         only four arguments.
24408         * gengenrtl.c (type_from_format): Provide correct types for
24409         'b' and 't' slots.
24412         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
24413         If a recent gcc is in use (always in stage2 and beyond), use
24414         statement expressions, so we don't make a function call unless
24415         the check fails.  Evaluate arguments exactly once.
24416         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
24417         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
24418         Delete.
24419         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
24420         they evaluate their arguments exactly once, irrespective of
24421         the compiler in use.
24423         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
24424         is used by the currently-enabled check macros.  This is:
24425         (tree_check_failed, tree_class_check_failed): For gcc.
24426         (tree_check, tree_class_check, cst_or_constructor_check,
24427         expr_check): For other compilers.
24429         * gencheck.c: Do not define any *_CHECK1 macros.
24431 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
24432                           Mark Mitchell <mark@codesourcery.com>
24434         * c-common.c (c_get_alias_set): Fix support for poitners and
24435         references.
24437 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
24439         * alias.c: Include tree.h.
24440         (nonlocal_reference_p, mark_constant_function): New functions.
24441         * flow.c (life_analysis): Call mark_constant_function.
24442         * rtl.h (mark_constant_function): Declare it.
24444 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
24446         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
24447         unrecognisable switches.
24449 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24451         * loop.c (recombine_givs): Set ix field after sorting.
24452         (recombine_givs): Remove bogus index / giv lockstep looping.
24454 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24456         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
24457         on CODE.
24458         (emit_store_flag_force): Use do_compare_rtx_and_jump.
24459         (do_cmp_and_jump): Formatting fixes.
24460         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
24461         do_compare_rtx_and_jump instead of compare_from_rtx.
24462         (do_compare_rtx_and_jump): New function; mostly copied from
24463         compare_from_rtx.
24464         (do_jump_for_compare): Delete.
24465         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
24466         MIN_EXPR.
24467         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
24468         of compare/do_jump_for_compare pairs.
24469         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
24470         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
24471         compare_from_rtx/do_jump_for_compare pairs.
24472         (do_jump_by_parts_equality): Likewise.
24473         (do_jump_by_parts_equality_rtx): Likewise.
24474         * expr.h (do_compare_rtx_and_jump): Declare.
24475         * optabs.c (prepare_cmp_insn): New function, contains most of the code
24476         that used to be in emit_cmp_insn.
24477         (cmp_available_p): New function.
24478         (prepare_operand): New function.
24479         (emit_cmp_and_jump_insn_1): New function, contains some code that used
24480         to be in emit_cmp_insn.
24481         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
24482         parameters to be pointers; don't emit final compare but modify some of
24483         the values pointed to by the args so the caller can perform the
24484         correct comparison.
24485         (expand_binop): Call emit_store_flag_force with signed forms of
24486         comparison code.
24487         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
24488         emit_jump_insn pair.
24489         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
24490         emit_cmp_and_jump_insn_1.  Call emit_queue.
24491         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
24492         arg.
24493         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
24494         jump sets cc0 before deleting it.
24495         * integrate.c (expand_inline_function): Likewise.
24496         * unroll.c (unroll_loop): Similar changes in several places.
24497         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
24498         before deleting it.
24500 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24502         * Makefile.in (insn-recog.o): Update dependencies.
24503         * genrecog.c (main): Make generated file include "function.h".
24505 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
24507         * cse.c (cse_insn): Call never_reached_warning when a jump is
24508         changed to be unconditional.
24509         * flags.h: Declare warn_notreached.
24510         * flow.c (delete_block): Call never_reached_warning when
24511         a block is deleted.
24512         * jump.c (delete_barrier_successors): Call never_reached_warning
24513         when we delete everything after a BARRIER.
24514         (never_reached_warning): New function.
24515         * rtl.h: Declare never_reached_warning.
24516         * toplev.c (warn_notreached): New variable.
24517         (lang_independent_options): Set warn_notreached
24518         when -Wunreachable-code.
24519         (compile_file): We need line numbers for -Wunreachable-code.
24521 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
24523         * haifa-sched.c (insn_unit): Fix typo on out of range test.
24524         * sched.c (insn_unit): Likewise.
24526 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
24528         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
24530 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24532         * flow.c (create_edge_list): Use xmalloc, not malloc.
24534 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
24536         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
24537         C-style comments.  Do not lose the character before double slash.
24539 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24541         * basic-block.h (struct edge_list): Stucture to maintain a vector
24542         of edges.
24543         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
24544          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
24545         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
24546         New function prototypes.
24547         * flow.c (create_edge_list): Function to create an edge list.
24548         (free_edge_list): Discards memory used by an edge list.
24549         (print_edge_list): Debug output showing an edge list.
24550         (verify_edge_list): Internal consistency check for an edge list.
24551         (find_edge_index): Function to find an edge index for a pred and succ.
24553 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
24555         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
24556         hashtable.
24558 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
24560         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
24562 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
24564         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24566 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
24568         * toplev.c (rest_of_compilation): Allow machine dependent
24569         reorganisation pass to place information into the RTL dump
24570         file if it so wishes.
24572 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
24574         * explow.c (hard_function_value): Use VOIDmode instead of
24575         MAX_MACHINE_MODE.
24576         * stmt.c (expand_return): Likewise.
24577         * stor-layout.c (get_best_mode): Likewise.
24579         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
24580         emit call instead of emit_insn call.
24582 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24584         * configure.in: Handle --disable/enable-win32-registry.
24585         * install.texi: Document --disable/enable-win32-registry.
24586         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
24587         (WIN32_REGISTRY_KEY): New macro.
24588         * prefix.c: Use to enable/disable win32-specific code.
24589         (lookup_key): Use versioned key.
24590         * configure: Regenerate.
24591         * config.in: Likewise.
24593 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
24595         * cpplib.c (read_line_number): New fn, split out of...
24596         (do_line): Here.
24598 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24600         tree.c (lang_unsave_expr_now) : New.
24601         (unsave_expr_now): Call lang_unsave_expr_now.
24602         tree.h (lang_unsave_expr_now) : New.
24604 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
24606         * toplev.c (flag_new_exceptions): On by default.
24608 1999-08-13  Michael Meissner  <meissner@cygnus.com>
24610         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
24612 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24614         * dwarfout.c (fundamental_type_code): Return FT_boolean for
24615         INTEGER_TYPE with precision==1, it's __java_boolean.
24617 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24619         * global.c (prune_preferences): Move some invariants out of the
24620         inner loop.
24622 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
24624         * configure.in (alpha*-dec-osf*): Add osf5.
24626 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
24628         * configure.in: Rework handling of ARM GNU/Linux slightly.
24629         (arm*-*-linux-gnuoldld): New target.
24630         * configure: Regenerate.
24631         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
24632         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
24633         * config/arm/linux-oldld.h: New file.
24634         * config/arm/linux-elf26.h: Don't include linux-elf.h.
24635         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
24636         Don't define.
24637         * config/arm/linux-elf.h (ASM_SPEC): Define.
24638         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
24639         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
24640         for 26-bit APCS and old linker.
24641         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
24642         `arm_elf'.
24643         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
24644         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
24645         don't define `arm' or `arm_elf'.
24646         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
24647         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
24649 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
24651         * rtl.texi: Fix typo.
24653 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
24655         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
24657 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
24659         * extend.texi (C++ Signatures): Remove node.
24660         * invoke.texi: Remove discussion of -fhandle-signatures,
24661         signature, sigof, __signature__, and __sigof__.
24663 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
24665         * Makefile.in (JAVAGC): Removed.
24667 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24669         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24671 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
24673         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24675 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
24677         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
24678         a register that is already known to be a pointer.
24680 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
24682         * fixinc/inclhack.tpl: Only install assert.h conditionally.
24683         * fixinc/inclhack.sh: Regenerated.
24684         * fixinc/fixincl.sh: Regenerated.
24686 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
24688         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
24689         Fix documentation of -ansi flag to describe its C++ behavior.
24690         Remove bogus reference to GCC 2.9.
24692 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
24694         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
24695         note if it is non-NULL.
24697 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24699         * except.h (eh_nesting_info): Add new structure defintion.
24700         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
24701         (reachable_handlers, update_rethrow_references): Add function
24702         prototypes.
24703         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
24704         a rethrow symbol instead of an integer exception region number.
24705         * flow.c (Make_edges): Use new exception nesting routines to determine
24706         which handlers are reachable from a CALL or asynchronous insn.
24707         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
24708         goto receivers.
24709         (delete_eh_regions): Update rethrow labels, and don't delete
24710         regions which are the target of a rethrow.
24711         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
24712         avoid overloading the SYMBOL_REF_USED flag.
24713         (rethrow_symbol_map): Use new rethrow_ref field.
24714         (rethrow_used): Use new rethrow_ref field.
24715         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
24716         of an integer.  Fix formatting.
24717         (output_exception_table_entry): Use new rethrow_ref field.
24718         (can_throw): Check for EH_REGION_NOTE before deciding
24719         whether a CALL can throw or not.
24720         (scan_region): Call rethrow_used() instead of accessing data structure.
24721         (update_rethrow_references): New function to make sure only regions
24722         which are still targets of a rethrow are flagged as such.
24723         (process_nestinfo): New static function to initialize a handler
24724         list for a specific region.
24725         (init_eh_nesting_info): New function to allocate and initialize
24726         the list of all EH handlers reachable from all regions.
24727         (reachable_handlers): New function to retrieve the list of handlers
24728         reachable from a specific region and insn.
24729         (free_eh_nesting_info): New function to dispose of a list of
24730         reachable handlers.
24732 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24734         * flow.c (split_edge): Set JUMP_LABEL field.
24735         (commit_one_edge_insertion): Set head correctly for insert_before.
24736         When inserting insns, update insn block numbers if allocated.
24738 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24740         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
24741         retry_incomplete_types): Add static prototype.
24742         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
24743         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
24744         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
24745         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
24746         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
24747         Constify a char*.
24749         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
24750         dwarf2out_start_source_file, dwarf2out_line): Likewise.
24752 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24754         * output.h (assemble_name): Constify a char*.
24756         * varasm.c (UNIQUE_SECTION, assemble_start_function,
24757         assemble_variable, assemble_name): Likewise.
24759         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
24761         * arm/pe.c (arm_pe_unique_section): Likewise.
24763         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
24765         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
24767         * i386/interix.c (i386_pe_unique_section): Likewise.
24769         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
24771         * i386/winnt.c (i386_pe_unique_section): Likewise.
24773         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
24775         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
24777         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
24779         * pa/pa.c (output_call): Likewise.
24781         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
24783         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
24785         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
24786         Likewise.
24788         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
24789         Likewise.
24791         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
24793         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
24794         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
24796         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
24798 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24800         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
24802 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24804         * tree.h (lang_identify): Constify a char*.
24805         (print_error_function): Add extern prototype.  Constify a char*.
24807         * c-lang.c (lang_identify): Constify a char*.
24809         * objc/objc-act.c (lang_identify): Constify a char*.
24811 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24813         * genpeep.c (main): Make generated file include "function.h".
24814         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
24816 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24818         * Makefile.in: Update dependencies.
24819         * alias.c: Include "function.h"
24820         * c-decl.c: Likewise.
24821         * caller-save.c: Likewise.
24822         * calls.c: Likewise.
24823         * combine.c: Likewise.
24824         * cse.c: Likewise.
24825         * explow.c: Likewise.
24826         * final.c: Likewise.
24827         * global.c: Likewise.
24828         * graph.c: Likewise.
24829         * local-alloc.c: Likewise.
24830         * loop.c: Likewise.
24831         * optabs.c: Likewise.
24832         * profile.c: Likewise.
24833         * recog.c: Likewise.
24834         * regclass.c: Likewise.
24835         * regmove.c: Likewise.
24836         * reload.c: Likewise.
24837         * reorg.c: Likewise.
24838         * resource.c: Likewise.
24839         * sched.c: Likewise.
24840         * stupid.c: Likewise.
24841         * config/1750a/1750a.c: Likewise.
24842         * config/a29k/a29k.c: Likewise.
24843         * config/arc/arc.c: Likewise.
24844         * config/arm/arm.c: Likewise.
24845         * config/arm/thumb.c: Likewise.
24846         * config/c4x/c4x.c: Likewise.
24847         * config/clipper/clipper.c: Likewise.
24848         * config/convex/convex.c: Likewise.
24849         * config/fx80/fx80.c: Likewise.
24850         * config/i860/i860.c: Likewise.
24851         * config/m68k/m68k.c: Likewise.
24852         * config/m88k/m88k.c: Likewise.
24853         * config/mips/mips.c: Likewise.
24854         * config/pdp11/pdp11.c: Likewise.
24855         * config/pyr/pyr.c: Likewise.
24856         * config/romp/romp.c: Likewise.
24857         * config/sh/sh.c: Likewise.
24858         * config/tahoe/tahoe.c: Likewise.
24859         * config/vax/vax.c: Likewise.
24860         * config/we32k/we32k.c: Likewise.
24861         * config/sparc/sparc.c: Include "function.h".
24862         (mem_min_alignment): Test current_function rather than
24863         regno_pointer_align.
24864         * config/pa/pa.c: Likewise.
24865         (compute_frame_size): Delete declaration of
24866         current_function_outgoing_args_size.
24867         * config/arc/arc.h (current_function_varargs): Delete declaration.
24868         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
24869         declaration.
24870         * config/i370/i370.h (current_function_outgoing_args_size): Delete
24871         declaration.
24872         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
24873         current_function_uses_pic_offset_table.
24874         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
24875         of current_function_returns_pointer.
24876         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24877         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24878         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24879         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24880         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24881         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24882         * config/m88k/m88k.c: Include "function.h"
24883         (call_used_regs, current_function_pretend_args_size,
24884         current_function_outgoing_args_size, frame_pointer_needed): Delete
24885         declarations.
24886         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
24887         declaration.
24888         * config/mips/mips.h (current_function_calls_alloca): Delete
24889         declaration.
24890         * config/mn10200/mn10200.h (current_function_needs_context,
24891         rtx_equal_function_value_matters): Delete declarations.
24892         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
24893         flag_pic): Delete declarations.
24894         * config/pa/pa.h (current_function_pretend_args_size,
24895         current_function_decl): Delete declarations.
24896         * config/pa/som.h (current_function_varargs): Delete declaration.
24897         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
24898         declaration.
24899         * config/pyr/pyr.h (current_function_pretend_args_size,
24900         current_function_args_size, current_function_calls_alloca): Delete
24901         declarations.
24902         * config/sh/sh.h (current_function_varargs): Delete declaration.
24903         * config/sparc/sparc.h (current_function_outgoing_args_size,
24904         current_function_calls_alloca, current_function_decl): Delete
24905         declarations.
24906         * config/spur/spur.h (current_function_pretend_args_size,
24907         current_function_calls_alloca): Delete declarations.
24908         * config/v850/v850.c (current_function_outgoing_args_size): Delete
24909         declaration.
24910         * config/vax/vms.h (current_function_name): Delete declaration.
24911         * gcse.c: Include "function.h".
24912         (current_function_name, current_function_calls_setjmp): Delete
24913         declarations.
24914         * haifa-sched.c: Include "function.h".
24915         (forced_labels): Delete declaration.
24916         * jump.c: Likewise.
24917         * reg-stack.c: Likewise.
24918         * reload1.c: Likewise.
24919         * genemit.c (main): Make generated file include function.h.
24920         * genoutput.c (output_prologue): Likewise.
24922         * builtins.c (saveregs_value, apply_args_value): Delete variables.
24923         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
24924         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
24925         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
24926         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
24927         macros for some of them.
24928         (emit_filename, emit_lineno): Delete declarations.
24929         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
24930         regno_pointer_* variables through current_function.
24931         (gen_inline_header_rtx): Delete function.
24932         (save_emit_status): Delete function.
24933         (set_new_last_label_num): New function.
24934         (clear_emit_caches): New function.
24935         (restore_emit_status): Just clear last_labelnum and call
24936         clear_emit_caches.
24937         (get_last_insn_anywhere): Variable sequence_stack is now accessed
24938         through macro seq_stack.
24939         (add_insn_after): Likewise.
24940         (add_insn_before): Likewise.
24941         (remove_insn): Likewise.
24942         (pop_topmost_sequence): Likewise.
24943         (in_sequence_p): Likewise.
24944         (start_sequence_for_rtl_expr): Likewise.
24945         (start_sequence): Likewise, and likewise for
24946         sequence_rtl_expr/seq_rtl_expr.
24947         (push_topmost_sequence): Likewise.
24948         (end_sequence): Likewise.
24949         (init_virtual_regs): Now takes a "struct emit_status *" argument.
24950         All callers changed.  Store into that pointer instead of globals.
24951         (init_emit): Allocate emit elt of current_function.
24952         Changes for sequence_rtl_expr/sequence_stack renaming.
24953         Call clear_emit_caches instead of doing it in-line.
24954         Access regno_pointer_* variables through current_function.
24955         (init_emit_once) Don't clear sequence_stack.
24957         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
24958         Delete variables.
24959         (arg_pointer_save_area): Delete declaration.
24960         (finish_expr_for_function): Renamed from init_queue; no longer static.
24961         (init_expr): Don't call init_queue.
24962         (save_expr_status, restore_expr_status): Delete functions.
24963         (expand_expr): Changes to reflect new layout of struct function.
24964         Don't access current_function_check_memory_usage when current_function
24965         is 0.
24966         * expr.h (forced_labels, save_expr_regs, saveregs_value,
24967         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
24968         current_function_outgoing_args_size, current_function_arg_offset_rtx,
24969         current_function_uses_const_pool, function_call_count,
24970         current_function_uses_pic_offset_table, nonlocal_labels,
24971         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
24972         current_function_check_memory_usage, nonlocal_goto_handler_slots,
24973         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
24974         declarations.
24975         (finish_expr_for_function): Declare.
24976         * flags.h (current_function_has_nonlocal_label,
24977         current_function_has_nonlocal_goto, current_function_is_thunk,
24978         current_function_has_computed_jump): Delete declarations.
24979         * flow.c (forced_labels): Delete declaration.
24980         * function.c (current_function_pops_args,
24981         current_function_returns_struct, current_function_returns_pcc_struct,
24982         current_function_needs_context, current_function_calls_setjmp,
24983         current_function_calls_longjmp, current_function_has_nonlocal_label,
24984         current_function_has_nonlocal_goto, current_function_is_thunk,
24985         current_function_has_computed_jump, current_function_calls_alloca,
24986         current_function_contains_functions, current_function_returns_pointer,
24987         current_function_epilogue_delay_list, current_function_args_size,
24988         current_function_pretend_args_size, current_function_arg_offset_rtx,
24989         current_function_outgoing_args_size, current_function_varargs,
24990         current_function_stdarg, current_function_args_info, cleanup_label,
24991         current_function_name, current_function_uses_const_pool,
24992         current_function_instrument_entry_exit, current_function_return_rtx,
24993         current_function_uses_pic_offset_table, nonlocal_labels,
24994         current_function_internal_arg_pointer, current_function_cannot_inline,
24995         current_function_check_memory_usage, function_call_count,
24996         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
24997         nonlocal_goto_stack_level, return_label, save_expr_regs,
24998         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
24999         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
25000         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
25001         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
25002         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
25003         Delete variables.
25004         (push_function_context_to): Don't save them.  Don't call
25005         save_storage_status, save_emit_status or save_expr_status.
25006         (pop_function_context_from): Don't restore them.  Don't call
25007         restore_storage_status or restore_expr_status.
25008         (get_func_frame_size): New function.
25009         (get_frame_size): Use it.
25010         (assign_outer_stack_local): Reflect some member name changes in struct
25011         function.
25012         (put_reg_into_stack): Likewise.
25013         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
25014         seq_rtl_expr.
25015         (fixup_var_refs): Likewise.
25016         (fix_lexical_addr): Likewise.
25017         (trampoline_address): Likewise.
25018         (prepare_function_start): Clear field inlinable of current_function.
25019         (init_function_for_compilation): New function.
25020         (expand_dummy_function_end): New function.
25021         (expand_function_end): Call finish_expr_for_function.
25022         * function.h (struct emit_status): New; fields moved here from struct
25023         function and from global variables.  Add accessor macros for some of
25024         the fields.
25025         (struct expr_status): Likewise.
25026         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
25027         (struct function): Add fields expr and emit, inlinable, inl_emit,
25028         original_arg_vector, original_decl_initial, inl_last_parm_insn,
25029         inl_max_label_num.  Add many comments.
25030         Add accessor macros for all elts of struct function that no longer
25031         have a global variable.
25032         (cleanup_label, return_label, frame_offset, tail_recursion_label,
25033         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
25034         stack_slot_list): Delete declarations.
25035         (get_func_frame_size): Declare.
25036         (save_expr_status, restore_expr_status, save_emit_status,
25037         save_storage_status, restore_storage_status): Delete declarations.
25038         (init_virtual_regs): Declare.
25039         * output.h (current_function_pops_args,
25040         current_function_returns_struct, current_function_returns_pcc_struct,
25041         current_function_needs_context, current_function_calls_setjmp,
25042         current_function_calls_longjmp, current_function_calls_alloca,
25043         current_function_has_nonlocal_label, current_function_varargs,
25044         current_function_has_computed_jump, current_function_returns_pointer,
25045         current_function_contains_functions, current_function_args_size,
25046         current_function_pretend_args_size, current_function_stdarg,
25047         current_function_outgoing_args_size, current_function_args_info,
25048         current_function_name, current_function_return_rtx,
25049         current_function_epilogue_delay_list,
25050         current_function_uses_const_pool, current_function_cannot_inline):
25051         Delete declarations.
25052         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
25053         regno_reg_rtx): Delete declaration.
25054         (REGNO_POINTER_FLAG): Delete macro.
25055         * stmt.c (expand_goto): Changes to reflect that some fields in struct
25056         function were renamed.
25057         * stor-layout.c (save_storage_status, restore_storage_status): Delete
25058         functions.
25059         * toplev.c: Include "function.h".
25060         (current_function_decl): Delete declaration.
25061         (compile_file): Call init_dummy_function_start and
25062         expand_dummy_function_end around some initializations that need to
25063         emit rtl.
25064         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
25065         Call init_function_for_compilation.
25066         * unroll.c: Include "function.h"
25067         (unroll_loop): Access regno_pointer_* variables through
25068         current_function.
25070         * tree.h (struct tree_decl): Add elt f to saved_insns member.
25071         (DECL_SAVED_INSNS): use it.
25072         (expand_dummy_function_end): Declare.
25073         (init_function_for_compilation): Declare.
25074         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
25075         that it's no longer an INLINE_HEADER.
25076         (expand_call): Likewise.
25077         * integrate.c (finish_inline): Delete function.
25078         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
25079         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
25080         args.  Don't generate an INLINE_HEADER rtx, just return the arg
25081         vector.  All callers changed.
25082         (save_for_inline_copying):  Create a duplicate struct emit_status to
25083         hold the emit state for compiling the current function.  Use this and
25084         the other new fields in struct function that are for integration
25085         instead of an INLINE_HEADER.
25086         Use memcpy instead of bcopy.
25087         Store the current struct function in DECL_SAVED_INSNS of fndecl.
25088         (save_for_inline_nocopy): Similar changes, except no new emit_status
25089         is needed here.
25090         (expand_inline_function): Get information from function structure,
25091         not from an inline header rtx.
25092         (output_inline_function): Lose code to extract the necessary
25093         information from an inline header; simply put back the function
25094         structure into current_function.  Clear its inlinable elt.
25095         * rtl.def (INLINE_HEADER): Delete.
25096         * rtl.h: Delete all accessors for an INLINE_HEADER.
25097         (gen_inline_header_rtx): Delete declaration.
25098         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
25099         Delete declarations.
25100         (REGNO_POINTER_ALIGN): Delete.
25101         (clear_emit_caches): Declare.
25102         (set_new_last_label_num): Declare.
25104 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
25106         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
25108         * except.c (expand_eh_region_start_for_decl): Always start a new block.
25109         * stmt.c (is_eh_region): Make sure current_function is present, too.
25111 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
25113         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
25114         for 64bit PA targets.
25116         * pa.h (SELECT_SECTION): Define.
25117         * som.h (SELECT_SECTION): Delete.
25119 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25121         * alias.c (init_alias_analysis): Wrap call to
25122         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
25124 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
25126         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
25127         <sys/asm.h> contains an asm comment with an apostrophe
25128         * fixinc/inclhack.sh:  regen
25129         * fixinc/fixincl.x:  regen
25131 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
25133         * function.c (init_function_start): Clear prologue & epilogue.
25134         (prologue_epilogue_contains): New function.
25135         * alias.c (init_alias_analysis): Use it.
25136         * rtl.h (prologue_epilogue_contains): Declare it.
25138 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
25140         * jump.c (onlyjump_p): New function.
25141         * rtl.h: Declare it.
25142         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
25143         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
25145 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
25147         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
25148         to invert loops.  Simplify block scanning.
25150 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
25152         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
25153         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
25155 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
25157         * config/sparc/liteelf.h: New file to support sparclite-elf target
25158         * config/sparc/t-sp86x: New file to support sparc86x targets
25159         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
25160         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
25161         * configure.in: Support above target triplets
25162         * configure: Regenerated
25164 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
25166         * fixinc/server.c (server_setup): Do not prefix function used as
25167         parameter with `&'.
25169 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
25171         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
25172         Remove fp reg alternatives.
25174 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
25176         * Makefiin (TAROUTOPTS): Kill.
25177         (install-headers-tar): Use "xpf" for tar headerfile extraction
25178         * i370/x-oe (TAROUTOPTS): Delete.
25179         * m68k/x-apollo68 (TAROUTOPTS): Delete.
25180         * m68k/x-hp320 (TAROUTOPTS): Delete.
25181         * m68k/x-hp320g (TAROUTOPTS): Delete.
25182         * gcc.texi: Update bug reporting text.
25184 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
25186         * reg-stack.c (change_stack) Fixed problem with negative array index.
25188 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
25190         * extend.texi, install.texi: Fix spelling mistakes.
25192         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
25193         (s-attrtab); No longer try to use pre-made insn-attrtab file.
25194         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
25195         PREMADE_ATTRTAB_MD.
25196         * mips/t-ecoff: Likewise.
25197         * mips/t-elf: Likewise.
25198         * mips/t-mips: Likewise.
25199         * mips/t-osfrose: Likewise.
25200         * mips/t-r3900: Likewise.
25201         * mips/t-svr3: Likewise.
25202         * mips/t-svr4: Likewise.
25203         * mips/t-ultrix: Likewise.
25205         * gcc.texi: Document recommend means to provide software floating
25206         point libraries in libgcc.a
25208 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
25210         * c-lex.c (yylex): We can have a number with no digits.
25212 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
25214         * jump.c (delete_prior_computation): New function, broken
25215         out of delete_computation.  Check for side effects with
25216         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
25217         multi-word hard registers.
25218         (delete_computation): Use it.  Check for side effects with
25219         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
25220         missing REG_DEAD note for a register which is both set and
25221         used by an insn.
25223 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
25225         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
25226         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
25227         (ASM_FILE_START): Import _mcount with the right type.
25228         (ASM_DECLARE_FUNCTION_NAME): Define.
25229         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
25230         * pa.c (output_function_prologue): Always emit the function's label
25231         here.
25232         * pa.h (TEXT_SPACE_P): Define.
25233         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25234         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
25235         * som.h (TEXT_SPACE_P): Delete.
25236         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25237         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
25239 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
25241         * expr.c (emit_group_load): Allow src to be a CONCAT.
25243 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25245         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
25246         (___mulsi3): Use '!' comment character.
25248 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25250         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
25252 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
25254         * gcc.c: Update URLs and mail addresses.
25255         * gcc.texi: Likewise.
25257 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
25259         * rs6000.c (current_file_function_operand): Return zero for
25260         weak functions.
25261         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
25262         weak symbols.
25263         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
25264         for weak symbols.
25266 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
25268         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
25269         allocate space in the stack frame for the PIC register.
25271 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
25273         * m68k.md (xordi3, anddi3): These patterns are not available on
25274         the coldfire.
25276 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
25278         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
25279         (PUT_REAL): Likewise.
25281 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25283         * final.c (shorten_branches): Don't add an alignment for loops
25284         that have no label inside.
25286 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25288         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
25289         prototypes in macro HAVE_cmpstrsi.
25291         * cpplib.c (cpp_get_token): Remove unused label `op3'.
25293         * emit-rtl.c (operand_subword): Remove unused variable
25294         `bits_per_word'.
25296         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
25298         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
25300 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
25302         * cpphash.c (macroexpand): Delete leading whitespace when arg
25303         is concatenated before.
25304         (unsafe_chars): Correct test for whether + and - can extend a
25305         token.
25307         * cppinit.c (cpp_start_read): Do dependencies for
25308         -include/-imacros files also.
25310         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
25311         tokenizing non-directive lines.
25312         (cpp_expand_to_buffer): Temporarily disable no-output mode.
25313         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
25314         the input file.
25316 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
25318         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
25320         * c-lex.c: Sync with C++ frontend.
25321         (linemode): New variable.
25322         (parse_float): imag, conversion_errno, and type are output only.
25323         (yylex): Adjust.  Move initial '.' case into main switch.
25324         Use linemode.
25325         (handle_generic_pragma): Just deal with tokens.
25326         (readescape): Use ISXDIGIT and ISGRAPH.
25327         * c-parse.in: Add END_OF_LINE token.
25329         * c-lex.c (lang_init): Generalize.
25330         (nextchar): Remove.  Replace uses with UNGETC.
25331         (skip_white_space): Handle linemode here.  Optimize for cpplib.
25332         (skip_white_space_on_line): Remove.
25333         (extend_token_buffer_to): New fn.
25334         (extend_token_buffer): Use it.
25335         (read_line_number, check_newline): Just deal with tokens.
25336         (token_getch, token_put_back): New fns.
25337         (yylex): Use them.  More cpplib optimizations.  Simplify.
25339 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
25340                           Jason Merrill  <jason@yorick.cygnus.com>
25342         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
25343         (consume_string): Make this smart about USE_CPPLIB.
25344         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
25345         (yylex): Rewrite to be intelligent about USE_CPPLIB.
25346         Also, clean up cases where we redundantly set token_buffer[0].
25347         (read_line_number): New fn.
25348         (ignore_escape_flag): New variable.
25350 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
25352         * a29k/t-a29kbare: Fix some comments.
25353         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
25354         (FPBIT, DPBIT): Define.
25355         * a29k/t-vx29k: Likewise.
25356         * arc/t-arc: Likewise.
25357         * arm/t-arm-elf: Likewise.
25358         * arm/t-bare: Likewise.
25359         * arm/t-pe: Likewise.
25360         * arm/t-pe-thumb: Likewise.
25361         * arm/t-semi: Likewise.
25362         * arm/t-thumb: Likewise.
25363         * arm/t-thumb-elf: Likewise.
25364         * arm/t-thumb-linux: Likewise.
25365         * h8300/t-h8300: Likewise.
25366         * i960/t-i960: Likewise.
25367         * i960/t-vxworks960: Likewise.
25368         * m32r/t-m32r: Likewise.
25369         * mips/t-ecoff: Likewise.
25370         * mips/t-elf: Likewise.
25371         * mips/t-r3900: Likewise.
25372         * pa/t-pro: Likewise.
25373         * rs6000/t-aix43: Likewise.
25374         * rs6000/t-beos: Likewise.
25375         * rs6000/t-newas: Likewise.
25376         * rs6000/t-ppccomm: Likewise.
25377         * rs6000/t-rs6000: Likewise.
25378         * rs6000/t-winnt: Likewise.
25379         * rs6000/t-xnewas: Likewise.
25380         * rs6000/t-xrs6000: Likewise.
25381         * sh/t-sh: Likewise.
25382         * sparc/t-elf: Likewise.
25383         * sparc/t-sparcbare: Likewise.
25384         * sparc/t-sparclite: Likewise.
25385         * sparc/t-splet: Likewise.
25386         * v850/t-v850: Likewise.
25387         * mn10200/t-mn10200: Fix comments.
25388         * mn10300/t-mn10300: Likewise.
25390         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
25391         dummy operand.  Allocate a new pseudo for the dummy operand.
25392         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
25394         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
25396 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
25398         * configure: Rebuilt.
25399         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
25401 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
25403         * recog.c (preproces_constraints): Zero recog_op_alt before
25404         processing the constraints.
25406         * arm.c (typedef minipool_node): Renamed from pool_node.
25407         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
25408         (add_minipool_constant): New function.
25409         (dump_minipool): New function.
25410         (find_barrier): Remove special case for getting the insn size of
25411         an insn that references the constant pool.
25412         (minipool_fixup): New structure.
25413         (push_minipool_barrier): New function.
25414         (push_minipool_fix): New function.
25415         (note_invalid_constants): New function.
25416         (add_pool_constant, dump_table, fixit, broken_move): Delete.
25417         (arm_reorg): Rewrite code to fix up the constant pool into a
25418         series of mini-pools embedded in the insn stream.
25419         (arm_output_epilogue): New function, made mainly from the body
25420         of output_func_epilogue.
25421         (output_func_epilogue): Move insn generation part of epilogue code
25422         to arm_output_epilogue.
25423         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
25424         * arm.md (pool_range): New attribute.
25425         (zero_extendqidi2): Add attribute pool_range.
25426         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
25427         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
25428         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
25429         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
25430         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
25431         (epilogue): New expand.
25432         (epilogue_insn): New insn.  Call arm_output_epilogue.
25434         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
25435         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
25437 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
25439         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25441 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
25443         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
25445 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
25447         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
25449 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
25451         * global.c: Fix comment.
25453 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
25455         * gcc.c (access_check): New static function.
25456         (find_a_file): Use it when searching a directory list.
25457         * collect2.c (find_a_file): Don't accept directories found when
25458         searching a directory list.
25460 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
25462         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
25463         function parameters with `&'.
25464         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
25466 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
25468         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
25469         or tidy_fallthru_edge if the last insn in the block is not
25470         an unconditional jump or a simple conditional jump.
25472 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25474         * Makefile.in (c-decl.o): Depends on defaults.h.
25476 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
25478         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
25479         PA1.1 and above.
25480         (CLASS_MAX_NREGS): Likewise.
25482 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
25484         * cse.c (cse_insn): Fix dumb thinko in last change.
25486 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25488         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
25489         "const char *".
25491 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25493         * dwarf2out.c (add_location_or_const_value_attribute): Correct
25494         test for sizes of passed and declared parameter types.
25496 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25498         * fixincludes: Fix the return type of bsearch, char* -> void*.
25500         * fixinc/inclhack.def: Likewise.
25502 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
25504         * invoke.texi (-fdump-translation-unit): New option.
25506 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
25508         * expr.h (PROMOTE_PROTOTYPES): Move ...
25509         * defaults.h: ... to here.
25510         * c-decl.c: Include defaults.h instead of expr.h.
25511         * c-typeck.c: Include defaults.h.
25513 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
25515         * toplev.h (errorcount): Declare.
25516         (warningcount): Likewise.
25517         (sorrycount): Likewise.
25518         * c-lex.c (errorcount): Don't declare.
25519         * dwarf2out.c (errorcount): Don't declare.
25521 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
25523         * config/libgloss.h: Add a note discouraging use with ELF.
25524         * configure.in: Don't use libgloss.h for ELF targets.
25525         Always use_collect2 on a.out targets.
25527 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
25529         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
25530         (force_to_mode, case ASHIFTRT): Add shiftrt label.
25532 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25534         * loop.c (strength_reduce): When doing biv->giv conversion, update
25535         reg note of NEXT->insn.
25537 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25539         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
25541 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25543         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
25544         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
25545         Ensure expr.h is included.
25546         * c-typecheck.c (convert_arguments): Ditto.
25548         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
25550         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
25551         * config/convex/convex.h: Ditto.
25552         * config/dsp16xx/dsp16xx.h: Ditto.
25553         * config/fx80/fx80.h: Ditto.
25554         * config/gmicro/gmicro.h: Ditto.
25555         * config/i370/i370.h: Ditto.
25556         * config/i386/i386.h: Ditto.
25557         * config/m32r/m32r.h: Ditto.
25558         * config/m68k/m68k.h: Ditto.
25559         * config/m88k/m88k.h: Ditto.
25560         * config/mips/mips.h: Ditto.
25561         * config/pa/pa.h: Ditto.
25562         * config/pyr/pyr.h: Ditto.
25563         * config/tahoe/tahoe.h: Ditto.
25564         * config/we32k/we32k.h: Ditto.
25566         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
25567         based on arch size.
25569         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
25571         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
25572         from comment.
25574         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
25576 1999-08-02  Richard Henderson  <rth@cygnus.com>
25578         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
25579         for the register spill block.
25580         (m32r_va_arg): New.
25581         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
25582         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
25584         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
25585         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
25586         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
25588 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25590         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
25591         MAX_WCHAR_TYPE defined in sparc.h.
25592         * config/sparc/linuxaout.h: Likewise.
25593         * config/sparc/linux64.h: Likewise.
25594         Also default to -mvis if CPU is UltraSPARC.
25596 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25598         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
25599         (RTX_OK_FOR_OLO10): Likewise.
25600         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
25601         %lo(), allow it in addresses...
25602         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
25603         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
25604         does not make sense.
25605         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
25606         (sparc_output_scratch_registers): New function.
25607         (output_function_prologue, sparc_flat_output_function_prologue): Use
25608         it.
25609         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
25610         defined.
25611         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
25612         * configure.in: Add check for .register pseudo-op support in as and
25613         check for offsetable %lo().
25614         * acconfig.h: Add templates for the above checks.
25615         * configure: Regenerate.
25617 1999-08-02  Richard Henderson  <rth@cygnus.com>
25619         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
25620         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
25621         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
25623 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25625         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25626         reg_biv_class.
25628 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25630         * config/float-sparc.h: New file.
25631         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
25632         sparc-*-linux-gnu and sparc64-*-linux*.
25634 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25636         * rs6000.c (rs6000_va_list): Type is an array.
25637         (rs6000_va_start): Don't doubly adjust for varargs.
25638         (rs6000_va_arg): Evaluate long long GPR adjustment.
25640 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
25642         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
25643         -maix64 and -maix32.
25644         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
25645         LINK_SPEC): Change appropriately.
25646         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
25647         (u_short_cint_operand): Likewise.
25648         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
25649         for 64-bit hosts.
25650         * rs6000/t-aix43 (MULTILIB): Change to -m64.
25652         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
25654 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
25656         * rs6000/rs6000.c (num_insns_constant_wide): Correct
25657         for type promotion.
25658         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
25659         (non_add_cint_operand): Likewise.
25660         (logical_operand): Likewise.
25661         (non_logical_cint_operand): Likewise.
25662         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
25663         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
25664         (rs6000_select_rtx_section): Suppress warning.
25665         (small_data_operand): Suppress warning.
25666         (rs6000_got_register): Suppress warning.
25667         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
25668         type, so `J' is generally the wrong constraint for a SImode value;
25669         use `L' instead.
25670         (andsi3_internal2): Likewise.
25671         (andsi3_internal3): Likewise.
25672         (iorsi3_internal1): Likewise.
25673         (xorsi3_internal1): Likewise.
25674         (movsi): Likewise.
25675         (movsf_softfloat): Likewise.
25676         (scc insns): Likewise.
25677         (movsi+2): Preserve sign bits of SImode constant.
25678         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
25679         (movdf+1): Sign-extend properly.
25680         (movdi_32+1): Sign-extend properly.
25681         (scc insns): Sign-extend properly.
25683         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
25684         K, L, and T.
25686 1999-08-02  Richard Henderson  <rth@cygnus.com>
25688         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
25689         -mcpu parsing code.
25690         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
25691         * alpha.md (all fp insns): Likewise.
25693 1999-08-02  Nick Clifton  <nickc@cygnus.com>
25695         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
25696         already defined.
25698 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
25700         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
25701         pic_load_label generator directly.
25702         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
25703         No longer a named pattern.
25705 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
25707         * explow.c (force_reg): Call force_operand if X does not
25708         satisfy general_operand.
25710 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
25712         * fix-header.c (main): When testing for CONTINUED, use string
25713         equality, not pointer equality.
25715 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
25717         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
25719 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
25721         * cse.c (cse_insn): Fix loop which deletes insns after a jump
25722         that has become an unconditional jump.
25724         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
25725         (output_function_epilogue): Similarly.
25727 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25729         * tree.h (init_dummy_function_start): Declare.
25731 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25733         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
25734         last_expr_type, last_expr_value, block_start_count, block_stack,
25735         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
25736         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
25737         dynamically in stmt elt of struct function for each function.
25738         (struct nesting): Rename function_call_count elt to n_function_calls,
25739         target_temp_slot_level to block_target_temp_slot_level.  All users
25740         changed.
25741         (struct stmt_status): New structure definition.
25742         Add many accessor macros for stmt_status elements which previously
25743         were global variables.
25744         (init_stmt_for_function): Allocate stmt elt for current_function.
25745         Reflect that block_start_count was renamed to
25746         current_block_start_count.
25747         (save_stmt_status, restore_stmt_status): Delete functions.
25748         (preserve_subexpressions_p): Don't access loop_stack when outside
25749         a function.
25750         (expand_start_bindings): Reflect that block_start_count was renamed to
25751         current_block_start_count.
25752         (expand_fixup): Likewise.
25753         (expand_decl): Don't access block_stack when outside a function.
25754         (expand_decl_cleanup): Likewise.
25755         (expand_dcc_cleanup): Likewise.
25756         (expand_dhc_cleanup): Likewise.
25757         (expand_anon_union_decl): Likewise.
25758         (set_file_and_line_for_stmt): New function.
25759         (in_control_zone_p): New function.
25761         * function.h (struct function): Add new elt stmt.
25762         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
25763         case_stack, nesting_stack, nesting_depth, block_start_count,
25764         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
25765         emit_lineno, goto_fixup_chain.
25766         (save_eh_status, restore_eh_status, save_stmt_status,
25767         restore_stmt_status): Delete declarations.
25768         * function.c (push_function_context_to): Don't call save_stmt_status.
25769         (pop_function_context_to): Don't call restore_stmt_status.
25770         * tree.h (in_control_zone_p): Declare.
25771         * rtl.h (set_file_and_line_for_stmt): Declare.
25773         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
25774         call set_file_and_line_for_stmt.
25776 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
25778         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
25779         Also update copyright.
25781 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25783         * c-pragma.c: Don't include "except.h".
25784         * emit-rtl.c: Likewise.
25785         * stor-layout.c: Likewise.
25786         * tree.c: Likewise.
25787         * varasm.c: Likewise.
25789         * flow.c: Include "function.h".
25790         * tree.h (init_dummy_function_start): Declare new function.
25792         * except.h (struct eh_status): New structure.
25793         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
25794         been included.
25795         (eh_return_stub_label, ehstack, catchstack, ehqueue,
25796         catch_clauses, false_label_stack, caught_return_label_stack,
25797         protect_list, current_function_ehc): Add accessor macros for the
25798         corresponding fields in current_function->eh; delete declarations
25799         for all items that used to be declared here.
25800         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
25801         catch_clauses, false_label_stack, caught_return_label_stack,
25802         protect_list, current_function_ehc): Delete variables.
25803         (init_eh_for_function): Allocate current_function->eh.
25804         (save_eh_status, restore_eh_status): Delete functions.
25806         * function.h (struct function): Add fields next_global and eh.
25807         Delete all exception handling related fields.
25808         * function.c (current_function): New variable.
25809         (all_functions): New variable.
25810         (push_function_context_to): Don't allocate a struct function,
25811         use current_function instead.  Call init_dummy_function_start when
25812         outside a function.  Clear current_function before returning.
25813         (pop_function_context_from): Restore current_function.
25814         Don't free the restored struct function.
25815         (prepare_function_start): New function.
25816         (init_dummy_function_start): New function.
25817         (init_function_start): Break out some code into prepare_function_start
25818         and call it here.
25820         * stmt.c (save_stmt_status): Don't call save_eh_status.
25821         (restore_stmt_status): Don't call restore_eh_status.
25823         * Makefile.in: Update dependencies.
25825 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
25827         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
25828         of depending on a magic constant value.  Update comments.
25829         (hppa_expand_prologue): Similarly.
25831         * pa.md (reload_indi, reload_outdi): Allow any register for the
25832         original reload register.
25834 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
25836         * cccp.c (print_help): Change marcos to macros.
25838 1999-07-30  Richard Henderson  <rth@cygnus.com>
25840         * c-typeck.c (initializer_constant_valid_p): Move ...
25841         * c-common.c (initializer_constant_valid_p): ... here.  Use
25842         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
25843         of label addresses.
25844         * c-common.h (initializer_constant_valid_p): Declare.
25845         * c-tree.h (initializer_constant_valid_p): Remove.
25847 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
25849         * config/i386/sol2-c1.asm: Align the stack.
25850         * config/i386/sol2-gc1.asm: Likewise.
25852 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
25854         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
25855         -Asparclite for sparc86x.
25856         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
25857         sparc86x.
25858         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
25860 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25862         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
25863         the user if using the non-default arch size in BI_ARCH configuration.
25864         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
25866         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
25867         Fix patterns so that they actually match.
25868         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
25869         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
25870         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
25871         TARGET_HARD_MUL32.
25872         (mulsidi3): Reflect this in the expand.
25873         (smulsi3_highpart): Only on TARGET_ARCH32.
25874         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
25875         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
25876         (umulsidi3): Reflect this in the expand.
25877         (umulsi3_highpart): Only on TARGET_ARCH32.
25878         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
25879         don't require g0 to be zero.
25880         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
25881         ({,u}divsi3): New expands.
25882         ({,u}divsi3_sp64): New patterns.
25883         (after lshrdi3_v8plus): Four new patterns to help combiner
25884         optimizing nested mixed mode shifts.
25886         * config/sparc/sparc.c (sparc_override_options): Use deprecated
25887         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
25888         speed things up. Don't use them by default on plain v9 in 64bit
25889         mode, according to what SPAMv9 sais.
25891         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
25892         top 32 bits of %[og][0-7] in signal handlers.
25893         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
25895 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
25897         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
25898         (ashlsi3): Corresponding changes.
25900         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
25902 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
25904         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
25906 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25908         * arm.h (Hint): Delete macro.
25909         Substitute HOST_WIDE_INT for Hint in some prototypes.
25910         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
25912 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
25914         * builtins.c (expand_builtin_setjmp): Use force_operand to
25915         make sure that the buffer address is in a suitable form to be
25916         passed to force_reg.
25918 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
25920         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
25921         them here.
25923 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
25925         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
25926         proper mode in the condition string.
25927         (icacheflush, dcacheflush): Remove modes from match_operands.
25929         * pa.c (emit_move_sequence): Always convert scratch_reg to the
25930         proper mode before using it.
25932         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
25933         pair.
25935         * pa.c (store_reg): Do not call add_high_const generator directly.
25936         (load_reg, set_reg_plus_d): Likewise.
25937         * pa.md (add_high_const): No longer a named pattern.
25939         * pa.c (legitimize_address): Consistently use Pmode rather than
25940         SImode.  Do not call gen_pic2_highpart directly anymore.
25941         * pa.md (pic2_highpart): No longer a named pattern.
25942         (pic2_lo_sum): Similarly.  Reformat to make more readable.
25944         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
25945         needed.
25947         * README: Update.
25949 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25951         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
25953 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
25955         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
25956         and tag the spill mems.
25957         (hppa_va_start): New.
25958         (hppa_va_arg): New.
25959         * pa.h (EXPAND_BUILTIN_VA_START): New.
25960         (EXPAND_BUILTIN_VA_ARG): New.
25962 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
25964         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
25965         and tag the spill mems.
25966         (mn10300_va_start): New.
25967         (mn10300_va_arg): New.
25968         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
25969         (EXPAND_BUILTIN_VA_ARG): New.
25971 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
25973         * mn10200.c (mn10200_va_arg): New.
25974         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
25976 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
25978         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
25979         rather than play with TREE_INT_CST_LOW.
25981 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
25983         * config/arm/telf.h: Include dbxelf.h.
25984         (CPP_PREDEFINES): Only define if not already defined.
25985         (ASM_IDENTIFY_GCC): Likewise.
25986         (SUBTARGET_EXTRA_SECTIONS): Likewise.
25987         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
25988         * config/arm/thumb.h (LINK_SPEC): Only define if not already
25989         defined.
25990         (DBX_DEBUGGING_INFO): Don't define.
25991         * config/arm/linux-telf.h: New file.
25992         * config/arm/linux-tgas.h: New file.
25993         * config/arm/t-thumb-linux: New file.
25994         * config/arm/uclinux-elf.h: New file.
25995         * config/arm/uclinux-telf.h: New file.
25996         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
25997         thumb-*-uclinux): New targets.
25998         * configure: Regenerate.
26000 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
26002         * pa.md (post_store, pre_load): New expanders.
26003         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
26004         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
26005         need to directly generate RTL for them.
26006         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
26007         changes.
26009 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
26011         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
26012         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
26013         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
26014         (secndary_reload_class): Make TARGET_ELF conditional compile.
26015         (print_operand_address): Similar.
26016         (output_toc): Print all values as hex.
26017         (get_issue_rate): Rearrange and add RS64A and PPC630.
26018         * rs6000.h (processor_type): Add RS64A and PPC630.
26019         (PROCESSOR_POWERPC64): New.
26020         (PROMOTE_MODE): Use word_mode.
26021         (RTX_COSTS): Add RS64A and PPC630.
26022         * rs6000.md (scheduling information): Add lmul and ldiv
26023         representing 64-bit integer multiply and divide.  Add rs64a and
26024         PPC630 information.
26025         (ashldi3): Add support for "rldic" instruction.
26026         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
26028 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
26030         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
26031         instead of V8 for sparclite86x in cpu_table.
26033 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26035         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
26036         output_file_directive.
26038 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
26040         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
26041         tree for op1, not the rtl.
26043 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
26045         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
26046         to m88k_va_start, leaving only the register spill.
26047         (m88k_build_va_list): New.
26048         (m88k_va_start): New.
26049         (m88k_va_arg): New.
26050         * m88k.h (BUILD_VA_LIST_TYPE): New.
26051         (EXPAND_BUILTIN_VA_START): New.
26052         (EXPAND_BUILTIN_VA_ARG): New.
26054 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
26056         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
26057         Rename from expand_builtin_saveregs.
26058         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
26060 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
26062         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
26063         for the register spill block.
26064         (i960_build_va_list): New.
26065         (i960_va_start): New.
26066         (i960_va_arg): New.
26067         * i960.h (BUILD_VA_LIST_TYPE): New.
26068         (EXPAND_BUILTIN_VA_START): New.
26069         (EXPAND_BUILTIN_VA_ARG): New.
26070         * i960.md (store_multiple): Use change_address on individul mems.
26072 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
26074         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
26075         an ARRAY_TYPE.
26076         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
26077         (expand_builtin_va_end): Evaluate arg for side effects.
26078         * c-common.c (c_common_nodes_and_builtins): Construct a
26079         va_list_arg_type_node to handle array decomposition to pointer.
26081 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
26083         * except.c (st_dynamic_cleanup): Use force_operand on the
26084         buffer's address.
26086 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
26088         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
26089         * c4x.c (c4x_va_arg): New.
26091 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
26093         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
26094         has manual_pop set.
26096 1999-07-26  Nathan Sidwell  <nathan@acm.org>
26098         * eh-common.h (__eh_matcher): Prototype correctly.
26100 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
26102         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
26103         (TARGET_SINGLE_PIC_BASE): Likewise.
26104         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
26105         definitions.
26106         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
26107         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
26108         (TARGET_OPTIONS): Add -mpic-register=N.
26109         (OUTPUT_INT_ADDR_CONST): New macro.
26110         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
26111         LEGITIMATE_PIC_OPERAND_P): Likewise.
26112         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
26113         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
26114         output_addr_const directly.
26115         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
26116         ARM port.
26117         (thumb_pic_register, thumb_pic_register_string): Declare.
26119         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
26120         from arm.c.
26121         (label_mentioned_p): New function: Imported from arm.c.
26122         (legitimize_pic_address): New function: Imported from arm.c.
26123         (is_pic):New function: Imported from arm.c.
26124         (thumb_finalize_pic):New function: Imported from arm.c.
26125         (add_constant): Cope with PIC constants.
26126         (fixit): Cope with PIC constants.
26127         (output_return): Do not treat the PIC register as live if
26128         TARGET_SINGLE_PIC_BASE is true.
26129         (thumb_function_prologue): Do not treat the PIC register as live if
26130         TARGET_SINGLE_PIC_BASE is true.
26131         (thumb_expand_prologue): Do not treat the PIC register as live if
26132         TARGET_SINGLE_PIC_BASE is true.
26133         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
26134         TARGET_SINGLE_PIC_BASE is true.
26135         (thumb_print_operand): Accept '|'.
26136         (thumb_override_options): Process PIC options.
26138         * config/arm/thumb.md (movsi): Support PIC.
26139         (call_insn): Change "i" constraint to "X".
26140         (call_value_insn): Likewise.
26141         (consttable_4, consttable_8, consttable_end): Set and clear
26142         "making_const_table" as appropriate.
26143         (pic_load_addr, pic_add_dot_plus_four): New insns.
26145         * invoke.texi (Thumb Options): Fix spelling.  Document new
26146         options -msingle-pic-base and -mpic-register=.
26148 1999-07-26  Andrew Haley  <aph@cygnus.com>
26150         * config/m32r/initfini.c (__init): Use a full word immediate for
26151         __fini: this allows it to be placed in any memory region.
26153         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
26154         -mmodel=medium.  This is OK for all memory models.
26156 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
26158         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
26159         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
26161 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
26163         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
26164         defined.
26166         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
26168 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
26170         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
26171         (BUILD_VA_LIST_TYPE): New.
26172         (EXPAND_BUILTIN_VA_START): New.
26173         (EXPAND_BUILTIN_VA_ARG): New.
26174         * i860.c (output_delayed_branch): Disable.
26175         (output_delay_insn): Likewise.
26176         (i860_saveregs): New.
26177         (i860_build_va_list): New.
26178         (i860_va_start): New.
26179         (i860_va_arg): New.
26180         * i860.md: Disable all peepholes using output_delayed_branch.
26181         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
26183 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
26185         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
26186         (BUILD_VA_LIST_TYPE): New.
26187         (EXPAND_BUILTIN_VA_START): New.
26188         (EXPAND_BUILTIN_VA_ARG): New.
26189         * clipper.c (clipper_builtin_saveregs): Only dump registers.
26190         Return the address of the save area.
26191         (clipper_build_va_list): New.
26192         (clipper_va_start): New.
26193         (clipper_va_arg): New.
26195 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
26197         * arc.h (EXPAND_BUILTIN_VA_START): New.
26198         (EXPAND_BUILTIN_VA_ARG): New.
26199         * arc.c (arc_setup_incoming_varargs): Set alias set of
26200         varargs save area.
26201         (arc_va_start): New.
26202         (arc_va_arg): New.
26204 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
26206         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
26207         (BUILD_VA_LIST_TYPE): New.
26208         (EXPAND_BUILTIN_VA_START): New.
26209         (EXPAND_BUILTIN_VA_ARG): New.
26210         * alpha.c (alpha_builtin_saveregs): Delete.
26211         (alpha_build_va_list): New.
26212         (alpha_va_start): New.
26213         (alpha_va_arg): New.
26215 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
26217         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
26218         column zero.
26219         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
26220         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
26222         * gcc.texi: More changes related to list conversion.
26223         * invoke.texi: Likewise.
26225 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
26227         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
26228         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
26229         (expand_builtin_next_arg): Accept ARGLIST not EXP.
26230         (stabilize_va_list): New function.
26231         (std_expand_builtin_va_start): New function.
26232         (expand_builtin_va_start): New function.
26233         (get_varargs_alias_set): New function.
26234         (std_expand_builtin_va_arg): New function.
26235         (expand_builtin_va_arg): New function.
26236         (expand_builtin_va_end): New function.
26237         (expand_builtin_va_copy): New function.
26238         (expand_builtin): Call them.
26239         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
26240         __builtin_{varargs_start,stdarg_start,end,copy}.
26241         (build_va_arg): New function.
26242         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
26243         (build_va_arg): Declare.
26244         * c-decl.c (ptr_type_node, va_list_type_node): New.
26245         * c-parse.gperf (__builtin_va_arg): New.
26246         * c-parse.in (VA_ARG): New token.
26247         (unary_expr): Recognize it.
26248         * expr.c (expand_expr): Expand VA_ARG_EXPR.
26249         * expr.h (std_expand_builtin_va_start): Declare.
26250         (std_expand_builtin_va_arg): Declare.
26251         (expand_builtin_va_arg): Declare.
26252         (get_varargs_alias_set): Declare.
26253         * tree.def (VA_ARG_EXPR): New.
26254         * tree.h (BUILT_IN_VARARGS_START): New.
26255         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
26256         (ptr_type_node, va_list_type_node): Declare.
26257         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
26258         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
26259         * m88k.h, m88k.c: Likewise.
26260         * mn10300.h, mn10300.c: Likewise.
26261         * pa.h, pa.c: Likewise.
26262         * rs6000.h, rs6000.c: Likewise.
26263         * sh.h, sh.c: Likewise.
26264         * sparc.h, sparc.c: Likewise.
26266         * emit-rtl.c (operand_subword): Copy alias set.
26267         (change_address): Likewise.
26269 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
26271         * pa.c (compute_frame_size): Scan all the used callee saved registers,
26272         not just the first one.
26274 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
26276         * config/arm/arm.h (TARGET_SWITCHES): Add
26277         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
26278         (TARGET_OPTIONS): Add -mpic-register=.
26279         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
26280         (arm_pic_register_string): Declare.
26281         (NEED_PLT_GOT): Delete, replace with ...
26282         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
26283         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
26284         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
26285         * config/arm/arm.c (arm_override_options): Add new option
26286         -mpic-register=N.
26287         (arm_pic_register_string): New variable.
26288         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
26289         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
26290         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
26291         (output_return_instruction): Likewise.
26292         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
26293         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
26294         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
26296         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
26297         mention of -msched-prolog.  Document new options -msingle-pic-base
26298         and -mpic-register=.
26300 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
26302         * haifa-sched.c (reemit_notes): Tidy.
26303         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
26304         haifa's routine.
26306 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
26308         * explow.c (trunc_int_for_mode): New function.
26309         (plus_constant_wide): Use it.
26310         * combine.c (simplify_and_const_int): Likewise.
26311         (merge_outer_ops): Likewise.
26312         (simplify_shift_const): Likewise.
26313         * cse.c (simplify_unary_operation): Likewise.
26314         (simplify_binary_operation): Likewise.
26315         * emit-rtl.c (operand_subword): Likewise.
26316         * rtl.h: Declare it.
26318 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26320         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
26321         (use NUM_REGS instead of NUM_INTS).
26323 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26325         * builtins.c: New file.
26326         * expr.c (saveregs_value, apply_args_value):  Delete definition,
26327         moved into builtins.c.
26328         (string_constant): No longer static.
26329         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
26330         apply_args_size, apply_result_size, result_vector,
26331         expand_builtin_apply_args, expand_builtin_apply,
26332         expand_builtin_return): Delete functions, moved into builtins.c.
26333         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
26334         * expr.h (saveregs_value, apply_args_value): Declare variables.
26335         (expand_builtin, string_constant): Declare functions.
26336         * Makefile.in: Update to build builtin.o.
26338 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
26340         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
26341         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
26342         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
26343         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
26344         false.
26345         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
26346         Define to zero.
26348 1999-07-21  Michael Meissner  <meissner@cygnus.com>
26350         * print-rtl.c (print_rtx): Print the names of the virtual
26351         registers.
26353 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
26355         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
26356         introduced in previous delta.
26358 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26360         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
26361         to avoid name clash.
26363 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26365         * c-lex.c (yylex) : Correct the test for overflow when lexing
26366         integer literals.
26368 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
26370         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
26371         (adjust_priority): Always call ADJUST_PRIORITY.
26372         (schedule_insn): Only put insns into the ready at cost 0.
26373         (schedule_block): Remove redundant initial sort.  Give clock_var
26374         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
26375         is not 0.
26376         * tm.texi (MD_SCHED_REORDER): Update docs.
26378         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
26379         * sparc.c (ultra_reorder_called_this_block): Delete.
26380         (ultrasparc_sched_init): Don't set it.
26381         (ultrasparc_sched_reorder): Don't check it.
26383 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
26385         * rs6000.h (struct rs6000_args): Add sysv_gregno.
26386         * rs6000.c (init_cumulative_args): Init sysv_gregno.
26387         (function_arg_boundary): Align DFmode.
26388         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
26389         to get fp reg and stack overflow correct.
26390         (function_arg): Likewise.
26391         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
26392         (setup_incoming_varargs): Restructure for ABI_V4; use
26393         function_arg_advance to skip final named argument.
26394         (expand_builtin_saveregs): Properly unskip the last integer arg
26395         when doing varargs.  Adjust overflow location calculation.
26397         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
26398         explicitly unsigned.
26399         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
26400         (__VA_GP_REGSAVE): Similarly.
26401         (__va_longlong_p): Delete.
26402         (__va_arg_type_violation): New declaration.
26403         (va_arg): Restructure.  Flag promotion errors.  Align double.
26404         TFmode passed by reference.
26406         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
26407         in the HOST_BITS_PER_WIDE_INT > 32 case.
26409 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
26411         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
26413 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
26415         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
26416         * toplev.c (documented_lang_options): Add -fpreprocessed.
26417         * cpplib.h (struct cpp_buffer): Add preprocessed.
26418         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
26419         (cpp_start_read): Don't expand macros or emit an initial #line
26420         directive if -fpreprocessed.
26422 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
26424         * cpplib.h (struct cpp_buffer): Added manual_pop for
26425         better C++ tokenization.
26426         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
26427         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
26428         * c-common.c (cpp_token): Make non-static.
26430 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26432         * c-common.h: New file.
26433         * c-common.c (permanent_obstack): Delete unused declaration.
26434         (c_global_trees): New array.
26435         (c_common_nodes_and_builtins): New function; split off common code
26436         from init_decl_processing in both c-decl.c and cp/decl.c.
26437         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
26438         c_global_trees and accessor macros defined in c-common.h.
26439         Include c-common.h.
26440         * c-decl.c: Delete definitions for tree nodes that were replaced by
26441         c_global_trees.
26442         (init_decl_processing): Build void_list_node.
26443         Call c_common_nodes_and_builtins; delete code to generate the common
26444         builtins here.
26445         * objc/objc-act.c (build_module_descriptor): Rename variable
26446         void_list_node to avoid clash with c-common.h.
26448         * Makefile.in: Update dependencies.
26449         * objc/Make-lang.in: Likewise.
26451 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
26453         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
26454         (UNIQUE_SECTION_P): Likewise.
26455         (UNIQUE_SECTION): Likewise.
26457 1999-07-19  Linas Vepstas  <linas@linas.org>
26459         * config/i370/README: New file.
26460         * config/i370/linux.h: New file.
26461         * config/i370/mvs.h: New file.
26462         * config/i370/oe.h: New file.
26463         * config/i370/t-linux: New file.
26464         * config/i370/t-mvs: New file.
26465         * config/i370/t-oe: New file.
26466         * config/i370/x-oe: New file.
26467         * config/i370/xm-linux.h: New file.
26468         * config/i370/xm-mvs.h: New file.
26469         * config/i370/xm-oe.h: New file.
26471         * i370.c (label_node_t): Add first_ref_page, label_addr,
26472         label_first_ref, label_last_ref members.
26473         (mvs_need_base_reload): Renamed from mvs_label_emitted.
26474         (MAX_MVS_LABEL_SIZE): Define.
26475         (MAX_LONG_LABEL_SIZE): Define.
26476         (alias_node_t, alias_anchor, alias_number): New.
26477         (mvs_function_table): Reorder for EBCDIC.
26478         (ascebc, ebcasc): Unconditionally define.
26479         (i370_branch_dest, i370_branch_length): New functions.
26480         (i370_short_branch, i370_label_scan): New functions.
26481         (mvs_get_label): Renamed from mvs_add_label.  Search for
26482         an existing label before creating a new one.
26483         (mvs_add_label): New function.
26484         (mvs_get_label_page): New function.
26485         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
26486         over the entire list.
26487         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
26488         (mvs_check_page) [TARGET_ELF_ABI]: New function.
26489         (mvs_add_alias, mvs_need_alias): New functions.
26490         (mvs_get_alias, mvs_check_alias): New functions.
26491         (handle_pragma): New function.
26492         (mvs_function_check): New function.
26493         (unsigned_jump_follows_p): Search harder.
26494         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
26495         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
26496         * i370.h (TARGET_VERSION): Delete.
26497         (CPP_SPEC, CPP_PREDEFINES): Delete.
26498         (mvs_label_emitted): Delete.
26499         (TARGET_EBCDIC): Delete.
26500         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
26501         (HANDLE_PRAGMA): Define.
26502         (HARD_REGNO_NREGS): Handle complex modes.
26503         (HARD_REGNO_MODE_OK): Likewise.
26504         (CLASS_MAX_NREGS): Likewise.
26505         (RET_REG): Likewise.
26506         (EXTRA_CONSTRAINT): Define.
26507         (RETURN_IN_MEMORY): True for DImode.
26508         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
26509         (FUNCTION_PROFILER): Delete.
26510         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
26511         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
26512         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
26513         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
26514         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
26515         (ASM_FILE_START): Add "RMODE ANY".
26516         (ASM_OUTPUT_EXTERNAL): Check for aliases.
26517         (ASM_GLOBALIZE_LABEL): Likewise.
26518         (ASM_OUTPUT_LABELREF): Likewise.
26519         (ASM_OUTPUT_COMMON): Likewise.
26520         (PRINT_OPERAND): Handle 'K', 'W', default.
26521         (PRINT_OPERAND_ADDRESS): New.
26522         (Lots of defines): Add support for TARGET_ELF_ABI.
26523         * i370.md (attr length): New.  Define for all patterns.
26524         (*): Lots of tweeks to assembly output and constraints.
26526 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
26528         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
26529         Disable patterns performing SImode comparisons with SImode values
26530         if TARGET_POWERPC64 and instruction does not sign-extend or does
26531         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
26532         differ for signed quantities.
26533         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
26534         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
26535         (decrement_and_branch_on_count): Add 64-bit variant.
26537 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26539         * final.c (output_asm_insn): When searching for the matching string
26540         for a given dialect, don't run past the end of the list of
26541         alternatives if there are fewer alternatives in the template than
26542         dialects.
26544 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
26546         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
26547         Removed paragraph about compression of files and size limitation,
26548         duplicated in the FAQ.  Use gcc-patches for posting patches.
26549         * gcc.c (main): Updated URL with bug reporting instructions to
26550         gcc.gnu.org.  Removed e-mail address.
26551         * system.h (abort): Likewise.
26553 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26555         * Makefile.in (stmp-multilib-sub): Make the files extracted
26556         from $(LIBGCC1) writable.
26558 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
26560         * config/arm/aout.h: Reformat for improved readability.
26562         * config/arm/arm.h: Reformat for improved readability.
26563         Replace uses of fprintf with asm_fprintf where appropriate.
26564         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
26565         function declaration assembler actions.
26566         (NUM_INTS): New macro: Convert from bytes to words.
26567         (NUM_REGS): New macro: Compute number of registers required to
26568         hold a quanitity of tyep MODE.
26569         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
26570         types.
26571         (NUM_ARG_REGS): New macro: The number of argument registers
26572         available.
26573         (ARG_REGISTER): New macro: Compute the register number of the Nth
26574         argument register.
26575         (LAST_ARG_REGNUM): New macro: The number of the last argument
26576         register.
26577         (SP_REGNUM): New macro: Register number of the stack pointer.
26578         (FP_REGNUM): New macro: Register number of the frame pointer.
26579         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
26580         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
26581         CUMULATIVE_ARGS so that it counts registers not bytes.
26583         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
26584         TARGET_INTERWORK.
26585         Replace uses of fprintf with asm_fprintf where appropriate.
26586         (output_ascii_pseudo_op): Replace with version from thumb.c
26588         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
26590         * config/arm/elf.h (CPP_PREDEFINES): Replace with
26591         SUBTARGET_CPP_SPEC.
26592         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
26593         (ASM_FILE_START): Emit ASM_APP_OFF.
26595 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
26597         * pa.c (compute_frame_size): Round frame according to
26598         STACK_BOUNDARY rather than a hardwired value.
26600         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
26602         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
26603         of "1".
26604         * configure: Rebuilt.
26606         * configure.in (hppa*-*-linux*): New configuration.
26607         * configure: Rebuilt.
26608         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
26609         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
26610         * pa/pa-linux.h: New file.
26611         * pa/t-linux: New file.
26612         * pa/xm-linux.h: New file.
26614         * pa.c (hppa_legitimize_address): Change references from SImode to
26615         either Pmode or word_mode as appropriate.
26616         (emit_move_sequence, store_reg, load_reg): Likewise.
26617         (set_reg_plus_d, hppa_expand_prologue): Likewise.
26618         (output_mul_insn): Likewise.
26619         * pa.h (PROMOTE_MODE): Likewise.
26620         (INITIALZE_TRAMPOLINE): Likewise.
26621         (Pmode): Define to word_mode.
26623         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
26624         value of 4.  Allocate 8 bytes for each FP register save.
26625         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
26626         value of 4.
26627         (hppa_expand_prologue): Likewise.
26628         * pa.h (PROMOTE_MODE): Likewise.
26629         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
26630         (FUNCTION_ARG_BOUNDARY): Likewise.
26632         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
26634         * pa.c (out_of_line_prologue_epilogue): Delete.
26635         (override_options): Remove -mspace related code.
26636         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
26637         (compute_frame_size): Only allocate space for register that
26638         actually need to be saved.
26639         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
26640         (TARGET_SWITCHES): Remove -mspace, -mno-space
26641         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
26642         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
26643         * pa/ee.asm, pa/ee_fp.asm: Delete.
26645         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
26647         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
26648         directive in column zero.
26650 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
26652         * m68k.c (output_function_prologue): Fix computation of save mask
26653         when generating PIC code.
26655 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
26657         * tree.c (build_type_attribute_variant): Move current_obstack restore
26658         after build_qualified_type call.
26660 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
26662         * configure.in: Use t-iris6, even with GNU LD.
26663         * config/mips/iris6gld.h: Fix typo in linker spec.
26664         * config/mips/t-iris6gld: Remove.
26666 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
26668         * rs6000.md (insv, extzv): Remove SImode dependence in named
26669         patterns.  Explicitly generate DImode RTL if PowerPC64 and
26670         operand is DImode.
26671         (insvdi): Reverse start and size in instruction template.
26673 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
26675         * invoke.texi: Typo fixes.
26677 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
26679         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
26680         handle at this time instead of silently generating incorrect code.
26681         (gen_imagpart): Likewise.
26683         * reload.c (find_reloads): Emit a USE for a pseudo register without
26684         a hard register if we could not create an optional reload for the
26685         pseudo.
26687 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26689         * c-typeck.c (output_init_element, process_init_element):
26690         When advancing constructor_unfilled_fields for a RECORD_TYPE,
26691         check for nameless bit fields.
26693 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
26695         * regclass.c (scan_one_insn): Notice subregs that change the
26696         size of their operand.
26697         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
26699 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
26701         * configure.in (alpha*-*-*): Include alpha/t-ieee.
26702         * configure: Rebuilt.
26703         * alpha/t-ieee: New file.
26705 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
26707         * rs6000.c (find_addr_reg): Do not select r0 as an address
26708         register.
26710 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
26712         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
26714 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
26716         * rs6000.md (movsf): Do not force easy FP constants into memory.
26718         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
26719         immed_double_const to ensure they are properly truncated then
26720         sign extended.
26722 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26724         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
26725         always unless NO_DEBUG is used.  Compile this code
26726         unconditionally.
26727         (replace_symbols_in_block): Compile it unconditionally.
26729 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
26731         * configure.in (i?86-*-elf*): New target.
26732         * configure: Rebuilt.
26733         * i386/i386elf.h, i386/t-i386elf: New files.
26735 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
26737         * toplev.c (main): Don't complain about saying -gdwarf.
26738         (rest_of_compilation): Remove redundant code.
26740 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
26742         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
26744 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
26746         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
26747         "Li960R:", to avoid name clash.
26749 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26751         * loop.c (check_dbra_loop): When reversing a loop, delete all
26752         REG_EQUAL notes referencing the reversed biv except those which are
26753         for a giv based on it.
26755 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
26757         * version.c: Drop "gcc-" prefix from version #.
26759 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
26761         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
26762         the label if we're being verbose.
26764 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
26766         * m68k.c (output_function_prologue): Add pic register to mask
26767         if live and flag_pic.
26768         (output_function_epilogue): Likewise.
26770 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
26772         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
26773         directives in column zero.
26775         * pa/elf.h (ASM_FILE_START): Define.
26776         * pa/som.h (ASM_FILE_START): Include .level directives.
26777         * pa/hpux10.h (ASM_FILE_START): Delete.
26778         * pa/hpux11.h (ASM_FILE_START): Delete.
26780         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
26782 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26784         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
26785         when reload_out equals reload_in.
26787 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
26789         * invoke.texi (Spec Files): New node: Describe the contents of
26790         spec files.
26792 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
26794         * invoke.texi (DEC Alpha Options): Put @end table at
26795         beginning of line, to avoid confusing texi2html.
26797 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
26799         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
26800         introduced in previous delta.
26802 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26804         * reload1.c (gen_reload): When synthesizing a 3 operand add
26805         sequence, improve test for when to reload OP1 into the reload
26806         register instead of OP0.
26808 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
26810         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
26812 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
26814         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
26815         string literal.
26817 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
26819         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
26820         (va_dcl): Use __builtin_va_alist_t.
26822 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
26824         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
26825         on the permanent_obstack.
26826         * dwarfout.c (output_type): Likewise.
26828 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26830         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26831         Merged from c-typeck.c and cp/typeck.c.
26832         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26833         Merged into c-common.
26835 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
26837         * c-lex.c (errorcount): Declare it.
26838         (finish_parse): Update errorcount when using CPPLIB.
26840 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
26842         * fixinc/inclhack.def(end_else_label): Double the backslash so
26843         sed gets a chance to see it.
26844         * fixinc/inclhack.sh: regen
26845         * fixinc/fixincl.x: regen
26847 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
26849         Add framework to support armv5 architecture when it becomes
26850         available:
26852         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
26853         (arm_arch5): New variable.
26854         (all_architectures): Add armv5 line.
26855         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
26856         -march=armv5 is specified on the command line.
26857         (arm_arch5): Export this variable.
26858         * invoke.texi: Document new string accepted by -march= switch for
26859         ARM ports.
26861         * config/arm/arm.h: Replace use of constant 12 as a register
26862         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26863         * config/arm/arm.c: Replace use of constant 12 as a register
26864         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26866         * config/arm/elf.h: Tidy up.
26867         * config/arm/coff.h: Tidy up.
26869 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
26871         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
26872         * gcc/config/mips/t-iris6gld: New file.
26873         * gcc/config/mips/iris6gld.h: Likewise.
26875 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26877         * c-decl.c (widest_integer_literal_type_node,
26878         widest_unsigned_literal_type) : New.
26879         (init_decl_processing): Handle/use the two new types.
26880         * c-common.c (type_for_size,type_for_mode) : Same.
26881         * c-lex.c (yylex) : Same.
26882         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26883         Same.
26884         * c-tree.h (widest_integer_literal_type_node,
26885         widest_unsigned_literal_type) : New.
26887 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
26889         * dwarfout.c (field_byte_offset): Correctly compute the object's
26890         byte offset for the first bit of a field which crosses an alignment
26891         boundary on a !BYTES_BIG_ENDIAN target.
26893 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
26895         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
26896         ntohs.
26898 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
26899                           Jeff Law <law@cygnus.com>
26901         * ginclude/varargs.h (va_dcl): Use word_mode for type of
26902         __builtin_va_list.
26904         * except.c: Include intl.h.
26905         (expand_eh_return): Set current_function_cannot_inline.
26906         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
26907         * function.h (struct function): Add eh_return_stub_label.
26908         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
26909         * Makefile.in (except.o): Depend on intl.h.
26911 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
26913         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
26914         same as offsettable in cases 1 and 2.
26916 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
26918         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
26919         (extlh, extwh): Likewise.
26921 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26923         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
26925 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
26927         * configure.in: Add arm-pe and thumb-pe targets.
26928         * configure: Regenerate.
26930         * thumb.c (arm_naked_function_p): New function: Determines if
26931         a function is naked (has no gcc generated prologue/epilogue).
26932         (is_called_in_ARM_mode): Return true if the func has the
26933         interfacearm attribute.
26934         (output_return): Do not generate a return for naked functions.
26935         (thumb_function_prologue): Do not generate a prologue for
26936         naked functions.
26937         (thumb_expand_prologue): Do not generate a prologue for naked
26938         functions.
26939         (thumb_expand_epilogue): Do not generate an epilogue for naked
26940         functions.
26941         (arm_valid_machine_decl_attribute): New function, copied from
26942         arm.c:  Permit naked and interfacearm attributes.
26944         * config/arm/pe.c: New file: Support code for arm-pe target.
26945         * config/arm/pe.h: New file: Header file for arm-pe target.
26946         * config/arm/tpe.h: New file: Header file for thumb-pe target.
26947         * config/arm/t-thumb-pe: New file: Makefile fragment for
26948         thumb-pe target.
26950 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
26952         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
26953         -fPIC or -fpic is specified.
26955 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
26957         * expr.c (emit_block_move): Use copy_to_mode_reg for
26958         !TARGET_MEM_FUNCTIONS case too.
26960         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
26961         appropriate.
26962         * configure: Rebuilt.
26963         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
26964         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
26965         definitions made redundant by dbxelf.h inclusion.  Delete
26966         lots of definitions related to assembly output that are
26967         specific to the SOM object format.
26968         * pa.c (output_function_prologue): Do not emit the function's
26969         name for OBJ_ELF.
26970         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
26971         * pa-pro.h: Deleted.
26972         * som.h: New file with SOM specific definitions.
26973         * elf.h: New file with ELF specific definitions.
26975         * elfos.h (const_section): Output a tab before assembler directives.
26976         (ctors_section, dtors_section): Likewise.
26977         (ASM_OUTPUT_SECTION_NAME): Likewise.
26979         * pa/pa1.h: Delete unused file.
26981 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
26983         * configure.in (hppa*-hp-hpux11*): New configuration.
26984         * configure: Rebuilt.
26985         * pa/pa-hpux11.h: New file.
26986         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
26987         command line.
26989         * mips.md (leasi, leadi): New patterns.
26991         * expr.c (emit_block_move): Properly handle case where one of the
26992         block move arguments has a queued increment or decrement.
26993         (clear_storage): Similarly.  Fix formatting goof.
26995 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
26997         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
26998         semicolon from the BSD VA_LIST replacement expression.
27000         * fixinc/inclhack.sh: regen
27001         * fixinc/fixincl.x: regen
27003         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
27004         now use the fixincl program.
27006 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
27008         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
27009         case.  Also make the PIC register call_used.
27011         * m68k.h (FINALIZE_PIC): Delete.
27012         * m68k.c (finalize_pic): Delete.
27014 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
27016         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
27017         to memory.
27019 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
27021         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
27023 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
27025         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
27027 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
27029         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
27031 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
27033         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
27035 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
27037         * rs6000.c (output_toc): Always use hex values for floating-point
27038         constants.  Store single-precision values in upper-half of TOC
27039         entry in 64-bit mode.
27040         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
27041         to final constraints.
27042         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
27043         (fctiwz): Improve accuracy of RTL for pattern.
27045 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27047         * expr.c (expand_expr): Allow RTL_EXPR's through the
27048         MAX_INTEGER_COMPUTATION_MODE checks.
27050 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
27052         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
27053         such that MASK_SUPPORT_ARCH is not negative.
27055 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
27057         * loop.c (verify_dominator): Properly handle ADDR_VEC and
27058         ADDR_DIFF_VEC insns that appear inside loops.
27060 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
27061                           Jeff Law <law@cygnus.com>
27063         * rs6000.md (movdf_hardfloat32): Revert previous patch.
27064         Handle LO_SUM the same as offsettable in cases 1 and 2.
27065         * rs6000.c (find_addr_reg): Revert previous patch.
27067 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
27069         * system.h (strstr): New external function declaration.
27070         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
27071         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
27072         * config.in, configure: Rebuilt.
27074 1999-06-24  Tom Tromey  <tromey@cygnus.com>
27076         * gcc.c (main): Read user-specified specs files after computing
27077         additional startfile_prefixes.
27079 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
27081         Revert these two patches:
27083         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27084         * loop.c (strength_reduce): When doing biv->giv conversion, update
27085         reg note of NEXT->insn.
27087         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27088         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27089         reg_biv_class.
27090         (recombine_givs): Set ix field after sorting.
27092 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27094         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
27095         for the parts of an UNSPEC / UNSPEC_VOLATILE.
27097 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
27099         *fixinc/inclhack.def:  Add fix development commentary
27100         (read_ret_type): reactivate and add selection clause
27101         (zzz_*): tweak output file name to match what is used in hackshell.tpl
27102         *fixinc/{fixincl.x|inclhack.sh}: regen
27104 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
27106         * expr.c (expand_expr): STRIP_NOPS before checking against
27107         MAX_INTEGER_COMPUTATION_MODE
27108         (check_max_integer_computation_mode): Likewise.
27110 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
27112         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
27114 1999-06-22  Jim Wilson  <wilson@cygnus.com>
27116         * expr.c (store_expr): When target is a promoted subreg, return a
27117         promoted subreg as a result.
27119 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
27121         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
27122         coding standards.
27123         (dwarf2out_define): Mark unused parameters appropriately.
27124         (gen_unspecified_parameters_die): Ditto.
27125         (gen_subprogram_die): Fix signed/unsigned warnings.
27126         (gen_variable_die): Ditto.
27128 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
27130         * fixinc/inclhack.def(end_else_label): combined else_label
27131         and endif_label and fixed the sed expression.
27132         *fixinc/{fixincl.x|inclhack.sh}: regen
27134 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
27136         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
27137         'x' when handling non-offsettable addresses
27139 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
27141         * final.c (shorten_branches): Don't try to split an insn that has
27142         been deleted.
27144 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
27146         * config/mips/mips.c (symbolic_expression_p): New function.
27147         (mips_select_rtx_section): Put symbolic expressions in the
27148         data section, not the read-only data section.
27150 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
27152         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
27154 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
27156         * collect2.c (main): Log frame table count.
27157         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
27158         (scan_prog_file) [COFF]: Handle frame tables.
27160         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
27161         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
27162         * alpha/elf.h: Undef them again.
27163         * alpha/vms.h: Remove their definitions.
27165 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27167         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
27168         remove the clobber of r0 and change the REG_UNUSED note to
27169         REG_INC.
27171 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
27173         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
27174         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
27175         fits in HOST_WIDE_INT and one uses union to access a long constant
27176         as double.
27178 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
27180         * sparc.c (sparc_override_options): Don't allow profiling for
27181         code models other than medlow.
27182         (sparc_function_profiler): New function from old FUNCTION_PROFILER
27183         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
27184         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
27185         (sparc_block_profiler): Likewise.
27186         (sparc_function_block_profiler_exit): Likewise.
27187         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
27188         (FUNCTION_BLOCK_PROFILER): Likewise.
27189         (BLOCK_PROFILER): Likewise.
27190         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
27191         (MCOUNT_FUNCTION): New.
27192         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
27193         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
27194         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
27195         (MCOUNT_FUNCTION): New.
27196         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
27197         (BLOCK_PROFILER): Delete.
27198         (MCOUNT_FUNCTION): New.
27200 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
27202         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
27204 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
27206         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27207         Add the macros.
27209         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27210         Ditto.
27212         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27213         Ditto.
27215         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27216         Ditto.
27218 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
27220         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
27221         types.
27223 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
27225         * i386/djgpp.h (LIB_SPEC): New.
27226         (STARTFILE_SPEC): New.
27228         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
27230 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
27232         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
27233         compiler flags.
27235         * system.h (WSTOPSIG): New macro.
27237 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27239         * c-pragma.c (push_alignment): Don't ignore alignments greater than
27240         4 bytes.
27241         (insert_pack_attributes): Take into account member natural
27242         alignment.
27244         * i386/winnt.c (exports_head): New static variable.
27245         (i386_pe_record_exported_symbol): New function.
27246         (i386_pe_asm_file_end): Use.
27247         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
27248         symbols to be emitted at end of assembly.
27249         (ASM_DECLARE_OBJECT_NAME): Likewise.
27250         (ASM_DECLARE_FUNCTION_NAME): Likewise.
27252         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
27253         -iwithprefix.
27255 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
27257         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
27258         in last change.
27260 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
27262         * haifa-sched.c (sched_analyze_1): Use free_list instead of
27263         zapping reg_last_uses directly.
27264         (sched_analyze_2, sched_analyze_insn): Likewise.
27265         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
27267 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
27269         * rs6000.md (movdf_hardfloat32): Use worst case insn length
27270         attributes for cases 1 and 2.
27272 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
27274         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
27275         instead of set.
27277 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
27279         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
27281 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
27283         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
27284         PIC_OFFSET_TABLE_REGNUM for general alloaction.
27285         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
27286         must be stacked if it is used for PIC accesses.
27287         * arm.c (use_return_insn): Handle PIC register specially.
27288         (output_return_instruction): Likewise.
27289         (output_func_{prologue,epilogue}): Likewise.
27290         (output_expand_prologue): Likewise.
27292         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
27293         (*strsi_predec): Renamed from *strqi_predec.
27294         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
27295         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
27297         * arm.c (arm_override_options): Remove warning about PIC code
27298         not being supported.
27300 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
27302         * rs6000.c (find_addr_reg): New function.
27303         * rs6000.h (find_addr_reg): Declare.
27304         (offsettable_addr_operand): Delete.
27305         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
27306         from and stores to GPRs.
27308 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
27310         * alpha.c (alpha_expand_block_move): Use get_insns rather than
27311         gen_sequence as argument to emit_no_conflict_block.
27313 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27315         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
27316         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
27317         *fixinc/fixincl.x: regen
27318         *fixinc/inclhack.sh: regen
27320 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
27322         * added support for -mpcrel (PC relative addressing for m68k)
27323         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
27324         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
27325         * m68k.c (print_operand_address): Handle 32-bit PIC case.
27326         (comments for general_src_operand): Add some explanation
27327         about EXTRA_CONSTRAINTS.
27328         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
27329         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
27330         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
27331         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
27332         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
27333         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
27334         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
27335         if not already set.
27336         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
27337         * m68k.h (TARGET_PCREL): New target flag.
27338         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
27339         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
27340         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
27341         contains a SYMBOL_REF.  Relax this constraint during reload, since
27342         we want to use the predicates, not reload's built-in concept of a
27343         valid memory address, to control what insns need reloading.
27344         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
27345         operands (essentially 'g', 'm', and 's' under normal circumstances).
27346         * m68k.c (print_operand): Cause printing of pc-relative addresses
27347         to include pc register.
27348         (print_operand_address): Ditto.
27349         (general_src_operand): Accept operands that are not only
27350         general_operands, but are also valid when used as a pc-relative
27351         source.
27352         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
27353         (memory_src_operand): Similar, for memory_operands.
27354         (pcrel_address): New predicate to accept the special case of a
27355         pc-relative address.
27356         * m68k.md (many patterns): Rewrite common SImode, HImode, and
27357         QImode insns to accept *_src_operand instead of *_operand where
27358         pc-relative operands can fit.  For example, a pc-relative operand
27359         can be used as a memory source operand for addsi3, but not as a
27360         memory destination.
27361         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
27363 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
27365         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
27366         .thumb_set pseudo op to mark aliases of thumb functions.
27368 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
27370         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
27371         preference to ASM_OUTPUT_DEF, if it is defined.
27373         * tm.texi: Document new, optional target macro
27374         ASM_OUTPUT_DEF_FROM_DECLS.
27376 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27378         * fixincludes: ISCNTL patch
27379         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
27380         (dgux_int_varargs): new for DG/UX
27381         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
27383 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
27385         * invoke.texi (ia32 options): Fix typo.
27387 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27389         * loop.c (strength_reduce): When doing biv->giv conversion, update
27390         reg note of NEXT->insn.
27392 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
27394         * loop.c (move_movables): Note issues with replacing REGs with
27395         SUBREGs.
27396         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
27398 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
27400         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
27402         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
27403         the reference to `mcount' was not correct for the ELF on FreeBSD.
27405 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27407         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27408         reg_biv_class.
27410         (recombine_givs): Set ix field after sorting.
27412 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
27414         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
27415         to safe to extract a subword out of a REG.
27417 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27419         * sh.md (mulsi3): Don't add a no-op move at the end.
27421 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27423         * cse.c (cse_insn): Don't put hard register source into tables for
27424         the last insn of a libcall.
27426 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27428         * loop.c (strength_reduce): Insert sets of derived givs at every
27429         biv increment, even if it's the only one.
27431 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
27433         * dwarfout.c (add_incomplete_type): New fn.
27434         (output_type): Call it.
27435         (retry_incomplete_types): New fn.
27436         (dwarfout_finish): Call it.
27438         From Eric Raskin <ehr@listworks.com>:
27439         (output_type): Output types for bases.
27441 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
27443         * mips.c (mips_output_conditional_branch): Add `break'
27444         between `default' label and `close braces'.
27446 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
27448         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
27449         specifications and make it realistic.
27450         (LIB_SPEC): Likewise.
27452 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
27454         * config/mips/mips.c (mips_secondary_reload_class): Check for
27455         (PLUS (SP) (REG)) and return appropriate register class.
27456         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
27457         Handle (PLUS (SP) (REG)).
27458         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
27459         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
27460         of emit_insn for tablejump.
27462 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
27464         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
27465         asm_fprintf format string by itself.
27466         (output_function_profiler): Likewise.
27468 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
27470         * combine.c (simplify_logical, case AND): Only call
27471         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
27472         or the constant is positive.
27474 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
27476         * configure.in: Fix typo in rs6000-ibm-aix4 case.
27477         * configure: Regenerate.
27479 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
27481         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
27482         require a sub-version #.
27483         * configure: Rebuilt.
27485 1999-06-14  Robert Lipe  (robertlipe@usa.net)
27487         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
27489 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
27491         * c-typeck.c (process_init_element): Detect excess elements in
27492         char array initializer.
27494 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
27496         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
27498 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27500         * invoke.texi (Option Summary): Add -fpermissive flag.
27502 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
27504         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
27505         that require PIC code sequences.
27507 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
27509         * configure.in: Add new target: thumb-elf.
27510         * configure: Regenerate.
27511         * config/arm/t-thumb-elf: New file: Makefile fragment for
27512         thumb-elf build.
27513         * config/arm/telf.h: New file: Header file for thumb-elf
27514         build.
27516 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
27518         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
27519         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
27520         initializers is some circumstances.
27522         * fixinc/inclhack.def (endif_label): Add additional selector for
27523         more bogus stuff after #endif statements.
27524         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
27526 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27528         * i386/cygwin.h (SET_ASM_OP): Define.
27530 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27532         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
27534 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27536         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
27537         latter.
27539         * sh.md (ic_invalidate_line_i): Remove second alternative.
27541 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27543         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
27544         test for the presence of valid prototypes.  Delete bypass expr.
27545         (ioctl_fix_ctrl): Correct the selection expression.
27546         (no_double_slash): Correct quoting rules
27547         *fixinc/fixincl.x: regen
27548         *fixinc/inclhack.sh: regen
27550 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
27552         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
27554 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27556         * rs6000.md (movsi_got_internal_mem): Delete.
27557         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
27558         (GOT_TOC_REGNUM): Delete.
27559         (PIC_OFFSET_TABLE_REGNUM): Define.
27560         (FINALIZE_PIC): Disable.
27561         * rs6000.c (rs6000_got_register): New code for fixed pic register.
27562         (rs6000_replace_regno): Delete.
27563         (rs6000_finalize_pic): Likewise.
27564         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
27566 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27568         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
27569         is a note; use <= for the compare; advance P while it is
27570         a NOTE.
27572 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
27574         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
27575         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
27577         * varasm.c (remove_from_pending_weak_list): Verify t->name
27578         is non-NULL before passing it to strcmp.
27580 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27582         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
27583         the typed arguments are not part of a comment
27584         (ioctl_fix_ctrl): Added a purpose comment
27585         *fixinc/fixincl.x: regenerate
27586         *fixinc/inclhack.sh: regenerate
27588 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27590         * invoke.texi: Add C4x invocation docs.
27592 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27594         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
27595         Define new macros.
27596         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
27597         TARGET_EXPOSE_LDP.
27598         (c4x_legitimize_reload_address): New function.
27599         * config/c4x/c4x.md: Update docs.
27601 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
27603         * fixincludes: Avoid removing '.'.
27604         * fixinc/fixinc.svr4: Likewise.
27605         * fixinc/fixinc.winnt: Likewise.
27606         * fixinc/inclhack.tpl: Likewise.
27607         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
27609 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27611         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
27612         pattern.
27613         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
27615 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27617         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
27618         correctly.
27620 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
27622         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
27623         * configure: Regenerate.
27625 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
27627         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
27628         values.
27630 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
27632         * fixinc/inclhack.def (avoid_bool): Also catch
27633         "typedef [unsigned] int bool".
27634         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27636         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
27637         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
27638         * configure: Rebuilt.
27640 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
27642         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
27643         such that we can override its definitions if necessary.
27644         (CPP_SPEC): New define.  Support processor specific predefines via
27645         %(cpp_cpu).
27646         (CC1_SPEC): New define.  Support processor specific compiler
27647         options via %(cc1_cpu).
27648         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
27649         -static.
27651 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27653         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
27654         between sed's -e flag, and the open-quote following it.
27655         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27657 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
27658                           Jeffrey A Law  (law@cygnus.com)
27660         * varasm.c (assemble_start_function): Remove the function
27661         from the pending weak decls list when we define a function.
27662         (assemble_variable): Similarly for variables.
27663         (weak_finish): Ignore items on the list with a NULL name.
27664         (remove_from_ending_weak_list); New function to "remove" an item
27665         from the pending weak declarations list.
27667 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27669         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
27671 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
27673         * c-lex.c (GETC): Redefine to call getch.
27674         (UNGETC): Redefine to call put_back.
27675         (putback_buffer): New structure type.
27676         (putback): New static structure.
27677         (getch): New function.
27678         (put_back): New function.
27679         (yylex): Replace unused bytes from bad multibyte character.
27681 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
27683         * cpplib.c (do_define): Cast `alloca' return value.
27684         (do_include, do_undef, do_pragma): Likewise.
27685         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
27686         values.
27687         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
27688         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
27690 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27692         * sparc.md (abstf2): This should be an expand.
27693         (split after abstf2_notv9): Fix mode.
27694         (abstf2_hq_v9): New pattern.
27695         (abstf2_v9): Only use when no hard quad.
27696         (absdf2_v9): Fix if target is not the same as source.
27697         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
27698         Add correct output constraints.
27700 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
27702         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
27703         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
27705 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
27707         * mips.h (mips_output_conditional_branch): New function.
27708         (mips_adjust_insn_length): Likewise.
27709         (ASSEMBLER_SCRATCH_REGNUM): New macro.
27710         (ADJUST_INSN_LENGTH): Likewise.
27711         * mips.c (print_operand): Add `F' and `W' for floating-point
27712         comparison opcodes.
27713         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
27714         are now in bytes.
27715         (mips_adjust_insn_length): New function.
27716         (mips_output_conditional_branch): New function.
27717         * mips.md (length): Adjust attribute definition to handle
27718         conditional branches.  Change lengths to bytes, rather than
27719         instructions throughout.  Remove length attribute from
27720         instructions whose length is four bytes, and rely on the default
27721         instead.
27722         (dslot): Fix typo in comment.
27723         Reword conditional branch patterns to use
27724         mips_output_conditional_branch.
27726 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
27728         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
27729         (LIB_SPEC): Likewise.
27730         Link with -lprof1_r for -g/-pg.
27732 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27734         * loop.c (check_dbra_loop): Fix change of Jan 19.
27736 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
27738         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
27739         (STARTFILE_SPEC):  Define, override the svr4.h version.
27740         (ENDFILE_SPEC):  Likewise.
27742 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
27744         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
27745         * fixinc/fixincl.x: Regenerated.
27746         * fixinc/inclhack.sh: Regenerated.
27748 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27750         * sh.c (barrier_align): Don't return early for normal branch/barrier
27751         when optimizing for SH2.
27753 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
27755         * i386/udk.h (LINK_SPEC): Correct linker search path for
27756         system libraries.
27758 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27760         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
27761         (braf_label_ref_operand): Delete.
27762         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
27763         * sh.md (casesi_jump_2): Operand1 is now the inside of a
27764         label_ref, and has no predicate.
27765         The patten has a predicate to guard against invalid substitutions.
27766         (dummy_jump): Delete.
27767         (casesi): Update use of casesi_jump_2.
27769 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27771         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
27772         *fixinc/fixincl.x: regenerate
27773         *fixinc/inclhack.sh: regenerate
27775 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
27777         * dwarf2out.c (add_incomplete_type): New fn.
27778         (gen_struct_or_union_type_die): Call it.
27779         (retry_incomplete_types): New fn.
27780         (dwarf2out_finish): Call it.
27782 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
27784         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
27785         current block starts with a CODE_LABEL and ends with a CALL and
27786         we can not find all the argument setup instructions for the CALL.
27788 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
27790         Revert this change:
27791         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27792         something is a candidate for optimize_bit_field_compare.
27794 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27796         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
27798 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
27800         * alpha.c (override_options): Thinko in last patch.
27802         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
27803         (LIB_SPEC): Recognize -pthread.
27805 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
27807         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
27808         definition in config/arm/coff.h
27809         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
27811 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27813         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
27814         fixes that need "file=xxx\n" prepended before invocation
27815         (start_fixer - new): starting the fixer process is complex enough
27816         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
27817         (process): uses the new routine; omit usage of putenv()
27818         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
27819         * fixinc/fixincl.x: regenerate
27821 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
27823         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
27824         and version #s (1.1 -> 2.96) as needed.
27825         * README.g77: Kill way out of date file in the toplevel directory.
27827 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
27829         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
27830         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
27831         * configure: Rebuilt.
27832         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
27833         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
27834         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
27835         (SWITCH_TAKES_ARG): Likewise.
27836         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
27837         * config/t-freebsd: Moved from config/i386/ so it can used for all
27838         FreeBSD targets.
27840 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
27842         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
27844 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
27846         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
27847         * configure: Rebuilt.
27849 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
27851         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
27852         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
27853         * rs6000/rs6000.c (rs6000_file_start): Use putc.
27854         (rs6000_output_load_toc_table): Same.
27855         (output_prolog, output_mi_thunk): Same.
27856         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
27857         (ASM_GLOBALIZE_LABEL): Use putc.
27859 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
27861         * alpha.md (reload_*_help): New patterns and splitters.
27862         (reload_*): Use them.
27863         (mov[qh]i): Likewise.
27865 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
27867         * cccp.c (handle_directive): Handle backslash-newlines in quoted
27868         strings correctly.
27870 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
27872         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
27874 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
27876         * flow.c (mark_regs_live_at_end, insn_dead_p,
27877         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
27878         and HARD_FRAME_POINTER_REGNUM special treatment if reload
27879         hasn't run or the frame pointer is needed.
27880         * haifa-sched.c (attach_deaths): Likewise.
27881         * sched.c (attach_deaths): Likewise.
27883 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
27885         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
27886         calculate_can_reach_end returns nonzero.
27888         * configure.in (native gas tests): Search for an assembler in the
27889         same manner that the installed compiler will.
27890         * configure: Rebuilt.
27891         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
27893         * alias.c (find_base_term): Improve handling of addresses
27894         constructed from binary operations.
27896 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
27898         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
27900 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
27902         * function.h (cleanup_label, frame_offset): Declare.
27903         (tail_recursion_label, tail_recursion_reentry): Likewise.
27904         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27905         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
27906         (tail_recursion_label, tail_recursion_reentry): Likewise.
27907         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27909 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
27911         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
27912         defined.
27913         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
27914         (MAX_OFILE_ALIGNMENT): Define.
27916 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
27918         * fixincl.c: Replace local include scheme with #includes of
27919         gansidecl.h and system.h.
27920         * procopen.c:  Likewise.
27921         * server.c:  Likewise.
27923 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
27925         * i386/t-dgux (EXTRA_PARTS): Add crti.o
27926         (crti.o): Add build rule and dependencies.
27927         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
27929 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27931         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
27932         (LIB_LINUX_SPEC): Likewise.
27933         (LIB_LINUX_SPEC): Add support for -pthread
27934         (CPP_OS_LINUX_SPEC): Likewise.
27935         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
27936         specified.
27938 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
27940         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
27941         conditional move.
27942         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
27943         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
27944         for IEEE math and CC_FCOMI.
27945         (put_jump_code): No IEEE if CC_FCOMI is set.
27947 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27949         * fold-const.c (fold_truthop): Make the field reference unsigned
27950         when converting a single bit compare.
27952 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27954         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
27956 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
27958         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
27959         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
27960         version did.
27962         * reload.c (push_reload): Do not call remove_address_replacements
27963         when presented with identical optional reloads.
27965 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
27967         * alpha.h (MASK_FIX, TARGET_FIX): New.
27968         (MASK_*): Reorganize constants.
27969         (CPP_AM_FIX_SPEC): New.
27970         (TARGET_SWITCHES): Add FIX.
27971         (EXTRA_SPECS): Likewise.
27972         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
27973         (SECONDARY_MEMORY_NEEDED): Likewise.
27974         (REGISTER_MOVE_COST): Likewise.
27975         * alpha.c (override_options): Add FIX support.  Always use
27976         ALPHA_TP_PROG for ev6.
27977         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
27978         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
27979         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
27981 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
27983         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27984         something is a candidate for optimize_bit_field_compare.
27986 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
27988         * gcc.texi (Passes): Document branch-shortening.
27989         * invoke.texi (Debugging Options): Document the fact that `-dp'
27990         outputs length information for instructions.
27992 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
27994         * flow.c: Revert previous delta.
27996 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
27998         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
27999         FRAME_POINTER_REGNUM.
28000         (mark_set_1): Ditto.
28001         (mark_used_regs): Ditto.
28003 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
28005         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
28006         (GOT_PCREL): New macro.  Define to 1 if not already defined.
28007         * arm/elf.h (GOT_PCREL): Define to 0.
28008         * arm.c (arm_finalize_pic): Take into account the setting of
28009         GOT_PCREL.
28011 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
28013         * output.h (STRIP_NAME_ENCODING): Provide default definition.
28014         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
28016         * flow.c (mark_set_1): Do not record BLKmode stores as dead
28017         store elimination candidates.
28019 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
28021         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
28022         TARGET_GAS.
28024 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
28026         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
28027         Add use of x-aix41-gld.
28029 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
28031         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
28032         (ASM_OUTPUT_DESTRUCTOR): Define.
28034 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
28036         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
28037         last CODE_LABEL in a loop if we have previously passed a jump
28038         to the top of the loop.
28040 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
28042         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
28043         applying Philip's patch.
28045 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
28047         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
28048         are not VAR_DECLs.
28050 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
28052         * loop.c (strength_reduce): Grow reg_single_usage as needed.
28054 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
28056         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
28057         Also remove a useless comment.
28059 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
28061         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
28063 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
28065         * collect2.c (main): Only generate import or export file and add
28066         to link arguments if non-empty.  Use xmalloc not alloca.
28067         (write_{export,import}_file): Delete.
28068         (write_aix_file): New function.
28069         (locatelib): Use xmalloc not malloc.
28070         (GCC_OK_SYMBOL): Do not check type if aix64.
28072 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
28074         Based on patch by Scott Bambrough and Pat Beirne:
28075         * config/arm/arm.c (making_const_table): New variable.
28076         * config/arm/arm.h (making_const_table): Declare.
28077         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
28078         appropriate.
28079         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
28080         Keep track of when we are building the constant table.
28082 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
28084         * config/arm/arm.c (arm_override_options): Fix erroneous warning
28085         message.
28087 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
28089         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
28090         defined.
28092 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
28094         * tm.texi (FUNCTION_ARG): Correct description of a stack element
28095         in a PARALLEL.
28097 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
28099         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
28101 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
28103         * rs6000.c (output_mi_thunk): Enable full support again.
28105 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
28107         * sh.h (BRANCH_COST): Define.
28109 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
28111         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
28113 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
28115         * function.c (assign_stack_local): Align stack slot propertly.
28116         (assign_outer_stack_local): Likewise.
28118 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
28120         * expr.h (lang_expand_constant): Declare.
28121         * toplev.c (lang_expand_constant): Define it.
28122         * varasm.c (output_constant): Use it.
28124 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
28126         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
28127         Change function definitions to K&R style.
28129 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
28131         * fixinc/fixincl.c: We must not ignore SIGCLD now.
28133 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
28135         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
28136         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
28137         (several places): omit static initialization
28138         (process): use single fd, since only the read fd is used
28139         * fixinc/gnu-regex.c: define 'const' away, if not supported
28140         * fixinc/procopen.c(several places): omit static initialization
28141         * fixinc/server.c: define 'volitile' away, if not supported
28143 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
28145         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
28146         asm_fprintf and %L to generate the label name.
28147         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
28148         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
28150 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
28152         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
28153         insn for a conditional jump can not be found.
28155 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
28157         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
28158         on variables in specific sections other than .sbss and .sdata.
28160 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
28162         * stmt.c (expand_return): Call start_cleanup_deferral and
28163         end_cleanup_deferral around conditional code.
28165 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
28167         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
28168         filename lists.  Utilizes new "krstr" AutoGen function.
28169         * fixinc/fixincl.x: Rebuilt.
28171 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
28173         * i386.c (output_float_compare): Avoid GNU-C extensions.
28175 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
28177         * version.c: Bump to distinguish mainline tree from the
28178         gcc-2.95 branch.
28180 See ChangeLog.1 for earlier changes.