OSDN Git Service

test_text cleanups
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-05-19  Bruce Korb  <bkorb@gnu.org>
2
3         * fixinc/README:  cleaned up old documentation
4         * fixinc/check.diff: regenerated & verified on OSR5 on ix86
5         * fixinc/check.tpl: compute the list of needed directories
6         emit "#if defined(name)" because of conflict
7         omit machine name differences from output differences
8         * fixinc/inclhack.def( m88k_multi_incl ):  Use `wrap' function
9         (machine_name): change test text to use `sed' markers
10         * fixinc/fixincl.x: regen
11
12 Fri May 19 06:49:35 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13
14         * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
15         a CONSTRUCTOR.
16
17 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
18
19         * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
20         it to match the current practice.
21
22 2000-05-18  Mark Mitchell  <mark@codesourcery.com>
23
24         * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
25
26 2000-05-18  Richard Henderson  <rth@cygnus.com>
27
28         * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
29         * rtl.h (insn_dependant_p): Declare it.
30         * loop.c (strength_reduce): Use it.
31
32 2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
33
34         * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
35         16-bit and 64-bit clean-up.
36
37 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
38
39         * configure.in (*-pc-msdosdjgpp): Set float_format to none.
40         * configure: Rebuilt.
41
42 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
43
44         * genopinit.c: Use $ for escape sequences in optab patterns.
45         Remove backslashes from optab patterns.  Change $A, $B, $C to
46         expand to (int) whatever instead of just whatever; remove
47         explicit (int) from all optab patterns.
48
49         * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
50         * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
51         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
52         genrecog.c: Remove private copies of xmalloc, xrealloc, and
53         xstrdup.
54
55 2000-05-18  Richard Henderson  <rth@cygnus.com>
56
57         * jump.c (jump_optimize_1): Base minimum insn count during
58         find_cross_jump on BRANCH_COST.
59
60 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
61
62         * print-rtl.c (print_rtx): Only print note line number as string
63         if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
64         * final.c (final_scan_insn): Do nothing for note line number 0.
65
66 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
67
68         * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
69         from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
70         NOTE_INSN_DELETED_LABEL.
71
72 2000-05-18  Nick Clifton  <nickc@cygnus.com>
73
74         * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
75         uninitialised data in .rodata not .bss, and do not interpret an
76         error in the initialisation value as meaning that the variable
77         should be placed in the .bss section.
78
79 Thu May 18 12:10:18 2000  Philippe De Muyter  <phdm@macqel.be>
80
81         * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
82         not `$ac_cv_prog_cc_cc_c_o'.
83         * configure: Regenerated.
84
85 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
86             Richard Henderson  <rth@cygnus.com>
87
88         * c-common.h (enum c_tree_index): Add g77 type entries.
89         (g77_integer_type_node, g77_uinteger_type_node): New.
90         (g77_longint_type_node, g77_ulongint_type_node): New.
91         * c-decl.c (init_decl_processing): Initialize them.
92
93 2000-05-18  Richard Henderson  <rth@cygnus.com>
94
95         * config/h8300/h8300.md (subs patterns): Use %G to negate.
96
97         * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
98         (small_power_of_two): Likewise; use exact_log2.
99         (adds_subs_operand, one_insn_adds_subs_operand): Remove.
100         (output_adds_subs): Remove.
101         (two_insn_adds_subs_operand): New.
102         (split_adds_subs): New.
103         * config/h8300/h8300-protos.h: Update.
104         * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
105         (CONST_OK_FOR_L): Match strict adds operands.
106         (CONST_OK_FOR_N): Match struct subs operands.
107         * config/h8300/h8300.md (adds_subs insns): Remove.
108         (addhi patterns): Output adds/subs directly.
109         (addsi_h8300h): Likewise.
110         (addhi/addsi splitters): New.  Decompose two_insn_adds_subs_operand.
111
112 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
113
114         * cppexp.c (parse_assertion): New.
115         (lex): Call it for CPP_HASH.  Remove CPP_ASSERTION case.
116         (_cpp_parse_expr): Remove case '#'.  Don't set
117         parsing_if_directive.
118         * cpphash.c (collect_objlike_expansion,
119         collect_funlike_expansion, collect_params,
120         _cpp_create_definition): The list no longer has a trailing
121         VSPACE token.
122         * cpphash.h (enum node_type): Add T_ASSERTION.
123         (struct hashnode): Remove aschain, add pred.
124         (struct predicate): New.
125         Update prototypes.
126
127         * cpplex.c (expand_token_space): Handle both offset and
128         nonoffset lists.
129         (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
130         (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
131         _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
132         _cpp_equiv_toklists): New.
133         (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
134         stop at any single-character token, not just newline.
135         (_cpp_lex_token): Remove special cases for #define and #if.
136         (cpp_get_token): Expect # as a separate token type.  Remove
137         DIRECTIVE case.
138         (_cpp_get_directive_token): Remove DIRECTIVE case.
139         (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
140
141         * cpplib.c (_cpp_check_directive): Set dirno and
142         SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
143         (_cpp_handle_directive): Run # <number> through the same logic
144         as normal directives.
145         (do_define): Don't set parsing_define_directive.  Use
146         _cpp_scan_until.  The list does not have a VSPACE at the end.
147         (do_if): Save, clear, and restore only_seen_white around 
148         _cpp_parse_expr.
149         (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
150         (do_assert, do_unassert): Rewrite.
151
152         * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
153         (LIST_OFFSET): New flag.
154         (struct cpp_toklist): Replace dir_handler and dir_flags with
155         dirno and flags.
156         (struct cpp_reader): Remove parsing_if_directive and
157         parsing_define_directive.
158
159 2000-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
160
161         * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
162         following the cabs decl which terminate on the following line.
163         Add the corresponding test_text case.
164
165 2000-05-18  Neil Booth  <NeilB@earthling.net>
166
167         * cppinit.c (cpp_reader_init): Initialise col_adjust and
168         default tab stop size.
169         (no_num, OPT_ftabstop): New.
170         (handle_option): Handle "ftabstop=" command-line option.
171         (print_help): Document it.
172         * cpplex.c (COLUMN): Remove.
173         (handle_newline): Reset col_adjust.
174         (skip_whitespace): Update col_adjust as tabs encountered.
175         (_cpp_lex_line): Update to use col_adjust.  Call
176         skip_whitespace for all whitespace.
177         * cpplib.h (struct cpp_options): New member tabstop.
178         (struct cpp_reader): New member col_adjust.
179         (CPP_BUF_COL): Update.
180         (CPP_BUF_COLUMN): New.
181         * cpp.texi: Document "-ftabstop=" command line option.
182
183 Wed May 17 18:19:41 2000  Philippe De Muyter  <phdm@macqel.be>
184
185         * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
186         files.
187         * configure: Rebuilt.
188
189 Wed May 17 18:06:12 2000  John David Anglin <dave@hiauly1.hia.nrc.ca>
190
191         * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
192
193         * tree.c (build_common_tree_nodes): Do not build TI nodes unless
194         HOST_BITS_PER_WIDE_INT is >= 64.
195
196 2000-05-17  Richard Henderson  <rth@cygnus.com>
197
198         * jump.c (jump_optimize_1): Remove inactive but real insns
199         in jump-to-next-insn optimization.
200
201 2000-05-17  Richard Henderson  <rth@cygnus.com>
202
203         * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
204         unless OPTIMIZE_MODE_SWITCHING.  Conditionally set no_new_pseudos.
205         Don't call recompute_reg_usage if no_new_pseudos is true.
206         * lcm.c (optimize_mode_switching): Move ifdefs outside function.
207         Return true if we did work; update global life information.
208         * basic-block.h (optimize_mode_switching): Update decl.
209
210 2000-05-17  Neil Booth  <neilb@earthling.net>
211
212         * cpplex.c (expand_name_space): Don't use ptrdiff_t.
213
214 2000-05-17  Zack Weinberg  <zack@wolery.cumb.org>
215
216         * cpplib.c: New feature, #pragma system_header.
217         * cpp.texi: Document special treatment of system headers, and
218         the various mechanisms to get a header that special treatment.
219
220 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
221
222         * system.h (offsetof): Define at the very end, to ensure we prefer
223         the platform's definition if available.
224
225 2000-05-16  Bruce Korb  <bkorb@gnu.org>
226
227         * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
228         * fixinc/server.c: likewise
229         * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
230         + #ifdef debugging code + use #def constant for
231         sub-pattern count
232         * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
233         on C++ math namespace
234
235 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
236
237         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
238         Don't check the return value of sprintf.  Use asprintf to avoid
239         buffer overflows.
240
241 Wed May 17 17:27:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
242
243         * flags.h (warn_unused_function, warn_unused_label,
244         warn_unused_parameter, warn_unused_variable, warn_unused_value):
245         Replace ``warn_unused''.
246         (set_Wunused): Add declaration.
247         * toplev.c (set_Wunused): New function.
248         (warn_unused_function, warn_unused_label, warn_unused_parameter,
249         warn_unused_variable, warn_unused_value): New variables.
250         (W_options): Add -Wunused-function, -Wunused-function,
251         -Wunused-label, -Wunused-parameter, -Wunused-variable and
252         -Wunused-value.  Delete -Wunused.  Handled in decode_W_option.
253
254         * toplev.c (decode_W_option): Update -Wunused flags by calling
255         set_Wunused.
256         * c-decl.c (c_decode_option): Ditto for -Wall.
257
258         * stmt.c (expand_expr_stmt, expand_expr_stmt,
259         warn_about_unused_variables): Replace warn_unused with more
260         explicit warn_unused_value et.al.
261         * function.c (expand_function_end): Ditto.
262         * c-typeck.c (internal_build_compound_expr,
263         internal_build_compound_expr): Ditto.
264         * c-decl.c (poplevel, pop_label_level): Ditto.
265         * toplev.c (check_global_declarations): Replace warn_unused with
266         check for either warn_unused_function or warn_unused_variable.
267
268         * gcc.1, invoke.texi (Warning Options): Document
269         -Wunused-function, -Wunused-function, -Wunused-label,
270         -Wunused-parameter, -Wunused-variable and -Wunused-value options.
271
272 Wed May 17 10:28:12 2000  Philippe De Muyter  <phdm@macqel.be>
273
274         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
275         $(srcdir), not in the current directory.
276
277 2000-05-16  Richard Henderson  <rth@cygnus.com>
278
279         * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
280         assembler supports it.
281         (.fini, .init): Use a gp-relative indirect call.
282         (__do_global_dtors_aux): Preserve the gp; rebundle.
283         (__do_frame_setup): Likewise.
284         * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
285         (.init): Use a gp-relative indirect call.
286         (__do_global_ctors_aux): Preserve the gp.
287
288 2000-05-16  Richard Henderson  <rth@cygnus.com>
289
290         * flow.c (commit_one_edge_insertion): Be prepared for a return
291         insn to be inserted on the edge with a normal jump.
292         * jump.c (jump_optimize_1): Don't look to create return isns.
293
294         * flow.c (flow_delete_insn): Don't adjust reference count of notes.
295         * jump.c (jump_optimize_1): Likewise.
296         (returnjump_p): Verify the argument is a JUMP_INSN.
297         * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
298
299 2000-05-16  Nick Clifton  <nickc@cygnus.com>
300
301         * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
302         GET_RTX_CLASS (GET_CODE ()) == 'i'.
303         (large_insn_p): Ditto.
304         (m32r_is_insn): New function: Return true if the insn contains
305         an executable instruction.
306         (m32r_adjust_insn): Use m32r_is_insn.
307         (m32r_sched_reorder): Use m32r_is_insn.
308         (m32r_sched_variable_issue): Use m32r_is_insn.
309
310 2000-05-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
311
312         * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
313         VAR_DECL.
314
315         * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
316
317         * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
318         according to given options.
319
320 Tue May 16 12:17:31 2000  Jeffrey A Law  (law@cygnus.com)
321
322         * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
323         if X has VOIDmode either.
324         (LIMIT_RELOAD_CLASS): Similarly.
325
326         * mn10200.md (indirect_jump, tablejump): Use "register_operand",
327         not "general_operand" to match the processor's capabilities.
328
329 2000-05-16  Bruce Korb  <bkorb@gnu.org>
330
331         * fixinc/README:  corrected return address
332         * fixinc/check.diff:  regenerate, now that test works
333         * fixinc/fixfixes.c(format_fix,format_write): reformatted
334         (char_macro_def_fix,char_macro_use_fix): corrected and
335         rewrote to use regex to parse the text
336         * fixinc/inclhack.def: more testing
337         * fixinc/fixincl.x:  regenerated
338
339         * fixinc/inclhack.def: added several "test_text" attributes
340         changed several fixes to use `c_fix = format'
341         re-alphabetized the fixes
342
343         * fixinc/check.diff: regenerate
344         * fixinc/fixincl.x: regenerate
345         * fixinc/check.tpl: added `sparc' and `netinet' to the list
346         of created dirs
347
348
349 2000-05-16  Alexandre Oliva  <aoliva@cygnus.com>
350
351         * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
352
353 2000-05-15  Richard Henderson  <rth@cygnus.com>
354
355         * toplev.c (rest_of_compilation): Run full jump pass before
356         find_basic_blocks of flow2.
357
358 2000-05-15  Richard Henderson  <rth@cygnus.com>
359
360         * jump.c: Fix typos and clarify commentary from last change.
361         (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
362         (safe_to_remove_jump_p): Remove.
363         (condjump_label): Use pc_set.
364
365 2000-05-15  Richard Henderson  <rth@cygnus.com>
366
367         * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
368         that get in the way after reload.
369         (cond_exec_process_if_block): Skip a label heading THEN block.
370
371 2000-05-15  Richard Henderson  <rth@cygnus.com>
372
373         * varasm.c (output_constant_pool): Abort instead of converting
374         (improperly) deleted labels to zero.
375
376 2000-05-16  Neil Booth  <NeilB@earthling.net>
377
378         * cpplex.c (parse_string2): Update comment.
379         (cpp_lex_line): No special assertion treatment for '('.
380         * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
381         * cpplib.h (SYNTAX_ASSERT): Remove.
382
383 Mon May 15 21:45:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
384
385         * jump.c (condjump_p):  Mark as depreached.
386         (any_condump_p): New.
387         (any_uncondump_p): New.
388         (pc_set): New.
389         (safe_to_remove_jump_p): New.
390         * rtl.h (any_condump_p, any_uncondjump_p, pc_set
391         safe_to_remove_jump_p): Declare.
392
393 Mon May 15 21:07:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
394
395         * calls.c: Re-install both patches reverted by last patch.
396         (struct arg_data): New field tail_call_reg.
397         (initialize_argument_information): Initialize tail_call_reg
398         (load_register_parameters): New argument flags, use
399         tail_call_reg when emiting tail call sequence.
400         (expand_call): Update call of load_register_parameters;
401         copy unadjusted_args_size to adjusted_args_size.
402
403 Mon May 15 19:01:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
404
405         * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
406         and bct_p parameters to flags.
407         * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
408         * rtl.h (loop_optimize): Update prototype.
409         * toplev.c (rest_of_compilation): Update call of loop_optimize.
410
411 2000-05-15  Jakub Jelinek  <jakub@redhat.com>
412
413         * calls.c (expand_call): Move expand_start_target_temps call after
414         start_sequence().
415
416 2000-05-15  Neil Booth  <NeilB@earthling.net>
417
418         * cpphash.c (trad_stringify, warn_trad_stringify,
419         collect_params): Make some pointers pointers to const.
420         * cpplex.c (auto_expand_name_space) Guaranteed to always
421         expand by at least one character.
422         (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
423         (struct token_spelling): Use const U_CHAR * rather than PTR.
424         (expand_name_space): Fix up token pointers if name space
425         is moved when expanding.
426         (INIT_NAME, cpp_scan_line, parse_name, parse_number,
427         parse_string2, save_comment, spell_token, cpp_output_list):
428         Update so the routines handle tokens with a direct pointer to
429         their text, rather than an offset into the token's list's namebuf.
430         (_cpp_lex_line): Rearrange for clarity.
431
432         * cpplib.c (_cpp_check_directive): Similarly.
433         (do_define): Make SYM a pointer to const.
434         * cpplib.h (struct cpp_name): Replace offset with direct pointer.
435         (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
436         (TOK_OFFSET): Delete.
437         (TOK_NAME): Update.
438
439 2000-05-14  Geoffrey Keating  <geoffk@cygnus.com>
440
441         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
442         64-bit ABI.
443
444         * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE 
445         into account.
446         (logical_u_operand): Delete.
447         (non_logical_cint_operand): Rewrite to take MODE into account.
448         (non_logical_u_cint_operand): Delete.
449         (boolean_operator): New function.
450         (print_operand): Add new %q operand.
451         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
452         remove logical_u_operand and non_logical_u_cint_operand,
453         update logical_operand and non_logical_cint_operand.
454         * config/rs6000/rs6000.md: Rewrite the patterns for performing
455         logical operations to use %q.
456
457         * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
458         (movdi): Make similar to movsi.
459         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
460         is no such thing as a DImode CONST_DOUBLE.
461         * config/rs6000/rs6000.c (output_toc): Likewise.
462         
463         * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
464         codes when old mnemonics are in use.  Print register names
465         for cc registers when requested.
466
467         * optabs.c (expand_float): Don't allow mode widening that causes
468         double rounding.
469
470         * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
471         flags to their current names -maix64 and -maix32.
472
473 2000-05-14  Bruce Korb  <bkorb@gnu.org>
474
475         * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
476         and/or after current text of file
477         * fixinc/fixlib.c(must_malloc):
478         * fixinc/fixlib.h(must_malloc): + reformatting
479         * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
480         with usages of ``c_fix = wrap;''
481         Add several tests and use the ``c_fix = format'' fixer more.
482         * fixinc/fixincl.x: regen
483         * fixinc/check.diff: regen
484         * fixinc/check.tpl: emit the associated header with the missing
485         test message
486
487 Sun May 14 17:58:59 2000  Hans-Peter Nilsson  <hp@axis.com>
488
489         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
490         variables $src and $dst.
491         
492 2000-05-13  Gabriel Dos Reis <gdr@codesourcery.com>
493
494         * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
495         (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
496         (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
497         (struct output_buffer: emitted_prefix_p, prefixing_rule): New
498         fields. 
499         (set_message_prefixing_rule): Declare.
500
501         * diagnostic.c: (current_prefixing_rule): New variable.
502         (set_message_prefixing_rule): Define.
503         (output_set_prefix): Adjust buffer->emitted_prefix_p.
504         (init_output_buffer): Adjust Initialization.
505         (output_emit_prefix): Rewrite.  Take prefixing rules into account.
506         
507 Sat May 13 11:05:47 2000  Philippe De Muyter  <phdm@macqel.be>
508
509         * ifcvt.c (if_convert): Do not free NULL.
510
511 2000-05-12  Nick Clifton  <nickc@cygnus.com>
512
513         * config/fr30/fr30.c (fr30_move_double): New function:  Emit code
514         to move a double word value.
515         (di_operand): New function: Return true if the operand is suitbale
516         for a double word move operation.
517         (nonimmediate_di_operand): New function: Return true if the
518         operand is a DImode register or MEM.
519
520         * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
521         nonimmediate_di_operand.
522
523         * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
524         nonimmediate_di_operand.
525
526         * config/fr30/fr30.md (movdi): New pattern.  Required because
527         other patterns generate DImode results.
528         (movdi_insn): New pattern.
529
530 2000-05-12  Richard Henderson  <rth@cygnus.com>
531
532         * config/alpha/alpha.c (struct shadow_summary): Define
533         bitfields as type unsigned int.
534
535 Sat May 13 00:09:59 2000  Denis Chertykov  <denisc@overta.ru>
536
537         * config/avr/t-avr: Added definition of FLOAT while generates
538         fp-bit.c
539
540         * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
541         peepholes for tst+jump = sbrs/sbrc optimization.
542
543 Fry May 12 20:03:00 CEST 2000  Jan Hubicka  <jh@suse.cz>
544
545         * expr.c (emit_push_insn): Do not adjust stack pointer when
546         preallocating.
547
548 Fri May 12 19:03:58 2000  Philippe De Muyter  <phdm@macqel.be>
549
550         * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
551         * system.h (offsetof): ... to here.
552
553 2000-05-12  Richard Henderson  <rth@cygnus.com>
554
555         * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
556         * final.c (final_end_function): Use app_disable.  Rearrange note
557         handling into a switch.  Emit deleted labels.
558         (output_asm_label): Generate label strings for deleted labels.
559         * flow.c (tail_recursion_label_list): New.
560         (find_basic_blocks_1): Set label_value_list directly.  Collect list
561         of tail recursion labels from call_placeholders.  Don't add deleted
562         labels to the label value list.
563         (cleanup_cfg): Use free_EXPR_LIST_list.
564         (flow_delete_insn_chain): Turn non-removable labels into notes.
565         (flow_delete_block): Don't disable deleting the block because of
566         a non-removable label.
567         (tail_recursion_label_p): New.
568         (merge_blocks_move_predecessor_nojumps): Don't disable the merge
569         because of a label.
570         (merge_blocks_move_successor_nojumps): Likewise.  Also move a
571         jump table.
572         (merge_blocks): Disable a merge because of tail recursion labels.
573         * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
574         Use a more accurate measure of not merging the join block.
575         (find_if_block): Don't disable conversion because of a label.
576         (find_if_case_1, find_if_case_2): Likewise.
577         * jump.c (duplicate_loop_exit_test): Preserve the kind of list
578         element when copying.
579         (squeeze_notes): Also leave EH notes.
580         (mark_jump_label): Ignore deleted labels.  Use an INSN_LIST for
581         REG_LABEL notes.
582         (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
583         deleting a label.
584         * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
585         NOTE_INSN_DELETED_LABEL.  Print `[# deleted]' for a label_ref
586         referring to a deleted label.  Convert tail handling to a switch.
587         * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
588         for NOTE_INSN_DELETED_LABEL.
589         (NOTE): Fix commentary.
590         * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
591         (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
592         (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
593         (LABEL_NUSES, LABEL_REFS): Likewise.
594         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
595
596 2000-05-12  Bruce Korb  <bkorb@gnu.org>
597
598         * fixinc/fixfixes.c(format_write): buglet & relaxed rules
599         * fixinc/check.diff: updated
600         * fixinc/inclhack.def: corrected & added some test_text-s
601         * fixinc/genfixes: removed unneeded options to autogen invocation
602         * fixinc/fixincl.tpl: Specified the output file
603         * fixinc/fixfixes.c: visual appearance
604         * fixinc/fixincl.x: regenerate
605
606 2000-05-12  Zack Weinberg <zack@wolery.cumb.org>
607
608         * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
609         CTRL_defn_fix): Delete.
610         (fix_char_macro_defines, fix_char_macro_uses): Rename to
611         char_macro_def_fix and char_macro_use_fix, respectively.  Put
612         them into the FIXUP_TABLE.  Get the string to search for from
613         a c_fix_arg.
614
615         (format_write): New function.
616         (format_fix): Use it.
617
618         (FIX_PROC_HEAD): Constify text parameter.
619         (machine_name_fix): Constify all char *s.
620         * fixtests.c (skip_quote): Remove double static.
621
622         * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
623         ctrl_use_quotes): Update for new scheme.
624         * fixincl.x: Regenerate.
625
626 2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
627
628         * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
629         DWARF2_DEBUG.
630         (DWARF2_ASM_LINE_DEBUG_INFO): Define.
631         (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
632
633 2000-05-11  Robert Lipe <robertlipe@usa.net>
634
635         * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
636         * fixincl.x: Regenerate.
637
638 2000-05-11  Richard Henderson  <rth@cygnus.com>
639
640         * calls.c: Revert both 05-09 patches.
641
642 2000-05-11  Alexandre Oliva  <aoliva@cygnus.com>
643
644         * config/mn10300/mn10300.c (print_operand): Print FP constants in
645         hexadecimal.
646         * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
647         for FP values.
648
649         * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
650         and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
651
652 2000-05-11  Jason Merrill  <jason@casey.cygnus.com>
653
654         * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
655
656 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
657
658         * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
659
660 Thu May 11 22:28:05 2000  Denis Chertykov  <denisc@overta.ru>
661
662         * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
663         * config/avr/avr.c (jump_over_one_insn_p): New function.
664         * config/avr/avr.md: New peepholes added. Output test and
665         conditional jump to "sbrc" or "sbrs" command.
666
667 2000-05-11  Mark Elbrecht  <snowball3@bigfoot.com>
668
669         * cppmain.c (main): Use IS_DIR_SEPARATOR.
670
671 2000-05-11  Jakub Jelinek  <jakub@redhat.com>
672
673         * except.c (find_exception_handler_labels_1): New function.
674         (find_exception_handler_labels): Split into two functions, dive
675         into CALL_PLACEHOLDERs when looking for exception handler labels.
676
677 2000-05-11 Stan Cox <scox@cygnus.com>
678
679         * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
680         * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
681         * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
682
683 2000-05-11  Bruce Korb  <bkorb@gnu.org>
684
685         * fixinc/fixfixes.c (double_slash_fix):  obsolete
686         (else_endif_label_fix): obsolete
687         (format_fix):  new, unused as yet
688         (main): obsolete
689         * fixinc/fixlib.h: added fix description struct for use by format_fix
690         * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
691         * fixinc/Makefile.in:  compile fixfixes.c and fixtests.c as separate
692         modules.  Removed the vestiges of the script version.
693         Added support for "make check".
694         * fixinc/check.diff: base diff file (needs work!!)
695         * fixinc/check.tpl: quiet the fixup output
696         * fixinc/fixtests.c (main): obsolete
697         * fixinc/fixincl.sh:  don't bother copying fixincl to ..
698         * fixinc/fixincl.tpl:  provide for arguments to c_fix routines
699
700 Thu May 11 11:57:02 MET DST 2000  Jan Hubicka <jh@suse.cz>
701
702         * toplev.c (rest_of_compilation): Remove dead code after
703         combine.
704
705 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
706
707         * cpphash.c (collect_funlike_expansion): Make "# is not
708         followed by a macro argument name" a pedwarn, not an error.
709         Preserve the # in the output.  Suppress the warning if lang_asm.
710
711 Thu May 11 01:19:31 2000  Jeffrey A Law  (law@cygnus.com)
712
713         * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
714         * configure: Rebuilt.
715
716 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
717
718         * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
719
720 2000-05-10  Kazu Hirata  <kazu@hxi.com>
721
722         * combine.c (try_combine): Fix a typo.
723
724 Wed May 10 21:31:44 2000  Jim Wilson  <wilson@cygnus.com>
725
726         * config/ia64/ia64.md (insv): Add comment.
727
728 2000-05-10  Richard Henderson  <rth@cygnus.com>
729
730         * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
731         * mklibgcc.in: Rewrite to not use functions.  Don't shortcut
732         dependancies on FPBIT and DPBIT.
733
734 2000-05-10  Nick Clifton  <nickc@redhat.com>
735
736         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
737         when optimising for size.
738         (mark_used_regs:) Ditto.
739         (try_pre_increment_1): Ditto.
740
741 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
742
743         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
744         Make error message friendlier.
745
746         * cpphash.h (struct hashnode): Use struct hack for name
747         member.
748         * cpphash.c (struct hashdummy): New.
749         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
750         (make_HASHNODE): No need to set ->name pointer.  Correct
751         setting of p.
752         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
753
754 2000-05-10  Richard Henderson  <rth@cygnus.com>
755
756         * flow.c (find_basic_blocks_1): Remove any spare bb_note
757         after completion.
758
759 2000-05-10  Bruce Korb  <bkorb@gnu.org>
760
761         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
762
763 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
764
765         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
766         after we enter .debug.
767
768 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
769
770         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
771         abstract instance of a nested inline function.
772
773         * stor-layout.c (finish_record_layout): finalize_type_size
774         before laying out the pending_statics.
775
776 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
777
778         * cpplex.c (spell_token): New function.
779         (spell_string, spell_comment, spell_name): fold into
780         spell_token.    
781         (I, S): Add macros.
782         (E, H): Remove macros.
783         (save_comment): Save comment opening characters too.
784         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
785         handling.
786         * cpplib.h (I, S): Add macros.
787         (E, H): Remove macros.
788         (TTYPE_TABLE): Update entries for new speller.
789         (SYNTAX_ASSERT): Remove.
790
791 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
792
793         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
794         when removing escaped newlines.  Reverse sense of test for
795         escaped newline.
796
797 2000-05-09  Richard Henderson  <rth@cygnus.com>
798
799         * flow.c (find_basic_blocks_1): Do not delete the first
800         bb_note we run across.
801         (create_basic_block): Use reorder_insns to move an existing
802         bb_note to the correct place.
803
804 2000-05-09  Richard Henderson  <rth@cygnus.com>
805
806         * calls.c (expand_call): Increment currently_expanding_call
807         before calling optimize_tail_recursion.
808
809 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
810
811         * reload1.c (reload_combine): Fix errors in last change.
812
813 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
814
815         * gcc.c (used_arg): Skip over a semicolon at the end of the
816         split-up loop; don't break out of it.
817
818         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
819         (tree.o): Depend on output.h.
820
821         * c-decl.c (pending_invalid_xref_file,
822         current_function_prototype_file): Constify.
823         (pushdecl): Constify a local char *.
824         (define_label): Constify filename parameter.
825         * c-lex.c (init_parse): Constify parameter and return value.
826         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
827         * c-tree.h: Update prototypes.
828         * c-parse.in: Constify filename member of %union, and if_stmt_file.
829         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
830         objc/objc-parse.c: Regenerate.
831
832         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
833         * dwarfout.h: Update prototypes.
834         * expr.c (expand_expr): Constify a local char *.
835         * flags.h: Constify main_input_filename.
836         * function.c (expand_function_end): Constify filename parameter.
837         * genrecog.c (make_insn_sequence): Use a character array for
838         c_test_pos.
839         (main): Remove unused variables.
840         * input.h: Constify input_filename, main_input_filename, and
841         file_stack.name.  Update prototypes.
842         * output.h: Declare first_global_object_name and
843         weak_global_object_name here, as const char *.
844         * stmt.c (expand_asm_operands): Constify filename parameter.
845         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
846         Constify filename parameter.
847         (input_filename, main_input_filename): Constify.
848         * toplev.h: Update prototypes.
849         * tree.c: Include output.h.  Don't declare
850         first_global_object_name or weak_global_object_name.  Clean up string
851         bashing in get_file_function_name_long.
852         * tree.h (struct tree_decl): Constify filename member.
853         (input_filename): Constify.
854         Update prototypes.
855         * varasm.c (first_global_object_name, weak_global_object_name):
856         Constify.
857         (assemble_start_function, assemble_variable): Clean up string bashing.
858
859         * gcc.c: Constify all spec-related strings initialized,
860         transitively, from string constants.  Constify all strings
861         and string variables related to multilibs.
862         (set_spec, read_specs): Cast argument to free to PTR.
863         (used_arg): Do not modify multilib_matches.  Use strncmp plus
864         length comparison to compare multilib switches.
865         * genmultilib: Constify everything declared in multilib.h.
866
867 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
868
869         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
870         as deleted.
871
872 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
873
874         * config/avr/avr-protos.h (extra_constraint): change a type of
875         second argument from char to int to avoid warnings.
876         (asm_output_byte): Likewise.
877         
878         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
879         (initial_elimination_offset): Handle elimination from
880         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
881         (legitimate_address_p): Use MAX_LD_OFFSET.
882         (legitimize_address): Likewise.
883         (out_movqi_r_mr): Likewise.
884         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
885         (out_movsi_r_mr): Use MAX_LD_OFFSET.
886         (out_movsi_mr_r): Likewise.
887         (out_movqi_mr_r): Likewise.
888         (out_movhi_mr_r): Likewise.
889         (notice_update_cc): Correct CC for the ashrqi3 with the shift
890         count as CONST_INT != 6.
891         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
892         shift count is a CONSTANT_P, but not a CONST_INT.
893         (ashlhi3_out): Coding style modifications.
894         (ashlsi3_out): Likewise.
895         (ashrhi3_out): Likewise.
896         (ashrsi3_out): Likewise.
897         (lshrhi3_out): Likewise.
898         (lshrsi3_out): Likewise.
899         (ashrqi3_out): Generate shift for any known constant count without
900         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
901         but not a CONST_INT.
902         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
903         shift count is a CONSTANT_P, but not a CONST_INT. 
904         (extra_constraint): change a type of
905         second argument from char to int to avoid warnings.
906         (asm_output_byte): Likewise.
907         (asm_file_end): Output size generated commands count as a hex
908         number too.
909
910         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
911
912         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
913         removed.
914         (ashlqi3): Values of "length" attribute changed. Shift count
915         uses constraints 'n' instead of 'i'.
916         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
917         shifts without clobber register.
918         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
919         (call_insn): Correct test for which_alternative == 1 (was 0).
920         (call_value_insn): Likewise.
921         
922         * config/avr/t-avr: Remove definition of FLOAT while generates
923         fp-bit.c
924
925 2000-05-09  Bruce Korb  <bkorb@gnu.org>
926
927         * fixinc/check.tpl:  Template for checking fixes
928         * fixinc/inclhack.def:  Added 'test_text' for many fixes
929         disable hpux8_bogus_inlines on SCO
930         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
931
932 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
933
934         * calls.c (expand_call): Reorganize somewhat in order
935         to avoid unnecesary recalculation inside loop and make
936         tail call failure code cleaner.
937         
938 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
939
940         * alias.c (nonlocal_reference_p): Minor reformatting.
941         * reload.c (find_equiv_reg): Simplify logic for
942         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
943         some some reformatting.
944         * reload1.c (reload_combine): Don't assume everything in
945         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
946
947 2000-05-08  Richard Henderson  <rth@cygnus.com>
948
949         * final.c (current_insn_predicate): New.
950         (final_scan_insn): Set it.
951         * output.h (current_insn_predicate): Declare.
952
953         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
954         Attach it to call insns.
955         (cond_exec_process_if_block): Track probability for true and
956         false branches.
957         (dead_or_predicable): Likewise.
958
959         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
960         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
961         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
962         (estimate_probability, expected_value_to_br_prob): Use them.
963
964         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
965         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
966         (ia64_expand_prediction): New.
967         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
968         as needed after calls.
969         (ia64_epilogue_uses): Mark b0 used.
970         * config/ia64/ia64.md (beq_true, beq_false): Remove.
971         (bne_true, bne_false): Remove.
972         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
973         (br_true, br_false): New.  Use predicate_operator and
974         ia64_expand_prediction.
975         (return_true, return_false): Likewise.
976         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
977         (call_internal1, call_value_internal): Likewise.
978         (call_value_internal1, call_multiple_values_internal1): Likewise.
979
980         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
981
982         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
983
984 2000-05-08  Richard Henderson  <rth@cygnus.com>
985
986         * rtlanal.c (may_trap_p): Consider old-style and volatile
987         asms to trap.
988
989 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
990
991         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
992
993 2000-05-08  Richard Henderson  <rth@cygnus.com>
994
995         * config/ia64/ia64.h (predicate_operator): Declare.
996
997         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
998         of existance.
999
1000         * gensupport.c (process_rtx): Copy and post-process each member
1001         of the define_insn rtvec individually.
1002
1003 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
1004
1005         * cpplex.c (spell_token): New function.
1006         (TOKEN_LEN): Add 1 for whitespace.
1007         (_cpp_lex_file): Update to use spell_token.
1008         * cpplib.h (E): Remove.
1009         (TTYPE_TABLE): Update CPP_VSPACE entry.
1010
1011 2000-05-08  Richard Henderson  <rth@cygnus.com>
1012
1013         * flow.c (init_propagate_block_info): Watch out for conditional
1014         branch to next instruction, and thus one outgoing edge.
1015
1016         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
1017         for global register variables; don't special case __[CD]TOR_LIST__;
1018         mind ggc_p for string allocation.
1019
1020 2000-05-08  Nick Clifton  <nickc@cygnus.com>
1021
1022         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
1023
1024 2000-05-08  Bruce Korb  <bkorb@gnu.org>
1025
1026         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
1027         i?86-*-msdosdjgpp* no longer uses fixincludes
1028         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
1029         * fixinc/inclhack.sh:  deleted
1030         * fixinc/hackshell.tpl:  deleted
1031         * fixinc/inclhack.tpl:  deleted
1032         * fixinc/Makefile.in:  Remove dependencies on above
1033         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
1034
1035 2000-05-08  Andreas Jaeger  <aj@suse.de>
1036
1037         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
1038         support.
1039
1040 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
1041
1042         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
1043         substitutions.
1044
1045 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
1046
1047         * cpplex.c: Move new lexer definitions and prototypes
1048         to top.  Conditional include these and the code if
1049         NEW_LEXER is defined.  Rename functions whose names
1050         clash if this code included.
1051
1052 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
1053
1054         * rtl.def (COND_EXEC): Clarify.
1055
1056         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
1057         same fashion as zero_extendsidi2.
1058
1059 2000-05-06  Richard Henderson  <rth@cygnus.com>
1060
1061         * config/ia64/ia64.c (predicate_operator): New.
1062         (ia64_print_operand): Handle 'J'.
1063         (rtx_needs_barrier): Handle COND_EXEC.
1064         * config/ia64/ia64.h (BRANCH_COST): Define.
1065         (PREDICATE_CODES): Update.
1066         * config/ia64/ia64.md: Docuement used unspec values.
1067         (attr predicable): New.
1068         (movxf, movxf_internal): New.
1069         (extendsfdf2): Don't comment out nop.
1070         (floatdidf2): Remove.
1071         (truncxfsf2, truncxfdf2, floatdixf2): New.
1072         (abssi2, absdi2): Put the neg in the "true" slot.
1073         (conditional branch instructions): Mark not predicable.
1074         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
1075         (abs*_internal): Likewise.
1076         (alloc, set_bsp): Mark not predicable.
1077         (barrier, insn_group_barrier, flush_cache): Likewise.
1078         (define_cond_exec): New.
1079
1080 2000-05-06  Richard Henderson  <rth@cygnus.com>
1081
1082         * c-decl.c: Include "tm_p.h".
1083
1084         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
1085         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
1086         (ia64_expand_op_and_fetch): Declare.
1087         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
1088         (setjmp_operand): Constify variables for XSTR.
1089         (ia64_encode_section_info): Likewise.
1090         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
1091         values to int.
1092         (ia64_asm_output_external): Constify name.
1093         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
1094         (process_for_unwind_directive): Provide switch default.
1095         (ia64_expand_compare_and_swap): Remove unused variables.
1096         (ia64_expand_builtin): Likewise.
1097         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
1098         for printing.
1099
1100         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
1101         (symbolic_operand, function_operand, setjmp_operand): Likewise.
1102         (shift_count_operand, shift_32bit_count_operand): Likewise.
1103         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
1104         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
1105         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
1106         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
1107         (ia64_expand_builtin): Likewise.
1108         (call_multiple_values_operation): Make dest_regno unsigned.
1109
1110 2000-05-06  Richard Henderson  <rth@cygnus.com>
1111
1112         * rtl.def (DEFINE_COND_EXEC): New.
1113         * md.texi: Document it.
1114
1115         * gensupport.c (input_file): Remove.
1116         (struct queue_elem): Add lineno.
1117         (rtx_ready_queue): Remove.
1118         (errors): New.
1119         (predicable_default): New.
1120         (predicable_true, predicable_false): New.
1121         (define_attr_queue, define_attr_tail): New.
1122         (define_insn_queue, define_insn_tail): New.
1123         (define_cond_exec_queue, define_cond_exec_tail): New.
1124         (other_queue, other_tail): New.
1125         (queue_pattern): New.
1126         (process_rtx): Add patterns to the appropriate queues.
1127         (is_predicable, identify_predicable_attribute): New.
1128         (n_alternatives, collect_insn_data): New.
1129         (alter_predicate_for_insn, alter_test_for_insn): New.
1130         (shift_output_template, alter_output_for_insn): New.
1131         (process_one_cond_exec, process_define_cond_exec): New.
1132         (init_md_reader): Read the entire file.  Process define_cond_exec.
1133         (read_md_rtx): Return elements from the queues.
1134
1135 2000-05-06  Richard Henderson  <rth@cygnus.com>
1136
1137         * flow.c (mark_set_1): Don't update conditional life info
1138         if the register is not_dead.
1139
1140 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
1141
1142         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
1143         (mostlyclean): Also delete fixincl, fixinc.sh, and
1144         specs.ready, and make clean in the fixinc subdir.
1145
1146 2000-05-06  Richard Henderson  <rth@cygnus.com>
1147
1148         * Makefile.in (gensupport.o): Compile for the host.
1149         (host-prefix gensuuprt.o): Remove.
1150         (genflags.o): Depend on gensupport.h and OBSTACK_H.
1151         (genattrtab.o): Likewise.
1152         (gencodes.o): Depend on gensupport.h.
1153         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
1154         (genpeep.o, genattr.o, genoutput.o): Likewise.
1155
1156         * gensupport.c (obstack, rtl_obstack): New.
1157         (init_md_reader): Initialize rtl_obstack.
1158         * gensupport.h (rtl_obstack): Declare.
1159         (message_with_line): Declare.
1160
1161         * genattr.c: Remove all traces of obstack manipulation.
1162         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
1163         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
1164
1165         * genattrtab.c (obstack, rtl_obstack): Remove.
1166         (main): Don't init rtl_obstack.
1167         * genflags.c: Likewise.
1168
1169         * genrecog.c (message_with_line): Move ...
1170         * gensupport.c: ... here.
1171
1172 2000-05-06  Richard Henderson  <rth@cygnus.com>
1173
1174         * c-typeck.c (build_c_cast): Remove dead code.
1175
1176 2000-05-06  Richard Henderson  <rth@cygnus.com>
1177
1178         * flow.c (split_edge): Don't allocate global_live_at_start for
1179         the new block unless the old blocks had them as well.
1180
1181         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
1182
1183         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
1184         test_bb if a or b uses x.
1185
1186 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
1187
1188         * cpphash.h: Remove conditional #define of __extension__.
1189         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
1190         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
1191         (ENABLE_RTL_CHECKING only).
1192         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
1193         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
1194         (ENABLE_TREE_CHECKING only).
1195         * varray.h: Add __extension__ to VARRAY_CHECK macro
1196         (ENABLE_CHECKING only).
1197
1198 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
1199
1200         Use new tail-calling mechanism on ARM.
1201         * arm.md (sibcall, sibcall_value): New expands.
1202         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
1203         (tailcalling peepholes): Delete.
1204         (push_multi): Simplify.
1205         * arm.c (lr_save_eliminated): Delete definition.
1206         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
1207         (output_return_instruction): Remove checks on lr_save_eliminated.
1208         (output_arm_prologue): Remove old tail-calling code.
1209         (arm_output_epilogue): New parameter, really_return.  All callers
1210         changed.  Handle tail-calling epilogues.
1211         * arm.h (lr_save_eliminated): Delete declaration.
1212         (frame_pointer_needed): Delete declaration.
1213         * arm-protos.h (arm_output_epilogue): Adjust prototype.
1214
1215         * arm.md (is_thumb): Examine symbol thumb_code, not expression
1216         TARGET_ARM.
1217         * arm.c (thumb_code): Define it.
1218         (arm_override_options): Set it.
1219         * arm.h (thumb_code): Declare it.
1220         
1221 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
1222
1223         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
1224
1225 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
1226
1227         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
1228         bogus clobber to insns.
1229         (load_multiple_operation, store_mulitple_operation): Don't check 
1230         for it.
1231         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
1232
1233         * arm.md (and_scc, ior_scc): Add missing mode.
1234
1235         * arm.md (call_value_symbol): Remove predicate from op2.
1236
1237         * arm.h (SPECIAL_MODE_PREDICATES): Define.
1238         
1239 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1240
1241         * expr.c (get_subtarget): New function.
1242         (force_operand, expand_expr, do_store_flag): Use it.
1243
1244         * toplev.c (compile_file): Don't take strlen of NAME if null.
1245
1246 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
1247
1248         * xcoffout.c (xcoff_current_include_file,
1249         xcoff_current_function_file, xcoff_lastfile): Constify char *.
1250         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
1251         char *'.
1252         (xcoffout_declare_function): Make name 'const char *'.
1253         (xcoffout_end_epilogue): Make fname 'const char *'
1254         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
1255         xcoffout_declare_function, xcoffout_source_line): Match above.
1256
1257         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
1258         -maix64 is error.
1259         * rs6000.c (print_operand): Fix lossage typo.
1260         (output_cbranch): Remove "cr" decoration for now.
1261         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'. 
1262
1263 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
1264
1265         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
1266         constant count.
1267
1268 2000-05-05  Bruce Korb  <bkorb@gnu.org>
1269
1270         * fixinc/genfixes: Improve the matching for make target names
1271
1272 2000-05-05  Catherine Moore  <clm@cygnus.com>
1273
1274         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
1275         attribute to the decl.
1276         * c-decl.c (pushdecl): Propagate the USED attribute to the 
1277         type copy.
1278
1279 2000-05-05  Richard Henderson  <rth@cygnus.com>
1280
1281         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
1282         same way emit_group_load does.
1283
1284 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
1285
1286         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
1287
1288         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
1289         (main): Likewise.
1290
1291 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
1292
1293         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
1294
1295 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
1296
1297         * config/openbsd.h (LINK_SPEC): pass correct flags to ld 
1298         to support -shared, on platforms with dynamic libraries.
1299
1300 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
1301
1302         * system.h (S_ISBLK): Provide fallback definition.
1303
1304 2000-05-05  Geoff Berry  <geoffb@bops.com>
1305
1306         * extend.texi (Extended Asm): Document inability to give asm
1307         statements access to condition codes.
1308
1309 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
1310
1311         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
1312         as arg 2 of UNIQUE_SECTION.
1313
1314 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
1315
1316         * predict.c: Remove May 4 change.
1317         * bb-reorder.c (make_reorder_chain): Do not perform block movement
1318         if we have predicted the branch at 50-50 probability.
1319
1320 2000-05-05  Richard Henderson  <rth@cygnus.com>
1321
1322         * flow.c (init_propagate_block_info): Fix merge error
1323         in HAVE_conditional_execution code.
1324
1325 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
1326
1327         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
1328         shift cycle for unknown shift count. Also generates dec + brpl.
1329         (ashlqi3_out): Don't generate dec + brpl which now generates by
1330         `out_shift_with_cnt'.
1331         (ashlhi3_out): Likewise.
1332         (ashlsi3_out): Likewise.
1333         (ashrqi3_out): Likewise.
1334         (ashrhi3_out): Likewise.
1335         (ashrsi3_out): Likewise.
1336         (lshrqi3_out): Likewise.
1337         (lshrhi3_out): Likewise.
1338         (lshrsi3_out): Likewise.
1339
1340 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
1341
1342         * gcc.c (free_split_directories): Correct typo in explanation
1343         of make_relative_prefix.
1344
1345 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
1346
1347         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
1348         comparison codes to branch_comparison_operator.
1349
1350 2000-05-04  Richard Henderson  <rth@cygnus.com>
1351
1352         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
1353
1354 2000-05-04  Richard Henderson  <rth@cygnus.com>
1355
1356         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
1357         (DPBIT_FUNCS): Remove _sf_to_usi.
1358         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
1359
1360         * ifcvt.c (noce_process_if_block): Fail if A or B modified
1361         between condition and jump.
1362
1363         * libgcc2.c (near eh_context_specific): Comment #endif string.
1364         * longlong.h: Don't use strings with embedded newlines.
1365
1366 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
1367
1368         * config/rs6000/rs6000-protos.h: Add output_cbranch.
1369         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
1370         (print_operand): Delete %t and %T codes.
1371         (output_cbranch): New function.  Support branch prediction.
1372         * config/rs6000/rs6000.md: Use output_cbranch for
1373         conditional branches and returns.
1374
1375 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
1376
1377         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
1378         * stor-layout.c (place_field): Likewise.
1379         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
1380         * expr.c (store_expr): Make align unsigned.
1381         * explow.c (plus_constant_wide): Make low words unsigned.
1382         * expmed.c (choose_multiplier): Likewise.
1383         * fold-const.c (fold):  Likewise.
1384         * tree.h (build_int_2): Likewise.
1385         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
1386         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
1387         (init_emit): Change cast to unsigned char*.
1388         * varasm.c (compare_constant_1): Add cast to char*.
1389         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
1390         * reload1.c (reload): Likewise.
1391
1392         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
1393
1394 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
1395
1396         * predict.c (estimate_probability): If no prediction was found, then
1397         predict the successor that is the next physical block (if such a
1398         successor exists).
1399
1400 2000-05-04  Richard Henderson  <rth@cygnus.com>
1401
1402         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
1403
1404 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1405
1406         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
1407
1408 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
1409
1410         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move 
1411         attribute macros from here ...
1412         (CPP_SPEC): to here.
1413         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
1414         (CPP_SPEC): Likewise.
1415         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros. 
1416
1417         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
1418         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
1419
1420 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1421
1422         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
1423         
1424         * diagnostic (vbuild_message_string, build_message_string,
1425         build_location_prefix, output_get_prefix, init_output_buffer,
1426         output_notice, vline_wrapper_message_with_location,
1427         v_message_with_decl, default_print_error_function): De-constify.
1428         (set_real_maximum_length): Prototype.
1429
1430         * diagnostic.h (struct output_buffer, init_output_buffer,
1431         output_get_prefix, output_set_prefix): De-constify.
1432
1433         * function.c (init_function_start): Constify.
1434
1435         * gensupport.c (remove_constraints, process_rtx): Prototype.
1436
1437         * gthr-posix.h: Indent uses of #pragma.
1438
1439         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
1440         Prototype.
1441
1442         * predict.c (find_expected_value): Delete prototype.
1443         (expected_value_to_br_prob): Initialize variable `ev_reg'.
1444
1445         * sbitmap.h (debug_sbitmap): Prototype.
1446
1447         * ssa.c (compute_coalesced_reg_partition): Prototype.
1448
1449         * stor-layout.c (debug_rli): Prototype.
1450
1451         * tree.h (round_down): Prototype.
1452         (init_function_start): Constify.
1453
1454 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
1455
1456         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
1457         (overly conservative).  Change extern inline wrappers to
1458         static inline, define them always, use PARAMS properly.
1459         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
1460         whitespace warnings for \f and \v at the beginning of a line.
1461
1462 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
1463
1464         * haifa-sched.c (schedule_insns): Free the flow edge list when it
1465         is no longer needed
1466
1467 2000-05-04  Bruce Korb  <bkorb@gnu.org>
1468
1469         * fixincl/inclhack.def: added broken_cabs -
1470         Remove `extern double cabs' declarations from math.h
1471         * fixincl/inclhack.sh: regen
1472         * fixincl/fixincl.x: regen
1473         * fixincl/fixincl.c: Remove BOGOSITY code
1474         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
1475
1476 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1477
1478         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
1479         MEM_ALIAS_SET.
1480         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
1481         when calling MEM_COPY_ATTRIBUTES.
1482         * emit-rtl.c (operand_subword, change_address): Likewise.
1483         * explow.c (stabilize): Likewise.
1484         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
1485         * integrate.c (copy_rtx_and_substitute): Likewise.
1486         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
1487         when calling MEM_COPY_ATTRIBUTES.
1488         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
1489         Likewise.
1490         * cse.c (gen_lowpart_if_possible): Likewise.
1491         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
1492         * optabs.c (gen_move_insn): Likewise.
1493         * recog.c (validate_replace_rtx_1): Likewise.
1494         * simplify-rtx.c (add_mem_for_addr): Likewise.
1495         * stmt.c (expand_anon_union_decl): Likewise.
1496         * config/arm/arm.md: Likewise.
1497         * config/h8300/h7300.c (fix_bit_operand): Likewise.
1498         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
1499         (block_move_no_loop, block_move_sequence): Likewise.
1500         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
1501         * config/alpha/alpha.c (get_aligned_mem): Likewise.
1502         Clear MEM_ALIAS_SET.
1503         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
1504         MEM_COPY_ATTRIBUTES.
1505
1506 2000-05-03  Robert Lipe <robertlipe@usa.net>
1507         
1508         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
1509         to suppress libgcc1.
1510         (i[34567]86-*-sco3.2v5*) Likewise.
1511         (i[34567]86-*-sco3.2v4*) Likewise.
1512         (i[34567]86-*-sco) Likewise.
1513         (i[34567]86-*-solaris2) Likewise.
1514         (i[34567]86-*-sysv5*) Likewise.
1515         (i[34567]86-*-sysv4*) Likewise.
1516         (i[34567]86-*-udk*) Likewise.
1517         (i[34567]86-*-sysv*) Likewise.
1518
1519 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
1520
1521         * cpphash.h (U): New define, to correct type of string constants.
1522         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
1523         routines, to do casts when passing unsigned strings to libc.
1524         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
1525
1526         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
1527         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
1528         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
1529         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
1530         second argument an U_CHAR *.
1531
1532         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
1533         length field, clean up initializer.
1534         (ISTABLE): Add __extension__ to designated-
1535         initializers version.
1536         * cpplex.c (CHARTAB): Likewise.
1537
1538         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
1539         case so the file won't be empty.
1540
1541 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
1542
1543         * bb-reorder.c (struct reorder_block_def): Member succ removed.
1544         (REORDER_BLOCK_SUCC): Removed.
1545         (enum reorder_skip_type): Removed.
1546         (skip_insns_between_block): Renamed to skip_insns_after_block.
1547         Removed second argument. Removed dead code and cleaned up.
1548         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
1549         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
1550         second parameter to skip_insns_after_block.
1551
1552 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1553
1554         * tree.c (staticp, case LABEL_DECL): New case.
1555
1556 2000-05-03  Richard Henderson  <rth@cygnus.com>
1557
1558         * Makefile.in (start.encap): Do not depend on LIBGCC1.
1559
1560         * mklibgcc1.in: Fix typo last change.
1561
1562 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1563
1564         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
1565         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
1566         (GCC_CFLAGS): Use it.
1567         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
1568         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
1569         objc/Make-lang.in: Use it.
1570
1571 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
1572
1573         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
1574
1575 2000-05-03  Richard Henderson  <rth@cygnus.com>
1576
1577         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
1578         LIBGCC1 empty with libgcc1.null.
1579
1580 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
1581
1582         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
1583         change.
1584
1585 2000-05-03  Greg McGary  <gkm@gnu.org>
1586
1587         * tree.h (tree_common): Add bounded_flag member.  Remove
1588         inaccurate comment about number of remaining bits.
1589         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
1590         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
1591         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
1592         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
1593         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
1594         (TYPE_QUAL_BOUNDED): New constant.
1595         (TYPE_QUALS): Handle bounded qualifier.
1596         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
1597         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
1598         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
1599         TYPE_AMBIENT_BOUNDEDNESS): New macros.
1600         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
1601         (tree_type): Add pointer_depth member.  Remove
1602         inaccurate comment about number of remaining bits.
1603         (DECL_POINTER_DEPTH): Add macro.
1604         (tree_decl): Add pointer_depth member.
1605
1606 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
1607
1608         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
1609         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
1610         (lshrhi3_out): Likewise.
1611         (ashrsi3_out): bugfix in shift by 8.
1612         (test_hard_reg_class): New function.
1613         * config/avr/avr.md: Bugfix inside conditions in peepholes.
1614         (ashlhi3): removed define_expand of this pattern.
1615         (*ashlhi3_insn): renamed to ashlhi3.
1616         (ashlsi3): removed define_expand of this pattern.
1617         (*ashlsi3_insn): renamed to ashlsi3.
1618         (ashrqi3): removed define_expand of this pattern.
1619         (*ashrqi3_insn): renamed to ashrqi3.
1620         (ashrhi3): removed define_expand of this pattern.
1621         (*ashrhi3_insn): renamed to ashrhi3.
1622         (ashrsi3): removed define_expand of this pattern.
1623         (*ashrsi3_insn): renamed to ashrsi3.
1624         (lshrhi3): removed define_expand of this pattern.
1625         (*lshrhi3_insn): renamed to lshrhi3.
1626         (lshrsi3): removed define_expand of this pattern.
1627         (*lshrsi3_insn): renamed to lshrsi3.
1628
1629 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
1630
1631         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
1632         inclusion of "system.h".
1633
1634 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
1635
1636         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
1637         TREE_ASM_WRITTEN.
1638
1639 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
1640
1641         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
1642         if -mauto-pic is on.
1643         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
1644         -mconstant-gp is in effect and function-descriptors are being used
1645         to make indirect calls.
1646         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
1647         (MASK_AUTO_PIC): Ditto.
1648         (TARGET_CONST_GP): Ditto.
1649         (TARGET_AUTO_PIC): Ditto.
1650         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
1651         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
1652         -mno-pic is in effect.
1653         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
1654         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
1655         -mauto-pic is in effect.
1656         (gprel64_offset): New pattern.
1657         (load_gprel64): Ditto.
1658         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
1659         -mconstant-gp is in effect, no need to preserve gp around direct
1660         calls.
1661         (call_value): Ditto.
1662         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
1663         (FUNCTION_PROFILER): Define.
1664         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
1665         @fptr() directive when -mno-pic or -mauto-pic is in effect.
1666         (ASM_OUTPUT_DESTRUCTOR): Ditto.
1667
1668 2000-05-03  Richard Henderson  <rth@cygnus.com>
1669
1670         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
1671         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
1672         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
1673         (mklibgcc, libgcc.mk): New targets.
1674         (libgcc.a): Use libgcc.mk.
1675         (stmp-multilib): Likewise.
1676         (stmp-multilib-sub): Remove.
1677         (mostlyclean): Don't delete libgcc2 temp files.
1678         * configure.in (AC_PROG_CC_C_O): Add.
1679         (NO_MINUS_C_MINUS_O): Substitute it.
1680         (all_outputs): Add mklibgcc.
1681         * mklibgcc.in: New file.
1682
1683 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
1684
1685         * cppexp.c (op_t): Make an int.
1686
1687         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
1688
1689         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
1690
1691         * gensupport.c (process_rtx): Fix macros used.
1692
1693 2000-05-03  Richard Henderson  <rth@cygnus.com>
1694
1695         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
1696         call-clobbered registers of a call.
1697
1698 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
1699
1700         * gensupport.c: New file.
1701         * gensupport.h: New file.
1702         * Makefile.in (HOST_RTL): Depend on gensupport.
1703         (gensupport.o) New rule.
1704         * genattr.c: Use gensupport for reading .md files.
1705         * genattrtab.c: Ditto. 
1706         * gencodes.c: Ditto. 
1707         * genconfig.c: Ditto. 
1708         * genemit.c: Ditto. 
1709         * genextract.c: Ditto. 
1710         * genflags.c: Ditto. 
1711         * genopinit.c: Ditto. 
1712         * genoutput.c: Ditto. 
1713         * genpeep.c: Ditto. 
1714         * genrecog.c: Ditto.
1715         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
1716         * md.texi (Insn Splitting): Document define_insn_and_split.
1717
1718 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
1719
1720         * flow.c (verify_flow_info): Added two more sanity checks. The
1721         first checks that the blocks are numbered consecutively. The second
1722         checks that n_basic_blocks is actually equal to the number of
1723         basic blocks in the insn chain.
1724
1725 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
1726
1727         * cpplib.h: Add accessor macros for token lists.
1728         * cpplib.c, cpphash.c, cpplex.c: Use them.
1729
1730 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1731
1732         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
1733         memory usage if not in a function.
1734         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
1735         return address if static.
1736
1737 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1738
1739         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
1740         whether address may trap.
1741
1742 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
1743
1744         * bb-reorder (chain_reorder_blocks): Changed code to test for
1745         EDGE_FALLTHRU rather than making erroneous assumption that the
1746         first outgoing edge is the fall-through edge.
1747
1748 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
1749
1750         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new 
1751         ABI for varargs, across all MIPS. This is incompatible because the
1752         va_list (__builtin_va_list) structure is different, so a compilation
1753         unit passing a va_list and a compilation unit being passed one, should
1754         both be compiled with the same ABI. (The old structure had two 
1755         pointers, now it has three.)
1756
1757 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
1758
1759         * bb-reorder.c (struct reorder_block_def): Remove members end,
1760         block_begin, and block_end.
1761         (REORDER_BLOCK_OLD_END): Delete.
1762         (REORDER_BLOCK_BEGIN): Delete.
1763         (REORDER_BLOCK_END): Delete.
1764         (chain_reorder_blocks): Remove dead code.
1765
1766 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
1767
1768         * bb-reorder.c (remove_scope_notes): Check for both types of scope
1769         notes as the end of a basic block before deleting.
1770
1771 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
1772
1773         * final.c (final_start_function): Fix spelling of "necessary".
1774
1775 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
1776
1777         * toplev.c (debug_ignore_block): Return int.
1778         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
1779         * toplev.h, dwarf2out.h: Adjust.
1780         * emit-rtl.c (remove_unnecessary_notes): Test return value.
1781
1782         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
1783         * toplev.c, final.c, rtl.h: Adjust.
1784
1785 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1786
1787         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
1788         * configure.in: Look for makeinfo in the unified tree, then
1789         for a system makeinfo which is sufficiently new.
1790         * Makefile.in: If configure says makeinfo is too old, don't
1791         build or install Info documentation.
1792
1793 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1794
1795         * cpphash.c (collect_params): Fix off-by-one error.
1796         (dump_hash_helper): Dump all four macro nodetypes.
1797
1798 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
1799
1800         * cpphash.c (trad_stringify): Adjust p after stringification as
1801         well.
1802
1803 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
1804
1805         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
1806         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
1807
1808         * cppfiles.c (file_cleanup): Delete.
1809         * cpphash.c (macro_cleanup): Delete.
1810         (collect_objlike_expansion, collect_funlike_expansion,
1811         macarg, scan_arguments): Remove CPP_POP case.
1812
1813         * cpplex.c (null_cleanup): Delete.
1814         (cpp_pop_buffer): Do the work that was done in the cleanups
1815         here.  Call _cpp_unwind_if_stack from here.
1816         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
1817         cpp_scan_buffer): Run until we see CPP_EOF and the top of
1818         stack is the buffer _below_ the one we stacked.
1819         (cpp_get_token): Always pop an exhausted buffer.  Return
1820         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
1821         * cpplib.c (skip_if_group): Don't call cpp_get_token to
1822         increment the line number.
1823         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
1824
1825         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
1826         we see CPP_EOF and the top of stack is the buffer _below_ the
1827         one we stacked.
1828         * scan-decls.c: Likewise.
1829
1830 2000-05-02  Andrew Haley  <aph@cygnus.com>
1831
1832         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
1833         where this function is called for the second time on a decl that
1834         has had its section info changed in such a way as to move it out
1835         of small data/bss.  
1836         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
1837
1838 2000-05-01  Richard Henderson  <rth@cygnus.com>
1839
1840         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
1841         the sequence we're moving, not to merge_bb->head.
1842
1843 2000-05-01  Richard Henderson  <rth@cygnus.com>
1844
1845         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
1846         reference to alpha/t-linux.
1847         (alpha*-*-linux-gnu*): Likewise.
1848         * configure: Rebuild.
1849
1850         * calls.c (expand_call): Don't emit reg notes for a sibcall.
1851
1852         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
1853         if not in SSA form.
1854
1855         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
1856
1857 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
1858
1859         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
1860         TREE_THIS_VOLATILE.
1861
1862 2000-05-01  Richard Henderson  <rth@cygnus.com>
1863
1864         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
1865         emit_conditional_move.
1866
1867 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
1868
1869         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
1870         as the dynamic linker.
1871
1872 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
1873
1874         * cppfiles.c (open_include_file): Open file in blocking mode.
1875         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
1876         Only exclude block devices and directories.
1877
1878         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
1879         static.  Allocate the hashnode and its string in the same
1880         block of memory.
1881         (del_HASHNODE): Don't free h->name.
1882         (_cpp_lookup): If there is no entry for this string, create
1883         one, of type T_VOID.
1884         (_cpp_lookup_slot): Delete.
1885         * cpphash.h: Update prototypes.
1886
1887         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
1888         not hp == NULL.
1889         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
1890         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
1891         node here, just fill in the value field properly.  "Delete"
1892         entries by setting the value field to T_VOID.  Check for
1893         hp->type == T_VOID, not hp == NULL.
1894
1895         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
1896         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
1897         hashtab.h.
1898
1899 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
1900
1901         * config/mn10300/mn10300.c (print_operand_address): Do not add
1902         zero to SP.
1903
1904         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
1905         adjusted by less than 256 bytes, use ret regardless of having any
1906         callee-saved register to restore.
1907
1908 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
1909
1910         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
1911
1912 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
1913
1914         * config/i386/djgpp.h (INT_ASM_OP): Define.
1915         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
1916         (ASM_WEAKEN_LABEL): Define.
1917         (MASK_BNU210): Define.
1918         (SUBTARGET_SWITCHES): Define.
1919         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
1920         (MAKE_DECL_ONE_ONLY): Define.
1921         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
1922
1923 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
1924
1925         * i386/cygwin.h (INT_ASM_OP): Define.
1926
1927 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
1928
1929         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
1930         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
1931
1932 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
1933
1934         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
1935         __tmp_reg__ and __zero_reg__ initialization.
1936
1937 2000-04-30  Richard Henderson  <rth@cygnus.com>
1938
1939         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
1940
1941         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
1942         referenced bewteen the condition and the jump.  Don't delete
1943         anything but the jump.
1944
1945 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
1946
1947         * bb-reorder.c (scope_def): New struct.
1948         (scope_forest_info): New struct.
1949         (struct reorder_block_def): New member "scope".
1950         (REORDER_BLOCK_SCOPE): New macro.
1951         (relate_bbs_with_scopes): New function and prototype.
1952         (make_new_scope): Likewise.
1953         (build_scope_forest): Likewise.
1954         (remove_scope_notes): Likewise.
1955         (insert_intra_1): Likewise.
1956         (insert_intra_bb_scope_notes): Likewise.
1957         (insert_inter_bb_scope_notes): Likewise.
1958         (rebuild_scope_notes): Likewise.
1959         (free_scope_forest_1): Likewise.
1960         (free_scope_forest): Likewise.
1961         (dump_scope_forest): Likewise.
1962         (dump_scope_forest_1): Likewise.
1963         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
1964         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
1965         block.
1966         (reorder_basic_blocks): Added calls to build_scope_scope_forest
1967         and remove_scope_notes before reordering is done. Added calls to
1968         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
1969         after reordering is done.
1970
1971 2000-40-30  Bruce Korb  <bkorb@gnu.org>
1972
1973         * fixinc/inclhack.def:  Added definitions needed by OSR5,
1974         removed two stale entries (defined away with OLD_CPP).
1975         * fixinc/inclhack.sh: regen
1976         * fixinc/fixincl.x: regen
1977
1978 2000-04-30  Richard Henderson  <rth@cygnus.com>
1979
1980         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
1981         from the last insn in the sequence.
1982
1983 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
1984
1985         * cpplex.c (cpp_idcmp): New function.
1986         * cpplib.h: Prototype it.
1987         * scan_decls.c (scan_decls): Use it to inspect token names.
1988         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
1989         the file being run through the preprocessor.
1990         (check_macro_names): Provide length of token to cpp_defined.
1991
1992         * Makefile.in: Remove stale warning message.
1993
1994         * cppfiles.c (redundant_include_p): Provide length of token to
1995         cpp_defined.
1996         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
1997         values are unsigned int.
1998         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
1999         (_cpp_lookup_slot): Do not calculate the hash, either.
2000         * cpphash.h: Update prototypes.
2001         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
2002         Hashes are unsigned int.  Calculate hash here, pass by value
2003         to _cpp_lookup_slot.
2004
2005 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
2006
2007         * simplify-rtx.c (check_value_useless): Delete function.
2008         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
2009         by hand.
2010         (cselib_invalidate_regno): Likewise.
2011         (cselib_invalidate_mem_1): Likewise.
2012         (references_value_p): Recognize useless values by the fact that they
2013         have no locations.
2014         (discard_useless_values): Likewise.
2015         (cselib_record_set): This may turn a useless value
2016         into a useful one.
2017
2018 2000-04-30  Richard Henderson  <rth@cygnus.com>
2019
2020         * config/d30v: New port.
2021
2022         * configure.in (d30v-*): Set fp format.
2023         * configure: Rebuild.
2024
2025 2000-04-30  Richard Henderson  <rth@cygnus.com>
2026
2027         * ifcvt.c: New file.
2028         * Makefile.in (OBJS): Add it.
2029         (ifcvt.o): New target.
2030         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
2031         and conditional arithmetic.
2032         (find_insert_position): Remove.
2033         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
2034         * toplev.c (DFI_ce, DFI_ce2): New.
2035         (dump_file): Add ce and ce2 dumps.
2036         (rest_of_compilation): Run if_convert a couple o times.  Set
2037         cse_not_expected after cse2.  Don't set no_new_pseudos until
2038         after sched1 or recompute_reg_usage.
2039
2040 2000-04-30  Richard Henderson  <rth@cygnus.com>
2041
2042         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
2043         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
2044
2045 2000-04-30  Richard Henderson  <rth@cygnus.com>
2046
2047         * flow.c (struct reg_cond_life_info): New.
2048         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
2049         (init_propagate_block_info): Initialize them.
2050         (free_propagate_block_info): Destruct them.
2051         (mark_set_1): Consider conditional life before killing a register.
2052         (mark_regno_cond_dead): New.
2053         (free_reg_cond_life_info): New.
2054         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
2055         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
2056         (mark_used_reg): Record conditional life.
2057
2058         * haifa-sched.c (schedule_insns): Disable death counting
2059         sanity check for HAVE_conditional_execution.
2060
2061 2000-04-30  Richard Henderson  <rth@cygnus.com>
2062
2063         * Makefile.in (TIMEVAR_H): New.
2064         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
2065         (timevar.h): Remove rule.
2066
2067 2000-04-29  Richard Henderson  <rth@cygnus.com>
2068
2069         * config/alpha/crtend.asm: Use C comments instead of #.
2070         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
2071
2072         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
2073
2074 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
2075
2076         * cpphash.h (enum node_type: Take out T_MCONST.
2077         (union hashval): Move into struct hashnode.
2078         (struct hashnode): Pack tighter.  Remove file, line, col
2079         members.
2080         * cpphash.c: Constify most of the macro-definition structures.
2081         (struct definition): Replace by struct object_defn
2082         and struct funct_defn.  Put file, line, column information
2083         here.  All users updated to match.
2084         (_cpp_create_definition, _cpp_macroexpand): Remove special
2085         case for #define WORD OTHERWORD.
2086         * cpplib.c (do_undef): Remove T_MCONST case.
2087
2088         * cpphash.h: Move struct reflist, struct definition, and the
2089         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
2090         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
2091         * cpphash.c (_cpp_free_definition): Free data pointed to by
2092         MCONST, XCONST, MACRO, and FMACRO nodes properly.
2093         (_cpp_create_definition, del_HASHNODE): Just call
2094         _cpp_free_definition to clear out a hashnode.
2095         * cpplib.c (do_pragma_poison): Likewise.
2096
2097 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
2098
2099         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
2100         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
2101         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
2102         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
2103         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
2104         REGNO_AM33_P): Redefine in terms of the new macros.
2105         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
2106         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
2107         STRUCT_VALUE): Likewise.
2108         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
2109         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
2110
2111 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2112
2113         * regmove.c (struct record_stack_memrefs_data): New.
2114         (record_stack_memrefs): New function.
2115         (combine_stack_adjustments_for_block): Use it.
2116
2117 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2118
2119         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
2120         use special_function_p to detect alloca.
2121
2122 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
2123
2124         * gcc.texi: Fixes for makeinfo 4.0 --html.
2125
2126 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
2127
2128         * pcp.h: Delete file.
2129
2130 2000-04-28  Kazu Hirata  <kazu@hxi.com>
2131
2132         * h8300.c (function_epilogue): Clean up flags when the last insn
2133         in a function is a barrier.
2134
2135 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
2136
2137         * configure.in (sparc-hal-solaris2*): protect [] glob from
2138         my expansion.
2139         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
2140         rather than hard-coded constants in target_cpu_default2.
2141         * configure: Regenerate.
2142
2143 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
2144
2145         * tree.c (get_callee_fndecl): Extract the initial value from
2146         a readonly decl.
2147
2148 2000-04-28  Richard Henderson  <rth@cygnus.com>
2149
2150         * varasm.c (record_constant_1): Record the CODE_LABEL when
2151         taking the address of a LABEL_REF.
2152
2153 2000-04-28  Richard Henderson  <rth@cygnus.com>
2154             Jan Hubicka  <jh@suse.cz>
2155
2156         * calls.c (combine_pending_stack_adjustment_and_call): Return the
2157         adjustment; don't do the stack adjust.
2158         (expand_call): Call compute_argument_block_size right before
2159         allocating the block; update comment; don't do alignment sanity
2160         checking for sibling call; use args_size instead of
2161         unadjusted_args_size before args_size is adjusted.  Use
2162         combine_pending_stack_adjustment_and_call to compute stack adjust
2163         for must_preallocate case.
2164
2165         * expr.c (push_block): Remove shadow `temp' in inner scope.
2166
2167 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
2168
2169         * toplev.c (rest_of_compilation): Call
2170         note_deferral_of_defined_inline_function even if the function
2171         can't be inlined.
2172
2173 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
2174
2175         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
2176
2177 2000-04-28  Richard Henderson  <rth@cygnus.com>
2178
2179         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
2180
2181 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2182
2183         * timevar.c (init_timevar): DeANSIfy function definition.
2184
2185 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
2186
2187         * Makefile.in (timevar.o): Depend on flags.h.
2188         * timevar.c (unused_stack_instances): New variable.
2189         (timevar_push): Take a timevar_stack_def from
2190         unused_stack_instances if available.
2191         (timevar_pop): Push the popped timevar_stack_def onto
2192         unused_stack_instances.
2193         (TIMEVAR_ENABLE): New macro.
2194         (timevar_def): Make standalone a 1-bit field.  Add field used.
2195         (get_time): Rename parameter to now.  Return after clearing it if
2196         not TIMEVAR_ENABLE.
2197         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
2198         (timevar_pop): Likewise.
2199         (timevar_stop): Likewise.
2200         (timevar_push): Likewise.  Mark the timing variable as used.
2201         (timevar_start): Likewise.
2202         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
2203         timevars that were never used.
2204
2205 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
2206
2207         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
2208         always TREE_READONLY.
2209
2210 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
2211
2212         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
2213         for call instruction with mode QImode.
2214
2215 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
2216
2217         * Makefile.in (OBJS): Add timevar.o.
2218         (toplev.o): Depend on timevar.h.
2219         (ggc-simple.o): Likewise.
2220         (ggc-page.o): Likewise.
2221         (timevar.o): New rule.
2222         (timevar.h): New rule.
2223
2224         * timevar.h: New file.
2225         * timevar.c: Likewise.
2226         * timevar.def: Likewise.
2227
2228         * toplev.h (gc_time, parse_time, varconst_time): Remove.
2229         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
2230         throughout.
2231         (TIMEVAR): Remove macro.
2232         (gc_time, parse_time, varconst_time, integration_time, jump_time,
2233         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
2234         flow_time, combine_time, regmove_time, sched_time,
2235         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
2236         sched2_time, dbr_sched_time, reorder_blocks_time,
2237         rename_registers_time, shorten_branch_time, stack_reg_time,
2238         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
2239         all_time): Remove.
2240         (compile_file): Don't initialize time variables.  Call
2241         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
2242         of many calls to print_time.
2243         (rest_of_compilation): Add timing for reload_cse_regs.
2244         (get_run_time): Removed to timevar.c.
2245         (print_time): Likewise.
2246         (get_run_time): Implement using TV_TOTAL time variable.
2247         (print_time): Get total run time from get_run_time.
2248         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
2249         computing elapsed time explicitly.
2250         * ggc-simple.c (ggc_collect): Likewise.
2251         (gc_time): Remove declaration.
2252
2253 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
2254
2255         * calls.c (combine_pending_stack_adjustment_and_call): New function.
2256         (expand_call): Use it.
2257
2258 2000-04-27  Jan Hubicka  <jh@suse.cz>
2259
2260         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
2261         fields.
2262
2263 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
2264
2265         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
2266         registers.
2267
2268 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2269
2270         * function.c (epilogue_done): Pass whole insn to record_insns.
2271
2272 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2273
2274         * cse.c (CSE_ADDRESS_COST): Remove.
2275         (find_best_addr): Add new parameter "MODE", use address_cost instead
2276         of CSE_ADDRESS_COST
2277         (address_cost): New.
2278         (fold_rtx): Update call of find_best_addr.
2279         * rtl.h (address_cost): Declare.
2280         * loop.c (general_induction_var): Add new parameter "MODE", use
2281         address_cost instead of ADDRESS_COST
2282         (init_loop): Use address_cost instead of ADDRESS_COST.
2283         (check_insn_for_givs): Update call of general_induction_var.
2284         (find_mem_givs): Likewise.
2285         (consec_sets_giv): Likewise.
2286         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
2287         * i386.c (ix86_address_cost): New.
2288         * i386-protos.h (ix86_address_cost): Declare.
2289
2290 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
2291
2292         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
2293         registers.
2294
2295 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2296
2297         * expr.c (store_expr): Use clear_storage instead of direct memset
2298         libcall.
2299
2300 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
2301
2302         * config/mn10300/mn10300.c (mn10300_address_cost): Test
2303         ASHIFT, AND and LABEL_REF.
2304
2305 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2306
2307         * invoke.texi (-foptimize-sibling-calls): Fix.
2308
2309 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2310
2311         * loop.c (load_mems)  Don't use hard registers for the hoisting.
2312
2313         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
2314         calculation; rename const_equiv array in the preconditioning code
2315         from loop_unroll to loop_unroll_precondition
2316
2317 2000-04-27  Richard Henderson  <rth@cygnus.com>
2318
2319         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
2320         add new_set.
2321         (propagate_one_insn): Clear it.  Don't update reg_live here.
2322         (init_propagate_block_info): Update for pbi member changes.
2323         (free_propagate_block_info): Likewise.
2324         (mark_set_1): Know that zero_extract, sign_extract, and
2325         strict_low_part don't kill their argument.  Alter hard subregs.
2326         Update new_set for non-CLOBBER sets.  Update reg_live.
2327         (find_auto_inc): Update reg_live, not new_dead.
2328         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
2329         to determine if the reg in question was set this insn.  Only update
2330         reg info with PROP_REG_INFO.
2331
2332 2000-04-26  Richard Henderson  <rth@cygnus.com>
2333
2334         * flow.c (allocate_reg_life_data): Set max_regno here ...
2335         (life_analysis): ... not here.
2336
2337         * flow.c (calculate_global_regs_live): Force stack pointer
2338         live at end.
2339
2340 2000-04-26  Richard Henderson  <rth@cygnus.com>
2341
2342         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
2343         commit change group changes.
2344         (invert_exp_1): Similarly.
2345         (redirect_exp, invert_exp): Use them.
2346         (redirect_jump_1): New.
2347         (invert_jump_1): New.
2348         (jump_optimize_1): Remove code subsumed by condexec.c.
2349         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
2350
2351 2000-04-26  Richard Henderson  <rth@cygnus.com>
2352
2353         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
2354
2355         * genconfig.c (main): Set all HAVE_foo to 1.
2356
2357         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
2358
2359 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
2360
2361         * invoke.texi: Document -fssa flag.
2362
2363 2000-04-26  Richard Henderson  <rth@cygnus.com>
2364
2365         * flow.c (count_reg_sets_1): Remove.
2366         (count_reg_sets, count_reg_references): Remove.
2367         (recompute_reg_usage): Implement with update_life_info.
2368         Reallocate life data.
2369
2370 2000-04-26  Richard Henderson  <rth@cygnus.com>
2371
2372         * flow.c (update_life_info): Consider blocks null to mean the
2373         universal set.
2374         (calculate_global_regs_live): Likewise.
2375         (life_analysis): Do that instead of collecting all_blocks.
2376
2377 2000-04-26  Richard Henderson  <rth@cygnus.com>
2378
2379         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
2380         a still-valid conditional jump.
2381
2382 2000-04-26  Richard Henderson  <rth@cygnus.com>
2383
2384         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
2385
2386         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
2387         * flow.c (calculate_loop_depth): Remove.
2388         * output.h (calculate_loop_depth): Don't declare.
2389         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
2390         inline; run estimate_probability at the same time.
2391
2392 2000-04-26  Neil Booth  <NeilB@earthling.net>
2393
2394         * cpplib.h: "~=" is not a single pp-token.
2395         * cpplex.c: Correct commentary.
2396
2397 2000-04-26  Richard Henderson  <rth@cygnus.com>
2398
2399         * flow.c (mark_set_1): New arguments code and flags; update all
2400         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
2401         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
2402         loop_depth when optimizing for size.  Do new_dead update after
2403         emitting REG_UNUSED notes.  Merge mark_set_reg code.
2404         (mark_set_reg): Remove.
2405         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
2406         arrange to not emit REG_UNUSED notes.
2407
2408 2000-04-26  Richard Henderson  <rth@cygnus.com>
2409
2410         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
2411         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
2412
2413 2000-04-26  Richard Henderson  <rth@cygnus.com>
2414
2415         * flow.c (propagate_one_insn): Break out from propagate_block.
2416         (init_propagate_block_info): Likewise.
2417         (free_propagate_block_info): Likewise.
2418         (propagate_block): Use them.  Export.
2419         * basic-block.h: Declare them all.
2420
2421 2000-04-26  Richard Henderson  <rth@cygnus.com>
2422
2423         * basic-block.h (life_analysis): Declare here ...
2424         * output.h: ... not here.
2425         * flow.c (life_analysis): Remove nregs parameter; replace
2426         remove_dead_code with flags.  Remove ssa dead code check.
2427         Only init alias analysis if we'll use it.
2428         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
2429         * ssa.c (convert_to_ssa): Likewise.
2430         (convert_from_ssa): Likewise.
2431         * toplev.c (rest_of_compilation): Likewise.
2432
2433 2000-04-26  Richard Henderson  <rth@cygnus.com>
2434
2435         * flow.c (flow_delete_block): Rename from delete_block.  Export.
2436         * basic-block.h (flow_delete_block): Declare.
2437
2438 2000-04-26  David S. Miller  <davem@redhat.com>
2439
2440         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
2441         taking a PATTERN of it.
2442
2443 2000-04-26  <NeilB@earthling.net>
2444
2445         * cpplex.c (spell_other, spell_char): Remove.
2446         (SPELL_CHAR): New.
2447         (token_spelling, trigraph_map): Use unsigned chars.
2448         (_cpp_lex_line): Tidy up the switch statement.
2449         * cpplib.h: Implement spell_char with spell_string.
2450         (C): New.
2451
2452 2000-04-26  <RodneyBrown@pmsc.com>
2453
2454         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2455         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2456
2457 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2458
2459         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
2460         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
2461         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
2462         dwarf2out_return_save, dwarf2out_return_reg,
2463         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
2464         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
2465         gen_compile_unit_die, dwarf2out_init): Constify a char*.
2466
2467         * dwarf2out.h (dwarf2out_init): Likewise.
2468
2469         * dwarfout.c (filename_entry, primary_filename, last_filename,
2470         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
2471
2472         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
2473         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
2474         dwarf2out_return_reg): Likewise.
2475
2476 2000-04-26  Andreas Jaeger  <aj@suse.de>
2477
2478         * extend.texi (Function Attributes): Fix description of pure
2479         attribute.
2480
2481 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
2482
2483         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
2484         before calling rest_of_compilation.
2485
2486 2000-04-26  Andreas Jaeger  <aj@suse.de>
2487
2488         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
2489         last patch.
2490
2491 2000-04-25  Richard Henderson  <rth@cygnus.com>
2492
2493         * cse.c (cse_insn): Emit barrier after unconditional jump.
2494
2495         * calls.c (expand_call): Disable tail call generation once
2496         rtx_equal_function_value_matters is false.
2497
2498         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
2499         like EDGE_EH edges.
2500
2501 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
2502
2503         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
2504
2505         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
2506
2507         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
2508         is the primary DIE for a member function.
2509         (gen_decl_die): Call set_decl_origin_self here.
2510         * dwarfout.c (output_decl): And here.
2511         * integrate.c (output_inline_function): Not here.
2512         Don't clear DECL_INLINE until after calling rest_of_compilation.
2513         (set_decl_origin_self): No longer static.
2514         * tree.h: Add prototype.
2515         * toplev.c (note_deferral_of_defined_inline_function): Only write
2516         out abstract instance for actual inlines.
2517
2518 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
2519
2520         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
2521         EXTENDED_REGS only if TARGET_AM33.
2522         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
2523         SP_REGS to register allocation and reloading unless absolutely
2524         necessary.
2525         (movsi3): Remove special-case of adding non-constants to SP.
2526
2527 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2528
2529         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
2530         INCLUDES to search and does not provide any of its own.  Also it
2531         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
2532         parameters.  Also it does not call AC_DEFINE.
2533         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
2534         AC_DEFINE and provides for automatic entries for autoheader.
2535         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
2536
2537         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
2538         so we can pass -I flags and include gansidecl.h/system.h in this
2539         test.
2540
2541         * acconfig.h: Delete all NEED_DECLARATION_* entries.
2542
2543 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2544
2545         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2546         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2547         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
2548
2549         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2550         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2551         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
2552         for these macros.  Clean up spacing and linewraps.
2553
2554 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
2555
2556         * calls.c (expand_call): Use get_callee_fndecl.
2557
2558         * print-tree.c (print_node): Print the chain of an _EXPR.
2559
2560 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
2561                           Jim Wilson  <wilson@cygnus.com>
2562                           Andrew Haley  <aph@cygnus.com>
2563
2564         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
2565         and gp save/restore problems.
2566         * config/ia64/crtend.asm: Add IA-64 unwind support.
2567         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
2568         in fr_pad_size calculation.
2569         (save_restore_insns): Move PR save area.  Correct uses of
2570         RTX_FRAME_RELATED_P.
2571         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
2572         (ia64_expand_epilogue): Add eh_epilogue support.
2573         (ia64_function_prologue): Emit .prologue directive.
2574         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
2575         (ia64_override_options): Set init_machine_status and
2576         mark_machine_status.
2577         (rtx_needs_barrier): Handle bsp reads and writes.
2578         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
2579         New static variables.
2580         (process_set, process_for_unwind_directive): New functions.
2581         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
2582         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
2583         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
2584         macros.
2585         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
2586         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
2587         (struct machine_function): Define.
2588         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
2589
2590 2000-04-25  Bruce Korb  <bkorb@gnu.org>
2591
2592         * fixinc/Makefile.in: make the removal of old programs more
2593         robust
2594         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
2595         install-bin and install-sh
2596
2597 2000-04-25  Nick Clifton  <nickc@cygnus.com>
2598
2599         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
2600         defined, define to return zero.
2601         (function_cannot_inline_p): If a function has any target
2602         specific attributes, then use the macro
2603         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
2604         whether it can be inlined.  If it cannot, issue a suitable
2605         explanation.
2606
2607         * tm.texi: Add a new node 'Inlining' to document the new macro
2608         FUNCTION_ATTRIBUTE_INLINABLE_P.
2609
2610 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
2611
2612         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
2613         commentary.
2614
2615 2000-04-25  Neil Booth  <NeilB@earthling.net>
2616
2617         Restore previous patch, plus the following fixes:
2618
2619         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
2620         flags, not CPP_OPEN_PAREN.
2621         * cpplex.c (expand_token_space, init_token_list,
2622         cpp_free_token_list): Put the dummy token at list->tokens[-1].
2623         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
2624
2625 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2626
2627         * config/i386/freebsd.h (INT_ASM_OP): Define.
2628
2629 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2630
2631         * loop.c (strength_reduce): Fix typo in the last checkin.
2632
2633 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2634
2635         * stor-layout.c (finalize_record_size): Simplify to use existing
2636         functions.
2637         (compute_record_mode): No longer static.
2638         * tree.h (compute_record_mode): New declaration.
2639
2640 2000-04-25  Neil Booth  <NeilB@earthling.net>
2641
2642         * Revert my patch below until cause of build failures
2643         determined.
2644
2645 2000-04-25  Richard Henderson  <rth@cygnus.com>
2646
2647         * combine.c (combine_instructions): Add missing argument
2648         to try_combine.
2649
2650         * toplev.c (rest_of_compilation): Delay sibcall optimization
2651         until after emit_eh_context.
2652
2653 2000-04-24  Nick Clifton  <nickc@redhat.com>
2654
2655         * combine.c (combine_instructions): Do not try to combine a
2656         sequence of insns when the second insn has been replaced by a
2657         note.
2658
2659 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
2660
2661         * gcc.c (load_specs): New static function.
2662         (read_specs): Use it.
2663
2664         * gcc.c (lookup_compiler): Make multiple passes for case
2665         insensitive filesystems.
2666
2667 2000-04-24  Neil Booth  <NeilB@earthling.net>
2668
2669         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
2670         * cpphash.h (_cpp_check_directive): new.
2671         * cpplex.c (handle_newline, cpp_free_token_list,
2672         init_trigraph_map, trigraph_ok, trigraph_replace,
2673         backslash_start, skip_block_comment, skip_line_comment,
2674         skip_whitespace, parse_name, parse_number, parse_string,
2675         copy_comment, _cpp_lex_line, spell_char, spell_string,
2676         spell_comment, spell_name, spell_other, _cpp_lex_file,
2677         _cpp_output_list): new.
2678         (expand_name_space): take length argument.
2679         (init_token_list): add comment list initialisation.
2680         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
2681         instead of HSPACE_BEFORE.
2682
2683         * cpplib.c (_cpp_check_directive): new
2684         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
2685         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
2686         (HSPACE_BEFORE): delete.
2687         (TTYPE_TABLE): rearrange.
2688         (struct cpp_toklist): update.
2689
2690 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2691
2692         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
2693         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
2694         argument form of AC_DEFINE.
2695
2696         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
2697         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
2698         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
2699         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
2700         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
2701
2702         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
2703
2704 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2705
2706         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
2707         deduced.h): Use -isystem, not -I, for including system headers.
2708
2709 2000-04-24  Nick Clifton  <nickc@cygnus.com>
2710
2711         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
2712         the source register is the frame pointer or arg pointer.
2713         (addsi3_small_int): Disallow if source register is the frame
2714         pointer or arg pointer.
2715
2716 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2717
2718         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
2719         call to AC_MSG_RESULT.
2720
2721 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2722
2723         * invoke.texi: Correct grammatical errors, document
2724         -fno-gnu-keywords as identical to -fno-asm for C++.
2725
2726 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2727
2728         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
2729         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
2730         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
2731         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
2732         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
2733
2734         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
2735         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
2736         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
2737         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
2738         new macros names.
2739
2740 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
2741
2742         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
2743         (pop_alignment): Likewise.
2744         (handle_pragma_token): Likewise.
2745
2746 2000-04-24  Robert Lipe <robertlipe@usa.net>
2747
2748         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
2749
2750 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
2751
2752         * combine.c (try_combine): Update reg_nonzero_bits of
2753         newi2pat before newpat.
2754
2755 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2756
2757         * loop.c (strength_reduce): Simplify test to INSN_P.
2758         (record_giv): Attempt to simplify the add value, use CONSTANT_P
2759         expressions instead of CONST_INT.
2760         (express_from_1): Likewise.
2761
2762 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
2763
2764         * regs.h (reg_n_max): Don't declare.
2765         * flow.c (reg_n_max): Don't define.
2766         * regclass.c (renumber): Don't initialize to zero.
2767         (regno_allocated): Likewise.
2768         (reg_n_max): Define.
2769         (allocate_reg_info): Don't initialize unnecessarily.
2770
2771 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
2772
2773         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
2774         and blockage_p in the newly allocated attribute.
2775
2776 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
2777
2778         * config/mn10300/mn10300.md (addsi): `inc4' on address
2779         registers does not modify cc, but `inc' on an extended
2780         register does.
2781
2782 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
2783
2784         * reload.c (find_equiv_reg): Checks all valueno regs
2785         as a reload_reg_p regs.
2786
2787 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2788
2789         * cpphash.c (collect_objlike_expansion): Add sanity check.
2790         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
2791         the buffer is the empty string, return.  Mark __DATE__ and
2792         __TIME__ as XCONST nodes, not MCONST.
2793         (_cpp_macroexpand): Avoid pushing an empty buffer.
2794         (funlike_macroexpand): Don't pop token_buffer here.
2795
2796 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
2797
2798         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
2799         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
2800         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
2801         (REGNO_OK_FOR_BASE_P): Define in terms of them.
2802         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
2803         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
2804         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
2805
2806 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2807
2808         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
2809         constant MULT givs.
2810
2811 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
2812
2813         * cpphash.h (struct definition): Move file, line, col members...
2814         (struct hashnode): ... here.  Also add 'disabled' flag.
2815         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
2816         T_IDENTITY.  Remove T_DISABLED.
2817         Update prototypes.
2818
2819         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
2820         (collect_expansion): Split into collect_objlike_expansion and
2821         collect_funlike_expansion.
2822         (_cpp_macroexpand): Split out scan_arguments, stringify, and
2823         funlike_macroexpand.
2824         (_cpp_compare_defs): Rename compare_defs, make static.
2825         (_cpp_make_hashnode): Initialize hp->disabled.
2826         (macro_cleanup): Adjust for new token types.  Clear
2827         m->disabled.
2828         (_cpp_create_definition): Move code here to determine what
2829         sort of macro it is, and code to check for redefinitions, from
2830         do_define.  Implement a few simple cases without creating a
2831         full DEFINITION.
2832         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
2833         Handle the simple cases.
2834         (push_macro_expansion): Set buf->has_escapes and hp->disabled
2835         here.
2836
2837         * cppinit.c (builtin_array): Change MCONST to XCONST
2838         everywhere.
2839         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
2840         fix check for disabled and function-like macros.
2841         * cpplib.c (do_define): Move most logic to
2842         _cpp_create_definition.
2843         (do_undef): Handle new special token types.
2844
2845 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2846
2847         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
2848         of CONSTANT_P for mult_val; always use validate_change to update insn.
2849
2850 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
2851
2852         * cpphash.c (trad_stringify, add_pat): New functions.
2853         (collect_expansion): Restore support for -traditional syntax.
2854         Use trad_stringify and add_pat.
2855         (_cpp_macroexpand): Restore support for -traditional semantics.
2856         * cpplex.c (_cpp_scan_line): Don't change space_before if we
2857         get a COMMENT token.
2858         (_cpp_lex_token): Provide COMMENT tokens to caller if
2859         traditional and parsing_define_directive.
2860         (skip_comment): Warn about // comments if -Wtraditional.
2861         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
2862         proper node type.
2863         (do_undef): Don't warn about undefining EMPTY nodes.
2864
2865 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2866
2867         * loop.c (strength_reduce): Fix biv removal code.
2868
2869 2000-04-22  Richard Henderson  <rth@cygnus.com>
2870
2871         * predict.c (estimate_probability): Examine both sides of
2872         a branch for no exits.  Use 90% not 50% for predict taken.
2873         Reorg for one copy of note generation code.
2874
2875 2000-04-22  Richard Henderson  <rth@cygnus.com>
2876
2877         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
2878
2879 2000-04-22  Richard Henderson  <rth@cygnus.com>
2880
2881         * diagnostic.c (init_output_buffer): Don't initialize format_args.
2882         (output_clear): Likewise.
2883         (output_printf): Use va_copy.
2884         (vline_wrapper_message_with_location): Likewise.
2885         (v_message_with_decl): Likewise.
2886         (line_wrapper_printf): VA_START infor buffer.format_args directly.
2887         * system.h (va_copy): Provide default implementation.
2888
2889 2000-04-22  Richard Henderson  <rth@cygnus.com>
2890
2891         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
2892         the collected condition is not a constant.
2893
2894 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
2895
2896         * diagnostic.h: New file.
2897
2898         * Makefile.in (diagnostic.o): Depends on diagnostic.h
2899
2900         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
2901         various function prototypes.
2902         (diagnostic.h): #include.
2903         (struct output_buffer): Move into diagnostic.h.
2904         (get_output_prefix): Rename to output_get_prefix.  Export.
2905         (init_output_buffer): Export. Break out.  Ajust intialization.
2906         (output_space_left, output_append): Export.
2907         (output_newline): Rename to output_add_newline.  Export.
2908         (output_clear): Nullify additional output_buffer fields.
2909         (output_puts): Rename to output_add_string.  Export.
2910         (dump_output): Rename to output_flush_on.  Export.
2911         (build_location_prefix): Constify return-type.
2912         (emit_output_prefix): Rename to output_emit_prefix. Export.
2913         (set_real_maximum_length): New function.
2914         (output_set_maximum_length): Ditto
2915         (output_clear): Ditto.
2916         (output_add_character): Ditto.
2917         (output_add_integer): Ditto.
2918         (output_add_space): Ditto.
2919         (output_format): Ditto.
2920         (output_printf): Adjust buffer initialization.
2921         (vline_wrapper_message_with_location): Ditto.
2922         (v_message_with_decl): Ditto.  Adjust call to output_puts
2923         and get_output_prefix.
2924         (default_print_error_function): Adjust buffer intialization.
2925
2926 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2927
2928         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
2929         of VOID_TYPE.
2930
2931 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
2932
2933         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
2934         of explicit 0.
2935
2936 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
2937
2938         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
2939         accurate data about SP moves.
2940
2941 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
2942
2943         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
2944         aliases to AM33 registers.
2945
2946 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
2947
2948         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
2949         to all EXTENDED bitmaps.
2950
2951 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
2952
2953         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
2954         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
2955         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
2956
2957 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
2958
2959         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
2960         the operand is not constant.
2961
2962 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
2963
2964         * reload.c (find_equiv_reg): Checks all valueno and regno regs
2965         as a call-clobbered regs.
2966
2967 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2968
2969         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
2970         * rtl.h: Likewise.
2971         * rtl.def: Update comment.
2972         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
2973         * integrate.c (expand_inline_function): Likewise.
2974         * profile.c (branch_prob): Likewise.
2975         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
2976         * print-rtl.c (print_rtx): Likewise.
2977         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
2978         (reemit_notes): Likewise; also use enum insn_note.
2979
2980         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
2981         (place_field): Properly compute know and actual alignment.
2982
2983         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
2984         in proper format.
2985
2986         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
2987         note for REG1.
2988
2989 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
2990
2991         * cpphash.c (struct arg, struct arglist): Const-ify strings.
2992         (warn_trad_stringify, duplicate_arg_p): New helper functions.
2993         (collect_expansion): Rewrite to scan over a token list.
2994         Remove -traditional support.
2995         (collect_formal_parameters): Rename to collect_params; rewrite
2996         to scan over a token list.
2997         (_cpp_create_definition): Adjust to scan a token list.
2998         (_cpp_macroexpand): Remove -traditional support.
2999         (_cpp_compare_defs): Whitespace is now canonicalized.
3000         (comp_def_part): Delete function.
3001
3002         * cpphash.h: Update prototypes.
3003         * cpplex.c (init_token_list): Don't set lineno if there is no
3004         buffer.
3005         (pedantic_whitespace): New function.
3006         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
3007         consume a newline.  Use pedantic_whitespace.
3008         (_cpp_lex_token): Remove support for -traditional macros.
3009         (_cpp_get_define_token): Delete.
3010         (_cpp_get_directive_token): Do the real work here.  Use
3011         pedantic_whitespace.
3012         (_cpp_init_input_buffer): Initialize pfile->directbuf.
3013
3014         * cpplib.c (get_macro_name): Delete.
3015         (do_define): Read the entire line into pfile->directbuf, then
3016         feed the token list to _cpp_create_definition.
3017         * cpplib.h (HSPACE_BEFORE): new define.
3018         (struct cpp_reader): Add a toklist member, "directbuf".
3019
3020         * predict.c (estimate_probability): New heuristic: if a jump
3021         branches around a block with no successors, predict it taken.
3022         Disentangle control flow.
3023
3024 2000-04-20  Richard Henderson  <rth@cygnus.com>
3025
3026         * loop.c (emit_iv_add_mult): Revert last change.
3027
3028 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
3029
3030         * cpplib.h (enum cpp_ttype): Add token types for all
3031         punctuators.  Distinguish pp-numbers from valid C numbers.
3032         Give some tokens better names.  Initialize from macro.
3033         (struct cpp_name, cpp_token, cpp_toklist): New data
3034         structures.
3035         Update prototypes.
3036         * cpplex.c (bump_column, expand_name_space,
3037         expand_token_space, init_token_list, cpp_output_list,
3038         _cpp_scan_line):  New functions.
3039         (output_line_command): Add third argument, new line number.
3040         * cpphash.h: Update prototypes.
3041         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
3042         token names.
3043
3044 2000-04-20  Richard Henderson  <rth@cygnus.com>
3045
3046         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
3047
3048 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
3049
3050         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
3051         object pointed to.
3052
3053 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3054
3055         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
3056         REG_EQUAL note explaining the calculated value.
3057
3058         * calls.c (expand_call): Avoid unnecesary precalculation
3059         and outgoing parameters space guarding for sibling calls.
3060         (store_one_arg): Likewise.
3061
3062 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3063
3064         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
3065         (rest_of_compilation): Write sibling dump file and account
3066         for time as jump time.
3067         * invoke.texi: Update documentation on dump flags.
3068
3069 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
3070
3071         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
3072
3073 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
3074
3075         * cpphash.c (special_symbol): Represent an empty macro with
3076         "\r \r " not just "\r ".
3077         (_cpp_macroexpand): Correct condition for the foo ( ) special
3078         case.
3079         (unsafe_chars): Handle EOF as second argument.
3080         (push_macro_expansion): Simplify test for removing escape at
3081         end.  Do not trim both escapes if there is no text in between.
3082
3083 2000-04-19  Jim Blandy  <jimb@redhat.com>
3084
3085         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
3086         of PTR_SIZE, when appropriate.
3087
3088 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
3089
3090         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
3091         (USE_ENUM_BITFIELDS): Fix typo.
3092
3093 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3094
3095         * stor-layout.c (place_field): Set rli->offset_align properly.
3096
3097 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3098
3099         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
3100         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
3101         PARM_BOUNDARY): Remove unnecessary casts.
3102
3103 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3104
3105         * calls.c (precompute_arguments): Remove must_preallocate and
3106         args_size calls.
3107         (expand_call): Update call of precompute_arguments.
3108
3109         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
3110         check_insn_for_givs): Break out from ...
3111         (strength_reduce) ... here; use for_every_insn_in_loop to call
3112         check_insn_for_givs.
3113         * loop.h (for_every_insn_in_loop): Declare.
3114         (loop_insn_callback): New type.
3115
3116 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
3117
3118         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
3119         not nul-terminated.
3120
3121 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
3122
3123         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
3124         flag_pic and RELOC.
3125
3126 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
3127
3128         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
3129
3130         * configure.in: Delete --disable-cpplib option and all
3131         references to cpp_main.
3132         * configure: Regenerate.
3133         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
3134         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
3135         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
3136         cpp$(exeext).  Add --no-headers to makeinfo command line when
3137         generating INSTALL.  Install and uninstall cpp.1 manpage, not
3138         cccp.1.
3139         * install.texi: Delete all references to cexp.y/cexp.c.
3140         Delete ancient instructions for compiling GCC on 3b1.
3141         * INSTALL: Regenerate.
3142
3143         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
3144         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
3145         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
3146         cexp.c/cexp.y.
3147         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
3148         which is no longer tested anywhere.
3149
3150         * cppinit.c (handle_option): Don't run error message through
3151         gettext twice.
3152
3153 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3154
3155         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
3156         * cpperror.c (hashtab.h): Now include.
3157         * cppexp.c (hashtab.h): Likewise.
3158         * cpplex.c (hashtab.h): Likewise.
3159         * cppfiles.c (hashtab.h): Likewise.
3160         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
3161         to htab_find_slot_with_hash.
3162         * cpphash.c (hashtab.h): Now include.
3163         (_cpp_lookup_slot): INSERT is now enum insert_option.
3164         * cpphash.h (_cpp_lookup_slot): Likewise.
3165         * cppinit.c (hashtab.h): Include earlier.
3166         (initialize_builtins): Pass enum to htab_find_slot.
3167         * cpplib.c (hashtab.h): Now include.
3168         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
3169         (do_pragma_poison, do_assert): Likewise.
3170         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
3171         htab_find_slot_with_hash.
3172         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
3173         * tree.c (type_hash_add): Likewise.
3174         (build1): Minor cleanup.
3175
3176         * ggc-common.c: Add missing blanks.
3177         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
3178         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
3179
3180         * stmt.c (mark_case_node): New function.
3181         (mark_case_nesting): Call it.
3182
3183         * expmed.c (emit_store_flag): If comparing two-word integer
3184         with zero, can optimize NE, EQ, GE, and LT.
3185
3186         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
3187         * conflict.c: Minor cleanups.
3188         * optabs.c: Add blank line
3189         * simplify-rtx.c: Minor cleanups.
3190
3191 2000-04-18  Stan Cox  <scox@cygnus.com>
3192
3193         * gengenrtl.c (genlegend): Fix misspelling.
3194
3195 2000-04-18  Robert Lipe  <robertlipe@usa.net>
3196
3197         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
3198         bitfields of the host compiler are not signed quantities.
3199         * config.in: Regenerate.
3200         * configure: Regenerate.
3201         * system.h (USE_ENUM_BITFIELDS): Added.
3202         (ENUM_BITFIELDS): Added.
3203         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
3204         (SHORT_ENUM_BUG): Deleted.
3205         * tree.h (tree_common): Members `code', `mode', `built_in_class',
3206         now ENUM_BITFIELD.
3207         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
3208         (CODE_FIELD_BUG): Likewise.
3209         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
3210         (OLD_CC): Likewise.
3211         * config/m68k/x-ccur (X_CFLAGS): Likewise.
3212
3213 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
3214
3215         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
3216         mark is active.
3217
3218 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
3219
3220         * cppexp.c (lex): Don't assume tokens are NUL terminated.
3221         * cpplib.c (do_include, do_import, do_include_next,
3222         read_line_number, detect_if_not_defined): Likewise.
3223         * cpphash.c (collect_expansion): Likewise.
3224         (special_symbol, _cpp_macroexpand): Check return from
3225         cpp_file_buffer.
3226         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
3227         macros.  Delete all uses.
3228
3229         * gcc.dg/cpp-mi.c: Add two more test cases.
3230         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
3231
3232 2000-04-17  Richard Henderson  <rth@cygnus.com>
3233
3234         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
3235         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
3236
3237 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
3238
3239         * function.c (expand_function_start): Use hard_function_value to
3240         compute the RTL to use for DECL_RESULT.
3241
3242 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3243
3244         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
3245         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3246          x86_memory_mismatch_stall): New global variables.
3247         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
3248         alloved; fix load penalties for Athlon.
3249         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3250         x86_memory_mismatch_stall): Declare.
3251         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
3252          TARGET_MEMORY_MISMATCH_STALL): New.
3253         * i386.md (athlon scheduling parameters): Fix latencies according to
3254         Athlon Optimization Manual.
3255         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
3256         vector.
3257         (fsqrt instruction patterns): Set athlon_decode to direct.
3258         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
3259         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
3260         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
3261         and TARGET_PARTIAL_REGISTER_STALL machines.
3262         (pushdf_nointeger): New pattern.
3263         (pushdf_integer): Rename from pushdf.
3264         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
3265         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
3266
3267 2000-04-17  Richard Henderson  <rth@cygnus.com>
3268
3269         * loop.c (canonicalize_condition): Add WANT_REG argument.
3270         Stop the search if we match it.
3271         * expr.h (canonicalize_condition): Update decl.
3272         * predict.c (expected_value_to_br_prob): Use it.  Track last
3273         expected value note.
3274         (find_expected_value): Remove.
3275
3276         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
3277
3278 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
3279
3280         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
3281         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
3282         a plain file.
3283         * configure.in: Call AC_FUNC_MMAP_FILE.
3284         * configure: Regenerate.
3285         * config.in: Regenerate.
3286
3287         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
3288         * fixinc/fixincl.c: Likewise.
3289
3290 2000-04-17  Richard Henderson  <rth@cygnus.com>
3291
3292         * builtins.c (expand_builtin_expect): New.
3293         (expand_builtin): Call it.
3294         * builtins.def (BUILT_IN_EXPECT): New.
3295         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
3296         * extend.texi: Document it.
3297
3298         * predict.c (expected_value_to_br_prob): New.
3299         (find_expected_value): New.
3300         * basic-block.h (expected_value_to_br_prob): Declare.
3301         * toplev.c (rest_of_compilation): Invoke it.
3302
3303         * rtl.h (NOTE_EXPECTED_VALUE): New.
3304         (NOTE_INSN_EXPECTED_VALUE): New.
3305         * rtl.c (note_insn_name): Update.
3306         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
3307         cases; handle NOTE_INSN_EXPECTED_VALUE.
3308
3309 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
3310
3311         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
3312         leaf sibcall delay slot if flag_pic.
3313         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
3314
3315 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3316
3317         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
3318
3319         * fixproto: If fix-header fails, exit with an error.
3320
3321 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3322
3323         * cse.c (struct check_depdendence_data): New.
3324         (check_dependence): New function.
3325         (invalidate): Use check_depdenence.
3326
3327 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
3328
3329         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
3330         UNITS_PER_WORD is unsigned.
3331
3332         * tree.h (struct tree_common): Remove misleading comment.
3333
3334 2000-04-16  Dave Pitts  <dpitts@cozx.com>
3335
3336         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
3337         message in quotes. Otherwise, IBM's make program treats the '#' as the
3338         start of a comment and ignores the remainder of the line.
3339
3340         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
3341         upper case.
3342         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
3343         * cexp.y (initialize_random_junk): Likewise.
3344         * cppfiles.c (find_include_file): Cast alloca return value.
3345         * cppinit.c (initialize_standard_includes): Likewise.
3346         * cpplib.c (cpp_define, cpp_undef): Likewise.
3347         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
3348         * final.c (output_asm_insn): Allow for holes in EBCDIC.
3349         * fold-const.c (CHARMASK): New.
3350         (real_hex_to_f): Use it.
3351         * real.c (CHARMASK): New.
3352         (etoasc, asctoeg): Use it.
3353         (asctoeg): EBCDIC lower case characters preceed upper case.
3354
3355         * i370.c (mvs_add_label): Change spacing for coding conventions.
3356         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
3357         outputing case vectors.
3358         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
3359         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
3360         since vector in in the data CSECT.
3361         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
3362         * i370.md (Many patterns): Put the length in the XL directives.
3363         (movdi): Put back STM and MVC in definition.
3364         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
3365         pattern using the TCA.
3366         * oe.h (CPP_SPEC): Added to allow trigraphs.
3367         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
3368         not support the "long long" type.
3369
3370 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
3371
3372         * config/mips/mips-protos.h (mips_legitimate_address_p): New
3373         function.
3374         (mips_reg_mode_ok_for_base_p): Likewise.
3375         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
3376         (REG_OK_FOR_INDEX_P): Define unconditionally.
3377         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
3378         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
3379         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
3380         that GET_MODE_SIZE is unsigned.
3381         (mips_reg_mode_ok_for_base_p): Define.
3382         (mips_legitimate_address_p): Likewise.  Adjust now
3383         that GET_MODE_SIZE is unsigned.
3384         (block_move_loop): Make the number of bytes unsigned.
3385         (expand_block_move): Likewise.
3386         (function_arg): Make the loop counter unsigned to match the
3387         boundary condition.
3388
3389 2000-04-16  Richard Henderson  <rth@cygnus.com>
3390
3391         * rtl.h (enum insn_note): New enumeration.  Subsume
3392         NOTE_INSN_DELETED and friends.
3393         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
3394         * rtl.c (note_insn_name): Tweak string order.
3395
3396 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
3397
3398         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
3399         to offset * 2.
3400
3401         * cpplex.c (output_line_command): Remove debugging prints.
3402         (cpp_output_tokens): Don't write out a zero-length buffer or
3403         try to see if it has a newline in it.
3404         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
3405         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
3406         the end of the loop.  Use memmove.  Don't read past the end of
3407         the buffer.  Remove trailing newlines from error messages.
3408
3409 2004-04-16  Neil Booth  <NeilB@earthling.net>
3410
3411         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
3412         * cpplib.c: Add new syntax flags to directive table, and
3413         supporting macros.
3414
3415 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
3416
3417         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
3418         using ret $N.
3419
3420 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3421
3422         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
3423         * haifa-sched.c: Update -fsched-verbose comments to use "=".
3424
3425 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3426
3427         * Makefile.in (ggc-page.o): Now includes toplev.h.
3428         * ggc-page.c (toplev.h): Now included.
3429         (gc_time): Remove declaration.
3430         (ggc_collect): TIME now long.
3431         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
3432         others static.
3433         * toplev.h (gc_time, parse_time, gc_time): New declarations.
3434
3435         * toplev.c: Make *_time variable long to reduce chance of overflow.
3436         (TIMEVAR): Likewise for `otime'.
3437         (print_time): Arg is now long; compute percentage in FP and round.
3438         * toplev.h (print_time): Arg is long.
3439
3440         * tree.c: Minor whitespace changes.
3441
3442         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
3443         * configure: Rebuilt.
3444         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
3445         (__fixunsxfDI): Renamed from __fixunsxfdi.
3446         (__fixunsdfDI): Renamed from __fixunsdfdi.
3447         (__fixunssfDI): Renamed from __fixunssfdi.
3448         (__floatdisf): Use proper type in REP_BIT macro.
3449         (__fixunsxfSI): Renamed from __fixunsxfsi.
3450         (__fixunsdfSI): Renamed from __fixunsdfsi.
3451         (__fixunssfSI): Renamed from __fixunssfsi.
3452         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
3453         Change location of macros and upper-case some names as above.
3454         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
3455         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
3456
3457         * varasm.c (assemble_variable): Add cast to remove warning.
3458         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
3459
3460         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
3461         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
3462         region number to -1.
3463
3464 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
3465
3466         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
3467         call unshare_all_rtl.
3468
3469         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
3470
3471 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
3472
3473         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
3474         Use .s1 not .s0 for all FP instructions.
3475
3476 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
3477
3478         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
3479         interfaces.
3480         (safe_fwrite, output_line_command): New static functions.
3481         (cpp_expand_to_buffer): Now private to cpplib.
3482         (cpp_scan_buffer): Take a printer.
3483
3484         * cpphash.h: Update prototypes.
3485         * cpplib.h: Update prototypes.
3486         (cpp_printer): New.
3487         (cpp_buffer): Remove last_nominal_fname.
3488         (cpp_reader): Remove lineno.
3489
3490         * cppmain.c: Use a cpp_printer.
3491         * fix-header.c: No need to inhibit line commands.  Call
3492         cpp_start_read with no printer.
3493
3494         * cpperror.c (cpp_notice_from_errno): Provide default name.
3495         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
3496         (find_include_file, cpp_read_file): Use make_IHASH.
3497         (file_cleanup): Set control_macro and clear
3498         input_stack_listing_current here.
3499         (_cpp_execute_include): Don't output entering-file marker.
3500         * cpphash.c (special_symbol): Look for the line number in the
3501         buffer, not the reader.
3502         (_cpp_macroexpand): No need to disable line commands.
3503         (_cpp_dump_definition): No need to generate line commands.
3504         (dump_hash_helper): Remove excess newline from output.
3505         * cppinit.c (dump_special_to_buffer): No need to generate line
3506         commands.
3507         (cpp_printer_init): New.
3508         (cpp_start_read): Take a printer, and start it up if it's not
3509         NULL.  No need to generate line commands.
3510         (cpp_finish): Expect no buffers stacked at all.  Take a
3511         printer argument, and flush the output buffer if it's not
3512         NULL.
3513         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
3514         Don't put two hashes at the beginning of an assertion.
3515         (cpp_get_token): Don't increment pfile->lineno or emit line
3516         commands here.  Return EOF if there's no buffer when we get
3517         EOF.
3518         * cpplib.c (do_define, skip_if_group):
3519         No need to disable line commands.
3520         (_cpp_output_line_command): Delete function.
3521         (do_line): Don't emit line commands here, but set things up so
3522         they will be emitted if necessary.  Use _cpp_fake_ihash to
3523         make unique nominal_fnames if necessary.
3524         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
3525         with 0 for column, not -1.
3526         (_cpp_handle_eof): Don't set the control macro here.  Don't
3527         clear input_stack_listing_current here.  Don't emit line
3528         commands.
3529
3530 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
3531
3532         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
3533         always, use the default SVR4 start address.
3534
3535         * config/rs6000/linux.h (LINK_SPEC): Don't define.
3536         (LINK_SHLIB_SPEC): Define.
3537         (LINK_START_DEFAULT_SPEC): Define.
3538         (LINK_OS_DEFAULT_SPEC): Define.
3539
3540         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
3541
3542         * config/rs6000/eabi.asm (__eabi): Call __init rather than
3543         __do_global_ctors to handle constructors.
3544         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
3545         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
3546         (STARTFILE_MVME_SPEC): Likewise.
3547         (STARTFILE_SIM_SPEC): Likewise.
3548         (ENDFILE_ADS_SPEC): Use crtend.
3549         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
3550         (ENDFILE_MVME_SPEC): Likewise.
3551         (ENDFILE_SIM_SPEC): Likewise.
3552         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
3553         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
3554         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
3555         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
3556         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
3557         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
3558         (CRTSTUFF_T_CFLAGS_S): Define.
3559         * config/rs6000/eabi-ctors.c: Delete.
3560
3561         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
3562         boundary.
3563         (__fini): Likewise.
3564         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
3565         boundary.
3566         (__fini): Likewise.
3567
3568 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
3569
3570         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
3571         plus mask size is smaller or equal to the mode size.
3572
3573 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3574
3575         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
3576         not yet set.
3577
3578         * expr.c (reload.h): Now included.
3579         (emit_block_move): Set volatile_ok when checking for movstr.
3580         (emit_move_1): Check for replacements in addresses in multi-word case.
3581         * Makefile.in (expr.o): Now includes reload.h.
3582
3583         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
3584         Never have a LIBCALL end a basic block.
3585         (find_basic_blocks_1): Likewise.
3586         Reorganize CALL_INSN cases.
3587
3588         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
3589
3590 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
3591
3592         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
3593         completers from mov.ret instruction.
3594
3595 2000-04-14  Richard Henderson  <rth@cygnus.com>
3596
3597         * fold-const.c (extract_muldiv): Don't distribute and widen
3598         multiply across plus for non-sizetype unsigned types.
3599
3600 2000-04-14  Richard Henderson  <rth@cygnus.com>
3601
3602         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
3603         If the original source is dead in the incr insn, it's dead now.
3604
3605 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3606
3607         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
3608         see if DECL_BIT_FIELD needs to still be set.
3609
3610         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
3611
3612         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
3613         print_int_cst_octal with something that's not an INTEGER_CST.
3614
3615         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
3616         and not a SUBREG to a FLOAT rtl.
3617
3618 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
3619
3620         * emit-rtl.c (try_split): Avoid infinite loop if the split
3621         results in a sequence that contains the original insn.
3622
3623 2000-04-13  Andreas Jaeger  <aj@suse.de>
3624
3625         * config/mips/mips.c (expand_block_move): Pass alignment
3626         argument to move_by_pieces in bits, not bytes.
3627
3628         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
3629         __pic__ for little endian.
3630
3631 2000-04-13  Andreas Jaeger  <aj@suse.de>
3632
3633         * config/i386/i386-protos.h: Add prototype for
3634         uno_comparison_operator.
3635
3636 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3637
3638         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
3639         * calls.c (ECF_PURE): New flag.
3640         (emit_call_1): Handle ECF_PURE calls.
3641         (initialize_argument_information): Unset ECF_PURE flag too.
3642         (precompute_arguments): Precompute for ECF_PURE too.
3643         (expand_call): Handle ECF_PURE calls too.
3644         (emit_library_call_value_1): Rename no_queue argument to fn_type,
3645         accept value of 2 as pure function.
3646         (emit_library_call_value, emit_library_call): Rename no_queue argument
3647         to fn_type.
3648         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
3649
3650         * tree.h (DECL_IS_PURE): New macro.
3651         (struct tree_decl): Add pure_flag.
3652         * c-common.c (enum attrs): Add attribute "pure".
3653         (init_attributes): Initialize attribute "pure"
3654         (decl_attributes): Handle attribute "pure".
3655         * extend.texi (Attribute "pure"): Document.
3656         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
3657         in pure function.
3658         (flags_from_decl_or_type): Support attribute "pure".
3659
3660 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
3661
3662         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
3663         the token except for numbers and identifiers.
3664
3665 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
3666
3667         * i386.c (ix86_expand_binary_operator,
3668         ix86_expand_unary_operator): Check no_new_pseudos
3669         instead of reload_in_progress and reload_completed.
3670         (ix86_split_ashldi, ix86_split_ashrdi,
3671         ix86_split_lshrdi): Check no_new_pseudos instead
3672         of reload_completed.
3673
3674 2000-04-12  Jeffrey A Law  (law@cygnus.com)
3675
3676         * function.c (purge_addressof): Unshare any shared rtl created by
3677         purge_addressof and its children.
3678
3679 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
3680
3681         * function.c (aggregate_value_p): VOID_TYPE nodes are never
3682         aggregates.
3683
3684 2000-04-05  Andreas Jaeger  <aj@suse.de>
3685
3686         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
3687         not compiling PIC code, add flags for mabi=64.
3688         (SUBTARGET_CPP_SIZE_SPEC): New.
3689         (SUBTARGET_CPP_SPEC): New.
3690         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
3691         for MIPS/Linux and lots of code needs these defines.
3692
3693 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
3694
3695         * reorg.c (fill_slots_from_thread): Check side_effects_p when
3696         trying the "opposite arithmetic" approach.
3697
3698 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3699
3700         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
3701         (struct sh_args): Add new field force_mem.
3702         (INIT_CUMULATIVE_ARGS): Initialize it.
3703         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
3704
3705 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3706
3707         * calls.c (expand_call): Do not reverse args in "equal from" field.
3708         (emit_library_call_value_1): Emit_libcall_block for const and pure
3709         function.
3710
3711 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3712
3713         * reload1.c (reload_combine): Don't enable optimization for fixed
3714         registers when encountering a BARRIER.
3715
3716 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3717
3718         * builtins.c (expand_builtin_memcmp): Do expansion even with
3719         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
3720
3721         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
3722         stack is propertly aligned; add sanity checking for aligned
3723         stack pointer.
3724         (expand_library_call_value_1): Add sanity checking for aligned
3725         stack pointer.
3726
3727 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
3728
3729         * calls.c (emit_library_call_value_1): Change 3rd arg to
3730         locate_and_pad_parm to disregard the setting of partial.
3731
3732 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3733
3734         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
3735
3736         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
3737         CALL_INSN from the normal case.
3738
3739 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3740
3741         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3742         New global variables.
3743         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
3744         adjustment.
3745         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3746         Declare,
3747         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
3748          TARGET_ADD_ESP_8): New macros.
3749         * i386.md: Add peep2s to convert esp adjustments to push and pop
3750         instructions.
3751         (pushsi_prologue, popsi_epilogue): New patterns.
3752
3753 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3754
3755         * real.c (toe64): Remove stale #endif from the last change.
3756
3757 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
3758
3759         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
3760         * real.c (toe64): Revert previous change.
3761
3762 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3763
3764         * objc/objc-act.c: Include ggc.h.
3765         (objc_tree_index, objc_global_trees): Convert most of the
3766         static tree variables into a static array with previous names
3767         as defines.
3768         (objc_ellipsis_node): New variable.
3769         (lang_init): Call objc_act_parse_init and c_parse_init.
3770         Create objc_ellipsis_node.
3771         (build_selector_translation_table): Use objc_ellipsis_node instead
3772         of (tree)1.
3773         (hack_method_prototype): Likewise.
3774         (get_arg_type_list): Likewise.
3775         (start_method_def): Likewise.
3776         (continue_method_def): Likewise.
3777         (gen_method_decl): Likewise.
3778         (ggc_mark_imp_list): New function.
3779         (ggc_mark_hash_table): New function.
3780         (objc_act_parse_init): New function.
3781         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
3782         * c-parse.in (c_parse_init): For objc add roots of objc specific
3783         local tree variables.
3784         * objc/objc-parse.y: Rebuilt.
3785         * objc/objc-parse.c: Rebuilt.
3786         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
3787
3788 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
3789
3790         * cse.c (delete_trivially_dead_insns): Also delete insns
3791         that copy a register to itself where the destination is
3792         a strict_low_part.
3793
3794 2000-04-11  Richard Henderson  <rth@cygnus.com>
3795
3796         * flow.c (struct propagate_block_info): Add new_dead, new_live.
3797         (propagate_block): Initialize them.  Use them in parallel instead
3798         of one tmp variable, ie revert much of the 0408 and 0407 functional
3799         changes, but keep the structural changes.
3800         (mark_set_regs): Take new_dead from propagate_block_info instead.
3801         (mark_set_1, mark_set_reg): Likewise.
3802         (mark_used_regs): Likewise with new_live.
3803         (mark_used_reg): Likewise.  Revert 0408 change.
3804
3805 2000-04-11  Nick Clifton  <nickc@cygnus.com>
3806
3807         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
3808         restriction.
3809         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
3810
3811 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3812
3813         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
3814         const section to output a CONSTRUCTOR based on the same conditions
3815         used for VAR_DECLs.
3816
3817 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
3818
3819         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
3820         * pa/pa-protos.h (output_call): Add additional argument indicating
3821         if the call is a sibling/tail call.
3822         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
3823         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
3824         (function_arg, function_arg_partial_nregs): Likewise
3825         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
3826         (emit_move_sequence): Zero extend certain constants as needed
3827         for TARGET_64BIT.
3828         (compute_zdepdi_operands, output_64bit_and): New functions.
3829         (output_64bit_ior, function_arg): Likewise.
3830         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
3831         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
3832         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
3833         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
3834         (output_bvb): Likewise.
3835         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
3836         (output_call): New argument 'sibcall'.  Generate sibcall sequences
3837         as needed.
3838         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
3839         (ouput_arg_descriptor): Do not emit argument descriptors for
3840         TARGET_64BIT.
3841         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
3842         defined.
3843         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
3844         (FUNCTION_OK_FOR_SIBALL): Define.
3845         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
3846         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
3847         (CPP_SPEC): Use new spec infrastructure.
3848         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
3849         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
3850         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
3851         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
3852         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
3853         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
3854         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
3855         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
3856         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
3857         (FUNCTION_ARG); Call out to C code.
3858         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
3859         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
3860         (MIN_UNITS_PER_WORD): Likewise.
3861         * pa/pa.md (cmpdi): New expander.
3862         (scc patterns, movstrsi): Not available for TARGET_64BIT.
3863         (64bit conditional arithmetic): New patterns.
3864         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
3865         (movsicc): Not available if modes on all the operands to not match.
3866         (movdicc): New expander and associated patterns.
3867         (64bit branches): New patterns.
3868         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
3869         (pre_ldd, post_std): New patterns.
3870         (64bit addil, load low part): New patterns.
3871         (special movsf constant): Not available for TARGET_64BIT.
3872         (movsf, movdf expanders): Force constants into memory.
3873         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
3874         (64bit movdf/movdi patterns): New patterns.
3875         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
3876         for TARGET_64BIT.
3877         (extendqidi2, extendhidi2, extendsidi2): Similarly.
3878         (adddi3 expander): Allow "arith_operand" for second input.
3879         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
3880         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
3881         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
3882         (muldi3): New expander for TARGET_64BIT.
3883         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
3884         for TARGET_64BIT.
3885         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
3886         patterns for TARGET_64BIT.
3887         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
3888         patterns for TARGET_64BIT.
3889         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
3890         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
3891         (sibcall_epilogue): New expander.
3892         (casesi): Tweak for TARGET_64BIT.
3893         (call expanders): Set & use the outgoing argument pointer.  Use the
3894         64bit call patterns as needed. Add additional arg to output_call.
3895         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
3896         (sibcall, sibcall_internal_symref): New expanders.
3897         (sibcall_value, sibcall_value_internal_symref
3898         (interspace_jump): Turn into an expander + matching patterns.
3899         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
3900         * pa/pa64-regs.h: Eliminate trigraph sequences.
3901         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
3902
3903 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
3904
3905         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
3906         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
3907         cpp_token with cpp_ttype everywhere.
3908         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
3909         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
3910         CPP_BUF_COL.  Line and column numbers are unsigned int, not
3911         long.
3912         * cpplex.c (cpp_buf_line_and_col): Delete.
3913         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
3914         'long lineno' to 'unsigned int lineno'.
3915         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
3916
3917 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3918
3919         * extend.texi: ISO C99 is not a draft anymore.
3920         * invoke.texi: ISO C++ is not a draft anymore.
3921         * cpp.texi: __cplusplus is required by the ISO standard.
3922
3923         * extend.texi (-fthis-is-variable): Undocument.
3924         * flags.h (warn_template_debugging): Remove declaration.
3925         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
3926         -Wenum-clash, -Wtemplate-debugging): Undocument.
3927
3928 2000-04-10  Nick Clifton  <nickc@cygnus.com>
3929
3930         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
3931         integer.
3932         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
3933         integer.
3934         (ARM_SIGN_EXTEND): Use HOST_UINT.
3935         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
3936         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
3937         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
3938         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
3939
3940         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
3941         (arm_gen_constant): Use HOST_UINT.
3942         (arm_canonicalize_constant): Use HOST_UINT.
3943         (arm_reload_in_hi): Use HOST_UINT.
3944         (arm_reload_out_hi): Use HOST_UINT.
3945         (output_multi_immediate): Use HOST_UINT.
3946         (int_log2): Use HOST_UINT.
3947         (arm_poke_function_name): Use HOST_UINT.
3948         (arm_output_epilogue): Use arm_volatile_func().
3949         (output_thumb_prologue): Use arm_strip_name_encoding().
3950
3951 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3952
3953         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
3954         of sequence point problems.
3955
3956 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
3957
3958         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
3959         Recomment.
3960         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
3961
3962 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3963
3964         * sbitmap.h: Whitespace changes and use upper-case macro args.
3965         (struct simple_bitmap_def): All sizes now unsigned.
3966         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
3967         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
3968         (sbitmap_vector_alloc): Parms and local vars now unsigned.
3969         (sbitmap_zero): Cast bzero arg to PTR.
3970         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
3971         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
3972         loop to make structure clearer.
3973         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
3974         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
3975         (sbitmap_a_and_b_or_c): Likewise.
3976         (sbitmap_intersection_of_succs): Minor cleanups.
3977         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
3978         (sbitmap_union_of_preds): Likewise.
3979         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
3980         (debug_sbitmap): New function.
3981
3982         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
3983         * c-typeck.c (convert_for_assignment): Likewise.
3984
3985         * expmed.c (init_expmed): Don't free objects we make.
3986         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
3987
3988         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
3989         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
3990
3991         * gcse.c (expr_hash_table_size): Now unsigned.
3992         (compute_ae_gen): Local variable `i' now unsigned.
3993         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
3994         (compute_transout, hoist_code): Likewise.
3995         (compute_local_properties): Likewise, also hash_table_size.
3996         (alloc_expr_hash_table): N_INSNS now unsigned.
3997         (delete_null_pointer_checks): Mark arg F as unused.
3998
3999         * regrename.c: Minor cleanups, including chang some variables
4000         to unsigned int.
4001
4002 2000-04-10  Neil Booth  <NeilB@earthling.net>
4003
4004         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
4005         than GETC ().
4006         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
4007
4008 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4009
4010         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
4011         __classof__, and __headof__ from the list of gnu keywords.
4012         (-ansi): Remove -foperator-names from list of implied options.
4013         Do not call it ANSI C++.
4014         (-foperator-names): Document as -fno-operator-names.
4015
4016 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
4017
4018         * cpphash.c (timestamp): Delete.
4019         (del_HASHNODE): If type is T_MCONST, free value.cpval.
4020         (special_symbol): Remove unnecessary braces.  Remove
4021         T_VERSION.  Treat T_STDC like T_CONST unless
4022         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
4023         when one is encountered, then convert them into T_MCONST
4024         nodes.
4025         * cppinit.c (builtin_array): version_string is T_MCONST.
4026         __STDC__ has a "1" in its cpval.  Don't have a terminator
4027         entry.  Clean up which entries are dumped.
4028         (initialize_builtins): Only __STDC__ gets the special
4029         -traditional treatment.  Count the length of builtin_array.
4030         Render version_string here.
4031         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
4032         * cpplib.h (struct cpp_reader): Remove timebuf.
4033
4034 2000-04-09  Richard Henderson  <rth@cygnus.com>
4035
4036         * genrecog.c (pred): Update comparison_operator for the unordered
4037         operators.
4038
4039         * config/i386/i386.c (no_comparison_operator): Disallow unordered
4040         operators.
4041         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
4042         (uno_comparison_operator): New.
4043         (put_condition_code): Handle UNORDERED/ORDERED.
4044         (unsigned_comparison): Likewise.
4045         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
4046         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
4047         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
4048         update all callers.  Handle all 8 unordered operators.
4049         (ix86_expand_setcc): Lose the unordered argument, update all callers.
4050         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
4051         * config/i386/i386.h (PREDICATE_CODES): Update.
4052         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
4053         (ix86_expand_branch, ix86_expand_setcc): Update.
4054         * config/i386/i386.md (sunordered, sordered): New.
4055         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
4056         (bunordered, bordered): New.
4057         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
4058         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
4059         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
4060
4061 2000-04-09  Philip Blundell  <philb@gnu.org>
4062
4063         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
4064
4065 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
4066
4067         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
4068         fix_truncxfhi2): New patterns.
4069         * i386.c (output_fix_trunc): Handle converting to HImode.
4070
4071 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
4072
4073         * ssa.c (convert_to_ssa): Eliminate dead code when calling
4074         life_analysis.
4075         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
4076         (for_each_successor_phi): Change parameter to basic_block.
4077         (coalesce_regs_in_successor_phi_nodes): Likewise.
4078         (coalesce_regs_in_copies): Likewise.
4079         (compute_coalesced_reg_partition): Use basic_block instead of index.
4080         * rtl.h (convert_to_ssa): Delete.
4081         (convert_from_ssa): Likewise.
4082         (successor_phi_fn): Likewise.
4083         (for_each_successor_phi): Likewise.
4084         (in_ssa_form): Likewise.
4085         * basic-block.h (convert_to_ssa): Moved from rtl.h.
4086         (convert_from_ssa): Likewise.
4087         (successor_phi_fn): Likewise.
4088         (in_ssa_form): Likewise.
4089         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
4090         * flow.c (calculate_global_regs_live): Pass a basic_block to
4091         for_each_successor_phi.
4092
4093 2000-04-08  Richard Henderson  <rth@cygnus.com>
4094
4095         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
4096         was modified in the current insn.
4097
4098 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
4099
4100         * arm/thumb.md: Delete.
4101         * arm/thumb-protos.h: Delete.
4102
4103 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
4104
4105         Merge changes from merged-arm-thumb-backend-branch onto trunk.
4106
4107         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
4108
4109         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
4110         into branch.
4111
4112         * arm.md (nop): Use the standard RTL expression.  Don't code as a
4113         define_expand.
4114         (*arm_nop, *thumb_nop): Delete.
4115
4116         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
4117         constants.  Use casts instead.
4118         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
4119         output_multi_immediate, arm_poke_function_name): Likewise.
4120         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
4121         MASK_RETURN_ADDDR): Likewise.
4122
4123         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
4124
4125         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
4126         into branch.
4127
4128         * arm.md (eh_epilogue): New function.
4129         * arm.h (struct machine_function): Move to here ...
4130         * arm.c: ... from here.
4131         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
4132         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
4133         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
4134
4135         2000-03-30  Nick Clifton  <nickc@cygnus.com>
4136
4137         * config/arm/semi.h (ASM_SPEC): Restore definition.
4138         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
4139
4140         * config/arm/elf.h (ASM_SPEC): Restore definition.
4141         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
4142
4143         * config/arm/arm.h (ASM_SPEC): Remove definition.
4144         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
4145
4146         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
4147
4148         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
4149
4150         2000-03-24  Nick Clifton  <nickc@cygnus.com>
4151
4152         Various formating tidyups, elimination of compile time
4153         warnings and synchronisation with internal sources:
4154
4155         * config/arm/arm-protos.h (assemble_align): Add prototype.
4156         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
4157         (gen_comapre_reg): Rename to arm_gen_compare_reg.
4158         (arm_return_addr_rtx): Rename to arm_return_addr.
4159
4160         * config/arm/arm.c: Include except.h.
4161         Define shorter typenames for strict minipool_node and struct
4162         minipool_fix.
4163         (arm_return_in_memory): For WinCE return all structures <= 32 bits
4164         in memory.
4165         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
4166         (gen_comapre_reg): Rename to arm_gen_compare_reg.
4167
4168         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
4169         already defined.
4170         (ASM_SPEC): Define if not already defined.
4171         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
4172
4173         * config/arm/arm.md: Rename references to gen_rotated_half_load to
4174         arm_gen_rotated_half_load, and references to gen_comapre_reg to
4175         arm_gen_compare_reg.
4176         (indirect_jump):  Only accept register operands.
4177         (load_indirect_jump): Keep this pattern since combine can generate
4178         it.
4179
4180         * config/arm/coff.h: Include aout.h.
4181         (MULTILIB_DEFAULTS): Only define if not already defined.
4182
4183         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
4184         into arm.h (so that COFF ports can support thumb based aliases).
4185         (ASM_SPEC): Move definition into arm.h
4186
4187         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
4188         redundant apcs spec.
4189         (ASM_SPEC): Move definition to arm.h
4190
4191         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
4192
4193         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
4194         for entries in the .bss section
4195
4196         2000-03-23  Nick Clifton  <nickc@cygnus.com>
4197
4198         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
4199         to thumb_far_jump_used_p.
4200
4201         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
4202         single integer parameter.
4203
4204         * config/arm/arm.c (struct machine_function): Add two new
4205         fields, 'far_jump_used' and 'arg_pointer_live'.
4206         (thumb_far_jump_used_p): Once the decision has been made that
4207         far jumps might be used, always return true.
4208         If being called from the initial elimination offset macro then
4209         do not bother to perform the test if the arg pointer is not
4210         being used.
4211         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
4212         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
4213
4214         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
4215
4216         * arm.c (output_return_instruction): Handle more cases where we can
4217         return from a function with an ldr instruction.
4218         (arm_output_epilogue): Likewise.
4219
4220         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
4221         if we need to push a large stack frame and there are no callee-saved
4222         registers.
4223
4224         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
4225         in ARM code if the frame pointer has been eliminated.
4226
4227         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
4228         unspec_volatile arguments to avoid duplicates.
4229         (consttable_1, consttable_2): Fixes for big-endian mode.
4230
4231         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
4232         as appropriate.
4233
4234         Re-write constant pool code.
4235         * arm.c (minipool_node, minipool_fix): New types.
4236         (minifix): Delete type.
4237         (arm_add_minipool_constant): Delete.
4238         (arm_compute_minipool_offsets, arm_find_barrier,
4239         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
4240         (get_jump_table_size): Now returns HOST_WIDE_INT.
4241         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
4242         functions.
4243         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
4244         (assign_minipool_offsets, arm_print_value): Likewise.
4245         (dump_minipool): Rewrite.
4246         (arm_barrier_cost): New function.
4247         (create_fix_barrier): New function.
4248         (push_minipool_barrier): New function.
4249         (push_minipool_fix): Record additional information about the fixup
4250         required.
4251         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
4252         check the mode of what needs fixing.
4253         (arm_reorg): Rewrite.
4254
4255         2000-03-08  Nick Clifton  <nickc@cygnus.com>
4256
4257         * config/arm/arm.md (indirect_jump): Force constant addresses into
4258         a register.
4259
4260         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
4261
4262         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
4263
4264         2000-02-24  Nick Clifton  <nickc@cygnus.com>
4265
4266         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
4267         adjust is word aligned.
4268         (thumb_expand_epilogue): Make sure that stack adjust is word
4269         aligned.
4270
4271         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
4272
4273         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
4274
4275         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
4276         pointer relative addresses.
4277
4278         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
4279
4280         * arm.c (find_barrier): Find the last barrier within the allowed
4281         range.
4282
4283         2000-02-09  Nick Clifton  <nickc@cygnus.com>
4284
4285         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
4286
4287         2000-02-09  Nick Clifton  <nickc@cygnus.com>
4288
4289         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
4290         ARM_FUNCTION_PROFILER.
4291
4292         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
4293         ARM_FUNCTION_PROFILER.
4294
4295         * config/arm/linux-oldld.h: Imported from mainline sources.
4296
4297         2000-02-07  Nick Clifton  <nickc@cygnus.com>
4298
4299         * config/arm/lib1funcs.asm: Merge in thumb functions from
4300         lib1thumb.asm.
4301
4302         * config/arm/lib1thumb.asm: Delete.
4303
4304         2000-02-04  Nick Clifton  <nickc@cygnus.com>
4305
4306         * config/arm/arm.c: Sychronised with current Red hat local
4307         sources.
4308         * config/arm/arm.h: Ditto.
4309         * config/arm/arm-protos.h: Ditto.
4310
4311         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
4312
4313         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
4314
4315         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
4316         byte stores.
4317
4318         2000-02-02  Nick Clifton  <nickc@cygnus.com>
4319
4320         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
4321
4322         * config/arm/arm.md (epilogue): Fix rtl checking abort because
4323         (return) was emited using an emit_insn() call.
4324
4325         2000-01-31  Nick Clifton  <nickc@cygnus.com>
4326
4327         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
4328         thumb stack frame.
4329         (thumb_exit): Move frame pointer back into hard frame pointer
4330         register if backtracing is being used.
4331
4332         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
4333
4334         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
4335         into branch.
4336
4337         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
4338
4339         * config/arm/arm.md (neg_pool_offset): Provide default for new
4340         attribute.
4341         (arm_movsi_insn): Add neg_pool_offset attribute.
4342         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
4343         rtx for the insn that starts the scan and an unsigned long for its
4344         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
4345         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
4346         instructions in *PINSERTED.
4347         (struct minipool_fixup): Add MIN_ADDRESS elt.
4348         (sort_fixups): Compute it.
4349         (arm_reorg): Changes to support inserting pools before the insn to be
4350         fixed up.
4351
4352         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
4353
4354         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
4355         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
4356         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
4357
4358         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
4359
4360         * config/arm/semi.h (TARGET_VERSION): Do not define if already
4361         defined.
4362         (TARGET_DEFAULT): Do not define if already defined.
4363
4364         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
4365
4366         * config/arm/arm.md (anddi3): Allow disjoint source operands.
4367         (iordi3): Allow disjoint source operands.
4368         (xordi3): Allow disjoint source operands.
4369         (negdi2): Permit construction for ARM and Thumb.
4370         (arm_negdi2): Renamed version of old negdi2 pattern.
4371         (thumb_negdi2): New pattern: Only permit non-overlapping
4372         source and destination.
4373
4374         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
4375
4376         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
4377         scratch low register so that it will not be deleted.
4378
4379         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
4380
4381         * config/arm/pe.h (ARM_PE): Define.
4382
4383         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
4384         interfacearm attribute if this is a PE toolchain.
4385         (output_return_instruction): Do not emit anything if the function
4386         has the naked attribute set.
4387         (is_called_in_ARM_mode): If the function has the interfacearm
4388         attribute then return true.
4389         (thumb_expand_prologue): Do not generate a prologue for naked
4390         functions.
4391         (thumb_expand_epilogue): Do not generate an epilogie for a naked
4392         function.
4393         (output_thumb_prologue): Do not bother if the function is naked.
4394         Strip PE encoding from function name before emitting.
4395
4396         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
4397
4398         * arm.md (pic_load_addr): Fix constraints.
4399
4400         * arm.md (casesi_insn): Fix mis-applied patch.
4401
4402         * arm.md ("core" function unit): Add rules for single- and
4403         multi-cycle insns.
4404         (All TARGET_THUMB patterns): Add "type" attribute information
4405         where needed.
4406         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
4407         the following insn is a CALL.
4408
4409         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
4410         pointer.
4411         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
4412         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
4413         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
4414
4415         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
4416
4417         * config/arm/linux-gas.h: oops - this file was missed out when the
4418         branch was created...
4419
4420         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
4421
4422         * thumb.c: Deleted.  Move contents to ...
4423         * arm.c: ... here.
4424         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
4425         rule for thumb.o
4426         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
4427         * configure: Regen.
4428
4429         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
4430         declare a prototype for asm_output_align();
4431
4432         * arm.c (thumb_condition_code): Delete.
4433         (arm_print_operand): Always use arm_condition_code array.
4434
4435         * arm.c (thumb_return_addr_rtx): Delete.
4436         (arm_save_machine_status, arm_restore_machine_status): Delete.
4437         (arm_init_machine_status, arm_mark_machine_status): New functions.
4438         (arm_init_expanders): Update accordingly.
4439         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
4440         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
4441         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
4442
4443         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
4444
4445         * configure.in : Fix arm-*-aout target to use new t-arm-aout
4446         script.
4447         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
4448         targets.
4449
4450         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
4451
4452         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
4453         stack backtrace structure.
4454
4455         * config/arm/arm-protos.h: Add prototypes for functions defined in
4456         arm/pe.h.
4457
4458         * config/arm/arm.c (arm_override_options): Fix selection of
4459         attributes of default processor.
4460
4461         * config/arm/coff.h: Delete needless #include.
4462
4463         * config/arm/pe.c: Delete unused code.
4464
4465         * config/arm/pe.h (CPP_DEFINES): Delete
4466         (SUBTARGET_CPP_SPEC): Define.
4467         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
4468
4469         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
4470
4471         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
4472
4473         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
4474         updated.
4475         (CAN_DEBUG_WITHOUT_FP): Define.
4476         (FIXED_REGISTERS): Make r11 call-saved.
4477         (CALL_USED_REGISTERS): Likewise.
4478         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
4479         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
4480         frame-pointer is required.
4481         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
4482         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
4483         if the target normally needs a stack frame in non-leaf functions.
4484         (use_return_insn): Correct logic for determining when a return
4485         instruction can be used.
4486         (output_return_instruction): Handle the frame-pointer register as
4487         a normal register when not TARGET_APCS_FRAME.
4488         (arm_output_prologue): Likewise.
4489         (arm_output_epilogue): Likewise.
4490         (output_func_epilogue): Likewise.
4491         (arm_expand_prologue): Likewise.
4492         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
4493
4494         * arm.c (use_return_insn): No need to check floating point regs if
4495         TARGET_SOFT_FLOAT.
4496         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
4497         the code of value stored in the minipool array.
4498         (arm_add_minipool_constant): Likewise.
4499
4500 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4501
4502         * basic-block.h (conflict_graph_enum_fn): K&R fix.
4503
4504 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4505
4506         * tree.c (tree_expr_nonnegative_p): New function.
4507
4508         * tree.h (tree_expr_nonnegative_p): Declare.
4509
4510         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
4511         elide some sign_compare warnings.
4512         (build_conditional_expr): Likewise.
4513
4514 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
4515
4516         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
4517
4518         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
4519         * i386.c (print_operand): Use the proper suffix for a 387 HImode
4520         operand.  Abort if a 387 operand has an unsupported size.
4521
4522 2000-04-08  Neil Booth  <NeilB@earthling.net>
4523
4524         * cppexp.c (parse_charconst): Null does not end character
4525         constants.
4526         * cppinit.c (ISTABLE): Null character handled as whitespace.
4527         * cpplex.c (null_warning):  new function.
4528         (skip_string): Emit warning if nulls encountered.
4529         (_cpp_skip_hspace): Emit warning if nulls encountered.
4530         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
4531         them.
4532         * cpp.texi: Update.
4533
4534 2000-04-07  Richard Henderson  <rth@cygnus.com>
4535
4536         * flow.c (loop_depth): Remove.
4537         (reg_next_use, cc0_live, mem_set_list): Replace with ...
4538         (struct propagate_block_info): New.
4539         (life_analysis): Don't allocate reg_next_use.
4540         (propagate_block_delete_insn): Break out of propagate_block.
4541         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
4542         (propagate_block_delete_libcall): Likewise.
4543         (propagate_block): Create a propagate_block_info struct to pass
4544         to subroutines.  Allocate one not two temporary regsets.  Don't
4545         clobber memory for const calls.  Look for clobbers in
4546         CALL_INSN_FUNCTION_USAGE.
4547         (mark_set_regs): Recognize COND_EXEC.
4548         (mark_set_reg): Break out of mark_set_1.
4549         (mark_used_reg): Break out of mark_used_regs.
4550         (mark_used_regs): Recognize COND_EXEC.
4551         (insn_dead_p): Use propagate_block_info struct.
4552         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
4553         (find_auto_inc, try_pre_increment_1): Likewise.
4554         (print_rtl_with_bb): Dump regs live at end too.
4555         (count_reg_sets_1): Pass in loop_depth.
4556         (count_reg_sets, count_reg_references): Likewise.
4557         (recompute_reg_usage): Provide it.
4558
4559 2000-04-07  Richard Henderson  <rth@cygnus.com>
4560
4561         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
4562         not the raw files.
4563
4564 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
4565
4566         * cpplib.c (do_elif): Skip the rest of the line if we're
4567         not going to bother evaluating it.
4568         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
4569         to avoid pointless calls to the lexer.
4570
4571 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
4572
4573         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
4574
4575 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
4576
4577         * calls.c (expand_call): emit_queue if we're trying a sibcall.
4578
4579 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
4580
4581         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
4582
4583 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
4584
4585         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
4586         crtend so they can be multilibbed.
4587         (STAGESTUFF): Remove s-crt and s-crtS.
4588
4589 2000-04-07  Richard Henderson  <rth@cygnus.com>
4590
4591         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
4592         if we discover we need a pseudo and no_new_pseudos is true.
4593         * config/alpha/alpha.md (ne:DI insn): New.
4594         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
4595
4596 2000-04-07  Richard Henderson  <rth@cygnus.com>
4597
4598         * rtl.def (COND_EXEC): New.
4599         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
4600         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
4601
4602         * genconfig.c (have_cond_arith_flag): Remove.
4603         (have_cond_exec_flag): New.
4604         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
4605         (main): Print HAVE_conditional_execution.
4606
4607         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
4608         (sched_analyze_insn, print_pattern): Likewise.
4609         * reload.c (find_equiv_reg): Likewise.
4610         * rtlanal.c (reg_referenced_p): Likewise.
4611         (note_stores, dead_or_set_regno_p): Likewise.
4612         (reg_overlap_mentioned_p): Rewrite to use a switch.
4613
4614         * ggc.h (struct rtx_def): Forward declare.
4615
4616         * print-rtl.c (debug_rtx_range): New.
4617         * rtl.h (debug_rtx_range): Declare.
4618
4619         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
4620
4621         * gcse.c (gcse_main): Don't rebuild the CFG here.
4622         (delete_null_pointer_checks): Likewise.
4623         * ssa.c (convert_to_ssa): Likewise.
4624         * toplev.c (rest_of_compilation): Do it here instead.  Combine
4625         sequential calls to TIMEVAR.  Consistently use `insns' instead of
4626         `get_insns()'.  Always split insns after reload when optimizing.
4627
4628         * basic-block.h (merge_blocks_nomove): Declare.
4629         (tidy_fallthru_edge): Declare.
4630         * flow.c (merge_blocks_nomove): Document as merging into previous
4631         blocks.  Remove cruft from between blocks; remove all edges out of A.
4632         (tidy_fallthru_edge): Export.
4633
4634 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4635
4636         * ssa.c (compute_conservative_reg_partition): Declare with
4637         void arguments.
4638         * toplev.c (clean_dump_file): Remove previously-deleted function
4639         inadvertantly merged back in.
4640         * conflict.c (conflict_graph_add): Use a single call to
4641         htab_find_slot to look up and insert.
4642
4643 2000-04-06  Richard Henderson  <rth@cygnus.com>
4644
4645         * genrecog.c (*): Rename _last_insn to last_insn.
4646         (make_insn_sequence): Set the position of the peephole2 C test
4647         to be at the last insn.
4648
4649 2000-04-06  Richard Henderson  <rth@cygnus.com>
4650
4651         * flow.c (compute_flow_dominators): Free worklist.
4652
4653 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
4654
4655         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
4656
4657 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
4658
4659         * rtl.h (INSN_P): New macro.
4660         (successor_phi_fn): New typedef.
4661         (for_each_successor_phi): New prototype.
4662         (in_ssa_form): New variable.
4663         (PHI_NODE_P): Likewise.
4664         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
4665         phi nodes in successors.
4666         (mark_used_regs): Add PHI case.
4667         (set_phi_alternative_reg): New function.
4668         (life_analysis): Assert that dead code elimination is not selected
4669         when in SSA form.
4670         * toplev.c (to_ssa_time): New variable.
4671         (from_ssa_time): Likewise.
4672         (compile_file): Zero to_ssa_time and from_ssa_time.
4673         Print time to convert to and from SSA.
4674         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
4675         (print_time): Compute percent fraction as integer.
4676         * ssa.c (PHI_NODE_P): Moved to rtl.h.
4677         (convert_to_ssa): Check if we're already in SSA.
4678         Don't eliminate dead code in life_analysis.
4679         Rerun flow and life analysis at bottom.
4680         (eliminate_phi): Use canonical regnos when adding nodes.
4681         (mark_reg_in_phi): New function.
4682         (mark_phi_and_copy_regs): Likewise.
4683         (convert_from_ssa): Rerun life analysis at top.
4684         Use coalesced partition.
4685         Check for removing a phi node at the end of the block.
4686         (compute_coalesced_reg_partition): New function.
4687         (coalesce_regs_in_copies): Likewise.
4688         (coalesce_reg_in_phi): Likewise.
4689         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
4690         (for_each_successor_phi): Likewise.
4691         (rename_context): New struct.
4692         (rename_block): Use a rename_context with rename_insn_1.  When
4693         renaming sets of a subreg, emit a copy of the entire reg first.
4694         (rename_insn_1): Treat data as a rename_context *.  Save current
4695         insn in set_data.
4696         (rename_set_data): Add field set_insn.
4697         * Makefile.in (HASHTAB_H): Move up in file.
4698         (OBSTACK_H): New macro.
4699         (collect2.o): Use OBSTACK_H in dependencies.
4700         (sdbout.o): Likewise.
4701         (emit-rtl.o): Likewise.
4702         (simplify-rtx.o): Likewise.
4703         (fix-header.o): Likewise.
4704         (OBJS): Add conflict.o.
4705         (conflict.o): New rule.
4706         * basic-block.h: Include partition.h.
4707         (conflict_graph): New typedef.
4708         (conflict_graph_enum_fn): Likewise.
4709         (conflict_graph_new): New prototype.
4710         (conflict_graph_delete): Likewise.
4711         (conflict_graph_add): Likewise.
4712         (conflict_graph_conflict_p): Likewise.
4713         (conflict_graph_enum): Likewise.
4714         (conflict_graph_merge_regs): Likewise.
4715         (conflict_graph_print): Likewise.
4716         (conflict_graph_compute): Likewise.
4717         * conflict.c: New file.
4718
4719 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
4720
4721         * tlink.c (read_repo_files): Don't look for .rpo info for
4722         linker flags.
4723
4724 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4725
4726         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
4727
4728 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4729
4730         * config/sh/lib1funcs.asm (___udivsi3_i4):
4731         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
4732         only depends on FMOVD_WORKS.
4733
4734 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4735
4736         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
4737         make double constant 8-byte aligned.
4738
4739 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
4740
4741         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
4742         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
4743         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
4744         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
4745         Accept storing GENERAL_REGS into offsetable memory.
4746         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
4747         building a TFmode constant other than 0.0L into GENERAL_REGS.
4748
4749 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
4750
4751         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
4752
4753 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
4754
4755         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
4756         (macro_cleanup): No need to cast pbuf->macro.
4757         (collect_expansion): Use _cpp_get_define_token.  Goto done if
4758         it returns VSPACE.  Remove check for trailing space after
4759         CPP_COMMENT.
4760         (_cpp_create_definition): Don't diddle flags here.  Return
4761         directly on error.
4762         (unsafe_chars): Handle c1 being EOF.
4763         (push_macro_expansion): Use unsafe_chars for both accidental-paste
4764         checks.  Don't push the buffer till after we're done with
4765         them.
4766         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
4767         (PEEKN, FORWARD, GETC, PEEKC): Use them.
4768         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
4769         appropriately.
4770         (_cpp_parse_assertion): Don't NUL terminate.
4771         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
4772         hspace before calling _cpp_parse_assertion.  Remove all sets
4773         of only_seen_white. Treat '\f' as hspace.  Don't do anything
4774         special with '\n' here.
4775         (maybe_macroexpand): Handle T_EMPTY hash entries without
4776         pushing a buffer at all.
4777         (cpp_get_token): Handle clearing only_seen_white here.  Handle
4778         incrementing the line number here.  Clear
4779         potential_control_macro as well as only_seen_white, if
4780         appropriate.
4781         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
4782         (_cpp_get_define_token): New function, basically like
4783         _cpp_get_directive_token was but doesn't eat horizontal space.
4784         Don't do anything with only_seen_white here.
4785         (_cpp_get_directive_token): Just call _cpp_get_define_token
4786         repeatedly till it returns non-hspace.
4787
4788         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
4789         (conditional_skip, skip_if_group): Return int.
4790         (DIRECTIVE_TABLE): Change origin of all conditional directives
4791         to "COND".
4792         (TRAD_DIRECT_P): New macro.
4793         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
4794         an error for a bogus directive, unless -lang-asm.  Use
4795         TRAD_DIRECT_P. Loop calling handler functions till one returns
4796         zero.
4797         (get_macro_name): Don't diddle flags here.
4798         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
4799         Create T_EMPTY nodes for #define macro /* nothing */.
4800         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
4801         Use hp->name when calling pass_thru_directive.
4802         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
4803         Return the result of conditional_skip and/or skip_if_group.
4804         Don't call _cpp_output_line_command.
4805         (consider_directive_while_skipping): Use _cpp_get_directive_token.
4806         Issue -Wtraditional warnings as appropriate.  Don't complain
4807         about unrecognized directives.  If we are to stop skipping,
4808         return the number of the directive that ended the skip.
4809         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
4810         expansion and line commands while skipping.  Return the result
4811         of consider_directive_while_skipping, if nonzero.
4812         (do_endif): Just set potential_control_macro here.
4813         (validate_else): Use _cpp_get_directive_token.
4814         (do_assert, do_unassert): Don't save pointers into the
4815         token_buffer across calls to the lexer.  Use
4816         _cpp_get_directive_token.
4817
4818         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
4819         pointer, not an offset.  Replace 'data', which was a generic
4820         pointer, with 'macro', which points to a struct hashnode.
4821         (cpp_reader): Add 'potential_control_macro' pointer.
4822         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
4823         (CPP_BUF_GET, CPP_FORWARD): Delete.
4824         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
4825         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
4826         ACTIVE_MARK_P): Update.
4827         (_cpp_get_define_token): New internal function.
4828         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
4829
4830 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
4831
4832         * configure.in: And here.
4833         * configure: Regenerate.
4834         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
4835         --enable-libstdcxx-v3 is passed at configure time.
4836         * config.h.in: Regenerate.
4837
4838 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
4839
4840         * final.c (final): Use xcalloc to allocate line_note_exists.
4841         * function.c (free_after_compilation): Free the temp_slots.
4842         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
4843         (combine_temp_slot): Free temp_slots when they get combined.
4844         (purge_addressof): Fix typo in comment.
4845         * stmt.c (mark_goto_fixup): Mark the fixup itself.
4846         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
4847
4848         * ggc.h: Include varray.h.
4849         (ggc_pending_trees): Declare.
4850         (ggc_mark_tree_children): Remove declaration.
4851         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
4852         * ggc-common.c (ggc_pending_trees): New variable.
4853         (ggc_mark_roots): Call ggc_mark_trees.
4854         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
4855         the ggc_pending_trees.
4856         * Makefile.in (GGC_H): New variable.  Use it throughout in place
4857         of ggc.h.
4858
4859 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4860
4861         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
4862         GET_MODE_SIZE.
4863
4864 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4865
4866         * sh.c (sh_insn_length_adjustment): New function.
4867         * sh-protos.h (sh_insn_length_adjustment): Declare.
4868         * sh.h (ADJUST_INSN_LENGTH): Use it.
4869
4870 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
4871
4872         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
4873         from the insn where REG_RETVAL is added.
4874         (emit_no_conflict_block): Ditto.
4875
4876         * md.texi (Standard Names): Clarify when movX is needed.
4877
4878         * combine.c (simplify_comparison) [MINUS]: Do not replace
4879         all (op (minus A B) 0) with (op A B).
4880
4881 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
4882                           J"orn Rennecke <amylaar@cygnus.co.uk>
4883
4884         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
4885         (block_lump_real): Likewise.
4886
4887 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
4888
4889         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
4890         remaining non-zero debugging masks.
4891
4892 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
4893
4894         * basic-block.h (verify_flow_info): Declare.
4895         (flow_loop_outside_edge_p): Declare.
4896         * flow.c (verify_flow_info): Remove declaration.
4897         (clear_log_links, flow_loop_outside_edge_p): Likewise.
4898
4899 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
4900
4901         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
4902         not C++ comments.
4903
4904 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
4905
4906         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
4907         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
4908         seqdi_zero_trunc+1): Allow splits only if registers are
4909         different.
4910
4911 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
4912
4913         * acconfig.h: Add HAVE_GAS_HIDDEN.
4914         * config.in: Regenerated.
4915         * configure.in: Add test for .hidden pseudo-op in gas.
4916         * configure: Regenerated.
4917         * crtstuff.c: Include auto-host.h.
4918         Emit additional .hidden pseudo-op for __dso_handle if the
4919         assembler knows about it.
4920
4921 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
4922
4923         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
4924         before freeing argnames.
4925         * cpplib.c (do_ifndef): Cast return value of xstrdup.
4926
4927 2000-04-05  Michael Meissner  <meissner@redhat.com>
4928
4929         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
4930         Walton <jonboy@gordian.com> to make memory references with update
4931         work wtih -mregnames.
4932
4933 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4934
4935         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
4936         (regrename_optimize): Rename variables `def_uses' and
4937         `ext_basic_blocks' to avoid conflicts with similarly named
4938         typedefs in traditional C.
4939
4940         * calls.c (initialize_argument_information): Fix typo in previous
4941         change.
4942
4943 2000-04-04  Richard Henderson  <rth@cygnus.com>
4944
4945         * regrename.c (consider_available): Test fixed_regs not
4946         PIC_OFFSET_TABLE_REGNUM.
4947
4948 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
4949
4950         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
4951         crtend.
4952         (CRTSTUFF_T_CFLAGS_S): Delete definition.
4953         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
4954         (ENDFILE_LINUX_SPEC): Always use crtend.
4955         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
4956         (powerpc-*-linux-gnu): Likewise.
4957         * configure: Regenerate.
4958
4959         * config/rs6000/eabi.h: Don't include sysv4.h.
4960         (MULTILIB_DEFAULTS): Don't define.
4961         * config/rs6000/eabiaix.h: Don't include eabi.h.
4962         * config/rs6000/eabile.h: Delete.
4963         * config/rs6000/eabilesim.h: Delete.
4964         * config/rs6000/eabisim.h: Don't include eabi.h.
4965         * config/rs6000/linux.h: Don't include sysv4.h.
4966         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
4967         (MULTILIB_DEFAULTS): Don't redefine.
4968         * config/rs6000/rtems.h: Don't include eabi.h.
4969         * config/rs6000/sol2.h: Don't include sysv4le.h.
4970         * config/rs6000/sysv4le.h: Don't include sysv4.h.
4971         * config/rs6000/t-ppc: Delete.
4972         * config/rs6000/t-ppcgas: Correct comment.
4973         * config/rs6000/t-ppcos: Correct comment.  Don't build
4974         multilibs for -fPIC, rather use -fPIC -mstrict-align
4975         as default.
4976         * config/rs6000/t-ppc: Delete.
4977         * config/rs6000/vxppc.h: Don't include sysv4.h.
4978         * config/rs6000/vxppcle.h: Delete.
4979         * configure.in: Use multiple header files for p2pc ELF targets
4980         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
4981         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
4982         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
4983         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
4984         always available for these platforms.
4985
4986 2000-04-04  Richard Henderson  <rth@cygnus.com>
4987
4988         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
4989
4990 2000-04-04  Stan Cox  <scox@cygnus.com>
4991
4992         * Makefile.in: Add rules for regrename.o
4993         * regrename.c: New file.
4994         * rtl.h (regrename_optimize): Add prototype.
4995         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
4996         (compile_file, decode_d_option): Add support for -frename-registers.
4997         (rest_of_compilation): Call regrename_optimize.
4998         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
4999         New macros.
5000
5001 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5002
5003         * Makefile (gccbug): New target.
5004         (doc): Depend on it.
5005         * gcc.texi (Bugs): Link subnodes.
5006         (gccbug): New node.
5007         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
5008         Document severities, priorities, and classes in bug form.
5009
5010 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
5011
5012         * cpplex.c (trigraph_map, speccase): Combine into single
5013         table, chartab.
5014         (NORMAL, NONTRI): New macros.
5015         (_cpp_read_and_prescan): Change to use unified table.  Use
5016         is_hspace to test for whitespace.
5017
5018         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
5019         definition that doesn't provoke the "empty body in an
5020         if-statement" warning.
5021
5022 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
5023
5024         * builtins.c (expand_builtin_strlen): Force the source to
5025         be a memory address.
5026
5027 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5028
5029         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
5030
5031 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5032
5033         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
5034          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
5035         (ECF_IS_CONST): Rename to ECF_CONST.
5036         (special_function_p): Make static, change interface.
5037         (flags_from_decl_or_type, try_to_integrate): Break out from ...
5038         (expand_call) ... here; convert number of variables to flags.
5039         (emit_library_call_vlue_1): Likewise.
5040         (setjmp_call_p): New function.
5041         (initialize_argument_information): Accepts flags as argument;
5042         return flags.
5043         (precompute_arguments): Likewise.
5044         * tree.h (special_function_p): Remove.
5045         (setjmp_call_p): Add prototype.
5046
5047 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
5048
5049         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
5050         so that addresses are offsetable by up to 16 bytes.
5051         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
5052         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
5053         offsetable.
5054
5055         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
5056         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
5057         (movsf): Don't force any constant to memory if target is integer
5058         hard register.
5059         Move fp_zero_operand check below the const0_rtx check.
5060         (movtf): Likewise. Also allow fp_zero_operand for stores into
5061         memory.
5062         (movdf): Likewise. Also allow fp_zero_operand for stores into
5063         memory and into integer hard registers.
5064         (clear_df, clear_dfp, movdf_const_intreg_sp32,
5065         movdf_const_intreg_sp64): Remove.
5066         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
5067         conditions.
5068         (movdf_no_e_insn_v9_sp32): New pattern.
5069         (movdf_insn_v9only): Remove.
5070         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
5071         (movdf_insn_sp64): Remove.
5072         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
5073         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
5074         (following splits): Rewrite conditions. Add two new splits
5075         for storing 0.0 into memory and registers.
5076         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
5077         (movtf_insn_sp32): Redo constraints and conditions.
5078         (movtf_insn_vis_sp32): New pattern.
5079         (movtf_no_e_insn_sp32): Redo constraints and conditions.
5080         (movtf_insn_hq_sp64): Likewise.
5081         (movtf_insn_hq_vis_sp64): New pattern.
5082         (movtf_insn_sp64): Redo constraints and conditions.
5083         (movtf_insn_vis_sp64): New pattern.
5084         (movtf_no_e_insn_sp64): Redo constraints and conditions.
5085         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
5086         or memory.
5087         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
5088         -mvis or -m64 to take down the number of various reload patterns.
5089
5090 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
5091
5092         * pa/pa-64.h: New file.
5093         * pa/pa64-regs.h: New file.
5094         * pa/pa64-start.h: New file.
5095         * pa/t-pa64: New file.
5096         * pa/xm-pa64hpux.h: New file.
5097
5098 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5099
5100         * sparc.c (output_restore_regs): Prototype.
5101         (sparc_emit_float_lib_cmp): Constification.
5102
5103         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
5104
5105         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
5106         Prototype.
5107
5108         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
5109         (get_value_hash, hash_rtx): Likewise.
5110
5111         * ssa.c (compute_conservative_reg_partition): Prototype.
5112
5113         * tree.c (mark_hash_entry): Prototype.
5114
5115 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
5116
5117         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
5118         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
5119         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
5120
5121         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
5122         * objc/lang-specs.h: Likewise.
5123
5124 2000-04-03  Neil Booth  <NeilB@earthling.net>
5125
5126         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
5127         and SYNTAX_ERROR2. Replace `' in messages with ''.
5128         (op_to_str): Make re-entrant.
5129         (_cpp_parse_expr): Implement new error macros. Use | rather
5130         than || to logically or 2 boolean integers.  Simply expression
5131         checking we have a left operand iff needed.
5132
5133 2000-04-03  Nick Clifton  <nickc@cygnus.com>
5134
5135         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
5136
5137 2000-04-03  Philip Blundell  <philb@gnu.org>
5138
5139         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
5140
5141 2000-04-03  Felix Lee  <flee@cygnus.com>
5142
5143         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
5144         (run_shell): Use it.
5145
5146 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
5147
5148         * Makefile.in (stmp-int-hdrs): Make include subdir here...
5149         (stmp-fixproto): ...rather than here.
5150
5151 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
5152
5153         * pa.c (print_operand): Compute 'base' only inside the code paths
5154         that use it.
5155
5156 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
5157
5158         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
5159         CEIL_DIV_EXPR.
5160
5161 2000-04-03  Philipp Thomas  <pthomas@suse.de>
5162
5163         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
5164
5165 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
5166
5167         * Makefile.in (alias.o): Depend on $(TREE_H).
5168
5169 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
5170
5171         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
5172         processing C++.
5173         * cpplib.c (_cpp_handle_directive): Improve warnings for
5174         traditional C and indented directives.
5175
5176         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
5177         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
5178         fixinc/inclhack.def: Indent the # of #include_next one space.
5179         * cp/rtti.c: Un-indent #if and #endif.
5180
5181         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
5182         syntax error, but an error has already been printed.
5183         * cpplex.c (_cpp_parse_assertion): Give a more specific error
5184         message when called with nothing remaining on the line.
5185         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
5186         OTHER token, not an ASSERTION.
5187         * cpplib.c (do_assert): When we create a 'base' node, clear
5188         its aschain pointer.
5189
5190 2000-04-02  Neil Booth <NeilB@earthling.net>
5191
5192         * cppexp.c:  New typedef op_t.  struct operation and struct
5193         token updated to use it.
5194         (op_to_str): New function.
5195         (_cpp_parse_expr): Error messages modified to use op_to_str.
5196
5197 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5198
5199         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
5200         before checking MUST_PASS_IN_STACK.
5201
5202 2000-04-02  Neil Booth <NeilB@earthling.net>
5203
5204         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
5205         flags and initial priority into a single constant.  New
5206         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
5207         (_parse_cpp_expr): Implement new constants.  Take left operand
5208         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
5209         parse indicated by reducing FINISHED token.  Remove new lines
5210         from cpp_error messages.
5211
5212 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
5213
5214         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
5215         permanent obstack.
5216
5217 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
5218
5219         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
5220         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
5221         the strings and function names on the fly.  Take the #sccs
5222         entry out of the table if SCCS_DIRECTIVE is not defined.
5223         (_cpp_handle_directive): Decide if the # was at the beginning
5224         of the line here.  Issue -pedantic warnings for extended
5225         directives here.  Warn about K+R directives with the #
5226         indented, and C89/extended directives with the # not indented,
5227         here.
5228         (do_import, do_include_next, do_warning, do_ident, do_sccs,
5229         do_assert, do_unassert): Don't issue pedantic warning here.
5230
5231         * cpphash.h: Add CPP_WTRADITIONAL macro.
5232         * cpplib.h (struct cpp_options): Rename warn_stringify to
5233         warn_traditional; update comments.
5234         * cppinit.c (handle_option): Set warn_traditional not
5235         warn_stringify.
5236         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
5237         CPP_WTRADITIONAL (pfile).
5238         * cpplex.c (_cpp_lex_token): Don't decide if directives should
5239         be ignored in -traditional mode here.
5240
5241         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
5242         to initialize speccase[] and trigraph_map[].  Delete all
5243         references to pfile->input_speccase.  Always treat '?' as a
5244         special character.  Remove table-initialization code from
5245         _cpp_init_input_buffer.
5246
5247         * cpplib.h (struct cpp_reader): Remove input_speccase field.
5248         * cppinit.c (cpp_cleanup): Don't free input_speccase.
5249
5250 2000-04-01  Richard Henderson  <rth@cygnus.com>
5251
5252         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
5253         (mostlyclean): Likewise.
5254
5255         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
5256         (struct dump_file_info, enum dump_file_index, dump_file): New.
5257         (open_dump_file): Take a dump_file_index not a suffix, and a decl
5258         not a string.  Clean out file if we havn't yet done so.  Do nothing
5259         if the dump isn't enabled.
5260         (close_dump_file): Do nothing if the dump isn't open.  Dump
5261         graph data if requested.
5262         (dump_rtl, clean_dump_file): Remove.
5263         (compile_file): Don't clean the dump files.  Only finalize .bp dump
5264         if flag_test_coverage or flag_branch_probabilities.  Only finalize
5265         .combine dump if optimizing.  Iterate over dump_file to finalize the
5266         graph dumps.
5267         (rest_of_compilation): Update for open_dump_file/close_dump_file.
5268         Convert all uses of dump_rtl.
5269         (decode_d_option): Iterate over dump_file to implement 'a' and to
5270         locate pass-specific dumps.
5271
5272 2000-04-01  Neil Booth <NeilB@earthling.net>
5273
5274         * cppexp.c: Redefine priority constants.
5275         (_cpp_parse_expr): Replace left and right priority scheme with
5276         single priority logic.  Move LOGICAL to same place as COMPARE.
5277         Remove bogus check for multiple unary +/- operators.
5278
5279 2000-04-01  Neil Booth <NeilB@earthling.net>
5280
5281         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
5282         within the switch statement.  Binary operations break out of
5283         the switch naturally.  '(' tokens handled by forcing
5284         immediate shift.  ')' handled by forcing immediate reduce to
5285         the previous '('.  New error messages.
5286
5287 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
5288
5289         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
5290         part', it's already in use.  Use %K instead.  Add a return at the
5291         end of what is now %K.
5292         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
5293
5294 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5295
5296         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
5297         allocate_dynamic_stack_space.
5298         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
5299         update stack_pointer_delta; do not update arg_size_so_far.
5300         (compute_argument_block_size): Use stack_delta instead of
5301         stack_pointer_pending and arg_size_so_far.
5302         (expand_call): Add sanity checking for stack_pointer_delta;
5303         save and restore stack_pointer_delta for SIB, use
5304         stack_pointer_delta for alignment; do not update arg_space_so_far.
5305         (emit_library_call_value): Use stack_pointer_delta for alignment.
5306         (store_one_arg): Do not update arg_space_so_far.
5307         * explow.c (adjust_stack, anti_adjust_stack): Update
5308         stack_pointer_delta.
5309         (allocate_dynamic_stack_space): Add sanity checking for
5310         stack_pointer_delta.
5311         * expr.c (init_expr, clear_pending_stack_adjust): Clear
5312         stack_pointer_delta.
5313         (emit_push_insn): Update stack_pointer_delta.
5314         * function.h (struct expr_status): Add x_stack_pointer_delta;
5315         remove x_arg_space_so_far.
5316         (arg_space_so_far): Remove.
5317         (stack_pointer_delta): New macro.
5318
5319 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
5320
5321         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
5322         Reorder struct cpp_options and struct cpp_reader for better
5323         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
5324         takes two args.  Change all 'char' flags to 'unsigned char'.
5325         Move show_column flag into struct cpp_options.  Don't
5326         prototype cpp_options_init.
5327         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
5328         cppinit.c, cpplex.c, cpplib.c:
5329         Replace CPP_OPTIONS (pfile)->whatever with
5330         CPP_OPTION (pfile, whatever), and likewise for
5331         opts = CPP_OPTIONS (pfile); ... opts->whatever;
5332
5333         * cppinit.c (merge_include_chains): Take a cpp_reader *.
5334         Extract CPP_OPTION (pfile, pending) and work with that
5335         directly.
5336         (cpp_options_init): Delete.
5337         (cpp_reader_init): Turn on on-by-default options here.
5338         Allocate the pending structure here.
5339         (cl_options, enum opt_code): Define these from the same table,
5340         kept in a large macro.  Add -fshow-column and -fno-show-column
5341         options.
5342
5343         * cpperror.c (v_message): If show_column is off, don't print
5344         the column number.
5345
5346         * cppmain.c: Update for new interface.
5347         * fix-header.c: Likewise.
5348
5349 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
5350
5351         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
5352         definition.
5353         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
5354         are passed to any invocation of AR_FOR_TARGET.
5355         (AR_CREATE_FOR_TARGET): New macro.
5356         (AR_EXTRACT_FOR_TARGET): New macro.
5357         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
5358         AR_EXTRACT_FOR_TARGET.
5359         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
5360         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
5361         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
5362         AR_EXTRACT_FOR_TARGET to sub-makes.
5363
5364 2000-03-31  Neil Booth <NeilB@earthling.net>
5365
5366         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
5367         PAREN_INNER_PRIO.
5368         (_cpp_parse_expr): Check for multiple unary +/- operators.
5369         Correct priorities of ':' and '?'.  Treat ')' as having a
5370         value.  Ensure conditional expression is not void.
5371
5372 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
5373
5374         * alias.c (canon_rtx): Make it global.
5375         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
5376         equality.
5377         * cse.c (struct table_elt): Add canon_exp.
5378         (insert): Clear it.
5379         (invalidate): Canonicalize expressions only once.
5380         * rtl.h (canon_rtx): Declare.
5381
5382 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
5383
5384         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
5385         * alias.c (reg_known_value): Add comments.
5386         (init_alias_analysis): Likewise.
5387         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
5388         address.
5389         (cse_basic_block): Fix typo in comment.
5390         * emit-rtl.c: Include hashtab.h.
5391         (const_int_htab): New variable.
5392         (const_int_htab_hash): New function.
5393         (const_int_htab_eq): Likewise.
5394         (rtx_htab_mark_1): Likewise.
5395         (rtx_htab_mark): Likewise.
5396         (gen_rtx_CONST_INT): Cache all CONST_INTs.
5397         (unshare_all_rtx): Fix formatting.
5398         (init_emit_once): Initialize const_int_htab.
5399         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
5400         address.
5401         * rtl.texi: Document the fact that all CONST_INTs with the same
5402         value are shared.
5403
5404 2000-03-30  Richard Henderson  <rth@cygnus.com>
5405
5406         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
5407
5408 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
5409
5410         * configure.in: Comment out --enable-c-cpplib stanza.
5411         * configure: Regenerate.
5412
5413 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5414
5415         * expr.c (store_constructor): Properly compute displacement and
5416         alignment when offset is variable.
5417
5418         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
5419         cases of alignment in bytes.
5420
5421 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
5422
5423         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
5424         since it is used to generate c-parse.y.
5425         * objc-parse.c, objc-parse.y: Regenerated.
5426
5427         * function.c (expand_function_end): Pass alignment argument to
5428         emit_block_move in bits, not bytes.
5429
5430 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5431
5432         * expr.c (move_by_pieces_ninsns): Fix one more missing align
5433         correction.
5434
5435         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
5436
5437         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
5438         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
5439         * function.c (assign_parms): Likewise.
5440         * integrate.c (expand_inline_function): Likewise.
5441         * stmt.c (expand_decl): Likewise.
5442         (copy_rtx_and_substitute): Likewise.
5443         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
5444         (clear_by_pieces): Fix error in last change.
5445         * emit-rtl.c (init_emit): Set known registers alignment in bits.
5446         * function.h (regno_pointer_align): Now unsigned.
5447         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
5448         is in bits.
5449         * config/i386/i386.c (aligned_operand): Likewise.
5450         * config/sparc/sparc.c (mem_min_alignment): Likewise.
5451         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
5452         (unaligned_memory_operand): Likewise.
5453         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
5454         Also make alignments and sizes unsigned and some whitespace cleanup.
5455         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
5456
5457         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
5458         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
5459         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5460         (expand_builtin_memset): Likewise, but to clear_storage.
5461         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
5462         (restore_fixed_argument_area): Likewise.
5463         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
5464         (load_register_parameters): Likewise, to emit_group_load.
5465         (expand_call): Likewise, to emit_group_store and emit_block_move.
5466         (emit_library_call_value_1): Likewise, to emit_block_move.
5467         (store_one_arg): Likewise, and to emit_push_insn.
5468         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
5469         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
5470         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
5471         (emit_block_move, emit_group_load, emit_group_store): Likewise.
5472         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
5473         (expand_assigment, store_expr, store_constructor_field): Likewise.
5474         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
5475         (store_constructor, store_field, get_inner_reference): Likewise.
5476         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
5477         (expand_expr, case COMPONENT_REF): Likewise.
5478         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
5479         and positions; reindent code.
5480         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
5481         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
5482         (assign_parms): Likewise to emit_group_store.
5483         * optabs.c (prepare_cmp_insn): Alignment is in bits.
5484         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
5485         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
5486         (expand_return): Likewise to {extract,store}_bit_field.
5487         * stor-layout.c (get_mode_alignment): Minor cleanup.
5488         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
5489         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
5490
5491 2000-03-29  Nick Clifton  <nickc@cygnus.com>
5492
5493         * config/arm/arm.h: Undo effects of previous delta:
5494         (ASM_SPEC): Do not define.
5495         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
5496
5497         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
5498         typo.
5499
5500 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5501
5502         * cppinit.c (cpp_start_read): Call initialize_dependency_output
5503         only after reading in the primary source file.
5504
5505 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
5506
5507         * c-common.c (c_common_nodes_and_builtins): The first parameter to
5508         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
5509         or a reference to a va_list.
5510         * builtins.c (stabilize_va_list): Simplify now we don't have to
5511         work around C array address decay.
5512         * c-typeck.c (convert_for_assignment): Handle assignment to
5513         a reference parameter by taking the address of the RHS.
5514         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
5515         (va_copy): Likewise.
5516         (__va_copy): Likewise.
5517         * ginclude/varargs.h (va_start): Likewise.
5518         (__va_copy): Likewise.
5519
5520 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
5521
5522         * i386/djgpp.h: Remove extraneous "+".
5523
5524         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
5525
5526         * calls.c (expand_call): Fix typo in last change.
5527
5528 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
5529
5530         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
5531         been expanded.
5532
5533 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5534
5535         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
5536         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
5537         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
5538         * tree.c (bit_position, byte_position): Likewise.
5539         * tree.h: Declare new functions.
5540
5541 2000-03-29  Nick Clifton  <nickc@cygnus.com>
5542
5543         * config/arm/arm.c: Minor formatting changes/
5544         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5545         already defined.
5546         (ASM_SPEC): Define if not already defined.
5547
5548 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
5549
5550         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
5551         _cpp_calc_hash.
5552
5553 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
5554
5555         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
5556         value, don't output it as unsigned.
5557
5558 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
5559
5560         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
5561
5562 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5563
5564         * c-common.c (c_common_nodes_and_builtins): Don't special case
5565         cplus_mode when declaring builtin bzero/bcmp, always avoid
5566         prototype arguments.
5567
5568 2000-03-29  Bruce Korb  <bkorb@gnu.org>
5569
5570         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
5571         to a non-file
5572
5573 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5574
5575         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
5576         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
5577         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
5578         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
5579         (save_fixed_argument_area, restore_fixed_argument_area):
5580         conditionize by #ifdef REG_PARM_STACK_SPACE only.
5581         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
5582         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
5583         (precompute_register_parameters): Avoid #ifdefs on
5584         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
5585         (stire_one_args): Likewise.
5586         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
5587         (emit_library_call_value_1): Likewise.
5588         (compute_argument_block_size): Align to STACK_BOUNDARY only for
5589         ACCUMULATE_OUTGOING_ARGS.
5590         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
5591         value.
5592         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
5593         (use_crosses_set_p): Likewise.
5594         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
5595         #define ACCUMULATE_OUTGOING_ARGS 1.
5596         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
5597         frames.
5598         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
5599         constants.
5600         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
5601         (TARGET_SWITCHES): Add push-args, no-push-args,
5602         accumulate-outgoing-args and no-accumulate-outgoing-args.
5603         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
5604         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
5605         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
5606         and PUSH_ROUNDING.
5607         (emit_push_insn): Likewise.
5608         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5609         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
5610         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5611         (STACK_DYNAMIC_OFFSET): Define correctly for both
5612         ACCUMULATE_OUTGOING_ARGS and normal mode.
5613         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
5614         * tm.texi (PUSH_ARGS): Document.
5615         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
5616
5617 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5618
5619         * flags.h (flag_optimize_sibling_calls): Declare.
5620         * calls.c (expand_call): Fail sibcall when
5621         !flag_optimize_sibling_calls
5622         * invoke.texi (flag_optimize_sibling_calls): Document.
5623         * toplev.c (flag_optimize_sibling_calls): New global variable.
5624         (f_options): Add flag_optimize_sibling_calls.
5625         (rest_of_compilation): Conditionize
5626         optimize_sibling_and_tail_recursive_calls by
5627         flag_optimize_sibling_calls.
5628         (main): Set flag_optimize_sibling_calls for -O2.
5629         * stmt.c (expand_return): Conditionize tail recursion by
5630         flag_optimize_sibling_calls.
5631
5632 2000-03-29  Richard Henderson  <rth@cygnus.com>
5633
5634         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
5635         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
5636
5637 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
5638
5639         * except.c (add_eh_table_entry): Mark type_info's as referenced.
5640
5641 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5642
5643         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
5644         is given.
5645         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
5646         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
5647         * config/rs6000/aix.h: then modified likewise.
5648
5649 2000-03-28  Richard Henderson  <rth@cygnus.com>
5650
5651         * rtl.h: Redistribute enum reg_note documentation.
5652         Kill trailing whitespace.
5653         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
5654         Kill trailing whitespace.
5655
5656 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
5657
5658         * cppfiles.c (hash_IHASH): Just return i->hash.
5659         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
5660         htab_find_with_hash.
5661         (cpp_read_file): Likewise.
5662         (find_include_file): Likewise.  Properly initialize
5663         ih->nshort.  Share ih->name and ih->nshort if possible.
5664         * cpphash.c (_cpp_calc_hash): New function.
5665         (hash_HASHNODE): Just return h->hash.
5666         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
5667         htab_find_with_hash.
5668         * cpphash.h: Prototype _cpp_calc_hash.
5669         * cppinit.c (initialize_builtins): Provide a valid hash
5670         to _cpp_make_hashnode, using _cpp_calc_hash.
5671
5672         * cpphash.c (collect_expansion): # is not a special character
5673         in object-like macros.  In -traditional mode, /**/ is not
5674         token paste at the beginning or end of the line.
5675         * cpplib.c (do_include, do_import, do_include_next): If
5676         parse_include fails, return immediately.
5677
5678 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
5679
5680         * config/arm/arm.md (return peepholes): Update to reflect the new
5681         call insn patterns.
5682         * config/arm/arm.c (arm_volatile_func): Also check
5683         current_function_nothrow.
5684         (output_return_instruction, output_func_prologue): Use it.
5685         (arm_output_epilogue, arm_expand_prologue): Likewise.
5686
5687 2000-03-27  Tom Tromey  <tromey@cygnus.com>
5688
5689         * gcc.c (handle_braces): In {x*...} case, break out of loop if
5690         switch is found.
5691
5692 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5693
5694         * expr.c (store_constructor): SIZE now signed.
5695         For EXPR_SIZE, don't evaluate size; just needed if constant.
5696         * fold-const.c (fold): Fix a number of cases when folded tree is
5697         wrong type.
5698         * function.c (flush_addressof): Reenable.
5699         * tree.h (flush_addressof): Likewise.
5700         * toplev.c (independent_decode_option): Look at strings_processed.
5701         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
5702
5703 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
5704
5705         * sibcall.c (indentify_call_return_value): Find last call in the chain;
5706         Allow stack adjustment after function call.
5707
5708         * regmove.c (struct csa_memlist): Make mem field rtx *.
5709         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
5710         (try_apply_stack_adjustment): Replace whole MEM rtx.
5711         (combine_stack_adjustments_for_block): Update calls
5712         to record_one_stack_ref.
5713
5714 2000-03-28  Neil Booth  <NeilB@earthling.net>
5715
5716         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
5717         '\\' rather than a null character, so nulls are not special.  Fix
5718         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
5719         speed trigraph conversion.
5720         (_cpp_init_input_buffer): Initialize trigraph map.
5721
5722 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
5723
5724         * config/i386/i386.c (output_387_binary_op): Correct intel
5725         mode assembly output, and add spaces after commas in AT&T
5726         output.  Correct Unixware assembler comment.  Document input
5727         constraints.  Comment fp operations.  Reduce profligate buffer
5728         size.  Remove extraneous abort.  Localize temp var.
5729         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
5730         (output_fix_trunc): Add spaces after commas in assembly output.
5731
5732 2000-03-27  Richard Henderson  <rth@cygnus.com>
5733
5734         * i386-protos.h (ix86_match_ccmode): Declare.
5735         * i386.c (ix86_match_ccmode): New.
5736         (ix86_expand_fp_compare): Update for pattern renames.
5737         (ix86_expand_strlensi_unroll_1): Likewise.
5738         * i386.h (EXTRA_CC_MODES): Add CCZ.
5739         (SELECT_CC_MODE): Use it for EQ/NE zero.
5740         * i386.md (cmpsi_ccz_1): New.
5741         (cmpqi_ccz_1): New.
5742         (*testsi_ccz_1): New.
5743         (testqi_ccz_1): New.
5744         (cmpsi_ccno_1): Rename from cmpsi_0.
5745         (testsi_ccno_1): Rename from testsi_1.
5746         (testqi_ccno_1): Rename from testqi_1.
5747         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
5748         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
5749         (*cmphi_0): Use ix86_match_ccmode.
5750         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
5751         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
5752         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
5753         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
5754         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
5755         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
5756         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
5757         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
5758         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
5759         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
5760         (appropriate peepholes): Likewise.
5761         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
5762         (*subsi_3, *subhi_3, *subqi_3): Remove.
5763         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
5764         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
5765         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
5766         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
5767         (x86_shift_adj_1): Use CCZ.
5768         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
5769
5770 2000-03-27  Stan Cox  <scox@cygnus.com>
5771
5772         * resource.h (mark_resource_type): New.
5773         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
5774         find_free_register): Use mark_resource_type.
5775         (mark_set_resources): Change include_delayed_effects
5776         to mark_resource_type.
5777         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
5778         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
5779         Use mark_resource_type.
5780
5781 2000-03-27  Richard Henderson  <rth@cygnus.com>
5782
5783         * i386.md (call_pop_0, call_value_pop_0): New.
5784         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
5785         (call_value_pop_1): Likewise.
5786         (call_0, call_value_0): New.
5787         (call_1, call_value_1): Remove constraint from unused arg.
5788
5789 2000-03-27  Nick Clifton  <nickc@cygnus.com>
5790
5791         * invoke.texi (Spec Files): Document new spec % command created by
5792         Tom Tromey's recent patch.
5793
5794 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
5795
5796         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
5797         if not defined.
5798
5799 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5800
5801         * expr.c (expand_assignment): Fix typo in last change.
5802
5803         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
5804
5805 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5806
5807         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
5808         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
5809         and DECL_INLINE if FUNCTION_DECL.
5810         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
5811         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
5812         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
5813         (combine_parm_decls): Likewise.
5814         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
5815         * print-tree.c (print_node): Likewise.
5816         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
5817         DECL_TRANSPARENT_UNION on proper decl types.
5818         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
5819         * stor-layout.c (layout_decl): Only check DECL_PACKED and
5820         DECL_BIT_FIELD of FIELD_DECL.
5821         * tree.h (DECL_RESULT_FLD): New macro.
5822
5823         * expr.c (expand_assignment): Add code to handle variable-sized
5824         BLKmode case.
5825
5826 2000-03-26  Richard Henderson  <rth@cygnus.com>
5827
5828         * calls.c (expand_call): Pass parms not original exp to
5829         optimize_tail_recursion.  Mind return value instead of looking
5830         for a barrier.
5831         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
5832         call_expr.  Move checks for call_expr and current_function_decl ...
5833         (expand_return): ... here.
5834
5835 2000-03-26  Tom Tromey  <tromey@cygnus.com>
5836
5837         * gcc.c (handle_braces): Recognize `%{<S}' construct.
5838         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
5839         defines.
5840         (process_command): Use them.
5841         (check_live_switch): Likewise.
5842         (give_switch): Skip ignored switches.
5843
5844 2000-03-26  Jan Hubicka  <jh@suse.cz>
5845
5846         * jump.c (jump_optimize_1): Fix typo in elide optimizations
5847         for minimal jump pass test.
5848
5849 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
5850
5851         * integrate.c (function_cannot_inline_p): Do inline functions that
5852         return `void'.
5853
5854 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5855
5856         * stor-layout.c (layout_type, set_sizetype): early_type_list is
5857         now a list of TREE_LIST entries, not types.
5858         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
5859
5860         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
5861         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
5862         int_bit_position.
5863         * config/mips/mips.c (function_arg): Likewise; also remove cast
5864         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
5865         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
5866         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
5867         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
5868         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
5869         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
5870         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
5871         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
5872         num_adjusts now unsigned.
5873         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
5874         * config/sparc/sparc.c (struct function_arg_record_value_parms):
5875         NREGS now unsigned.
5876         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
5877         as is BITPOS variable; use host_integerp and int_bit_position.
5878         (function_arg_record_value_2): Likewise.
5879         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
5880         Variable REGNO now unsigned.
5881         (function_arg_record_value): NREGS now unsigned.
5882
5883 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
5884
5885         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
5886
5887 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5888
5889         * Rework fields used to describe positions of bitfields and
5890         modify sizes to be unsigned and use HOST_WIDE_INT.
5891         * alias.c (reg_known_value_size): Now unsigned.
5892         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
5893         (really_start_incremental_init): Use bitsize_zero_node.
5894         (push_init_level, pop_init_level, output_init_element): Likewise.
5895         Use bitsize_unit_node and bitsize_one_node.
5896         (output_pending_init_elements, process_init_element): Likewise.
5897         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
5898         (make_extraction): Position and length HOST_WIDE_INT and unsigned
5899         HOST_WIDE_INT, respectively.
5900         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
5901         (num_sign_bit_copies): Returns unsigned.
5902         BITWIDTH now unsigned; rework arithmetic.
5903         Remove recursive call from arg to MAX.
5904         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
5905         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
5906         REGNO now unsigned.
5907         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
5908         (find_split_point, expand_compound_operation, make_extraction): LEN
5909         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
5910         (make_field_assignment): Likewise.
5911         (combine_simplify_rtx): Add cast.
5912         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
5913         (force_to_mode): WIDTH now unsigned; add cast.
5914         (if_then_else_cond): SIZE now unsigned.
5915         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
5916         (extended_count): Now returns unsigned.
5917         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
5918         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
5919         (simplify_comparison): MODE_WIDTH now unsigned.
5920         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
5921         (mark_used_regs_combine): Likewise; rework arithmetic.
5922         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
5923         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
5924         (record_promoted_value): REGNO now unsigned.
5925         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
5926         (get_last_value): REGNO now unsigned.
5927         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
5928         (reg_dead_regno, reg_dead_endregno): Now unsigned.
5929         (remove_death): Arg REGNO now unsigned.
5930         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
5931         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
5932         now unsigned.
5933         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
5934         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
5935         (struct cse_reg_info): REGNO now unsigned.
5936         (cached_regno): Now unsigned.
5937         (REGNO_QTY_VALID_P): Add cast.
5938         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
5939         (remove_invalid_regs): Likewise.
5940         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
5941         as are variables END and I.
5942         (get_cse_reg_info, insert): Likewise.
5943         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
5944         (canon_hash): Likewise.
5945         (insert_regs, lookup_for_remove): REGNO now unsigned.
5946         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
5947         New variable RN.
5948         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
5949         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
5950         * emit-rtl.c (subreg_realpart_p): Add cast.
5951         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
5952         (operand_subword_force): Arg I is now unsigned.
5953         * except.c (eh_regs): Variable I is now unsigned.
5954         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
5955         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
5956         length is unsigned HOST_WIDE_INT; likewise for internal variables.
5957         (store_split_bit_field, extract_fixed_bit_field): Likewise.
5958         (extract_split_bit_field, store_bit_field, extract_bit_field):
5959         Likewise.
5960         * expr.c (store_constructor_fields, store_constructor, store_field):
5961         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
5962         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
5963         (do_jump): Likewise.
5964         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
5965         MAX_SIZE is now unsigned.
5966         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
5967         (emit_group_store): Likewise.
5968         (emit_move_insn): I now unsigned.
5969         (store_constructor): Use host_integerp, tree_low_cst, and
5970         bitsize_unit_node.
5971         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
5972         Rework all calculations to use trees and new fields.
5973         * expr.h (promoted_input_arg): Regno now unsigned.
5974         (store_bit_field, extract_bit_field): Adjust types of pos and size.
5975         (mark_seen_cases): Arg is HOST_WIDE_INT.
5976         * flow.c (verify_wide_reg_1): REGNO now unsigned.
5977         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
5978         precisions and alignments are unsigned.
5979         (optimize_bit_field_compare, fold_truthop): Likewise.
5980         (int_const_binop): Adjust threshold for size_int_type_wide call.
5981         (fold_convert): Likewise.
5982         (size_int_type_wide): Make table larger and fix thinko that only
5983         had half of table used.
5984         (all_ones_mask_p, fold): Precisions are unsigned.
5985         * function.c (put_reg_info_stack): REGNO is unsigned.
5986         (instantiate_decl): Size is HOST_WIDE_INT.
5987         (instantiate_virtual_regs): I is unsigned.
5988         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
5989         (promoted_input_arg): REGNO is unsigned.
5990         * function.h (struct function): x_max_parm_reg is now unsigned.
5991         * gcse.c (max_gcse_regno): Now unsigned.
5992         (struct null_pointer_info): min_reg and max_reg now unsigned.
5993         (lookup_set, next_set): REGNO arg now unsigned.
5994         (compute_hash_table): REGNO and I now unsigned.
5995         (handle_avail_expr): regnum_for_replacing now unsigned.
5996         (cprop_insn): REGNO now unsigned.
5997         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
5998         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
5999         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
6000         * hard-reg-set.h (reg_class_size): Now unsigned.
6001         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
6002         * jump.c (mark_modified_reg): I now unsigned; add cast.
6003         (rtx_equal_for_thread_p): Add cast.
6004         * loop.c (max_reg_before_loop): Now unsigned.
6005         (struct_movable): REGNO now unsigned.
6006         (try_copy_prop): REGNO arg unsigned.
6007         (regs_match_p): XN and YN now unsigned.
6008         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
6009         (strength_reduce): Likewise; NREGS also unsigned.
6010         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
6011         * loop.h (struct iv_class): REGNO now unsigned.
6012         (max_reg_before_loop, first_increment_giv, last_increment_giv):
6013         Now unsigned.
6014         * machmode.h (mode_size, mode_unit_size): Now unsigned.
6015         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
6016         * optabs.c (expand_binop): I and NWORDS now unsigned.
6017         (expand_unop): I now unsigned.
6018         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
6019         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
6020         * real.c (significand_size): Now returns unsigned.
6021         * real.h (significand_size): Likewise.
6022         * regclass.c (reg_class_size): Now unsigned.
6023         (choose_hard_reg_mode): Both operands now unsigned.
6024         (record_reg_classes): REGNO and NR now unsigned.
6025         (reg_scan): NREGS now unsigned.
6026         (reg_scan_update): old_max_regno now unsigned.
6027         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
6028         * reload.c (find_valid_class): BEST_SIZE now unsigned.
6029         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
6030         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
6031         Likewise for variable R.
6032         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
6033         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
6034         (find_equiv_reg): Add casts.
6035         (regno_clobbered_p): Arg REGNO now unsigned.
6036         * reload.h (struct reload): NREGS now unsigned.
6037         (refers_to_regno_for_reload_p): Regno args are unsigned.
6038         (regno_clobbered_p): Likewise.
6039         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
6040         (compute_use_by_pseudos): REGNO now unsigned.
6041         (find_reg): I and J now unsigned, new variable K, and change loop
6042         variables accordingly; THIS_NREGS now unsigned.
6043         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
6044         (spill_hard_reg): REGNO arg now unsigned; add casts.
6045         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
6046         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
6047         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
6048         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
6049         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
6050         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
6051         (emit_reload_insns): REGNO now unsigned.
6052         (reload_cse_move2add): Add cast.
6053         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
6054         and rework loop.
6055         * resource.c (mark_referenced_resources, mark_set_resources): New
6056         variable R; REGNO and LAST_REGNO now unsigned.
6057         (mark_target_live_regs): J and REGNO now unsigned.
6058         * rtl.c (mode_size, mode_unit_size): Now unsigned.
6059         * rtl.h (union rtunion_def): New field rtuint.
6060         (XCUINT): New macro.
6061         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
6062         (operand_subword, operand_subword_force): Word number is unsigned.
6063         (choose_hard_reg_mode): Operands are unsigned.
6064         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
6065         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
6066         (regno_use_in, combine_instructions, remove_death): Likewise.
6067         (reg_scan, reg_scan_update): Likewise.
6068         (extended_count): Return is unsigned.
6069         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
6070         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
6071         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
6072         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
6073         (reg_reg_last_1): FIRS and LAST now unsigned.
6074         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
6075         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
6076         now unsigned.
6077         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
6078         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
6079         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
6080         (replace_regs): Arg NREGS now unsigned.
6081         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
6082         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
6083         (simplify_binary_operation): Likewise.
6084         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
6085         THIS_LAST now unsigned.
6086         (cselib_record_set): Add cast.
6087         * ssa.c (ssa_max_reg_num): Now unsigned.
6088         (rename_block): REGNO now unsigned.
6089         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
6090         sizes now unsigned.
6091         (all_cases_count): Just return -1 not -2.
6092         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
6093         Rework tests to use trees whenever possible.
6094         Use host_integerp and tree_low_cst.
6095         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
6096         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
6097         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
6098         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
6099         (smallest_mode_for_size): Likewise.
6100         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
6101         KNOWN_ALIGN is now an alignment, so simplify code.
6102         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
6103         (start_record_layout): Renamed from new_record_layout_info.
6104         Update to new fields.
6105         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
6106         New functions.
6107         (place_union_field): Renamed from layout_union_field.
6108         Update to use new fields in rli.
6109         (place_field): Renamed from layout_field.
6110         Major rewrite to use new fields in rli; pass alignment to layout_decl.
6111         (finalize_record_size): Rework to use new fields in rli and handle
6112         union.
6113         (compute_record_mode): Rework to simplify and to use new DECL fields.
6114         (finalize_type_size): Make rounding more consistent.
6115         (finish_union_layout): Deleted.
6116         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
6117         (layout_type, case RECORD_TYPE): Call new function names.
6118         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
6119         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
6120         (get_best_mode): UNIT is now unsigned; remove casts.
6121         * tree.c (bit_position): Compute from new fields.
6122         (byte_position, int_byte_position): New functions.
6123         (print_type_hash_statistics): Cast to remove warning.
6124         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
6125         (build_index_type): Likewise; make subtype of sizetype.
6126         (build_index_2_type): Pass sizetype to build_range_type.
6127         (build_common_tree_nodes): Use size_int and bitsize_int to
6128         initialize nodes; add bitsize_{zero,one,unit}_node.
6129         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
6130         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
6131         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
6132         (DECL_FIELD_BITPOS): Deleted.
6133         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
6134         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
6135         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
6136         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
6137         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
6138         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
6139         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
6140         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
6141         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
6142         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
6143         (DECL_ALIGN): Adjust to new field in union.
6144         (DECL_OFFSET_ALIGN): New field.
6145         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
6146         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
6147         (union tree_decl): Add struct for both aligns.
6148         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
6149         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
6150         (struct record_layout_info): Rework fields to have offset
6151         alignment and byte and bit position.
6152         (start_record_layout, place_field): Renamed from old names.
6153         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
6154         (byte_position, int_byte_position): Likewise.
6155         (get_inner_reference): Change types of position and length.
6156         * unroll.c (unroll_loop): New variable R; use for some loops.
6157         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
6158         (calculate_giv_inc): Arg REGNO now unsigned.
6159         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
6160         * varasm.c (assemble_variable): Clean up handling of size using
6161         host_integerp and tree_low_cst.
6162         (decode_addr_const): Use byte, not bit, position.
6163         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
6164         use tree_low_cst and int_bit_position.
6165         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
6166
6167 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
6168
6169         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
6170         (reorder_block_def): New members eff_head and eff_end.
6171         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
6172         (verify_insn_chain): New function.
6173         (skip_insns_between_block): Add code to skip deleted insns.
6174         Check for note before using.
6175         (chain_reorder_blocks): Replace calls to skip_insns_between_block
6176         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
6177         Check for note before using.
6178         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
6179         (fixup_reorder_chain): Restructure, clean up, defect removal.
6180         (reorder_basic_blocks): Remove last_insn and references to it.
6181         Moved insn chain verification code into a new function (see above).
6182         Delete defective code that sets last insn.
6183         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
6184         all blocks.
6185
6186 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6187
6188         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
6189
6190 2000-03-24  Richard Henderson  <rth@cygnus.com>
6191
6192         * tree.c (lang_safe_for_unsave): Remove.
6193         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
6194         allowing for two levels of unsafeness.  Remove lang hook.
6195         * tree.h: Update declarations.
6196         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
6197         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
6198         Always fail sibcalls when there are pending cleanups.
6199
6200 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
6201
6202         * flow.c (propagate_block): When we delete an ADDR_VEC,
6203         also delete the BARRIER following it if there is one.
6204
6205 2000-03-24  Richard Henderson  <rth@cygnus.com>
6206
6207         * builtins.c (expand_builtin_bzero): Convert `length' argument
6208         to sizetype.
6209
6210 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
6211
6212         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
6213         comparison if regno's are equal.
6214         * calls.c (initialize_argument_informat): Add ecf_flags argument.
6215         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
6216         (expand_call): Update caller.
6217         Avoid making a sibling call if argument size of the callee is larger
6218         than argument size of the caller.
6219         Call hard_function_value with outgoing set if in sibcall pass.
6220         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
6221
6222         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
6223         Change LEAF_REGISTERS from an array initializer to actual array
6224         identifier. Move static global variable into the function.
6225         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
6226         sequences for leaf functions.
6227         * global.c (global_alloc): Likewise.
6228         * tm.texi (LEAF_REGISTERS): Update documentation.
6229
6230         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
6231         TARGET_FLAT leaf disabling hack.
6232         (LEAF_REGISTERS): Changed from an array initializer to actual array
6233         identifier to avoid duplication and remove the above hack.
6234         (FUNCTION_OK_FOR_SIBCALL): Define.
6235         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
6236         always like call attribute.
6237         (eligible_for_sibcall_delay): New attribute.
6238         (sibcall): New delay type.
6239         (sibcall, sibcall_value, sibcall_epilogue): New expands.
6240         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
6241         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
6242         * config/sparc/sparc.c (sparc_leaf_regs): New array.
6243         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
6244         New functions.
6245         (output_function_epilogue): Move part of the code into
6246         output_restore_regs.
6247         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
6248         TYPE_SIBCALL.
6249         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
6250         prototypes.
6251
6252         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
6253         until infrastructure is finished.
6254
6255 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
6256
6257         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
6258         (save_parm_insns): Not here.
6259
6260 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6261
6262         * builtins.c (expand_builtin_bzero): New function.
6263         (expand_builtin): Handle bzero.
6264
6265         * builtins.def: Add BUILT_IN_BZERO.
6266
6267         * c-common.c (c_common_nodes_and_builtins): Provide builtin
6268         prototype & function for bzero.
6269
6270 2000-03-23  Michael Meissner  <meissner@redhat.com>
6271
6272         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
6273         change adding TARGET_FP to the TF floating point insns, except for
6274         trunctfsf2, which generates direct calls to truncdfsf2.
6275
6276 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
6277
6278         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
6279         try to protect against middle-end changes that break binary
6280         compatibility.
6281         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
6282
6283 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6284
6285         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
6286
6287 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6288
6289         * calls.c (expand_call): If TARGET is passed by reference and
6290         is readonly, write a CLOBBER.
6291
6292 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6293
6294         * builtins.c (expand_builtin): Handle bcmp.
6295
6296         * builtins.def: Add BUILT_IN_BCMP.
6297
6298         * c-common.c (c_common_nodes_and_builtins): Provide builtin
6299         prototype & function for bcmp.
6300
6301 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
6302
6303         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
6304         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
6305         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
6306
6307 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
6308
6309         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
6310         alternative when using -fp64 -gp32.
6311
6312 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
6313
6314         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
6315         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
6316         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
6317
6318         * frame.h (frame_state): Revert last change.
6319         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
6320         * libgcc2.c (throw_helper): Revert last change.
6321
6322 2000-03-22  Richard Henderson  <rth@cygnus.com>
6323
6324         * stmt.c (expand_asm_operands): Don't promote the temporary.
6325
6326 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6327
6328         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
6329         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
6330           c_get_alias_set): Likewise.
6331         * c-decl.c (duplicate_decls): Likewise.
6332         * c-typeck.c (default_conversion,build_unary_op): Likewise.
6333         * calls.c (initialize_argument_information): Likewise.
6334         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
6335         Likewise.
6336         * dwarfout.c (decl_class_context,output_type): Likewise.
6337         * expr.c (get_inner_reference): Likewise.
6338         * fold-const.c (simple_operand_p,fold): Likewise.
6339         * function.c (aggregate_value_p): Likewise.
6340         * stmt.c (expand_asm_operands): Likewise.
6341         * varasm.c (named_section): Likewise.
6342
6343 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
6344
6345         Implement dwarf2 exception handling for the ARM.
6346         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
6347         (DWARF_FRAME_RETURN_COLUMN): Define.
6348         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
6349         REG_FRAME_RELATED_EXPR note.
6350         (emit_sfm): Likewise.
6351         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
6352         * dwarf2out.c (reg_save): Handle saving a register to itself.
6353         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
6354         * except.c (eh_regs): Don't use the static chain reg if it's
6355         callee-saved.
6356         * frame.h (frame_state): Add cfa_saved field.
6357         * frame.c (execute_cfa_insn): Set it.
6358         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
6359         the epilogue.
6360         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
6361         Now takes a parm.
6362         (instantiate_virtual_regs): Adjust.
6363         * tm.texi: Adjust.
6364         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6365         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6366         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
6367
6368         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
6369         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
6370
6371 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6372
6373         * builtins.def: New file.
6374
6375         * Makefile.in (TREE_H): Depend on builtins.def.
6376
6377         * builtins.c (built_in_names): Use builtins.def.
6378
6379         * tree.h (built_in_function): Likewise.
6380
6381 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
6382
6383         * tree.c (size_in_bytes): Return size_zero_node, not
6384         integer_zero_node.
6385
6386 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
6387
6388         * config/fp-bit.c (pack_d): Correct the case when a denormal
6389         is rounded up and stops being denormal.
6390
6391 2000-03-21  Richard Henderson  <rth@cygnus.com>
6392
6393         * config/alpha/alpha.c (function_arg): Check for void_type_node
6394         before using MUST_PASS_IN_STACK.
6395
6396 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
6397
6398         * regmove.c (combine_stack_adjustments_for_block): Check that
6399         the stack pointer is a valid memory address.
6400
6401 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
6402
6403         * calls.c: re-install Mar 16 emit_library_call merge.
6404
6405 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
6406
6407         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
6408         we cannot be sure that if reload_completed base register will
6409         be properly aligned.
6410
6411 2000-03-21  Richard Henderson  <rth@cygnus.com>
6412
6413         * flow.c (delete_block): Fix typo last change.
6414
6415 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
6416
6417         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
6418         not COMPLETE_TYPE_P, to check the type of the expression.
6419
6420 2000-03-21  Michael Meissner  <meissner@redhat.com>
6421
6422         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
6423         all floating point insns that just tested the macro
6424         TARGET_HAS_XFLOATING_LIBS.
6425         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
6426         used to only use the gprs.
6427
6428 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
6429
6430         * tree.h (COMPLETE_TYPE_P): New macro.
6431         (COMPLETE_OR_VOID_TYPE_P): New macro.
6432         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
6433         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
6434         * c-aux-info.c (gen_type): Use them.
6435         * c-common.c (c_expand_expr_stmt): Likewise.
6436         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
6437         grokdeclarator, grokparms, finish_struct, start_function,
6438         store_parm_decls, combine_parm_decls): Likewise.
6439         * c-parse.y (cast_expr): Likewise.
6440         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
6441         c_size_in_bytes, c_alignof, build_component_ref,
6442         build_indirect_ref, build_array_ref, convert_arguments,
6443         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
6444         * calls.c (initialize_argument_information): Likewise.
6445         * convert.c (convert_to_integer): Likewise.
6446         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
6447         * dwarfout.c (location_or_const_value_attribute,
6448         output_enumeration_type_die, output_structure_type_die,
6449         output_union_type_die, output_type): Likewise.
6450         * expr.c (safe_from_p, expand_expr): Likewise.
6451         * function.c (assign_parms): Likewise.
6452         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
6453         * tree.c (build_array_type, build_function_type,
6454         build_method_type, build_offset_type, build_complex_type): Likewise.
6455         * c-parse.c, c-parse.h: Regenerated.
6456
6457 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6458
6459         * config/c4x/rtems.h: Include config/rtems.h.
6460
6461 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
6462
6463         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
6464         decl is a FUNCTION_DECL
6465
6466 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
6467
6468         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
6469         function uses output registers.  Don't save RP for leaf functions.
6470         Do save RP even if no epilogue.
6471         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
6472         (CALL_USED_REGISTERS): Unmark in registers.
6473         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
6474         to near the middle.
6475
6476 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
6477
6478         * config/rs6000/rs6000.md (bunordered): New expander.
6479         (bordered): New expander.
6480         (buneq): New expander.
6481         (bunge): New expander.
6482         (bungt): New expander.
6483         (bunle): New expander.
6484         (bunlt): New expander.
6485         (bltgt): New expander.
6486
6487         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
6488         (ccr_bit_negated_p): New function.
6489         (print_operand): For %C, generate appropriate cror for UNEQ,
6490         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
6491
6492 2000-03-20  Andreas Jaeger  <aj@suse.de>
6493
6494         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
6495         warning.
6496
6497         * tree.h (safe_for_unsave): Prototype.
6498
6499 2000-03-20  Richard Henderson  <rth@cygnus.com>
6500
6501         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
6502         (combine_stack_adjustments_for_block): Don't allow sp references
6503         in the side of a set we're not fixing up.
6504         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
6505         after life_analysis.
6506
6507 2000-03-20  Richard Henderson  <rth@cygnus.com>
6508
6509         * calls.c (expand_call): Don't bother generating tail call
6510         sequences if there are pending cleanups.  Use
6511         expand_start_target_temps/expand_end_target_temps to elide
6512         cleanups created during sibcall expansion.
6513
6514 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
6515
6516         * configure.in: Set $IFS to a value if it doesn't already have one
6517         in the --enable-checking handling.
6518         * configure: Regenerate.
6519
6520 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6521
6522         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
6523         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6524         Regenerated.
6525
6526 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
6527
6528         * jump.c (delete_noop_moves): Remove code attempting to
6529         combine stack adjustments.
6530
6531 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6532
6533         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
6534         * except.c (emit_cleanup_handler): Use them.
6535         (expand_end_all_catch): Likewise.
6536         * function.c (fixup_var_refs): Likewise.
6537         (expand_function_end): Clear catch_clauses_last.
6538         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
6539         * except.h (struct eh_status): New field x_catch_clauses_last.
6540         (catch_clauses_last): New define.
6541
6542         * Makefile.in (tree.o): Depend on HASHTAB_H.
6543         * tree.c: Include hashtab.h.
6544         (struct type_hash): Remove next field.
6545         (TYPE_HASH_SIZE): Remove.
6546         (TYPE_HASH_INITIAL_SIZE): New define.
6547         (type_hash_table): Change type to htab_t.
6548         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
6549         mark_hash_entry): New functions.
6550         (init_obstacks): Allocate type hash.
6551         (type_hash_lookup): Use htab functions.
6552         (type_hash_add, mark_type_hash): Likewise.
6553         (dump_tree_statistics): Call print_type_hash_statistics.
6554
6555 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6556
6557         * rs6000/t-aix41: New file.
6558
6559         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
6560
6561 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
6562
6563         * tm.texi (Driver): Fix typos and tweak entry for
6564         INCLUDE_DEFAULTS.
6565         Move misplaced STRUCT_FORCE_BLK entry ...
6566         (Storage Layout): ... to here.
6567         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
6568
6569 2000-03-19  Richard Henderson  <rth@cygnus.com>
6570
6571         * flow.c (delete_block): Delete the addr_vec along with the block.
6572         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
6573         reference labels.
6574
6575         * fold-const.c (extract_muldiv): Apply type check for defined
6576         overflow to multiply as well as divide.
6577
6578         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
6579
6580 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6581
6582         * emit-rtl.c (remove_unncessary_notes): Check that all
6583         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
6584         associated NOTE_BLOCK.
6585         * function.h (identify_blocks): Update comments.
6586         (reorder_blocks): Declare.
6587         * function.c (identify_blocks): Don't take paramters.
6588         (reorder_blocks): Don't take parameters.
6589         * loop.h (find_loop_tree_blocks): Remove.
6590         (unroll_block_trees): Likewise.
6591         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
6592         reorder_blocks instead of unroll_block_trees.h
6593         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
6594         * stmt.c (find_loop_tree_blocks): Remove.
6595         (unroll_block_trees): Likewise.
6596         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
6597         in whole-function mode.
6598         * tree.h (reorder_blocks): Remove declaration.
6599
6600         * expr.c: Include intl.h.
6601         * Makefile.in (expr.o): Depend on intl.h.
6602
6603 2000-03-18  Richard Henderson  <rth@cygnus.com>
6604
6605         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
6606
6607 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
6608
6609         * tree.h (tree_index): Remove enumerals for integer types.
6610         (integer_type_kind): New type.
6611         (integer_types): New variable.
6612         (char_type_node): Adjust.
6613         (signed_char_type_node): Likewise.
6614         (unsigned_char_type_node): Likewise.
6615         (short_integer_type_node): Likewise.
6616         (short_unsigned_type_node): Likewise.
6617         (integer_type_node): Likewise.
6618         (unsigned_type_node): Likewise.
6619         (long_integer_type_node): Likewise.
6620         (long_unsigned_type_node): Likewise.
6621         (long_long_integer_type_node): Likewise.
6622         (long_long_unsigned_type_node): Likewise.
6623         * tree.c (integer_types): New variable.
6624         (init_obstacks): Register it as a root.
6625
6626 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
6627
6628         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
6629         NEXT_INSN. Update last insn in chain.
6630
6631 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
6632
6633         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
6634         with TYPE_DECL_SUPPRESS_DEBUG set.
6635
6636 2000-03-18  Richard Henderson  <rth@cygnus.com>
6637
6638         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
6639
6640 2000-03-18  Richard Henderson  <rth@cygnus.com>
6641
6642         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
6643         care for HALF_PIC_P.
6644         (expander_call_insn_operand): Remove.
6645         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
6646         * i386.h (PREDICATE_CODES): Update.
6647         * i386.md (all call expanders): Remove predicates, remove special
6648         handling for half-pic.
6649         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
6650         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
6651         (sibcall_epilogue): New.
6652
6653 2000-03-17  Richard Henderson  <rth@cygnus.com>
6654
6655         * rtlanal.c (single_set): Reject if the parallel has anything
6656         except SET or USE or CLOBBER.
6657
6658 2000-03-17  Jeff Law  <law@cygnus.com>
6659             Richard Henderson  <rth@cygnus.com>
6660
6661         * Makefile.in (OBJS): Add sibcall.o.
6662         (sibcall.o): New.
6663         * sibcall.c: New file.
6664         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
6665         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
6666         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
6667         Emit sibcall patterns when requested.  Update all callers.
6668         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
6669         elimination seems feasable.
6670         * final.c (leaf_function_p): Sibling calls don't discount being
6671         a leaf function.
6672         * flow.c (HAVE_sibcall_epilogue): Provide default.
6673         (find_basic_blocks_1): Sibling calls don't throw.
6674         (make_edges): Make edge from sibling call to EXIT.
6675         (propagate_block): Don't remove sibcall_epilogue insns.
6676         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
6677         (sibcall_epilogue): New.
6678         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
6679         (identify_blocks_1): Likewise.  Break out from ...
6680         (identify_blocks): ... here.
6681         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
6682         (reorder_blocks): ... here.
6683         (init_function_for_compilation): Zap prologue/epilogue as varrays.
6684         (record_insns): Extend a varray instead of mallocing new memory.
6685         (contains): Read a varray not array of ints.
6686         (sibcall_epilogue_contains): New.
6687         (thread_prologue_and_epilogue_insns): Emit and record
6688         sibcall_epilogue patterns.
6689         (init_function_once): Allocate prologue/epilogue varrays.
6690         * genflags.c (gen_insn): Treat sibcall patterns as calls.
6691         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
6692         Broken out from ...
6693         (save_for_inline_nocopy): ... here.
6694         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
6695         Broken out from ...
6696         (expand_inline_function): ... here.
6697         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
6698         (subst_constants): Handle 'n' formats.
6699         * jump.c (jump_optimize_minimal): New.
6700         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
6701         optimizations if it's set.
6702         * rtl.c (copy_rtx): Do copy jump & call for insns.
6703         * rtl.h (struct rtx_def): Document use of jump and call for insns.
6704         (SIBLING_CALL_P): New.
6705         (sibcall_use_t): New.
6706         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
6707         Invoke optimize_sibling_and_tail_recursive_calls.
6708         * tree.c (lang_safe_for_unsave): New.
6709         (safe_for_unsave): New.
6710         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
6711
6712         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
6713         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
6714         (*sibcall_osf_1, *sibcall_value_osf_1): New.
6715
6716 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
6717
6718         * objc/objc-act.c (encode_method_prototype): Pass types, not
6719         PARM_DECLs, to int_size_in_bytes.
6720
6721 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
6722
6723         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
6724
6725         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6726         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
6727
6728 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6729
6730         * Clean up usages of TREE_INT_CST_LOW.
6731         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
6732         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6733         Regenerated.
6734         * c-tree.h (min_precision): Move declaration to here.
6735         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
6736         (build_unary_op, add_pending_init): Use bit_position.
6737         (pending_init_member, process_init_element): Likewise.
6738         (really_start_incremental_init, push_init_level, pop_init_level):
6739         Don't make copies of nodes or modify them in place, use consistent
6740         types when tracking positions, and use tree routines computations.
6741         (set_init_index, output_init_element): Likewise.
6742         (output_pending_init_elements, process_init_element): Likewise.
6743         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
6744         tree_low_cst and int_bit_position; also minor cleanup.
6745         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
6746         (print_cst_octal): Precision is unsigned.
6747         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
6748         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
6749         (simple_type_align_in_bits): Result is unsigned int.
6750         Use tree_int_low_cst and host_integerp.
6751         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
6752         (field_byte_offset): Result is HOST_WIDE_INT.
6753         Change types of internal variables so alignments are unsigned int,
6754         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
6755         Use host_integerp, tree_low_cst, and int_bit_position.
6756         (add_bit_offset_attribute): Likewise.
6757         (add_data_member_location_attribute): Use tree_cst_low.
6758         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
6759         (add_bit_size_attribute): Use tree_low_cst.
6760         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
6761         * dwarfout.c: Similar changes to dwarf2out.c.
6762         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
6763         * genoutput.c (n_occurences): Return -1 for null string.
6764         (strip_whitespace): Accept null string and make into function.
6765         (scan_operands): Reflect above changes.
6766         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
6767         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
6768         * ssa.c (rename_registers): Add missing cast of arg to bzero.
6769         * tree.c (int_size_in_bytes): Check for too big to represent.
6770         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
6771         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
6772         New declarations.
6773         (min_precision): Delete from here.
6774         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
6775         and int_bit_position.
6776         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
6777         (encode_method_def): Likewise.
6778         (build_ivar_list_initializer): Use int_bit_position.
6779         (generate_shared_structures): Convert size.
6780         (encode_type, encode_complete_bitfield): Use integer_zerop.
6781         (encode_bitfield): Use tree_low_cst and int_bit_position.
6782
6783 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6784
6785         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
6786
6787 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6788
6789         * call.c (special_function_p): It is only malloc if it returns
6790         Pmode.
6791
6792 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6793
6794         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
6795         (C33_FLAG, TARGET_C3X): Add macros.
6796         (TARGET_SWITCHES): Add -m33 option.
6797         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
6798
6799 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6800
6801         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
6802         (PARALLEL_PACK_FLAG): Delete.
6803         (TARGET_SWITCHES): Update.
6804         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
6805
6806 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6807
6808         * fold-const.c (fold): Fix a few cases when the returned result
6809         is not of the same type as the input.
6810
6811 2000-03-16  Nick Clifton  <nickc@cygnus.com>
6812
6813         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
6814         warning.
6815
6816 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6817
6818         * libgcc2.h: Move prototypes above macros with the same name.
6819         Wrap some function prototypes in the conditional which indicates
6820         whether they are supported, i.e. "BITS_PER_UNIT == 8".
6821
6822 2000-03-16  Richard Henderson  <rth@cygnus.com>
6823
6824         * calls.c: Revert last two changes.
6825
6826 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
6827
6828         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
6829         has exponent 0 is a zero.
6830
6831         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
6832         HASH may already be nonzero.  Add code/mode into hash value
6833         immediately after repeat label.
6834         (cselib_lookup): Don't leave the hash table in an inconsistent
6835         state before a hash lookup operation.
6836
6837 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
6838
6839         * i386.md (all HI and QI mode non-move patterns):  Conditionize
6840         by TARGET_[HQ]IMODE_MATH.
6841         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6842         x86_promote_qi_regs): Declare.
6843         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
6844         TARGET_PROMOTE_QI_REGS): New macros.
6845         (PROMOTE_MODE): New macro.
6846         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6847         x86_promote_qi_regs): New global variables.
6848
6849 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
6850
6851         * calls.c (emit_library_call_value_1): Break out from ...; handle
6852         VOIDmode function calls too.
6853         (emit_library_call_value): ... here.
6854         (emit_library_call): Implement by calling emit_library_call_value_1.
6855
6856 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
6857
6858         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
6859         Update arg_space_so_far on stack adjustments.
6860         (emit_library_call, emit_library_call_value): Likewise; take into
6861         account arg_space_so_far and pending_stack_adjust when calculcating
6862         the boundary.
6863
6864 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
6865
6866         * flow.c: Move all basic block reordering code into its own file.
6867         (create_basic_block): Externalize.
6868         * bb-reorder.c: New file. Copy all basic block reordering code from
6869         flow.c to this file.
6870         (reorder_basic_blocks): Fix fencepost error in for-loop.
6871         (reorder_basic_blocks): Remove braces from single statement for-loops.
6872         * basic-block.h: Add declaration for create_basic_block.
6873         * Makefile.in: Add rules for bb-reorder.o.
6874
6875 2000-03-16  Neil Booth  <NeilB@earthling.net>
6876
6877         * cppinit.c (handle_option):  Implement #unassert directive
6878         as -A- command line option.
6879         (print_help):  Update.
6880         * cpptexi.c:  Update.
6881
6882 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6883
6884         * md.texi (Standard Names): Document `jump'.
6885
6886 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
6887
6888         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
6889         gotos.
6890
6891 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6892
6893         Merge changes from newppc-branch onto trunk.
6894
6895         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
6896
6897         * rs6000.c (toc_hash_table): Update for new hash table functions.
6898         (toc_hash_function): Likewise.
6899         (toc_hash_eq): Likewise.
6900         (toc_hash_mark_entry): Likewise.
6901         (toc_hash_mark_table): Likewise.
6902         (output_toc): Likewise.
6903         (rs6000_add_gc_roots): Likewise.
6904
6905         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6906
6907         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
6908         (AR_FLAGS_FOR_TARGET): here.  New macro.
6909
6910         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
6911
6912         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
6913         fpmem_operand) Delete.
6914         (xer_operand) New.
6915         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
6916         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
6917         (rs6000_save_machine_status, rs6000_restore_machine_status,
6918         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
6919         references to above variables.
6920         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
6921         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
6922         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
6923         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
6924         (XER_REGNO_P, XER_REGNO): New.
6925         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
6926         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
6927         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
6928         XER_REGNO_P.
6929         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
6930         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
6931         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
6932
6933         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6934
6935         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
6936         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
6937         * rs6000.h: from here.
6938
6939         * rs6000-protos.h (rs6000_select_section): Provide prototype.
6940         (rs6000_select_rtx_section): Likewise.
6941         (rs6000_encode_section_info): Likewise.
6942         (sdata_section): Likewise.
6943         (sdata2_section): Likewise.
6944         (sbss_section): Likewise.
6945         * sysv4.h (rs6000_select_section): Delete prototype.
6946         (rs6000_select_rtx_section): Likewise.
6947         (rs6000_encode_section_info): Likewise.
6948         (sdata_section): Likewise.
6949         (sdata2_section): Likewise.
6950         (sbss_section): Likewise.
6951         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
6952
6953         * sysv4.h: Delete various unnecessary #undef's and put a comment
6954         on the remaining ones.
6955         Change various comments according to coding standard.
6956
6957         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
6958
6959         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
6960         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
6961         (CR0_REGNO_P) Remove.
6962         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
6963         setup_incoming_varargs, mtcrf_operation, print_operand,
6964         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
6965         Use the above macros.
6966
6967         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
6968
6969         * config/rs6000/rs6000.md: Added a new alternative for each
6970         pattern that had a 'x' alternative but no 'y' alternative.
6971         Added a new split for each of the above patterns.
6972
6973         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6974
6975         * aix41.h (ASM_CPU_SPEC): Delete.
6976         (CPP_CPU_SPEC): Delete.
6977
6978         * aix.h (RS6000_OUTPUT_BASENAME): Define.
6979         (ASM_OUTPUT_LABEL): Define.
6980         (ASM_GLOBALIZE_LABEL): Define.
6981         (STRIP_NAME_ENCODING): Define.
6982         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
6983         (STRIP_NAME_ENCODING): Don't define.
6984         (ASM_OUTPUT_LABEL): Don't define.
6985         (ASM_GLOBALIZE_LABEL): Don't define.
6986         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
6987         names, and ASM_OUTPUT_LABEL to output labels, rather than
6988         asm_fprintf.
6989         (ASM_OUTPUT_LABEL): Define.
6990         (ASM_OUTPUT_INT): Use assemble_name.
6991         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
6992         (STRIP_NAME_ENCODING): Don't undefine first.
6993         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
6994         ELF.
6995         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
6996         specified with 'asm' even with -fleading-underscore.
6997         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
6998         (output_epilog): Likewise.
6999         (output_toc): Likewise.
7000         * tramp.asm: Handle -fleading-underscore correctly.
7001
7002         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
7003         -mminimal-toc.
7004         (nonlocal_goto_receiver): Delete.
7005         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
7006
7007         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
7008         (SET_ASM_OP): Define.
7009         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
7010
7011         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
7012         (ASM_LONG): Define.
7013
7014         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
7015         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
7016
7017         * rs6000.h: Add 'u' to more constants.
7018
7019         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
7020
7021         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
7022
7023         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
7024
7025         * rs6000.c (reg_or_u_cint_operand): New function.
7026         (logical_operand): Handle 64-bit hosts.
7027         (logical_u_operand): New function.
7028         (non_logical_cint_operand): Handle 64-bit hosts.
7029         (non_logical_u_cint_operand): New function.
7030         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
7031         (PREDICATE_CODES): Define new functions.
7032         * rs6000-protos.h: Declare new functions.
7033         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
7034         (movdi_64): Bracket code intended for 64-bit hosts.  Create
7035         CONST_DOUBLE for 32-bit values.
7036         (scc insns): Generate DImode compares.
7037         (mfcr insns): Create DImode versions.
7038         (sge matchers): New patterns.
7039
7040         2000-02-15  Gabriel Paubert  <paubert@iram.es>
7041
7042         * rs6000.md: Correct instructions length attributes and
7043         constraints on unsigned compare instructions.
7044         (*ne0): Disable for PowerPC64.
7045
7046         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
7047
7048         * rs6000.c (output_function_profiler): Use .long for a 32-bit
7049         quantity, fix profile1.C test failure under -fPIC.
7050
7051         * rs6000.c: Add 'u' to many constants to suppress warnings.
7052         (constant_pool_expr_1): Make static.
7053         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
7054         * rs6000.h: Add 'u' to many constants to suppress warnings.
7055
7056         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
7057         for the start of the TOC, instead of LCTOC..0.
7058         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
7059         of the TOC.
7060         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
7061         (load_toc_aix_di): Use LCTOC..1.
7062
7063         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
7064         * rs6000.c (rs6000_legitimize_address): New function from
7065         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
7066         symbols in the constant pool that really are TOC references.
7067         (print_operand_address): For ELF, write TOC offsets under
7068         -fPIC as subtractions in the insn.
7069         (output_toc): For ELF, define symbols in TOC as normal labels,
7070         to match RTL.
7071         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
7072         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
7073         (create_TOC_reference): Prototype only when RTX_CODE is defined.
7074         * rs6000.md (movsi): Only use create_TOC_reference on
7075         symbols in the constant pool that really are TOC references.
7076
7077         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
7078         * rs6000.c (rs6000_reorg): Delete.
7079         * rs6000-protos.h (rs6000_reorg): Delete.
7080
7081         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
7082
7083         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
7084
7085         * aix.h (SETUP_FRAME_ADDRESSES): Define.
7086         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
7087         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
7088         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
7089         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
7090         rs6000_aix_emit_builtin_unwind_init.
7091         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
7092         rs6000_emit_eh_toc_restore on AIX.
7093         (return_eh_si): Use r2.
7094         (return_eh_di): Use r2.
7095
7096         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
7097         since we're breaking binary compatibility anyway.
7098
7099         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7100
7101         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
7102         constant_pool_expr_p): Declare them.
7103         (constant_pool_expr_p): Declare it.
7104         * config/rs6000/rs6000.c (toc_label_name): Define.
7105         (rs6000_override_options): Set toc_label_name.
7106         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
7107         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
7108         uses_TOC): New functions.
7109         (print_operand): Delete old '*' case.
7110         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
7111         and strip off rtl for TOC before calling output_addr_const.
7112         (rs6000_emit_load_toc_table): Use toc_label_name.
7113         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
7114         the default.
7115         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
7116         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
7117         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
7118         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
7119         into explicit TOC_REGISTER offsets.
7120         (TOC_REGISTER): New macro.
7121         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
7122         TARGET_TOC to reference TOC_REGISTER.
7123         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
7124         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
7125         uses_TOC before emitting label references.
7126
7127         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7128
7129         * rs6000.md (stack_tie): Fix warning.
7130
7131         * eabi-ctors.c: Use 'asm' names for the start/end variables,
7132         to handle -fleading-underscore.
7133         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
7134         (USER_LABEL_PREFIX): New macro.
7135         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
7136         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
7137         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
7138         call-linux can use the same multilibs.
7139         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
7140         and call-linux multilibs.  Do multilib with -fleading-underscore.
7141         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
7142         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
7143         to call-aix.
7144
7145         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
7146         have MASK_SOFT_FLOAT set.
7147         (CPP_FLOAT_DEFAULT_SPEC): New macro.
7148         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
7149         CPP_FLOAT_DEFAULT_SPEC.
7150
7151         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
7152         * rs6000.md: Whitespace change.
7153         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
7154         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
7155
7156         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7157
7158         * rs6000.md (eh_epilogue): New expander.
7159         (eh_reg_restore): New expand/split/insn combination.
7160         (return_eh_si): New insn.
7161         (return_eh_di): New insn.
7162
7163         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
7164         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
7165         * eabi-ctors.c (__do_global_ctors): Register this object's
7166         frame.  Clean up.  Call atexit() after the constructors.
7167         (__do_global_dtors): Deregister this object's frame.  Clean up.
7168         Allow for recursive calls to exit().
7169         * rs6000.c (fixuplabelno): New variable.
7170         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
7171         TARGET_RELOCATABLE, it slows down exec() under linux.
7172         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
7173
7174         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
7175         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
7176         (ASM_OUTPUT_DWARF_DELTA2): New macro.
7177         (ASM_OUTPUT_DWARF_DELTA4): New macro.
7178         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
7179         (ASM_OUTPUT_DWARF_ADDR): New macro.
7180         (ASM_OUTPUT_DWARF_DATA4): New macro.
7181         (ASM_OUTPUT_DWARF_DATA2): New macro.
7182         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
7183         (ASM_OUTPUT_DWARF_OFFSET): New macro.
7184         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
7185
7186         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
7187
7188         * rs6000.c (rs6000_sr_alias_set): New variable.
7189         (rs6000_override_options): Initialise rs6000_sr_alias_set.
7190         (rs6000_emit_stack_tie): New function.
7191         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
7192         in a way that dwarf2out can understand.
7193         (rs6000_frame_related): New function.
7194         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
7195         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
7196         Use rs6000_emit_stack_tie when needed.
7197         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
7198         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
7199         * rs6000.md (stack_tie): New insn.
7200         (return_internal_si): Allow return value to be in the count
7201         register.
7202         (return_internal_di): Likewise.
7203
7204         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
7205
7206         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
7207
7208         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
7209
7210         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
7211
7212         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
7213
7214         * rs6000.md (stmw): Use the right POWER opcode.
7215         (lmw): Likewise.
7216
7217         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7218
7219         * rs6000-protos.h: New file.
7220
7221         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
7222
7223         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
7224         warnings.
7225
7226         * sysv4.h: Likewise.
7227
7228         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
7229
7230         * ../../configure.in: Delete powerpcle-*-winnt*
7231         and powerpcle-*-pe|powerpcle-*-cygwin*.
7232         * ../../configure: Regenerated.
7233         * cygwin.h: Delete.
7234         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
7235         (TARGET_WINDOWS_NT): Delete.
7236         (ABI_NT): Delete.
7237         (CALL_NT_DLLIMPORT): Delete.
7238         Delete NT-specific code.
7239         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
7240         * win-nt.h: Delete.
7241         * t-winnt: Delete.
7242         * nt-ci.asm: Delete.
7243         * nt-cn.asm: Delete.
7244         * ntstack.asm: Delete.
7245
7246         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7247
7248         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
7249         (ASM_FILE_START): Likewise.
7250         (ASM_DECLARE_FUNCTION_NAME): Likewise.
7251         (ASM_OUTPUT_LABELREF): Likewise.
7252         (ASM_OUTPUT_SKIP): Likewise.
7253         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
7254         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
7255         (ASM_OUTPUT_CASE_LABEL): Likewise.
7256         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
7257         (ASM_OUTPUT_ASCII): Likewise.
7258
7259         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
7260
7261         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
7262         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
7263         increment rs6000_pic_labelno here.
7264         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
7265         and increment rs6000_pic_labelno here.
7266
7267         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
7268
7269         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
7270         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
7271         allocation knows (reg) is dead before the insn.
7272
7273         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
7274
7275         * rs6000.md (movsi_to_cr): Correct typo in output template.
7276
7277         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
7278
7279         * rs6000.c (rs6000_pic_labelno): Always define.
7280         (rs6000_pic_func_labelno): Delete.
7281         (lmw_operation): Check for a zero base register,
7282         which doesn't mean what we want.
7283         (stmw_operation): New function.
7284         (print_operand): Define new 'l' modifier.
7285         (rs6000_stack_info): We must save all 64 bits of the registers
7286         if TARGET_POWERPC64.
7287         (rs6000_output_load_toc_table): Delete.
7288         (rs6000_emit_load_toc_table): New function.
7289         (rs6000_allocate_stack_space): Delete.
7290         (rs6000_emit_allocate_stack): New function.
7291         (rs6000_emit_prologue): New function.
7292         (output_prolog): Use rs6000_emit_prologue.
7293         (rs6000_emit_epilogue): Change a few variable names to be
7294         more accurate.  Restore all 64 bits of the registers if
7295         TARGET_POWERPC64.  Only restore the FP registers which were used
7296         if they are being saved/restored one-at-a-time.
7297         (output_mi_thunk): Delete inefficient code generation.
7298         (output_function_profiler): Don't use rs6000_output_load_toc_table.
7299         * rs6000.h: Declare rs6000_emit_load_toc_table,
7300         rs6000_allocate_stack_space, stmw_operation.  Don't declare
7301         rs6000_output_load_toc_table.
7302         * rs6000.md (elf_high): Allow register 0, but discourage it
7303         heavily.
7304         (elf_low): Support loading into register 0.
7305         (load_toc_aix_si): New pattern.
7306         (load_toc_aix_di): New pattern.
7307         (load_toc_v4_pic_si): New pattern.
7308         (load_toc_v4_pic_di): New pattern.
7309         (load_toc_v4_PIC_1): New pattern.
7310         (load_toc_v4_PIC_1b): New pattern.
7311         (load_toc_v4_PIC_2): New pattern.
7312         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
7313         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
7314         (prologue): New expander.
7315         (movesi_from_cr): New pattern.
7316         (stmw): New pattern.
7317         (save_fpregs_si): New pattern.
7318         (save_fpregs_di): New pattern.
7319
7320         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7321
7322         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
7323         (movdi): Likewise.
7324         (movhi): Likewise.
7325         (movqi): Likewise.
7326
7327         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7328
7329         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
7330         at present.
7331         (movsi_got_internal): Likewise.
7332         (movsi_got_internal+1): Likewise.
7333         (set_sp): 'unspec 7' does a SImode clobber.
7334
7335         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7336
7337         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
7338         allocate a stack temporary.
7339         (floatsidf2_internal): Likewise.
7340         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
7341         with unspec.
7342         (floatunssidf2): Don't use the fpmem "register", just
7343         allocate a stack temporary.
7344         (floatunssidf2_internal): Likewise.
7345         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
7346         with unspec.
7347         (floatsidf2_loadaddr): Delete.
7348         (floatsidf2_store1): Delete.
7349         (floatsidf2_store2): Delete.
7350         (floatsidf2_load): Delete.
7351         (fix_truncdfsi2): Don't use the fpmem "register", just
7352         allocate a stack temporary.
7353         (fix_truncdfsi2_internal_si): Delete.
7354         (fix_truncdfsi2_internal_di): Delete.
7355         (fix_truncdfsi2_internal): New insn.
7356         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
7357         (fix_truncdfsi2_store): Delete.
7358         (fix_truncdfsi2_load): Delete.
7359         (fctiwz): Produce gen_fctiwz.
7360
7361         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
7362
7363         * eabi.h (INVOKE__main): Define.
7364         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
7365         specially.
7366         (rs6000_emit_prologue): Likewise.
7367         * rs6000.h (struct rs6000_stack): Don't keep track of whether
7368         this is the main program.
7369
7370         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7371
7372         * rs6000.c (rs6000_va_arg): Delete some unused variables.
7373
7374         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
7375
7376         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
7377         goes after the argument.
7378
7379         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
7380
7381         * rs6000.md: Document 'unspec' values used.
7382         (epilogue): New expander.
7383         (movesi_to_cr_one): New expander.
7384         (movesi_to_cr and following): New pattern.
7385         (lmw): New pattern.
7386         (return_internal_si): New pattern.
7387         (return_internal_di): New pattern.
7388         (return_and_restore_fpregs_si): New pattern.
7389         (return_and_restore_fpregs_di): New pattern.
7390         * rs6000.h: Declare new functions.
7391         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
7392         rather than rs6000_calls_p.
7393         (rs6000_makes_calls): Delete.
7394         (lmw_operation): New function.
7395         (mtcrf_operation): New function.
7396         (rs6000_emit_epilogue): New function.
7397         (output_epilog): Call rs6000_emit_epilogue and final if
7398         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
7399
7400         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
7401
7402         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
7403         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
7404         * aix.h (SUBTARGET_SWITCHES): Document switches.
7405         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
7406         sched-prolog and sched-epilog the same.  Document all the
7407         switches.
7408         (TARGET_OPTIONS): No longer allow -mdebug-.
7409
7410         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
7411
7412         * rs6000.h (ASM_FILE_END): Move to aix.h.
7413         (EXTRA_SECTIONS): Move to aix.h.
7414         (READONLY_DATA_SECTION): Move to aix.h.
7415         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
7416         (SELECT_SECTION): Move to aix.h.
7417         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
7418         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
7419         (LINK_REGISTER_REGNUM): New definition.
7420         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
7421         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
7422         AIX and SVR4.
7423         * sysv4.h: Delete the code between the inclusion of rs6000.h
7424         and svr4.h.
7425         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
7426         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
7427         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
7428         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
7429         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
7430         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
7431         (fix_truncdfsi2_internal_di): New pattern.
7432         (fix_truncdfsi2_store): The second arg here is Pmode too.
7433         (fix_truncdfsi2_load): The second arg here is Pmode too.
7434         (tablejumpdi): Now that switch tables hold only SImode values,
7435         gcc needs to know how to add them to the pc which is DImode.
7436         * rs6000.c (rs6000_stack_info): Use symbolic name for
7437         LINK_REGISTER_REGNUM.
7438         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
7439         (output_toc): Delete unused variables s1 and s2.
7440         (output_ascii): Use fputs not fprintf on a variable string.
7441
7442         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
7443
7444         * rs6000.c (processor_target_table): Add power3 as alias for 630.
7445         * aix43.h: Revert Aug 2 change.
7446         (HAS_INIT_SECTION): Define, not visible yet.
7447         (LD_INIT_SWITCH): Define, not visible yet.
7448         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
7449
7450         2000-01-04  Joel Sherrill (joel@OARcorp.com>
7451
7452         * config/rs6000/rtems.h: Include config/rtems.h.
7453
7454         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
7455
7456         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
7457         (SLOW_UNALIGNED_ACCESS): Define.
7458         (CASE_VECTOR_MODE): Always use 32-bit offsets.
7459         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
7460         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
7461         (toc_section): Likewise and .toc pseudo-op.
7462         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
7463         64-bit mode.
7464         (TEXT_SECTION_ASM_OP): Likewise.
7465         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
7466         32-bit offsets.
7467
7468         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
7469
7470         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
7471         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
7472         compiling libgcc2.
7473
7474         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7475
7476         * rs6000.h: Move more stuff from here...
7477         * aix.h: to here.
7478         * sysv4.h: Cleanup accordingly.
7479         * netware.h: Likewise
7480
7481         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7482
7483         * rs6000.h: Continue cleanup.
7484         * aix.h: Likewise.
7485         * lynx.h: Likewise.
7486         * netware.h: Likewise.
7487         * sol2.h: Likewise.
7488         * sysv4.h: Likewise.
7489         * win-nt.h: Likewise.
7490
7491         * rs6000.h (TARGET_SWITCHES): Add descriptions.
7492         (TARGET_OPTIONS): Likewise.
7493
7494         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
7495         (SUBTARGET_OPTIONS): Likewise.
7496
7497         * rs6000.md: Fix compile time warnings.
7498
7499         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7500
7501         vxworks patches from the Cygnus tree originally by
7502         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
7503         <vmakarov@cygnus.com>.
7504         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
7505         (ENDFILE_SPEC): Likewise.
7506         (LIB_VXWORKS_SPEC): New macro.
7507         (STARTFILE_VXWORKS_SPEC): New macro.
7508         (ENDFILE_VXWORKS_SPEC): New macro.
7509         (LINK_START_VXWORKS_SPEC): New macro.
7510         (LINK_OS_VXWORKS_SPEC): New macro.
7511         (CPP_OS_VXWORKS_SPEC): New macro.
7512         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
7513         * vxppc.h: Rewrite to use proper configuration method.
7514         * vxppcle.h: New file.
7515         * ../../configure.in: Add powerpcle-wrs-vxworks*.
7516         * ../../configure: Rebuilt.
7517
7518         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7519
7520         Lots of changes to rs6000.h, sysv4.h, aix.h,
7521         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
7522         with the aim that rs6000.h is the first header
7523         included and the others override it.
7524         * aix.h: New file.
7525
7526         * x-aix41-gld: Remove.
7527         * x-aix43: Remove.
7528         * x-aix41: Remove target-specific switches, and don't specify
7529         -Wl,-bbigtoc as we don't need it any more.
7530         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
7531         Use t-aix43 for AIX 4.3 and above.
7532         * ../../configure: Regenerated.
7533
7534         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
7535         options, that don't do anything yet.
7536         (MASK_SCHED_PROLOG): New macro.
7537         (MASK_SCHED_EPILOG): New macro.
7538         (TARGET_SCHED_PROLOG): New macro.
7539         (TARGET_SCHED_EPILOG): New macro.
7540
7541         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
7542
7543         * rs6000.c: Correct comment, the `minimal' TOCs are actually
7544         one per translation unit, not one per function.
7545         (output_toc): Also do duplicate constant elimination
7546         for per-translation-unit TOCs.
7547
7548         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
7549         a comment explaining _exactly_ when this pattern gets used.
7550         (builtin_setjmp_receiver): New pattern for better clarity.
7551         (init_v4_pic): Move it into a section dealing with TOC registers.
7552
7553         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
7554
7555         * rs6000.c (toc_hash_table): New variable.
7556         (rs6000_hash_constant): New function.
7557         (toc_hash_function): New function.
7558         (toc_hash_eq): New function.
7559         (toc_hash_mark_entry): New function.
7560         (toc_hash_mark_table): New function.
7561         (output_toc): Don't output duplicate TOC entries in
7562         a single file.
7563         (rs6000_add_gc_roots): Add the hash table as a GC root.
7564         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
7565         where they clearly shouldn't be.  This may need to be fixed
7566         later when there is a GNU ar for AIX.
7567         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
7568         Don't define BOOT_LDFLAGS as it is now not necessary.
7569
7570         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
7571
7572         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
7573         for va_list on AIX.  Use unsigned_char_type_node rather than
7574         constructing our own version on svr4.
7575
7576         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
7577
7578         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
7579         since patently it's not.
7580
7581         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
7582
7583         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
7584         define_expand/define_insn pair, and handle restore of the
7585         SVR4 -fpic register.
7586
7587 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
7588
7589         * acconfig.h (HAVE_GAS_WEAK): New define.
7590         * configure.in (assembler weak support): Check for .weak support.
7591         * config.in, configure: Rebuilt.
7592         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
7593         HAVE_GAS_WEAK is defined.
7594
7595 2000-03-15  Nick Clifton  <nickc@cygnus.com>
7596
7597         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
7598         asm_fprintf().
7599
7600 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
7601
7602         * cppfiles.c (open_include_file): New function.
7603         (find_include_file, cpp_read_file): Use it.
7604
7605 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
7606
7607         * cpphash.c (dump_hash_helper): Take the slot, not the element.
7608
7609 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
7610
7611         * flow.c (verify_flow_info): Check for unconditional return.
7612
7613 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
7614
7615         * config/ia64/ia64.md (restore_stack_nonlocal): New.
7616         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
7617         (__ia64_restore_stack_nonlocal): New.
7618         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
7619
7620 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7621
7622         * cpphash.c (collect_formal_parameters): Do not complain about
7623         parameter names that just start with `__VA_ARGS__'.
7624
7625 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
7626
7627         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
7628         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
7629         * i386.c (pentiumpro_cost): Set mul cost to 4.
7630         (x86_use_movx): Set for PPro.
7631
7632 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
7633
7634         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
7635         STACK_BOUNDARY for empty frames now.
7636
7637 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
7638
7639         * stor-layout.c (layout_union): Remove.
7640         (layout_union_field): New function, split out from layout_union.
7641         (finish_union_layout): Likewise.
7642         (layout_field): Handle unions by calling layout_union_field.
7643         (finish_record_layout): Handle unions.
7644         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
7645         QUAL_UNION_TYPE handling.
7646
7647 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
7648
7649         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
7650         end of basic block is jump_insn, not barrier; use create_basic_block
7651         instead of creating basic block by hand.
7652
7653 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
7654
7655         * flow.c (reorder_basic_blocks): Account for barriers when writing
7656         over NEXT_INSN (last_bb->end).
7657         (verify_flow_info): Add check for missing barriers.
7658
7659 2000-03-14  Greg McGary  <gkm@gnu.org>
7660
7661         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
7662         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
7663         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
7664         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
7665         __unbounded, __unbounded__): New keywords.
7666         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
7667         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
7668         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
7669
7670 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7671
7672         * cselib.h: New file.
7673         * alias.c: Include "cselib.h".
7674         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
7675         MEMs as two new arguments.
7676         (get_addr): New static function.
7677         (find_base_term): Handle VALUEs.
7678         (memrefs_conflict_p): Likewise.
7679         (true_dependence): Call get_addr on the addresses.
7680         Call fixed_scalar_and_varying_struct_p with addresses that have been
7681         passed through get_addr and canon_rtx.
7682         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
7683         with true_dependence.
7684         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
7685         * loop.c: Include "cselib.h".
7686         (load_mems): Process extended basic block that enters the loop with
7687         cselib.  Use that information to change initialization of the shadow
7688         register so that a constant equivalence is seen by later passes.
7689         * reload1.c: Include "cselib.h".
7690         (reload_cse_invalidate_regno): Delete function.
7691         (reload_cse_mem_conflict_p): Likewise.
7692         (reload_cse_invalidate_mem): Likewise.
7693         (reload_cse_invalidate_rtx): Likewise.
7694         (reload_cse_regno_equal_p): Likewise.
7695         (reload_cse_check_clobber): Likewise.
7696         (reload_cse_record_set): Likewise.
7697         (reg_values): Delete static variable.
7698         (invalidate_regno_rtx): Likewise.
7699         (reload_cse_delete_noop_set): New static function.
7700         (reload_cse_simplify): New static function, broken out of
7701         reload_cse_regs_1.
7702         (reload_cse_noop_set_p): Delete unused argument INSN.
7703         Just call rtx_equal_for_cselib_p on set source and destination.
7704         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
7705         reload_cse_delete_noop_set.  Delete code to keep track of values; use
7706         cselib functions instead.  Delete code to push/pop obstacks.
7707         (reload_cse_simplify_set): Use cselib to find equivalent values.
7708         Delete code to push/pop obstacks.
7709         (reload_cse_simplify_operands): Likewise.
7710         * rtl.def (VALUE): New rtx code.
7711         * rtl.h (union rtunion_def): New elt rt_cselib.
7712         (X0CSELIB, CSELIB_VAL_PTR): New macros.
7713         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
7714         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
7715         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
7716         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
7717         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
7718         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
7719         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
7720         cselib_record_set, cselib_record_sets): New static functions.
7721         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
7722         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
7723         references_value_p): New functions.
7724         (MAX_USELESS_VALUES, REG_VALUES): New macros.
7725         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
7726         n_useless_values, reg_values, callmem, cselib_obstack,
7727         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
7728         New static variables.
7729         * varray.h (union varray_data_tag): New elt te.
7730         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
7731         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
7732         dependencies.
7733
7734 2000-03-14  Nick Clifton  <nickc@cygnus.com>
7735
7736         * gcc.c (do_spec_1): Catch the case where %* is used in a
7737         substitution pattern, but it has not been initialised.
7738         Issue a meaningful error message if an unrecognised operator
7739         is encountered in a spec string.
7740
7741 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
7742
7743         * function.c (prepare_function_start): Correctly initialize
7744         cfun->stack_alignment_needed.
7745
7746 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
7747
7748         * cppfiles.c (find_include_file): Don't assume nshort is a
7749         substring of name.
7750
7751 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
7752
7753         * configure.in (hppa configurations): Add pa32-regs.h to the
7754         list of tm files as appropriate.
7755         * configure: Rebuilt.
7756         * pa.c (compute_frame_size): Remove explicit knowledge about FP
7757         register numbering.
7758         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
7759         (fmpyaddoperands, fmpysuboperands): Likewise.
7760         * pa.h: Remove various definitions which depend on knowing
7761         how registers are numbered.
7762         * pa32-regs.h: New file with PA32 register numbering specific
7763         definitions.
7764
7765 2000-03-14  Richard Henderson  <rth@cygnus.com>
7766
7767         * regmove.c (combine_stack_adjustments): New.
7768         (stack_memref_p, single_set_for_csa): New.
7769         (free_csa_memlist, record_one_stack_memref): New.
7770         (try_apply_stack_adjustment): New.
7771         (combine_stack_adjustments_for_block): New.
7772         * rtl.h (combine_stack_adjustments): Declare.
7773         * toplev.c (rest_of_compilation): Call it.
7774
7775         * i386.md: Revert 2000-01-16 change.
7776
7777 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7778
7779         * gccbug.in: Add web category, gcc specific classes.
7780
7781 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
7782
7783         * stor-layout.c (finalize_record_size): Fix typo.
7784
7785 2000-03-14  Stan Shebs  <shebs@apple.com>
7786
7787         * c-typeck.c (c_alignof): Error on incomplete types.
7788         * extend.texi (Alignment): Document this.
7789
7790 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7791
7792         * cppfiles.c: Include mkdeps.h.
7793         (find_include_file, read_include_file): Remove _cpp_ prefix
7794         from name, make static.
7795         (_cpp_execute_include): New function, broken out of
7796         do_include.
7797
7798         * cpplib.c: Don't include mkdeps.h.
7799         (struct directive): Remove type field. Reorder entries.  The
7800         function takes only one argument.
7801         (struct if_stack): Make type field an int.
7802         (directive_table): Rename to dtable.  Generate it, the
7803         prototypes of the directive handlers, and the enum for the
7804         directive numbers, from a template macro.
7805         (do_ifndef, do_include_next, do_import): New functions.
7806         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
7807         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
7808         do_ident, do_assert, do_unassert, do_sccs): Take only one
7809         argument.
7810         (do_sccs): Define always, but alter behavior based on
7811         SCCS_DIRECTIVE.
7812         (_cpp_handle_directive, consider_directive_while_skipping):
7813         Restructure for new directive table layout.
7814
7815         (pass_thru_directive): Take a directive number, not a pointer
7816         to a struct directive.
7817         (parse_include): New function, broken out of do_include.
7818         (do_include, do_import, do_include_next): Use parse_include
7819         and _cpp_execute_include.
7820         (do_elif, do_else): Test for T_ELSE specifically when checking
7821         for #elif/#else after #else.
7822         (parse_ifdef): New function, broken out of do_ifdef.
7823         (validate_else): Expect a name arg without a leading #.
7824         (if_directive_name): Delete.
7825         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
7826         directive handlers with only one argument.
7827
7828         * cpphash.h: Update prototypes.
7829         (enum node_type): Remove entries for directives.
7830         * Makefile.in: Update dependencies.
7831
7832         * cpphash.c (dump_hash_helper): Only dump nodes of type
7833         T_MACRO.  Emit a newline after each definition.
7834
7835 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7836
7837         * gccbug.in: New file.
7838         * configure.in (all_outputs): Add gccbug.
7839         * Makefile.in (install-common): Install gccbug.
7840         (GCCBUG_INSTALL_NAME): New variable.
7841         * configure: Rebuilt.
7842
7843 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7844
7845         * function.c (put_var_into_stack): Use type_for_mode to calculate
7846         part_type.  Use MEM_SET_IN_STRUCT_P.
7847         * expr.c (store_field): Handle CONCAT.
7848         (store_constructor): Use fields_length.
7849         * tree.c (fields_length): New fn.
7850         * tree.h: Declare it.
7851
7852 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7853
7854         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
7855         (cpplex.o): New target.
7856         * po/POTFILES.in: Add cpplex.c.
7857
7858         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
7859         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
7860         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
7861         skip_block_comment, skip_line_comment, skip_comment,
7862         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
7863         _cpp_parse_name, skip_string, parse_string,
7864         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
7865         _cpp_get_directive_token, find_position,
7866         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
7867         (maybe_macroexpand, _cpp_lex_token): New functions.
7868
7869         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
7870         parse_goto_mark): Delete.
7871         (_cpp_handle_eof): New function.
7872         (_cpp_handle_directive): Rename from handle_directive.
7873         (_cpp_output_line_command): Rename from output_line_command.
7874         (do_if, do_elif): Call _cpp_parse_expr directly.
7875         * cppfiles.c (_cpp_read_include_file): Don't call
7876         init_input_buffer here.
7877         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
7878         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
7879         here; pop the token_buffer and skip the rest of the line here.
7880         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
7881         here.
7882
7883         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
7884         Define here.
7885         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
7886         CPP_GOTO_MARK): New macros.
7887         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
7888         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
7889         _cpp_read_and_prescan, _cpp_init_input_buffer,
7890         _cpp_grow_token_buffer, _cpp_get_directive_token,
7891         _cpp_handle_directive, _cpp_handle_eof,
7892         _cpp_output_line_command): Prototype them here.
7893         * cpplib.h (enum cpp_token): Add CPP_MACRO.
7894         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
7895         quote_string, output_line_command): Remove.
7896
7897 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
7898
7899         * stmt.c (expand_end_case): RANGE may be signed, and when checking
7900         whether it is too large we must also verify that it isn't negative.
7901
7902 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
7903
7904         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
7905         (movsi_zero_liveg0): Remove.
7906         (movsf_insn_novis_liveg0): Remove.
7907         (negsi2): Remove.
7908         (negsi2_not_liveg0): Rename to negsi2.
7909         (one_cmplsi2): Remove.
7910         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
7911         (one_cmplsi2_liveg0): Remove.
7912         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
7913         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
7914         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
7915         (PREDICATE_CODES): Remove zero_operand.
7916         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
7917         TARGET_BROKEN_SAVERESTORE.
7918         (zero_operand): Remove.
7919         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
7920         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
7921         options.
7922         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
7923         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7924         TARGET_BROKEN_SAVERESTORE): Remove.
7925         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7926         Remove.
7927         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7928         Remove.
7929         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7930         Remove.
7931
7932         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
7933
7934 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
7935
7936         * cpplib.c (do_pragma_implementation): Fix off-by-one error
7937         truncating a string.  Don't assume tokens are nul terminated.
7938         Problem noted by Andreas Jaeger <aj@suse.de>
7939
7940 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
7941
7942         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
7943         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
7944         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
7945
7946 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
7947
7948         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
7949         STRUCTURE_SIZE_BOUNDARY.
7950
7951 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
7952
7953         * tree.h (record_layout_info_s): New structure.
7954         (record_layout_info): New type.
7955         (new_record_layout_info): New function.
7956         (layout_field): Likewise.
7957         (finish_record_layout): Likewise.
7958         * stor-layout.c (layout_record): Remove.
7959         (new_record_layout_info): New function.
7960         (layout_field): New function, broken out from layout_record.
7961         (finalize_record_size): Likewise.
7962         (compute_record_mode): Likewise.
7963         (finalize_type_size): New function, broken out from layout_type.
7964         (finish_record_layout): Likewise.
7965         (layout_type): Use them.
7966
7967 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7968
7969         * cpphash.c: Don't include version.h.
7970         (special_symbol) [case T_VERSION]: Look for the string in
7971         hp->value.cpval; don't use version_string.
7972         * cppinit.c (initialize_builtins): Set hp->value.cpval for
7973         __VERSION__ to version_string.
7974         * Makefile.in (cpphash.o): Update deps.
7975
7976 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
7977
7978         Convert cpplib to use libiberty/hashtab.c.
7979
7980         * cpplib.h (struct cpp_reader): Make hashtab and
7981         all_include_files of type 'struct htab *'.  Delete HASHSIZE
7982         and ALL_INCLUDE_HASHSIZE macros.
7983
7984         * cpphash.h: Update prototypes.
7985         (struct hashnode): Remove next, prev, and bucket_hdr members.
7986         Make length a size_t.  Add hash member.
7987         (struct ihash): Remove next member.  Add hash member.  Make
7988         name a flexible array member.
7989
7990         * cppfiles.c: Include hashtab.h.
7991         (include_hash): Delete.
7992         (IHASHSIZE): New macro.
7993         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
7994         (cpp_included): Do the hash lookup here.
7995         (_cpp_find_include_file): Rewrite.
7996         (cpp_read_file): Put the "fake" hash entry into the hash
7997         table.  Honor the control_macro, if it turns out we've seen
7998         the file before.  Don't push the buffer here.
7999         (_cpp_read_include_file): Push the buffer here.
8000         (OMODES): New macro.  Use it whenever we call open(2).
8001
8002         * cpphash.c: Include hashtab.h.
8003         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
8004         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
8005         _cpp_lookup_slot): New functions.
8006         (HASHSIZE): new macro.
8007         (hashf, _cpp_install, _cpp_delete_macro): Delete.
8008         (_cpp_lookup): Use hashtab.h routines.
8009
8010         * cppinit.c: Include hashtab.h.
8011         (cpp_reader_init): Call _cpp_init_macro_hash and
8012         _cpp_init_include_hash.  Don't allocate hashtab directly.
8013         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
8014         pfile->all_include_files.
8015         (initialize_builtins): Use _cpp_make_hashnode and
8016         htab_find_slot to add hash entries.
8017         (cpp_finish): Just call _cpp_dump_macro_hash.
8018         * cpplib.c: Include hashtab.h.
8019         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
8020         create hash entries.
8021         (do_pragma_poison, do_assert): Likewise.
8022         (do_include): Don't push the buffer here.  Don't increment
8023         system_include_depth unless _cpp_read_include_file succeeds.
8024         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
8025         or htab_remove_elt.
8026         (do_pragma_implementation): Use alloca to create copy.
8027
8028         * Makefile.in: Update dependencies.
8029
8030 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8031
8032         * cppinit.c (cl_directive_handler): More K&R fixing.
8033
8034 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
8035
8036         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
8037         STACK_BOUNDARY.
8038         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
8039
8040 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8041
8042         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
8043         Change from char[] to macros.
8044
8045 2000-03-12  Neil Booth  <NeilB@earthling.net>
8046
8047         * cppinit.c (cpp_start_read): Update indirect function
8048         call to K&R C.
8049
8050 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
8051
8052         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
8053         entry.
8054
8055         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
8056         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
8057
8058 2000-03-11  Neil Booth  <NeilB@earthling.net>
8059
8060         * cppinit.c (struct pending option): Replace undef with a
8061         pointer to a directive handling routine.
8062         (struct cpp_pending): Replace separate assert_ and define_
8063         lists with one directive_ list.
8064         (new_pending_define): Rename new_pending_directive. Extra
8065         argument is the directive's handling routine.
8066         (handle_option): Update to use new_pending_directive.
8067
8068 2000-03-11  Neil Booth  <NeilB@earthling.net>
8069
8070         * cppfiles.c (file_cleanup, _cpp_find_include_file,
8071         remap_filename, _cpp_read_include_file, actual_directory,
8072         hack_vms_include_specification): Replace bcopy(), index() etc
8073         calls.  Add casts to some allocations.  Make some variables
8074         pointers to const [unsigned] char.
8075         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
8076         collect_formal_parameters): Similarly.
8077         * cppinit.c (struct pending_option, append_include_chain,
8078         cpp_options_init, cpp_reader_init, initialize_standard_includes,
8079         cpp_start_read, new_pending_define, handle_option): Similarly.
8080         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
8081         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
8082         do_pragma_implementation, detect_if_not_defined,
8083         do_ifdef, skip_if_group, cpp_get_token, parse_string,
8084         do_assert, do_unassert): Similarly.
8085         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
8086         function prototypes.
8087         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
8088
8089 2000-03-10  Richard Henderson  <rth@cygnus.com>
8090
8091         * builtins.c (expand_builtin_strlen): Revert last change.
8092         Use emit_insn_before if we're at the beginning of a sequence.
8093
8094 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
8095
8096         * builtins.c (expand_builtin_strlen): Make sure that we have something
8097         at the beginning of the sequence.
8098
8099         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
8100         deferred inlines.
8101
8102         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
8103
8104 2000-03-10  Richard Henderson  <rth@cygnus.com>
8105
8106         * except.c (can_throw): Use INTVAL on a CONST_INT.
8107         (reachable_handlers): Likewise.
8108         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
8109
8110 2000-03-10  Andreas Jaeger  <aj@suse.de>
8111
8112         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
8113         MD_STARTFILE_PREFIX since those are not needed on linux.
8114         (ASM_FILE_START): New, from mips/gnu.h.
8115
8116 2000-03-09  Richard Henderson  <rth@cygnus.com>
8117             Alex Samuel  <samuel@codesourcery.com> and others
8118
8119         * Makefile.in (ssa.o): New rule.
8120         (OBJS): Add ssa.o.
8121         (STAGESTUFF): Add *.ssa and *.ussa.
8122         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
8123         * rtl.def (PHI): New RTL expression.
8124         * rtl.h (clear_log_links): New declaration.
8125         (convert_to_ssa): Likewise.
8126         (convert_from_ssa): Likewise.
8127         * flow.c (split_edge): If the entry node falls through to the
8128         split edge's source block, split the entry edge.
8129         (clear_log_links): New function.
8130         * toplev.c (ssa_dump): New variable.
8131         (flag_ssa): Likewise.
8132         (f_options): Add "ssa".
8133         (compile_file): Create SSA dump files.
8134         (rest_of_compilation): Go to and from SSA if enabled.
8135         (decide_d_option): Handle -de for SSA dump files.
8136         * ssa.c: New file.
8137
8138 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
8139
8140         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
8141         same as VAR_DECL.
8142
8143 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
8144
8145         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
8146
8147 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
8148
8149         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
8150         (MD_STARTFILE_PREFIX_1): New macro.
8151
8152 2000-03-09  Robert Lipe  <robertl@sco.com>
8153
8154         * config/ia64/ia64.c: Include system.h.
8155
8156 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
8157
8158         * except.c (nothrow_function_p): If -fno-exceptions, just return.
8159         (init_eh_nesting_info): Likewise.
8160
8161         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
8162         (TREE_NOTHROW): Rename from TREE_RAISES.
8163         * toplev.c (rest_of_compilation): Set it.
8164         * print-tree.c (print_node): Adjust.
8165         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
8166         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
8167         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
8168         REG_EH_REGION note as appropriate.
8169         (libfunc_nothrow): New fn.
8170         (emit_library_call, emit_library_call_value): Use it.
8171         (expand_call): Check TREE_NOTHROW.
8172
8173         * varasm.c (make_decl_rtl): Skip initial '*' when setting
8174         DECL_ASSEMBLER_NAME.
8175
8176 2000-03-09  Andreas Jaeger  <aj@suse.de>
8177
8178         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
8179         (TARGET_MEM_FUNCTIONS): Define.
8180
8181 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
8182
8183         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
8184
8185         * except.c (can_throw): See through a SEQUENCE.
8186         (nothrow_function_p): New fn.
8187         * except.h: Declare it.
8188         * function.c (current_function_nothrow): New var.
8189         (prepare_function_start): Initialize it.
8190         * output.h: Declare it.
8191         * toplev.c (rest_of_compilation): Set it.
8192         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
8193
8194 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
8195
8196         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
8197         match.  (cpp_compare_defs): Count the nul separator when
8198         advancing over argument names.
8199
8200 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
8201
8202         * recog.c (preprocess_constraints): Matching constraints affect
8203         same alternative/different operand, not same operand/different
8204         alternative.
8205
8206         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
8207         register and a constant specially.
8208
8209 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8210
8211         * libgcc2.h: New file.
8212         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
8213
8214 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
8215
8216         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
8217         * configure: Regenerate.
8218         * config/ia64: New.
8219
8220 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
8221
8222         * Makefile.in (LIBCPP_DEPS): New macro.
8223         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
8224         it to declare deps.
8225         * cpperror.c: Include cpphash.h.
8226         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
8227         dingleberry.
8228         (lex): Don't use CPP_WARN_UNDEF.
8229         (_cpp_parse_expr): Return an int, the truth value.
8230         * cppfiles.c: Include cpphash.h.
8231         (_cpp_merge_include_chains): Move to cppinit.c and make static.
8232         * cppinit.c (include_defaults_array): Disentangle.
8233         (cpp_cleanup): Don't free the if stack here.
8234         (cpp_finish): Pop off all buffers, not just one.
8235         * cpplib.c (eval_if_expr): Return int.
8236         (do_xifdef): Rename do_ifdef.
8237         (handle_directive): Don't use CPP_PREPROCESSED.
8238         (cpp_get_token): Don't use CPP_C89.
8239         * fix-header.c: Don't use CPP_OPTIONS.
8240
8241         * cpplib.h: Move U_CHAR, enum node_type, struct
8242         file_name_list, struct ihash, is_idchar, is_idstart,
8243         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
8244         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
8245         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
8246         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
8247         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
8248         of _cpp_simplify_pathname, _cpp_find_include_file,
8249         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
8250         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
8251         cppinit.c.
8252         Change all uses of U_CHAR to be unsigned char instead.
8253         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
8254
8255 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
8256
8257         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
8258         (dwarf2out_begin_prologue): Set it.
8259         (output_call_frame_info): Don't emit EH unwind info for leaves.
8260
8261         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
8262         can occur outside of an EH region.
8263         * except.c: Correct comments about rethrow behavior.
8264         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
8265
8266 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
8267
8268         * flow.c (make_edges): Always call make_eh_edge for calls.
8269
8270 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
8271
8272         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
8273         (struct cpp_buffer): Remove fname and underflow fields.
8274         (struct cpp_reader): Remove get_token field.
8275         (struct include_hash): Rename to struct ihash.  Add typedef to
8276         IHASH.
8277         (struct if_stack): Remove fname field.
8278         (IF_STACK_FRAME): Rename to IF_STACK.
8279
8280         * cpperror.c (print_containing_files): Trust that there are no
8281         macro buffers below the top file buffer.
8282         * cppfiles.c: Replace all references to 'struct include_hash'
8283         with 'IHASH'.  Rename initialize_input_buffer to
8284         init_input_buffer.  Don't set or reference cpp_buffer->fname,
8285         use buffer->ihash->name instead.
8286         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
8287         not CPP_NULL_BUFFER.
8288         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
8289         IF_STACK_FRAME, IHASH not struct include_hash.
8290         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
8291         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
8292         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
8293         references to cpp_buffer->fname (delete entirely, or use
8294         ->ihash->name instead) and IF_STACK->fname.
8295         (cpp_push_buffer): Don't set new->underflow.
8296         (do_include): Use cpp_file_buffer.
8297
8298         * cpphash.c (collect_formal_parameters): Remove duplicate
8299         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
8300         used as a macro argument name.  Don't append "..." to namebuf
8301         for varargs macros.  After we're done scanning, go through
8302         namebuf and make it NUL separated, not comma separated.
8303         (_cpp_compare_defs): Remove register tag from variables.
8304         Expect defn->argnames to be NUL separated.
8305         (_cpp_dump_definition): Expect defn->argnames to be NUL
8306         separated and in forward order.
8307         * cpphash.h: Update documentation of argnames field.
8308
8309 2000-03-08  Richard Henderson  <rth@cygnus.com>
8310
8311         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
8312         to fail.  Don't pre-expand the source operand.
8313
8314         * i386.md (strlensi): Initialize eoschar and align before use.
8315
8316 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
8317
8318         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
8319         CONSTRUCTOR element.
8320
8321 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
8322
8323         * mips.c (mips_expand_prologue): If the last
8324         named argument is the vararg marker "va_list", treat it as
8325         an unnamed argument.
8326
8327 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
8328
8329         * dbxout.c (dbxout_parms): When correcting for promoted
8330         big-endian parameters, use the mode of the DECL_RTL rather
8331         than UNITS_PER_WORD.
8332
8333 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
8334
8335         * c-common.h (make_fname_decl): Declare.
8336         * c-common.c (make_fname_decl): Define.
8337         (declare_hidden_char_array): Remove.
8338         (declare_function_name): Use make_fname_decl.
8339         * c-decl.c (c_make_fname_decl): New function.
8340         (init_decl_processing): Set make_fname_decl.
8341
8342 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
8343
8344         * cccp.c (handle_directive): Initialize backslash_newlines_p.
8345
8346 2000-03-07  Philipp Thomas  <pthomas@suse.de>
8347
8348         * po/POTFILES.in: Remove cppalloc.c from file list.
8349
8350 2000-03-07  Steve Chamberlain  <sac@pobox.com>
8351
8352         * pj.c (pj_expand_prologue): current_function->args_info is
8353         now current_function_args_info.
8354
8355         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
8356         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
8357         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
8358
8359 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8360
8361         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
8362         output as hexadecimal rather than the default octal.
8363
8364 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
8365
8366         * cpphash.c (special_symbol): Fix thinko in previous commit.
8367
8368 2000-03-07  Neil Booth  <NeilB@earthling.net>
8369
8370         * cppexp.c (struct operation, left_shift, right_shift,
8371         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
8372         "int"s to "unsigned int"s.
8373         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
8374         Similarly.
8375         * cpplib.h: Update for above.
8376         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
8377         returned from allocations.
8378
8379         * cppinit.c (opt_comp, parse_options): New functions.
8380         (handle_option): Use parse_option to parse a single command
8381         line option, that possibly takes an argument.
8382         (cpp_handle_options): Sort the array of command line options on
8383         first invocation (non-ASCII hosts only).
8384         (print_help): Update.
8385
8386 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
8387
8388         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
8389         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
8390
8391         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
8392         initialized.
8393         * cppinit.c (cpp_cleanup): Free imp->nshort also.
8394
8395         * cpperror.c (cpp_print_containing_files,
8396         cpp_print_file_and_line, v_cpp_message): Rename to
8397         print_containing_files, print_file_and_line, and v_message.
8398         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
8399         to _cpp_parse_expr, parse_escape, and lex.
8400         (parse_charconst): Remove broken multibyte support.
8401         * cppfiles.c (include_hash): Make static.
8402         (cpp_included): New function.
8403         (merge_include_chains, find_include_file, finclude,
8404         simplify_pathname): Rename to _cpp_merge_include_chains,
8405         _cpp_find_include_file, _cpp_read_include_file, and
8406         _cpp_simplify_pathname.
8407         * cpphash.c (cpp_lookup, free_definition, delete_macro,
8408         cpp_install, create_definition, macroexpand, compare_defs,
8409         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
8410         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
8411         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
8412         * cppinit.c (cpp_handle_option): Rename to handle_option, make
8413         static.
8414         * cpplib.c: Remove extern prototype of cpp_parse_expr.
8415
8416         * cpphash.h: Update prototypes.
8417         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
8418
8419 2000-03-07  Andrew Haley  <aph@cygnus.com>
8420
8421         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
8422         PTRDIFF_TYPE should be based solely on Pmode.
8423         (SIZE_TYPE): ditto.
8424
8425 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8426
8427         * rtl.h (rtunion_def): Constify member `rtstr'.
8428         (emit_line_note_after, emit_line_note, emit_line_note_force,
8429         emit_note, decode_asm_operands): Constify.
8430
8431         * cse.c (canon_hash): Likewise.
8432
8433         * dbxout.c (dbxout_block): Likewise.
8434
8435         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
8436         v_warning_for_asm): Likewise.
8437
8438         * dwarfout.c (function_start_label): Likewise.
8439
8440         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
8441         emit_line_note_force): Likewise.
8442
8443         * final.c (last_filename, asm_insn_count, final_scan_insn,
8444         output_source_line): Likewise.
8445
8446         * function.h (struct emit_status): Likewise.
8447
8448         * gcse.c (hash_expr_1): Likewise.
8449
8450         * genattr.c (gen_attr, main): Likewise.
8451
8452         * genattrtab.c (struct function_unit, current_alternative_string,
8453         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
8454         attr_numeral, check_attr_test, check_attr_value,
8455         convert_set_attr_alternative, convert_set_attr,
8456         compute_alternative_mask, simplify_by_exploding, gen_attr,
8457         gen_unit): Likewise.
8458
8459         * genflags.c (gen_insn): Likewise.
8460
8461         * gengenrtl.c (type_from_format): Likewise.
8462
8463         * genopinit.c (gen_insn): Likewise.
8464
8465         * genoutput.c (n_occurrences, process_template, process_template):
8466         Likewise.
8467
8468         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8469         Likewise.
8470
8471         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8472         Likewise.
8473
8474         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
8475         ggc_set_mark, ggc_get_size): Likewise.
8476
8477         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
8478
8479         * optabs.c (init_one_libfunc): Likewise.
8480
8481         * output.h (assemble_start_function): Likewise.
8482
8483         * recog.c (decode_asm_operands): Likewise.
8484
8485         * toplev.c (rest_of_compilation): Likewise.
8486
8487         * tree.h (emit_line_note_after, emit_line_note,
8488         emit_line_note_force): Likewise.
8489
8490         * varasm.c (asm_output_bss, asm_output_aligned_bss,
8491         asm_emit_uninitialised, assemble_start_function,
8492         assemble_variable, const_hash, compare_constant_1,
8493         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
8494
8495         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
8496
8497         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
8498
8499         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
8500
8501         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
8502
8503         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
8504         arm_dllimport_name_p): Likewise.
8505
8506         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
8507         Likewise.
8508
8509         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
8510
8511         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8512
8513         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
8514         arm_mark_dllexport, arm_mark_dllimport,
8515         arm_pe_encode_section_info): Likewise.
8516
8517         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
8518         ASM_FINISH_DECLARE_OBJECT): Likewise.
8519
8520         * arm/thumb.c (thumb_function_prologue): Likewise.
8521
8522         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
8523
8524         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8525
8526         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
8527
8528         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
8529
8530         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
8531
8532         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8533
8534         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
8535         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
8536
8537         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
8538
8539         * i386/i386.c (asm_output_function_prefix): Likewise.
8540
8541         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
8542
8543         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8544
8545         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
8546
8547         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
8548         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
8549         ASM_OUTPUT_SECTION_NAME): Likewise.
8550
8551         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
8552
8553         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
8554
8555         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
8556
8557         * m32r/m32r.c (m32r_encode_section_info): Likewise.
8558
8559         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8560
8561         * mcore/mcore.c (mcore_encode_section_info): Likewise.
8562
8563         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8564
8565         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8566
8567         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8568
8569         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
8570
8571         * mips/mips.md (movdi, movsi): Likewise.
8572
8573         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8574
8575         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8576
8577         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8578
8579         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8580         ASM_OUTPUT_ASCII): Likewise.
8581
8582         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
8583         output_mi_thunk, output_toc): Likewise.
8584
8585         * rs6000/rs6000.md (movsi): Likewise.
8586
8587         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
8588
8589         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
8590
8591         * v850/v850.c (print_operand, print_operand_address,
8592         v850_encode_data_area): Likewise.
8593
8594 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
8595
8596         * config/mips/mips.md (zero_extendsidi2): Always force operand
8597         one to memory for mips16.
8598
8599 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8600
8601         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
8602         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
8603         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
8604         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
8605         (min_precision): Result is unsigned.
8606         (add_double, neg_double, mul_double): Low word is unsigned.
8607         (lshift_double, rshift_double, lrotate_double): Likewise.
8608         (rrotate_double, div_and_round_double): Likewise.
8609         (tree_floor_log2, compare_tree_int): New functions.
8610         (preserve_rtl_expr_temps): New declaration.
8611         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
8612         (decl_attributes): Use tree_log2 to find alignment.
8613         Check for TREE_INT_CST_HIGH for format args.
8614         (min_precision): Now unsigned.
8615         Use tree_floor_log2.
8616         (truthvalue_conversion): Delete long-disabled code.
8617         * c-decl.c (finish_struct): Clean up tests on field width.
8618         (finish_function): Use compare_tree_int.
8619         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
8620         * c-typeck.c (comptypes): Use tree_int_cst_equal.
8621         (default_conversion, digest_init): Use compare_tree_int.
8622         (build_binary_op): Use integer_all_onesp and compare_tree_int.
8623         Fix type errors in forming masks.
8624         * calls.c (initialize_argument_information): Use compare_tree_int.
8625         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8626         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
8627         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
8628         (store_field): Use compare_tree_int.
8629         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
8630         (expand_expr, case ARRAY_REF): Use compare_tree_int.
8631         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
8632         (do_store_flag): Use compare_tree_int.
8633         * fold-const.c (encode, decode): Low part is always unsigned.
8634         (force_fit_type, add_double, neg_double, mul_double): Likewise.
8635         (lshift_double, rshift_double, lrotate_double): Likewise.
8636         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
8637         (fold_convert): Use compare_tree_int.
8638         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
8639         (invert_truthvalue, case INTEGER_CST): Likewise.
8640         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
8641         * mkdeps.c (deps_dummy_targets): Make I unsigned.
8642         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
8643         (lshift_double, rshift_double, lrotate_double, rrotate_double):
8644         Likewise.
8645         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
8646         (expand_end_case): Use compare_tree_int.
8647         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8648         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
8649         (layout_decl): Likewise.
8650         (layout_record, layout_union): Make sizes unsigned.
8651         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
8652         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
8653         * tree.c (struct type_hash): hashcode is unsigned.
8654         (build_type_attribute_variant, type_hash_list): Likewise.
8655         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
8656         (attribute_hash_list, build_array_type, build_method_type): Likewise.
8657         (build_complex_type): Likewise.
8658         (real_value_from_int_cst): Remove unneeded casts.
8659         (integer_all_onesp): Add casts.
8660         (tree_floor_log2, compare_tree_int): New functions.
8661         (build_index_type): Use tree_int_cst_sgn.
8662         * varasm.c (assemble_variable): Use compare_tree_int.
8663
8664 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
8665
8666         * cpphash.c (collect_expansion): Also catch ## at start of macro.
8667
8668         * varasm.c (make_decl_rtl): Don't add a number to members of
8669         local classes.
8670         (make_function_rtl): Likewise.
8671
8672 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8673
8674         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
8675         patch from 2000-01-28.
8676
8677 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
8678
8679         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
8680         filled with an insn from the jump target.
8681
8682 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8683
8684         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
8685         (c4x_external_ref): Likewise.
8686         * config/c4x/c4x.c (struct name_list): Likewise.
8687
8688 1999-12-16  Ben Collins  <bcollins@debian.org>
8689
8690         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
8691         argument to genmultilib.
8692         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
8693         the contents into the multilib.h header.
8694         * gcc.c: Declare multilib_exclusions for the specs file.
8695         (set_multilib_dir): Use it.
8696         (print_multilib_info): Likewise.
8697         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
8698         to pass to genmultilib.
8699
8700 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8701
8702         * builtins.c (built_in_class_names, built_in_names): Constify a
8703         char*.
8704
8705         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
8706         int.
8707         (_mcleanup): Ensure value matches format specifier in sprintf.
8708
8709         * cpphash.c (special_symbol): Don't needlessly cast away
8710         const-ness.
8711
8712         * cppinit.c (base_name): Delete unused prototype.
8713
8714         * mkdeps.c (deps_init): Make definition K&R safe.
8715
8716         * tree.h (built_in_class_names, built_in_names): Constify a
8717         char*.
8718
8719 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
8720
8721         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
8722         floating point instructions for epilogue delay.
8723
8724         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
8725         to gas if it supports .register pseudo.
8726
8727         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
8728         LONG_DOUBLE_TYPE_SIZE if not defined.
8729         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
8730         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
8731         * real.c: Likewise.
8732         * gengenrtl.c: Likewise.
8733         * print-rtl.c: Likewise.
8734         * rtl.c: Likewise.
8735         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
8736         MASK_LONG_DOUBLE_128.
8737         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
8738         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
8739         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
8740         (SUBTARGET_SWITCHES): Define.
8741         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
8742         with -mlong-double-128.
8743         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8744         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8745         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8746         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
8747         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
8748         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
8749         with -mlong-double-128.
8750         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8751         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8752         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8753         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
8754         TARGET_LONG_DOUBLE_128): Define.
8755         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
8756         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
8757         long double on TARGET_ARCH64.
8758
8759 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
8760
8761         * function.c (free_temps_for_rtl_expr): Don't free slots
8762         that have been pushed into a higher level.
8763
8764         Revert this patch:
8765         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8766
8767 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8768
8769         * basic-block.h (ALLOCA_REG_SET): Remove.
8770         (INITIALIZE_REG_SET): New macro.
8771         * flow.c (update_life_info): Use it.
8772         (calculate_global_regs_live): Likewise.
8773         (propagate_block): Likewise.
8774         * global.c (build_insn_chain): Likewise.
8775         * haifa-sched.c (schedule_region): Likewise.
8776
8777 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
8778
8779         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
8780         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
8781         (DWARF_ARANGES_PAD_SIZE): New define.
8782         (output_aranges): Use it to pad the address range header.
8783         (DWARF_ROUND): Fix for non power of 2 rounding.
8784
8785 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
8786
8787         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
8788
8789 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
8790
8791         * tree.def (RTL_EXPR): Update documentation.
8792         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
8793         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
8794         * function.c (preserve_rtl_expr_temp): New function.
8795         (preserve_rtl_expr_temps): Likewise.
8796         (preserve_rtl_expr_result): Use it.
8797
8798         Revert this patch:
8799         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8800
8801 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
8802
8803         * regmove.c (copy_src_to_dest)  Do not create src->dest move
8804         for unchanging destination.
8805
8806 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
8807
8808         * function.h (struct sequence_stack): Remove rtl_expr.
8809         (struct emit_staus): Likewise.
8810         (seq_rtl_expr): Remove.
8811         * tree.h (free_temps_for_rtl_expr): Don't declare.
8812         (start_sequence_for_rtl_expr): Likewise.
8813         * rtl.h (preserve_rtl_expr_result): Likewise.
8814         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
8815         (start_sequence_for_rtl_expr): Remove.
8816         (push_topmost_sequence): Don't save sequence_rtl_expr.
8817         (pop_topmost_sequence): Remove comment about not restoring it.
8818         (end_sequence): Don't set seq_rtl_expr.
8819         (init_emit): Don't initialize it.
8820         (mark_sequence_stack): Don't mark it.
8821         (mark_emit_status): Likewise.
8822         * except.c (protect_with_terminate): Use
8823         start_sequence_for_rtl_expr, not start_sequence.
8824         * expr.c (expand_expr, case RTL_EXPR): Don't call
8825         preserve_rtl_expr_result or free_temps_for_rtl_expr.
8826         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
8827         (preserve_rtl_expr_result): Remove.
8828         (free_temps_for_rtl_expr): Likewise.
8829         (pop_temp_slots): Likewise.
8830         (mark_temp_slot): Don't mark the rtl_expr.
8831         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
8832         start_sequence_for_rtl_expr.
8833
8834 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
8835
8836         * mkdeps.c, mkdeps.h: New files.
8837         * po/POTFILES.in: Add them.
8838         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
8839         (cpplib.o, cppinit.o): Depend on mkdeps.h.
8840         (mkdeps.o): New target.
8841
8842         * cppfiles.c: Delete deps_output.
8843         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
8844         OBJECT_SUFFIX, and base_name.
8845         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
8846         the include hash.
8847         (initialize_dependency_output): Use deps_init,
8848         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
8849         all the unnecessary string bashing.
8850         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
8851         level.
8852         * cpplib.c (do_include): Use deps_add_dep.
8853         * cpplib.h (struct cpp_reader): Replace deps_buffer,
8854         deps_allocated_size, deps_size, deps_column members with
8855         single pointer to a struct deps.  Delete prototype of
8856         deps_output.
8857
8858         * cppinit.c: Fix thinko in previous patch.
8859
8860 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8861
8862         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
8863         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
8864         (mode_for_size_tree): New function.
8865         (layout_decl, layout_type): Call it and clean up BLKmode checks.
8866         * tree.h (mode_for_size_tree): New declaration.
8867
8868         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
8869
8870 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
8871
8872         * stmt.c (is_body_block): Move...
8873         * dwarfout.c, dwarf2out.c: ...from here.
8874         * tree.h: Declare it.
8875         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
8876         * final.c (final_start_function): Do call remove_unnecessary_notes
8877         when scheduling.
8878
8879 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8880
8881         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
8882
8883         * cpplib.h (_dollar_ok): New macro.
8884         (is_idchar, is_idstart): Use it.
8885         (IStable): Rename to _cpp_IStable.  Declare it const if
8886         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
8887         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
8888         is_space): Update for renamed IStable.
8889
8890         * cppinit.c: Delete all references to FAKE_CONST and CAT
8891         macros. Define init_IStable as empty macro if gcc >=2.7 or
8892         C99. Change TABLE() to ISTABLE and hardcode name of table.
8893         (cpp_start_read): Don't change the IStable based on
8894         dollars_in_ident.
8895
8896         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
8897         changed.  Handle '$' for char1 correctly.
8898         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
8899
8900         * cppexp.c (tokentab2): Make const.
8901         (cpp_lex): Make toktab const.
8902         * cppinit.c (include_defaults_array): Make const.
8903         (initialize_standard_includes): Make default_include const.
8904
8905 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8906
8907         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
8908         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
8909         (gen_decl_die): Likewise.
8910         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
8911         (output_decl): Likewise.
8912
8913         * varasm.c (make_function_rtl): If we change the name used in the
8914         rtl, update DECL_ASSEMBLER_NAME accordingly.
8915         (make_decl_rtl): Likewise.
8916
8917         * toplev.c (rest_of_compilation): Tweak formatting.
8918
8919         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
8920         remove_unnecessary_notes.
8921         (debug_ignore_block): New fn.
8922         * toplev.h: Declare it.
8923         * emit-rtl.c (remove_unncessary_notes): Call it.
8924         * dwarf2out.c (dwarf2out_ignore_block): New fn.
8925         * dwarf2out.h: Declare it.
8926         * final.c (final_start_function): Don't call remove_unnecessary_notes
8927         if we did insn scheduling.
8928
8929 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
8930
8931         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
8932         * cpplib.h: Delete SET_CPP_PEDANTIC.
8933
8934 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8935
8936         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
8937         result is a RECORD_TYPE.
8938
8939 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8940
8941         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
8942
8943 2000-03-03  Richard Henderson  <rth@cygnus.com>
8944
8945         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
8946         addition over compliments over shifts.
8947
8948 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8949
8950         * reload1.c (reload_combine_note_use): Handle return register USEs.
8951         REG case: Handle multi-hard-register hard regs.
8952
8953 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8954
8955         * md.texi: Document use of '*' in insn pattern name.
8956
8957 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
8958
8959         * calls.c (special_function_p): operator new may not be malloc-like.
8960
8961         * gcse.c (dump_hash_table): Really fix error in last change.
8962
8963 2000-03-02  Denis Chertykov  <denisc@overta.ru>
8964
8965         * avr.c (print_operand): Use print_operand_address instead of
8966         output_addr_const.
8967         * avr/libgcc.S: Cleanup code.
8968
8969 2000-03-02  Richard Henderson  <rth@cygnus.com>
8970
8971         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
8972
8973 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
8974
8975         * tree.h (TYPE_ALIGN_UNIT): New macro.
8976
8977 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
8978
8979         * i386.c: (constant_call_address_operand): Reject CONST_INT.
8980
8981 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
8982
8983         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
8984         for the buffer.
8985         (SET_CPP_PEDANTIC): New macro.
8986         * cpplib.c (do_include): Don't bother checking system_header_p.
8987         (do_warning, do_ident, do_assert, do_unassert): Likewise.
8988         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
8989
8990         * function.h (struct expr_status): Add x_arg_space_so_far.
8991         (arg_space_so_far): New macro.
8992         * expr.c (init_expr): Initialize it.
8993         * calls.c (emit_call_1): Reset it.
8994         (compute_argument_block_size, expand_call): Use it.
8995         (expand_call, store_one_arg): Increment it.
8996
8997 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8998
8999         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
9000         a UNION_TYPE.
9001
9002 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
9003
9004         * cppfiles.c (cpp_read_file): New function.
9005
9006         * cpphash.c (collect_expansion): Make sure to reset last_token
9007         to NORM when we hit a string.  Handle trailing whitespace
9008         properly when the expansion is empty.
9009         (create_definition): Disable line commands while parsing the
9010         directive line.
9011         (dump_definition): If pfile->lineno == 0, output a line
9012         command ahead of the dump, and add a trailing newline.
9013
9014         * cppinit.c (append_include_chain): Add fifth argument, which
9015         indicates whether or not system headers are C++ aware.
9016         (initialize_standard_includes): New function,
9017         broken out of read_and_prescan.  Pass 'cxx_aware' value from
9018         the include_defaults_array on to append_include_chain.
9019         (dump_special_to_buffer): Const-ify char array.
9020         (builtin_array): Don't dump __BASE_FILE__.
9021         (cpp_start_read): Use cpp_read_file.  Reorder code for
9022         clarity.  Don't output line commands here for -D/-A/-U
9023         switches.  Don't call deps_output for files included with
9024         -include or -imacros.
9025
9026         * cpplib.c (do_define): Don't pay any attention to the second
9027         argument.
9028         (cpp_expand_to_buffer): Disable line commands while scanning.
9029         (output_line_command): Work in the file buffer.
9030         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
9031         Fix formatting of comments.  Prototype cpp_read_file.
9032
9033 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9034
9035         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
9036         reference the language-equivalent of sizetype.
9037         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
9038         * fold-const.c (size_binop, size_diffop): Put back checks.
9039         * gcse.c (dump_hash_table): Fix minor error in last change.
9040         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
9041         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
9042         all sizetypes.
9043
9044 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
9045
9046         * calls.c (expand_call)  Do not attempt to combine stack adjustments
9047         with inhibit_defer_pop set.
9048
9049 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
9050
9051         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
9052         the DECL_SIZE for a FIELD_DECL.
9053
9054 2000-03-01  Bruce Korb  <bkorb@gnu.org>
9055
9056         * fixinc/inclhack.tpl: remove unused symlinks
9057         * fixinc/README: GCC Maintainer info
9058         * fixinc/inclhack.sh: regen
9059         * fixinc/fixincl.sh: regen
9060
9061 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
9062
9063         * cpphash.c (collect_expansion): Trim trailing white space
9064         from macro definitions, but don't go past the last insertion
9065         point.
9066
9067 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
9068
9069         * i386.md (mulqi3): New pattern.
9070
9071 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
9072
9073         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
9074         token types.
9075         (struct cpp_reader): Add parsing_if_directive and
9076         parsing_define_directive flags.
9077         (struct cpp_options): Remove output_conditionals flag.
9078         (check_macro_name): Delete prototype.
9079
9080         * cpphash.h (struct macrodef): Delete.
9081         (struct reflist): Separate from struct definition.
9082         (struct definition): Remove unused fields.  Add column number.
9083         (create_definition): Returns a DEFINITION *.  Takes a
9084         cpp_reader * and an int.
9085
9086         * cpphash.c (SKIP_WHITE_SPACE): Delete.
9087         (PEEKC): Copy defn from cpplib.c.
9088         (rest_extension, REST_EXTENSION_LENGTH): Delete.
9089         (struct arg): New.
9090         (struct arglist): Simplify.
9091         (collect_expansion): Rewrite.  Get tokens by calling
9092         cpp_get_token.  Add more error checking.
9093         (collect_formal_parameters): New function, broken out of
9094         create_definition and reworked to use get_directive_token.
9095         (create_definition): All real work is now in collect_expansion
9096         and collect_formal_parameters.  do_define handles finding the
9097         macro name.  Return a DEFINITION, not a MACRODEF.
9098         (macroexpand): Replace bcopy with memcpy throughout.  Replace
9099         character-at-a-time copy loop with memcpy and pointer increments.
9100         (compare-defs): d1->argnames / d2->argnames might be null.
9101
9102         * cpplib.c (copy_rest_of_line): Delete function.
9103         (skip_rest_of_line): Do all the work ourselves.
9104         (skip_string): New function.
9105         (parse_string): Use skip_string.
9106         (get_macro_name): New function.
9107         (check_macro_name): Delete.
9108         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
9109         (cpp_skip_hspace): Use CPP_BUMP_LINE.
9110         (handle_directive): ICE if we're called on a macro buffer.
9111         (do_define): Determine macro name and type (funlike/objlike)
9112         here.  Expunge all uses of MACRODEF.
9113         (cpp_push_buffer): Set line_base to NULL.
9114         (do_undef, read_line_number): Don't worry about getting a POP token.
9115         (eval_if_expression): Set/reset parsing_if_directive around
9116         cpp_parse_expr. Don't clear only_seen_white.
9117         (skip_if_group): Remove output_conditionals logic.  Use
9118         skip_rest_of_line.
9119         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
9120         tokens under appropriate conditions.
9121         (cpp_unassert): Call do_unassert not do_assert.  Oops.
9122
9123         * cppexp.c (parse_defined): New function, break out of
9124         cpp_lex.
9125         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
9126         ourselves, with cpp_defined.
9127         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
9128
9129         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
9130         * gcc.dg/strpaste-2.c: New.
9131
9132 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
9133
9134         * fold-const.c (size_binop): Don't asert inputs are the same and
9135         have TYPE_IS_SIZETYPE set.
9136         (size_diffop): Likewise.
9137
9138 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
9139
9140         * dwarfout.c (output_block): Output abstract blocks even if they
9141         don't have TREE_ASM_WRITTEN set.
9142
9143         * calls.c (emit_library_call): Check for null REG.
9144
9145 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
9146
9147         * c-decl.c (current_function_decl): Move to toplev.c.
9148         (init_decl_processing): Don't add current_function_decl as a ggc
9149         root here.
9150         * dbxout.c (dbxout_symbol): Change return type to int.
9151         (dbxout_symbol_location, dbxout_syms): Likewise.
9152         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
9153         any locals. Use current_function_func_begin_label if set.
9154         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
9155         * dwarf2out.c (dwarf2out_begin_prologue): Set
9156         current_function_func_begin_label.
9157         * final.c (final_start_function): Reset it.
9158         * toplev.c (current_function_decl): Define it here.
9159         (current_function_func_begin_label): New variable.
9160         (main): Add both as ggc roots.
9161         * tree.h (current_function_func_begin_label): Declare.
9162
9163 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9164
9165         * gcse.c: Cleanups throughout: mostly white-space, but also
9166         some minor rearrangement of code.
9167
9168 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
9169
9170         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
9171         returns a PARALLEL.  Use emit_group_load and use_group_regs
9172         as needed.
9173         (emit_library_call_value): Similarly.
9174
9175         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
9176         * pa/quadlib.asm: Remove.
9177         * pa/quadlib.c: New file.
9178
9179         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
9180         * configure: Rebuilt.
9181
9182 2000-02-29  Philip Blundell  <pb@futuretv.com>
9183
9184         * config/arm/conix-elf.h: New file.
9185         * configure.in (arm*-*-conix*): New configuration.
9186         * configure: Regenerate.
9187
9188 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
9189
9190         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
9191         don't have TREE_ASM_WRITTEN set.
9192
9193 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9194
9195         * Eliminate DECL_FIELD_SIZE.
9196         * builtins.c (built_in_class_names, built_in_names): New variables.
9197         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
9198         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
9199         DECL_SIZE, not DECL_FIELD_SIZE.
9200         * print-tree.c (print_node): Remove code that prints extra blank
9201         lines in some cases.
9202         Properly handle inline and builtin function cases.
9203         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
9204         * tree.h (built_in_class_named, built_in_names): New declarations.
9205         (union tree_decl): Rename internal unions to u1 and u2 and change
9206         some of their components.
9207         Add new field built_in_class.
9208         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
9209         Reflect above changes.
9210         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
9211         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
9212         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
9213         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
9214
9215 2000-02-28  Dmitri Makarov  <dim@windriver.com>
9216
9217         * extend.texi: Document ARM's support for long/short calls.
9218
9219         * invoke.texi: Document ARM's -mlong-calls command line switch.
9220
9221         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
9222         (arm_encode_call_attribute): Add prototype.
9223         (arm_set_default_type_attribute): Add prototype.
9224         (arm_strip_name_encoding): Add prototype.
9225
9226         * config/arm/arm.c (arm_init_cumulative_args): replace
9227         initialisation og 'long_calls' field with initialisation of
9228         'call_cookie' field.
9229         (enum arm_pragma_enum): New enum.
9230         (arm_pragma_long_calls): New static variable.
9231         (arm_process_pragma): Also process "#pragma long_calls_off".
9232         (arm_valid_type_attribute_p): Accept short_call attribute.
9233         (arm_comp_type_attributes): Check long/short call attributes.
9234         (arm_encode_call_attribute):  New function:  Encode long_call
9235         or short_call attribute in function name.
9236         (arm_set_default_type_attributes): New function: Assign
9237         default attributes to newly defined type.
9238         (current_file_function_operand): New function: Return true if
9239         the symbol is a function which has already been compiled.
9240         (arm_is_longcall_p): New function: Return true if the
9241         indicated function should be called via a long call.
9242         (arm_get_strip_length): New function.  Returns number of
9243         prefix characters to be stripped from a function's name.
9244         (arm_strip_name_encoding): New function.  Strip prefix characters
9245         from a function's name.
9246
9247         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
9248         with 'call_cookie'.
9249         (SHORT_CALL_FAG_CHAR): Define.
9250         (LONG_CALL_FAG_CHAR): Define.
9251         (ENCODED_SHORT_CALL_ATTR_P): Define.
9252         (ENCODED_LONG_CALL_ATTR_P): Define.
9253         (ARM_NAME_ENCODING_LENGTHS): Define.
9254         (STRIP_NAME_ENCODING): Define.
9255         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
9256         (ARM_ENCODE_CALL_TYPE): Define.
9257         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
9258         (ARM_DECLARE_FUNCTION_SIZE): Define.
9259         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
9260
9261         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
9262         if a long call is needed.
9263         (call_value): Ditto.
9264         (call_symbol): Ditto.
9265
9266         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
9267         ARM_DECLARE_FUNCTION_SIZE.
9268
9269         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
9270         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
9271         (ARM_STRIP_NAME_ENCODING): Undefine.
9272         (STRIP_NAME_ENCODING): Undefine.
9273         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
9274         (ASM_DECLARE_FUNCTION_NAME): Ditto.
9275         (ASM_OUTPUT_COMMON): Ditto.
9276         (ASM_DECLARE_OBJECT_NAME): Ditto.
9277
9278         * config/arm/pe.c (arm_dllexport_name_p): Check for
9279         ARM_PE_FLAG_CHAR.
9280         (arm_dllimport_name_p): Ditto.
9281         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
9282         (arm_mark_dllimport): Ditto.
9283
9284 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9285
9286         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
9287
9288 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
9289
9290         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
9291
9292 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
9293
9294         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
9295         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
9296         NO_BUILTIN_WCHAR_TYPE is not defined.
9297         (CPP_WCHAR_TYPE): Delete.
9298         * cccp.c (main): Don't change wchar_type if cplusplus.
9299         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
9300
9301 2000-02-28  Nick Clifton  <nickc@cygnus.com>
9302
9303         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
9304
9305 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
9306
9307         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
9308         (ASM_WEAKEN_LABEL): Define.
9309
9310 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
9311
9312         * expr.c (store_constructor): Do not emit USE.
9313         * rtl.h (stupid_life_analysis): Remove.
9314
9315 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9316
9317         * function.c (number_blocks): Reset next_block_index based on
9318         what debugging format is used, not what is defined.
9319
9320         * lcm.c: Minor reformatting throughout.
9321         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
9322
9323         * toplev.c (rest_of_compilation): Account for time in
9324         optimize_mode_switching.
9325
9326         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
9327         if only marking labels.
9328
9329 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
9330
9331         * calls.c (expand_call): Attempt to combine stack adjustments with
9332         pending stack adjustments.
9333
9334 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9335
9336         * loop.c (reg_in_basic_block_p): Don't abort when falling through
9337         to the end of the function.
9338
9339 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
9340
9341         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
9342         blocks.
9343         * final.c (next_block_index): Remove.
9344         (max_block_depth): Likewise.
9345         (pending_blocks): Likewise.
9346         (init_final): Don't initialize them.
9347         (final_start_function): Don't set next_block_index.  Set up
9348         BLOCK_NUMBER.
9349         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
9350         * function.h (number_blocks): New function.
9351         * function.c (get_block_vector): New function.
9352         (identify_blocks): Use it.
9353         (reorder_blocks): Set NOTE_BLOCK.
9354         (number_blocks): New function.
9355         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
9356         * tree.h (BLOCK_NUMBER): New macro.
9357         (tree_block): Add block_num field.
9358         * dbxout.c (next_block_number): Remove.
9359         (dbxout_init): Don't set it.
9360         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
9361         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
9362         block numbers.
9363         * toplev.c (rest_of_compilation): Always call
9364         find_loop_tree_blocks.  Fix indentation.
9365         * dwarf2out.c (next_block_number): Remove.
9366         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9367         to determine block numbers.
9368         (gen_inlined_subroutine_die): Likewise.
9369         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
9370         (decls_for_scope): Don't increment next_block_number.
9371         * dwarfout.c (next_block_number): Remove.
9372         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9373         to determine block numbers.
9374         (output_inlined_subroutine_die): Likewise.
9375         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
9376         (output_decls_for_scope): Don't increment next_block_number.
9377         * sdbout.c (next_block_number): Remove.
9378         (sdbout_block): Use BLOCK_NUMBER.
9379         (sdbout_begin_block): Simplify.
9380         * xcoffout.c (next_block_number): Remove.
9381         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
9382         (xcoffout_begin_block): Don't set next_block_number.
9383         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
9384         next_block_number.
9385
9386 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9387
9388         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
9389         (expand_builtin_strcpy): Pass correct type to size_binop.
9390         (expand_builtin_strcmp): Likewise.
9391         Clean up conditional structure.
9392         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
9393         (complete_array_type): Don't use size_binop for MAXINDEX.
9394         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
9395         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
9396         (c_alignof): Use size_one_node.
9397         (build_unary_op): Pass arg of proper type to size_binop.
9398         (really_start_incremental_init, push_init_level): Use sizetype for
9399         constructor{,_bit,_unfilled}_index.
9400         (pop_init_label, output_init_element): Likewise.
9401         (output_pending_init_elements, process_init_element): Likewise.
9402         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
9403         * expr.c (store_expr): Use size_int.
9404         (store_constructor): Use proper types for size_binop args.
9405         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
9406         (expand_expr_unaligned): Likewise.
9407         (string_contant): Return object of sizetype.
9408         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
9409         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
9410         (ARGS_SIZE_TREE): Pass proper types to size_binop.
9411         * fold-const.c (int_const_binop): Refine when size_int is called.
9412         (fold_convert): Likewise.
9413         (size_int_wide): Rework to take KIND as arg, only take low order
9414         bits, handle new sizetype_tab datatype, and chain entries in
9415         size_table.
9416         (size_int_type_wide): New function.
9417         (size_binop): Validate types of arguments.
9418         (ssize_binop): Deleted.
9419         (size_diffop): New function.
9420         (extract_muldiv): Only fold division into multiplication for sizetypes.
9421         * function.c (assign_parms): Use size_diffop and make sure
9422         VAR field is of ssizetype; also pass proper type to size_binop.
9423         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
9424         (round_down): Deleted from here.
9425         * store-layout.c (sizetype_tab): Now an array.
9426         (sizetype_set, early_root_list): New variables.
9427         (variable_size): Use size_one_node.
9428         (round_up): Pass proper type to size_binop.
9429         (round_down): Moved to here and corrected as above.
9430         (layout_record): Pass proper arg types to size_binop.
9431         (layout_type): Likewise.
9432         If sizetype_set is zero, record the type just laid out.
9433         (make_unsigned_type): Don't call set_sizetype;
9434         (make_signed_type): Likewise; also, call fixup_signed_type.
9435         (initialize_sizetypes): New function.
9436         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
9437         set name of bitsizetype to "bit_size_type".
9438         Fix up type of sizes of all types made before call.
9439         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
9440         * tree.c (fix_sizetype): Deleted.
9441         (build_common_tree_nodes): Call initialize_sizetypes.
9442         (build_common_tree_nodes_2): Don't call fix_sizetype.
9443         * tree.h (TYPE_IS_SIZETYPE): New macro.
9444         (initialize_sizetype): New declaration.
9445         (enum size_type_kind): New type.
9446         (struct sizetype_tab): Deleted.
9447         (sizetype_tab): Now array; adjust sizetype macros.
9448         (size_diffop, size_int_type_wide): New functions.
9449         (size_int_wide): Change number of args and type; access macros changed.
9450         (ssize_int, sbitsize_int): New macros.
9451         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
9452         (ROUND_TYPE_SIZE_UNIT): New macro.
9453
9454 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
9455
9456         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
9457
9458 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9459
9460         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
9461         Mark as possibly unused.
9462
9463         * cse.c (cse_insn): Delete dead code involving tablejump.
9464         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
9465
9466         * Makefile.in (libcpp.a): Start by deleting it.
9467
9468 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9469
9470         * cpplib.h (enum file_change_code): Added rename_file.
9471         * cpplib.c (do_line): If a filename is given, set file_change to
9472         rename_file.
9473         (output_line_command): If file_change is rename_file, always
9474         output a # directive with the file name.
9475
9476         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
9477
9478 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
9479
9480         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
9481         when copying a PARM_DECL or RESULT_DECL.
9482
9483 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9484
9485         * fix-header.c (recognized_function): Also fix prototypes for
9486         functions taking "void".
9487
9488 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
9489
9490         * reload1.c (do_output_reload): Check reg_reloaded_valid before
9491         looking at reg_reloaded_contents.
9492
9493 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
9494
9495         * Makefile.in (STMP_FIXINC): New toggle.
9496         (LIBGCC2_DEPS): Delete all references.
9497         (stmp-headers): Delete target.  All references either deleted
9498         or changed to stmp-int-headers.
9499         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
9500         (LIBCPP_OBJS): Take out cppalloc.o.
9501         (cppalloc.o): Delete target.
9502         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
9503         (gen-protos, fix-header): Link with libiberty.a.
9504         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
9505         to empty.
9506
9507         * configure.in: Remove refs to strerror.
9508         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
9509         * system.h: Take out strerror stanza.
9510
9511         * cpperror.c (my_strerror): Delete function.
9512         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
9513         * cppmain.c (main): Call xmalloc_set_program_name first thing.
9514         * cppalloc.c: Delete file.
9515         * gen-protos.c: Don't provide xrealloc.
9516
9517         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
9518         xstrerror throughout.
9519
9520 2000-02-26  Bruce Korb  <bkorb@gnu.org>
9521
9522         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
9523         match for DOS headers, too.
9524         * fixinc/inclhack.sh,fixincl.x: Regenerate.
9525
9526 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
9527
9528         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
9529         is right for most ELF targets.
9530         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
9531         Let the default file use %U properly.
9532         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
9533         default.
9534
9535         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
9536         numbers.
9537
9538 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9539
9540         * toplev.c (documented_lang_options): Correct spelling error.
9541         (decode_d_option, decode_f_option, main): Likewise.
9542
9543         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
9544
9545         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
9546         to tell assembler it is permitted to expand large constants.
9547
9548 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
9549
9550         * protoize.c: (AUX_INFO_SUFFIX): New macro.
9551         (aux_info_suffix): Use.
9552         (SAVE_SUFFIX): New macro.
9553         (save_suffix): Use.
9554         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
9555         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
9556         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
9557
9558         * invoke.texi (Running Protoize): Update documentation.
9559
9560 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
9561
9562         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
9563
9564 2000-02-25  John Wehle  (john@feith.com)
9565
9566         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
9567
9568 2000-02-25  Anthony Green  <green@cygnus.com>
9569
9570         * toplev.c (rest_of_compilation): Rebuild jump labels if
9571         combine_instructions has created a new direct jump.
9572         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
9573         when appropriate.
9574         (combine_instructions): Call try_combine with new argument.
9575         Return non-null value when new direct jump instruction is created.
9576         * rtl.h: combine_instructions returns an int.
9577
9578 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
9579
9580         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
9581         jump when changing a computed jump into a jump to a known
9582         target.
9583
9584 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
9585
9586         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
9587         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
9588
9589         * i386.md (define_expand "clrstrsi"): Fix typo.
9590
9591 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
9592
9593         * rtl.texi: Fix typo.
9594
9595 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9596
9597         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
9598         UNITS_PER_WORD.  Change caller initial_elimination_offset.
9599         (rounded_frame_size): Take into account that argument pushed has
9600         changed.  Fix TARGET_ALIGN_DOUBLE problem.
9601
9602 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
9603
9604         * haifa-sched.c (schedule_block): Explain the real reason
9605         we delete REG_SAVE_NOTEs on the first insn of a block.
9606         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
9607
9608 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
9609
9610         * input.h (push_srcloc): New function.
9611         (pop_srcloc): Likewise.
9612         * toplev.c (push_srcloc): Define it.
9613         (pop_srcloc): Likewise.
9614
9615 2000-02-24  Richard Henderson  <rth@cygnus.com>
9616
9617         * flow.c (life_analysis): When collecting reg info, clear
9618         regs_ever_live.
9619
9620 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9621
9622         Fix bug exposed by reload.c no longer rounding the frame
9623         size to BIGGEST_ALIGNMENT:
9624         * sh.c (rounded_frame_size): New function.
9625         (sh_expand_prologue, sh_expand_epilogue): Use it.
9626         (initial_elimination_offset): Likewise.
9627
9628 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9629
9630         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
9631         * sh-protos.h (sh_need_epilogue): Declare.
9632         * sh.c (sh_need_epilogue_known): New static variable.
9633         (sh_need_epilogue): New function.
9634         (function_epilogue): Clear need_epilogue_known.
9635         * sh.md (return): Split into expander / insn pattern.
9636         Make the expander conditional on ! sh_need_epilogue ().
9637
9638 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
9639
9640         * machmode.h (get_mode_alignment): Declare.
9641         (GET_MODE_ALIGNMENT): Call it.
9642         * stor-layout.c (get_mode_alignment): New function. Make
9643         sure alignment is always power of 2.
9644
9645 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9646
9647         * i386.h: Remove useless definition of "I386" and misleading
9648         comment above it.
9649
9650 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9651
9652         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
9653         under which TREE_PERMANENT will be set.
9654         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
9655         build1): Use TREE_SET_PERMANENT.
9656         * print-tree.c (print_node): Don't report value of
9657         TREE_PERMANENT if ggc_p is true.
9658
9659         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
9660         decide whether to give a type a new alias set.
9661         * objc/objc-act.c (build_objc_string_object): Never copy the string.
9662         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
9663         of value of 'obstack'.
9664
9665
9666 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9667
9668         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
9669
9670 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9671
9672         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
9673         * cpplib.c (cpp_get_token): Produce them.
9674         * cppexp.c (cpp_lex): Handle them.
9675
9676 2000-02-23  Nick Clifton  <nickc@cygnus.com>
9677
9678         * config/arm/arm.c (arm_comp_type_attributes): Simply and
9679         comment tests on type attributes.
9680
9681 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9682
9683         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
9684         conform to documentation.
9685         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
9686         to check for special cases.
9687         * sh-protos.h (sh_loop_align): Declare.
9688         * sh.c (sh_loop_align): Define.
9689
9690 2000-02-22  Andrew Haley  <aph@cygnus.com>
9691
9692         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
9693         (SIZE_TYPE): Is 32 bits when using -mgp32.
9694         (PTRDIFF_TYPE): Ditto.
9695
9696 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9697
9698         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
9699
9700 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
9701
9702         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
9703         BIGGEST_FIELD_ALIGNMENT a constant.
9704
9705 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
9706
9707         * dwarf2out.c (output_line_info): Put the marker for the end of
9708         the line number info at the actual end.
9709         (gen_struct_or_union_type_die): Use decl_function_context
9710         to check for local classes.
9711         * dwarfout.c (output_type): Likewise.
9712
9713 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
9714
9715         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
9716         for arguments with a mode, but no type.
9717         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
9718         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
9719         * pa/long_double.h: New file.
9720         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
9721         both have 128bit wide long doubles.
9722         * configure: Rebuilt.
9723
9724 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9725
9726         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
9727
9728         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
9729         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
9730         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
9731
9732         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
9733
9734         * integrate.c (compare_blocks, find_block): Likewise.
9735
9736         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
9737
9738         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
9739
9740         * stmt.c (stmt_status, set_file_and_line_for_stmt,
9741         expand_asm_operands): Likewise.
9742
9743 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
9744
9745         * predict.c (estimate_probability): Added the pointer heuristic to
9746         the collection of static branch predictors.
9747
9748 2000-02-21  Catherine Moore  <clm@cygnus.com>
9749
9750         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
9751         * invoke.texi (-mfix7000): Document.
9752
9753 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
9754
9755         * diagnostic.c (init_output_buffer): Make it possible to output at
9756         least 32 characters if we're given a too long prefix.
9757
9758 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
9759
9760         * varasm.c (initializer_constant_valid_p): Call
9761         lang_expand_constant to simplify the constant.
9762
9763 2000-02-20  Bruce Korb  <bkorb@gnu.org>
9764
9765         * fixinc/inclhack.def(stdio_va_list):
9766         typedef needs to be disabled.
9767         * fixinc/inclhack.sh: regen
9768         * fixinc/fixincl.x: regen
9769
9770 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
9771
9772         * print-rtl.c (print_rtx): Don't print addresses when
9773         flag_dump_unnumbered.
9774
9775 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9776
9777         * sparc.c (sparc_output_scratch_registers): Mark parameter with
9778         ATTRIBUTE_UNUSED.
9779         (sparc_va_arg, sparc_flat_output_function_prologue,
9780         sparc_flat_output_function_epilogue): Cast value to unsigned in
9781         comparison.
9782         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
9783
9784         * sparc.md: Add default case in switch.
9785
9786 2000-02-19  Richard Henderson  <rth@cygnus.com>
9787
9788         * c-typeck.c (add_pending_init): Don't abort for multiple
9789         fields at the same offset.
9790         (pending_init_member): Test the correct member.
9791
9792 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9793
9794         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
9795         instead of SImode.
9796         (start_catch_handler) : Same.
9797
9798 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
9799
9800         * Makefile.in: Have flow.o depend on $(EXPR_H)
9801
9802 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9803
9804         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
9805         * c-decl.c (duplicate_decls, finish_enum): Likewise.
9806         (finish_decl): Remove -Wlarger-than code from here.
9807         * flags.h (id_clash_len): Now int.
9808         (larger_than_size): Now HOST_WIDE_INT.
9809         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
9810         Clean up checking to see if in table.
9811         (make_bit_field_ref): Remove extra parm to bitsize_int.
9812         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
9813         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
9814         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
9815         and for computing size of decl.
9816         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
9817         Move -Wlarger-than code to here.
9818         (layout_record): Remove extra arg to bitsize_int.
9819         Set TYPE_BINFO_SIZE_UNIT.
9820         (layout_union): Remove extra arg to bitsize_int.
9821         Use proper type for size of QUAL_UNION.
9822         (layout_type): Remove extra arg to bitsize_int.
9823         * toplev.c (id_clash_len): Now int.
9824         (larger_than_size): Now HOST_WIDE_INT.
9825         (decode_W_option): Clean up id-clash and larger-than- cases.
9826         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
9827         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
9828         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
9829         (struct tree_decl): New field size_unit.
9830         (size_int_wide): No HIGH operand; NUMBER is now signed.
9831         (size_int_2): Deleted.
9832         (size_int, bitsize_int): Don't use it and rework args.
9833         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
9834
9835 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
9836
9837         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
9838
9839 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
9840
9841         * invoke.texi (Warning Options): Add an explanation of why
9842         you might want the -Wfloat-equal flag.
9843
9844 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9845
9846         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
9847         * cppinit.c (new_pending_define): Add cast to avoid warning.
9848         * expmed.c (extract_bit_field): Likewise.
9849         * flow.c (enum reorder_skip_type): New type.
9850         (skip_insns_between_blcok): New it.
9851         Rework to avoid warning about possibly undefined variable.
9852         * function.c (assign_parms): Make thisparm_boundary unsigned.
9853         * genrecog.c (write_switch): Cast XWINT result to int.
9854         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
9855         * mips-tfile.c (init_file): Make two versions of FDR intializer:
9856         one for MIPS and one for Alpha.
9857         (get_tag, copy_object): Add casts to avoid warnings.
9858         * optabs.c (init_one_libfunc): Cast NAME to (char *).
9859         * reload.c (find_reloads): Make TYPE enum reload_type.
9860         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
9861         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
9862         * varasm.c (compare_constant_1): Add cast to avoid warning.
9863         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
9864         to (char *).
9865         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
9866         Cast switch operand of size to int.
9867         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
9868         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
9869         in unhandled case.
9870
9871 2000-02-18  Nick Clifton  <nickc@cygnus.com>
9872
9873         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
9874         anything for an alignment of zero.
9875
9876         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
9877         anything for an alignment of zero.
9878
9879 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
9880
9881         * gcc.texi (Bug Reporting): Refer to bugs.html.
9882         (Bug Lists): Likewise.
9883         * system.h (GCCBUGURL): New preprocessor define.
9884         * rtl.c (fancy_abort): Use it.
9885         * gcc.c (main): Likewise.
9886
9887 2000-02-18  Richard Henderson  <rth@cygnus.com>
9888
9889         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
9890         (life_analysis_1): Subsume into ...
9891         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
9892         Use update_life_info for the relaxation.
9893         (update_life_info): Update REG_BASIC_BLOCK for registers live on
9894         entry and regs_live_at_setjmp.
9895         (set_noop_p): Simplify.
9896         (notice_stack_pointer_modification_1): Renamed from s/_1//.
9897         (record_volatile_insns): Split into ...
9898         (delete_noop_moves): ... here,
9899         (notice_stack_pointer_modification): ... here,
9900         (insn_dead_p): ... and here.
9901         (propagate_block): Don't query INSN_VOLATILE.
9902         (mark_used_regs): Mind !PROP_REG_INFO.
9903         * toplev.c (rest_of_compilation): Call mark_constant_function here,
9904         not in life_analysis.
9905
9906 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
9907
9908         * loop.c (canonicalize_condition): New function,
9909         broken out of get_condition.
9910         (get_condition): Use it.
9911         * expr.h (canonicalize_condition): Prototype it.
9912
9913         * tree.h (tree_int_cst_msb): Declare.
9914         * tree.c (tree_int_cst_msb): New function.
9915
9916 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9917
9918         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
9919         isn't set.
9920
9921         * invoke.texi (-fmessage-length=n): Document.
9922
9923 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
9924
9925         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
9926
9927 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
9928
9929         * function.c (thread_prologue_and_epilogue_insns): Put a line note
9930         after the prologue.
9931
9932 2000-02-17  Nick Clifton  <nickc@cygnus.com>
9933
9934         * config/arm/thumb.c: Replace includes of system headers with
9935         #include "system.h".
9936
9937 2000-02-16  Richard Henderson  <rth@cygnus.com>
9938
9939         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
9940         Add crtbeginS.o and crtendS.o.
9941         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
9942         (ENDFILE_SPEC): Use crtendS.o.
9943         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
9944
9945         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
9946         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
9947         shared and present.
9948         (__dso_handle): New variable.
9949         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
9950         bias to __CTOR_END__.
9951
9952 2000-02-16  Richard Henderson  <rth@cygnus.com>
9953
9954         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
9955
9956 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9957
9958         * longlong.h (__clz_tab): Declare as static to match definition.
9959
9960 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
9961
9962         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
9963         (XREF_FILE_NAME): Define.
9964
9965         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
9966         (EH_FRAME_SECTION_ASM_OP): Define.
9967         (IDENT_ASM_OP): Define.
9968         (TEXT_SECTION_ASM_OP): Define.
9969         (CPP_SPEC): Define.
9970         (CTORS_SECTION_ASM_OP): Define.
9971         (CTOR_SECTION_FUNCTION): Use it.
9972         (DTORS_SECTION_ASM_OP): Define.
9973         (DTOR_SECTION_FUNCTION): Use it.
9974
9975 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
9976
9977         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
9978         NOTE_BASIC_BLOCK.
9979
9980         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
9981         debug_bb_n): New functions.
9982         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
9983         * basic-block.h: Prototype new functions.
9984
9985 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
9986
9987         * configure.in: Add support for avr target.
9988         * configure: Rebuilt.
9989
9990         * invoke.texi: Add AVR invocation docs.
9991         * install.texi: Add information about AVR.
9992         * md.texi: Add AVR constraint letters description.
9993         * extend.texi: Add description for AVR specific attributes.
9994
9995 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
9996
9997         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
9998
9999 2000-02-16  Nick Clifton  <nickc@cygnus.com>
10000
10001         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
10002         (make_insn_raw): Move RTL check here.
10003
10004 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10005
10006         * version.c: Include gansidecl.h and version.h.
10007
10008         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
10009
10010         * configure.in (gcc_version): When setting, narrow search to
10011         lines containing `version_string'.
10012
10013         * Makefile.in (mainversion): Likewise.
10014         (GCC_H): New variable.
10015         (gcc.h): Delete target.
10016         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
10017         (version.o): Depend on version.h.
10018         (dbxout.o): Don't depend on gcc.h.
10019
10020 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10021                           Michael Meissner  <meissner@cygnus.com>
10022
10023         * md.texi (Simple Constraints): Add item about whitespace.
10024         * genoutput.c (strip_whitespace): New.
10025         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
10026         strip_whitespace for constraints.
10027         Test pointer using NULL, not 0.
10028
10029 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10030
10031         * cpplib.c (do_line): Pedwarn for #line > 32767.
10032
10033         * c-lex.c (readescape): Warn about '\x', but do not reject it.
10034
10035 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
10036
10037         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
10038         to default cpp spec.
10039         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
10040         * cpp.texi: Document __GNUC_PATCHLEVEL__.
10041         * cpp.1: Likewise.
10042
10043         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
10044         default spec.
10045
10046 2000-02-15  Denis Chertykov  <denisc@overta.ru>
10047
10048         * configure.in: Add support for avr target.
10049
10050 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10051
10052         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
10053         (sh_addr_diff_vec_mode): Don't declare.
10054         * sh.c (sh_addr_diff_vec_mode): Delete.
10055
10056 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10057
10058         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
10059
10060 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10061
10062         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
10063         (smulsi3_highpart_i): Name.
10064         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
10065         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
10066         (smulsi3_highpart, umulsi3_highpart): Likewise.
10067
10068         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
10069         correctly independent of endianness.
10070         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
10071         confuse the optimizers.
10072         (mulsidi3+1, umulsidi3+1): New define_split.
10073
10074 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
10075
10076         * config/sh/sh.md: Guard insn splits against illegal registers.
10077         * config/sh/sh.h: Correct comment about macros.
10078
10079 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10080                           Andrew MacLeod  <amacleod@cygnus.com>
10081
10082         * Makefile.in (lcm.o): Depend on insn-attr.h.
10083         * basic-block.h (optimize_mode_switching): Declare.
10084         * lcm.c (tm_p.h, insn-attr.h): #include.
10085         (seginfo, bb_info): New structs.
10086         (antic, transp, comp, delete, insert) : New file-scope static variables.
10087         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
10088         (reg_becomes_live, optimize_mode_switching): Likewise.
10089         * tm.texi: Add description of mode switching macros.
10090         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
10091
10092         * sh-protos.h (remove_dead_before_cse): Remove prototype.
10093         (fldi_ok, fpscr_set_from_mem): New prototypes.
10094         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
10095         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
10096         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
10097         (sh_flag_remove_dead_before_cse): Remove declaration.
10098         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
10099         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
10100         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
10101         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
10102         (barrier_align): Allow for JUMP_INSNS containing a parallel.
10103         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
10104         (fldi_ok): New function.
10105         (get_fpscr_rtx): Add fpscr_rtx as GC root.
10106         (emit_sf_insn): Only generate fpu switches when optimize < 1.
10107         (emit_df_insn): Likewise.
10108         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
10109         (sh_flag_remove_dead_before_cse): Delete.
10110         (get_free_reg, fpscr_set_from_mem): New functions.
10111         * sh.md (movdf, movsf): Remove no_new_pseudos code.
10112         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
10113
10114 2000-02-15  Loren Rittle  <ljrittle@acm.org>
10115
10116         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
10117
10118 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10119
10120         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
10121         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
10122
10123         * cccp.c: Include version.h and/or don't declare `version_string'.
10124         * collect2.c: Likewise.
10125         * alpha.c: Likewise.
10126         * arm/aof.h: Likewise.
10127         * arm/coff.h: Likewise.
10128         * arm/elf.h: Likewise.
10129         * arm/pe.h: Likewise.
10130         * arm/tcoff.h: Likewise.
10131         * arm/telf.h: Likewise.
10132         * arm/tpe.h: Likewise.
10133         * arm/vxarm.h: Likewise.
10134         * convex/convex.c: Likewise.
10135         * i386/dgux.c: Likewise.
10136         * i386/sun386.h: Likewise.
10137         * m88k/m88k.c: Likewise.
10138         * mcore/mcore-pe.h: Likewise.
10139         * mips/mips.h: Likewise.
10140         * romp/romp.h: Likewise.
10141         * sh/sh.c: Likewise.
10142         * cpphash.c: Likewise.
10143         * cppinit.c: Likewise.
10144         * dwarf2out.c: Likewise.
10145         * dwarfout.c: Likewise.
10146         * gcc.c: Likewise.
10147         * gcc.h: Likewise.
10148         * mips-tfile.c: Likewise.
10149         * protoize.c: Likewise.
10150         * toplev.c: Likewise.
10151         * tree.h: Likewise.
10152
10153         * version.c (version_string): Constify a char*.
10154
10155         * version.h: New file.
10156
10157 2000-02-14  Nick Clifton  <nickc@cygnus.com>
10158
10159         * configure.in: Add mcore-elf and mcore-pe targets.
10160         * configure: Regenerate.
10161
10162         * NEWS: Add note that MCore port has been contributed.
10163
10164         * invoke.texi: Document command line switches for MCore port.
10165         * install.texi: Add MCore to list of supported targets.
10166
10167 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
10168
10169         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
10170         then we will need to import the frame handling functions.
10171         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
10172         to import the frames themselves.
10173
10174 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
10175                           Jason Eckhardt  <jle@cygnus.com>
10176
10177         * basic_block.h: Added prototype for reorder_basic_blocks.
10178         * toplev.c: Changes to add -freorder-blocks and graph dump after
10179         block reordering is done.
10180         * flow.c (reorder_block_def): New structure for use during block
10181         reordering.
10182         (REORDER_BLOCK_*): New macros to access members of above structure.
10183         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
10184         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
10185         functions for block reordering.
10186
10187 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10188
10189         * gcc.texi (Passes): Fix typo.
10190         * md.texi (Standard Names): Ditto.
10191         * tm.texi (Storage Layout): Ditto.
10192
10193 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
10194
10195         * cpplib.c (do_define): Only free the old definition if it
10196         actually had one.
10197
10198 2000-02-13   Neil Booth  <NeilB@earthling.net>
10199
10200         * cppfiles.c (read_and_prescan): When emitting deferred
10201         newlines, test speccase[] again instead of checking each
10202         possible whitespace character in turn.  When we encounter \r,
10203         look behind for \n first, then ahead.
10204
10205 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
10206
10207         * cse.c (cse_altered): New internal flag.
10208         (cse_insn): Set it if we changed an insn.
10209         (cse_main): Clear cse_altered before each basic block.
10210         Only garbage collect if cse_altered is true afterward.
10211
10212 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10213
10214         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
10215
10216 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
10217
10218         * combine.c (simplify_comparison): Fix typo.
10219
10220 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
10221
10222         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
10223         consistently.
10224
10225 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10226
10227         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
10228         previously inserted node instead of root node.  Caller changed.
10229
10230 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10231
10232         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
10233
10234 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10235
10236         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
10237         __dereg_frame_dtor): Add prototype argument.
10238
10239         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
10240
10241         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
10242
10243         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
10244
10245         * gthr-vxworks.h (__gthread_once): Likewise.
10246
10247         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
10248
10249 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
10250
10251         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
10252         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
10253         stack pointer in functions w/o saved registers, output LEAVE more often
10254         on TARGET_USE_LEAVE machines.
10255
10256 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
10257
10258         * config/arm/arm.c (arm_init_cumulative_args); New function:
10259         Initlaise the CUMULATIE_ARGS strcuture for a function
10260         defintion.
10261         (arm_function_arg): New function: Determine where to place a
10262         function's argument.  Also handles deciding the function's
10263         call cookie.
10264         (current_file_function_operand): New function: Return true if
10265         the symbol is a function which has already been compiled.
10266         (arm_is_long_call_p): New function: Return true if the
10267         indicated function should be called via a long call.
10268         (arm_valid_type_attribute_p): New function: Return true if the
10269         attribute is a valid, arm specific, attribute.
10270         (arm_comp_type_attribute): New function: Return true if the
10271         two types have compatable, arm specific, attributes.
10272
10273         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
10274         structure.
10275         (FUNCTION_ARG): Redefine to call arm_function_arg.
10276         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
10277         structure field.
10278         (INIT_CUMULATIVE_ARGS): Redefine to call
10279         arm_init_cumulative_args.
10280         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
10281         field.
10282         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
10283         field.
10284         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
10285         functions.
10286         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
10287         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
10288         (COMP_TYPE_ATTRIBUTES): Define.
10289
10290         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
10291         if a long call is needed.
10292         (call_value): Call arm_is_long_call_p to decide if a long call
10293         is needed.
10294         (call_symbol): Call arm_is_long_call_p to decide if a long call
10295         is needed.
10296
10297         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
10298
10299 2000-02-11  Denis Chertykov  <denisc@overta.ru>
10300
10301         * README.AVR: New file with information about the avr ports.
10302         * config/avr: New directory with avr port files.
10303
10304 2000-02-11  Andreas Jaeger  <aj@suse.de>
10305
10306         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
10307
10308 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
10309
10310         * cpphash.c: Fix formatting, update commentary.
10311         (dump_definition): Take three separate arguments instead of a
10312         MACRODEF structure argument.
10313         * cpphash.h: Update prototype of dump_definition.
10314         * cppinit.c (cpp_finish): Update call of dump_definition.
10315
10316         * cpplib.c (do_define): Always create new hash entry with
10317         T_MACRO type.  Remove redundant check for redefinition of
10318         poisoned identifier.  Update call of dump_definition.
10319         (do_undef): Don't call check_macro_name.  Rename sym_length to
10320         len.
10321         (do_error, do_warning): Don't use copy_rest_of_line or
10322         SKIP_WHITE_SPACE.
10323         (do_warning): Don't use pedwarn for the actual warning,
10324         only the notice about its not being in the standard.  (Fixes
10325         bug with #warning in system headers.)
10326         (do_ident): Stricter argument checking - accept only a single
10327         string after #ident.  Also, macro-expand the line.
10328         (do_xifdef): Use cpp_defined.  De-obfuscate.
10329
10330         (do_pragma): Split out specific pragma handling to separate
10331         functions.  Use get_directive_token.  Update commentary.  Do
10332         not pass on #pragma once or #pragma poison to the front end.
10333         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
10334         do_pragma_default): New.
10335
10336 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
10337
10338         * jump.c (jump_optimize_1): The first operand in a relational
10339         can be a CONST_INT.
10340         * optabs.c (emit_conditional_move): Handle relationals which
10341         have a known true/false result.
10342
10343 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
10344
10345         * function.c (thread_prologue_and_epilogue_insns): Don't insert
10346         a RETURN insn into a block which already ends with a jump.
10347
10348 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
10349
10350         * haifa-sched.c (BUF_LEN): Increase a lot.
10351
10352 2000-02-11  Nick Clifton  <nickc@cygnus.com>
10353
10354         * configure.in: Add tm_p_file specification for thumb targets.
10355         * configure: Regenerate.
10356
10357         * config/arm/thumb-protos.h: New file: Prototypes for exported
10358         functions defined in thumb.c.
10359
10360 2000-02-11  Robert Lipe  <robertl@sco.com>
10361
10362         * Makefile.in (bootstrap-lean): Remove additional files.
10363         (bootstrap2-lean): Likewise.
10364         (VOL_FILES): List of files for above.
10365
10366 2000-02-11  Nathan Sidwell  <nathan@acm.org>
10367
10368         * cpphash.c (special_symbol): Remove spurious argument to
10369         cpp_lookup.
10370
10371 2000-02-11  Joel Sherrill (joel@OARcorp.com>
10372
10373         * configure.in: (i*86-*-rtems*): Swapped elf and coff
10374         stanzas.
10375         * configure: Rebuilt.
10376
10377 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
10378
10379         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
10380
10381 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
10382
10383         * pa.c, pa.h: Remove trigraph sequences within comments.
10384
10385 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
10386
10387         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
10388
10389 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
10390
10391         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
10392
10393 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10394
10395         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
10396
10397 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10398
10399         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
10400         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
10401         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
10402         (ASM_FILE_END): Use c4x_file_end.
10403         * config/c4x/c4x.c (c4x_global_label): New function.
10404         (c4x_external_ref, c4x_file_end): Likewise.
10405
10406         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
10407         (c4x_external_ref, c4x_end_file): Likewise.
10408
10409 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
10410
10411         * cppexp.c: Don't include cpphash.h.
10412         (parse_charconst, cpp_lex): Use cpp_defined.
10413         (cpp_lex): Use get_directive_token throughout.  Remove
10414         unnecessary cases from switch.  Move assertion-handling code
10415         down to OTHER case.
10416         (cpp_parse_expr): If we see '+' or '-', check the context to
10417         determine if they are unary or binary operators.  Streamline
10418         the jumps a bit.  Do not call skip_rest_of_line.
10419
10420         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
10421         static.  Export get_directive_token.  Update commentary.
10422         (cpp_defined): New function.
10423         (do_define): Remove reference to T_PCSTRING.  Call
10424         free_definition to release memory for old definition, when
10425         redefining a macro.
10426         (eval_if_expression): Set only_seen_white to 0 before calling
10427         cpp_parse_expr.  Call skip_rest_of_line after it returns.
10428         (cpp_read_check_assertion): Don't preserve a pointer into the
10429         token buffer across a call to cpp_get_token.
10430
10431         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
10432         * cppfiles.c (redundant_include_p): Use cpp_defined.
10433         * cpphash.c (free_definition): New function.
10434         (delete_macro): Use it.  Update commentary.
10435         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
10436         free_definition.
10437         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
10438         from enum node_type.  Prototype cpp_defined and get_directive_token.
10439         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
10440
10441         * fix-header.c (check_macro_names): Use cpp_defined.
10442         (read_scan_file): Set inhibit_warnings and inhibit_errors in
10443         the options structure.
10444
10445 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10446
10447         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
10448
10449 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
10450
10451         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
10452         rather than die->die_tag.
10453
10454 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10455
10456         * combine.c (make_extraction, force_to_mode): Avoid warning on
10457         mixed-signedness conditionals.
10458         (make_field_assignment, nonzero_bits): Likewise.
10459         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
10460         (store_split_bit_field, extract_split_bit_field): Likewise.
10461         (extract_fixed_bit_field, store_bit_field,
10462         * expr.c: Change alignment to be unsigned everywhere.
10463         (move_by_pieces, store_constructor_field, store_constructor):
10464         Alignment parm is unsigned.
10465         (emit_block_move, emit_group_load, emit_group_store): Likewise.
10466         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10467         (do_compare_rtx_and_jump): Likewise.
10468         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
10469         Compare align with GET_MODE_ALIGNMENT.
10470         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
10471         (get_inner_reference): Likewise.
10472         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
10473         (expand_assignment): Local vars for alignment now unsigned.
10474         (store_constructor, store_field, expand_expr, do_jump): Likewise.
10475         (do_compare_and_jump): Likewise.
10476         (store_field): Call new function expr_align.
10477         * expr.h (emit_block_move, emit_group_load, emit_group_store):
10478         Alignment arg now unsigned.
10479         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10480         (do_compare_rtx_and_jump, store_bit_field): Likewise.
10481         (extract_bit_field): Likewise.
10482         * fold-const.c (add_double): Add cast to eliminate signedness warning.
10483         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
10484         (get_best_mode): Alignment arg is unsigned.
10485         * rtl.h (move_by_pieces): Likewise.
10486         * store-layout.c (maximum_field_alignment, set_alignment):
10487         Now unsigned.
10488         (layout_decl): Alignment arg is now unsigned.
10489         Remove unneeded casts.
10490         (layout_record, layout_union, layout_type): Remove unneeded casts.
10491         Local alignment variables now unsigned.
10492         (get_best_mode): Alignment arg now unsigned.
10493         * tree.c (expr_align): New function.
10494         * tree.h (expr_align): Likewise.
10495         (maximum_field_alignment, set_alignment): Now unsigned.
10496         (get_inner_reference): Alignment argument is now pointer to unsigned.
10497         * varasm.c (assemble_variable): Add cast to eliminate warning.
10498
10499 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
10500
10501         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
10502         then store directly into op0.
10503
10504         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
10505         the CALL_INSN, and emit the note immediately after it.
10506
10507 2000-02-10  Nick Clifton  <nickc@cygnus.com>
10508
10509         * config/arm/thumb.md (epilogue): Include a (return) in the
10510         generated insn, and emit it using emit_jump_insn not
10511         emit_insn.
10512
10513 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
10514
10515         * function.c (assign_temp): Change zero-sized arrays to size 1.
10516         * integrate.c (expand_inline_function): Do not update
10517         stack_alignment_needed
10518         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
10519         add some sanity checking, remove optimization for function with
10520         zero frame size.
10521
10522 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10523
10524         * flow.c (mark_regs_live_at_end): Delete unused variables.
10525
10526         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
10527
10528         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
10529         in macro FRAME_GROWS_DOWNWARD.
10530
10531         * stmt.c (expand_end_bindings): Delete unused variable.
10532
10533         * unroll.c (iteration_info): Mark parameter `loop' with
10534         ATTRIBUTE_UNUSED.
10535
10536 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10537
10538         * fixinc/server.c (load_data): Return NULL if the marker line is
10539         not found.
10540         (run_shell): If load_data returns NULL, retry the command once, in
10541         a new shell.
10542
10543         * configure: Rebuilt.
10544
10545 2000-02-09  Bruce Korb  <bkorb@gnu.org>
10546
10547         * gcc/fixincludes:  ** DELETED **
10548         * gcc/fixcpp:  ** DELETED **
10549         * gcc/fixinc-nt.sed:  ** DELETED **
10550         * gcc/just-fixinc:  ** DELETED **
10551         * gcc/Makefile.in:  Removed out-dated commentary
10552         * gcc/configure.in: Removed fast-fixincludes disablement.
10553         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
10554
10555 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10556         * function.c (thread_prologue_and_epilogue_insns): Uncomment
10557         last change.
10558
10559 2000-02-09  Richard Henderson  <rth@cygnus.com>
10560
10561         * jump.c (delete_insn): Don't delete user labels at -O0.
10562
10563 2000-02-09  Robert Lipe  <robertl@sco.com>
10564
10565         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
10566         Don't link with HOST_LIBS.
10567
10568 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10569
10570         * configure.in: Correct --help text for --with-dwarf2.
10571         Put tm-dwarf2.h after other tm files, if it's requested.
10572         * configure: Regenerate.
10573         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
10574         defining it.
10575
10576 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10577
10578         * cpplib.h: Provide HASHNODE typedef and forward decl of
10579         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
10580         DEFINITION, struct hashnode, struct macrodef, struct
10581         definition, scan_decls prototype, default defn of
10582         INCLUDE_LEN_FUDGE moved elsewhere.
10583
10584         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
10585         definition, and struct hashnode moved here. Remove the unused
10586         'predefined' field from struct definition.  Replace the 'args'
10587         union with its sole member.  All users updated (cpphash.c).
10588         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
10589         multiple include guard.
10590
10591         * cpphash.c (hashf): Make static; use better algorithm; drop
10592         HASHSIZE parameter; return an unsigned int.
10593         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
10594         used. Calculate HASHSIZE modulus here.
10595         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
10596         here.
10597         (create_definition): Drop PREDEFINITION parameter.
10598         * cpplib.c (do_define): Don't calculate a hash value here.
10599         Don't pass (keyword == NULL) to create_definition.
10600
10601         * scan.h: Prototype scan_decls here.
10602         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
10603         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
10604         callers of cpp_lookup and cpp_install updated.
10605
10606         * cpphash.c (macarg): Hoist all the flag diddling out of the
10607         function...
10608         (macroexpand): ... and out of the loop that calls macarg.
10609         Skip over the initial paren before macro arguments with
10610         cpp_get_non_space_token; point may be some distance before
10611         that paren.  Abort if it's not there.
10612
10613         * cpplib.c (parse_clear_mark): Delete function.
10614         (parse_set_mark, parse_goto_mark): Make static.
10615         (ACTIVE_MARK_P): New macro.
10616         (skip_block_comment, skip_line_comment): Do not bump the line
10617         if ACTIVE_MARK_P is true.
10618         (cpp_pop_buffer): The buffer to be popped may not have an
10619         active mark.
10620         (cpp_get_token): When looking for the initial paren before
10621         macro arguments, only set a mark in a file buffer, Always
10622         return to that mark before proceeding to call macroexpand or
10623         return a NAME token.
10624
10625         * cpplib.h: Remove prototypes of parse_set_mark,
10626         parse_clear_mark, parse_goto_mark.
10627         (struct cpp_options): Rename 'put_out_comments' to
10628         'discard_comments' and invert its sense.
10629         * cppinit.c, cpphash.c, cpplib.c: All users of
10630         put_out_comments changed to use discard_comments, with
10631         opposite sense.
10632
10633 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10634
10635         * function.c (thread_prologue_and_epilogue_insns): Don't delete
10636         the edge from a block that both jumps and falls through to the
10637         fallthru block.
10638
10639 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
10640
10641         * config/arm/arm.md (movsi): In PIC mode, make sure that a
10642         constant source address is legitimate.
10643
10644 2000-02-09  Philip Blundell  <pb@futuretv.com>
10645
10646         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
10647         correctly.
10648
10649         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
10650         generating PIC.
10651         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
10652
10653 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
10654
10655         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
10656         ends with a newline and a NUL.  Don't be so clever manipulating
10657         strings.
10658
10659 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
10660
10661         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
10662         not to BIGGEST_ALIGNMENT.
10663
10664 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
10665
10666         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
10667         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
10668         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
10669         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
10670         * frame.c (execute_cfa_insn): Handle
10671         DW_CFA_GNU_negative_offset_extended.
10672
10673 2000-02-08  Richard Henderson  <rth@cygnus.com>
10674
10675         * flow.c (tidy_fallthru_edges): Split out from ...
10676         (delete_unreachable_blocks): ... here.
10677         (find_basic_blocks): Use it.
10678
10679 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10680
10681         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
10682
10683 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
10684
10685         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
10686         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
10687         (fix-header.o): Don't depend on cpphash.h.
10688
10689         * scan.c (hashstr): New function.
10690         * scan.h: Prototype it.
10691         * fix-header.c: Don't include cpphash.h.  Use hashstr.
10692         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
10693         hashstr.  Report hash table statistics.  Add private
10694         definition of xrealloc.
10695
10696 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10697
10698         * i386.h (TARGET_SWITCHES): Fix typo in option name.
10699
10700 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
10701
10702         * function.c (thread_prologue_and_epilogue_insns): Don't replace
10703         jumps with returns unless they are jumps to the fallthru block.
10704
10705 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
10706
10707         * i386.md (addqi3_cc): Fix contraints.
10708
10709 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10710
10711         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
10712
10713 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
10714
10715         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
10716         carriage return after a macro name.
10717
10718 2000-02-07  Fred Fish  <fnf@be.com>
10719
10720         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
10721         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
10722
10723 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
10724
10725         * cppfiles.c (deps_output): Count spacers in deps_column.
10726
10727 2000-02-07  Neil Booth  <NeilB@earthling.net>
10728
10729         * cppinit.c (initialize_dependency_output): If there is no
10730         suffix, don't try to look for known suffixes.  Use strrchr.
10731         (cpp_start_read): Remove duplicate initialization.
10732
10733 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
10734
10735         * calls.c (compute_argument_block_size): New argument
10736         preferred_stack_boundary.
10737         (expand_call): update cfun->preferred_stack_boundary, update call of
10738         compute_argument_block_size
10739         (emit_library_call): Increate cfun->preferred_stack_boundary
10740         to PREFERRED_STACK_BOUNDARY
10741         (emit_library_call_value): Likewise.
10742         * explow.c (allocate_dynamic_stack_spave): Likewise.
10743         * function.c (prepare_function_start): Set
10744         cfun->preferred_stack_boundary
10745         * function.h (struct function): Add preferred_stack_boundary field.
10746         * integrate.c (expand_inline_function): Update
10747         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
10748         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
10749         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
10750
10751 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
10752
10753         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
10754         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
10755         cpp_pedwarn, cpp_pedwarn_with_line,
10756         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
10757         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
10758         v_cpp_error_with_line, v_cpp_warning_with_line,
10759         cpp_message_from_errno, cpp_perror_with_name): Delete.
10760
10761         * cpperror.c (cpp_print_containing_files): Take starting
10762         buffer as argument.
10763         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
10764         (v_cpp_message): Now called directly by all entry points.
10765         Remove -1 case.
10766         (cpp_pfatal_with_name, cpp_message): Delete.
10767         (cpp_notice_from_errno, cpp_ice): New functions.
10768         (cpp_notice): Is now for reporting error conditions, just
10769         without an associated file.
10770         (cpp_error, cpp_error_with_line): Don't do anything if
10771         opts->inhibit_errors is on.
10772         (cpp_pedwarn_with_file_and_line): Take column argument also.
10773
10774         * cpplib.h: Update prototypes of exported functions.
10775         (struct cpp_options): Add inhibit_errors.
10776
10777         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
10778         non-error messages.  Include intl.h.
10779
10780         * cppinit.c, cppmain.c: Likewise.  Also, use
10781         cpp_notice_from_errno instead of cpp_perror_with_name or
10782         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
10783
10784         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
10785         report internal errors.
10786
10787         * cpplib.c (do_define): Switch bcopy to memcpy.
10788         Give cpp_pedwarn_with_file_and_line a dummy column argument.
10789
10790         * cpplib.c (copy_rest_of_line): Revert previous change: don't
10791         bail out early if we hit a line comment.
10792
10793 2000-02-06  Richard Henderson  <rth@cygnus.com>
10794
10795         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
10796         * basic-block.h: Declare them.
10797         * emit-rtl.h (active_insn_p): New.
10798         (next_active_insn, prev_active_insn): Use it.
10799         * rtl.h: Declare it.
10800         * function.c (emit_return_into_block): New.
10801         (thread_prologue_and_epilogue_insns): Insert return insns instead
10802         of epilogues when possible.
10803         * jump.c (jump_optimize_1): Remove code to insert a return insn
10804         on the fallthru to the exit block.
10805
10806         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
10807         and for non-empty stack frames.
10808         * i386.md (return): Expand to return-pop as needed.
10809
10810 2000-02-06  Richard Henderson  <rth@cygnus.com>
10811
10812         * simplify-rtx.c (simplify_relational_operation): Canonicalize
10813         constant to op1 for testing.
10814
10815 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10816
10817         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
10818         (fixuns_truncqfqi2): Use it.
10819
10820 2000-02-06  Richard Henderson  <rth@cygnus.com>
10821
10822         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
10823         as a TYPE_LEA insn.
10824
10825         * i386.md (widening and peepholes): Mask the constant instead of
10826         using gen_lowpart.
10827
10828 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10829
10830         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
10831         input pointer before possibly branching off to the backslash
10832         code.
10833         * cpphash.c (macroexpand): Correctly delete \r escapes when
10834         stringifying parameters.
10835         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
10836         if we can; bail out early if we hit a line comment.
10837         (handle_directive): Treat '# 123' in an .S file just like
10838         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
10839         Return 1 for '# not_a_directive'.
10840         (get_directive_token): Pop macro buffers here, so that
10841         cpp_get_token can't sneakily move past a newline.
10842         Add sanity checks.
10843         (cpp_get_token): goto randomchar if handle_directive returns 0.
10844
10845         * cppalloc.c: Update copyright.
10846         * cpplib.c: Merge all the static function prototypes into one
10847         block.
10848         * cpplib.h: Remove #if 0 block.
10849
10850         * cpperror.c: Remove #ifdef EMACS block.
10851         * cppmain.c: Likewise.
10852         * cpphash.c: Remove #if 0 blocks.
10853         * cppinit.c: Remove #if 0 blocks, and the -lint option.
10854         * cpplib.c: Remove #if 0 blocks and code referencing
10855         pcp_inside_if or for_lint.  Remove duplicate error message.
10856         Fix error messages for #else after #else or #elif.  Reformat.
10857         Remove archaic TODO list.
10858         * cpplib.h: Remove pcp_inside_if and for_lint flags.
10859
10860 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
10861
10862         * i386/osf1elf.h: Add missing backslash to multiline string.
10863
10864 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10865
10866         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
10867
10868 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10869
10870         * Makefile.in (c-common.o): Depend on $(EXPR_H).
10871
10872         * c-common.c: Include expr.h.
10873
10874         * c-pragma.c (mark_align_stack): Add prototype.
10875
10876         * caller-save.c (add_stored_regs): Likewise.
10877
10878         * combine.c (record_promoted_value): Likewise.
10879
10880         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
10881         Likewise.
10882
10883         * cppinit.c (new_pending_define): Likewise.
10884
10885         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
10886
10887         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
10888         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10889         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
10890         class_scope_p): Likewise.
10891
10892         * dwarf2out.h (dwarf2out_set_demangle_name_func,
10893         dwarf2out_add_library_unit_info): Likewise.
10894
10895         * ggc.h (ggc_page_print_statistics): Likewise.
10896
10897         * haifa-sched.c (propagate_deps): Likewise.
10898
10899         * reg-stack.c (next_flags_user, record_label_references): Likewise.
10900
10901         * rtl.h (set_stack_check_libfunc): Likewise.
10902
10903         * toplev.h (set_fatal_function): Likewise.
10904
10905         * toplev.c (set_fatal_function): Delete prototype.
10906
10907         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
10908
10909 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
10910
10911         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
10912         (FUNC_END): Likewise.
10913
10914 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10915
10916         * caller-save.c: Include tm_p.h.
10917
10918 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10919
10920         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
10921
10922 2000-02-04  Neil Booth  <NeilB@earthling.net>
10923
10924         * cccp.c (main): Check 'dir' for a NULL pointer before passing
10925         it to strcmp.
10926
10927 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
10928
10929         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
10930         * genflags.c: Use the max_operand_1 logic from genemit.c to
10931         calculate how many arguments gen_insn prototypes have.  Remove
10932         NO_MD_PROTOTYPES ifdefs from the generated file.
10933         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
10934         file.  Cast gen_insn initializers to insn_gen_fn.
10935         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
10936         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
10937
10938 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10939
10940         * fixinc/Makefile.in (HDR): Add machname.h.
10941         (clean): Likewise.
10942
10943 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10944
10945         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
10946         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
10947         (c4x_cpu_version): Ditto.
10948         * config/c4x/c4x-protos.h: ... here.
10949
10950 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
10951
10952         * dwarf2out.c (add_abstract_origin_attribute): Don't call
10953         gen_abstract_function on our context if we're a nested function.
10954
10955 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10956
10957         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
10958         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
10959
10960 2000-02-04  Bruce Korb  <bkorb@gnu.org>
10961
10962         * fixinc/genfixes(machname.h):
10963         Move the functionality from gen-machine.h into this file.
10964         UNdef MN_NAME_PAT if there are no names to change.
10965         Also, be a little kinder when AutoGen is not present.
10966
10967         * fixinc/Makefile.in(machname.h):
10968         Change the generation rule to use genfixes.
10969
10970         * fixinc/fixfixes.c(machine_name):
10971         machine_name_fix's functionality now dependent upon whether
10972         MN_NAME_PAT is defined.
10973
10974         * fixinc/fixtests.c(machine_name):
10975         ditto.
10976
10977         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
10978         of MN_NAME_PAT.
10979
10980         * fixinc/fixlib.h(mn_get_regexps):
10981         ditto
10982
10983         * fixinc/gen-machine.h: DELETED
10984
10985 2000-02-04  Jan Hubicka  <jh@suse.cz>
10986             Richard Henderson  <rth@cygnus.com>
10987
10988         * i386.c (SAVE_REGS_FIRST): Remove.
10989         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
10990         (ix86_compute_frame_size): Likewise.
10991         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
10992         (ix86_emit_restore_regs): Remove.
10993         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
10994         when a frame pointer is in use.
10995         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
10996         instead of pop to restore a register when profitable; emit leave
10997         when profitable.
10998         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
10999         as a TYPE_LEA insn.
11000         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
11001         * i386.md (prologue_allocate_stack): Remove.
11002         (epilogue_deallocate_stack): Remove.
11003         (pro_epilogue_adjust_stack): New.
11004
11005 2000-02-04  Richard Henderson  <rth@cygnus.com>
11006
11007         * function.c (diddle_return_value): Rework to use a callback function.
11008         Use current_function_return_rtx if it's been set up.
11009         (do_clobber_return_reg, clobber_return_register): New.
11010         (do_use_return_reg, use_return_register): New.
11011         (expand_function_end): Use them.
11012         * stmt.c (expand_null_return): Likewise.
11013         * function.h: Declare them.
11014         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
11015         (mark_reg): Change arguments as appropriate for callback.
11016         * integrate.c (expand_inline_function): Revert 19 Jan change.
11017
11018 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11019
11020         * tm.texi (Values in Registers): Fix typo: "fo" "for".
11021         (Misc): Say the scheduler, not the Haifa scheduler.
11022
11023 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
11024
11025         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
11026         when in_mem is set.  Update all callers.
11027
11028 2000-02-04  Richard Henderson  <rth@cygnus.com>
11029
11030         * i386/openbsd.h (INT_ASM_OP): Define.
11031
11032 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11033
11034         * tm.texi: Fix various typos.
11035
11036 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
11037
11038         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
11039         (MD_STARTFILE_PREFIX_1): New macro.
11040
11041 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
11042
11043         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
11044         destination when needed.
11045         (strmovsi, strsetsi): New expander.
11046         (strmovsi_1, strsetsi_1): New pattern.
11047         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
11048         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
11049         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
11050         * invoke.texi (align-stringops, inline-all-stringops): Document.
11051
11052 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
11053
11054         * i386/netbsd.h (INT_ASM_OP): Define.
11055
11056 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
11057
11058         * cpplib.h (cpp_reader): Add new flag, no_directives.
11059         * cpphash.c (macarg): Set it.
11060         * cpplib.c (handle_directive): If no_directives is on and we
11061         find a directive, issue an error and discard the line.
11062
11063 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
11064
11065         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
11066         FP constants.  Add ! TARGET_FPU check for FP constants.
11067
11068 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
11069
11070         * flow.c (find_basic_blocks): Don't kill label_value_list
11071         here.
11072         (cleanup_cfg): Kill it here.
11073
11074 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11075
11076         * expr.c (store_field): Ensure ALIGN is no stricter than the
11077         alignment of EXP.
11078
11079 2000-02-02  Richard Henderson  <rth@cygnus.com>
11080
11081         * jump.c (delete_insn): Partially revert 19 Jan change;
11082         don't convert unused code labels to notes at -O0.
11083
11084 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11085
11086         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
11087         split_all_insns to recreate REG_LABEL notes for flow2 pass.
11088
11089 2000-02-01  Richard Henderson  <rth@cygnus.com>
11090
11091         * i386.c (general_no_elim_operand): New.
11092         (nonmemory_no_elim_operand): New.
11093         (ix86_expand_move): Copy eliminable operands before a push.
11094         * i386-protos.h: Declare new functions.
11095         * i386.h (CAN_ELIMINATE): Simplify.
11096         (PREDICATE_CODES): Update.
11097         * i386.md (push insns): Don't allow eliminable register operands.
11098
11099 2000-02-01  Richard Henderson  <rth@cygnus.com>
11100
11101         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
11102         replace BLKmode with DECL_RTL's mode.
11103
11104 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
11105
11106         * frame.c (find_fde): Convert for loop to do-while so compiler
11107         sees it's always executed at least once.
11108         * libgcc2.c (BBINBUFSIZE): Kill.
11109         (__bb_init_prg): Use fgets.
11110         (__bb_exit_trace_func): Don't paste strings.
11111         * unroll.c (unroll_loop): Initialize unroll_type, not
11112         unroll_number, and tweak logic to match.
11113
11114         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
11115         all failure paths.
11116         (ix86_flags_dependant): Likewise.  Disentangle control flow.
11117         (ix86_sched_reorder): Break guts out to
11118         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
11119         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
11120         any possible use.
11121
11122         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
11123         use string concatenation.  Don't save and restore esi.
11124
11125         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
11126         (machname.h): Remove script to separate file.  Use two-step
11127         sequence so target is not created if script fails.
11128         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
11129         identifiers are defined.
11130         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
11131         an empty string, machine_name doesn't need to do anything at
11132         all.
11133         (is_cxx_header): Add more cases to regexp.
11134         * fixinc/fixlib.h: Update prototype.
11135         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
11136         mn_get_regexps.
11137         * fixinc/fixincl.c: Define NO_BOGOSITY.
11138
11139         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
11140         (hp_sysfile): Add missing comma.
11141         (math_exception): Put the wrapper ifdefs at the beginning and
11142         the end of the file.
11143         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
11144
11145 2000-02-01  Richard Henderson  <rth@cygnus.com>
11146
11147         * sparc.c (fp_zero_operand): Turn into a normal predicate.
11148         Use CONST0_RTX.  Update all callers.
11149         * sparc.h, sparc-protos.h: Update accordingly.
11150         * sparc.md (fp mov insns): Use fp_zero_operand directly
11151         where applicable.
11152
11153 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11154
11155         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
11156         example.
11157
11158 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11159
11160         * Makefile.in (specs.ready): New target.
11161         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
11162
11163 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11164
11165         * fixinc.irix: Use unique filenames for writing into /tmp,
11166         * fixinc.ptx: Likewise.
11167         * fixinc.sco: Likewise.
11168         * fixinc.svr4: Likewise.
11169         * fixinc.winnt: Likewise.
11170
11171 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11172
11173         * tsystem.h: New file.
11174
11175         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
11176         s-crtS): Depend on tsystem.h.
11177
11178         * crtstuff.c: Include tsystem.h.
11179         * frame.c: Likewise.
11180         * libgcc2.c: Likewise.
11181
11182 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
11183
11184         * builtins.c (expand_builtin_memset): Expand for variable sized
11185         lengths too.
11186
11187 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
11188
11189         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
11190         on ABI.
11191
11192 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11193
11194         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
11195
11196         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
11197
11198 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
11199
11200         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
11201         case 3->2 combining (combining with splitting) in which 2 is CC0
11202         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
11203         checked at the begining of the function with the aid of calling
11204         function 'can_combine_p'.
11205
11206 2000-01-31  Dave Brolley  <brolley@redhat.com>
11207
11208         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
11209
11210 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
11211
11212         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
11213         new label.
11214
11215 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11216
11217         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
11218
11219         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
11220         PROTO -> PARAMS.
11221
11222 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
11223
11224         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
11225         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
11226         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
11227         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
11228         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
11229         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
11230         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
11231         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
11232         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
11233         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
11234
11235         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
11236         Add %(cpp_cpu) to CPP_SPEC.
11237
11238         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
11239         Add %(cc1_cpu) to CC1_SPEC.
11240
11241 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
11242
11243         * c-decl.c (c_decode_option): Accept optional numeric argument to
11244         -Wformat and set warn_format.
11245         * c-common.c: Don't emit warning about non-constant printf format
11246         string unless warn_format > 1.
11247
11248 2000-01-30  Richard Henderson  <rth@cygnus.com>
11249
11250         * alpha.md (return_internal): Allow after reload only.
11251
11252 2000-01-30  Richard Henderson  <rth@cygnus.com>
11253
11254         * i386.c (ix86_compute_frame_size): Omit padding1 if the
11255         local frame size is zero.
11256
11257 2000-01-30  Richard Henderson  <rth@cygnus.com>
11258
11259         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
11260         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
11261         * alpha.md (return): Turn into an expander.
11262         (return_internal): Don't use $26.
11263         (epilogue): Emit the return insn.
11264
11265 2000-01-30  Richard Henderson  <rth@cygnus.com>
11266
11267         * alpha.md (negtf2, abstf2): Fix word order thinko.
11268         (extendsftf2): New.
11269         (trunctfsf2): Avoid intermediate rounding errors.
11270
11271 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
11272
11273         * cppfiles.c (find_position): Drop 'colp' argument, return the
11274         new line base.
11275         (read_and_prescan): Adjust to match.  Don't ever manipulate
11276         line or line_base except via find_position.
11277
11278 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
11279
11280         * c-parse.in: Apply Ulrich's changes from c-parse.y.
11281         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
11282         Regenerate.
11283
11284 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
11285
11286         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
11287         just print "<command line>".  If 'filename' is null or an
11288         empty string, print "<stdin>" for the filename.
11289         * cpplib.c (do_define): Don't print the 'location of the
11290         previous definition' message if we're still parsing the
11291         command line.
11292         (cpp_pedwarn_with_file_and_line): Always call
11293         cpp_file_line_for_message.
11294
11295 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
11296
11297         * flow.c (mark_regs_live_at_end): Fix typo.
11298
11299 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
11300
11301         * c-common.c: Adjust variable names, comments, help strings to c99.
11302         * c-lex.c: Likewise.
11303         * c-parse.y: Likewise.
11304         * c-tree.h: Likewise.
11305         * cccp.c: Likewise.
11306         * cpplib.h: Likewise.
11307         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
11308         * cppinit.c: Likewise.
11309
11310 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11311
11312         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
11313         * c4x.c: Define the optab rtx values.
11314         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
11315         (c4x_emit_libcall): Use new optab rtx values.
11316         (c4x_emit_libcall3): Likewise.
11317         (c4x_emit_libcall_mulhi): Likewise.
11318         * c4x-protos.h: Add prototypes for optab rtx values and change
11319         prototypes for above c4x_emit_libcall functions.
11320
11321 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11322
11323         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
11324         syntax is used.
11325         (c4x_function_prologue): Use regnames intead of float_reg_names when
11326         TI syntax is used.
11327         (c4x_function_epilogue): Likewise.
11328         (c4x_print_operand): Likewise.
11329         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
11330         * c4x.md (set_high): Disable for TARGET_TI.
11331
11332 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11333
11334         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
11335         of framepointer + constant to ADDR_REGS class.
11336         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
11337         * c4x.c (std_or_reg_operand): New function.
11338         * c4x-protos.h (std_or_reg_operand): Prototype it.
11339
11340 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11341
11342         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
11343                 object names as libgcc2.c.
11344         * libgcc.S: Use newly defined names.
11345
11346 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
11347         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
11348         function.
11349         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
11350         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
11351         (FLOW_LOOP_LAST_BLOCK): Likewise.
11352
11353 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11354
11355         * basic-block.h (struct loop): New fields 'first' and 'last'.
11356         * flow.c (flow_loops_find): Compute loop->first and loop->last.
11357         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
11358         and loop->last to check for NOTE_INSN_LOOP_END.
11359
11360 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
11361
11362         * predict.c (estimate_probability): Use the new FIRST and LAST fields
11363         of the loop descriptor rather than HEADER and LATCH. Also added
11364         missing break statements as well making some coding style modifications
11365         as suggested by Michael Hayes.
11366
11367 2000-01-28  Richard Henderson  <rth@cygnus.com>
11368
11369         * flow.c (find_basic_blocks): Remove do_cleanup argument.
11370         Break out that code ...
11371         (cleanup_cfg): ... here.
11372         (commit_one_edge_insertion): Detect a return instruction being
11373         emitted to an edge.  Emit a barrier following; clear fallthru.
11374         (commit_edge_insertions): Verify CFG consistency.
11375         * function.c (expand_function_start): Kill unused variable.
11376         (expand_function_end): Likewise.
11377         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
11378         to insert the epilogue.
11379
11380         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
11381         (delete_null_pointer_checks): Likewise.
11382         * output.h: Likewise.
11383         * reg-stack.c (reg_to_stack): Likewise.
11384         * toplev.c (rest_of_compilation): Likewise.  Run
11385         thread_prologue_and_epilogue_insns after rebuilding the CFG.
11386
11387 2000-01-28  Richard Henderson  <rth@cygnus.com>
11388
11389         * Makefile.in (flow.o): Revert 24 Jan change.
11390         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
11391         FUNCTION_VALUE result to DECL_RESULT's mode.
11392
11393         * haifa-sched.c (schedule_insns): Don't recompute reg info
11394         after reload.
11395
11396 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
11397
11398         * configure.in: Make --enable-cpplib the default.
11399         * configure: Regenerate.
11400         * gcc.dg/990119-1.c: No longer expected to fail.
11401
11402 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
11403
11404         * jump.c (jump_optimize_1): Delete an optimization that is also done
11405         by merge_blocks in flow.
11406
11407 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11408
11409         * diagnostic.c (build_message_string, output_printf,
11410         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
11411         (build_location_prefix): Fix non-literal format string.
11412
11413 2000-01-27  Richard Henderson  <rth@cygnus.com>
11414
11415         * alpha.md (trunctfsf2): New.
11416
11417 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
11418
11419         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
11420
11421 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
11422
11423         * cppinit.c (cpp_handle_option): Recognize C++ comments under
11424         -std=gnu89.
11425         * cpplib.c (skip_block_comment, skip_line_comment): Split code
11426         out of...
11427         (skip_comment) ... here.  Permit C++ comments in system
11428         headers always.  Warn about C++ comments in user code under
11429         -std=gnu89 -pedantic.
11430         (copy_comment): Use skip_comment.
11431         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
11432         return EOF.
11433         (consider_directive_while_skipping, do_else, do_endif): Call
11434         validate_else unconditionally.
11435         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
11436         text after the conditional in a system header.
11437         * cpplib.h (struct cpp_buffer): Add flag
11438         warned_cplusplus_comments.
11439
11440 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
11441
11442         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
11443         Use unshare_all_rtl_1.
11444         (unshare_all_rtl_again): New function.
11445         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
11446
11447         * function.c (purge_addressof_1): Use unshare_all_rtl_again
11448         rather than resetting the 'used' flags ourself.
11449
11450         * toplev.c (rest_of_compilation): Add current_function_decl
11451         to the unshare_all_rtl call.
11452         * tree.h: Prototype unshare_all_rtl.
11453         * rtl.h: Prototype unshare_all_rtl_again here.
11454
11455 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
11456
11457         * genoutput.c (output_prologue): Include ggc.h in generated
11458         files.
11459         * Makefile.in (insn-output.o): Depends on ggc.h.
11460
11461 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
11462             Hans-Peter Nilsson  <hp@bitrange.com>
11463
11464         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
11465         Remove redundant include of xm-ns32k.h.
11466         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
11467         Remove redundant include of xm-ns32k.h.
11468         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
11469         Remove redundant include of xm-ns32k.h.
11470         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
11471
11472         * ns32k/ns32k.h: Update comment on multiply-add instructions.
11473         (TARGET_SWITCHES): Add documentation strings.
11474         (DWARF_FRAME_REGNUM): Override default definition.
11475         (REG_CLASS_CONTENTS): Add comments.
11476         (SUBSET_P): Format to reduce line length.
11477         (SMALL_REGISTER_CLASSES): Make a run time option.
11478         (GO_IF_NONINDEXED_ADDRESS): Reformat.
11479         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
11480         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
11481         (regclass_map): fix typo in comment.
11482         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
11483         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
11484         (trace, reg_or_mem_operand): Delete, unused function.
11485         (calc_address_cost): Small offsets are cheaper than large ones.
11486         (expand_block_move): Generate more efficient code when bytes is a
11487         known at compile time.
11488         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
11489         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
11490         instead of reg_or_mem_operand.
11491
11492         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
11493         not general_operand.  Similarly use "=rm" or stricter, not "=g".
11494         For input operands, use stricter constraints than "g" if not
11495         general_operand.  Similarly use stricter predicate than
11496         "general_operand" when stricter constraints than "g" are present,
11497         except for matching constraints.
11498         (movstrsi): Use "memory_operand" for operands 0 and 1.
11499         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
11500         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
11501         not reg_or_mem_operand.
11502         (udivmoddisi4): Ditto.
11503         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
11504         Use nonimmediate_operand for operand 3, not register_operand.
11505         (udivmoddiqi4_internal): Use register_operand for operand 1, not
11506         reg_or_mem_operand.
11507
11508 2000-01-27  Fred Fish  <fnf@be.com>
11509
11510         * gthr-posix.h: Fix typo; compatibily -> compatibility.
11511         * gthr-single.h: Likewise.
11512         * gthr-solaris.h: Likewise.
11513         * gthr-vxworks.h: Likewise.
11514         * gthr-win32.h: Likewise.
11515         * gthr.h: Likewise.
11516
11517 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
11518
11519         * cppinit.c: Add " (cpplib)" to end of string printed by
11520         -v / --version.
11521
11522 2000-01-27  Richard Henderson  <rth@cygnus.com>
11523
11524         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
11525         testing for a signed comparison.
11526         (alpha_emit_floatuns): New.
11527         * alpha-protos.h: Declare it.
11528         * alpha.md (floatunsdisf2, floatunsdidf2): New.
11529         (extendsfdf2): Tidy.
11530
11531 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
11532
11533         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
11534         no -g option specifying debugging format, default to -gstabs+.
11535
11536 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
11537
11538         * calls.c (special_function_p): New argument fork_or_exec.
11539         (expand_call): When profile_arc_flag is set and the function
11540         is in the fork_or_exec group, call __bb_fork_func first.
11541         * libgcc2.c, _bb module (__bb_fork_func): New function.
11542         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
11543         output file.
11544         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
11545         * tree.h (special_function_p): Update prototype.
11546
11547 2000-01-26  Richard Henderson  <rth@cygnus.com>
11548
11549         * alpha.c (alpha_split_tfmode_pair): New.
11550         * alpha-protos.h: Declare it.
11551         * alpha.md (abstf2, negtf2): New.
11552         (movtf insn): Add input G constraint.
11553         (movtf splitter): Use alpha_split_tfmode_pair.
11554
11555 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11556
11557         * i386/cygwin.h: PROTO -> PARAMS.
11558
11559 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
11560
11561         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
11562         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
11563         using _Qp_cmp/_Q_cmp and testing the return value.
11564         (print_operand): Call reverse_condition_maybe_unordered if
11565         we are handling CCFPmode or CCFPEmode.
11566         Handle ORDERED, UN* and LTGT comparisons.
11567         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
11568         if not TARGET_HARD_QUAD.
11569         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
11570         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
11571         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
11572         Adjust gen_b* calls so that they reflect return comparison of
11573         sparc_emit_float_lib_cmp.
11574
11575 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11576
11577         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
11578         incoming operands array is large enough for one more operand.
11579         (alpha_emit_xfloating_arith): Likewise.
11580
11581 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11582
11583         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
11584         file with one line and no trailing newline.
11585         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
11586         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
11587         checking if the match is on the line.
11588         * fixinc/gnu-regex.c: Provide regerror not __regerror.
11589
11590 2000-01-25  Richard Henderson  <rth@cygnus.com>
11591
11592         * sparc.c (output_cbranch): Fix accidental squashing of the
11593         fp branch pre-delay nop.
11594
11595 2000-01-25  Richard Henderson  <rth@cygnus.com>
11596
11597         * tree.def (UNNE_EXPR): Remove.
11598         * c-typeck.c (build_binary_op): Don't handle it.
11599         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
11600
11601         * rtl.def (UNNE): Remove.
11602         (LTGT): Add.
11603         * jump.c (reverse_condition): Update accordingly.
11604         (swap_condition): Likewise.
11605         (comparison_dominates_p): Handle unordered comparisons.
11606         (reverse_condition_maybe_unordered): New.
11607         * rtl.h (reverse_condition_maybe_unordered): Declare.
11608
11609         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
11610         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
11611         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
11612         * sparc.md (bltgt): New.
11613
11614 2000-01-25  Nick Clifton  <nickc@redhat.com>
11615
11616         * emit-rtl.c (emit_insn): Only check machine class insns for
11617         improper emission of a RETURN.
11618
11619 2000-01-25  Richard Henderson  <rth@cygnus.com>
11620
11621         * Makefile.in (flow.o): Depend on $(EXPR_H).
11622         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
11623         duplicate the structure of diddle_return_value for keeping regs live.
11624
11625 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11626
11627         * loop.c (current_loop_info): Delete.
11628         (consec_sets_invariant_p): Add loop argument, update callers.
11629         (get_condition_for_loop): Likewise.
11630         (count_nonfixed_reads, update_giv_derive): Likewise.
11631         (simplify_giv_expr, general_induction_var): Likewise.
11632         (consec_sets_giv, recombine_givs): Likewise.
11633         (move_movables): Delete loop_start and loop_end arguments,
11634         add loop argument, and update callers.
11635         (find_mem_givs, check_final_value): Likewise.
11636         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
11637         (loop_invariant_p): Rename from invariant_p, add loop argument, and
11638         update callers.
11639         (basic_induction_var): Add loop argument, delete loop_level argument,
11640         and update callers.
11641         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
11642         add loop argument, and update callers.
11643         (find_splittable_regs, find_splittable_givs): Likewise.
11644         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
11645         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
11646         (biv_total_increment): Delete loop_start and loop_end arguments;
11647         update callers.
11648         (precondition_loop_p): Delete loop_start and loop_info arguments;
11649         update callers.
11650         * loop.h (get_condition_for_loop): Add loop argument.
11651         (biv_total_increment): Delete loop_start and loop_end arguments.
11652         (precondition_loop_p): Delete loop_start and loop_info arguments;
11653         add loop argument.
11654         (final_biv_value): Delete loop_start and loop_end arguments;
11655         add loop argument.
11656         (final_giv_value, back_branch_in_range_p): Likewise.
11657
11658 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11659
11660         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
11661
11662 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
11663
11664         * Makefile.in (c-gperf.h) : Change the "See" pointer to
11665         point to the new "generated_files" doc.
11666
11667 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11668
11669         * config/fp-bit.c (_unord_f2): Fix typo.
11670
11671 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11672
11673         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
11674         c-typeck.c, objc/objc-act.c: Remove all references to obstack
11675         functions obsoleted by GC, such as push_obstacks_nochange,
11676         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
11677         and code which existed only to decide whether or not to call
11678         them.  Remove now-unused NESTED argument from start_function;
11679         all callers changed.  Do not change behavior based on ggc_p.
11680         The use of the ixp_obstack in c-iterate.c and the util_obstack
11681         in objc/objc-act.c remain; these are not obsoleted by garbage
11682         collection.
11683         * c-tree.h: Update prototype for start_function.
11684
11685         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
11686
11687 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
11688
11689         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
11690         mips16.
11691
11692 2000-01-25  Richard Henderson  <rth@cygnus.com>
11693
11694         * sparc-protos.h (select_cc_mode): Declare.
11695         * sparc.c (select_cc_mode): New.  Handle unordered compares.
11696         (output_cbranch): Always reverse via code change.  Handle
11697         unordered compares.  Factor tests and string updates.
11698         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
11699         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
11700         * sparc.md (bunordered, bordered): New.
11701         (bungt, bunlt, buneq, bunge, bunle): New.
11702
11703 2000-01-25  Richard Henderson  <rth@cygnus.com>
11704
11705         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
11706         * ggc-common.c (ggc_add_rtx_varray_root): New.
11707         (ggc_mark_rtx_varray): New.
11708         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
11709         functions down below ggc_mark_foo.
11710         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
11711
11712 2000-01-25  Richard Henderson  <rth@cygnus.com>
11713
11714         * alpha.c (secondary_reload_class): Don't allocate a secondary
11715         for integral mode memories into FLOAT_REGS.  Rearrange the more
11716         complicated memory expression inward.
11717
11718 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
11719
11720         * inclhack.def: Fixes to play nicer with FreeBSD, and
11721         corrections to comments.
11722         (cxx_unready): Add select expression.
11723         (irix_sockaddr): Add bypass expression.
11724         (machine_ansi_h_va_list): New fix.
11725         (stdio_va_list): No need to edit _BSD_VA_LIST_.
11726         Split out addition of "#include <stdarg.h>" to...
11727         (stdio_stdarg_h): ... here.
11728         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
11729         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
11730         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
11731         size_t.
11732         (ultrix_ifdef): Tighten up select expression.
11733
11734         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
11735         re_ct and max_mach to avoid use of shell.  Make printed names
11736         match names in inclhack.def.  Use static copyright date.
11737         Don't count c_test and test expressions as requiring regex_t
11738         slots.  Add some commentary.
11739         * inclhack.tpl: Do not include the 'This script contains N
11740         fixup scripts' line if PROGRAM is defined.  Use static
11741         copyright date.
11742
11743 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
11744
11745         * dwarf2out.c: include "varray.h", not dyn-string.h.
11746         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
11747         (addr_const_to_string, addr_to_string): Lose.
11748         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
11749         (struct dw_val_struct): val_addr is now an rtx.
11750         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
11751         (used_rtx_varray): New varray.
11752         (dwarf2out_init): Initialize it.
11753         (save_rtx): New fn.
11754         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
11755         addr_to_string.
11756         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
11757         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
11758         * Makefile.in (dwarf2out.o): Update dependencies.
11759
11760 2000-01-24  Richard Henderson  <rth@cygnus.com>
11761
11762         * i386.c (i386_dwarf_output_addr_const): New.
11763         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
11764
11765         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
11766         if defined.
11767         * dwarfout.c (output_mem_loc_descriptor): Likewise.
11768         * i386.c (i386_simplify_dwarf_addr): New.
11769         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
11770
11771 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
11772
11773         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
11774         TYPE_STUB_DECL is NULL.
11775
11776 2000-01-24  Richard Henderson  <rth@cygnus.com>
11777
11778         * builtins.c (expand_tree_builtin): Move ...
11779         * c-common.c (expand_tree_builtin): ... here.
11780
11781 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11782
11783         * loop.h (LOOP_INFO): New accessor macro.
11784         * basic-block.h (struct loop): Rename field `info' to `aux'.
11785         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
11786         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
11787         * unroll.c (loop_iterations, unroll_loop): Likewise.
11788
11789 2000-01-24  Christopher Faylor <cgf@cygnus.com>
11790
11791         * config/i386/t-cygwin: Accomodate new winsup directory layout
11792         when searching for include files.
11793
11794 2000-01-24  Richard Henderson  <rth@cygnus.com>
11795
11796         * rtl.def: Add unordered fp comparisions.
11797         * tree.def: Likewise.
11798         * tree.h: Add ISO C 9x unordered fp comparision builtins.
11799
11800         * builtins.c (expand_tree_builtin): New function.
11801         * c-typeck.c (build_function_call): Use it.
11802         (build_binary_op): Support unordered compares.
11803         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
11804
11805         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
11806         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
11807         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
11808         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
11809         * jump.c (reverse_condition): Don't abort for UNLE etc, but
11810         return UNKNOWN.
11811         (swap_condition): Handle unordered compares.
11812         (thread_jumps): Check can_reverse before reversing.
11813         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
11814         reversed for FP.
11815
11816         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
11817         setcc is present before acking for cmp_optab.  Update all callers.
11818         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
11819         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
11820         * expr.c (expand_expr): Likewise.  Support unordered compares.
11821         (do_jump, do_store_flag): Likewise.
11822         * expr.h (enum libfunc_index): Add unordered compares.
11823
11824         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
11825         (DPBIT_FUNCS): Add _unord_df.
11826         * config/fp-bit.c (_unord_f2): New.
11827         * fp-test.c (main): Try unordered compare builtins.
11828
11829         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
11830         * alpha.c (alpha_comparison_operator): Check mode properly.
11831         (alpha_swapped_comparison_operator): Likewise.
11832         (signed_comparison_operator): Likewise.
11833         (alpha_fp_comparison_operator): New.
11834         (alpha_emit_conditional_branch): Handle unordered compares.
11835         * alpha.h (PREDICATE_CODES): Update.
11836         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
11837         (bunordered, bordered): New.
11838
11839 2000-01-24  Richard Henderson  <rth@cygnus.com>
11840
11841         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
11842         * alpha.md (movtf): New expander, insn, and splitter.
11843
11844 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
11845
11846         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11847         dead registers.
11848
11849 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
11850
11851         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
11852         (FIXED_REGISTERS, CALL_USED_REGISTERS,
11853          REG_ALLOC_ORDER): Add frame pointer
11854         (FRAME_POINTER_REGNUM): Set to 20
11855         (HARD_FRAME_POINTER_REGNUM): New macro.
11856         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
11857         to HARD_FRAME_POINTER.
11858         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
11859         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
11860         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
11861         (HI_REGISTER_NAMES): Add "frame".
11862         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
11863         (debug_reg): Handle FRAME_POINTER_REGNUM.
11864         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
11865         GENERAL_REGS and INDEX_REGS.
11866         * i386.c (SAVED_REGS_FIRST): new macro.
11867         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
11868         (ix86_decompose_address, memory_address_length): Likewise.
11869         (regclass_map): Add frame pointer.
11870         (call_insn_operand): Handle frame_pointer_rtx.
11871         (reg_no_sp_operand): Likewise.
11872         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
11873         (print_operand, legitimize_pic_address): Fix formating.
11874         (ix86_compute_frame_size): Make static, update prototype, new
11875         parameters padding1, padding2, use ix86_nsaved_regs, use
11876         stack_alignment_needed.
11877         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
11878         to HARD_FRAME_POINTER_REGNUM conversions.
11879         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
11880         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
11881         (print_reg): Abort on FRAME_POINTER_REGNUM
11882
11883 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
11884
11885         * i386.h (PREDICATE_CODES): Add aligned_operand.
11886         * i386.c (aligned_operand): New function.
11887         (ix86_aligned_p): Kill.
11888         * i386.md (movhi_1): Emit mov for aligned operands.
11889         (promoting peep2s): Use aligned_operand.
11890
11891 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
11892
11893         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
11894         expression to allow underscores in macro names.
11895         (fix_char_macro_defines): Increment scanning pointer.
11896
11897 2000-01-23  Richard Henderson  <rth@cygnus.com>
11898
11899         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
11900         * alpha/osf5.h: New file.
11901         * configure.in (alpha-*-osf5): Add it to tm_file.
11902
11903         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
11904
11905         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
11906         (alpha_emit_xfloating_cvt, function_arg): Declare.
11907         * alpha.c (alpha_emit_conditional_branch): Call
11908         alpha_emit_xfloating_compare for TFmode compares.
11909         (alpha_lookup_xfloating_lib_func): New.
11910         (alpha_compute_xfloating_mode_arg): New.
11911         (alpha_emit_xfloating_libcall): New.
11912         (alpha_emit_xfloating_arith): New.
11913         (alpha_emit_xfloating_compare): New.
11914         (alpha_emit_xfloating_cvt): New.
11915         (print_operand): Add default abort case.
11916         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
11917         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
11918         (BIGGEST_ALIGNMENT): Increase to 128 bits.
11919         (RETURN_IN_MEMORY): True for TF/TCmode.
11920         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
11921         (FUNCTION_ARG): Move to function_arg.
11922         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
11923         (ASM_OUTPUT_LONG_DOUBLE): New.
11924         (ASM_OUTPUT_DOUBLE): Always output bits.
11925         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
11926         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
11927         (extenddftf2, trunctfdf2): New.
11928
11929 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11930
11931         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
11932         * config/sparc/sol2.h: ... here.
11933
11934 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11935
11936         * basic-block.h (struct loops): New field `levels'.
11937         * flow.c (flow_loops_level_compute): Traverse all outer loops.
11938         (flow_loop_level_compute): Initialise level to 1.
11939         (flow_loops_find): Set loops->levels.
11940         (flow_loops_dump): Print loops->levels.
11941
11942 2000-01-23  Richard Henderson  <rth@cygnus.com>
11943
11944         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
11945         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
11946
11947 2000-01-23  Richard Henderson  <rth@cygnus.com>
11948
11949         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
11950         * i386.h (DBX_REGISTER_NUMBER): Use them.
11951         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
11952         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
11953         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
11954         * i386/sequent.h: Kill incorrect comment.
11955
11956 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
11957
11958         * ggc-page.c (struct page_entry): Make `context_depth' an
11959         `unsigned short'.
11960         (struct globals): Likewise.
11961
11962 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
11963
11964         * loop.c (check_dbra_loop): When checking a loop for
11965         reversability, check the source of any stores to ensure
11966         they don't depend on an initial value.
11967
11968 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11969
11970         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
11971
11972 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
11973
11974         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
11975         'pz_scan' into scope of entire function.  Only affects
11976         compiles with -DDEBUG.
11977
11978 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
11979
11980         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
11981         section naming to that prior to 2000-01-07 patch.
11982         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
11983         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
11984         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
11985         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
11986         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
11987
11988 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
11989
11990         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
11991         constant.
11992
11993 2000-01-21  Jim Wilson  <wilson@cygnus.com>
11994
11995         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
11996         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
11997
11998 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
11999
12000         * cpphash.c (change_newlines): Delete function.
12001         (struct argdata): Delete 'newlines' and 'use_count' fields.
12002         (macroexpand): Remove code referencing those fields.
12003
12004 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12005
12006         * loop.c (loops_info): New variable.
12007         (loop_optimize): Allocate loops->array and free it on exit.
12008         Allocate memory for loops_info and assign to each loop,
12009         replacing alloca.
12010         (find_and_verify_loops): Do not allocate loops->array.
12011
12012 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
12013
12014         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
12015
12016 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
12017
12018         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
12019         pseudos if expanded after first flow.
12020         (movdi_pic_label_ref): Likewise.
12021
12022 2000-01-20  Richard Henderson  <rth@cygnus.com>
12023
12024         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
12025
12026 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
12027
12028         * Makefile.in (fixinc.sh): Depend on specs.
12029         * fixinc/Makefile.in: Add rule to create machname.h.
12030         (fixlib.o): Depend on machname.h.
12031         * fixinc/fixtests.c (machine_name): New test.
12032         * fixinc/fixfixes.c (machine_name): New fix.
12033         * fixinc/fixlib.c (mn_get_regexps): New helper function for
12034         the machine_name test and fix.
12035         * fixinc/fixlib.h: Prototype it.
12036         * fixinc/inclhack.def (machine_name): Use the C test and fix.
12037         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
12038
12039         * gcc.c (do_spec_1) [case P]: Take care not to create
12040         identifiers with three leading or trailing underscores.
12041
12042         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
12043         (fixincl): Don't specify libraries twice on link line.
12044         (gnu-regex.o): Remove special rule.
12045         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
12046         defined by config.h.  Do not define _REGEX_RE_COMP.
12047         (regcomp): Allocate and initialize a fastmap.
12048         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
12049
12050 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
12051
12052         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
12053
12054 2000-01-19  Richard Henderson  <rth@cygnus.com>
12055
12056         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
12057         arguments with BB.  Update all callers.  Tidy line wrapping.
12058
12059 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
12060
12061         * emit-rtl.c (try_split): Return last_insn if we split the
12062         last_insn.
12063
12064 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
12065
12066         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
12067         (ix86_initial_elimination_offset): Declare.
12068         * i386.c (ix86_nsaved_regs): Break out from ...
12069         (ix86_can_use_return_insn_p): ... here.
12070         (ix86_emit_save_regs): Break out from ...
12071         (ix86_expand_prologue): ... here.
12072         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
12073         out from ...
12074         (ix86_expand_epilogue): ... here.
12075         (ix86_compute_frame_size): Make static, add prototype.
12076         (ix86_initial_elimination_offset): Break out from ...
12077         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
12078
12079 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12080
12081         * recog.h (OUT_FCN): Delete.
12082
12083         * vax.md: Call `get_insn_template' instead of OUT_FCN.
12084
12085 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12086
12087         * cppalloc.c: PROTO -> PARAMS.
12088         * cpperror.c: Likewise.
12089         * cppfiles.c: Likewise.
12090         * cpplib.c: Likewise.
12091         * cpplib.h: Likewise.
12092
12093         * config/arm/arm-protos.h: PROTO -> PARAMS.
12094         * config/arm/arm.c: Likewise.
12095         * config/c4x/c4x.c: Likewise.
12096         * config/fr30/fr30-protos.h: Likewise.
12097         * config/nextstep.c: Likewise.
12098         * config/pa/pa.c: Likewise.
12099         * config/pj/pj.c: Likewise.
12100         * config/rs6000/rs6000.c: Likewise.
12101         * config/v850/v850-protos.h: Likewise.
12102         * config/v850/v850.c: Likewise.
12103
12104 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12105
12106         * i370-protos.h: New file.
12107
12108         * i370.c: Include tm_p.h.  Fix compile time warnings.
12109
12110         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
12111         warnings.
12112
12113         * i370.md: Likewise.
12114
12115 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12116
12117         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
12118         (target_isinf, target_isnan, eisnan): Mark parameter with
12119         ATTRIBUTE_UNUSED.
12120         (eiisinf): Wrap in INFINITY.
12121         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
12122         (ibmtoe): Remove unused variable `rndsav'.
12123
12124 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12125
12126         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
12127         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
12128
12129 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
12130
12131         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
12132         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
12133         (fix_char_macro_defines, fix_char_macro_uses): New functions.
12134
12135         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
12136         Recognize Emacs mode markers also.
12137         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
12138         C++ comments in C++ headers.  Call is_cxx_header only if
12139         necessary.
12140
12141         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
12142         bypass for ncurses.
12143         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
12144         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
12145         ... these, which use the new C fixes.
12146         (math_exception): Escape literal '+' in bypass expression.
12147
12148         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
12149         Regenerate.
12150
12151 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
12152
12153         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
12154         inside the MEM.
12155
12156 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12157
12158         * loop.c (loop_optimize): Allocate loop_info structure for each loop
12159         prior to calling scan_loop.
12160
12161 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12162
12163         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
12164         (split_branches, calc_live_regs): Likewise.
12165
12166 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12167
12168         * sh.md (fpu_single, fp_mode): New attributes.
12169
12170 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12171
12172         * loop.c (current_loop_info): Renamed from loop_info_data
12173         and changed to a pointer.
12174         (loop_optimize): Allocate loop_info structure for each loop
12175         and initialise to zero.
12176         (scan_loop): Set current_loop_info.
12177
12178         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
12179         on iteration_var.
12180
12181 2000-01-19  Richard Henderson  <rth@cygnus.com>
12182
12183         * stupid.c: Die die die.
12184         * Makefile.in (OBJS): Remove stupid.o.
12185         (stupid.o): Likewise.
12186
12187         * except.c (emit_eh_context): Don't emit USEs for stupid.
12188         * explow.c (probe_stack_range): Likewise.
12189         * flags.h (obey_regdecls): Remove.
12190         * flow.c (find_basic_blocks): Don't run try_merge_blocks
12191         when not optimizing.
12192         (life_analysis): Limit data collection when not optimizing.
12193         (mark_regs_live_at_end): Always mark the return value registers.
12194         (mark_used_regs): Remove dummy RETURN case.
12195         (print_rtl_with_bb): Don't consult obey_regdecls.
12196         * function.c (use_variable, use_variable_after): Remove.
12197         (assign_parms): Consult optimize not obey_regdecls.
12198         (expand_function_start): Don't emit USEs for stupid.
12199         (expand_function_end): Likewise.
12200         * global.c (build_insn_chain): Export.
12201         * integrate.c (expand_inline_function): Kill return-value USE
12202         handling code.
12203         * jump.c (jump_optimize_1): Do simple jump optimizations and
12204         dead code elimination.
12205         (calculate_can_reach_end): Remove check_deleted argument.
12206         (delete_insn): Patch out insns even when not optimizing.
12207         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
12208         * rtl.h (use_variable, use_variable_after): Remove declarations.
12209         (build_insn_chain): Declare.
12210         * stmt.c (expand_value_return): Don't emit USEs for stupid.
12211         (expand_end_bindings): Likewise.
12212         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
12213         * toplev.c (obey_regdecls): Remove.
12214         (rest_of_compilation): Don't set it.  Kill stupid in favour of
12215         flow1, local-alloc, and reload.
12216         (main): Don't set obey_regdecls.
12217
12218         * config/nextstep.c (handle_pragma): Likewise.
12219
12220         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
12221
12222         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
12223
12224 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12225
12226         * alpha-protos.h: PROTO -> PARAMS.
12227         * alpha.c: Likewise.
12228         * elf.h: Likewise.
12229         * h8300.c: Likewise.
12230         * i386-protos.h: Likewise.
12231         * i386.c: Likewise.
12232         * m32r-protos.h: Likewise.
12233         * m32r.c: Likewise.
12234         * mips.c: Likewise.
12235         * mips.md: Likewise.
12236         * gmon-sol2.c: Likewise.
12237         * sparc.c: Likewise.
12238
12239 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12240
12241         * ns32k-protos.h: New file.
12242
12243         * ns32k.c: Fix compile time warnings.
12244
12245         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
12246         warnings.
12247
12248         * ns32k.md: Likewise.
12249
12250 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12251
12252         * vax-protos.h: New file.
12253
12254         * vax.c: Fix compile time warnings.
12255
12256         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
12257         warnings.
12258
12259         * vax.md: Likewise.
12260
12261         * vaxv.md: Likewise.
12262
12263 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12264
12265         * romp-protos.h: New file.
12266
12267         * romp.c: Fix compile time warnings.
12268
12269         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
12270         warnings.
12271
12272         * romp.md: Likewise.
12273
12274 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12275
12276         * we32k-protos.h: New file.
12277
12278         * we32k.c: Fix compile time warnings.
12279
12280         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
12281         warnings.
12282
12283 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12284
12285         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
12286
12287         * except.c (eh_regs): Likewise.
12288
12289         * final.c (output_operand): Likewise.
12290
12291         * fold-const.c (target_isinf, target_isnan): Likewise.
12292
12293 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12294
12295         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
12296         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
12297
12298         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
12299         when optimize_size.
12300         (clrstrsi): Rewrite.
12301         (strsethi, strsetqi): New expanders.
12302         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
12303         (cmpstrsi): Emit compare insn before cmpstrsi_1
12304         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
12305         (strlensi_1): Likewise.
12306         (cmpstrsi_1): Likewise; do not output compare.
12307         (strlen expander): Do not unroll when optimizing for size.
12308         (*subsi3_carry): Rename to subsi3_carry
12309         (addqi3_cc): New pattern.
12310         * i386.h (processor_costs): Add move_ratio field.
12311         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
12312         * i386.c (*_cost): Set move_ratio.
12313         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
12314         (x86_expand_strlensi_1): Rewrite the main loop.
12315
12316 2000-01-17  Richard Henderson  <rth@cygnus.com>
12317
12318         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
12319         * cse.c (find_comparison_args, fold_rtx): Likewise.
12320         * integrate.c (subst_constants): Likewise.
12321         * loop.c (get_condition): Likewise.
12322
12323         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
12324
12325         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
12326
12327 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12328
12329         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
12330         (RESTORE_WARN_FLAGS): Unpack it.
12331         Change semantic type of extension to ttype.
12332         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
12333         * c-parse.y, c-parse.c, objc/objc-parse.y,
12334         objc/objc-parse.c: Regenerate.
12335
12336 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
12337
12338         * fixinc/fixlib.c: Add copyright notice.
12339         (compile_re): New function.
12340         * fixinc/fixlib.h: Prototype compile_re.
12341
12342         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
12343         Use compile_re to compile regular expressions.
12344
12345         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
12346         where the pattern matched.
12347
12348         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
12349         use 'replace'.
12350         (ultrix_ansi_compat): Likewise.
12351         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
12352         add egrep test.
12353         (interactv_add2, interactv_add3): Delete.
12354         (x11_sprintf): Don't use filename glob.
12355         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
12356         Regenerate.
12357
12358 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12359
12360         * print-rtl.c: PROTO -> PARAMS.
12361         * real.c: Likewise.
12362         * reg-stack.c: Likewise.
12363         * resource.c: Likewise.
12364         * sdbout.h: Likewise.
12365         * simplify-rtx.c: Likewise.
12366         * stor-layout.c: Likewise.
12367         * stupid.c: Likewise.
12368         * xcoffout.c: Likewise.
12369         * xcoffout.h: Likewise.
12370
12371 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12372
12373         * toplev.c: PROTO -> PARAMS.
12374         * toplev.h: Likewise.
12375         * tree.c: Likewise.
12376         * tree.h: Likewise.
12377         * unroll.c: Likewise.
12378         * varasm.c: Likewise.
12379         * varray.c: Likewise.
12380         * varray.h: Likewise.
12381
12382 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12383
12384         * reload.c: PROTO -> PARAMS.
12385         * reload.h: Likewise.
12386         * reload1.c: Likewise.
12387         * reorg.c: Likewise.
12388         * resource.h: Likewise.
12389         * rtl.c: Likewise.
12390         * rtl.h: Likewise.
12391         * rtlanal.c: Likewise.
12392         * sbitmap.h: Likewise.
12393         * sdbout.c: Likewise.
12394         * stack.h: Likewise.
12395         * stmt.c: Likewise.
12396         * system.h: Likewise.
12397
12398 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12399
12400         * machmode.h: PROTO -> PARAMS.
12401         * mbchar.h: Likewise.
12402         * mips-tdump.c: Likewise.
12403         * mips-tfile.c: Likewise.
12404         * optabs.c: Likewise.
12405         * output.h: Likewise.
12406         * prefix.c: Likewise.
12407         * profile.c: Likewise.
12408         * protoize.c: Likewise.
12409         * real.h: Likewise.
12410         * recog.c: Likewise.
12411         * recog.h: Likewise.
12412         * regclass.c: Likewise.
12413         * regmove.c: Likewise.
12414         * regs.h: Likewise.
12415
12416 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12417
12418         * ggc-common.c: PROTO -> PARAMS.
12419         * ggc-page.c: Likewise.
12420         * ggc-simple.c: Likewise.
12421         * ggc.h: Likewise.
12422         * global.c: Likewise.
12423         * graph.c: Likewise.
12424         * gthr-win32.h: Likewise.
12425         * haifa-sched.c: Likewise.
12426         * halfpic.h: Likewise.
12427         * integrate.c: Likewise.
12428         * integrate.h: Likewise.
12429         * jump.c: Likewise.
12430         * lcm.c: Likewise.
12431         * local-alloc.c: Likewise.
12432         * loop.c: Likewise.
12433         * loop.h: Likewise.
12434
12435 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12436
12437         * genattr.c: PROTO -> PARAMS.
12438         * genattrtab.c: Likewise.
12439         * gencheck.c: Likewise.
12440         * gencodes.c: Likewise.
12441         * genconfig.c: Likewise.
12442         * genemit.c: Likewise.
12443         * genextract.c: Likewise.
12444         * genflags.c: Likewise.
12445         * gengenrtl.c: Likewise.
12446         * genopinit.c: Likewise.
12447         * genoutput.c: Likewise.
12448         * genpeep.c: Likewise.
12449         * genrecog.c: Likewise.
12450
12451 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
12452
12453         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
12454
12455 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12456
12457         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
12458         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
12459         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
12460         * configure, config.in: Rebuilt.
12461
12462 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
12463
12464         * config/i386/i386.md: Add peephole to merge successive stack
12465         adjusts.
12466
12467 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
12468
12469         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
12470         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
12471         when walking backwards to find all the parameter loads when
12472         the basic block ends in a call.
12473
12474 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12475
12476         * loop.c (this_loop_info): Delete.
12477         (uid_loop): Add in place of uid_loop_num.  All uses updated.
12478         (loop_number_exit_count): Delete and replace with entry in loop
12479         structure.  All uses updated.
12480         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12481         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12482         (loop_outer_loop): Likewise.
12483         (loop_invalid, loop_number_exit_labels): Likewise.
12484         (loop_used_count_register): Delete and replace with entry in
12485         loop_info structure.
12486         (find_and_verify_loops): Add loops argument.
12487         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
12488         loop_end, etc. arguments with loop structure pointer.  All callers
12489         changed.
12490         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
12491         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
12492         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
12493         (insert_bct): Likewise.
12494         (basic_induction_var): New argument level.
12495         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
12496         vtop, and cont.  Add used_count_register.
12497         (uid_loop): Delete declaration.
12498         (loop_number_exit_count): Likewise.
12499         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12500         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12501         (loop_outer_loop, loop_used_count_register): Likewise.
12502         (loop_invalid, loop_number_exit_labels): Likewise.
12503         (unroll_loop): Replace loop_start and loop_end arguments
12504         with loop structure pointer.
12505         (loop_precondition_p, loop_iterations): Likewise.
12506         Include basic-block.h.
12507         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
12508         with loop structure pointer.
12509         (loop_precondition_p, loop_iterations): Likewise.
12510         * basic-block.h (struct loop): New entries vtop, cont,
12511         cont_dominator, start, end, top, scan_start, exit_labels,
12512         exit_count.
12513         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
12514
12515 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12516
12517         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
12518
12519 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
12520
12521         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
12522
12523 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12524
12525         * pdp11-protos.h: New file.
12526
12527         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
12528         time warnings.
12529
12530         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
12531         warnings.
12532
12533         * pdp11.md: Likewise.
12534
12535         * 2bsd.h: Likewise.
12536
12537 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12538
12539         * mn10300-protos.h: New file.
12540
12541         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12542         time warnings.
12543
12544         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
12545         warnings.
12546
12547         * mn10300.md: Likewise.
12548
12549 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12550
12551         * mn10200-protos.h: New file.
12552
12553         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
12554         time warnings.
12555
12556         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
12557         warnings.
12558
12559         * mn10200.md: Likewise.
12560
12561 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12562
12563         * h8300-protos.h: New file.
12564
12565         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
12566         time warnings.
12567
12568         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
12569         warnings.
12570
12571         * h8300.md: Likewise.
12572
12573 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12574
12575         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
12576         (asm_emit_uninitialised): Likewise.
12577
12578 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
12579
12580         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
12581         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
12582
12583 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12584
12585         * config/mips/mips.c (override_options): Don't turn on extra
12586         alignment for mips16.
12587
12588 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12589
12590         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
12591         eabi, and make sure queued POSTINCREMENT rtl is emitted at
12592         the right point.
12593
12594 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12595
12596         * builtins.c (PAD_VARARGS_DOWN): Define.
12597         (std_expand_builtin_va_arg): Use the above macro.
12598         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
12599         * tm.texi (Register Arguments): Document the above macro.
12600
12601 2000-01-14  Nick Clifton  <nickc@cygnus.com>
12602
12603         * emit-rtl.c (emit_insn): If checking is enabled, make sure
12604         that this function has not been used to emit a jump
12605         instruction.
12606
12607         * jump.c (return_jump_1): Cope with being passed a null rtx.
12608
12609 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12610
12611         * eh-common.h: PROTO -> PARAMS.
12612         * emit-rtl.c: Likewise.
12613         * errors.c: Likewise.
12614         * errors.h: Likewise.
12615         * except.c: Likewise.
12616         * except.h: Likewise.
12617         * explow.c: Likewise.
12618         * expmed.c: Likewise.
12619         * expr.c: Likewise.
12620         * expr.h: Likewise.
12621         * final.c: Likewise.
12622         * fix-header.c: Likewise.
12623         * flow.c: Likewise.
12624         * fold-const.c: Likewise.
12625         * function.c: Likewise.
12626         * function.h: Likewise.
12627         * gcc.c: Likewise.
12628         * gcov-io.h: Likewise.
12629         * gcov.c: Likewise.
12630         * gcse.c: Likewise.
12631
12632 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12633
12634         * sh-protos.h: New file.
12635
12636         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
12637         Add static prototypes.  Fix compile time warnings.
12638
12639         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
12640         * sh.md: Likewise.
12641         * elf.h: Likewise.
12642
12643 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12644
12645         * arc-protos.h: New file.
12646
12647         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
12648         time warnings.
12649
12650         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
12651         warnings.
12652
12653         * arc.md: Likewise.
12654
12655 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12656
12657         * dsp16xx-protos.h: New file.
12658
12659         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
12660         time warnings.
12661
12662         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
12663         warnings.
12664
12665         * dsp16xx.md: Likewise.
12666
12667 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12668
12669         * convex-protos.h: New file.
12670
12671         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
12672         time warnings.
12673
12674         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
12675         warnings.
12676
12677 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12678
12679         * elxsi-protos.h: New file.
12680
12681         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
12682         time warnings.
12683
12684         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
12685         warnings.
12686
12687         * elxsi.md: Likewise.
12688
12689 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
12690
12691         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
12692         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
12693         match the comment for MIPS16.
12694
12695 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
12696
12697         * flow.c (split_edge): Do not call set_block_for_insn if we
12698         do not have a basic_block_for_insn structure.
12699
12700         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
12701         and destination functions are 32bit aligned within the trampoline.
12702         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
12703         (TRAMPOLINE_ALIGNMENT): Define.
12704
12705         * cse.c (cse_insn): When changing (set (pc) (reg)) to
12706         (set (pc) (label_ref)), verify the change creates a valid insn.
12707
12708         * fr30.c (call_operand): Tighten and rework to match rules for
12709         call RTL expressions.
12710         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
12711         * fr30.md (call patterns): Improve constraints.
12712
12713 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
12714
12715         * fr30.c (fr30_expand_epilogue): Revert last change.
12716         Use emit_jump_insn for the return insn.
12717
12718 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
12719                           Stan Cox  <scox@cygnus.com>
12720
12721         * predict.c: New file. Preliminary infrastructure work for static
12722         branch prediction and basic block reordering.
12723         * basic-block.h: Add prototype for estimate_probability.
12724         * Makefile.in: Add rules for predict.o.
12725
12726 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
12727
12728         * fixincludes (va_list): Use __not_va_list__ for the dummy.
12729         * fixinc/*: Likewise.
12730
12731 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12732
12733         * cccp.c: PROTO -> PARAMS.
12734         * cexp.y: Likewise.
12735         * collect2.c: Likewise.
12736         * combine.c: Likewise.
12737         * convert.h: Likewise.
12738         * cse.c: Likewise.
12739         * dbxout.c: Likewise.
12740         * dbxout.h: Likewise.
12741         * diagnostic.c: Likewise.
12742         * doprint.c: Likewise.
12743         * dwarf2out.c: Likewise.
12744         * dwarf2out.h: Likewise.
12745         * dwarfout.c: Likewise.
12746         * dwarfout.h: Likewise.
12747         * dyn-string.h: Likewise.
12748
12749 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12750
12751         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
12752         macro conditionals guarding use.
12753
12754         * dwarf2out.c: Include "tm_p.h".
12755
12756         * function.c (locate_and_pad_parm): Mark parameter with
12757         ATTRIBUTE_UNUSED.
12758         (expand_function_end): Likewise for variable `context'.
12759
12760         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
12761
12762 2000-01-13  Nick Clifton  <nickc@cygnus.com>
12763
12764         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
12765         register to prevent compile time warnings.
12766
12767 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
12768
12769         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
12770         to avoid -Wtraditional warning.
12771
12772 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12773
12774         * 1750a-protos.h: New file.
12775
12776         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
12777         time warnings.
12778
12779         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
12780         warnings.
12781
12782         * 1750a.md: Likewise.
12783
12784 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12785
12786         * a29k-protos.h: New file.
12787
12788         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12789         time warnings.
12790
12791         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
12792         warnings.
12793
12794 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12795
12796         * clipper-protos.h: New file.
12797
12798         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
12799         time warnings.
12800
12801         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
12802         warnings.
12803
12804 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12805
12806         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
12807
12808 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
12809
12810         * configure.in (--enable-new-gxx-abi): New option.
12811         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
12812         * Makefile.in (GXX_ABI_FLAG): New variable.
12813         * configure: Regenerate.
12814
12815 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12816
12817         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
12818         * tm.texi (FORCE_STRUCT_BLK): Document.
12819         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
12820
12821 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
12822
12823         * config/ns32k/ns32k.md: Revert Jan 9 change.
12824
12825         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
12826         to a mode-test, if the predicate is address_operand.
12827
12828 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
12829
12830         * combine.c (if_then_else_cond): Be careful about what kinds
12831         of RTL expressions are passed to operand_subword.
12832
12833         * flow.c (split_edge): If we have to insert a new jump, make
12834         sure to associate it with a basic block.
12835
12836         * flow.c (commit_one_edge_insertion): A block with one successor
12837         can end in a JUMP_INSN that is not a simplejump.
12838
12839 2000-01-12  Robert Lipe  <robertl@sco.com>
12840
12841         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
12842         (BUILD_VA_LIST_TYPE): Define.
12843         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
12844         with crtstuff.c.
12845
12846 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
12847
12848         * cccp.c (do_pragma): Add cast to (char *).
12849
12850 2000-01-12  Richard Henderson  <rth@cygnus.com>
12851             Fred Fish  <fnf@be.com>
12852             Jason Merrill  <jason@cygnus.com>
12853
12854         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
12855         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
12856         * i386/beos-elf.h, i386/beos-pe.h: New files.
12857
12858         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
12859         * cross-make (SYSTEM_HEADER_DIR): Define using
12860         CROSS_SYSTEM_HEADER_DIR.
12861
12862         * gcc.c (LIBRARY_PATH_ENV): Provide default.
12863         (process_command): Use it.
12864         (main): Likewise.  Kill trailing = from env vars.
12865         (build_search_list): Put it back.
12866         * collect2.c (main): Use LIBRARY_PATH_ENV.
12867
12868         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
12869         * toplev.c: Use NEED_DECLARATION_ENVIRON.
12870
12871         * tm.texi (Frame Layout): Document SMALL_STACK.
12872         * c-common.c (c_common_nodes_and_builtins): Check it.
12873
12874         * system.h: Undef alloca after including glibc's <stdlib.h>,
12875         if USE_C_ALLOCA is defined.
12876
12877         * gcc.c (set_input): New fn.
12878         (main): After all input files are compiled, reset the input file
12879         info to the first.
12880
12881         * aclocal.m4 (rindex, index): If already defined, don't attempt
12882         to redefine.
12883
12884         * ginclude/varargs.h: (__va_list__): Define ifndef.
12885         * ginclude/stdarg.h: Likewise.
12886
12887         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
12888         instead of unsigned char.
12889
12890         * hash.h (true, false, boolean): Undef before enum.
12891
12892         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
12893         proper type of "HOST_WIDE_INT *", rather than their natural type of
12894         "unsigned HOST_WIDE_INT *".
12895
12896 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12897
12898         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
12899
12900         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
12901
12902         * regclass.c (choose_hard_reg_mode): Likewise.
12903
12904         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
12905
12906         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
12907
12908 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12909
12910         * c-common.c: PROTO -> PARAMS.
12911         * c-common.h: Likewise.
12912         * c-decl.c: Likewise.
12913         * c-iterate.c: Likewise.
12914         * c-lang.c: Likewise.
12915         * c-lex.c: Likewise.
12916         * c-lex.h: Likewise.
12917         * c-parse.in: Likewise.
12918         * c-pragma.c: Likewise.
12919         * c-pragma.h: Likewise.
12920         * c-tree.h: Likewise.
12921         * c-typeck.c: Likewise.
12922         * objc/objc-act.c: Likewise.
12923         * objc/objc-act.h: Likewise.
12924
12925 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12926
12927         * m88k-protos.h: New file.
12928
12929         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12930         time warnings.
12931
12932         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
12933
12934         * m88k.md: Likewise.
12935
12936         * tekXD88.h: Likewise.
12937
12938 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12939
12940         * m68k-protos.h: New file.
12941
12942         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
12943         time warnings.
12944
12945         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
12946
12947         * mot3300.h: Likewise.
12948
12949 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
12950
12951         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
12952         extract_bitlst.
12953         (extract_bitlist): Declare bitlen.
12954
12955 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
12956
12957         * cccp.c: Accept and ignore -lang-fortran.
12958
12959         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
12960         qualifiers don't match at any level of pointerness.
12961
12962 2000-01-12  Robert Lipe  <robertl@sco.com>
12963
12964         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
12965
12966 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
12967
12968         * reload1.c (reload_reg_unavailable): New static variable.
12969         (reload_reg_free_p): Test it.
12970         (reload_reg_free_for_value_p): Test it instead of
12971         reload_reg_used.
12972         (choose_reload_regs_init): Compute it.
12973
12974 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
12975
12976         * reorg.c (fill_slots_from_thread): Check modified_in_p
12977         before replacing.
12978
12979 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
12980
12981         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
12982         these nodes even if INTERNALS is not set.
12983
12984 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
12985
12986         * gcse.c (delete_null_pointer_checks_1): Cope when
12987         get_condition cannot determine the condition.
12988
12989 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
12990
12991         * toplev.h (set_message_length): Declare.
12992
12993         * diagnostic.c (obstack_chunk_alloc): Define macro.
12994         (obstack_chunk_free): Likewise.
12995         (struct output_buffer): New data structure.
12996         (vmessage): Remove.
12997         (output_maximum_width): New variable.
12998         (doing_line_wrapping, set_message_length, init_output_buffer,
12999         get_output_prefix, output_space_left, emit_output_prefix,
13000         output_newline, output_append, output_puts, dump_output,
13001         vbuild_message_string, build_message_string, build_location_prefix,
13002         voutput_notice, output_printf, line_wrapper_printf,
13003         vline_wrapper_message_with_location):  New functions. Implement
13004         automatic line wrapping.
13005         (v_message_with_decl): Make it handle automatic line wrapping.
13006         (v_error_with_file_and_line): Likewise.
13007         (v_warning_with_file_and_line): Likewise.
13008         (announce_function): Likewise.
13009         (default_print_error_function): Likewise.
13010
13011 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
13012
13013         * cpplib.h (struct cpp_options): Change lang_asm to char.
13014         Add lang_fortran.
13015         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
13016         done in cpp_handle_option now.
13017         (initialize_builtins): Take out special case code used only by
13018         __STDC_VERSION__.
13019         (cpp_handle_option): Turn off trigraphs and trigraph warnings
13020         if -traditional.  Recognize -lang-fortran and set
13021         lang_fortran, also turn off cplusplus_comments.
13022         (print_help): Document -lang-fortran.
13023         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
13024         lang_asm. Ignore all directives other than `# 123 "file"' if
13025         CPP_PREPROCESSED.
13026         (cpp_get_token): If -traditional, don't recognize directives
13027         unless the # is in column 1.
13028         (parse_string): If lang_fortran or lang_asm, silently
13029         terminate strings ('' or "") at end of line.
13030         Remove unnecessary braces.
13031
13032 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13033             Richard Henderson  <rth@cygnus.com>
13034
13035         * resource.c (mark_referenced_resources): Mark a set strict_low_part
13036         as used.
13037         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
13038         strict_low_part when possible.
13039
13040 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13041
13042         * alias.c: PROTO -> PARAMS.
13043         * basic-block.h: Likewise.
13044         * bitmap.c: Likewise.
13045         * bitmap.h: Likewise.
13046         * builtins.c: Likewise.
13047         * c-aux-info.c: Likewise.
13048         * caller-save.c: Likewise.
13049         * calls.c: Likewise.
13050
13051 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13052
13053         * Makefile.in (toplev.o): Depend on regs.h.
13054
13055         * output.h (tdesc_section): Prototype.
13056
13057         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
13058
13059         * sdbout.c: Include "tm_p.h".
13060
13061         * toplev.c: Include "regs.h".
13062
13063 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
13064
13065         * unroll.c (unroll_loop): Add EH support.
13066
13067 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13068
13069         * pa-protos.h: New file.
13070
13071         * pa.c: Include recog.h and tm_p.h.
13072         (compute_zdepwi_operands, compute_movstrsi_length,
13073         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
13074         find_addr_reg, import_milli): Add static prototypes.
13075         (pa_cpu_string, pa_arch_string): Constify a char*.
13076         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
13077         (read_only_operand): Add argument `mode'.
13078         (singlemove_string, output_move_double, output_fp_move_double,
13079         output_block_move, output_and, output_ior, output_ascii,
13080         remove_useless_addtr_insns, milli_names, output_mul_insn,
13081         output_div_insn, output_mod_insn, output_arg_descriptor,
13082         output_cbranch, output_bb, output_bvb, output_dbra, ,
13083         output_millicode_call, output_call, hppa_encode_label,
13084         output_parallel_movb, output_parallel_addb): Constify a char*.
13085         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
13086         (output_parallel_addb): Remove extra arg to `constrain_operands'
13087
13088         * pa.h:  Move all prototypes to pa-protos.h.
13089         (pa_cpu_string, pa_arch_string): Constify a char*.
13090         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
13091
13092         * pa.md: Call `function_label_operand' with mode argument.
13093         Likewise for `read_only_operand'.
13094         Fix nesting of parens in call to `symbolic_operand'.
13095
13096 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13097
13098         * i860-protos.h: New file.
13099
13100         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
13101         time warnings.
13102
13103         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
13104
13105         * i860.md: Likewise.
13106
13107 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
13108
13109         * i386.md (movstrsi expander): Rewrite.
13110         (movstrsi_1 insn): Deleted.
13111         (strmovhi, strmovqi expander): New expanders.
13112         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
13113         * i386.c (x86_single_stringop): New global variable.
13114         * i386.h (x86_single_stringop): Declare.
13115         (TARGET_SINGLE_STRINGOP): New macro.
13116
13117 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
13118
13119         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
13120         integer vararg POSTINCREMENT before the destination of the jump
13121         for the hard fp case.
13122         (function_arg_pass_by_reference): Pass a copy of CUM to
13123         FUNCTION_ARG.
13124
13125         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
13126         for CONSTANT_ADDRESS_P above while loop for subreg.
13127
13128 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
13129
13130         * flow.c (propagate_block): When a prologue/epilogue insn
13131         is marked dead, unconditionally clear libcall_is_dead and
13132         insn_is_dead, and only dump rtl if warnings aren't being
13133         suppressed.
13134
13135 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
13136
13137         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
13138         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
13139         (FIXED_REGISTERS): Set dirflag as fixed.
13140         (CALL_USED_REGISTERS): Set dirflag as used.
13141         (REG_ALLOC_ORDER): Set dirflag as last one.
13142         (DIRFLAG_REG): New macro.
13143         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
13144         (HI_REGISTER_NAMES): Add dirflag.
13145         (DEBUF_PRINT_REG): Handle dirflag.
13146         * i386.md (type attribute): New cld and str types.
13147         (length_opcode attribute): Set cld and str to 1.
13148         (memory attribute): Set str to unknown - it is not clear from the
13149         patterns.
13150         (pent_np function unit): Prefixed string operations takes 12 cycles
13151         minimally; cld takes 2 cycles.
13152         (ppro_uops attribute): Str is "many" and cld is "few".
13153         (ppro_p0 unit): Handle cld here.
13154         (k6_alux unit): Handle cld and str types.
13155         (k6_load unit): It is ocupied by str opcodes.
13156         (k6_store unit): It is ocupied by str opcodes.
13157         (athlon_decode): Str is vector decoded.
13158         (athlon_ieu): Handle str and cld.
13159         (cld pattern): New.
13160         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
13161         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
13162         cmpstrsi_nz_1 insn): Do not output cld instruction
13163
13164 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
13165
13166         * gcc.texi (G++ and GCC): Add Java and Chill.
13167         (Bug Critera): Don't list languages.
13168
13169         * gcc.texi (Incompatibilities): No longer claim most C compilers
13170         are K&R.
13171
13172         * gcc.texi (G++ and GCC): Update other front-ends list.
13173
13174 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
13175
13176         * i386.c (ix86_expand_setcc): Fix typo.
13177         (ix86_expand_movcc): Similarly.
13178
13179         * Band-aid until haifa's bitset implementation is nuked.
13180         * haifa-sched.c (extract_bitlst): New parameter for size of the
13181         bitset in bits.  All callers changed.  Avoid looking at undefined
13182         bits in the bitset.
13183         (edgeset_bitsize): New variable.
13184         (schedule_region): Initialize edgeset_bitsize.
13185
13186 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13187
13188         * Makefile.in (optabs.o): Depend on real.h
13189         (resource.o): Depend on insn-attr.h
13190
13191         * builtins.c (result_vector): Wrap prototype in macro conditions
13192         governing definition and use.
13193
13194         * c-common.c: Include tm_p.h.
13195
13196         * c-lex.c: Likewise.
13197
13198         * elfos.h: Constify a char*.
13199
13200         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
13201         (get_attr_length, shorten_branches, profile_after_prologue): Mark
13202         parameter with ATTRIBUTE_UNUSED.
13203
13204         * fold-const.c (exact_real_inverse): Wrap variable `i' in
13205         CHECK_FLOAT_VALUE.
13206
13207         * haifa-sched.c (schedule_insns): Mark parameter with
13208         ATTRIBUTE_UNUSED.
13209
13210         * optabs.c: Include real.h.
13211
13212         * real.h (ereal_atof): Add prototype arguments.
13213
13214         * resource.c: Include insn-attr.h.
13215
13216         * sdbout.c (sdbout_queue_anonymous_type,
13217         sdbout_dequeue_anonymous_types): Wrap in macro
13218         SDB_ALLOW_FORWARD_REFERENCES.
13219         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
13220         ATTRIBUTE_UNUSED.
13221
13222         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
13223
13224         * stupid.c: Include tm_p.h.
13225
13226         * tree.c (real_value_from_int_cst): Mark parameter with
13227         ATTRIBUTE_UNUSED.
13228
13229 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13230
13231         * i960-protos.h: New file.
13232
13233         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
13234         time warnings.
13235
13236         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
13237
13238 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13239
13240         * combine.c (expand_field_assignment): Do not discard SUBREGs
13241         while computing nonzero_bits.
13242
13243 2000-01-09  Nick Clifton  <nickc@cygnus.com>
13244
13245         * config/arm/arm.c: Fix compile time warnings about signed vs
13246         unsigned constants.
13247         * config/arm/arm.h: Fix compile time warnings about signed vs
13248         unsigned constants.
13249
13250 2000-01-09  Philip Blundell  <philb@gnu.org>
13251
13252         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
13253         than `ldm' with only one register.
13254         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
13255         only one register.
13256
13257         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
13258         clobbered.
13259
13260 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
13261
13262         * config/ns32k/ns32k.md (load or push effective address): Operand 1
13263         must have SImode.
13264
13265 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13266
13267         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
13268         assignment used as truth value.
13269
13270         * function.c (assign_temp): Mark parameter `dont_promote' with
13271         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
13272         PROMOTE_FOR_CALL_ONLY.
13273
13274         * genrecog.c (write_subroutine): Mark variable `operands' with
13275         ATTRIBUTE_UNUSED.
13276
13277         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
13278         ATTRIBUTE_UNUSED.
13279
13280         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
13281         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
13282
13283         * toplev.c (note_deferral_of_defined_inline_function): Likewise
13284         for `decl'.
13285
13286 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13287
13288         * config/c4x.h: Tidy up comments.
13289         * config/c4x.c: Likewise.
13290
13291 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
13292
13293         * fold-const.c (lshift_double, rshift_double): Handle
13294         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
13295
13296 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13297
13298         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
13299         in prepare_function_start().
13300
13301 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
13302
13303         * config/v850/v850.c (expand_epilogue): Interrupt functions no
13304         longer allocate extra stack for function calls.
13305
13306 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13307
13308         * config/c4x/c4x.md (*subqf3_set): Fix typo.
13309
13310 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13311
13312         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
13313
13314 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
13315
13316         * rs6000.c (processor_target_table): Add power3 as alias for 630.
13317         * aix43.h: Revert Aug 2 change.
13318         (HAS_INIT_SECTION): Define, not visible yet.
13319         (LD_INIT_SWITCH): Define, not visible yet.
13320         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
13321
13322         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
13323
13324         * collect2.c (main): Expand ld2 size further.
13325         (export_object_lst): Cast assignment to avoid warning.
13326         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
13327         (scan_prog_file, COFF): Do not collect initialization or
13328         finalization functions generated for entire shared object if
13329         init/fini support present.
13330
13331 2000-01-07  Nick Clifton  <nickc@cygnus.com>
13332
13333         * config/elfos.h: Tidy up formatting of marcos.  Make sure
13334         that .section directives are always prefixed by a tab.
13335
13336         * config/svr4.h: Add #include "elfos.h" and remove duplicate
13337         definitions.
13338
13339 2000-01-07  Matt Austern  <austern@sgi.com>
13340
13341         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
13342         expon.
13343
13344 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
13345
13346         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
13347         crtstuff.c.
13348         (crtbegin.o, s-crtS): Likewise.
13349
13350 2000-01-06  Richard Henderson  <rth@cygnus.com>
13351
13352         * alpha.md (adddi_2+1): Limit offset such that it will be
13353         loadable with a single ldah+lda pair.
13354         (adddi_2+2): Explicitly fail split if we can't make it work.
13355
13356 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
13357
13358         * protoize.c: Conditionally include unistd.h.
13359         (IS_SAME_PATH_CHAR): New macro.
13360         (IS_SAME_PATH): New macro.
13361         (CPLUS_FILE_SUFFIX): New macro.
13362         (cplus_suffix): New static variable.
13363         (is_abspath): New static function.
13364         (in_system_include_dir): Handle DOS style pathnames.
13365         (file_could_be_converted): Likewise.
13366         (file_normally_convertible): Likewise.
13367         (directory_specified_p): Likewise.
13368         (file_excluded_p): Likewise.
13369         (abspath): Likewise.
13370         (shortpath): Likewise.
13371         (referenced_file_is_newer): Likewise.
13372         (save_def_or_dec): Likewise.
13373         (do_processing): Likewise.
13374         (main): Likewise.
13375         (edit_file): Likewise. Use rename instead of link.
13376         (rename_c_file): Likewise. Don't rename syscalls file.
13377         (munge_compile_params): Define null device for DOS based systems.
13378         (process_aux_info_file): Use binary mode if appliable.
13379         (edit_file): Likewise.
13380         * invoke.texi (Running Protoize): Document C++ suffixes used.
13381
13382         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
13383         IS_DIR_SEPARATOR macros.
13384         * collect2.c: Likewise.
13385         * cppinit.c: Likewise.
13386         * dwarf2out.c: Likewise.
13387         * gcc.c: Likewise.
13388         * gcov.c: Likewise.
13389         * prefix.c: Likewise.
13390         * rtl.c: Likewise.
13391         * toplev.c: Likewise.
13392         * system.h: And move to here.
13393
13394         * prefix.c (update_path): Fix typo in variable name.
13395
13396 2000-01-06  Richard Henderson  <rth@cygnus.com>
13397
13398         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
13399         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
13400         (count_reg_sets_1, count_reg_references): Likewise.
13401         (flow_loops_level_compute): Start counting actual loop depth at 1.
13402         (flow_loops_find): Likewise.
13403         * local-alloc.c (update_equiv_regs): Likewise.
13404         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
13405
13406 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
13407
13408         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
13409         FIRST_PSEUDO_REGISTER
13410         * dwarf2out.c: Don't include frame.h
13411         * dwarfout.c: Likewise
13412         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
13413         frame.h
13414
13415 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
13416
13417         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
13418         dead registers.
13419
13420         * i386.c (movsf splitter): Fix typo in my last checkin.
13421
13422 2000-01-05  Nick Clifton  <nickc@cygnus.com>
13423
13424         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
13425         own definition of this macro.
13426         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
13427         flag_data_sections or UNIQUE_SECTION_P are true.
13428
13429         * tm.texi (UNIQUE_SECTION): Document that it can be called for
13430         unitialised data decls.
13431
13432         * config/i386/winnt.c (i386_pe_unique_section): Cope with
13433         being called for uninitialised data.
13434
13435         * config/i386/interix.c (i386_pe_unique_section): Cope with
13436         being called for uninitialised data.
13437
13438         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
13439         for uninitialised data.
13440
13441         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
13442         for uninitialised data.
13443
13444         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
13445         for uninitialised data.
13446
13447         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
13448         (UNIQUE_SECTION_P): Always generate a unique section if
13449         flag_data_sections is true.
13450         (UNIQUE_SECTION): Also generate unique sections for
13451         uninitialised data.
13452         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
13453         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
13454         named_section().
13455
13456 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13457
13458         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
13459         SI, or DI.
13460
13461 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13462
13463         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
13464         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
13465         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
13466         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
13467         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
13468
13469         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
13470
13471 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
13472
13473         * c-decl.c (finish_enum): Simplify code to determine minimum and
13474         maximum values of the enum, and calculate the type.  Remove check
13475         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
13476         the DECL_INITIAL of each enumeration constant with a copy converted
13477         to the enumeration type.  When updating variant types, don't bother
13478         updating the type itself.
13479
13480         * c-typeck.c (build_binary_op): Simplify conditional expressions
13481         when weeding out spurious signed-unsigned warnings.  Add new
13482         spurious warning category: if the unsigned quantity is an enum
13483         and its maximum value fits in signed_type(result_type).  Update
13484         commentary.
13485         (build_conditional_expr): Warn here if one alternative is signed
13486         and the other is unsigned.
13487
13488 2000-01-05  Nick Clifton  <nickc@cygnus.com>
13489
13490         * config/fr30/fr30.h: Remove extraneous comments.
13491
13492 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
13493
13494         * reload1.c (choose_reload_regs): When disabling a reload, also
13495         set reload_spill_index to -1.
13496
13497 2000-01-04  Joel Sherrill (joel@OARcorp.com>
13498
13499         * configure.in (m68*-*-rtemscoff*): New target, formal name for
13500         old m68*-*-rtems*.
13501         (m68*-*-rtemself*): New target.
13502         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
13503         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
13504         (sparc*-*-rtemself*): New target.
13505         (sparc*-*-rtems*): Now elf not a.out.
13506         * config/i386/rtems.h: Include config/rtems.h.
13507         * config/i386/rtemself.h: Include config/rtems.h.
13508         * config/i960/rtems.h: Include config/rtems.h.
13509         * config/m68k/rtems.h: Include config/rtems.h.
13510         * config/m68k/rtemself.h: Include config/rtems.h.
13511         * config/mips/rtems64.h: Include config/rtems.h.
13512         * config/pa/rtems.h: Include config/rtems.h.
13513         * config/rs6000/rtems.h: Include config/rtems.h.
13514         * config/sh/rtems.h: Include config/rtems.h.
13515         * config/sh/rtemself.h: Include config/rtems.h.
13516         * config/sparc/rtems.h: Include config/rtems.h.
13517         * config/sparc/rtemself.h: Include config/rtems.h
13518
13519 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
13520
13521         * final.c (shorten_branches): Correctly compute length of
13522         asms without operands.
13523
13524 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
13525
13526         * configure.in: Add pj target.
13527         * configure: Regenerate.
13528         * config/pj: New directory.
13529         * config/pj/lib1funcs.S: New file.
13530         * config/pj/linux.h: New file.
13531         * config/pj/pj.c: New file.
13532         * config/pj/pj.md: New file.
13533         * config/pj/pjl.h: New file.
13534         * config/pj/t-pj: New file.
13535         * config/pj/xm-pj.h: New file
13536
13537 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
13538
13539         * toplev.c (rest_of_compilation): Run shorten-branches before
13540         reg-stack for now.
13541
13542 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13543
13544         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
13545         macros so that they're consistent with their names.
13546         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13547         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13548
13549 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13550
13551         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
13552         modified inadvertently.
13553
13554 2000-01-04  Joel Sherrill <joel@OARcorp.com>
13555
13556         * configure.in (v850*-*-rtems*): New target.
13557         * configure: Regenerate.
13558         * config/v850/rtems.h: New file.
13559
13560 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
13561
13562         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
13563         (__gthread_key_create): Likewise.
13564         (__gthread_key_dtor):  Likewise.
13565         (__gthread_once): Fix logic.
13566         (__gthread_key_delete): Cast away constness.
13567
13568         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
13569         * invoke.texi: Document.
13570         * i386/mingw32.h (CPP_SPEC): Use.
13571         (LIBGCC_SPEC): Likewise.
13572         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
13573
13574 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13575
13576         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
13577         (HANDLE_PRAGMA_PACK): Undefine.
13578         (SLOW_UNALIGNED_ACCESS): Define.
13579
13580 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
13581
13582         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13583         to default definition.
13584         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
13585         (store_fixed_bit_field): Call macro with word_mode and alignment.
13586         (extract_bit_field): Call macro with relevant mode and alignment.
13587         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13588         to default definition.
13589         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
13590         and alignment.
13591         (move_by_pieces_ninsns): Likewise.
13592         (clear_by_pieces): Likewise.
13593         (emit_push_insn): Likewise.
13594         (store_field): Call macro with relevant mode and alignment.
13595         (expand_expr): Likewise.
13596         (expand_expr_unaligned): Likewise.
13597
13598         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
13599         (SLOW_UNALIGNED_ACCESS): Define.
13600         (CASE_VECTOR_MODE): Always use 32-bit offsets.
13601         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
13602         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
13603         (toc_section): Likewise and .toc pseudo-op.
13604         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
13605         64-bit mode.
13606         (TEXT_SECTION_ASM_OP): Likewise.
13607         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
13608         32-bit offsets.
13609
13610         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
13611         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
13612         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
13613         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
13614         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
13615
13616 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
13617
13618         * regclass.c: Revert my Jan 4 change to loop cost computation.
13619
13620 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13621
13622         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
13623         compilation.
13624
13625 2000-01-04  Stan Cox  <scox@cygnus.com>
13626
13627         * haifa-sched.c (build_control_flow): Change unreachable simple
13628         loop test to check if current block has only one predecessor.
13629         (find_rgns): Initialize degree.  Use dest as degree index, not src.
13630
13631 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13632
13633         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
13634
13635         * calls.c (expand_call): Likewise for
13636         `old_stack_arg_under_construction'.
13637
13638         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
13639
13640         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
13641         `save_constant'.
13642
13643         * gcc.c (execute): Likewise for `ut' and `st'.
13644
13645         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
13646
13647         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
13648
13649         * jump.c (jump_optimize_1): Likewise for `temp2'.
13650
13651         * local-alloc.c (block_alloc): Likewise for `r1'.
13652
13653         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
13654
13655         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
13656         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
13657
13658         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
13659         and `set2'.
13660
13661         * reload.c (find_reloads): Likewise for `goal_alternative_number'
13662         and `goal_earlyclobber'.
13663
13664         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
13665
13666         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
13667
13668         * stupid.c (stupid_life_analysis): Likewise for `chain'.
13669
13670         * unroll.c (copy_loop_body): Likewise for `copy'.
13671
13672         * varasm.c (output_constructor): Likewise for `byte'.
13673
13674 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13675
13676         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
13677         all FP constants for constant->reg moves.
13678         (ix86_split_to_parts): Try to convert memory address into immediate
13679         when available in the constant pool.
13680         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
13681         moves.
13682         (LEGITIMATE_CONSTANT_P): Return 1.
13683         * i386.md (pushsf): New splitter to convert constant pool memory
13684         reference to immediate.
13685         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
13686         reload.
13687
13688 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
13689
13690         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
13691         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
13692         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
13693         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
13694         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
13695
13696 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
13697
13698         * ginclude/stdbool.h:  Support compilation as C++.
13699
13700 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13701
13702         * fold-const.c (make_range): Don't try to reverse an unbounded range.
13703
13704 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
13705
13706         * regclass.c (regclass): Properly compute loop_cost.  Adjust
13707         comments.
13708
13709         * regclass.c: Fix minor whitespace problems.
13710
13711 2000-01-03  Anthony Green  <green@cygnus.com>
13712
13713         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
13714         Restore the pic register if required.
13715
13716 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
13717
13718         * c-common.c (format_char_info): Update comment.
13719         (check_format_info): Recognize 'z' modifier in the same way 'Z'
13720         was recognized.  Emit warning for formats new in ISO C99 only
13721         if flag_isoc9x is not set.
13722
13723 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
13724
13725         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
13726
13727 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
13728
13729         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
13730         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
13731         (make_compound_operation): Choose cheaper alternative between
13732         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
13733
13734         * regclass.c (op_costs): Remove global variable.
13735         (record_reg_classes): New parameter "op_costs" and "reg_pref".
13736         (record_operand_costs): Break out from ...
13737         (scan_one_insn): ... here.
13738         (dump_regclass): Make dumps nicer.
13739         (regclass): Dump preferrences choosed and changes done during passes.
13740
13741 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13742
13743         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
13744
13745 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
13746
13747         * config/sparc/sparc.c (gen_df_reg): New function.
13748         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
13749         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
13750         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
13751         movtf_cc_reg_sp64+1): Use it.
13752
13753 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13754
13755         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
13756         copied LABEL_DECLs.
13757
13758 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13759
13760         * config/i386/i386.c (ix86_expand_unary_operator): Function
13761         definition made void.
13762         (ix86_expand_binary_operator): Update outdated preceding comment.
13763         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
13764         prototype.
13765
13766         * config/i386/i386.c (override_options): Fix option-name typo.
13767
13768 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
13769
13770         * system.h (CEIL): Define.
13771         * builtins.c (CEIL): Remove.
13772         * expmed.c (CEIL): Likewise.
13773         * expr.c (CEIL): Likewise.
13774         * stor-layout.c (CEIL): Likewise.
13775
13776 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13777
13778         * expr.c (store_constructor_field): Fix typo introduced with last
13779         gcc2 merge.
13780
13781 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
13782
13783         * tree.h (BINFO_N_BASETYPES): New macro.
13784
13785 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
13786
13787         * expmed.c (emit_store_flag): Prevent losing a pending stack
13788         adjust the same way we prevent losing queued increments.
13789
13790 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13791
13792         * function.c (update_temp_slot_address): Handle case where sum of
13793         temporary address plus offset in register is a valid address.
13794
13795 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
13796
13797         * genrecog.c (change_state) Corrected typo.
13798
13799 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13800
13801         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
13802         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
13803         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
13804
13805 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
13806
13807         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
13808         case, expand GT comparisons correctly.  Fix a comment before this
13809         part of the code.
13810
13811 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
13812
13813         * dwarfout.c: Include "frame.h"
13814         * dwarf2out.c: Likewise.
13815         * Makefile.in (dwarfout.o): Depend on frame.h
13816         (dwarf2out.o): Likewise.
13817
13818 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
13819
13820         Restore i386 binary compatibility in Dwarf EH info.
13821         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
13822         value of FIRST_PSEUDO_REGISTER.
13823         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
13824         (struct frame_state): Use DWARF_FRAME_REGISTERS.
13825         * dwarfout.c (output_reg_number): Ditto.
13826         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
13827         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
13828
13829 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
13830
13831         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
13832         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
13833         (<hack>_RE_CT): not needed
13834         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
13835         rewritten to scan the file text once only
13836         "template<..." test added
13837         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
13838         (is_cxx_header): declaration added
13839         * fixinc/fixtests.c(is_cxx_header): removed
13840         (apply_fix_p_t): removed
13841         (double_slash_test): is_cxx_header is only called once now
13842         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
13843         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
13844         within the templates.
13845         The borken spelling of "broken" was fixed.
13846         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
13847         The default level depends on FIXINC_DEBUG.
13848
13849 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13850
13851         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
13852         Otherwise provide a declaration for atexit.
13853         (init_dummy): Make sure dummy call to atexit is nevertheless
13854         called with correct number of args.
13855
13856         * frame.c: Update comments referring to other files.
13857
13858         * libgcc2.c: Likewise.
13859
13860 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13861
13862         * cse.c (free_element, get_element): Remove unused prototypes.
13863
13864         * fold-const.c (extract_muldiv): Initialize variables `op0' and
13865         `op1'.
13866
13867         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
13868         `else' clauses.
13869
13870 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
13871
13872         * configure.in,configure: case arm for mn10200-*-* now sets
13873         float_format=i32 so that float.h will correctly claim "double"
13874         to be 32 bits. Ran autoconf to generate configure from .in file.
13875
13876 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
13877
13878         * pa.md (conditional zero): If op1 is a register, force it into
13879         the same register as op0.
13880
13881 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
13882
13883         * tree.h (BINFO_BASETYPES): Improve documentation.
13884
13885 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13886
13887         * configure.in (--enable-checking): Use a more portable `for'
13888         loop syntax.
13889
13890 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13891
13892         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
13893         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
13894
13895         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
13896         Delete files.
13897
13898         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
13899         Delete descriptions.
13900
13901         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
13902         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
13903         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
13904         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
13905         xm-svr4.h: Remove all instances of sys_siglist handling.
13906
13907 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
13908
13909         * config/sparc/sparc.md (cmp_zero_qi,
13910         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
13911         cmp_zero_extendqidi2_andcc_set): New patterns.
13912
13913 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
13914
13915         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
13916         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
13917         (fpgnulib.c, xfgnulib.c): Add rules.
13918         * m68k/t-mot3300-gas: Likewise.
13919
13920 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
13921
13922         * configure.in: Avoid [[ by using test and changequote.  Add
13923         changequote required by 1999-12-14 change.
13924         * configure: Rebuild.
13925
13926 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
13927
13928         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
13929
13930 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
13931
13932         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
13933         * flow.c (find_use_as_address): Likewise.
13934         * function.c (fixup_var_refs_1): Likewise.
13935         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
13936         * jump.c (invert_exp, redirect_exp): Likewise.
13937         * loop.c (replace_call_address): Likewise.
13938         (count_nonfixed_reads): Likewise.
13939         * rtlanal.c (modified_between_p): Likewise.
13940         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
13941         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
13942         * unroll.c (remap_split_bivs): Likewise.
13943
13944 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13945
13946         * diagnostic.c (v_message_with_decl): Use .* format specifier
13947         instead of building the format specifier width manually.
13948
13949         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
13950         determining whether to provide a prototype.  Remove the
13951         sys_siglist clause in the conditional.
13952
13953 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13954
13955         * fold-const.c (operand_equal_p): Use memcmp to compare string
13956         constants.
13957         Suggested by D. J. Bernstein
13958
13959 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
13960
13961         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
13962         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
13963         compiling libgcc2.
13964         * config/mips/mips.h (TARGET_64BIT): Likewise.
13965         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
13966         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
13967         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
13968         dsps.  Give routines proper names if SI/DI modes are not used.
13969         * longlong.h: Use DWunion instead of DIunion.
13970
13971 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
13972
13973         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
13974         GC_CHECKING, GC_ALWAYS_COLLECT.
13975         * configure.in: Allow --enable-checking with an argument
13976         listing check modes to enable.
13977         * config.in, configure: Rebuilt.
13978         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
13979         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
13980         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
13981         ENABLE_GC_ALWAYS_COLLECT.
13982         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
13983         throughout.
13984         * tree.h, tree.c: Change ENABLE_CHECKING to
13985         ENABLE_TREE_CHECKING throughout.
13986
13987 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13988
13989         * fold-const.c (fold_truthop): Properly check for FP RHS.
13990
13991 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
13992
13993         * toplev.h (note_deferall_of_defined_inline_function): Declare.
13994         * toplev.c (note_deferral_of_defined_inline_function): New
13995         function, split out from ...
13996         (rest_of_compilation): ... here.  Use it.
13997
13998 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13999
14000         * expr.c (store_constructor): Don't call clear_storage if size is
14001         variable.
14002
14003 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14004
14005         * Makefile.in (toplev.o): Depend on loop.h.
14006
14007         * dwarfout.c: Include tm_p.h.
14008
14009         * emit-rtl.c (restore_emit_status): Mark parameter with
14010         ATTRIBUTE_UNUSED.
14011
14012         * final.c (final_scan_insn): Likewise.
14013
14014         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
14015         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
14016         flow_depth_first_order_compute, flow_loop_pre_header_find,
14017         flow_loop_tree_node_add, flow_loops_tree_build,
14018         flow_loop_level_compute, flow_loops_level_compute,
14019         flow_loop_outside_edge_p): Add prototypes.
14020         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
14021
14022         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
14023         Mark with ATTRIBUTE_NORETURN.
14024
14025         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
14026
14027         * local-alloc.c (no_conflict_p): Likewise.
14028
14029         * loop.c (insert_bct): Hide definitions of variables with hidden
14030         usage.
14031         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
14032
14033         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
14034         with ATTRIBUTE_UNUSED.
14035         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
14036         (reg_scan): Likewise.
14037
14038         * reload.c (find_reloads): Remove unused variables `changed'.
14039
14040         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
14041         away const-ness.
14042         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
14043         Remove unused variable `insn'.
14044
14045         * toplev.c: Include loop.h.
14046         (report_file_and_line): Remove unnecessary prototype.
14047
14048         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
14049
14050         * unroll.c (biv_total_increment): Likewise.
14051
14052 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14053
14054         * reload1.c (emit_input_reload_insns): Restore old behaviour
14055         wrt. 'special' reloads.
14056
14057 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
14058
14059         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
14060         hash.h.  (cse.c): Don't depend on hashtab.h.
14061
14062         * cse.c: Don't include hashtab.h.
14063         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
14064         of dead functions.
14065         * ggc-simple.c: Don't include hash.h.
14066
14067 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
14068
14069         * dwarf2out.c (add_abstract_origin_attribute): Call
14070         gen_abstract_function on our function context.
14071
14072 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
14073
14074         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
14075
14076 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14077
14078         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
14079         case in switch.
14080
14081 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14082
14083         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
14084         constraints to "a!r".
14085
14086 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
14087
14088         * Makefile.in (calls.o): Depend on function.h.
14089         (alias.o): Likewise.
14090
14091 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
14092
14093         * reload1.c (emit_reload_insns): Break out code and variables into...
14094         (input_reload_insns, other_input_address_reload_insns,
14095         other_input_reload_insns, input_address_reload_insns,
14096         inpaddr_address_reload_insns, output_reload_insns,
14097         output_address_reload_insns, outaddr_address_reload_insns,
14098         operand_reload_insns, other_operand_reload_insns,
14099         other_output_reload_insns): ... new static variables, and...
14100         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
14101         do_output_reload): ... new functions.
14102
14103 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14104
14105         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
14106
14107 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14108
14109         * md.texi: Add c4x constraints documentation.
14110
14111 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
14112
14113         * config/i386/dgux.c (struct option): Rename to
14114         lang_independent_option.
14115         (struct m_options): Add description field.
14116         (output_options): Rename option type, add sep declaration, output
14117         ix86_cpu_string and ix86_arch_string only if set.
14118         (output_file_start): Rename option type.
14119
14120 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
14121
14122         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
14123         stmp-int-hdrs.
14124         (libgcc2.a): Similarly.
14125
14126 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
14127
14128         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
14129         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
14130         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
14131
14132 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
14133
14134         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
14135         Remove redundant initialization of "frexpon" and "expon".
14136
14137 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14138
14139         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
14140
14141         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
14142         (store_constructor_field, expand_expr): Pass new arg.
14143
14144 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
14145
14146         * Makefile.in (explow.o): Depend on function.h.
14147
14148         * stor-layout.c (set_sizetype): Fix typo.
14149
14150 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
14151
14152         * function.c (cfun): Renamed from current_function.  All users
14153         changed.
14154         * function.h (cfun): Rename declaration as well.
14155
14156         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
14157         to be of type regset_head, not regset.  All users changed by adding
14158         address operator.
14159         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
14160
14161 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14162
14163         * config/c4x/rtems.h: New file.
14164
14165 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
14166
14167         * reload1.c (spill_failure): Take class of failed reload as argument
14168         and print it.  Caller changed.
14169
14170 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14171
14172         * rs6000.h (SUBTARGET_DEFAULT): New macro.
14173         (TARGET_SWITCHES): Allow subtargets to default switches.
14174         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
14175
14176 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
14177
14178         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
14179         in a main program.
14180
14181 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
14182
14183         * cccp.c (main): Define __STDC_VERSION__ as necessary.
14184         * cppinit.c (cpp_handle_option): Likewise.
14185
14186         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
14187         determine when to define.
14188
14189 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
14190
14191         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
14192         cmove with mismatched test and data modes.
14193
14194 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
14195
14196         * c-typeck.c (c_expand_start_case): Don't warn for long switch
14197         in system headers.
14198
14199 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14200
14201         * alias.c: Minor reformatting.
14202         * flow.c: Likewise.
14203         * regs.h: Likewise.
14204         * stor-layout.c: Likewise.
14205         * fold-const.c: Likewise.
14206         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
14207         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
14208         not arg itself.
14209         (size_int_wide): Cache nodes even if garbage collecting.
14210         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
14211         of SAVE_EXPR has no side effects.
14212         * cse.c: Move a comment.
14213         * tree.c: Minor reformatting.
14214         (int_size_in_bytes): Return -1 if constant overflows.
14215
14216 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14217
14218         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
14219
14220 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
14221
14222         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
14223         after any change to c-parse.in, even if objc-parse.y didn't
14224         change.  Oops.
14225
14226 1999-12-18  David S. Miller  <davem@redhat.com>
14227
14228         * toplev.c (rest_of_compilation): Restore BLOCK tree
14229         reconstruction and branch shortening changes lost in
14230         December 18th change.
14231
14232 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
14233
14234         * config/arm/linux-elf.h: Change all instances of
14235         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
14236         * config/arm/uclinux-elf.h: Likewise.
14237
14238 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
14239
14240         * toplev.c (notice, vmessage, v_message_with_file_and_line,
14241         v_message_with_decl, file_and_line_for_asm,
14242         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
14243         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
14244         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
14245         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
14246         pfatal_with_name, fatal_io_error, need_error_newline,
14247         last_error_function, last_error_tick, announce_function,
14248         default_print_error_function, print_error_function,
14249         report_error_function, fnotice, error_with_file_and_line,
14250         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
14251         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
14252         warning_with_decl, warning_for_asm, warning, pedwarn,
14253         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
14254         diagnostic.c
14255         (compile_file): Use fnotice instead of notice.  Adjust call.
14256
14257         * diagnostic.c: New file.
14258
14259         * Makefile.in (OBJS): Include diagnostic.o
14260         (diagnostic.o): Define dependence.
14261
14262 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14263
14264         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
14265         Tweak formatting.
14266
14267 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14268
14269         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
14270
14271 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
14272
14273         * fixtests.c (is_cxx_header): New fn, split out of
14274         double_slash_test.
14275         (else_endif_label): Allow "#endif // comment" in C++ headers,
14276         as determined by is_cxx_header.
14277         * fixfixes.c (else_endif_label_fix): Update comment.
14278         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
14279         a tty.
14280         * genfixes: Correct double thinko in commandline parsing.
14281         * hackshell.tpl: Generate correct sh syntax for bypass
14282         entries.
14283
14284         * inclhack.def (all): Whenever an inserted preprocessor
14285         conditional is split over multiple lines, use double
14286         backslashes in this file so the fixed header will be readable.
14287
14288         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
14289         and add bypass entry for correct version of this header.
14290         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
14291         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
14292
14293         (hpux8_bogus_inlines): New fix, split from...
14294         (ultrix_atof_param) ... here.
14295         (math_expression): Add bypass entry keyed to glibc comment
14296         indicating the problem has been dealt with; disable
14297         unnecessary sed operations; update commentary.
14298         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
14299         add select and bypass entries, simplify shell operation.
14300         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
14301
14302         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
14303          ultrix_atof_param): Add select entry.
14304         (stdio_va_list, sunos_mather_decl): Add bypass entry.
14305         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
14306         comments with the fixes they describe.
14307
14308         * c-parse.in (string action): Do not warn about ANSI string
14309         concatenation in system headers.  Affects C parser only.
14310         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
14311
14312 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
14313
14314         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
14315         compiling libgcc2 the macro depends always on arch cpp defines.
14316
14317 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
14318
14319         * loop.c (insert_loop_mem): Don't record MEMs from inside
14320         EXPR_LISTs.
14321
14322 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
14323
14324         * regclass.c (regclass): Do not use flowgraph when not optimizing.
14325
14326         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
14327         notes too, create one when replacement failed, attempt to simplify
14328         resulting notes.
14329         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
14330         or REG_EQUIV notes.
14331
14332 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
14333
14334         * crtstuff.c (__dso_handle): Declare.
14335         (__cxa_finalize): Likewise.
14336         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
14337         non-NULL.
14338
14339         * invoke.texi: Document -fuse-cxa-atexit.
14340
14341         * tree.h (ptr_type_node): Document.
14342         (const_ptr_type_node): Likewise.
14343
14344 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14345
14346         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
14347         (optimize_reg_copy_2): Likewise.
14348         (optimize_reg_copy_3): Likewise.
14349         (fixup_match_2): Likewise.
14350         (regmove_optimize): Likewise.
14351         (fixup_match_1): Liekwise.
14352
14353         * i386.md (HI to SImode promoting splitters): Rewrite.
14354         (pushsf mem peep2): New.
14355         (testhi to andhi peep2): Remove.
14356         * i386.h (x86_promote_QImode): New.
14357         (TARGET_PROMOTE_QImode): New.
14358         (PREDICATE_CODES): Add promotable_binary_operator.
14359         * i386.c (x86_promote_QImode0: New.
14360         (promotable_binary_operator): New.
14361         * i386-protos.h (promotable_binary_operator): New.
14362
14363         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
14364         condition.
14365         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
14366
14367 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
14368
14369         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
14370         * function.c (insert_block_after_note): Remove.
14371         (retrofit_block): Likewise.
14372         (identify_blocks): Fix indentation.
14373         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
14374         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
14375         * function.h (insert_block_after_note): Remove prototype.
14376         (retrofit_block): Likewise.
14377         * integrate.c (expand_inline_function): Don't call
14378         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
14379         just expand_start_bindings.  Use the block_map to remap old
14380         NOTE_BLOCKs to new ones.
14381         (integrate_decl_tree): Keep track of remapped blocks.
14382         * integrate.h (struct inline_remap): Add block_map.
14383         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
14384         NOTE_BLOCK on the notes.
14385         (expand_start_bindings): Rename to ...
14386         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
14387         (expand_end_bindings): Set NOTE_BLOCK.
14388         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
14389         reconstruct the BLOCK tree.
14390         * tree.h (expand_start_bindings): Macroize.  Call ...
14391         (expand_start_bindings_and_block): New function.
14392
14393 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
14394
14395         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
14396         to match the format.
14397
14398 1999-12-16  David S. Miller  <davem@redhat.com>
14399
14400         * expr.c (emit_move_insn_1): Only emit clobbers if one of
14401         the outputs is a SUBREG.
14402         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
14403         change.
14404
14405         * config/sparc/sparc.c (epilogue_renumber): Add default case
14406         to switch stmt.
14407
14408 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14409
14410         * toplev.c (rest_of_compilation): Run branch shortening after
14411         reg-stack.
14412
14413         * regclass.c (loop_depth): Remove
14414         (scan_one_insn): Do not handle LOOP_NOTE insns.
14415         (regclass): Go through basic blocks and set loop_cost
14416
14417 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
14418
14419         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
14420
14421 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14422
14423         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
14424         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
14425         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
14426
14427 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
14428
14429         * loop.c (insert_loop_mem): Ignore memory clobbers.
14430
14431         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
14432         to (OP A B).
14433
14434 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
14435
14436         * profile.c: Remove redundant #include "output.h".
14437
14438         * h8300.md (HImode preinc peephole): Fix typo.
14439
14440 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
14441
14442         * function.c (retrofit_block): Abort if we don't find a suitable insn.
14443         (insert_block_after_note): Abort if we don't have a previous block.
14444         Remove FN parameter.
14445         * function.h: Adjust.
14446
14447 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
14448
14449         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
14450         argument more than once.
14451
14452 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
14453
14454         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
14455
14456 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
14457
14458         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
14459
14460 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14461
14462         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
14463         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
14464         update stack_alignment_needed.
14465         (prepare_function_start): Initialize stack_alignment_needed
14466         * function.h (struct function): Add field stack_alignment_needed.
14467
14468 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14469
14470         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
14471         Handle live_throughout / dead_or_set instead of live_before /
14472         live_after.
14473         (save_call_clobbered_regs): Get register livenessinformation from
14474         chain->live_throughout.
14475         (add_stored_regs): New function.
14476         (insert_restore, insert_save): Add restored / saved registers to
14477         dead_or_set.
14478         * global.c (reg_dies): New parameter chain.
14479         (reg_becomes_live): Third parameter is regs_set now.
14480         Changed all callers.
14481         (reg_dies): New parameter chain.  Changed all callers.
14482         (build_insn_chain): Set live_throughout instead of
14483         live_before / live_after.
14484         * reload.h (struct insn_chain): Replace members live_before /
14485         live_after with live_throughout / dead_or_set.
14486         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
14487         instead of live_before / live_after.
14488         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
14489         (order_regs_for_reload, find_reg, finish_spills): Likewise.
14490         (choose_reload_regs_init): Likewise.
14491         * stupid.c (current_chain, find_clobbered_regs): Delete.
14492         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
14493         instead of chain->live_before / chain->live_after.
14494         (mark_hard_ref): New function.
14495         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
14496
14497 1999-12-15  David S. Miller  <davem@redhat.com>
14498
14499         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
14500
14501 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14502
14503         * flow.c (calculate_loop_depth): Make global, remove prototype,
14504         rewrite to use new loop infrastructure.
14505         (find_basic_block): Remove calculate_loop_depth call.
14506         * toplev.c (rest_of_compilation): Call find_basic_block.
14507         * output.h (calculate_loop_depth): Declare.
14508
14509         * flow.c (dump_flow_info): Dump loop_depth.
14510         (flow_loops_nodes_find): Increase loop_depth for basic block in the
14511         body.
14512         (flow_loops_find): Initialize the loop_depth for each basic block.
14513
14514 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
14515
14516         * tree.c (decl_function_context): Handle virtual functions.
14517
14518         * tlink.c (scan_linker_output): Don't look in demangled name when
14519         looking for linker output keywords.
14520
14521         * dwarfout.c (output_type): We can defer namespace-scope classes.
14522
14523 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
14524
14525         * regclass.c (record_reg_classes): Update comment for merging
14526         register class preferences in reg->reg copies.  Tighten conditions
14527         for merging register class preferences in reg->reg copies.
14528
14529 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
14530
14531         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
14532
14533 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
14534
14535         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
14536         (INIT_SECTION_ASM_OP): Delete.
14537         (FINI_SECTION_ASM_OP): Delete.
14538         (STARTFILE_SPEC): Define to hold just crtbegin.o.
14539
14540 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
14541
14542         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
14543         the abstract origin wasn't emitted.
14544
14545         * dwarf2out.c (class_scope_p): New fn.
14546         (gen_subprogram_die): Use it.
14547         (gen_variable_die): Use it.  Tweak logic.
14548         (gen_struct_or_union_type_die): Check context_die to determine
14549         if we're function-local.
14550         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
14551
14552 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14553
14554         * loop.c (check_dbra_loop): Can't reverse a biv that has
14555         maybe_multiple set.
14556
14557 1999-12-14  Nick Clifton  <nickc@cygnus.com>
14558
14559         * config/arm/arm.c: Add support for -mcpu=arm720 command line
14560         switch.
14561
14562 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14563
14564         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
14565         for givs made from biv increments.
14566
14567 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
14568
14569         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
14570         * alpha.c (override_options): Recognize -mcpu=ev67.
14571         * alpha.h (CPP_CPU_EV67_SPEC): New.
14572         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
14573         (EXTRA_SPECS): Update.
14574
14575 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
14576
14577         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
14578         appropriate for -lang-c89 and -std=*.
14579         * cppinit.c (cpp_handle_option): Likewise.
14580         (new_pending_define): New, split out from cpp_handle_option.
14581         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
14582         or enable trigraphs for -ansi/-std=*.
14583
14584         * ginclude/stdarg.h (__va_copy): New.
14585         (va_copy): Don't define for C89.
14586
14587 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
14588
14589         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
14590         for long long multiply-accumulate.
14591
14592 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14593
14594         * regclass.c (scan_one_insn): Set loop_cost to 1 when
14595         optimizing for size.
14596
14597 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14598
14599         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
14600         if something changed.  Back out that part of yesterday's changes.
14601
14602         * loop.c (loop_max_reg): New static variable.
14603         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
14604         max_reg_num.
14605         (scan_loop): Call reg_scan_update whenever we may have added new
14606         registers, and update loop_max_reg.
14607
14608 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14609
14610         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
14611         when source does not die.
14612
14613         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
14614
14615 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
14616
14617         * config/sparc/linux64.h (TARGET_LIVE_G0,
14618         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
14619         variants on Linux.
14620         * config/sparc/linux.h (TARGET_LIVE_G0,
14621         TARGET_BROKEN_SAVERESTORE): Likewise.
14622         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
14623         TARGET_BROKEN_SAVERESTORE): Likewise.
14624
14625         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
14626         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
14627         not %g2.
14628         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
14629         as sparc64 block profiling register.
14630         * config/sparc/sparc.c (sparc_override_options): Allow block
14631         profiling with -m32.
14632         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
14633         profiling register.
14634         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
14635         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
14636         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
14637
14638         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
14639         for sparc64.
14640         * config/sparc/sparc.h: Likewise.
14641         * config/sparc/xm-sysv4-64.h: Likewise.
14642         * config/float-sparc.h: Likewise.
14643         * glimits.h: Likewise.
14644         * longlong.h: Likewise.
14645
14646         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
14647         (ASM_IDENTIFY_GCC): Remove.
14648
14649 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
14650
14651         * combine.c (combine_simplify_rtx): Don't make shared rtl.
14652         (simplify_logical): Likewise.
14653
14654 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14655
14656         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
14657         * cppfiles.c (INO_T_EQ): Likewise.
14658
14659 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
14660
14661         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
14662         * i386/mingw32.h (LIB_SPEC): Likewise.
14663         (STARTFILE_SPEC): Likewise.
14664         * i386/uwin.h (LIB_SPEC): Likewise.
14665         (STARTFILE_SPEC): Likewise.
14666
14667         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
14668         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
14669
14670 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
14671
14672         * combine.c (combine_simplify_rtx): Fix order of checks for
14673         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
14674
14675 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
14676
14677         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
14678         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
14679
14680 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14681
14682         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
14683         defined.
14684         * regclass.c (inv_reg_alloc_order): New array.
14685         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
14686
14687         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
14688         counted_for_groups, counted_for_nongroups.  Add fields rld and
14689         n_reloads.
14690         * reload.c (push_secondary_reload): Don't set nongroup field of
14691         new reloads.
14692         (push_reload): Likewise.
14693         (find_reloads): Delete code to compute nongroup fields.
14694         * reload1.c (reload_insn_firstobj): New static variable.
14695         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
14696         users changed.
14697         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
14698         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
14699         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
14700         functions.
14701         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
14702         functions.
14703         (struct hard_reg_n_uses): Deleted.
14704         (potential_reload_regs): Deleted.
14705         (init_reload): Initialize spilled_pseudos and pseudos_counted.
14706         (reload): Don't try to allocate reload registers if we already know
14707         we have to make another pass.  Call select_reload_regs.  Free memory
14708         starting with reload_firstobj when starting another pass.
14709         Don't allocate spilled_pseudos.
14710         (calculate_needs_all_insns): Call copy_reloads for an insn that
14711         needs reloads; don't call calculate_needs.
14712         (spill_cost): New static array.
14713         (used_spill_regs_local): New static variable.
14714         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
14715         to compute potential_reload_regs.
14716         (find_reload_regs): Completely rewritten to use find_reg.
14717         (allocate_reload_reg): Don't test counted_for_groups or
14718         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
14719         all cllers changed.
14720         (choose_reload_regs): Add fallback code that uses the existing
14721         register allocation from find_reload_regs.
14722
14723 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
14724
14725         * flow.c (create_edge_list): Cast xmalloc return value.
14726
14727 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
14728
14729         * doprnt.c: Remove incorrect comment closure.
14730
14731         * cse.c: Fix a few minor whitespace goofs.
14732
14733 1999-12-13  Don Bowman  <don@pixstream.com>
14734
14735         * mips/vxworks.h: Fix problem with comment termination.
14736         (EXTRA_SECTIONS): Add in_sbss.
14737         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
14738
14739 1999-12-12  David S. Miller  <davem@redhat.com>
14740
14741         * cse.c (struct cse_reg_info): Add hash_next member,
14742         reorder rest of struct for better packing on 64-bit
14743         hosts.
14744         (cse_reg_info_tree): Kill.
14745         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
14746         REGHASH_FN): New custom pow2 hash mechanism.
14747         (NBUCKETS): Kill.
14748         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
14749         use a pow2 hash table.
14750         (get_cse_reg_info): Rework to use new REGHASH.
14751         (new_basic_block): Likewise, use HASH_SIZE, and inline
14752         free_element call.
14753         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
14754         and inline free_element call.
14755         (lookup_as_function, insert, flush_hash_table, invalidate,
14756         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
14757         invalidate_for_call, use_related_value, find_comparison_args,
14758         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
14759         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
14760         get_element): Kill.
14761
14762 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
14763
14764         * cse.c (cse_basic_block): Free qty_table consistently.
14765
14766 1999-12-12  David S. Miller  <davem@redhat.com>
14767             Jakub Jelinek    <jakub@redhat.com>
14768
14769         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
14770         SUBREGs by hand, gen the appropriate hard reg directly.
14771         (movtf reg/mem split): Likewise and alter_subreg on destination
14772         if necessary.
14773         (movtf mem/reg split): Similarly.
14774         (movdf_cc_sp64): Rename from hidden pattern.
14775         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
14776         (movtf_cc_sp64, following split): New pattern and splitter.
14777         (movdf_cc_reg_sp64): Rename from hidden pattern.
14778         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
14779         TARGET_HARD_QUAD.
14780         (movtf_cc_reg_sp64, following split): New pattern and splitter.
14781
14782 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
14783
14784         * loop.c (load_mems): Don't hoist written floating point mem
14785         if -ffloat-store.
14786
14787 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
14788
14789         * except.h (struct eh_queue): Add `next' pointer.
14790         (struct eh_status): Make x_ehqueue a pointer.
14791         (push_ehqueue):  Declare.
14792         (pop_ehqueue): Likewise.
14793         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
14794         pointer.
14795         (expand_fixup_region_end): Likewise.
14796         (expand_leftover_cleanups): Likewise.
14797         (push_ehqueue): Define.
14798         (pop_ehqueue): Likewise.
14799         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
14800         than doing it inline.
14801         (expand_start_all_catch):  Adjust now that ehqueue is a
14802         pointer.
14803         (mark_eh_queue): Mark all level of the queue.
14804         (mark_eh_status):  Adjust now that ehqueue is a
14805         pointer.
14806         (init_eh_for_function): Allocate ehqueue.
14807         (free_eh_status): Free it.
14808         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
14809         expansion for a fixup.
14810
14811 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14812
14813         * gthr-single.h (__gthread_active_p): Add prototype arguments.
14814
14815         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
14816         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
14817         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
14818         function_ptr, getpagesize, __enable_execute_stack,
14819         __enable_execute_stack, __clear_insn_cache,
14820         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
14821         _cleanup, _exit, __default_terminate, __terminate_func,
14822         __terminate, __empty, __throw, new_eh_context,
14823         eh_context_initialize, eh_context_static, eh_context_specific,
14824         get_eh_context, __get_eh_context, __get_eh_info,
14825         init_reg_size_table, eh_threads_initialize,
14826         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
14827         __unwinding_cleanup, throw_helper, __throw, __rethrow,
14828         __pure_virtual): Add prototype arguments.
14829         (__bb_exit_func): Cast a sizeof to long when comparing against one.
14830         Cast a signed value to unsigned long when comparing against one.
14831         (new_eh_context): Wrap in _GTHREADS macro.
14832         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
14833         declaration.
14834         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
14835         (throw_helper): Initialize variables `handler_p' and `pc_p'.
14836
14837 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14838
14839         * combine.c (record_promoted_value): Remove unused variable
14840         `links2'.
14841
14842         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
14843
14844         * global.c (record_conflicts): Likewise for `j'.
14845
14846         * genoutput.c (output_insn_data): Don't unnecessarily cast away
14847         const-ness.
14848
14849 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14850
14851         * i386-protos.h (output_387_binary_op, output_fix_trunc,
14852         output_fp_compare): Constify a char*.
14853
14854         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
14855         static prototypes.
14856         (override_options, ix86_comp_type_attributes, print_operand,
14857         output_387_binary_op, output_fix_trunc, output_fp_compare):
14858         Constify a char*.
14859         (ix86_sched_reorder): Mark parameter `clock_var' with
14860         ATTRIBUTE_UNUSED.
14861
14862         * i386.h (DEBUG_PRINT_REG): Constify a char*.
14863
14864 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
14865
14866         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
14867         operand, for use in the Java front-end.
14868
14869 1999-12-10  Ben Collins  <bcollins@debian.org>
14870
14871         * configure.in: Fix typo for "-64" in 64bit as check.
14872         * configure: Rebuilt.
14873
14874 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
14875
14876         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
14877         appropriate.
14878
14879 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14880
14881         * c-parse.in (string): With -Wtraditional, warn if ANSI string
14882         concatenation is utilized.
14883
14884         * invoke.texi (-Wtraditional): Document it.
14885
14886 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14887
14888         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
14889         Cast a ptrdiff_t to long and pass it to printf with %ld.
14890
14891 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
14892
14893         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
14894         68881, we have no 68881 registers at all.
14895         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
14896         value in a 68881 register if it is available.
14897
14898 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
14899
14900         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
14901         for long long multiply-accumulate.
14902
14903 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
14904
14905         * loop.c (insert_loop_mem): Undo last change.
14906
14907 1999-12-10  David S. Miller  <davem@redhat.com>
14908
14909         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
14910         New functions.
14911         * config/sparc/sparc-protos.h: Add them.
14912         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
14913         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
14914         constraints which use those helpers.
14915         (EXTRA_CONSTRAINT): Use this new macro.
14916         * md.texi: Update sparc target constraints documentation.
14917         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
14918         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
14919         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
14920         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
14921         (movsf high/lo_sum split): Rework for new patterns.
14922         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
14923
14924 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
14925
14926         * c-common.c (c_common_nodes_and_builtins):
14927         Create __builtin_ptrdiff_t and __builtin_size_t.
14928
14929 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
14930
14931         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
14932
14933 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14934
14935         * regclass.c (globalize_reg): Re-instate test that allows
14936         fixed registers to be declared as a variable even after functions
14937         are defined.
14938
14939 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14940
14941         * i386.md (cpu attribute): Add "athlon".
14942         (athlon_decode): New attribute.
14943         (Athlon scheduling units definitions): New.
14944         (fcmp and shld patterns): Set athlon_decode to "vector".
14945         * i386.c (athlon_cost): New.
14946         (m_ATHLON): New.
14947         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
14948         x86_use_sahf): Set for Athlon.
14949         (x86_use_fiop): Unset for Athlon.
14950         (override_options): Define Athlon alignments and "athlon" name.
14951         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
14952         * i386.h (TARGET_ATHLON): New.
14953         (enum processor_type): Add PROCESSOR_ATHLON.
14954         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
14955         for CPU_DEFAULT==5
14956         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
14957
14958 1999-12-09  Andreas Jaeger  <aj@suse.de>
14959
14960         * loop.c (record_biv): Declare parameter as int.
14961
14962         * config/i386/i386-protos.h: Declare long_memory_operand.
14963
14964 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
14965
14966         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
14967         EXPR_WITH_FILE_LOCATION.
14968
14969 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
14970
14971         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
14972         in expander.
14973
14974         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
14975
14976         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
14977         updating code.
14978
14979 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
14980
14981         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
14982         default on linux64 again.
14983         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
14984         models for multilibing.
14985         * genmultilib: Accept | as alternative separator within a set in
14986         MULTILIB_OPTIONS.
14987
14988         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
14989
14990         * calls.c (precompute_arguments): Make sure initial_value contains
14991         value pseudo which CSE expects.
14992         * cse.c (struct set): New entry orig_src.
14993         (cse_insn): Set it early on entry, use it for libcall EQUIV note
14994         replacement.
14995
14996 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
14997
14998         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
14999
15000 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
15001
15002         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
15003
15004 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
15005
15006         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
15007         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
15008
15009         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
15010         if TARGET_ARCH32.
15011
15012         * longlong.h: Merge in changes from glibc.
15013         Also don't clobber %g2 register in 32bit SPARC assembly, so that
15014         -mno-app-regs libgcc can be compiled.
15015         * libgcc2.c: Add defines so that the updated longlong.h
15016         can be used in libgcc2.a. Also, make sure on most architectures
15017         (at least on all which have optimized code in longlong.h defined
15018         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
15019
15020 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15021
15022         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
15023         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
15024         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
15025         is GNU ld.
15026         * configure: Rebuilt.
15027
15028 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
15029
15030         * alpha.c (secondary_reload_class): For !BWX, sub-simode
15031         outputs require a register.
15032
15033 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
15034
15035         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
15036         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
15037         functions like dptoul will be resolved.
15038         (libgcc2.a): Make sure that the object files from DPBIT are named
15039         differently (prefix `_dp') from those that would be coming from
15040         FPBIT.
15041
15042 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
15043
15044         * configure.in: When target is sparc* and tm_file contains 64,
15045         test for 64bit support in assembler.  If not supported, remove
15046         sparc/t-sol2-64 from target-dependent Makefile fragments.
15047         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
15048         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
15049         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
15050         * acconfig.h (AS_SPARC64_FLAG): Added.
15051         * configure, config.in: Rebuilt.
15052         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
15053         support.  Use AS_SPARC64_FLAG.
15054
15055 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
15056
15057         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
15058         suitable for holding OFmode values so that gcc works with complex
15059         quad long doubles.
15060         (hard_64bit_mode_classes): Likewise.
15061
15062         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
15063         so that it is actually matched.
15064         (sethi_di_medlow): Likewise.
15065
15066         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
15067         as legitimate constant if -mvis.
15068         * config/sparc/sparc.md (movtf): Likewise.
15069         (clear_sf): Use const_double_operand.
15070         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
15071
15072         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
15073         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
15074         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
15075         routines, _Qp_* cannot be handled like that now.
15076         (INIT_TARGET_OPTABS): Likewise.
15077         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
15078         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
15079         sparc_emit_float_lib_cmp if ARCH64 and soft float.
15080         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
15081         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
15082         divtf3, sqrttf3): New expanders.
15083         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
15084         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
15085         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
15086         non-_hq patterns.
15087
15088         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
15089         * configure: Rebuilt.
15090         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
15091         -mcpu is given and we're doing 64bit compiles.
15092
15093 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
15094
15095         * loop.h (struct induction): Add multi_insn_incr.
15096         * loop.c (basic_induction_var): New multi_insn_incr argument.
15097         Set it if we search back through previous insns for the biv.
15098         (record_biv): New multi_insn_incr argument; fill in struct induction.
15099         (strength_reduce): Discard an iv with multiple bivs, any of
15100         which require multiple insns to increment.
15101
15102 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15103
15104         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
15105         documentation.
15106
15107 1999-12-06  David S. Miller  <davem@redhat.com>
15108
15109         * combine.c (check_promoted_subreg): Do not conditionalize this upon
15110         PROMOTE_FUNCTION_RETURN.
15111
15112 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
15113
15114         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
15115         and handle REG_UNUSED note on insn.
15116
15117         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
15118         inner_mask instead of mask.
15119
15120 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
15121
15122         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
15123         zero if there was an error.
15124
15125 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
15126
15127         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
15128         output string.
15129
15130         * longlong.h: Fix clobbers in SPARC asm statements.
15131
15132         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
15133         valid sethi operations when TARGET_ARCH64.
15134
15135         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
15136         always use move_by_pieces to avoid infinite recursion.
15137         (restore_fixed_argument_area): Likewise.
15138
15139         * combine.c (check_promoted_subreg, record_promoted_value): New
15140         functions.
15141         (combine_instructions): Use them to retain nonzero and sign bit
15142         information after SUBREGs are eliminated by optimizations in
15143         this pass if PROMOTE_FUNCTION_RETURN.
15144
15145         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
15146         .register declaration. Don't use variables with __ prefixes.
15147
15148 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15149
15150         * fold-const.c (optimize_bit_field_compare): Only use one mode
15151         for both RHS and LHS in non-constant case.
15152
15153 1999-12-06  Nathan Sidwell  <nathan@acm.org>
15154
15155         * frame.c (start_fde_sort): Only allocate erratic array, if
15156         linear one was allocated. Return allocated flag.
15157         (fde_insert): Only insert, if there's a valid array.
15158         (fde_end_sort): Split, sort and merge if linear and erratic
15159         arrays exist, else just sort linear one.
15160         (search_fdes): New function. Linear search through original fde
15161         structure.
15162         (frame_init): Permit multiple initializations. Cope with
15163         memory shortages.
15164         (find_fde): Fallback on linear search, if failed to sort array.
15165         (__deregister_frame_info): Only free sorted array, if we
15166         allocated it.
15167
15168 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
15169
15170         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
15171
15172 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
15173
15174         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
15175
15176 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
15177
15178         * tree.h (special_function_p): Declare.
15179         * calls.c (special_function_p): Make it global.  Don't take `name'
15180         as a parameter.  Fix typo in 1999-11-28 change.
15181         (expand_cal): Adjust.
15182
15183 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
15184
15185         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
15186         * tree.h (EXPR_WFL_FILENAME): Define in terms of
15187         EXPR_WFL_FILENAME_NODE.
15188         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
15189         the TREE_CHAIN.
15190         * print-tree.c (print_note): Print TREE_PRIVATE and
15191         TREE_PROTECTED.
15192
15193         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
15194         the original die cannot be found.
15195
15196         * varray.h (varray_head_tag): Add elements_used.
15197         (VARRAY_PUSH): New macro.
15198         (VARRAY_POP): Likewise.
15199         (VARRAY_TOP): Likewise.
15200         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
15201         types.
15202         * varray.c (varray_init): Initialize elements_used.
15203         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
15204         (INTEGRATE_H): New variable.
15205         (integrate.o): Depend on INTEGRATE_H.
15206         (unroll.o): Likewise.
15207
15208         * function.h (insert_block_after_note): Declare.
15209         * function.c (insert_block_after_note): Split out from ...
15210         (retrofit_block): ... here.
15211
15212         * stmt.c (expand_fixup): Fix typo in comment.
15213
15214 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15215
15216         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
15217         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
15218         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
15219         (regmove_optimize, fixup_match_1): Likewise.
15220
15221 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15222
15223         * flow.c (flow_loops_dump): Add missing argument when calling
15224         flow_loop_nested_p.
15225
15226 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
15227             Greg McGary  <gkm@gnu.org>
15228
15229         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
15230         (init_attributes): Add A_NO_LIMIT_STACK.
15231         (decl_attributes): Handle A_NO_LIMIT_STACK.
15232         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
15233         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
15234         Handle stack bounds checking.
15235         * flags.h (flag_stack_check): Use the word 'probe' rather than
15236         'check', because the flag doesn't actually cause any checking to
15237         be done.
15238         * function.c (expand_function_start): Set
15239         current_function_limit_stack.
15240         * function.h (struct function): Add limit_stack.
15241         (current_function_limit_stack): Define.
15242         * invoke.texi (Code Gen Options): Document new options.
15243         * rtl.h: Declare stack_limit_rtx.
15244         * toplev.c (stack_limit_rtx): New variable.
15245         (decode_f_option): Handle new options -fstack-limit-register=REG,
15246         -fstack-limit-symbol=IDENT, -fno-stack-limit.
15247         (main): Add stack_limit_rtx as GC root.
15248         * tree.h (DECL_NO_LIMIT_STACK): New macro.
15249         (struct tree_decl): New member no_limit_stack.
15250
15251         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
15252         stack_limit_rtx.
15253         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
15254         (conditional_trap+1): Get new mnemonic correct.
15255         (conditional_trap+2): New pattern for DImode traps.
15256
15257         * config/m68k/m68k.c (output_function_prologue): Handle
15258         stack_limit_rtx.
15259         * config/m68k/m68k.md (trap): New insn.
15260         (conditional_trap): New insn.
15261         * md.texi (Standard Names): Document `trap' and
15262         `conditional_trap'.
15263         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
15264         so a cc0 setter doesn't get emitted at some random place in the
15265         function.
15266
15267         * config/i960/i960.md (trap): New insn.
15268         (conditional_trap): New expander.
15269         (conditional_trap+1, conditional_trap+2): New insns for signed
15270         and unsigned cases.
15271         * config/i960/i960.c (i960_function_prologue): Use
15272         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
15273
15274 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
15275                           Geoffrey Keating  <geoffk@cygnus.com>
15276
15277         * flags.h (warn_padded, warn_packed): Add global var decls.
15278         * toplev.c (warn_padded, warn_packed): Add global var defns.
15279         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
15280         * stor-layout.c (layout_record): Add local variable `type'
15281         to hold often-used TREE_TYPE (field).  Add local variable
15282         `unpacked_align' to hold alignment that would be in force
15283         if no `packed' attribute were present.  Warn if `packed' attribute
15284         is unnecessary, or even harmful.  Warn when gcc inserts padding
15285         to satisfy alignment requirements of members.  Use NULL_TREE
15286         when checking whether var_size is set.
15287         * invoke.texi: Document new flags.
15288
15289 1999-12-03  Nathan Sidwell  <nathan@acm.org>
15290
15291         * frame.c (fde_split): Reimplement to avoid variable sized array.
15292
15293 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15294
15295         * combine.c (try_combine): Before fixing up LOG_LINKS for the
15296         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
15297
15298 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
15299
15300         * invoke.texi: Document the mips option -mno-crt0
15301
15302 1999-12-02  Mike Karr  <mkarr@mathworks.com>
15303
15304         * cccp.c (argdata): Added free_ptr member.
15305         (macroexpand): Initialize free_ptr of each argument. When an
15306         argument's buffers are freed, if the argument's free_ptr corresponds
15307         to a buffer on the input stack, then return the free_ptr to that stack
15308         frame, otherwise, free it.
15309         (macarg): If an argument begins and ends on the same input stack level,
15310         then transfer the free_ptr of that buffer to the argument in case
15311         the stack is popped during the processing of a subsequent argument.
15312
15313 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
15314
15315         * loop.c (note_reg_stored): New function.
15316         (struct note_reg_stored_arg): New structure.
15317         (try_copy_prop): Change to be more conservative; only replace within
15318         one extended basic block and stop replacing if a store to the
15319         replacement reg is seen.
15320
15321 1999-12-02  Nick Clifton  <nickc@cygnus.com>
15322
15323         * config/fp-bit.c: Initialise all fields of the NAN
15324         constants.
15325
15326         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
15327         to HANDLE_PRAGMA.
15328
15329 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
15330
15331         * i386.md (extend?f?f2): Force the input into a register, not
15332         the output.
15333
15334 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
15335
15336         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
15337         regclass' sake.
15338         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
15339         alternative because setting up 64bit constant is usually costly,
15340         especially when reload is in progress or completed.
15341         (movdf_const_intreg_sp64): Likewise.
15342         (movdf_const_intreg split): Fix building up constants when
15343         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
15344
15345 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
15346
15347         * combine.c (if_then_else_cond): Use const_true_rtx instead of
15348         const1_rtx for return values in EQ/NE comparison against (const_int 0)
15349         case.
15350
15351         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
15352         (asm_file_start): Emit .am33 into assembly file when compiling for
15353         the AM33.
15354         (print_operand_address): Handle POST_INC addresses.
15355         (can_use_return_insn, initial_offset): Check AM33 registers too.
15356         (expand_prologue): Check & save AM33 registers too.
15357         (expand_epilogue): Similarly.
15358         (secondary_reload_class): Handle AM33 specific secondary reloads.
15359         (output_tst): Emit efficient code for the AM33 too.
15360         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
15361         (TARGET_SWITCHES): Add -mam33 switch.
15362         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
15363         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
15364         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
15365         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
15366         (enum reg_class, REG_CLASS_NAMES): Likewise.
15367         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
15368         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
15369         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
15370         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
15371         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
15372         (HAVE_POST_INCREMENT): Define.
15373         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
15374         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
15375         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
15376         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
15377         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
15378         (zero_extend to SI from QI/HI): Likewise.
15379         (sign_extend to SI from QI/HI): Likewise.
15380         (mulsidi3, umulsidi3): New patterns for the AM33.
15381         (tstsi with zero extension from QI/HI): Add AM33 variants.
15382         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
15383         (return_internal_regs, store_movm): Handle new AM33 registers.
15384         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
15385         (LIBGCC, INSTALL_LIBGCC): Likewise.
15386         * invoke.texi: Document new flags.
15387
15388 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15389
15390         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
15391         (addsi3_carry): Likewise.
15392         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
15393         (sbbsi3_carry): Likewise.
15394         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
15395         (mulhi3): Likewise.
15396         (test?i_1): Ensure that only one operand is memory.
15397         (conditional move patterns): likewise.
15398         (shift and rotate patterns): Rewrite to expander, add
15399         "binary_operator_ok" to the condition.
15400
15401         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
15402         * i386.h (procesor_costs): Add movzbl_load field.
15403         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
15404         non-Q registers, accept DImode registers anywhere.
15405         (Q_CLASS_P): New.
15406         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
15407         * i386.c (*_cost): Set value for movxbl_load field.
15408
15409         * (addsi): New add to lea splitter.
15410         (ashlsi): Likewise.
15411         (lea to add/shift peep2): New.
15412
15413 1999-12-01  Mark Salter <msalter@cygnus.com>
15414
15415         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
15416         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
15417         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
15418
15419 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15420
15421         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
15422         * i386.md (movsi_xor): New.
15423         (movsi_or): New.
15424         (movsi_1, movhi_1, movqi_1): Remove.
15425         (movsi_2): Rename to movsi_1.
15426         (movhi_2): Rename to movhi_1.
15427         (movqi_2): Rename to movqi_1.
15428         (movdi_1): Remove; remove splitter.
15429         (movdi_2): Rename to movdi_1.
15430         (divmodsi4 splitter): Do not emit clobbers for move patterns.
15431         (long move peep2): Do not create QI or HI mode mov0s
15432         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
15433
15434         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
15435         rewrite splitters.
15436
15437         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
15438         (abs?f2_if): Likewise.
15439
15440 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
15441
15442         * ggc.h (ggc_test_and_set_mark): New macro.
15443         (ggc_mark_rtx): Use ggc_test_and_set_mark.
15444         (ggc_mark_tree): Likewise.
15445         (ggc_mark_rtvec): Likewise.
15446         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
15447
15448 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
15449
15450         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
15451         containing types.
15452         (decl_scope_table): Just an array of trees now.
15453         (push_decl_scope): Simplify.
15454         (dwarf2out_init): Adjust.
15455         (local_scope_p): New fn.
15456         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
15457         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
15458         (gen_typedef_die): Likewise.
15459         (gen_lexical_block_die): Don't call push/pop_decl_scope.
15460         (gen_inlined_subroutine_die): Likewise.
15461         (gen_abstract_function): Set current_function_decl temporarily.
15462         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
15463         Handle block extern declarations.  Don't call push/pop_decl_scope.
15464         (gen_decl_die): Fix logic for block externs.
15465
15466 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15467
15468         * calls.c (special_function_p): Remove `realloc' and add `strdup'
15469         to the list of functions which have attribute malloc by default.
15470
15471 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15472
15473         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
15474         integer constant does not match the traditional type, limit the
15475         warnings to cases where the base of the type is ten.
15476
15477         * invoke.texi (-Wtraditional): Document it.
15478
15479 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15480
15481         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
15482         * rs6000.md: Only access a CONST_INT with INTVAL
15483
15484 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
15485
15486         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
15487         (compute_nearerout): Likewise.
15488         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
15489         size_t to unsigned long for formatting.
15490
15491 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
15492
15493         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
15494         Allow the user to override call-used/fixed state of %g2-5
15495         registers from the command line (with the exception of %g4 for
15496         embedded model).
15497         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
15498         there is a higher chance of having a leaf function.
15499         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
15500         for ARCH64 which has %ccr register.
15501         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
15502         patterns.
15503         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
15504         insn accept into delay slot any insn which does not use %[ol]
15505         registers.  Accept some LO_SUM and shift left by 1 for the normal
15506         restore case.
15507         (output_function_epilogue): Likewise.
15508         (epilogue_renumber): Added argument which inhibits any renumbering
15509         and just tests if the rtx does not use any %[ol] registers.
15510         (output_return): Reflect above change.
15511
15512 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
15513
15514         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
15515         aggregate passing for sizes <= 16 bytes.
15516
15517 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
15518
15519         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
15520         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
15521         * reload.c (find_dummy_reload): Likewise.
15522         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
15523         * reload1.c (reload_as_needed): Likewise.
15524         * stupid.c (stupid_find_reg): Likewise.
15525         * tm.texi (Obsolete Register Macros): Delete section.
15526         * gmicro.h: Remove all traces of the two macros.
15527         * i386.h: Likewise.
15528         * m88k.h: Likewise.
15529         * mips.h: Likewise.
15530
15531 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
15532
15533         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
15534         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
15535         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
15536         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
15537         units for the sparclite86x chip.
15538         (flush): Revert October 14th change; add SImode specifically.
15539         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
15540         * invoke.texi: Document it.
15541
15542 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
15543
15544         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
15545         psimode_truncation_operand.
15546
15547         * config/mn10200/mn10200.c (psimode_truncation_operand): New
15548         function.  Return true if the operand is either a MEM valid
15549         for a PSImode address or not a MEM at all.
15550
15551         * config/mn10200/mn10200.md (truncsipsi2): Use
15552         psimode_truncation_operand.
15553
15554 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15555
15556         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
15557         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
15558         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
15559         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
15560         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
15561         (flow_loop_level_compute, low_loops_level_compute): Likewise.
15562         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
15563         * basic-block.h: Protect from multiple inclusion.
15564         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
15565         (struct loops, struct loop): Define structures.
15566         * sbitmap.c (sbitmap_a_subset_b_p): New function.
15567         * sbitmap.h: Protect from multiple inclusion.
15568         (sbitmap_a_subset_b_p): Add prototype.
15569         * Makefile.in (LOOP_H): New macro.
15570         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
15571
15572 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
15573
15574         * cppinit.c (CAT): The argument list of this macro may not contain
15575         spaces !
15576
15577 1999-11-29  David S. Miller  <davem@redhat.com>
15578
15579         Move quantity tables and register equivalence chains into
15580         per-qty and per-register structure arrays respectively.
15581         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
15582         qty_const_insn, qty_comparison_code, qty_comparison_const,
15583         qty_comparison_qty): Delete, replace with...
15584         (qty_table): this structure table.
15585         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
15586         (reg_eqv_table): this structure table.
15587         (make_new_qty): Add argument MODE.  Caller updated.
15588         Update to use qty_table and reg_eqv_table.
15589         (make_regs_eqv, delete_reg_equiv, insert_regs,
15590         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
15591         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
15592         cse_process_notes, cse_main, cse_basic_block): Likewise.
15593
15594 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15595
15596         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
15597         operation if C is negative.
15598         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
15599         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
15600         law for some divisions if constant is negative and change other
15601         divisions to the opposite rounding.
15602
15603         * expr.c (store_constructor_field): If bit position is not multiple
15604         of alignment of TARGET's mode, use BLKmode.
15605
15606         * expr.c (expand_expr_unaligned): Add more code from full case
15607         that is needed when OP0 is in a register.
15608
15609 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15610
15611         * dwarfout.c (field_byte_offset): Size can be zero if there was
15612         an error.
15613
15614 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15615
15616         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
15617         (associate_trees): Delete unused var TEM.
15618         (extract_muldiv): Delete unused var CANCEL_P.
15619
15620         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
15621         (target_isinf, target_isnan, target_negative): Add return types to
15622         function definitions.
15623
15624 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
15625
15626         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
15627         * fixinc/hackshell.tpl: ditto
15628         * fixinc/fixtests.c(double_slash_test): more C++ header testing
15629         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
15630
15631 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
15632
15633         * reload.c (push_reload): When looking for a register to put into
15634         reg_rtx, make sure all hard regs in a multi-reg register are in the
15635         right class and nonfixed.
15636
15637         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
15638         pending_read_insns, pending_write_insns, pending_read_mems,
15639         pending_write_mems, pending_list_length, last_pending_memory_flush,
15640         last_function_call, sched_before_next_call): Move static variables
15641         into a structure.
15642         (bb_ prefixed versions): Replace with single array bb_deps.
15643         (struct deps): New structure.
15644         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
15645         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
15646         argument of type "struct deps *"; use that instead of global
15647         variables.  All callers changed.
15648         (init_rgn_data_dependencies): Delete function.
15649         (init_rtx_vector): Delete function.
15650         (init_deps): New function.
15651
15652         (free_pending_lists): Simplify, we always use the bb_deps array even
15653         if only one basic block.
15654         (compute_block_backward_dependences): Likewise.
15655         (schedule_region): Likewise.
15656
15657         (propagate_deps): New function, broken out of
15658         compute_block_backward_dependences.
15659         (compute_block_backward_dependences): Use it.
15660
15661         * alpha.md: Delete useless patterns that tried to work around
15662         register elimination problems.
15663
15664         * unroll.c (loop_iterations): Don't abort if iteration variable
15665         was made by loop.
15666
15667         From Joern Rennecke:
15668         * reload1.c (reloads_conflict): Reverse test comparing operand
15669         numbers when testing for conflict between output/outaddr reloads.
15670
15671 1999-11-29  David S. Miller  <davem@redhat.com>
15672
15673         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
15674         arg.
15675         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
15676
15677 1999-11-28  Robert Lipe  <robertl@cygnus.com>
15678
15679         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
15680         table from .fini into .dtor.
15681
15682 1999-11-28  Anthony Green  <green@cygnus.com>
15683
15684         * tree.h (struct tree_decl): Add malloc_flag.
15685         (DECL_IS_MALLOC): Define.
15686         * c-common.c (attrs): Add A_MALLOC attribute.
15687         (init_attributes): Add this attribute to the table.
15688         (decl_attributes): Handle malloc attribute.
15689         * calls.c (special_function_p): Check for the malloc attribute.
15690         * extend.texi (Function Attributes): Document malloc attribute.
15691
15692 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
15693
15694         * pa.md (reload shift-add patterns): Remove.
15695
15696 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15697
15698         * reorg.c (dbr_schedule) Print more statistics. Corrected
15699         problem when printing info when 3 delay slots are filled.
15700
15701 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
15702
15703         * combine.c (setup_incoming_promotions): Pass an outgoing
15704         regno to FUNCTION_ARG_REGNO_P which it expects.
15705
15706 1999-11-28  Andreas Jaeger  <aj@suse.de>
15707
15708         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
15709
15710 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
15711
15712         * cccp.c (do_include): Avoid initialization of automatic variable.
15713
15714         * integrate.c (mark_stores): Function definition made void, to match
15715         previous declaration.
15716         * regclass.c (dump_regclass): Ditto.
15717         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
15718
15719 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15720
15721         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
15722         known to be multiple of divisor.
15723
15724         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
15725
15726         * combine.c (try_combine): Add code to try to merge a set of a
15727         two-word pseudo to a constant with a setting of one of those words
15728         to a constant.
15729
15730         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
15731         (split_tree): Completely rework to make more general.
15732         (make_range, fold): Call negate_expr.
15733         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
15734         (fold, associate): Call new split_tree and associate_trees.
15735         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
15736
15737 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
15738
15739         * loop.c (try_copy_prop): Avoid GNU C extension.
15740
15741 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15742
15743         * except.c (init_eh_for_function): Still zero eh_return_context,
15744         eh_return_stack_adjust, and eh_return_handler.
15745
15746         * except.h (eh_status): Adjust documentation for x_protect_list.
15747         (begin_protect_partials): New function.
15748         * except.c (enqueue_eh_entry): Fix formatting.
15749         (get_first_handler): Add consistency check.
15750         (add_partial_entry): Adjust usage of protect_list.
15751         (emit_cleanup_handler): Save and restore ehqueue.
15752         (expand_start_all_catch): Add comment.
15753         (begin_protect_partials): New function.
15754         (end_protect_partials): Adjust usage of protect_list.
15755         (init_eh_for_function): Use xcalloc.
15756
15757 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15758
15759         * c-common.c (check_format_info): Don't call a variadic function
15760         with a non-literal format string.
15761
15762         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
15763
15764         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
15765         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
15766         Likewise.
15767
15768         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
15769         Likewise.
15770
15771         * collect2.c (collect_wait): Likewise.
15772
15773         * dbxout.c (dbxout_type): Likewise.
15774
15775         * gcc.c (do_spec_1): Likewise.
15776
15777         * genemit.c (gen_insn, gen_expand): Likewise.
15778
15779         * genrecog.c (write_switch, write_subroutine): Likewise.
15780
15781         * mips-tfile.c (catch_signal, botch): Likewise.
15782
15783         * print-rtl.c (print_rtx): Likewise.
15784
15785         * toplev.c (default_print_error_function, report_error_function,
15786         _fatal_insn): Likewise.
15787
15788 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
15789
15790         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
15791
15792 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15793
15794         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
15795         operations when needed.
15796         * i386.md (fop_?f_comm): New.
15797         (fop_?f_1): Do not accept commutative operands.
15798
15799 1999-11-25  Andreas Jaeger  <aj@suse.de>
15800
15801         * config/mips/mips.md (casesi_internal): Add missing brace.
15802
15803 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
15804
15805         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
15806         (splice_child_die): Handle moving a child DIE from the declaration
15807         DIE of a class to its specification.
15808         (gen_struct_or_union_type_die): Use 'complete' consistently.
15809         (gen_decl_die): Generate the virtual context DIE first.
15810         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
15811
15812 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
15813
15814         * config/mips/mips.md (call_value_multiple_interanal1): New.
15815
15816 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
15817
15818         * dwarf2out.c (free_AT, free_die): New fns.
15819         (remove_children): Call them.
15820         (output_line_info): Disable removal of duplicate notes.
15821
15822         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
15823         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
15824         means pretend the type isn't defined.
15825         Don't defer emitting types.
15826         (gen_type_die_for_member): New fn.
15827         (gen_decl_die): Call it.
15828         (splice_child_die): New fn.
15829         (gen_member_die): Call it rather than generate duplicate dies.
15830
15831         Defer emitting information for the abstract instance of an inline
15832         until we either inline it or emit an out-of-line copy.
15833         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
15834         from output_inline_function if DECL_ABSTRACT is also set.
15835         (block_ultimate_origin): Likewise.
15836         (gen_abstract_function): New fn.
15837         (gen_decl_die, gen_inlined_subroutine_die): Call it.
15838         (gen_subprogram_die):  An abstract instance is not a declaration
15839         just because it doesn't match current_function_decl.  Don't abort
15840         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
15841         has an abstract origin.
15842         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
15843         abstract instance here.
15844
15845 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
15846
15847         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
15848         where we need to reload fpul from a system register.
15849
15850 1999-11-24  Andreas Jaeger  <aj@suse.de>
15851
15852         * config/mips/linux.h (CPP_PREDEFINES): Added.
15853         (LINK_SPEC): Remove -Y since this is only needed on sparc.
15854
15855 1999-11-24  Andreas Jaeger  <aj@suse.de>
15856
15857         * config/mips/linux.h (TARGET_VERSION): Added.
15858         (HANDLE_SYSV_PRAGMA): Added.
15859         (DEFAULT_VTABLE_THUNKS): Added.
15860
15861 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
15862
15863         * local-alloc.c (qty): New structure and static variable.
15864         (qty_phys_reg): Remove, all references changed to qty.
15865         (qty_n_refs): Likewise.
15866         (qty_min_class): Likewise.
15867         (qty_birth): Likewise.
15868         (qty_death): Likewise.
15869         (qty_size): Likewise.
15870         (qty_mode): Likewise.
15871         (qty_n_calls_crossed): Likewise.
15872         (qty_alternate_class): Likewise.
15873         (qty_changes_size): Likewise.
15874         (qty_first_reg): Likewise.
15875         (alloc_qty): Rename variable QTY to QTYNO.
15876         (finf_free_reg): Likewise.
15877         (local_alloc): Allocate qty, do not allocate the removed variables.
15878
15879 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
15880
15881         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
15882         when -membedded-pic is passed.
15883
15884         * config/mips/mips.md (casesi): Handle 64-bit case too.
15885         (casesi_internal_di): New insn.
15886
15887         * config/mips/mips.c (embedded_pic_offset): Always make the
15888         embedded-pic subtractions relative to the name of the current
15889         function by use of the magic string "..CURRENT_FUNCTION".
15890         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
15891
15892 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
15893
15894         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
15895         of (const_int 0), when what we really care about is
15896         whether it's a zero constant anyway.
15897         (div_trap_mips16): Likewise.
15898
15899 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
15900
15901         * loop.c (loop_optimize): Always find_loop_tree_blocks and
15902         unroll_block_trees when generating debuggable code.
15903
15904         * tree.h (unsave_expr_1): New function.
15905         (lang_unsave): New variable.
15906         (get_callee_fndecl): New function.
15907         * tree.c (unsave_expr_now_r): New function.
15908         (lang_unsave): Define.
15909         (unsave_expr_1): Likewise.
15910         (unsave_expr_now_r): Split out from unsave_expr_now.
15911         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
15912         call unsave_expr_now_r.
15913         (get_callee_fndecl): Define.
15914
15915         * Makefile.in (gencheck): Don't depend on lang_tree_files.
15916         (gencheck.o): Do depend on lang_tree_files.
15917
15918         * integrate.h (copy_decl_for_inlining): New declaration.
15919         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
15920         (copy_decl_for_inlining): New function.
15921         (integrate_parm_decls): Use it.
15922         (integrate_decl_tree): Likewise.
15923
15924 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
15925
15926         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
15927         the second two from the first.
15928         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
15929         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
15930         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15931         ISA_HAS_FP4.
15932         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
15933         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15934         ISA_HAS_FP4.
15935
15936 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
15937
15938         * pa.md (call_internal_symref, call_value_internal_symref): No mode
15939         needed on the address operand.
15940         * pa.c (call_operand_address): Check for the correct mode.
15941
15942 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
15943
15944         * loop.c: Include "basic-block.h".
15945         (try_copy_prop, replace_loop_reg): New functions.
15946         (load_mems): Detect registers that just hold copies of the hoisted
15947         mem, and call try_copy_prop to eliminate them.
15948         * Makefile.in (loop.o): Update dependencies.
15949
15950 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
15951
15952         * Makefile.in (gencheck.o): Depend on gencheck.h.
15953         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
15954         (insn-peep.o): Depend on except.h and function.h.
15955         (insn-attrtab.o): Depend on RECOG_H.
15956         (insn-output.o): Depend on toplev.h and flags.h.
15957         (gengenrtl.o): Depend on real.h.
15958         (gen-protos.o): Depend on cpplib.h and cpphash.h.
15959         Unify all dependencies to be on RECOG_H rather than recog.h.
15960
15961 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15962
15963         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
15964         * configure.in: Try building a bi-arch 32/64-bit compiler on
15965         sparc-*-solaris2.7 and higher.
15966         * configure: Rebuild.
15967
15968 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
15969
15970         * config/freebsd.h: New, FreeBSD architecture independent file.
15971         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
15972         independent pieces.
15973         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
15974         directly by i386/freebsd.h.
15975         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
15976         independent configuration file.
15977         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
15978         directly by i386/freebsd.h.
15979         * configure: Rebuilt.
15980
15981         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
15982         which is in the user's namespace.
15983         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
15984         `i386' which is not in our namespace.
15985
15986 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
15987
15988         * invoke.texi (ARM Options): Add in -mno-alignment-traps
15989
15990 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
15991
15992         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
15993         (add_dwarf_attr, add_child_die): Just push onto the front.
15994         (reverse_die_lists): New fn.
15995         (add_sibling_attributes): Use it.
15996         (push_decl_scope): Reorganize.
15997         (add_name_and_src_coords_attributes): Don't set file and line for
15998         an artificial decl.
15999         (gen_subprogram_die): An artificial function doesn't need to match
16000         file and line.
16001         (gen_compile_unit_die): Return the generated die.  Only add
16002         AT_comp_dir if the filename is relative.
16003         (remove_AT): Simplify loop.  Also free string values.
16004         (output_die): A DIE ref can't be null.
16005         (output_value_format, value_format): Take a dw_attr_ref.
16006         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
16007         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
16008         AT_addr, AT_lbl): New fns.
16009         (various): Use them.
16010         (various): Constify.
16011
16012 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16013
16014         * combine.c (combine_simplify_rtx): When handling a SUBREG,
16015         take SUBREG_WORD into account.
16016         (if_then_else_cond): Likewise.
16017
16018 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
16019
16020         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
16021         clause from BSD license, pursuant with
16022
16023           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
16024
16025 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
16026
16027         * loop.c (load_mems): Reformat slightly.
16028         * basic-block.h (regset_head): New typedef.
16029         (INIT_REG_SET): New macro.
16030
16031 1999-11-22  Bruce Korb  <autogen@linuxbox.com
16032
16033         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
16034         (mips-dec-bsd*): non-functional code
16035         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
16036
16037         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
16038         added three replacement fixes
16039         (no_double_slash): removed comments that are not (any longer) pertinent
16040         (bad_lval): this fix currently runs against many files.
16041         The comment seems to indicate that we should select for files
16042         containing 'pragma extern_prefix'.
16043
16044         * fixinc/fixinc.x86-linux-gnu: deleted
16045         * fixinc/inclhack.sh:  regen
16046         * fixinc/fixincl.x:  regen
16047         * fixinc/fixincl.sh:  regen
16048
16049 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
16050
16051         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
16052         its code is INSN and it has no notes.
16053
16054 1999-11-22  Andrew Haley  <aph@cygnus.com>
16055
16056         * varasm.c (function_defined): Remove.
16057         (make_function_rtl): Don't set function_defined.
16058         (make_decl_rtl): Remove global register warning.
16059         * regclass.c (no_global_reg_vars): New variable.
16060         (globalize_reg): Warn if function has already been defined.
16061         (regclass_init): Set no_global_reg_vars.
16062
16063 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16064
16065         * regclass.c (reg_pref): New structure and static variable
16066         (prefclass): Delete.
16067         (altclass): Delete.
16068         (all uses of prefclass and altclass): Use reg_pref instead.
16069
16070 1999-11-21  Nick Clifton  <nickc@cygnus.com>
16071
16072         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
16073         -malignment-traps.
16074         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
16075         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
16076         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
16077
16078 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
16079
16080         * varasm.c (output_constructor): Solve problem with long long
16081         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
16082
16083 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16084
16085         * global.c (allocno): New structure and static variable.
16086         (allocno_reg): Remove, all references replaced by allocno.
16087         (allocno_size): Likewise.
16088         (hard_reg_conflicts): Likewise.
16089         (hard_reg_preferences): Likewise.
16090         (hard_reg_copy_preferences): Likewise.
16091         (hard_reg_full_preferences): Likewise.
16092         (regs_someone_prefers): Likewise.
16093         (allocno_calls_crossed): Likewise.
16094         (allocno_n_refs): Likewise.
16095         (allocno_live_length): Likewise.
16096         (find_reg): Rename ALLOCNO to NUM.
16097
16098         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
16099         references updated.
16100         (may_move_out_cost): New variable.
16101         (init_reg_sets_1): Initialize may_move_out_cost.
16102         (record_reg_classes): Use may_move_out_cost.
16103
16104         * regclass.c (dump_regclass): New function.
16105         (regclass): New parameter DUMP, call DUMP_REGCLASS.
16106         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
16107         pass rtl_dump_file to regclass.
16108         * rtl.h (regclass): Update prototype.
16109
16110 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16111
16112         * i386.md (neg, not and abs patterns): Revmap to use
16113         ix86_expand_unary_operator and ix86_unary_operator_ok.
16114         (add?f and sub?f expanders): Force operand 1 to register.
16115         * i386.c (ix86_expand_unary_operator): Rewrite.
16116         (ix86_unary_operator_ok): Ensure that memory operands
16117         match real opcode.
16118         (ix86_binary_operator_ok): Do not allow operand 1 to
16119         come into memory and operand 0 not.
16120         (ix86_expand_binary_operator): Ensure that
16121         src1 is not non-matching memory.
16122
16123         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
16124         to support integer registers and memory.
16125         (abss?2_integer): Likewise.
16126
16127         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
16128         (REG_CLASS_NAMES): Likewise.
16129         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
16130         and GENERAL_REGS.
16131         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
16132         (movsf): Likewise; unify 4th and 5th alternative.
16133         (pushdf): Likewise.
16134         (movdf_1): Likewise; rename to movdf_integer.
16135         (pushxf): Likewise; rename to pushxf_integer; fix output template;
16136         remove redundant splitter.
16137         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
16138         (movdf_nointeger): New.
16139         (movxf_nointeger): New.
16140         (pushxf_nointeger): New.
16141
16142         * i386.md (extend?f?f): Split to expander and pattern, refuse two
16143         memory operands in patterns.
16144         (fop*): Refuse two memory operands.
16145
16146         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
16147         on !TARGET_USE_CLTD CPUs.
16148
16149 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
16150
16151         * extend.texi: Document C++ restricted pointers and references.
16152
16153 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
16154
16155         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
16156         (invalidate_skipped_set): Call it unconditionally.
16157         (cse_set_around_loop): Likewise.
16158
16159 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
16160
16161         * rtl.texi (mem): Add documentation for alias-set argument
16162         to RTX `mem'.
16163
16164 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16165
16166         * i386.h (struct_processor_costs): New fields int_load, int_store,
16167         fp_move, fp_load and fp_store
16168         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
16169         fp->int moves
16170         (MEMORY_MOVE_COST): New macro.
16171         * i386.c (386_cost): Define new fields.
16172         (i486_cost): Likewise.
16173         (pentium_cost): Likewise.
16174         (pentiumpro_cost): Likewise.
16175         (k6_cost): Likewise.
16176
16177 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
16178                           Geoffrey Keating  <geoffk@cygnus.com>
16179
16180         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
16181
16182         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
16183         MASK_ALIGN_INT.
16184
16185         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
16186         (TARGET_STRICT_ALIGNMENT): New macro.
16187         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
16188         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
16189         * invoke.texi (M680x0 Options): Document -mstrict-align.
16190
16191 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
16192                           Richard Henderson  <rth@cygnus.com>
16193
16194         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
16195         (ix86_split_long_move): Declare.
16196         * i386.c (split_xf, ix86_split_movdi): Remove.
16197         (ix86_split_to_parts, ix86_split_long_move): New.
16198         * i386.md (dimode move splitters): Use ix86_split_long_move.
16199         (dfmode move splitters): Likewise.
16200         (xfmode move splitters): Likewise.
16201         (movsf_1): Allow F->r.
16202         (movdf_1, movxf_1): Allow F->ro.
16203
16204 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
16205
16206         * except.h (struct eh_entry): Add goto_entry_p.
16207         (eh_region_from_symbol): Remove prototype.
16208         * except.c (find_func_region_from_symbol): New function.
16209         (emit_cleanup_handler): Likewise.
16210         (eh_region_from_symbol): Make it static.
16211         (add_new_handler): Verify the argument.
16212         (find_func_region): Update comment.
16213         (expand_eh_region_end): Expand handlers here, rater than waiting
16214         until expand_leftover_cleanups or start_all_catch.
16215         (expand_leftover_cleanups): Don't expand here.
16216         (expand_start_all_catch): Or here.
16217         (expand_rethrow): Check the return value from find_func_region.
16218         * function.c (expand_function_end): Emit the catch_clauses.
16219
16220 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
16221
16222         * integrate.c (expand_inline_function): Add necessary check for NULL.
16223
16224 1999-11-18  Nick Clifton  <nickc@cygnus.com>
16225
16226         * toplev.c (main): Correctly detect an unrecognised option.
16227
16228         * cppinit.c (cpp_handle_option): Do not claim to have consumed
16229         a -f option if it has not been recognised.
16230
16231 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
16232
16233         * basic-block.h (update_life_extent): Remove trailing comma on
16234         enumeration type list.
16235
16236 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16237
16238         * varasm.c (output_constructor) Solved problem with long long
16239         bitfields. Corrected calculating this_time and shift. Also
16240         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
16241
16242 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
16243
16244         * flow.c (split_edge): Take looping structure into account when
16245         determining where to put the new block note.
16246
16247 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
16248
16249         * Makefile.in (ggc-none.o): Provide host specific version if
16250         needed.
16251
16252 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
16253
16254         * cse.c (delete_trivially_dead_insns): Identify no-op insns
16255         containing subregs too.
16256
16257 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
16258
16259         * invoke.texi: Add documentation for -muninit-const-in-rodata.
16260         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
16261         (TARGET_UNINIT_CONST_IN_RODATA): Define.
16262         (text_section): Add switches -munint-const-in-rodata and
16263         -mno-uninit-const-in-rodata.
16264         (ASM_OUTPUT_COMMON): Remove.
16265         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
16266         const objects should be placed in read-only data. Otherwise declare
16267         them in common.
16268
16269 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
16270
16271         * jump.c (jump_optimize_1): Revert last change.
16272
16273 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
16274
16275         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
16276         test if optimizing for size.
16277
16278 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
16279
16280         * Makefile.in (toplev.o): Depend on except.h.
16281         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
16282
16283 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
16284
16285         * i386.md (divmodsi4): Rewrite to expander.
16286         (*divmodsi4_nocltd): New.
16287         (*divmodsi4_cltd): New.
16288         (divmodsi4 splitter): Handle the case when input comes in edx.
16289         (udivmodhi4): Do not use constraints in exander.
16290         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
16291
16292 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
16293
16294         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
16295         for the common case.
16296
16297 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
16298
16299         * explow.c (hard_function_value): Add outgoing argument.
16300         * expr.h (hard_function_value): Declare it.
16301         * calls.c (expand_call, emit_library_call_value): Update callers.
16302         * function.c (aggregate_value_p): Ditto.
16303         (diddle_return_value): Must look at the outgoing registers
16304         on archs with register windows.
16305
16306 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
16307
16308         * alpha.c (alpha_build_va_list): Use make_lang_type and
16309         initialize TYPE_NAME for the va_list record.
16310
16311         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
16312
16313         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
16314         for printing.
16315         * ggc.h (struct ggc_statistics): Rearrange elements for better
16316         packing on 64-bit hosts.
16317         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
16318         (compute_nearerout): Likewise.
16319
16320 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
16321
16322         * config/rs6000/rs6000.c (first_reg_to_save): Save
16323         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
16324
16325 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
16326
16327         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
16328         notion of nesting to find the DIE for a type or function.
16329         DIEs can go in limbo even if we got a context_die.
16330         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
16331         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
16332         for local type.
16333         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
16334         (gen_type_die): Writing out the context doesn't cause member class
16335         template instantiations to be written out as well.
16336
16337 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
16338
16339         * rs6000.h (ASM_OUTPUT_DEF): New.
16340         Based on proposed addition from David Edelsohn.
16341
16342 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
16343             Bruce Korb  <autogen@linuxbox.com>
16344
16345         * fixinc/inclhack.def
16346         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
16347         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
16348                 in net/inet.h.
16349         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
16350         (svr4_endian): enabled with SVR5
16351         (svr4_mkdev): simplified syntax and enabled with SVR5
16352
16353 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
16354
16355         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
16356         * configure: Rebuilt.
16357         * config/t-freebsd-thread: New file.
16358
16359 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
16360
16361         * i386.c (ix86_decompose_address): Verify the base is a REG
16362         before trying to examine its register number.
16363
16364         * basic-block.h: Remove all #defines and prototypes related to
16365         integer lists.
16366         (free_bb_mem, compute_preds_succs): Remove prototype.
16367         * rtl.h (free_bb_mem): Remove prototype.
16368         * flow.c (alloc_int_list_node); Remove function.
16369         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
16370         (compute_preds_succs, free_bb_mem): Likewise.
16371         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
16372         * toplev.c (rest_of_compilation): Likewise.
16373         * haifa-sched.c (build_control_flow): Use flow generated edge
16374         list to build the haifa specific edge list.
16375         (find_rgns): Use new CFG data structures instead of pred/succ lists.
16376         (schedule_insns): Do not build pred/succ lists anymore.  Instead
16377         build the edge table.
16378
16379         * basic-block.h (dump_bb_data): Remove declaration.
16380         * flow.c (dump_bb_data): Remove function.
16381         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
16382         (sbitmap_union_of_predsucc): Likewise.
16383
16384         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
16385         argument.  All callers changed.
16386         (delete_null_pointer_checks_1): No longer need to compute the
16387         pred/succ lists.
16388
16389         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
16390         All callers changed.
16391         (pre_expr_reaches_here_p_work): Likewise.
16392         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
16393         * lcm.c (compute_laterin): Fix initialization of LATER.
16394         (compute_nearerout): Similarly for NEARER.
16395
16396 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16397
16398         * cse.c (set_nonvarying_address_components): Delete unused function.
16399         (refers_to_p): Likewise.
16400
16401 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
16402
16403         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
16404         needed.
16405
16406 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16407
16408         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
16409         definition in do while (0).
16410
16411 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
16412
16413         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
16414
16415 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
16416
16417         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
16418
16419 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
16420
16421         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
16422         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
16423         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
16424         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
16425
16426         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
16427         saved on the stack.  Output more accurate stack frame statistics
16428         into assembler file.
16429
16430 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
16431
16432         * genextract.c (record_insn_name): New function.
16433         (get_insn_name): No longer a stub.
16434         (main): Call record_insn_name for each insn.  After each label
16435         written, print the insn name in a comment.
16436
16437 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16438
16439         * output.h (const_section, init_section, fini_section): Add
16440         prototypes.
16441
16442         * alpha/elf.h (const_section): Delete declaration.
16443
16444         * svr4.h (const_section): Likewise.
16445
16446 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
16447
16448         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
16449         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
16450         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
16451         expressions.
16452         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
16453         variable-sized array bounds.
16454
16455 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
16456
16457         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
16458         ASM_OUTPUT_LABEL.
16459
16460 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16461
16462         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
16463         addresses the same way GO_IF_LEGITIMATE_INDEX does.
16464
16465 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16466
16467         * cse.c (hash_arg_in_struct): Delete.
16468         (struct table_elt): Delete elt in_struct.
16469         (struct set): Delete elt src_in_struct.
16470         (merge_equiv_classes): Don't set either hash_arg_in_struct or
16471         the corresponding in_struct elts.
16472         (canon_hash): Likewise.
16473         (safe_hash): Likewise.
16474         (find_best_addr): Likewise.
16475         (record_jump_cond): Likewise.
16476         (cse_insn): Likewise.
16477
16478 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
16479
16480         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
16481
16482         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
16483         unsigned types.
16484
16485 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
16486
16487         * function.c (diddle_return_value): Put back check that the DECL_RTL
16488         for the function is a register.
16489
16490         * function.c (diddle_return_value): Use hard_function_value to
16491         get an rtx suitable for use in the USE/CLOBBER insn.
16492
16493         * global.c (global_conflicts): Update comments.
16494         (record_conflicts): No need to record conflicts between pseudos here.
16495
16496 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
16497
16498         * fixinc/fixincl.c: Added verbose levels for status messages
16499
16500 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16501
16502         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
16503         operand as argument to expand_and or expand_binop.
16504
16505 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
16506
16507         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
16508         gcc_add_string_root.
16509
16510 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
16511
16512         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
16513
16514 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
16515
16516         * flow.c (compute_flow_dominators): Initially put all blocks on
16517         the worklist.
16518         * lcm.c (compute_antinout_edge, compute_available): Similarly.
16519         * gcse.c (compute_cprop_avinout): Remove.
16520         (compute_cprop_data): Use compute_available.
16521         (delete_null_pointer_checks_1): Use compute_available.
16522
16523         * basic-block.h (compute_available): Returns a void now.
16524         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
16525         to return a value anymore.
16526         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
16527         worklists.  Fix boundary cases. Compute maximal solutions.
16528         (compute_laterin, compute_nearerout): Similarly.
16529
16530         * dwarf2out.c (add_AT_location_description): Allow
16531         (mem (plus (pseudo) (...)) too.
16532
16533 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
16534
16535         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
16536
16537 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
16538                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16539
16540         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
16541
16542         * gansidecl.h: Likewise.
16543
16544         * rtl.c: Likewise.
16545
16546         * rtl.h: Likewise.
16547
16548         * toplev.h: Likewise.
16549
16550         * tree.c: Likewise.
16551
16552         * tree.h: Likewise.
16553
16554         * varray.c: Likewise.
16555
16556         * varray.h: Likewise.
16557
16558 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
16559
16560         * gcov.c (struct arcdata): Add hits and total, remove prob.
16561         (output_branch_counts): New.
16562         (process_args): Set output_branch_counts if -c.
16563         (calculate_branch_probs): Store hits and total instead of
16564         percentage.
16565         (output_data): Emit counts if output_branch_counts is true.
16566         * gcov.texi (Invoking Gcov): Document -c switch..
16567
16568 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
16569
16570         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
16571         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
16572
16573 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
16574
16575         * invoke.texi (C Dialect Options): Add missing builtins from
16576         c-common.c to list.
16577         * extend.texi (Other Builtins): Copy to this list.
16578
16579 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16580
16581         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
16582         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
16583         redundant bitmap.h.
16584
16585 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
16586
16587         * flow.c (compute_flow_dominators): No longer treat basic block 0
16588         or (n_basic_blocks - 1) specially.  Clear the AUX field before
16589         starting computation of doms/pdoms.  Fix initial state for pdoms.
16590
16591 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16592
16593         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
16594         match rtl.o's: added ggc.h and toplev.h
16595         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
16596         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
16597         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
16598
16599 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
16600
16601         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
16602         from HAVE_DOS_BASED_FILESYSTEM.
16603         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
16604         HAVE_DOS_BASED_FILESYSTEM.
16605         (main): Likewise.
16606         (split_directories): Only special-case DOS file names if
16607         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
16608         instead of explicit tests.  Conditionalize on !VMS.
16609         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
16610         tests.  Conditionalize on !VMS.
16611         (process_command): Only use make_relative_prefix if !VMS.
16612         (free_split_directories): Conditionalize on !VMS.
16613         (DIR_UP): Conditionalize on !VMS.
16614
16615 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16616
16617         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
16618
16619 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16620
16621         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
16622         case.
16623
16624 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
16625
16626         * invoke.texi (Environment Variables): Document relative path
16627         lookup.
16628         * gcc.c (DIR_UP): If not defined, define as "..".
16629         (standard_bindir_prefix): New static, holds target location to
16630         install binaries.
16631         (split_directories): New function to split a filename into
16632         component directories.
16633         (free_split_directories): New function, release memory allocated
16634         by split_directories.
16635         (make_relative_prefix): New function, make a relative pathname if
16636         the compiler is not in the expected location.
16637         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
16638         can figure out an appropriate prefix from argv[0].
16639         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
16640         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
16641         STANDARD_BINDIR_PREFIX.
16642
16643 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16644
16645         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
16646         in c4x.c.
16647         * config/c4x/c4x.h: Moved prototypes to c4x.h.
16648         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
16649         c4x_secondary_memory_needed) Delete.
16650         (fp_zero_operand): Add mode argument.
16651
16652 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
16653
16654         * reload1.c (reload_reg_free_for_value_p): Don't use a register
16655         that is in reload_reg_used.
16656
16657 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
16658
16659         * config/arm/arm-protos.h: New file: Prototypes for functions
16660         defined in arm.c and pe.c.
16661         * config/arm/arm.h: Fix compile time warnings.
16662         * config/arm/arm.c: Fix compile time warnings.
16663         * config/arm/pe.h: Fix compile time warnings.
16664         * config/arm/aout.h: Fix compile time warnings.
16665
16666 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
16667
16668         * config/m32r/m32r-protos.h: New file: Prototypes for functions
16669         defined in m32r.c
16670
16671         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
16672         Add support for subtargets.
16673         Add prototypes for new predicates.
16674         Add scheduling macros.
16675
16676         * config/m32r/m32r.c: Fix compile time warnings.
16677         (int8_operand): New predicate function.
16678         (reg_or_cmp_int16_operand): New predicate function.
16679         (extend_operand): New predicate function.
16680         (m32r_adjust_code): New scheduling function.
16681         (m32r_adjust_priorty): New scheduling function.
16682         (m32r_sched_init): New scheduling function.
16683         (m32r_sched_reorder): New scheduling function.
16684         (m32r_sched_variable_issue): New scheduling function.
16685         (direct_return): New codegen function.
16686         (m32r_not_same_reg): New rtl testsing function.
16687
16688         * config/m32r/m32r.md: Fix compile time warnings.
16689         Add support for pre decrement and post increment memory
16690         references.
16691         Add S<cc> patterns.
16692         Add fabs patterns.
16693
16694 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16695
16696         * global.c (EXECUTE_IF_CONFLICT): Don't define.
16697         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
16698         (find_reg): Likewise.
16699
16700 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
16701
16702         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
16703         to avoid assembler errors.
16704
16705 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
16706
16707         * config/v850/v850-protos.h: New file: Prototypes for functions
16708         defined in v850.c
16709         * config/v850/v850.h: Move prototypes to v850-protos.h
16710         * config/v850/v850.c: Move prototypes to v850-protos.h
16711         * config/v850/v850.md: Fix compile time warnings.
16712
16713         * config/fr30/fr30-protos.h: New file: Prototypes for functions
16714         defined in fr30.c
16715         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
16716         * config/fr30/fr30.c: Fix compile time warnings.
16717         * config/fr30/fr30.md: Fix compile time warnings.
16718
16719 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
16720
16721         * tree.h (get_containing_scope): Declare it.
16722         * tree.c (get_containing_scope): New fucntion.
16723         (decl_function_context): Use it.
16724         * toplev.c (rest_of_compilation): Use get_containing_scope.
16725
16726 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16727
16728         * Makefile.in (rtl.o): Depend on toplev.h.
16729
16730 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
16731
16732         * cse.c (delete_trivially_dead_insns): Replace alloca with
16733         xmalloc/xcalloc.
16734         * except.c (update_rethrow_references): Likewise.
16735         (init_eh_nesting_info): Likewise.
16736         * function.c (identify_blocks): Likewise.
16737         * gcse.c (dump_hash_table): Likewise.
16738         * graph.c (print_rtl_graph_with_bb): Likewise.
16739         * loop.c (combine_movables): Likewise.
16740         (move_movables): Likewise.
16741         (count_loop_regs_set): Likewise.
16742         (strength_reduce): Likewise.
16743         * profile.c (compute_branch_probabilities): New function, split
16744         out from ...
16745         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
16746         * regclass.c (regclass): Likewise.
16747         * regmove.c (regmove_optimize): Likewise.
16748         * toplev.c (compile_file): Likewise.
16749         (main): Don't mess with the stack rlimit.
16750
16751 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
16752
16753         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
16754         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
16755
16756 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
16757
16758         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
16759
16760 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
16761
16762         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
16763         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
16764         macro expansion.
16765
16766 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
16767
16768         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
16769
16770 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
16771
16772         * gcse.c (post_dominators): Kill.
16773         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
16774         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
16775         pass in a pdom array since we do not need pdoms.
16776         * haifa-sched.c (schedule_insns): Similarly.
16777         * flow.c (compute_dominators): Remove dead function.
16778         (compute_flow_dominators): Do not compute doms or pdoms if the
16779         caller does not request them.  Split up loop to build doms and
16780         pdoms.  Use a worklist to compute doms and pdoms.
16781         * basic-block.h (compute_dominators): Remove prototype.
16782
16783 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
16784
16785         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
16786         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
16787         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
16788         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
16789         (cant_move, fed_by_spec_load, is_load_insn): Remove.
16790         (schedule_region): Remove unused variable.
16791         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
16792
16793 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
16794
16795         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
16796         (update_equiv_regs): Likewise.
16797         (block_alloc): Likewise.
16798         * reg-stack.c (reg_to_stack): Likewise.
16799         (convert_regs_2): Likewise.
16800         * reload1.c (reload_as_needed): Likewise.
16801
16802 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
16803
16804         * Makefile.in (dbxout.o): Depend on ggc.h.
16805         (dwarf2out.o): Likewise.
16806         (xcoffout.o): Likewise.
16807         * dbxout.c: Include ggc.h.
16808         (dbxout_init): Register lastfile as a root.
16809         * dwarf2out.c: Include ggc.h.
16810         (dwarf2out_line): Register lastfile as a root.
16811         * xcoffout.c: Include ggc.h.
16812         (xcoffout_source_line): Register xcoff_lastfile as a root.
16813
16814 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
16815
16816         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
16817
16818 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
16819
16820         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
16821         defined.
16822         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
16823
16824 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16825
16826         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
16827         (EXECUTE_IF_CONFLICT): Likewise.
16828         (ALLOCNO_LIVE_P): Avoid signed division.
16829         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
16830         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
16831         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
16832
16833 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
16834
16835         * haifa-sched.c (schedule_block): Don't crash if there's no
16836         next insn for an interblock movement.
16837         (add_branch_dependences): Don't allow clobber insns to move either.
16838
16839 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
16840
16841         * i386.c (split_xf): New.
16842         * i386-protos.h: Declare it.
16843         * i386.md (movxf_1): Add general regs alternatives.
16844         (movxf_1+1): New splitter for same.
16845
16846 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
16847
16848         * function.c (purge_addressof_1): Add missing return values.
16849
16850 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
16851
16852         * function.c (is_addressof): New function.  Returns true if
16853         the given piece of RTL is an ADDRESSOF.
16854         (purge_addressof_1): Make boolean.  Return false if the
16855         ADDRESSOFs could not be purged.
16856         (purge_addressof): If ADDRESSOFs could not be purged from the
16857         notes attached to an insn, remove the offending note(s),
16858         unless they are attached to a libcall.
16859
16860 1999-11-05  Andreas Jaeger  <aj@suse.de>
16861
16862         * genoutput.c (null_operand =): Initialize all fields.
16863
16864         * errors.h: Add extern to prototypes.
16865
16866 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
16867
16868         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
16869         * configure: Rebuilt.
16870
16871 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16872
16873         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
16874         (mirror_conflicts): New function.
16875         (global_alloc): Call it.
16876         (expand_preferences): Remove redundant CONFLICTP test.
16877         (find_reg, dump_conflicts): Likewise.
16878         (prune_preferences): Process conflicts one word at a time.
16879
16880 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
16881
16882         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
16883         instead of an explicit loop.
16884
16885 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
16886
16887         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
16888         if REG_RETVAL check succeeds, then put classp in src_elt.
16889
16890 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
16891
16892         * function.c (pad_to_arg_alignment): Only update argument_pad
16893         if the argument's alignment is greater than STACK_BOUNDARY.
16894
16895 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
16896
16897         * bitmap.h (BITMAP_XFREE): New.
16898         * flow.c (life_analysis): Use it.
16899         (life_analysis_1): Free blocks.
16900
16901         * combine.c (undo_commit): New.
16902         (try_combine): Use it.  Don't zap undobuf.undos.
16903         (combine_instructions): Don't zap undobuf.undos; free the
16904         undobuf.frees list.
16905
16906         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
16907
16908         * stmt.c (cost_table_): New.
16909         (estimate_case_costs): Use it instead of xmalloc.
16910
16911         * toplev.c (compile_file): Reuse dumpname memory instead
16912         of strdup'ing it.
16913
16914 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
16915
16916         * reg-stack.c (convert_regs_1): Initialize target_stack->top
16917         after verifying an EH edge.
16918
16919         * haifa-sched.c (init_rgn_data_dependences): Correctly
16920         size bb_pending_lists_length when zeroing.
16921
16922 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
16923
16924         * function.c (diddle_return_value): New.
16925         (expand_function_end): Use it.
16926         * stmt.c (expand_null_return): Likewise.
16927         (expand_value_return): Likewise.
16928
16929         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
16930
16931         * reload1.c (reload): Don't remove return value clobbers.
16932
16933 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
16934
16935         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
16936
16937 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
16938
16939         * cse.c (cse_main): Use xmalloc, not alloca.
16940         (cse_basic_block): Likewise.
16941         * local-alloc.c (local_alloc): Likewise.
16942
16943 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
16944                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16945
16946         * rtl.c: Include toplev.h.
16947         (fatal): Remove declaration.
16948
16949 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
16950
16951         * haifa-sched.c (schedule_block): Fix thinko.
16952
16953 1999-11-03  James McKelvey <mckelvey@fafnir.com>
16954
16955         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
16956         S_IR* defined values
16957
16958 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
16959
16960         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
16961         call `malloc' instead.
16962
16963 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
16964
16965         * flags.h (flag_renumber_insns): Declare.
16966         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
16967         renumbering table.
16968         * rtl.h (renumber_insns): Change prototype.
16969         * toplev.c (flag_renumber_insns): Define.
16970         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
16971
16972 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
16973
16974         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
16975         and fpsqrtd.  Use them and create fdiv function unit to more
16976         accurately represent fpu sqrt pipeline semantics on UltraSparc.
16977         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
16978
16979 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
16980
16981         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
16982         3 on UltraSparc.
16983         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
16984         insn into ready list, do not use just a raw swap.
16985
16986 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
16987
16988         * rtl.h (renumber_insns): New function.
16989         (remove_unnecessary_notes): Likewise.
16990         * emit-rtl.c (renumber_insns): Define.
16991         (remove_unncessary_notes): Likewise.
16992         * toplev.c (rest_of_compilation): Remove dead code.
16993         Use renumber_insns and remove_unncessary_notes.
16994
16995         * gcse.c (struct null_pointer_info): New type.
16996         (get_bitmap_width): New function.
16997         (current_block): Remove.
16998         (nonnull_local): Likewise.
16999         (nonnull_killed): Likewise.
17000         (invalidate_nonnull_info): Take a null_pointer_info as input.
17001         (delete_null_pointer_checks_1): New function.
17002         (delete_null_pointer_checks): Use it.
17003
17004         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
17005         (split_edges): Likewise.
17006         (schedule_block): Likewise.
17007         (compute_block_backward_dependencies): Likewise.
17008         (schedule_region): Likewise.
17009         (schedule_insns): Likewise.
17010
17011 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
17012
17013         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
17014         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
17015         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
17016         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
17017         * jump.c (delete_unreferenced_labels): Don't delete if
17018         LABEL_ALTERNATE_NAME is set.
17019         * print-rtl.c (print_rtx): Dump alternate name.
17020         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
17021         * rtl.h (LABEL_ALTERNATE_NAME): Define.
17022         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
17023         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
17024
17025 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17026
17027         * fix-header.c (recognized_extern, recognized_function): Constify
17028         a char*.
17029
17030         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
17031         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
17032         (compute_available): Remove unused variable `last'.
17033         (compute_nearerout): Remove unused variable `temp_bitmap'.
17034         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
17035         Remove unused variable `x'.
17036
17037         * scan.h (recognized_function, recognized_extern): Constify a
17038         char*.
17039
17040         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
17041
17042 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17043
17044         * varasm.c (decode_rtx_const): Use XSTR to access the string
17045         of a SYMBOL_REF.
17046
17047 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
17048
17049         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
17050
17051 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17052
17053         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
17054
17055 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
17056
17057         * pa.c (ireg_operand): New function.
17058         * pa.h (PREDICATE_CODES): Handle ireg_operand.
17059         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
17060         Fix out of date comment.
17061
17062         * pa.md (negdi2): Turn into expander + anonymous pattern.
17063
17064         * reload.c (find_reloads): Fix typos in recent change.
17065
17066         * dwarf2out.c: Do not include ctype.h.
17067
17068 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17069
17070         * regclass.c (record_reg_classes): Always use may_move_cost when
17071         seeing how operand fits with various register classes.
17072
17073 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
17074
17075         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
17076         * toplev.c: Revert Nov 1 13:22 change.
17077
17078 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
17079
17080         * config/pa/pa.md (height reduction patterns): Add checks for
17081         overlapping operands to avoid semantic-destroying splits for
17082         height reduction patterns.
17083
17084 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17085
17086         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
17087         have been an hyphen, fixed.
17088         * configure: Rebuilt.
17089
17090 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
17091
17092         * config/arm/tpe.h: Add prototypes for exported functions.
17093         * config/arm/pe.c: Fix compile time warnings.
17094         * config/arm/semi.h: Fix compile time warnings.
17095         * config/arm/arm.c: Fix compile time warnings.
17096         * config/arm/arm.h: Fix compile time warnings.
17097         * config/arm/arm.md: Fix compile time warnings.
17098         * config/arm/thumb.c: Fix compile time warnings.
17099         * config/arm/thumb.h: Fix compile time warnings.
17100         * config/arm/thumb.md: Fix compile time warnings.
17101
17102 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
17103
17104         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
17105         detection code
17106
17107         * unroll.c (unroll_loop): Remove LOOP notes when loop is
17108         completely unrolled.
17109
17110 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17111
17112         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
17113
17114 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
17115
17116         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
17117         * rtl.h (rtx_equal_p): Move prototype.
17118         * rtl.c (rtx_equal_function_value_matters): Move from
17119         rtlanal.c
17120         (rtx_equal_p): Likewise.
17121         * rtlanal.c (rtx_equal_function_value_matters): Delete.
17122         (rtx_equal_p): Likewise.
17123
17124 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
17125
17126         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
17127         ! HAS_INIT_SECTION.
17128
17129 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
17130
17131         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
17132
17133         * pa.h (ADDR_VEC_ALIGN): Define.
17134
17135         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
17136         notes when presented with "if (foo) break; end_of_loop" and
17137         the break sequence gets moved out of the loop.
17138
17139         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
17140         Remove explicit zero initializations of entries within MAP.
17141
17142 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
17143
17144         * reg-stack.c (convert_regs_1): Handle EH edges specially.
17145
17146 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
17147
17148         * bitmap.h (BITMAP_XMALLOC): New macro.
17149         * flow.c (CLEAN_ALLOCA): Remove.
17150         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
17151         (life_analysis): Likewise.
17152         (update_life_info): Don't use CLEAN_ALLOCA.
17153         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
17154         (calculate_global_regs_live): Likewise.
17155         (print_rtl_with_bb): Likewise.
17156         (verify_flow_info): Likewise.
17157         * global.c (global_alloc): Likewise.
17158         (global_conflicts): Likewise.
17159         * integrate.c (save_for_inline_nocopy): Likewise.
17160         (expand_inline_function): Likewise.
17161         * jump.c (jump_optimize_1): Likewise.
17162         (duplicate_loop_exit_test): Likewise.
17163         (thread_jumps): Likewise.
17164         * loop.c (loop_optimize): Likewise.
17165         (combine_givs): Likewise.
17166         (recombine_givs): Likewise.
17167         * reorg.c (dbr_schedule): Likewise.
17168         * unroll.c (unroll_loop): Likewise.
17169
17170         * combine.c (combine_instructions): Use xmalloc instead of alloca.
17171
17172 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
17173
17174         * toplev.c (rest_of_compilation): Don't optimize the CFG
17175         when rebuilding, just before dbr.
17176
17177 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17178
17179         * output.h (assemble_end_function, assemble_destructor,
17180         assemble_constructor, assemble_gc_entry, assemble_global,
17181         assemble_label, output_constant_pool) Constify a char*.
17182
17183         * varasm.c (assemble_destructor, assemble_constructor,
17184         assemble_gc_entry, assemble_end_function, assemble_global,
17185         assemble_label, output_constant_pool): Likewise.
17186
17187 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
17188
17189         * config/arm/thumb.c (thumb_expand_prologue): Add comments
17190         explaining what is goin on in this function.
17191
17192 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17193
17194         * regclass.c (record_reg_classes): In matching case, recompute
17195         costs since the direction of movement is different.
17196
17197 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
17198
17199         * resource.c (mark_target_live_regs): For unconditional branches,
17200         the resources found at the branch target should be added to the
17201         resources found so far, not intersected.
17202
17203 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
17204
17205         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
17206         old cpp's.
17207         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
17208         (sys/mman.h): Include this file only if #HAVE_MMAP.
17209         (run_compiles): Initialize `esac_fmt' with one old KR string, not
17210         with automatically concatenated ANSI strings.
17211
17212 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
17213
17214         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
17215         (DIV_ROUND_UP): Robustify.
17216         (ggc_recalculate_in_use_p): New function.
17217         (release_pages): Don't inline it.
17218         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
17219         outer contexts.
17220         (ggc_pop_context): Use ggc_recalculate_in_use_p.
17221         (clear_marks): Always save in_use_p.
17222         (sweep_pages): Use ggc_recalculate_in_use_p.
17223         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
17224         Release pages before counting statistics.
17225
17226 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
17227
17228         * toplev.c (rest_of_compilation): Fix thinko in this change:
17229
17230         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
17231
17232         (rest_of_compilation): If inside an inlined external function,
17233         pretend we are just being declared.
17234
17235 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
17236
17237         * flow.c (calculate_global_regs_live): Fix thinko.
17238
17239         * integrate.c (expand_inline_function): Fix bugs in previous
17240         change from Oct 28, 1999.
17241
17242 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
17243
17244         * stmt.c (expand_value_return): Fix typo in this change:
17245
17246         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17247         (expand_value_return): Correctly convert VAL when promoting function
17248         return; support RETURN_REG being a PARALLEL.
17249
17250 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
17251
17252         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
17253
17254 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17255
17256         * hard-reg-set.h (reg_names): Constify a char*.
17257
17258         * regclass.c  (reg_names): Likewise.
17259
17260         * regs.h (reg_names): Likewise
17261
17262         * a29k/a29k.c (reg_names): Delete declaration.
17263
17264         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
17265
17266         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
17267         arc_output_function_epilogue): Likewise.
17268
17269         * elxsi/elxsi.c (reg_names): Likewise.
17270
17271         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
17272
17273         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
17274         Likewise.
17275
17276         * m88k/m88k.c (output_function_profiler): Likewise.
17277
17278         * sparc/sparc.c (sparc_flat_output_function_prologue,
17279         sparc_flat_output_function_epilogue): Likewise.
17280
17281 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
17282
17283         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
17284         warning from -Wuninitialized and put it under -W.
17285         * function.c (uninitialized_vars_warning): Warn only when the
17286         corresponding flag is set.
17287
17288 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
17289
17290         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
17291         is nonzero and the single set does not have an elt, then assign
17292         it an elt.
17293
17294         * simplify-rtx.c: New file.
17295         * Makefile.in (OBJS): Add simplify-rtx.o
17296         (simplify-rtx.o): Add dependencies.
17297         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
17298         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
17299         (cse_gen_binary, simplify_unary_operation): Delete.
17300         (simplify_binary_operation, simplify_plus_minus): Likewise.
17301         (check_fold_consts, simplify_relation_operation): Likewise.
17302         (simplify_ternary_operation): Likewise.
17303         (delete_trivially_dead_insns): Simplify the contents of the
17304         REG_EQUAL note before trying to substitute it into the source
17305         of the reg-reg copy at the end of a libcall sequence.
17306
17307         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
17308         references/callers changed.
17309
17310         * mn10200.c (mn10200_va_arg): Force the return value into a
17311         register.
17312
17313         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
17314
17315         * cccp.c (macroexpand): Avoid out of range accesses for omitted
17316         arguments.
17317
17318 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
17319
17320         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
17321
17322 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
17323
17324         * fold-const.c (fold): Fix thinko when optimizing comparisons
17325         against -0.0.
17326
17327 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
17328
17329         * gcc.texi (Passes): Update front-end files to their current
17330         location.
17331
17332 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
17333
17334         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
17335         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
17336         (PREDICATE_CODES): Add addition_operation.
17337         * alpha-protos.h (addition_operation): Declare.
17338         (secondary_reload_class): Likewise.
17339         * alpha.c (addition_operation): New.
17340         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
17341         * alpha.md (adddi3): Turn into expander.
17342         (*lda, *adddi_2): New.
17343         (movsf, movdf patterns): Don't preference integer regs.
17344         (movsi, movdi patterns): Don't preference fp regs.
17345
17346 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
17347
17348         * genrecog.c (write_switch): Check for duplicate CODE cases.
17349
17350 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
17351
17352         * ggc-common.c: Update pre-function commentary.
17353         * ggc-page.c: Likewise.
17354         (poison): Remove.
17355         (poison_pages): Use memset directly.
17356         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
17357         (ggc_collect): Poison before sweeping.
17358         * ggc-simple.c: Update pre-function commentary.
17359         (ggc_alloc_obj): Poison non-zeroed memory.
17360
17361 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
17362
17363         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
17364         match format string, even on 64-bit hosts.
17365         * gcc-page.c (ggc_page_print_statistics): Likewise.
17366
17367 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
17368
17369         * config/i386/i386.c (ix86_cpu): Revert last patch.
17370         * config/i386/i386.h (ix86_cpu): Ditto.
17371
17372 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
17373
17374         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
17375         TYPE_SIZE, convert type of result to sizetype.
17376
17377 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
17378
17379         * flow.c (count_or_remove_death_notes): Equate NULL with the
17380         universal set.
17381
17382         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
17383         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
17384         dbr_schedule.
17385
17386         * i386.c (pic_label_no): Delete.
17387         (ix86_attr_length_default): Don't use single_set to peek
17388         inside a parallel.
17389
17390         * recog.c (peephole2_optimize): Allow recog_next_insn to index
17391         the first insn after bb->end.
17392         * i386.md (push mem peeps): Scratch is live after evaluation
17393         of the memory.
17394         (cmp mem peep): Similarly.
17395
17396 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
17397
17398         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
17399         * function.c (pad_to_arg_alignment): Add missing braces.
17400
17401 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17402
17403         * alpha/alpha-protos.h (literal_section): Add prototype.
17404         (alpha_need_linkage, alpha_start_function,alpha_end_function):
17405         Constify a char*.
17406
17407         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
17408         prototype.
17409         (alpha_start_function, alpha_end_function, float_strings,
17410         alpha_need_linkage): Constify a char*
17411
17412         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
17413
17414         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
17415
17416         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
17417
17418         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
17419
17420 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17421
17422         * flow.c (debug_flow_info): Add prototype.
17423
17424         * gcc.c (main): Likewise.
17425
17426         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
17427         Likewise.
17428
17429         * reload1.c (failed_reload, set_reload_reg): Likewise.
17430
17431         * mips-tfile.c (main): Likewise.
17432         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
17433         with ATTRIBUTE_NORETURN.
17434
17435 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
17436
17437         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
17438         DECL is not a memory ref.
17439
17440 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
17441
17442         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
17443         * config/i386/i386.c (ix86_cpu): Add extern attribute.
17444
17445 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
17446
17447         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
17448         * config/mips/elf64.h: ditto.
17449
17450 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
17451
17452         * expr.c (emit_push_insn): New argument alignment_pad.
17453         Update all callers.  Adjust stack pointer based on alignment pad.
17454         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
17455         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
17456         (locate_and_pad_parm): New argument alignment_pad.  Update all
17457         callers.
17458         * expr.h (emit_push_insn): Update prototype.
17459         (locate_and_pad_parm): Update prototype.
17460         * calls.c (arg_data):  Add new field alignment_pad.
17461         (initialize_argument_information): Initialize alignment_pad.
17462
17463 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
17464
17465         * except.c (free_eh_nesting_info): Free the info itself.
17466         * function.c (free_after_compilation): Don't free NULL.
17467         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
17468         (pre_edge_insert): Free inserted.
17469         * stmt.c (free_stmt_status): Don't free NULL.
17470
17471 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
17472
17473         * gcov.c (DIR_SEPARATOR): Provide default.
17474         (output_data): Add test for MS-DOS format absolute filename.
17475         (fancy_abort): Correct program name.
17476         (open_files): Open all files in binary mode.
17477         * libgcc2.c (__bb_exit_func): Likewise.
17478
17479         * profile.c (init_branch_prob): Specify binary when opening files.
17480
17481         * flags.h (flag_unwind_tables): New decl.
17482         * toplev.c (flag_unwind_table): New definition.
17483         (f_options): Add -funwind-tables.
17484         (decode_g_option): Clarify warning when unknown -g option is given.
17485         (rest_of_compilation): If inside an inlined external function,
17486         pretend we are just being declared.
17487
17488         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
17489         (dwarf2out_frame_finish): Likewise.
17490
17491 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
17492
17493         * fold-const.c (merge_ranges): If not in0, but in1, handle
17494         upper bounds equal like subset case.
17495
17496 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
17497
17498         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
17499         passed in a register but moved to the stack.
17500
17501 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
17502
17503         * gcc.c (pass_exit_codes, greatest_status): New variables.
17504         (struct option_map): Add entry for "--pass-exit-codes".
17505         (execute): Update greatest_status if error.
17506         (display_help): Add documentation for -pass-exit-codes.
17507         (process_command): Handle -pass-exit-codes.
17508         (main): Look at pass_exit_codes and greatest_status on call to exit.
17509
17510 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17511
17512         * reload.c (find_reloads): Refine test for no input reload
17513         case to not includes reloads emitted after insn.
17514
17515         * function.c (find_temp_slots_from_address): Handle sum involving
17516         a register that points to a temp slot.
17517         (update_temp_slot_address): Make recursive call if both old and
17518         new are PLUS with a common operand.
17519         * calls.c (expand_call): Mark temp slot for result as having
17520         address taken.
17521
17522         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
17523
17524         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
17525         component as well as "BINUTILS".
17526
17527         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
17528         * integrate.c (copy_rtx_and_substitute): Likewise.
17529         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
17530         All callers changed.
17531         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
17532
17533         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
17534         gdb extensions, write size of type; also be more consistent
17535         in using references when this is a subtype.
17536
17537         * pa.md (extv, extzv, insv): Use define_expand to reject constant
17538         that is out of range.
17539
17540         * loop.c (unknown_constant_address_altered): New variable.
17541         (prescan_loop): Initialize it.
17542         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
17543         (invariant_p, case MEM): Remove handling for volatile and readonly;
17544         check new variable if readonly.
17545         (check_dbra_loop): Chdeck unknown_constant_address_altered.
17546
17547         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
17548         (addr_affects_sp_p): Removed from note_mem_written and only
17549         define #ifdef AUTO_INC_DEC.
17550
17551         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
17552
17553         * regclass.c (record_reg_classes): Properly handle register move
17554         directions.
17555
17556         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
17557         Don't think valid if both operands are invalid.
17558         (struct constant_descriptor): New field RTL.
17559         (mark_const_hash_entry): Mark it.
17560         (record_constant{,_rtx}): Initialize it.
17561         (output_constant_def): Allocate RTL in permanent obstack and
17562         save in table.
17563         ({record,compare}_constant_1): Modes must match for
17564         CONSTRUCTOR of ARRAY_TYPE.
17565
17566         * c-common.h (initializer_constant_valid_p): Delete decl from here.
17567         * output.h (initializer_constant_valid_p): Move decl to here.
17568         * c-common.c (initializer_constant_valid_p): Delete function from here.
17569         * varasm.c (initializer_constant_valid_p): Move function to here.
17570
17571         * tree.h (STRIP_SIGN_NOPS): New macro.
17572         * fold-const.c (optimize_minmax_comparison): New function.
17573         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
17574         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
17575         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
17576         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
17577         widening conversions.
17578         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
17579         to look at size of mode, not precision of type; also add missing cases.
17580         (optimize_bit_field_compare, decode_field_reference): Don't try to
17581         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
17582
17583         * dwarf2out.c (ctype.h): Include.
17584         (dwarf2out_set_demangle_name_func): New function.
17585         (size_of_line_info): Deleted.
17586         (output_line_info): Compute size of line info table from difference
17587         of labels.
17588         (base_type_die, add_name_attribute): Call demangle function, if any.
17589         (field_byte_offset): Use bits per word for variable length fields.
17590         (gen_array_type_die): Add array name.
17591         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
17592         (dwarf2out_add_library_unit_info): New function.
17593
17594         * explow.c (set_stack_check_libfunc): New function.
17595         (stack_check_libfunc): New static variable.
17596         (probe_stack_range): Allow front-end to set up a libfunc to call.
17597
17598         * combine.c (simplify_comparison): When making comparison in wider
17599         mode, check for having commuted an AND and a SUBREG.
17600         (contains_muldiv): New function.
17601         (try_combine): Call it when dividing a PARALLEL.
17602         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
17603         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
17604         a PLUS.
17605         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
17606         use one of the CLOBBERs instead.
17607         (if_then_else_cond): If comparing against zero, just return thing
17608         being compared.
17609
17610         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
17611         Don't generate shifts and subtract if have conditional arithmetic.
17612
17613         * rtl.h (delete_barrier): New declaration.
17614         * jump.c (jump_optimize): Set up to handle conditional call.
17615         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
17616         (delete_barrier): New function.
17617
17618         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
17619
17620         * recog.c (nonmemory_operand): Accept ADDRESSOF.
17621
17622         * tree.c (build_type_attribute_variant): Push to obstack of
17623         ttype around type_hash_canon call.
17624
17625         * expr.c (placeholder_list): Move decl to file scope.
17626         (expand_expr): Don't force access to volatile just because its
17627         address is taken.
17628         If ignoring reference operations, just expand the operands.
17629         (expand_expr, case COMPONENT_REF): Propagate
17630         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
17631         Refine test for using bitfield operations vs pointer punning.
17632         (expand_expr, case CONVERT_EXPR): If converting to
17633         BLKmode UNION_TYPE from BLKmode, just return inner object.
17634         Use proper mode in store_field call.
17635         Properly set sizes of object to store and total size in store_field
17636         call for convert to union.
17637         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
17638         memory (like for ADDR_EXPR).  Also, don't put constant in register if
17639         we'll want it in memory.
17640         (readonly_fields_p): New function.
17641         (expand_expr, case INDIRECT_REF): Call it if LHS.
17642         (expand_assignment): Handle a RESULT_DECL where
17643         DECL_RTL is a PARALLEL.
17644         (do_jump, case WITH_RECORD_EXPR): New case.
17645         (get_inner_reference): Always go inside a CONVERT_EXPR
17646         and NOP_EXPR if both modes are the same.
17647         (store_field): Use bitfield operations if size of bitsize is not same
17648         as size of RHS's type.
17649         Check for bitpos not a multiple of alignment in BLKmode case.
17650         Do block move in largest possible alignment.
17651         (store_constructor): Set BITSIZE to -1 for variable size and properly
17652         in case of array of BLKmode.
17653         (expand_expr_unaligned): New function.
17654         (do_compare_and_jump): Call it.
17655
17656         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
17657         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
17658         does not include 'o'.
17659
17660         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
17661         both SET_DEST and SET_SRC reference a virtual register.
17662         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
17663
17664         * integrate.c (expand_inline_function): Handle case of setting
17665         virtual stack vars register (from built in setjmp); when parameter
17666         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
17667         (subst_constant): Add new parm, MEMONLY.
17668         (expand_inline_function, integrate_parm_decls): Pass new parm.
17669         (integrate_decl_tree): Likewise.
17670         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
17671         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
17672         (copy_rtx_and_substitute, case SET): Add explicit calls to
17673         copy_rtx_and_substitute for both sides.
17674
17675         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
17676         constraints.
17677         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
17678         within INDEX_TYPE, instead of before.
17679         (fixup_gotos): Use f->target_rtl, not the next insn,
17680         since latter may be from a later fixup.
17681         (expand_value_return): Correctly convert VAL when promoting function
17682         return; support RETURN_REG being a PARALLEL.
17683         (expand_return): When checking for result in regs and having
17684         cleanup, consider PARALLEL in DECL_RTL as being in regs.
17685
17686 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
17687
17688         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
17689         last_nominal_fname): Mark const.
17690         (struct include_hash: name, nshort, control_macro): Mark
17691         const.
17692         (struct macrodef: symnam): Mark const.
17693         (struct if_stack: fname): Mark const.
17694         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
17695         (IStable): New character-syntax array which encompasses all
17696         the old is_foo arrays.
17697         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
17698         is_space): New macros for interrogating IStable.
17699         (check_macro_name): Kill last argument.  All callers changed.
17700
17701         * cppinit.c (initialize_char_syntax): Delete.
17702         (is_idchar, is_idstart, is_hor_space, is_space,
17703         trigraph_table): Delete.
17704         (IStable): New.  Initialize with clever macros to avoid
17705         information duplication.
17706         (builtin_array): Table of builtins to get rid of explicit list
17707         in initialize_builtins.
17708         (initialize_builtins): Use builtins_array.
17709         (cpp_start_read): Call init_IStable, and set IStable['$'] if
17710         opts->dollars_in_ident.
17711
17712         * cppexp.c: Change all refs to is_xyz[] arrays to use new
17713         is_xyz() macros.
17714         (cpp_parse_expr): Avoid 'format string is not constant'
17715         warning. Use ISGRAPH to identify printable chars.
17716         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
17717         is_xyz() macros.
17718         (read_and_prescan): Map trigraphs to chars with open-coded
17719         if-else-if-... sequence, not a lookup table.
17720         * cpphash.c: Change all refs to is_xyz[] arrays to use new
17721         is_xyz() macros.
17722         * cpplib.c: Change all refs to is_xyz[] arrays to use new
17723         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
17724         (check_macro_name): Remove ability to report an invalid
17725         assertion name, which is never used.
17726         (do_line): Constify a couple of char *'s.
17727         * cppmain.c (main): Call cpp_cleanup before returning.
17728
17729 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
17730
17731         * ggc.h (struct ggc_statistics): New type.
17732         (ggc_get_size): New function.
17733         (ggc_print_statistics): Likewise.
17734         * ggc-common.c (ggc_stats): New variable.
17735         (ggc_mark_rtx_children): Keep statistics.
17736         (ggc_mark_tree_children): Likewise.
17737         (ggc_print_statistics): New function.
17738         * ggc-page.c (struct globals): Add bytes_mapped field.
17739         (alloc_anon): Update it.
17740         (release_pages): Likewise.
17741         (ggc_get_size): New function.
17742         (ggc_page_print_statistics): New function.
17743         * ggc-simple.c (ggc_get_size): New function.
17744
17745 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
17746
17747         * flow.c (propagate_block): When the last reference to a label
17748         before an ADDR_VEC is deleted because the reference is a dead
17749         store, delete the ADDR_VEC.
17750
17751 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
17752
17753         * resource.c (find_free_register): Don't use the frame pointer
17754         if frame_pointer_needed.
17755
17756 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
17757
17758         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
17759         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
17760
17761         * config/i960/i960.c (i960_va_start): New locals base, num.
17762         Use INDIRECT_REF instead of ARRAY_REF on valist.
17763         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
17764
17765 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
17766
17767         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
17768
17769 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
17770
17771         * tree.def (PLACEHOLDER_EXPR): Update comments.
17772
17773 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17774
17775         * c-common.c (check_format_info): Avoid non-literal format string
17776         warnings when `first_arg_num' is zero.
17777
17778 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17779
17780         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
17781
17782 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
17783
17784         * arm.md (casesi_insn): Add a clobber of the condition code
17785         register.
17786
17787 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
17788
17789         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
17790         used by both cc1 and cc1plus.
17791
17792 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
17793
17794         * config/arm/arm.c: Initialise arm_structure_size_boundary to
17795         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
17796         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
17797         to the value 32 if it has not already been defined.
17798         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
17799         Override definition in arm.h with a value of 8.
17800
17801 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
17802
17803         * c-pragma.c (push_alignment): Don't check the return value
17804         of xmalloc.
17805
17806 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
17807
17808         * sparc.h (ADJUST_COST): Fix thinko.
17809
17810 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
17811
17812         * cccp.c (rescan): Fixed obp pointer handling around call to
17813         check_expand subroutine.
17814
17815 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
17816
17817         * gcse.c (delete_null_pointer_checks): Only record non-null info
17818         for pseudos when examining stores.
17819
17820         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
17821         splitters for these patterns.  Use "#" for output templates.
17822         (addsi3_carryin_shift): New pattern.
17823
17824 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
17825
17826         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
17827         of the function return register into a plain REG until
17828         after function inlining is done.
17829
17830 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
17831
17832         * jump.c (jump_optimize_1): If we did cross-jumping, and
17833         the data will matter, rebuild the CFG.
17834         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
17835         not optimizing.  Don't run shorten_branches.
17836         * toplev.c (rest_of_compilation): Run shorten_branches after
17837         reg_to_stack.
17838
17839 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
17840
17841         * rtl.h (note_stores): Add additional paramter.
17842         * rtlanal.c (reg_set_p_1): Take additional paramter.
17843         (reg_set_last_1): Likewise.
17844         (reg_set_p): Adjust call to note_stores.
17845         (reg_set_last): Likewise.
17846         (note_stores): Pass data parameter to worker function.
17847         * alias.c (record_set): Take additional parameter.
17848         (init_alias_analysis): Pass it.
17849         * caller-save.c (mark_set_regs): Take additional parameter.
17850         (save_call_clobbered_regs): Pass NULL to note_stores.
17851         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
17852         parameter.
17853         (record_dead_and_set_regs_1): Likewise.
17854         (reg_dead_at_p_1): Likewise.
17855         (combine_instructions): Adjust calls to note_stores.
17856         (try_combine): Likewise.
17857         (record_dead_insn): Remove.
17858         (record_dead_and_set_regs): Adjust calls to note_stores.
17859         (reg_dead_at_p): Likewise.
17860         * cse.c (invalidate_skipped_set): Take additional parameter.
17861         (cse_check_loop_start): Likewise.
17862         (cse_check_loop_start_value): Remove.
17863         (cse_set_around_loop): Adjust calls to note_stores.
17864         * flow.c (notice_stack_pointer_modification): Take additional
17865         parameter.  Remove duplicate declaration.
17866         (record_volatile_insns): Adjust calls to note_stores.
17867         * gcse.c (record_set_info): Take additional parameter.
17868         (record_last_set_info): Likewise.
17869         (invalidate_nonnull_info): Likewise.
17870         (record_set_insn): Remove.
17871         (compute_sets): Adjust calls to note_stores.
17872         (last_set_insn): Remove.
17873         (compute_hash_table): Adjust calls to note_stores.
17874         (insert_insn_end_bb): Likewise.
17875         (delete_null_pointer_checks): Likewise.
17876         * global.c (mark_reg_store): Take additional parameter.
17877         (mark_reg_clobber): Likewise.
17878         (reg_becomes_live): Likewise.
17879         (global_conflicts): Adjust calls to note_stores.
17880         (build_insn_chain): Likewise.
17881         * integrate.c (note_modified_parmregs): Take additional parameter.
17882         (mark_stores): Likewise.  Make it static.
17883         (save_for_inline_nocopy): Adjust calls to note_stores.
17884         (try_constants): Likewise.
17885         * integrate.h (mark_stores): Remove declaration.
17886         * jump.c (mark_modified_reg): Take additional parameter.
17887         (thread_jumps): Adjust calls to note_stores.
17888         * local-alloc.c (validate_equiv_mem_from_store): Take additional
17889         parameter.
17890         (no_equiv): Likewise.
17891         (reg_is_set): Likewise.
17892         (validate_equiv_mem): Adjust calls to note_stores.
17893         (update_equiv_regs): Likewise.
17894         (block_alloc): Likewise.
17895         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
17896         (note_addr_stored): Take additional parameter.
17897         (note_set_pseudo_multiple_uses): Likewise.
17898         (record_initial): Likewise.
17899         (prescan_loop): Adjust calls to note_stores.
17900         (strength_reduce): Likewise.
17901         (check_dbra_loop): Likewise.
17902         * regmove.c (flags_set_1): Take additional paramter.
17903         (mark_flags_life_zones): Adjust calls to note_stores.
17904         * reload1.c (mark_not_eliminable): Take additional parameter.
17905         (forget_old_reloads_1): Likewise.
17906         (reload_cse_invalidate_rtx): Likewise.
17907         (reload_cse_check_clobber): Likewise.
17908         (reload_combine_note_store): Likewise.
17909         (move2add_note_store): Likewise.
17910         (reload): Adjust calls to note_stores.
17911         (reload_as_needed): Likewise.
17912         (emit_reload_insns): Likewise.
17913         (reload_cse_regs_1): Likewise.
17914         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
17915         (reload_combine): Adjust calls to note_stores.
17916         * resource.c (update_live_status): Take additional paramter.
17917         (mark_target_live_regs): Adjust calls to note_stores.
17918         * stupid.c (find_clobbered_regs): Take additional parameter.
17919         (stupid_life_analysis): Adjust calls to note_stores.
17920
17921 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
17922
17923         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
17924         definition.
17925
17926         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
17927         definition.
17928
17929         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
17930         of the variable arm_structure_size_boundary.
17931
17932 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
17933
17934         * alias.c (init_alias_analysis): Allocate reg_known_value and
17935         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
17936         and reg_seen.
17937         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
17938         * cse.c (cse_main): Call end_alias_analysis.
17939         * haifa-sched.c (schedule_insns): Likewise.
17940         * local-alloc. (update_equiv_regs): Likewise.
17941         * reload1.c (reload_cse_regs): Likewise.
17942
17943 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17944
17945         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
17946         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
17947         mapping from MASK_FPU.
17948
17949 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
17950
17951         * sparc.md (call): Don't bound structure return size to 0xfff.
17952
17953 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
17954
17955         * resource.c (mark_target_live_regs): Check that the target
17956         insn wasn't created after compute_bb_for_insn.
17957
17958 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
17959
17960         * ggc-page.c (poison_pages): Don't be overzealous.
17961
17962 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
17963
17964         * alias.c: Update comments for ADDRESS.
17965         (nonlocal_reference_p): Look inside the ADDRESS to determine if
17966         it is a local memory reference.
17967
17968         * c-typeck.c (build_function_call): Check that the built-in
17969         function is of class BUILT_IN_NORMAL before trying to recongize
17970         it as BUILT_IN_ABS.
17971         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
17972         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
17973
17974 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
17975
17976         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
17977         of alloca.
17978         (pre_gcse): Likewise.
17979         (hoist_expr_reaches_here_p): Likewise.
17980         (hoist_code): Likewise.
17981         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17982         code to ...
17983         (pre_expr_reaches_here_p_work): ... here.
17984         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
17985         code to ...
17986         (expr_reaches_here_p_work): ... here.
17987
17988 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
17989
17990         * resource.c (find_basic_block): Delete.
17991         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
17992         (init_resource_info): Call compute_bb_for_insn.
17993
17994 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
17995
17996         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
17997         with already adjacent blocks, but no fallthru.
17998         (merge_blocks_move_successor_nojumps): Simplify.
17999         (debug_flow_info): New.
18000
18001         * toplev.c (rest_of_compilation): Open jump1 dump file before
18002         jump and close after, as opposed to just using dump_rtl.
18003
18004 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18005
18006         * reload.h (earlyclobber_operand_p): Declare.
18007         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
18008         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
18009         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
18010         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
18011
18012 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
18013                           Richard Henderson  <rth@cygnus.com>
18014
18015         * emit-rtl.c (emit_block_insn_before): New.
18016         (emit_block_insn_after): New.
18017         * basic-block.h: Declare them.
18018
18019         * bitmap.h: Protect from multiple inclusion.
18020
18021         * recog.c (scratch_operand): Handle VOIDmode correctly.
18022
18023         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
18024
18025         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
18026         * function.c (assign_parms): Likewise.
18027         * global.c (global_conflicts): Clarify STACK_REGS commentary.
18028
18029         * reg-stack.c (max_uid): Remove.
18030         (blocks, block_begin, block_end, block_drops_in): Remove.
18031         (block_stack_in, block_out_reg_set, block_number): Remove.
18032         (struct block_info_def, BLOCK_INFO): New.
18033         (enum emit_where): New.
18034         (current_block): New.
18035         (BLOCK_NUM): Remove.
18036         (mark_regs_pat, record_label_references): Remove.
18037         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
18038         (nan): New.
18039         (goto_block_pat, print_blocks, dump_stack_info): Remove.
18040         (reg_to_stack): Simplified test for existance of fp code.  Use
18041         flow.c code.  Call shorten_branches after cross-jump opt.
18042         (check_asm_stack_operands): Renamed from record_asm_reg_life.
18043         Return false if the asm doesn't use stack regs.  Don't do life
18044         analysis on the asm.
18045         (emit_pop_insn): Replace function pointer arg `when' with
18046         enum `where'.  Update all callers.
18047         (change_stack): Likewise.  Update basic block end.
18048         (emit_swap_insn): Use current_block->head to limit reverse search
18049         for start of block.  Use emit_block_insn_after.
18050         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
18051         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
18052         structure assignment instead of bcopy.
18053         (print_stack): New.
18054         (convert_regs_entry, convert_regs_exit): New.
18055         (convert_regs_1, convert_regs_2): Split out from convert_regs.
18056         Work on basic blocks and the CFG.
18057         (convert_regs): Use them.
18058
18059         * i386.c (output_fix_trunc): Remove code for DImode input operand
18060         not at top-of-stack.
18061         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
18062         appropriate mode.
18063         (fix_truncdi_1): Allow any mode scratch.
18064
18065 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
18066
18067         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
18068         * linux.h, netbsd.h, vms.h: Not here.
18069
18070 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
18071
18072         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
18073         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
18074         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
18075         CONDITIONAL_REGISTER_USEAGE): Use them.
18076         * config/mips/mips.c (mips_move_1word,mips_move_2words,
18077         gen_conditional_branch,override_options) : Use them.
18078         * config/mips/mips.md : Use them.
18079
18080 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
18081
18082         * i386.md (zero_extendqihi2): Use SImode register name with andl.
18083
18084 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
18085
18086         * integrate.c (function_cannot_inline_p): Don't allow inlining
18087         if setjmp is used.
18088
18089 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18090
18091         * c-parse.in (cast_expr): Constify.
18092
18093         * cccp.c (special_symbol): Likewise.
18094
18095         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
18096
18097         * dwarf2out.c (base_type_die): Likewise.
18098
18099         * global.c (allocno_compare): Likewise.
18100
18101         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
18102
18103         * regclass.c (fix_register): Likewise.
18104
18105         * rtl.h (fix_register): Likewise.
18106
18107         * stupid.c (stupid_reg_compare): Likewise.
18108
18109         * toplev.c (decode_f_option): Likewise.
18110
18111         * tree.c (build_complex_type): Likewise.
18112
18113 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
18114
18115         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
18116
18117 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18118
18119         * reload.c (find_reloads): Compute mode and nregs fields of all
18120         reloads.
18121         * reload1.c (calculate_needs_all_insns): Simplify a bit.
18122         (calculate_needs): Use precomputed mode/nregs values.
18123         (allocate_reload_reg): Likewise.
18124         Break out two...
18125         (failed_reload, set_reload_reg): ... new functions.
18126         (choose_reload_regs_init): New function, mostly broken out from...
18127         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
18128         Also lose one #if 0 block.
18129
18130 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
18131
18132         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
18133         substitution.
18134
18135 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
18136
18137         * tree.h (BLOCK_TYPE_TAGS): Remove.
18138         (BLOCK_END_NOTE): Likewise.
18139         (BLOCK_LIVE_RANGE_FLAG): Likewise.
18140         (BLOCK_LIVE_RANGE_START): Likewise.
18141         (BLOCK_LIVE_RANGE_END): Likewise.
18142         (tree_block): Remove live_range_flag, live_range_var_flag, and
18143         type_tags.  Remove end_note, live_range_start, and live_range_end.
18144         (remember_end_note): Remove prototype.
18145         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
18146         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
18147         remember_end_note.
18148         * ggc-common.c (ggc_mark_tree_children): Don't mark
18149         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
18150         * integrate.c (adjust_copied_decl_tree): Remove.
18151         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
18152         * stmt.c (last_block_end_note): Remove.
18153         (init_stmt): Don't add a GC root for it.
18154         (expand_fixup): Don't set it.
18155         (remember_end_note): Remove.
18156         (expand_end_bindings): Don't set last_block_end_note.
18157
18158 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18159
18160         * reload1.c (reload_reg_free_for_value_p): Show
18161         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
18162         reloads.
18163
18164 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
18165
18166         * expmed.c (extract_bit_field): Allow for the case of non-integer
18167         objects that are smaller than a word (like SFmode on a 64-bit
18168         machine).
18169
18170         * loop.c (basic_induction_var): A non-integer variable which is
18171         being set by a paradoxical subreg is probably not a biv.
18172
18173 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18174
18175         * prefix.c (translate_name) Check for empty prefix string.
18176
18177 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
18178
18179         * Makefile.in (CPP_CROSS_NAME): New variable.
18180         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
18181         xcpp.
18182         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
18183         names of the files to be uninstalled.
18184
18185 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
18186
18187         * collect2.c (IS_DIR_SEPARATOR): Define.
18188         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
18189
18190         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
18191         functions too.
18192
18193         * haifa-sched.c (add_dependence): Update the true dependency
18194         cache the first time we add a true dependence to the LOG_LINKS chain.
18195
18196 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
18197
18198         * fold-const.c (fold): Fix comment.
18199
18200 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18201
18202         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
18203         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
18204         dbxout_start_new_source_file, dbxout_source_file,
18205         dbxout_source_line, dbxout_finish, dbxout_type_fields,
18206         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
18207         Constify a char*.
18208         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
18209         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
18210         (dbxout_block): Initialize variable `blocknum'.
18211
18212         * dbxout.h (dbxout_init, dbxout_finish,
18213         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
18214         dbxout_args, dbxout_source_line): Constify a char*.
18215
18216         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
18217         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
18218         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
18219         low_pc_attribute, high_pc_attribute, body_begin_attribute,
18220         body_end_attribute, comp_dir_attribute, sf_names_attribute,
18221         src_info_attribute, mac_info_attribute, producer_attribute,
18222         lookup_filename, generate_macinfo_entry, fundamental_type_code,
18223         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
18224         dwarfout_undef): Constify a char*.
18225         (add_incomplete_type, retry_incomplete_types): Add prototypes.
18226
18227         * dwarfout.h (dwarfout_define, dwarfout_undef,
18228         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
18229
18230 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
18231
18232         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
18233         (MULTILIB_ISA_DEFAULT): New.
18234         (MULTILIB_DEFAULTS): Use it.
18235         * config/mips/mips.c (): Remove the now unnecessary definition
18236         of MIPS_ISA_DEFAULT.
18237         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
18238         unnecessary definition.
18239
18240 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
18241
18242         * arm.md (pic_load_addr): Add constraints to operand 1.
18243
18244 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
18245
18246         * fixinc/genfixes:  Provide a means for specifying -D options to
18247         AutoGen
18248
18249 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
18250
18251         * arm.c (arm_override_options): Correct initialization of
18252         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
18253         arm_is_strong, and arm_is_6_or_7.
18254
18255         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
18256         (note_set_pseudo_multiple_uses): New function.
18257         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
18258         if a pseudo set in the loop exit is used elsewhere.
18259
18260 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
18261
18262         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
18263
18264 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
18265
18266         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
18267         a single load-address pattern.
18268
18269 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
18270
18271         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
18272         depending on whether or not line-number notes are present.
18273
18274 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18275
18276         * cccp.c (progname, file_buf, default_include, include_file,
18277         macrodef, definition, hashval, wchar_type, user_label_prefix,
18278         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
18279         expand_to_temp_buffer, is_system_include, base_name,
18280         absolute_filename, read_name_map, open_include_file,
18281         record_control_macro, check_precompiled, check_preconditions,
18282         pcfinclude, pass_thru_directive, create_definition,
18283         check_macro_name, comp_def_part, collect_expansion,
18284         check_assertion, read_token_list, assertion_install,
18285         assertion_lookup, eval_if_expression, conditional_skip,
18286         validate_else, skip_quoted_string, quote_string, macarg1,
18287         error_from_errno, install, lookup, hashf, dump_defn_1,
18288         perror_with_name, pfatal_with_name, main, trigraph_pcp,
18289         check_white_space, rescan, handle_directive, monthnames,
18290         special_symbol, do_include, remap_include_file, write_output,
18291         arglist, do_assert, do_unassert, do_line, do_error, do_once,
18292         do_ident, do_sccs, do_xifdef, skip_if_group,
18293         output_line_directive, macroexpand, macarg, change_newlines,
18294         initialize_builtins, make_definition): Constify a char*.
18295
18296         * pcp.h (stringdef): Likewise.
18297
18298 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
18299
18300         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
18301         not of pattern.
18302
18303 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
18304                           Richard Henderson  <rth@cygnus.com>
18305
18306         * alias.c: Include ggc.h.
18307         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
18308         (record_set): Verify enough room in reg_base_value.
18309         (init_alias_analysis): Allocate reg_base_value with xcalloc.
18310         Register it as a GC root.
18311         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
18312         * Makefile.in (alias.o): Depend on ggc.h.
18313
18314         * unroll.c (unroll_loop): Verify the insn before a barrier
18315         is a JUMP_INSN before checking JUMP_LABEL.
18316
18317 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18318
18319         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
18320         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
18321         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
18322         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
18323         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
18324         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
18325
18326 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18327
18328         * output.h (ctors_section, dtors_section, bss_section): Prototype.
18329
18330         * alpha/alpha-interix.h (text_section): Delete prototype.
18331         * alpha/elf.h (text_section): Likewise.
18332         * arm/linux-elf.h (text_section): Likewise.
18333         * arm/linux-telf.h (text_section): Likewise.
18334         * c4x/c4x.h (text_section): Likewise.
18335         * dsp16xx/dsp16xx.h (bss_section): Likewise.
18336         * elfos.h (text_section): Likewise.
18337         * i386/aix386ng.h (text_section): Likewise.
18338         * i386/i386-interix.h (text_section): Likewise.
18339         * i386/sco5.h (text_section): Likewise.
18340         * i386/svr3gas.h (text_section): Likewise.
18341         * nextstep.h (text_section): Likewise.
18342         * psos.h (text_section): Likewise.
18343         * ptx4.h (text_section): Likewise.
18344         * svr3.h (text_section): Likewise.
18345         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
18346
18347 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18348
18349         * final.c (peephole): Delete prototype.
18350
18351         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
18352         (pre_insert_copies): Remove unused variable `bb'.
18353
18354         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
18355         prototypes.
18356
18357         * output.h (peephole): Add prototype.
18358
18359 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
18360
18361         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
18362         -O0.
18363
18364 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
18365
18366         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
18367         for inlined declarations.
18368
18369 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
18370
18371         * arm.c (logical_binary_operator): New fucntion.
18372         * arm.h (logical_binary_operator): Declare it.
18373         (PREDICATE_CODES): Handle logical_binary_operator.
18374         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
18375         output constraints.  Add appropriate splitters.
18376         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
18377         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
18378         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
18379
18380 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18381
18382         * genoutput.c (struct operand_data): New elt eliminable.
18383         (output_operand_data): Write it.
18384         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
18385         (compare_operands): Take it into account.
18386         * recog.h (struct insn_operand_data): New elt eliminable.
18387         * reload1.c (check_eliminable_occurrences, elimination_effects): New
18388         functions.
18389         (old_asm_operands_vec, new_asm_operands_vec): Delete.
18390         (eliminate_regs): Move code that detects changes to elimination
18391         target regs into new function elimination_effects.
18392         Delete one #if 0 block.
18393         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
18394         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
18395         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
18396         Only call eliminate_regs for real operands of the insn, not for parts
18397         of its structure or parts matched by things like match_operator.
18398         Use elimination_effects and check_eliminable_occurrences.  Use
18399         copy_insn to duplicate the pattern when not in the final pass.
18400
18401 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
18402
18403         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
18404         and fld.
18405
18406 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
18407
18408         * fixinc/README: document the "mach" machine matching test
18409         * fixinc/fixfixes.c: Implement the #else/#endif label fix
18410         * fixinc/fixtests.c: Implement the #else/#endif label test
18411         * fixinc/inclhack.def: utilize these tests and fixes
18412         * fixinc/inclhack.sh:  regen
18413         * fixinc/fixincl.x:  regen
18414         * fixinc/fixincl.sh:  regen
18415
18416 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
18417
18418         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
18419         depend on ggc.h.
18420
18421 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
18422
18423         * gcc.1: Document exit codes.
18424
18425 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18426
18427         * calls.c: Include tm_p.h later, so everything we need is defined.
18428         * expr.c: Likewise.
18429         * function.c: Likewise.
18430
18431         * except.c: Include tm_p.h.
18432
18433         * sparc.c: Likewise.
18434         (dwarf2out_cfi_label): Don't prototype.
18435         (check_return_regs, epilogue_renumber,
18436         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
18437         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
18438         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
18439         ultra_schedule_insn): Add static prototype.
18440         (data_segment_operand, text_segment_operand): Call itself with the
18441         proper number of arguments.
18442         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
18443
18444         * sparc.h: Move all declarations to sparc-protos.h.
18445         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
18446         symbolic_operand.
18447
18448         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
18449
18450         * config/svr4.h (text_section, ctors_section, dtors_section): Add
18451         Prototypes.
18452         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
18453         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
18454         ASM_OUTPUT_ASCII): Constify a char*.
18455
18456         * sparc-protos.h: New file for sparc prototypes.
18457
18458 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18459
18460         * function.c (record_insns, contains): Always declare and define.
18461         (record_insns): Mark with ATTRIBUTE_UNUSED.
18462
18463 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
18464
18465         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
18466         to .section when outputting a .bss section to deal with multiple
18467         .bss input sections (as happens with -fdata-sections)
18468         Also output %progbits, not @progbits so the assembler doesn't treat as
18469         a comment.
18470         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
18471
18472         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
18473         thumb parts even when building with non-thumb CPUs, by forcing
18474         thumb mode.
18475
18476 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
18477
18478         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
18479         (movdf_const_intreg_sp64): Similarly.
18480
18481         * local-alloc.c (update_equiv_regs): Check the correct insn
18482         for pre-existing REG_EQUIV notes.
18483
18484 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
18485
18486         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
18487         block reached by a branch if we're not going to actually process
18488         this block.
18489
18490 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
18491
18492         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
18493         a local extern function declaration.
18494
18495 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
18496
18497         * i386.c (ix86_expand_prologue): Properly wrap USE around
18498         reg for CALL_INSN_FUNCTION_USAGE.
18499
18500 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
18501
18502         * config/mips/mips.md (movdf_internal1a): Allow floating-point
18503         move between GP_REGs.
18504
18505 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
18506
18507         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
18508         the mode size when finding out if an offset is legal.
18509
18510 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
18511
18512         * basic-block.h (PROP_*): Move constants from ...
18513         * flow.c: ... here.
18514         (compute_bb_for_insn): Free the array before reallocating.
18515         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
18516         (allocate_reg_life_data): Reset all reg variables collected by
18517         propagate_block.
18518         (get_block_head_tail): Don't convert from bb to block.
18519         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
18520         (find_insn_reg_weight): Take block not bb.
18521         (schedule_block): Don't set block num for moved insns.
18522         (schedule_region): Don't update_life_info or find_insn_reg_weight.
18523         (schedule_insns): Do it here instead.
18524         * combine.c (combine_instructions): Invoke compute_bb_for_insn
18525         before update_life_info.
18526         * recog.c (split_all_insns, peephole2_optimize): Update for
18527         new arg to update_life_info.
18528         * rtlanal.c (remove_note): Cope with NULL note.
18529         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
18530         if we did sched1.
18531
18532 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
18533
18534         * jump.c (jump_optimize_1): More accurately detect casesi insns.
18535
18536         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
18537         block records so that merge_blocks_nomove will clean up correctly.
18538         (split_edge): Handle casesi insns.
18539
18540         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
18541
18542 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
18543
18544         * pa.md (call, call_value): Do not emit a blockage after restoring
18545         the PIC register.
18546
18547 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
18548
18549         * c-typeck.c (c_expand_asm_operands): Fix typo.
18550
18551 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18552
18553         * arm.c (fpu_rhs_operand): Verify modes.
18554         (fpu_add_operand): Likewise.
18555         (di_operand): Likewise.
18556         (soft_df_operand): Likewise.
18557
18558 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
18559
18560         * arm.c (arm_return_in_memory): APCS rules state that the elements
18561         of a structure returned in a register must be 'integer-like'.
18562
18563 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
18564
18565         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
18566         in the source tree when the generated targets are out of date
18567         * fixinc/genfixes: Alter it to run individual fixes for make.
18568         * fixinc/README: rewrite
18569         * fixinc/inclhack.def: moved initial comments to README
18570
18571 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
18572
18573         * toplev.c (main): Do not generate an error message if an
18574         unrecognised command line switch is recognisable by another
18575         language.  If extra_warnings are enabled, then generate a
18576         warning message instead.
18577
18578 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18579
18580         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
18581         (insert_pack_attributes): Delete prototype.
18582
18583         * c-pragma.c (default_alignment): New static variable.
18584         (push_alignment): Initialize to current effective alignment.
18585         (pop_alignment): Use to set new alignment.
18586         (insert_pack_attributes): Delete function.
18587         (handle_pragma_token): Set default_alignment as well each time
18588         a #pragma pack(<n>) is encountered.
18589
18590 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
18591
18592         * reg-stack.c (stack_result): Aggregates are not returned in
18593         stack registers.
18594
18595 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
18596
18597         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
18598
18599 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
18600
18601         * basic-block.h (set_block_num): Declare.
18602         * flow.c (update_life_info): Don't call compute_bb_for_insn
18603         or free_basic_block_vars.
18604         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
18605         (insn_orig_block): Remove.
18606         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
18607         (schedule_block): Keep BLOCK_NUM up-to-date.
18608         (schedule_insns): Use compute_bb_for_insn.
18609         * recog.c (split_all_insns): Likewise.
18610         (peephole2_optimize): Likewise.
18611
18612 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
18613
18614         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
18615         if the pic register is used.
18616
18617 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18618
18619         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
18620         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
18621         if that tests TREE_PERMANENT.
18622
18623 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
18624
18625         * cse.c (invalidate_for_call): Do not remove memory references from
18626         the table here.  It's handled elsewhere.
18627
18628         * haifa-sched.c (add_dependence): Protect references to the
18629         true dependency cache with #ifdef INSN_SCHEDULING.
18630         (remove_dependence): Similarly.
18631
18632         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
18633         to the cfg code that this is a return instruction.
18634         * mn10300.md (return_internal): Similarly.
18635
18636         * combine.c (get_last_value): If the last set of a register
18637         is after subst_low_cuid, then we can not use it to determine
18638         the register's last value.
18639
18640 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18641
18642         * Makefile.in: Back out previous change.
18643
18644 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
18645
18646         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
18647
18648         * haifa-sched.c (add_dependence): Only check/update the cache
18649         if it exists.
18650         (remove_dependence): Likewise.
18651         (schedule_insns): Only create the true_dependency_cache if the
18652         average number of instructions in a basic block is very large.
18653
18654 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
18655
18656         * Makefile.in (ggc-common.o): Depend on genrtl.h.
18657         (ggc-simple.o): Likewise.
18658         (ggc-page.o): Likewise.
18659
18660 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
18661
18662         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
18663         Prototype for exported functions.
18664         (pre_lcm, pre_rev_lcm): Remove prototypes.
18665         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
18666         (compute_available): Move to lcm.c, and change parameter order.
18667         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
18668         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
18669         (gcse_main): No longer call compute_preds_succs.  Rebuild the
18670         set table after reach pre pass.
18671         (pre_insert_map, pre_delete_map, edge_list): New.
18672         (alloc_pre_mem): Allocate edge vectors.
18673         (free_pre_mem): Delete edge vectors.
18674         (compute_pre_data): Call new edge based lcm routines.
18675         (process_insert_insn): New function.
18676         (insert_insn_end_bb): Use it.
18677         (pre_edge_insert): New function.
18678         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
18679         needed.
18680         (pre_insert_copies): Revamp using new edge based lcm outputs.
18681         (pre_delete): Likewise.
18682         (one_pre_gcse_pass): Insert & remove fake edges to the exit
18683         block.
18684         (compute_code_hoist_vbeinout): New new edge based routines.
18685         * lcm.c: Remove all the old LCM functions.  Replace with new ones
18686         that work with the new cfg datastructures and work with edges
18687         instead of blocks.
18688
18689 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18690
18691         * reload.h (struct reload): Add new fields "mode" and "nregs".
18692         * reload1.c: Change all occurrences of reload_mode and reload_nregs
18693         to reference the "mode" and "nregs" field within struct reload.
18694
18695 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
18696
18697         * haifa-sched.c (true_dependency_cache): New.
18698         (add_dependence): Use the true dependency cache to avoid expensive
18699         walks down the LOG_LINKS dependency list.  Add entries to the
18700         cache as necessary.
18701         (remove_dependence): Remove entries from the true dependency cache
18702         as needed.
18703         (schedule_insns): Allocate and initialize and free the true
18704         dependency cache.
18705
18706         * haifa-sched.c (schedule_insns): Do not remove inter-block
18707         dependencies anymore.
18708
18709 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
18710
18711         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
18712         * i386/t-winnt: Likewise.
18713
18714 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
18715
18716         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
18717
18718 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
18719
18720         * Makefile.in (LANGUAGES): Omit "proto".
18721         (clean): Remove stale comment about removing unprotoize.c.
18722
18723 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18724
18725         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
18726         using arithmetic on void pointers.
18727
18728 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
18729
18730         * haifa-sched.c (compute_block_forward_dependencies): Only check
18731         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
18732
18733 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
18734
18735         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
18736         (expr_equiv_p): Reject memories with different alias sets.
18737
18738 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
18739
18740         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
18741         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
18742         (f_options): Add "bounded-pointers" and "bounds-check" entries.
18743         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
18744         (lang_init): Set default for flag_bounds_check if still "unspecified".
18745
18746 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18747
18748         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
18749
18750 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18751
18752         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
18753         instructions.
18754
18755 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18756
18757         * config/c4x/c4x.md (*db_noclobber,
18758         *decrement_and_branch_until_zero_noclobber): New patterns and
18759         associated splitters.
18760
18761 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18762
18763         * config/c4x/c4x.md (parallel instruction patterns): Rework
18764         constraints to keep reload happy.
18765
18766 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18767
18768         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
18769         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
18770         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
18771         Add new patterns and associated post-reload splitters.
18772
18773 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18774
18775         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
18776
18777 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18778
18779         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
18780         if appropriate.
18781         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
18782
18783 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18784
18785         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
18786         memory mode.
18787
18788 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18789
18790         * pa.c (move_operand): Rely on memory_address_p to determine the
18791         validity of non-indexed memory addresses.
18792         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
18793         operand in DFmode and SFmode when generating PA2.0 code.
18794
18795 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
18796
18797         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
18798
18799 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
18800
18801         * mips.c (function_prologue): Fix argument types.
18802         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
18803         (casesi_internal): Write to the scratch register.
18804
18805 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
18806
18807         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
18808         to U_CHAR **.
18809         (parse_charconst): Delete unnecessary cast when calling
18810         cpp_parse_escape.
18811         (cpplib.h): Kill prototype of cpp_parse_escape.
18812
18813 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
18814
18815         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
18816         * unroll.c (unroll_loop): Cast return value of alloca.
18817         * i370/i370.c: Include function.h and toplev.h.
18818         (i370_label_scan): Remove c++ commented abort.
18819         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
18820         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
18821         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
18822         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
18823
18824 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
18825
18826         * config/t-freebsd: Do not override USER_H.
18827         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
18828
18829 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
18830                           Mumit Khan  <khan@xraylith.wisc.edu>
18831
18832         * c-parse.in (component_decl): Support anonymous struct/union.
18833         (%expect): Update.
18834         * c-parse.y: Regenerate.
18835         * c-parse.c: Likewise.
18836         * objc/objc-parse.y: Likewise.
18837         * objc/objc-parse.c: Likewise.
18838         * c-decl.c (finish_struct): Don't sort the fields.
18839         (field_decl_cmp): Delete unused function.
18840
18841 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
18842
18843         * sparc.md (movsf_const_intreg): Revert last constraint change.
18844         (movdf_const_intreg_sp32): Likewise.
18845
18846 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
18847
18848         * cse.c: Include hashtab.h instead of splay-tree.h
18849         (struct cse_reg_info): No longer use variant union.  Add new
18850         field "regno".  All references changed to avoid union.
18851         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
18852         (free_cse_reg_info): Remove.
18853         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
18854         (get_cse_reg_info): Revamp to use expandable hash tables instead
18855         of splay trees.  Initialize new fields in cse_reg_info structure.
18856         (new_basic_block): Similarly.
18857
18858 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
18859
18860         * genrecog.c (message_with_line): Prototype.
18861         (validate_pattern): Pass along the set for the dest, not a flag.
18862         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
18863         Check for PC/CC0 as sources.
18864         (nodes_identical): Check for children position match before
18865         allowing the combination.
18866
18867         * rtl.c (read_rtx): Track line number across \\\n.
18868
18869 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
18870
18871         * mips.h (SPECIAL_MODE_PREDICATES): New.
18872         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
18873         (movdi+1, movsi+1): Add output reload constraint.
18874         (casesi_internal): Likewise.  Fix commentary.
18875         (return_internal): Use pmode_register_operand.
18876
18877 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
18878
18879         * 1750a.md (movstrqi): Add missing output reload constraint.
18880         (call_value): Likewise.
18881         * a29k.md (cpxxx patterns): Add missing match_operator mode.
18882         (jmpfdec): Add missing inout reload constraint.
18883         * elxsi.md (addsi patterns): Add missing output reload constraint.
18884         (move from sp): Use @ alternates.
18885         (call_value): No constraint on output.
18886         * fr30.md (movsi_pop): Add missing output reload constraint.
18887         (movsf_constant_store): Likewise.
18888         (splits): Remove constraints.
18889         (subsi3): Add missing mode.
18890         * i370.md (cmpstrsi+1): Add missing output reload constraint.
18891         (call_value): Likewise.
18892         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
18893         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
18894         * m32r.md (movsicc_internal): Add output reload constraint.
18895         (movstrsi_internal): Add inout reload constraints.
18896         * m88k.h (reg_names): Don't declare.
18897         (SPECIAL_MODE_PREDICATES): New.
18898         * m88k.md (*): Use register_operand not reg_or_0_operand
18899         on destinations.
18900         * mn10200.h (PREDICATE_CODES): New.
18901         * ns32k.md (ffs pattern): Add output reload constraint.
18902         * pdp11.md (sob pattern): Add inout reload constraint.
18903         * sh.md (splits): Remove constraints.
18904         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
18905         * v850.md (pattern_is_ok_for_epilogue): Likewise.
18906         * vax.md (jgequ pattern): Add inout reload constraint.
18907
18908 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
18909
18910         * configure.in (djgpp): Revert previous patch.
18911         * configure: Rebuit.
18912         * config/i386/djgpp.h: Revert previous patch.
18913
18914 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
18915
18916         * fixinc/inclhack.def: Restore patch lost during last merge of
18917         "no_bogosity" branch.
18918         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
18919
18920 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18921
18922         * fixincludes: Add a HPUX 11 fix for inttypes.h.
18923         * fixinc/inclhack.def: Same.
18924         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
18925
18926 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
18927
18928         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
18929         as the base of a PLUS.
18930
18931 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18932
18933         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
18934         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
18935
18936 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
18937
18938         * pa.md (post_stw+1): Use pmode_register_operand.
18939         (dcacheflush, icacheflush): Likewise.
18940
18941         * i386.md (movstricthi_1): Allow r/r.
18942
18943 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
18944
18945         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
18946         to (not (and (arg0) (arg1))). Similary for and.
18947
18948         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
18949         fallthrough to associate code.
18950         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
18951         bits in common.
18952
18953         * combine.c (simplify_logical): Convert XOR to IOR if operands have
18954         no bits in common; remove XOR to ROTATE conversion.
18955
18956 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18957
18958         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
18959
18960 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18961
18962         * config/c4x/c4x.c (dst_operand): New.
18963         (PREDICATE_CODES): Update.
18964         * config/c4x/c4x.h (dst_operand): Declare it.
18965         * config/c4x/c4x.md:  Define mode for each unspec usage.
18966         (move patterns):  Use dst_operand predicate instead of src_operand.
18967         (movqi_update, movqf_update): Delete.
18968
18969 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
18970
18971         * recog.c (pmode_register_operand): New.
18972         * recog.h: Declare it.
18973         * genrecog.c (pred_codes): Likewise.
18974         (special_mode_pred_table): Likewise.
18975         (validate_pattern): Don't warn no mode for address_operand.
18976
18977         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
18978         if the operand is not insn-like.
18979
18980 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
18981                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
18982
18983         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
18984
18985 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
18986
18987         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
18988         instead of general_operand in a SET_DEST.  Use const_double_operand
18989         instead of an explicit test against CONST_DOUBLE.
18990         (movsf_const_lo): Add missing register mode.
18991         (goto_handler_and_restore): Add auxiliary test for Pmode.
18992         (flush): Adjust to use address_operand.
18993         (return_sf_no_fpu): Add missing output constraint.
18994
18995 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
18996
18997         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
18998         for call return value.
18999         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
19000
19001 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
19002
19003         * toplev.c (main): Only warn about options for other languages.
19004         * collect2.c (main): Pass -w to sub-gcc.
19005
19006 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
19007
19008         * flow.c (propagate_block): Add call-clobbered registers to
19009         significant too.
19010
19011         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
19012         zapping mem_set_list.
19013         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
19014         (mark_set_1, mark_used_regs): Likewise.
19015
19016 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
19017
19018         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
19019
19020 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
19021
19022         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
19023         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
19024         options. Also add a new item "C-only Warning Options" to the
19025         option summary.
19026
19027 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
19028
19029         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
19030         from multiple calls.
19031
19032 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
19033
19034         * i386.md (call value patterns): Move to the end of the file.
19035         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
19036
19037 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
19038
19039         * configure.in (djgpp configuration): Define extra_objects..
19040         * configure: Rebuilt.
19041         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
19042         (DTORS_SECTION_ASM_OP): Define.
19043         (INIT_SECTION_ASM_OP): Define.
19044         (FINI_SECTION_ASM_OP): Define.
19045         (DATA_SECTION_ASM_OP): Define.
19046         (TEXT_SECTION_ASM_OP): Define.
19047         (EH_FRAME_SECTION_ASM_OP): Define.
19048         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
19049         (STARTFILE_SPEC): Add crtbegin.o.
19050         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
19051         to here from LINK_COMMAND_SPEC.
19052         (DO_GLOBAL_CTORS_BODY): Define.
19053         (CRTSTUFF_USE_FINI_SECTION): Define
19054         (HAS_INIT_SECTION): Delete.
19055
19056 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
19057
19058         * Makefile.in (all.cross): Depend on xcpp$(exeext).
19059
19060 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
19061
19062         * pa.h (PREDICATE_CODES): New.
19063
19064         * genrecog.c (validate_pattern): Condense the destination
19065         non-lvalue message.
19066
19067 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
19068
19069         * alpha.md (call-1): Supply missing mode for operator.
19070         (*): Add missing output reload constraints.  Remove constraints
19071         from define_splits.
19072
19073         * i386.h (SPECIAL_MODE_PREDICATES): New.
19074         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
19075         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
19076         (addsi_lea_3): Add missing mode for op 3.
19077         (prologue_set_got, prologue_get_pc): Add missing modes.
19078         (*) Add missing output reload constraints.
19079
19080 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
19081
19082         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
19083         check for member bit-size overflow and use var_size if it occurs.
19084         (layout_record): Use bitsize_int() to define the type size in bits.
19085         Likewise for computation and assignment to DECL_FIELD_BITPOS.
19086         (layout_decl): Likewise when assigning to DECL_SIZE.
19087
19088 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
19089
19090         * genrecog.c (validate_pattern): Typo last change.  Verify
19091         that output operands have output reloads.
19092
19093 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
19094
19095         * genrecog.c (special_mode_pred_table): New.
19096         (NUM_SPECIAL_MODE_PREDS): New.
19097         (find_operand): New.
19098         (validate_pattern): New argument `insn'.  Warn for assignment to
19099         any predicate accepting non-lvalues.  Conditionaly warn for
19100         match_operand without a mode.  Try much harder to match source
19101         and destination modes on a set.
19102         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
19103
19104 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
19105
19106         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
19107
19108 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
19109
19110         * combine.c (simplify_logical): Recognize xor pattern that encodes
19111         rotation.
19112
19113 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19114
19115         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
19116         alignment.
19117
19118 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
19119
19120         * ggc-page.c (MAP_FAILED): Provide default.
19121
19122 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
19123
19124         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
19125         * sparc.h (PREDICATE_CODES): Update.
19126
19127 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
19128
19129         * alpha.c (some_ni_operand): New.
19130         * alpha-protos.h: Declare it.
19131         * alpha.h (PREDICATE_CODES): Update.
19132         * alpha.md (sXaddq reload insns): Use some_ni_operand
19133         for SET_DEST instead of some_operand.
19134
19135 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
19136                           Jim Wilson  <wilson@cygnus.com>
19137
19138         * genrecog.c (maybe_both_true_2): Don't compare modes of
19139         two DT_pred tests.
19140         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
19141         after find_afterward.
19142         (debug_decision_1): Dump next and afterward codes.
19143
19144 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
19145
19146         * rtl.c (dump_and_abort): Remove.
19147         (fatal_with_file_and_line): New.
19148         (fatal_expected_char): New.
19149         (read_rtx_lineno, read_rtx_filename): New.
19150         (read_skip_spaces): Track line number.
19151         (read_name): Use fatal_with_file_and_line.
19152         (read_rtx): Use fatal_expected_char.  Track line number.
19153         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
19154
19155         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
19156         if it isn't a CODE_LABEL.
19157
19158         * genattr.c (main): Set read_rtx_filename.
19159         * genattrtab.c (main): Likewise.
19160         * gencodes.c (main): Likewise.
19161         * genconfig.c (main): Likewise.
19162         * genemit.c (main): Likewise.
19163         * genextract.c (main): Likewise.
19164         * genflags.c (main): Likewise.
19165         * genopinit.c (main): Likewise.
19166         * genoutput.c (main): Likewise.
19167         * genpeep.c (main): Likewise.
19168
19169         * genrecog.c (decision_test.u.insn): Add `lineno'.
19170         (pattern_lineno, error_count): New variables.
19171         (message_with_line): New.
19172         (add_to_sequence): Break out checking code to ...
19173         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
19174         (merge_insn): Use message_with_line.
19175         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
19176         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
19177
19178 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19179
19180         * expr.c (store_constructor): Clear union if constructor is empty.
19181
19182 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
19183
19184         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
19185         Add !endian checks.  Change %{...} to %(...).
19186
19187 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
19188
19189         * i386.md (*addsi3_cc): Renamed from addcsi3.
19190         (*addsi3_carry): Renamed from addxsi3.
19191         (*subsi3_cc): Renamed from subcsi3.
19192         (*subsi3_carry): Renamed from subxsi3.
19193         (*xorqi_cc_1): Renamed from xorcqi_1.
19194         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
19195         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
19196
19197 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
19198
19199         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
19200         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
19201
19202 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
19203
19204         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
19205         climb up the chain of insns.
19206
19207 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
19208
19209         * genrecog.c (write_subroutine): Careful for null trees.
19210         (process_tree): Don't elide empty functions.
19211
19212 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
19213
19214         * Makefile.in (genrtl.o): Depend on ggc.h.
19215         * configure.in (valloc): Probe for it.
19216         (with-gc): Use ggc-page if valloc present.
19217         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
19218         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
19219         (ggc_alloc_string): Moved from ggc-page.c.
19220         * ggc-none.c (ggc_alloc_obj): New.
19221         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
19222         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
19223         (struct globals): Likewise for dev_zero_fd.
19224         (init_ggc): Likewise for it's initialization.
19225         (ggc_allocated_p): Move careful dereference from ...
19226         (ggc_lookup_page_table): ... here.  Delete.
19227         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
19228         (alloc_anon): Use valloc if no mmap.
19229         (release_pages): Use free if using valloc.
19230         (ggc_alloc_obj): Renamed from alloc_obj.
19231         (ggc_set_mark): Renamed from mark_obj.
19232         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
19233         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
19234         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
19235         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
19236         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
19237         (ggc_collect): Use fp printing instead of our own rounding.
19238         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
19239         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
19240         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
19241         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
19242         (struct ggc_string, struct ggc_any): Delete.
19243         (offsetof): Provide default definition.
19244         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
19245         (PTR_KEY): New.
19246         (struct ggc_mem): New, from corpse of ggc_any.
19247         (struct ggc_status): Delete.
19248         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
19249         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
19250         (n_strings_collected, n_anys_collected): Delete.
19251         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
19252         (ggc_alloc_string, ggc_alloc): Delete.
19253         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
19254         (ggc_free_string, ggc_free_any): Delete.
19255         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
19256         (ggc_compare_addresses, ggc_mark_string): Delete.
19257         (ggc_mark_string_if_gcable, ggc_mark): Delete.
19258         (search_data): Delete.
19259         (struct globals): New.
19260         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
19261         (tree_insert, tree_lookup): New.
19262         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
19263         (clear_marks, sweep_objs): New.
19264         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
19265         (init_ggc): Set allocated_last_gc.
19266         (ggc_push_context): Gut.  Use G.context.
19267         (ggc_pop_context): Likewise.
19268         (ggc_pop_context_1): New.
19269         (debug_ggc_tree): New.
19270         (debug_ggc_balance, tally_leaves): New.
19271         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
19272         (ggc_mark_string_if_gcable): Remove decl.
19273         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
19274         (ggc_mark_rtvec_children): New.
19275         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
19276         (ggc_mark_if_gcable): New decl.
19277         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
19278         (ggc_alloc_tree, ggc_alloc): Likewise.
19279         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
19280         (ggc_alloc_obj): New decl.
19281         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
19282         (ggc_alloc_tree, ggc_alloc): Likewise.
19283         (ggc_set_mark): New decl.
19284         * rtl.h (struct rtx_def): Remove gc_mark.
19285         (struct rtvec_def): Likewise.
19286         * tree.h (struct tree_common): Likewise.
19287
19288 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
19289
19290         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
19291         float_format and thread_file definitions.
19292         * configure: Rebuilt.
19293
19294 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
19295
19296         * extend.texi (Function Names): Document types of function names.
19297
19298 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19299
19300         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
19301         an earlyclobbered output conflict with RELOAD_INPUT reloads.
19302
19303 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19304
19305         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
19306
19307 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19308
19309         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
19310
19311 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
19312
19313         * collect2.c (main): Do prelimnary link on AIX if rflag.
19314
19315 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
19316
19317         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
19318         __CTOR_LIST__ in opposite order, which is the correct order for sorted
19319         constructors.
19320         (__do_global_dtors): similarly for __DTOR_LIST__.
19321
19322 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19323                                 Diego Novillo <dnovillo@cygnus.com>
19324
19325         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
19326         FPUL_REGS.
19327
19328 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
19329
19330         * fixincl/*: Merged "no_bogosity" branch
19331         * fixincl/fixlib.h: protect against doubly defining t_bool
19332         * fixincl/server.h: protect against doubly defining t_bool
19333
19334 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
19335
19336         * genoutput.c: Include toplev.h.
19337
19338 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
19339
19340         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
19341         Undef.
19342         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
19343         * configure: Regenerate.
19344
19345 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
19346
19347         * gcse.c (delete_null_pointer_checks): Returns void.
19348
19349 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19350
19351         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
19352         * emit-rtl.c (copy_insn_1): Likewise.
19353
19354 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19355
19356         * config/mips/mips.c (mips_build_va_list): Correct
19357         TREE_CHAIN setting when hard-float.
19358         (mips_va_start): Use corrected setting.
19359         (mips_va_arg): Likewise.  Also pass a tree to build of
19360         POSTINCREMENT_EXPR rather than a naked 'int'.
19361
19362 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
19363
19364         * ggc.h (ggc_push_context): Fix comment.
19365         (ggc_pop_context): Likewise.
19366         (mark_string_if_gcable): Likewise.
19367         * ggc-common.c (ggc_mark_rtx_children): Use
19368         ggc_mark_string_if_gcable.
19369         * ggc-page.c (ggc_lookup_page_table): New function.
19370         (ggc_allocated_p): Likewise.
19371         (mark_obj): Fix formatting.
19372         (ggc_mark_string_if_gcable): New function.
19373         * ggc-simple.c (ggc_allocated_strings): New variable.
19374         (ggc_strings_used): Likewise.
19375         (ggc_compare_addresses): New function.
19376         (ggc_pop_context): Pop the `any' memory too.
19377         (ggc_mark_string_if_gcable): New function.
19378         (ggc_collect): Initialize and tear down ggc_allocated_strings.
19379
19380 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
19381
19382         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
19383         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
19384         * rs6000.c (expand_block_move): Match movstrsi_?reg register
19385         changes.
19386
19387 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
19388
19389         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
19390         (sched_reg_live_length, sched_reg_basic_block): Delete.
19391         (current_block_num, bb_live_regs, old_live_regs): Delete.
19392         (dead_notes, struct sometimes): Delete.
19393         (sched_note_set, birthing_insn_p): Delete.
19394         (adjust_priority): Gut useless reg lifetime code.
19395         (create_reg_dead_note, attach_deaths): Delete.
19396         (attach_deaths_insn, new_sometimes_live): Delete.
19397         (finish_sometimes_live): Delete.
19398         (find_pre_sched_live, find_post_sched_live): Delete.
19399         (update_reg_usage): Delete.
19400         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
19401         (schedule_insns): Delete reg lifetime code.
19402         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
19403         (unlink_other_notes): Adjust REG_NOTE commentary.
19404         (reemit_notes): Use REG_SAVE_NOTE.
19405         (schedule_block): Likewise.
19406         (schedule_region): Allocate bitmap of blocks in region.  Use
19407         count_or_remove_death_notes.  Use update_life_info.
19408
19409         * rtl.h (REG_SAVE_NOTE): New.
19410         * rtl.c (reg_note_name): Update.
19411
19412 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
19413
19414         * combine.c (refresh_blocks, need_refresh): New.
19415         (combine_instructions): Allocate refresh_blocks.  Invoke
19416         update_life_info if needed.
19417         (distribute_notes): Mark refresh_blocks instead of installing
19418         USE insns.
19419         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
19420         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
19421
19422         * Makefile.in (recog.o): Depend on basic-block.h.
19423
19424 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
19425
19426         * genrecog.c (add_to_sequence): Thinko last change: delete
19427         shadowing allow_const_int variable.
19428
19429 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19430
19431         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
19432         __GNUC__ and __GNUC_MINOR__.
19433
19434         * gansidecl.h: Likewise.
19435
19436         * rtl.c: Likewise.
19437
19438         * rtl.h: Likewise.
19439
19440         * toplev.h: Likewise.
19441
19442         * tree.c: Likewise.
19443
19444         * tree.h: Likewise.
19445
19446         * varray.c: Likewise.
19447
19448         * varray.h: Likewise.
19449
19450 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19451
19452         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
19453         use one before a jump table.
19454
19455         * rtl.def (ADDRESS): Change documentation to match reality.
19456         * md.texi: Don't document it.
19457         * gmicro.md (load address pattern): Use 'p' constraint, delete use
19458         of ADDRESS rtx.
19459
19460         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
19461
19462 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
19463
19464         * genrecog.c (add_to_sequence): Move allow_const_int test outside
19465         known predicate block; default allow_const_int true.
19466         (debug_decision_list): New.
19467
19468 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
19469
19470         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
19471
19472 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
19473
19474         * gcse.c (gcse_main): Avoid global optimizations if we have a
19475         large number of basic blocks and the ratio of edges to blocks
19476         is high.
19477         (delete_null_pointer_checks): Likewise.
19478
19479 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
19480
19481         * c-common.c (check_format_info): Warn if format string isn't a
19482         string literal.
19483
19484 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
19485
19486         * configure.in (arm*-*-*): Don't let autoconf remove brackets
19487         * configure: regenerate
19488
19489 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
19490
19491         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
19492         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
19493         (peepholes): Re-enable.
19494
19495 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
19496
19497         * Makefile.in (flow.o): Depend on TREE_H.
19498         * basic-block.h (REG_SET_EQUAL_P): New.
19499         (XOR_REG_SET): New.
19500         (n_edges): Declare.
19501         (free_regset_vector): Remove declaration.
19502         (flow_delete_insn_chain): Declare.
19503         (enum update_life_extent): New.
19504         (update_life_info, count_or_remove_death_notes): Declare.
19505         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
19506         Verify register live at bb->global_live_at_start before adding USE.
19507         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
19508         (CLEAN_ALLOCA): New.
19509         (n_edges): New.
19510         (PROP_*): New flags.
19511         (find_basic_blocks_1): Use alloc_EXPR_LIST.
19512         (clear_edges): Zero n_edges.
19513         (make_edge): Increment n_edges.
19514         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
19515         (flow_delete_insn_chain): Export.
19516         (delete_block): Decrement n_edges.
19517         (merge_blocks_nomove): Likewise.
19518         (life_analysis): Give life_analysis_1 PROP flags.
19519         (verify_wide_reg_1, verify_wide_reg): New.
19520         (verify_local_live_at_start): New.
19521         (update_life_info): Rewrite to call into propogate_block.
19522         (mark_reg): New.
19523         (mark_regs_live_at_end): After reload, if epilogue as rtl,
19524         always mark stack pointer.  Conditionally mark PIC register.
19525         After reload, mark call-saved registers, return regsiters.
19526         (life_analysis_1): Accept PROP flags not remove_dead_code.
19527         Call mark_regs_live_at_end before zeroing regs_ever_live.
19528         Use calculate_global_regs_live.  Copy global_live_at_end before
19529         calling final propagate_block.  Zero reg_next_use on exit.
19530         (calculate_global_regs_live): New.
19531         (allocate_bb_life_data): Don't allocate bb->local_set.
19532         (init_regset_vector, free_regset_vector): Remove.
19533         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
19534         Test flags before every operation.  Warn if prologue/epilogue insn
19535         would have been deleted.
19536         (mark_set_regs, mark_set_1): Accept and use FLAGS.
19537         Use alloc_EXPR_LIST.
19538         (mark_used_regs): Accept and use FLAGS, not FINAL.
19539         Remove special handling for RETURN.
19540         (try_pre_increment): Use alloc_EXPR_LIST.
19541         (dump_flow_info): Dump n_edges.
19542         (unlink_insn_chain, split_hard_reg_notes): Remove.
19543         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
19544         (find_insn_with_note, new_insn_dead_notes): Remove.
19545         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
19546         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
19547         (replace_insns): Remove.
19548         (count_or_remove_death_notes): New.
19549         (verify_flow_info): Abort on error after all checks.
19550         (remove_edge): Decrement n_edges.
19551         (remove_fake_edges): Tweak format.
19552         * haifa-sched.c (schedule_insns): Use split_all_insns.
19553         * output.h (update_life_info): Remove declaration.
19554         * recog.c (split_all_insns): From the corpse of split_block_insns,
19555         do the whole function block by block.  Use update_life_info.
19556         (recog_last_allowed_insn): New.
19557         (recog_next_insn): Mind it.
19558         (peephole2_optimize): Set it.  Walk backwards through blocks.
19559         Use update_life_info.
19560         * rtl.h (update_flow_info, replace_insns): Remove declarations.
19561         (split_all_insns): Declare.
19562         * toplev.c (rest_of_compilation): Thread prologue before flow2.
19563         Use split_all_insns.
19564
19565         * i386.md (or -1 peep2s): Disable.
19566
19567 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
19568
19569         * config/mips/mips.md (movstrsi+[123]) : Combine these into
19570         a single pattern.  Scrap the 'd' versions as unnecessary.
19571
19572         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
19573         tablejump_mips162,tablejump_internal4): The operands to a
19574         label_ref must be VOIDmode.
19575
19576 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19577
19578         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
19579
19580 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19581
19582         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
19583
19584 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
19585
19586         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
19587         cache every function if ggc_p.
19588
19589 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19590
19591         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
19592         instead of copy_rtx.  Accept sequences that contain asm statements.
19593         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
19594         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
19595         orig_asm_operands_vector, copy_asm_operands_vector,
19596         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
19597         variables.
19598         * rtl.h (copy_insn, copy_insn_1): Declare.
19599
19600 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19601
19602         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
19603
19604         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
19605         arguments to `current_file_function_operand'.
19606
19607         * genrecog.c: Include hard-reg-set.h and resource.h in the
19608         generated output file.
19609
19610         * real.c: Include tm_p.h.
19611
19612 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19613
19614         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
19615         output operand.
19616
19617 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
19618
19619         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
19620         before the fctiwz insn.
19621
19622 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19623                           Mark Mitchell  <mark@codesourcery.com>
19624
19625         * tree.c (make_lang_type_fn): New funtion pointer.
19626         (make_lang_type): Call it.
19627         * tree.h (make_lang_type): Declare.
19628         (make_lang_type_fn): Likewise.
19629         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
19630
19631 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
19632
19633         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
19634         make sure that HIGH instructions are copied into BASE_REGS.
19635
19636 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
19637
19638         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
19639
19640 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
19641
19642         * c-decl.c (finish_struct): Use simpler method of
19643         removing elements of a singly-linked list.
19644
19645 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
19646
19647         * alpha.md (peephole2's): Comment out peephole2's that generate
19648         buggy code.
19649
19650 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
19651
19652         * genrecog.c (add_to_sequence): Disable mode check for
19653         wildcard matches.
19654
19655 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19656
19657         * ggc-simple.c (init_ggc): Set empty_string.
19658
19659 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
19660
19661         * configure.in: Detect mmap.  Add --with-gc=foo to select
19662         garbage collector; default to page if mmap available.
19663         * Makefile.in (GGC): Substitute.
19664
19665 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
19666
19667         * c-decl.c (ggc_p): Enable.
19668
19669 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19670
19671         * flow.c (verify_flow_info): Make it extern & unconditionally define.
19672
19673 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
19674
19675         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
19676         string for little-endian-data.
19677
19678 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
19679
19680         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
19681         case somebody tries to compile --enable-checking code with gcc
19682         1.34 or such.
19683
19684 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
19685
19686         * genrecog.c (add_to_sequence): Verify operand to label_ref is
19687         VOIDmode.
19688
19689 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
19690
19691         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
19692         * jump.c (jump_optimize_1): Document why.
19693
19694 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19695
19696         * collect2.c (scan_prog_file, scan_libraries): Prototype function
19697         pointers and casts for `int_handler' and `quit_handler'.
19698
19699         * flow.c (verify_flow_info, split_hard_reg_notes,
19700         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
19701         remove_edge, remove_fake_successors): Add static prototypes.
19702         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
19703         (mark_set_1): Initialize variable `regno'.
19704         (unlink_insn_chain): Likewise for variable `curr'.
19705         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
19706
19707         * loop.c (strength_reduce): Initialize variable
19708         `unrolled_insn_copies'.
19709         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
19710         prototypes.  Change these functions to take const PTR parameters
19711         to avoid prototype conflict when used as the comparson argument
19712         for qsort.
19713         (check_dbra_loop): Initialize variable `comparison_val'.
19714
19715         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
19716         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
19717         (find_valid_class): Initialize variable `best_class'.
19718         (find_reloads): Call memcpy, not bcopy.
19719
19720         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
19721         (hard_reg_use_compare): Don't needlessly cast away const.
19722         (reload_reg_class_lower): Likewise.
19723         (choose_reload_regs): Initialize variable `regno'.
19724
19725 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
19726
19727         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
19728
19729 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
19730
19731         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
19732         ({,d}discard): Add forward declarations.  Declare parameter as
19733         unused.
19734         (main_without_main): Explicitly declare return type to be int.
19735         (memcpy): Properly declare.
19736
19737         * libgcc2.c (toplevel): If inhibit_libc is defined and not
19738         building the trampoline support, declare malloc, free, and
19739         atexit.
19740         (__clear_cache): Mark arguments as potentially unused.
19741
19742         * frame.c (toplevel): If inhibit_libc is defined, declare
19743         malloc and free.
19744
19745 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
19746
19747         * flow.c (make_edge): Accept an optional 2D bitmap in which
19748         to cache edge existence.  Update all callers.
19749         (make_label_edge, make_eh_edge): Pass through the edge cache.
19750         (make_edges): Provide the cache.
19751
19752 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19753
19754         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
19755         a char*.
19756         (local_mbtowc): Change the type of variable `i' from int to size_t.
19757
19758         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
19759         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
19760
19761 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
19762
19763         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
19764         after other includes that define the appropriate types.  Include
19765         tm_p.h for getting user prototypes.
19766         * ggc-callbacks.c (toplevel): Ditto.
19767         * ggc-none.c (toplevel): Ditto.
19768         * gcc-page.c (toplevel): Ditto.
19769         * ggc-simple.c (toplevel): Ditto.
19770
19771 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
19772                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
19773
19774         * config/mips/mips.c (mips_move_2words): Split doubles if
19775         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
19776
19777 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
19778
19779         * genrecog.c (struct decision_test): New.
19780         (struct decision): Remove test-related members, sort the rest by size.
19781         (IS_SPLIT): Simplify.
19782         (new_decision, new_decision_test): New.
19783         (add_to_sequence): Use them.  No special handling for args of
19784         non-MATCH codes.
19785         (maybe_both_true): Renamed from not_both_true; return sense changed.
19786         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
19787         of maybe_both_true and adjusted for decision_test.
19788         (position_merit): Remove.
19789         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
19790         (merge_accept_insn): New, broken out of merge_trees.
19791         (merge_trees): Use them.  No special case for c_test; no node
19792         splitting; use test type instead of position_merit.
19793         (factor_tests): New.
19794         (simplify_tests): New.
19795         (break_out_subroutines): Don't write code now.
19796         (find_afterward): New.
19797         (write_afterward, write_switch, write_cond): New.
19798         (write_action, is_unconditional): New.
19799         (write_node): New.  Use them.
19800         (write_tree_1): Rewrite.  Use the new functions above.
19801         (write_tree): Remove afterward processing.
19802         (write_subroutine): Simplify function variant emission.
19803         (write_subroutines): New.
19804         (same_codes, clear_codes): Remove.
19805         (same_modes, clear_modes): Remove.
19806         (write_header): New, broken out of main.
19807         (make_insn_sequence): Use new_decision and new_decision_test.
19808         (process_tree): New, broken out of main.
19809         (main): Adjust for merge_trees interface change.
19810         Don't #define operands in the output file.
19811         (record_insn_name): New, broken out of make_insn_sequence.
19812         (debug_decision_2, debug_decision_1, debug_decision_0): New.
19813         (debug_decision): New.
19814
19815 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
19816
19817         * resource.c (find_free_register): Mark class_str argument const.
19818         * resource.h: Update prototype to match.
19819
19820         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
19821         * i386.md: Give all anonymous insns names.
19822
19823 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
19824
19825         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
19826         blocks.
19827
19828 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
19829
19830         * toplev.c (dbr_sched_time): Unconditional.
19831         (peephole2_time): New.
19832         (compile_file): Add pass numbers to all of the dump file suffixes.
19833         Dump peephole2_time.  Don't dump times for non-applicable passes.
19834         (rest_of_compilation): Add pass numbers to dump file suffixes.
19835         Conditionalize calls to the scheduler.
19836         * invoke.texi: Update.
19837
19838 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
19839
19840         * flow.c (make_edges): Fix insn iteration.
19841         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
19842         (find_basic_blocks_1): Fix spelling mistake.
19843
19844 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
19845
19846         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
19847         always have side-effects.  Use memset not bzero.
19848         (make_node): Likewise.
19849
19850 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
19851
19852         * stmt.c (expand_anon_union_decl): When any of the elements of the
19853         union is addressable, so is the entire union.
19854
19855 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
19856
19857         * sbitmap.c (sbitmap_ones): Don't set too many bits.
19858
19859         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
19860         * bitmap.c (bitmap_operation): Return true iff TO changed.
19861         (bitmap_equal_p): New.
19862         (bitmap_bit_p): Tidy arithmetic.
19863         (debug_bitmap_file): Likewise.
19864
19865 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
19866
19867         * toplev.c (rest_of_compilation): Turn on cse_not_expected
19868         before cse2 instead of after.
19869
19870 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
19871
19872         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
19873         register offsets.
19874
19875 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19876
19877         * cppinit.c (is_idchar initializer): Loosen tests to accept
19878         gcc 2.>6 and >2.
19879
19880 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
19881
19882         * mips.md: Define conditional move patterns for floating point
19883         operands and DI mode conditions.
19884
19885 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
19886
19887         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
19888         always have side-effects.
19889
19890 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
19891
19892         * mn10200.c (asm_file_start): Fix typo.
19893
19894         * cppinit.c (is_idchar initializer): Tighten tests for when
19895         to put the table into initialized memory.
19896
19897         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
19898         not an array of rtunion.
19899         * gcc-page.c (ggc_alloc_rtvec): Similarly.
19900         * gcc-simple (ggc_free_rtvec): Similarly.
19901
19902         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
19903         of rtunions.
19904
19905         * mbchar.h: Add missing #endif.
19906
19907         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
19908         (FPBIT, DPBIT): Define.
19909
19910 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19911
19912         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
19913
19914         * profile.c (instrument_arcs, output_gcov_string,
19915         tablejump_entry_p): Add static prototypes.
19916         (output_gcov_string): Constify a char*.
19917
19918         * regmove.c (replacement_quality, fixup_match_2): Add static
19919         prototypes.
19920
19921         * resource.h (reg_dead_p): Add extern prototype.
19922
19923         * rtl.c (trim_filename): Add static prototype.
19924
19925         * scan-decls.c (skip_to_closing_brace): Likewise.
19926
19927         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
19928         (expand_end_case): Initialize variable `range'.
19929         (emit_case_nodes): Remove unused prototype `rtx_fn'.
19930
19931         * varasm.c (asm_emit_uninitialised): Add static prototype.
19932         (asm_emit_uninitialised, assemble_variable): Mark parameter with
19933         ATTRIBUTE_UNUSED.
19934
19935 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19936
19937         * cpplib.c (if_directive_nameo): Add static prototype.
19938
19939         * cse.c (cse_insn): Remove unused variable `p'.
19940
19941         * except.c (create_rethrow_ref, push_entry,
19942         receive_exception_label, new_eh_region_entry, find_func_region,
19943         clear_function_eh_region, process_nestinfo): Add static prototypes.
19944         (get_reg_for_handler): Hide definition.
19945         (process_nestinfo): Initialize variable `extra_handlers'.
19946
19947         * expr.h (expand_builtin_longjmp): Add extern prototype.
19948
19949         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
19950
19951         * function.c (prepare_function_start): Likewise.
19952         (pop_function_context_from): Mark parameter `context' with
19953         ATTRIBUTE_UNUSED.
19954         (push_temp_slots_for_block, flush_addressof): Hide definition.
19955
19956         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
19957         solve_program_flow_graph, calculate_branch_probs,
19958         function_summary, main, fancy_abort): Add prototypes.
19959
19960         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
19961         (add_hash): Constify a char*.
19962
19963         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
19964         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
19965         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
19966
19967         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
19968
19969         * lists.c (free_list, zap_lists): Likewise.
19970
19971 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19972
19973         * alias.c (nonlocal_reference_p): Add static prototype.
19974
19975         * bitmap.c (bitmap_element_allocate): Prototype args in function
19976         pointer cast.
19977
19978         * builtins.c (stabilize_va_list): Add static prototype.
19979         (expand_builtin_va_arg): Constify a char*.
19980
19981         * c-lex.c (getch, put_back, extend_token_buffer_to,
19982         read_line_number, token_getch, token_put_back): Add static
19983         prototypes.
19984
19985         * c-parse.gperf (hash, is_reserved_word): Likewise.
19986
19987         * cccp.c (is_dir_separator): Likewise.
19988
19989 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19990
19991         * graph.h: New file to prototype functions exported by graph.c.
19992
19993         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
19994
19995         * graph.c: Include graph.h.
19996
19997         * toplev.c: Likewise.  Remove redundant prototypes.
19998
19999 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
20000
20001         * invoke.texi: Removed duplicated description for -Q.
20002
20003 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
20004
20005         * extend.texi: Grammar fix in __extension__ text.
20006
20007 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
20008
20009         * md.texi (define_peephole2): New section.
20010
20011 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
20012
20013         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
20014         (mov $-1 to or peepholer): Enable for pentium when optimizing for
20015         speed.
20016
20017 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
20018
20019         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
20020
20021 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
20022
20023         * i386.md (ffs expander): Emit Pentium friendly code for
20024         TARGET_PENTIUM.
20025
20026 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
20027
20028         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
20029         for non-trees.
20030         (build1): Likewise.
20031
20032 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20033
20034         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
20035
20036 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
20037
20038         * config/m68k/m68k.c (use_return_insn): Return false if the pic
20039         register is in use.
20040
20041 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20042
20043         * md.texi (No Constraints): Delete section.
20044         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
20045         * final.c (final_scan_insn): We always have register constraints.
20046         * genattrtab.c: Don't include "insn-config.h".
20047         (write_attr_case): We always have register constraints.
20048         * genconfig.c (register_constraint_flag): Delete.
20049         (walk_insn_part): Don't check whether we have register constraints.
20050         (main): Don't write out "#define REGISTER_CONSTRAINTS".
20051         * genoutput.c (have_constraints): Delete.
20052         (main): Don't set it.
20053         (output_operand_data): We always have constraints.
20054         (scan_operands): Likewise.
20055         (compare_operands): Likewise.
20056         * local-alloc.c (block_alloc): We always have constraints.
20057         (requires_inout): Always compile this function.
20058         * recog.c (extract_insn): We always have constraints.
20059         (constrain_operands, reg_fits_class_p): Always compile these
20060         functions.
20061         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
20062         fields.
20063         (struct insn_operand_data): Likewise.
20064         * regclass.c (regclass): We always have constraints.
20065         (record_reg_classes, copy_cost, record_address_regs,
20066         auto_inc_dec_reg_p): Always compile these functions.
20067         * regmove.c (regmove_optimize): We always have constraints.
20068         * reload.c (find_reloads): Likewise.
20069         * reload1.c (reload): Likewise.
20070         (reload_cse_simplify_operands): Likewise.
20071         * i860.c (output_delay_insn): Likewise.
20072
20073 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
20074
20075         * iris6.h (BUILD_VA_LIST_TYPE): Define.
20076
20077 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20078
20079         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
20080         for the va_list record.
20081
20082 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
20083
20084         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
20085         prologues.
20086
20087 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
20088
20089         * alias.c: Include insn-flags.h.
20090         * Makefile.in (alias.o): Update.
20091
20092 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
20093
20094         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
20095         to LTU and GEU.  Handle more cases using sbb.
20096
20097 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
20098
20099         * i386.md (truncatexfdf splitters): Do not use subreg.
20100         (fop XFmode patterns): Fix mode in operand testing.
20101
20102 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
20103
20104         * jump.c (jump_optimize_1): Amend last change to test only the
20105         form of the operand, not the insn.
20106
20107         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
20108         not register_operand to determine when B may need preloading.
20109
20110 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
20111
20112         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
20113         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
20114         (call-value patterns): Move to end of file.
20115         (*): Remove mode from label_ref in (pc) context.
20116         (movstrqi): Use memory not general_operand for BLKmode operands.
20117         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
20118         to register_operand operands.
20119         (peep2 patterns): Convert from commented-out peephole patterns.
20120
20121 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20122
20123         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
20124         to BUILT_IN_INIT_DWARF_REG_SIZES.
20125         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
20126         Renamed from BUILT_IN_DWARF_REG_SIZE; call
20127         expand_builtin_init_dwarf_reg_sizes.
20128         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
20129         with __builtin_init_dwarf_reg_size_table.
20130         * dwarf2out.c (struct reg_size_range): Delete.
20131         (expand_builtin_init_dwarf_reg_sizes): New function.
20132         (expand_builtin_dwarf_reg_size): Delete.
20133         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
20134         (expand_builtin_dwarf_reg_size): Don't declare.
20135         * libgcc2.c (dwarf_reg_size_table_initialized): New.
20136         (dwarf_reg_size_table): New.
20137         (init_reg_size_table): New function.
20138         (copy_reg): Use dwarf_reg_size_table.
20139         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
20140         before use.
20141
20142 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
20143
20144         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
20145         Correctly build argument list to constructor and destructor functions.
20146
20147 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
20148
20149         * c-tree.h (warn_float_equal): Declare.
20150         * c-decl.c (warn_float_equal): Define.
20151         (c_decode_option): Recognize -W[no-]float-equal.
20152         * c-typeck.c (build_binary_op): Conditionally warn
20153         about equality tests of floating point types.
20154         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
20155         * invoke.texi: Add docs for -Wfloat-equal warning.
20156
20157 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
20158
20159         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
20160         generating RTL directly.
20161         * mips.h (INIT_TARGET_OPTABS): Likewise.
20162         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
20163
20164         * expr.h (init_mov_optab): Delete declaration
20165
20166         * h8300.c (WORD_REG_USED): Update to avoid useless register
20167         saves in interrupt functions and functions which never return.
20168
20169         * cse.c (struct set): Delete inner_dest_loc field.
20170         (cse_insn): Remove assignments to inner_dest_loc field.
20171
20172 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
20173
20174         * ggc-page.c: Don't include <unistd.h> etc taken care of
20175         by "system.h".  Include <sys/mman.h> afterward.
20176
20177 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
20178
20179         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
20180         ggc_alloc_string.
20181
20182 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
20183
20184         * xcoffout.c (xcoffout_declare_function): Add documentation.
20185         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
20186         TARGET_64BIT.  Compare constant to -1, not bit pattern.
20187         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
20188         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
20189         gen_movsi typos.
20190
20191 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
20192
20193         * dwarf2out.c (add_abstract_origin_attribute): Abort if
20194         origin_die is NULL.
20195         (gen_inlined_enumeration_type_die): Do not abort if the type has
20196         not been writeen out.
20197         (gen_inlined_structure_type_die): Do not abort if the type has
20198         not been writeen out.
20199         (gen_inlined_union_type_die): Do not abort if the type has
20200         not been writeen out.
20201         (gen_tagged_type_instantiation_die): Do not abort if the type
20202         has not been written out.
20203
20204 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20205
20206         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
20207         call it.
20208         * reg-stack.c (straighten_stack): Copy hard reg set with
20209         COPY_HARD_REG_SET.
20210
20211 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
20212
20213         * builtins.c (stabilize_va_list): Stabilize array type va_list
20214         to a pointer type, not the base record type.
20215         (expand_builtin_va_copy): Dereference the pointers explicitly;
20216         use the correct size for the copy.
20217
20218         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
20219         (rs6000_va_arg): Likewise.
20220
20221 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
20222
20223         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
20224
20225 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
20226
20227         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
20228         field.
20229         (DECL_BUILT_IN_CLASS): Adjust accordingly.
20230
20231 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
20232
20233         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
20234         (init_ggc): Use it instead of a constant.
20235         (ggc_collect): Bound allocated_last_gc by it.
20236
20237 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
20238
20239         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
20240         with va_list.
20241
20242 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
20243
20244         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
20245         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
20246         * configure:  Regen.
20247         * config/mips/openbsd.h:  New, OpenBSD little endian target.
20248         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
20249         * config/mips/xm-openbsd.h:  New, OpenBSD host.
20250
20251 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
20252
20253         * config/m68k/m68k.c (output_function_prologue,
20254         output_function_epilogue): Use
20255         current_function_uses_pic_offset_table instead of regs_ever_live
20256         to decide whether to save/restore pic register.
20257         (legitimize_pic_address): Don't modify regs_ever_live any more.
20258
20259 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
20260
20261         * function.h (struct function): Add x_dont_save_pending_sizes_p.
20262         * stor-layout.c (variable_size): Don't add sizes to the pending
20263         sizes list if x_dont_save_pending_sizes_p is set.
20264
20265 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
20266
20267         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
20268         for symbolic_operand().
20269         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
20270
20271 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20272
20273         * combine.c (gen_rtx_combine): Add missing call to va_end().
20274
20275         * final.c (asm_fprintf): Likewise.
20276
20277         * genattrtab.c (attr_rtx): Likewise.
20278
20279 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
20280
20281         * cse.c: Update comments.
20282         (cse_insn): When converting a conditional/computed jump into
20283         an unconditional jump, always make sure a BARRIER immediately
20284         follows the converted jump.  Do not delete unreachable code.
20285         (cse_basic_block): Do not delete unreachable code.
20286         * toplev.c (rest_of_compilation): Move call to
20287         delete_trivially_dead_insns after the conditional call to
20288         jump_optimize.
20289
20290 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20291
20292         * collect2.c (make_temp_file): Don't prototype.
20293
20294         * gcc.c (make_temp_file): Likewise.
20295
20296         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
20297
20298 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
20299
20300         * varasm.c (asm_emit_uninitialised): New function: Generate
20301         the assembler statements necessary to declare an uninitialised
20302         variable.
20303         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
20304         variable.
20305         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
20306         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
20307         section.
20308         (assemble_variable): Use asm_emit_uninitialised to emit an
20309         uninitialised variable.
20310
20311 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
20312
20313         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
20314         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
20315         <geoffk@cygnus.com>.
20316
20317 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20318
20319         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
20320         * c-common.h (builtin_function): Don't declare.
20321
20322         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
20323         DECL_BUILT_IN.
20324         (pushdecl): Likewise.
20325         (finish_decl): Likewise.
20326         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
20327         int.  All callers changed.
20328         Set the builtin's DECL_BUILT_IN_CLASS.
20329         * tree.h (enum built_in_class): New.
20330         (enum built_in_function): Delete NOT_BUILT_IN.
20331         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
20332         in a union.
20333         (DECL_SET_FUNCTION_CODE): Likewise.
20334         (DECL_BUILT_IN_CLASS): New macro.
20335         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
20336         (struct tree_decl): Split builtin function code field into a
20337         struct.
20338         (builtin_function): Declare.
20339
20340 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
20341
20342         * optabs.c (init_traps): Fix typo in last change.
20343
20344 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
20345
20346         * toplev.c (rest_of_decl_compilation): Update comment.
20347
20348 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
20349
20350         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
20351         in .sbss if appropriate.
20352         (EXTRA_SECTION_FUNCTIONS): Add sbss.
20353         (SBSS_SECTION_ASM_OP): New macro.
20354         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
20355         (EXTRA_SECTIONS): Add in_sbss.
20356         * config/mips/mips.h: Prototype sbss_section.
20357
20358 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
20359
20360         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
20361         to disappear.
20362
20363 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
20364
20365         * optabs.c (init_traps): Register trap_rtx as a GC root.
20366
20367 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20368
20369         * config/mips/mips.c (function_arg_pass_by_reference): Define
20370         unconditionally, since it's called unconditionally.
20371
20372 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
20373
20374         * toplev.c (documented_lang_options): Add -fshort-wchar.
20375         * c-decl.c (c_decode_option): Likewise.
20376         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
20377         for wchar_t.
20378         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
20379         * gcc.c (default_compilers): If -fshort-wchar,
20380         override __WCHAR_TYPE__.
20381         * tm.texi (C Dialect Options): Add -fshort-wchar.
20382
20383         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
20384         symbol for a variable.
20385
20386         * cpplib.h (CPP_PREPROCESSED): New macro.
20387         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
20388         we're seeing this input for a second time.
20389
20390 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
20391
20392         * emit-rtl.c (init_emit_once): Initialize modes first.
20393
20394 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
20395
20396         * config/i386/i386.c (pic_label_name): Change to char pointer.
20397         (global_offset_table): New variable.
20398         (load_pic_register): Fill global_offset_table if it hasn't
20399         already been done.  Allocate pic_label_name dynamically.
20400         * ggc.h (empty_string): New variable.
20401         * ggc-simple.c (empty_string): Likewise.
20402         (init_ggc): Allocate empty_string and add as root.
20403         * stmt.c (digit_strings): New variable.
20404         (init_stmt): Add last_block_end_note as root.  Allocate and
20405         initialize digit_strings.
20406         (expand_asm_operands): Use empty_string instead of string
20407         constant.  Use digit_strings instead of string constants.
20408         * profile.c (init_arc_profiler): Allocate string with
20409         ggc_alloc_string instead of xmalloc.
20410         (output_func_start_profiler): Likewise.
20411         * c-typeck.c (digest_init): Check if init is error_mark_node.
20412
20413 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
20414                           Richard Henderson  <rth@cygnus.com>
20415
20416         * ggc-page.c: New file.
20417         * Makefile.in (ggc-page.o): New.
20418
20419 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
20420
20421         * invoke.texi: Document -fdelete-null-pointer-checks
20422         * toplev.c (flag_delete_null_pointer_checks): New.
20423         (f_options): Add entry for -fdelete-null-pointer-checks.
20424         (rest_of_compilation): Conditionalize null pointer check
20425         elimination on flag_delete_null_pointer_checks.
20426         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
20427
20428 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
20429
20430         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
20431         copyright notice and special exception to GPL.
20432
20433 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20434
20435         * abi64.h (mips_function_value): Add prototype arguments.
20436
20437         * mips-protos.h: New file with mips prototypes.
20438
20439         * mips.c: Include "tm_p.h".
20440         (mktemp, lookup_name): Add prototype arguments.
20441         (extern_list, string_constant, mips_fill_delay_slot,
20442         mips_output_external, mips_output_external_libcall,
20443         mips_output_filename, mips_declare_object, function_prologue,
20444         mips_expand_prologue, function_epilogue, mips16_constant,
20445         build_mips16_function_stub, mips_output_conditional_branch):
20446         Constify a char*.
20447         (mips_va_start): Remove unused variable `u'.
20448         (mips_va_arg): Cast value to unsigned when comparing against one.
20449         (trace): Delete.
20450         (save_restore_insns, mips_expand_prologue): Add missing arg in
20451         call to `large_int'.
20452
20453         * mips.h: Move prototypes to mips-protos.h.
20454         (data_section, memory_address_p, rdata_section,
20455         readonly_data_section, simple_epilogue_p, text_section): Delete
20456         prototypes delcared elsewhere.
20457         (mips_epilogue_delay_slots, print_options): Delete unused decls.
20458         (trace): Delete.
20459         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
20460
20461         * mips.md: Delete extra args in call to `mips_move_2words'.
20462
20463         * xm-iris6.h (alloca): Add prototype argument.
20464
20465         * genpeep.c: Include "tm_p.h" in generated output file.
20466
20467 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20468
20469         * basic-block.h (find_edge_index): Change parameters.
20470         * flow.c (verify_edge_list): Pass basic_block parameters to
20471         find_edge_index instead of integers.
20472
20473 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
20474
20475         * combine.c (simplify_comparison): Use an unsigned shift to adjust
20476         the constant.
20477
20478 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
20479
20480         * gcc.1: Fix a formatting error.
20481
20482 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
20483
20484         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
20485         i786, mn10200, mn10300, pdp11, v850.
20486
20487 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
20488
20489         * libgcc2.c (num_digits): Add prototype with
20490         __attribute__((const)).
20491         (__terminate): Add prototype.
20492
20493 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
20494
20495         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
20496
20497         * alpha/alpha.c (print_operand): Fix type of `code'.
20498         (alpha_output_filename): Constify.
20499         * alpha/alpha.h: Move all function declarations ...
20500         * alpha/alpha-protos.h: ... here.  New file.
20501         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
20502         (SECTION_FUNCTION_TEMPLATE): Likewise.
20503
20504 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20505
20506         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
20507         * expr.c (expand_expr): Likewise.
20508         (do_jump): Likewise.
20509         (do_store_flag): Pass ccp_store_flag to can_compare_p.
20510         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
20511         accessor macros.
20512         (enum can_compare_purpose): New.
20513         (can_compare_p): Adjust prototype.
20514         (prepare_cmp_insn, prepare_operand): Declare.
20515         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
20516         * optabs.c (cmp_available_p): Deleted.
20517         (expand_abs): Pass ccp_jump to can_compare_p.
20518         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
20519         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
20520         Call can_compare_p rather than cmp_available_p.
20521         (prepare_operand): No longer static.
20522         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
20523         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
20524         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
20525         sequence to use emit_cmp_and_jump_insns.
20526         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
20527
20528 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
20529
20530         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
20531         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
20532         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
20533         (plus (reg) (const_int 0))
20534         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
20535
20536 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
20537
20538         * rs6000.c (expand_block_move): DImode loads and stores require
20539         word-aligned displacements.  Increment address registers with
20540         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
20541
20542 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
20543
20544         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
20545         is no name for the base type, rather than segfault.  If we are
20546         writing out a complex integer type, use DW_ATE_lo_user.
20547
20548         * expr.c (emit_move_insn_1): If we are copying a complex that fits
20549         in one word or less (complex char, complex short, or on 64 bit
20550         systems complex float) to/from a hard register, copy it through
20551         memory instead of dying in gen_{real,imag}part.  If we have a
20552         short complex type, prevent inlining since it allocates stack
20553         memory.
20554
20555         * tree.c (build_complex_type): If we are writing dwarf2 output,
20556         generate a name for complex integer types.
20557
20558 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20559
20560         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
20561         * flow.c (remove_edge): Remove extra whitespace.
20562         (remove_fake_edges): Fix comment.
20563         (add_noreturn_fake_exit_edges): Use the correct name.
20564
20565 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
20566
20567         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
20568         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
20569         (clean): Depend on INTL_CLEAN.
20570         (maintainer-clean): Adjust.
20571
20572 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20573
20574         * configure.in (AC_PREREQ): Bump to 2.13.
20575         (AC_C_STRINGIZE): Call this instead of using a custom macro.
20576
20577         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
20578
20579         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
20580
20581         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
20582
20583         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
20584         (HAVE_STRINGIZE): Define.
20585
20586 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
20587
20588         * c-parse.in: save and restore warn_pointer_arith on __extension__
20589         along with pedantic.
20590         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
20591         Set the type of extension to itype rather than $<itype>1 kludge.
20592         * extend.texi (Alternate Keywords): Adjust documentation.
20593         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
20594
20595 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
20596
20597         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
20598         most assembler templates.
20599
20600         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
20601         FP loads and stores.
20602         (following_call): Always return zero for the PA8000.
20603         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
20604         FP loads and stores.
20605         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
20606
20607         * pa.h (BRANCH_COST): Define.
20608
20609         * pa.md (return, return_internal): Use bve for PA2.0.
20610
20611         * pa.md (fused multiply): Add variants which reduce height for the
20612         fused multiply, but which still generate 2 insns.
20613         (fnegabs): Similarly.
20614
20615         * pa.md (subsi3): Turn into an expander.  Create two anonymous
20616         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
20617         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
20618
20619         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
20620         for TARGET_PA_20.
20621         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
20622         code generation.
20623         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
20624         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
20625
20626         * regclass.c (init_regs): Add "top_of_stack" as a garbage
20627         collection root.
20628
20629         * flow.c (record_active_eh_regions): Terminate loop after finding
20630         the last insn in the last basic block.
20631
20632 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20633
20634         * config/c4x/c4x.md: Delete parallel instruction peepholes.
20635
20636 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20637
20638         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
20639
20640 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20641
20642         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
20643         splitting to not use output template.
20644
20645 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20646
20647         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
20648         * config/c4x/c4x.c (c4x_va_start): New function.
20649
20650 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
20651
20652         * genrecog.c (not_both_true): Handle correctly cases when called for
20653         tests with different positions in the insn.
20654
20655 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20656
20657         * machmode.h (HOST_PTR_PRINTF): Move from here ...
20658
20659         * system.h (HOST_PTR_PRINTF): ... to here.
20660
20661         * mips-tfile.c: Don't include machmode.h.
20662
20663         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
20664         (mips-tfile.o): Don't depend on machmode.h.
20665
20666 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20667
20668         * haifa-sched.c (sched_analyze): Rename local variable `region' to
20669         avoid conflicts with typedef struct `region' at the top level scope.
20670
20671 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
20672
20673         * basic-block.h (basic_block): Add eh_beg, eh_end.
20674         * flow.c (entry_exit_blocks): Update.
20675         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
20676         Call new functions.
20677         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
20678         lists.c functions to allocate insn lists.
20679         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
20680         edge creation ...
20681         (make_eh_edge): ... here.  New.
20682         (move_stray_eh_region_notes): New.
20683         (record_active_eh_regions): New.
20684         (delete_unreachable_blocks): Split out block merging ...
20685         (try_merge_blocks): ... here.  New.
20686         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
20687         Dump debugging data.
20688         (merge_blocks_move_successor_nojumps): Likewise.
20689         (merge_blocks): Use eh_beg+eh_end to validate block movement.
20690
20691 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
20692
20693         * extend.texi (Bound member functions): Document unbound pmf
20694         conversion.
20695
20696 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20697
20698         * flow.c (split_edge): Handle insertion on a fallthrough edge which
20699         has the EXIT_BLOCK as a dest.
20700
20701 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20702
20703         * flow.c (remove_edge): New function to remove an edge from the
20704         flow graph.
20705         (remove_fake_successors): New function to remove fake successor edges.
20706         (remove_fake_edges): New function to remove all fake edges from the
20707         flow graph.
20708         (add_fake_exit_edges): New function to add fake edges from all blocks
20709         with no successors to the exit block.
20710         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
20711         prototypes for new functions.
20712
20713 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20714
20715         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
20716         Use Pmode to determine whether to output .dword or .word.
20717
20718 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
20719
20720         * tree.c (built_in_filename): New variable.
20721         (BUILT_IN_FILENAME): New macro.
20722         (init_tree_codes): Allocate built_in_filename.
20723         (make_node): Use built_in_filename instead of string constant.
20724
20725 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
20726
20727         * configure.in: Add fr30 target.
20728         * configure: Regenerate.
20729         * config/fr30: New directory.
20730         * config/fr30/crti.asm: New file.
20731         * config/fr30/fr30.c: New file.
20732         * config/fr30/crtn.asm: New file.
20733         * config/fr30/fr30.h: New file.
20734         * config/fr30/fr30.md: New file.
20735         * config/fr30/lib1funcs.asm: New file.
20736         * config/fr30/t-fr30: New file.
20737         * config/fr30/xm-fr30.h: New file.
20738
20739 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
20740
20741         * flow.c (merge_blocks_move_successor_nojumps): Delete the
20742         BARRIER at the end of the successor, not the BARRIER before
20743         the successor.
20744
20745         * pa.c (pa_add_gc_roots): Fix thinko in last change.
20746
20747 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
20748
20749         * stmt.c (any_pending_cleanups): Don't crash when
20750         current_function->stmt is unset.
20751
20752 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20753
20754         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
20755         other initializations that may use it for relative offsets.
20756
20757 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20758
20759         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
20760         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
20761         * config/i386/sol2dbg.h: Removed.
20762         * config/i386/sol2gas.h: New file, to enable gas work-around.
20763         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
20764         Don't use sol2dbg.h.
20765         * configure: Rebuilt.
20766
20767 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
20768
20769         * invoke.texi (-fthis-is-variable): Remove documentation.
20770
20771 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
20772
20773         * basic-block.h (compute_bb_for_insn): Declare.
20774         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
20775         to use; set size of basic_block_for_insn directly.
20776         (find_basic_blocks): Update.
20777
20778 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20779
20780         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
20781
20782 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20783
20784         * crtstuff.c (ON_EXIT): Delete empty macro definition.
20785         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
20786
20787 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
20788
20789         * c-decl.c (c_decode_option): Extend comment.
20790
20791 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
20792
20793         * toplev.c (progname): Make 'const char *'
20794         (flag_print_mem): Move out of main.
20795         (version_flag): Move out of main.
20796         (filename): Move out of main.
20797         (debug_args): Remove g prefix from options.
20798         (documented_lang_options): Remove cpplib specific options.
20799         (display_help): Add g prefix to debug options.
20800         (check_lang_option): Delete this function.
20801         (decode_d_option): New function: Decode -d... option.
20802         (decode_f_option): New function: Decode -f... option.
20803         (decode_W_option): New function: Decode -W... option.
20804         (decode_g_option): New function: Decode -g... option.
20805         (independent_decode_option): New function: Decode a language
20806         independent command line option.
20807         (main): Invoke lang_decode_option and then
20808         independent_decode_option on each command line option in
20809         turn.
20810
20811 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
20812
20813         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
20814          * fold-const.c (fold_range_test): Do not try to fold the range
20815          test if the rhs or lhs has side effects.
20816
20817         * basic-block.h (compute_flow_dominators): Declare.
20818
20819         * gcse.c (alloc_code_hoist_mem): New function.
20820         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
20821         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
20822         (hoist_code, one_code_hoisting_pass): Likewise.
20823         (gcse_main): If optimizing for size, then hoist expressions
20824         computed in multiple dominated basic blocks.
20825
20826         * gcse.c (invalid_nonnull_info): New function.
20827         (delete_null_pointer_checks): Likewise.
20828         * rtl.h (delete_null_pointer_checks): Declare.
20829         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
20830
20831         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
20832         (merge-blocks_move_successor_nojumps): Likewise.
20833         (merge_blocks): Allow merging of some blocks, even if it requires
20834         physical movement of the blocks, but not if it requires new jumps.
20835
20836         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
20837         Callers and prototype changed.
20838         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
20839
20840 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20841
20842         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
20843         -YP when both -p and -pg are present.  From i386/sol2.h.
20844
20845 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20846
20847         * Makefile.in (distclean): Delete tm_p.h.
20848         * configure.in: Create a new file, "tm_p.h", from a list in
20849         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
20850         "i386/i386-protos.h".
20851
20852         * alias.c: Include "tm_p.h".
20853         * c-typeck.c: Likewise.
20854         * calls.c: Likewise.
20855         * cse.c: Likewise.
20856         * emit-rtl.c: Likewise.
20857         * explow.c: Likewise.
20858         * expmed.c: Likewise.
20859         * expr.c: Likewise.
20860         * final.c: Likewise.
20861         * flow.c: Likewise.
20862         * fold-const.c: Likewise.
20863         * function.c: Likewise.
20864         * gcse.c: Likewise.
20865         * global.c: Likewise.
20866         * haifa-sched.c: Likewise.
20867         * integrate.c: Likewise.
20868         * jump.c: Likewise.
20869         * local-alloc.c: Likewise.
20870         * loop.c: Likewise.
20871         * optabs.c: Likewise.
20872         * recog.c: Likewise.
20873         * reg-stack.c: Likewise.
20874         * regclass.c: Likewise.
20875         * regmove.c: Likewise.
20876         * reload.c: Likewise.
20877         * reload1.c: Likewise.
20878         * reorg.c: Likewise.
20879         * resource.c: Likewise.
20880         * stmt.c: Likewise.
20881         * stor-layout.c: Likewise.
20882         * toplev.c: Likewise.
20883         * tree.c: Likewise.
20884         * unroll.c: Likewise.
20885         * genattrtab.c (main): Make generated file include "tm_p.h".
20886         * genemit.c (main): Likewise.
20887         * genoutput.c (main): Likewise.
20888         * genrecog.c (main): Likewise.
20889
20890         * i386.h: Delete all prototypes.
20891         * i386.c: Include "tm_p.h".
20892         (ix86_attr_length_default): Call constant_call_address_operand
20893         with correct number of arguments.
20894         * i386-protos.h: New file.
20895         * i386.md (unnamed patterns): Call constant_call_address_operand
20896         with correct number of arguments.
20897         (exception_receiver): Call load_pic_register with correct number
20898         of arguments.
20899
20900 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
20901
20902         * c-pragma.c (mark_align_stack): Dereference the void* properly.
20903
20904 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
20905
20906         * rtl.h (insns_safe_to_move_p): New function.
20907         * loop.c (find_and_verify_loops): Use it.
20908         * rtlanal.c (insns_safe_to_move_p): Define it.
20909
20910 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
20911
20912         * c-pragma.c: Include ggc.h.
20913         * Makefile.in (c-pragma.o): Update.
20914
20915 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20916
20917         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
20918         (LIB_SPEC): Likewise.
20919         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
20920         Reindent -YP/-p/-pg.
20921         Copied from config/sparc/sol2.h.
20922
20923 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
20924
20925         * c-pragma.c (mark_align_stack): New.
20926         (init_pragma): New.
20927         * c-pragma.h (init_pragma): Declare it.
20928         * c-lex.c (init_parse): Call it.
20929
20930 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
20931
20932         * configure.in: Pick up thread library on Solaris/x86 just
20933         like on Solaris/sparc.
20934         * configure: Rebuilt.
20935
20936 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
20937
20938         * rtl.h (global_rtx_index): New enum.
20939         (global_rtl): Change to array of rtx.
20940         (pc_rtx, cc0_rtx): Redefine accordingly.
20941         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
20942         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
20943         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
20944         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
20945         (const_int_rtx): Change to array of rtx.
20946         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
20947         accordingly.
20948         * emit-rtl.c (global_rtl): Change to array of rtx.
20949         (const_int_rtx): Change to aray of rtx.
20950         (gen_rtx_CONST_INT): Redefine accordingly.
20951         (init_emit_once): Allocate and initialize global_rtl.  Likewise
20952         for const_int_rtx.  Add both as GC roots.
20953         * genattrtab.c (global_rtl): Update declaration.
20954
20955 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
20956
20957         * Makefile (USER_H): Add iso646.h back.
20958
20959 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
20960
20961         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
20962         zapping the LOG_LINKS of sched_before_next_call.
20963
20964         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
20965         * pa.c (insn_refs_are_delayed): Renamed from
20966         insn_sets_and_refs_are_delayed.
20967
20968 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
20969
20970         * functiion.h (struct function): Add x_whole_function_mode_p.
20971         (retrofit_block): Declare.
20972         * function.c (retrofit_block): New function.
20973         (identify_blocks): Add assertions.  Allow an incomplete set of
20974         block notes if we're still generating code for the function.
20975         * integrate.c: Include loop.h.
20976         (expand_inline_function): Call find_loop_tree_blocks to map block
20977         notes to blocks when in whole-function mode.  Use retrofit_block
20978         to insert new BLOCKs for the inlined function, rather than
20979         insert_block.
20980         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
20981         * Makefile.in (integrate.o): Depend on loop.h.
20982
20983 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20984
20985         * tree.h (warn_about_unused_variables): Declare.
20986         * stmt.c (warn_about_unused_variables): New function, split out
20987         from ...
20988         (expand_end_bindings): Here.
20989
20990 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
20991
20992         * stmt.c (preserve_subexpressions_p): Don't crash when
20993         current_function->stmt is unset.
20994
20995 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
20996
20997         * stmt.c (expand_start_bindings): Allow callers to pass a flag
20998         indicating that no NOTE_INSN_BLOCK_BEG note is required.
20999         (expand_start_target_temps): Use it.
21000         * except.c (expand_eh_region_start_for_decl): Likewise.
21001         * expr.c (expand_expr): Likewise.
21002
21003 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21004
21005         * fold-const.c (operand_equal_p): Pay attention to side effects.
21006
21007 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
21008
21009         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
21010         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
21011
21012         * tlink.c (scan_linker_output): Look for keywords before accepting
21013         a mangled name in quotes.
21014
21015 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
21016
21017         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
21018         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
21019
21020 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
21021
21022         * alpha.md: Revert Thu Nov 26 change that came in through the
21023         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
21024         Avoid earlyclobber when possible.
21025
21026 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21027
21028         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
21029
21030         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
21031         Define HAVE_ON_EXIT.
21032
21033 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21034
21035         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
21036         CTYPE_CONV in all ctype macros.
21037
21038         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
21039         from system.h.
21040
21041         * cexp.y (initialize_random_junk): Likewise.
21042
21043         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
21044
21045         * i370.c (handle_pragma): Likewise.
21046
21047         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
21048
21049         * v850.c (override_options): Likewise.
21050
21051         * doprint.c (_doprnt): Likewise.
21052
21053         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
21054         Likewise.
21055
21056         * fixinc/server.c (load_data): Likewise.
21057
21058         * fold-const.c (real_hex_to_f): Likewise.
21059
21060         * genattr.c (write_upcase, gen_attr): Likewise.
21061
21062         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
21063         write_upcase): Likewise.
21064
21065         * genemit.c (print_code): Likewise.
21066
21067         * genopinit.c (gen_insn): Likewise.
21068
21069         * genpeep.c (print_code): Likewise.
21070
21071         * genrecog.c (print_code): Likewise.
21072
21073         * optabs.c (init_libfuncs): Likewise.
21074
21075 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
21076
21077         * haifa-sched.c (sched_analyze): Keep the list of notes organized
21078         in pairs.
21079         (reemit_notes): Likewise.
21080
21081 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
21082
21083         * ggc.h (ggc_root): Move to ggc-common.c.
21084         (roots): Remove.
21085         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
21086         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
21087         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
21088         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
21089         * ggc-common.c (ggc_root): Move from ggc.h.
21090         (roots): Declare, static.
21091         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
21092         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
21093         null or check/set mark bit.
21094         (ggc_mark_roots): New.
21095         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
21096
21097 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
21098
21099         * m32r.c: Include toplev.h.
21100         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
21101         (gen_compare): Rename swap_p to must_swap to match uses.
21102         Add default abort case.
21103         (m32r_output_function_epilogue): Remove unused variables.
21104         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
21105         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
21106         define to empty parameter list.  Update all uses.
21107         (predicate decls): Use enum machine_mode not int.
21108         * m32r.md (movsi): Call abort, not fatal_insn.
21109         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
21110
21111 1999-09-14  Andrew Haley  <aph@cygnus.com>
21112
21113         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
21114         use $0 instead of 0.
21115
21116 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21117
21118         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
21119         computation out of loop over hard regs.
21120
21121 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
21122
21123         * function.c (identify_blocks): Don't shadow a variable in an
21124         outer scope.
21125         * integrate.c (integrate_decl_tree): Don't use pushlevel,
21126         pushdecl, or poplevel to build up the new BLOCK tree.
21127         (expand_inline_function): Likewise.
21128         (integrate_parm_decls): Likewise.
21129
21130 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
21131
21132         * c-typeck.c (qualify_type): Merge qualifiers from both types.
21133
21134 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
21135
21136         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
21137         * invoke.texi: Document this change.
21138
21139 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
21140
21141         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
21142         Free the struct.
21143         (mark_emit_status): Renamed from mark_emit_state.
21144         * except.c (mark_eh_status): Renamed from mark_eh_state.
21145         Check not null before marking.
21146         (free_eh_status): New.
21147         * expr.c (mark_expr_status, free_expr_status): New.
21148         * function.c (free_machine_status): New.
21149         (free_after_parsing): New.
21150         (free_after_compilation): Move bits to free_after_parsing; call
21151         free_eh_status, free_expr_status; zero the marked members of the
21152         function state.
21153         (prepare_function_start): No can_garbage_collect.
21154         Call init_eh_for_function.
21155         (expand_dummy_function_end): Free up current_function state.
21156         (mark_function_status): Renamed from mark_function_state.
21157         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
21158         * function.h (struct function): No can_garbage_collect.
21159         (free_machine_status, free_after_parsing): Declare.
21160         (free_eh_status, free_expr_status): Declare.
21161         * ggc.h (mark_expr_status): Declare.
21162         * stmt.c (free_stmt_status): Free the struct.
21163         (mark_stmt_status): Renamed from mark_stmt_state.
21164         (init_stmt): Don't call init_eh.
21165         (init_stmt_for_function): Don't call init_eh_for_function.
21166         * toplev.c (compile_file): Call init_eh.
21167         (rest_of_compilation): Free basic block info before ggc_collect.
21168         Call free_after_parsing; conditionally call free_after_compilation.
21169         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
21170         Check not null before marking.
21171         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
21172
21173 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
21174
21175         * c-lex.c (yylex): Initialize warn.
21176
21177 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
21178
21179         * pa.c (emit_move_sequence): Properly set the mode of the scratch
21180         register when performing secondary reloads for the SAR register.
21181
21182 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
21183
21184         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
21185         (NOTE_BLOCK): New macro.
21186         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
21187         * function.h (identify_blocks): Change prototype.
21188         * function.c (identify_blocks): Simplify.
21189         (reorder_blocks): Likewise.
21190         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
21191         NOTE_INSN_BLOCK_{BEG,END}.
21192         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
21193         the list of saved notes if the note isn't a
21194         NOTE_INSN_BLOCK_{BEG,END}.
21195         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
21196         NOTE_BLOCK_NUMBER.
21197         (reemit_notes): Adjust recreation of notes to reflect new saved
21198         note structure.
21199         * print-rtl.c (print_rtx): Print the address of the BLOCK when
21200         printing a block note.
21201         * stmt.c (block_vector): Remove.
21202         (find_loop_tree_blocks): Simplify.
21203         (unroll_block_trees): Likewise.
21204         * tree.h (reorder_block): Change prototype.
21205
21206 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
21207
21208         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
21209         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
21210         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
21211         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
21212         (atexit, exit): Simplify.
21213         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
21214         * config/lots: Remove defns of HAVE_ATEXIT.
21215
21216 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
21217
21218         * calls.c (precompute_arguments): Fix typo in comment.
21219         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
21220         TARGET_EXPR.
21221
21222 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
21223
21224         * dsp16xx.c (override_options): Fix typos in GC root registration.
21225
21226 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
21227
21228         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
21229         from config/svr4.h.
21230         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
21231         (FUNCTION_PROFILER): Redefine appropriately for Linux.
21232         (CC1_SPEC): Likewise.
21233
21234 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21235
21236         * genattr.c (main): Add extern prototype.  Call return, not exit.
21237         * genattrtab.c (main): Likewise.
21238         * gencheck.c (main): Likewise.
21239         * gencodes.c (main): Likewise.
21240         * genconfig.c (main): Likewise.
21241         * genemit.c (main): Likewise.
21242         * genextract.c (main): Likewise.
21243         * genflags.c (main): Likewise.
21244         * gengenrtl.c (main): Likewise.
21245         * genopinit.c (main): Likewise.
21246         * genoutput.c (main): Likewise.
21247         * genpeep.c (main): Likewise.
21248         * genrecog.c (main): Likewise.
21249
21250         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
21251         * genattrtab.c (get_insn_name): Likewise.
21252         * gencodes.c (get_insn_name): Likewise.
21253         * genconfig.c (get_insn_name): Likewise.
21254         * genemit.c (get_insn_name): Likewise.
21255         * genextract.c (get_insn_name): Likewise.
21256         * genflags.c (get_insn_name): Likewise.
21257         * genopinit.c (get_insn_name): Likewise.
21258         * genpeep.c (get_insn_name): Likewise.
21259
21260         * gencheck.c (usage): Add static prototype.
21261         * genextract.c (print_path): Constify a char*.
21262         * genopinit.c (optabs): Likewise.
21263         * genoutput.c (operand_data, data, output_predicate_decls,
21264         compare_operands): Likewise.
21265         * genrecog.c (write_tree): Add default case in switch.
21266
21267 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21268
21269         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
21270
21271         * print-rtl.c (get_insn_name): Remove prototype.
21272
21273         * toplev.h (progname): Declare const.
21274
21275         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
21276         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
21277         dump_sched_info, dump_local_alloc, regset_release_memory,
21278         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
21279         error_with_file_and_line, error_with_decl, error_for_asm, error,
21280         fatal, warning_with_file_and_line, warning_with_decl, warning,
21281         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
21282         Remove redundant prototypes.
21283
21284         (notice, check_lang_option, report_file_and_line, vnotice,
21285         mark_file_stack): Add static prototype.
21286         (set_fatal_function): Add prototype.
21287         (vnotice, report_file_and_line, set_fatal_function,
21288         check_lang_option): Constify a char*.
21289         (main): Prototype.  Call return, not exit.
21290
21291 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21292
21293         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
21294
21295         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
21296
21297         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
21298
21299         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
21300
21301 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21302
21303         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
21304         behave as if it's zero in all cases.
21305         (expand_function_start): Adjust call to assign_parms.
21306         * tree.h (assign_parms): Adjust prototype.
21307         * objc/objc-act.c (hack_method_prototype): Adjust call to
21308         assign_parms.
21309
21310 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
21311
21312         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
21313         arg_pointer_rtx fixed if the argument pointer register is
21314         not fixed.
21315         (NONZERO_BASE_PLUS_P): Likewise.
21316
21317 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
21318
21319         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
21320         match_insn2 to match_insn.
21321         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
21322
21323 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
21324
21325         * Makefile.in (USER_H): Remove va-foo.h.
21326
21327         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
21328         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
21329         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
21330         va-spur.h,va-v850.h}: Remove.
21331
21332 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
21333
21334         * sparc/sparc.md (eligible_for_return_delay): New attribute.
21335         (in_return_delay): Use it instead of match_insn.
21336
21337 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21338
21339         * config/alpha/va_list.h (va-alpha.h): Do not include.
21340         (__gnuc_va_list): Typedef as in varargs.h.
21341
21342 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
21343
21344         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
21345         DECL_LIVE_RANGE_RTL.
21346
21347 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
21348
21349         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
21350         not NOTE_BLOCK_NUMBER.
21351         (expand_eh_region_end): Likewise.
21352         (find_exception_handler_labels): Likewise.
21353         (scan_region): Likewise.
21354         (exception_optimize): Likewise.
21355         (update_rethrow_references): Likewise.
21356         (set_insn_eh_region): Likewise.
21357         * final.c (final_scan_insn): Likewise.
21358         * flow.c (make_edges): Likewise.
21359         * integrate.c (expand_inline_function): Likewise.
21360         * print-rtl.c (print_rtx): Likewise.
21361
21362 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
21363
21364         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
21365         terms of builtin functions and types.
21366
21367         * mips.c (mips_build_va_list): New.
21368         (mips_va_start, mips_va_arg): New.
21369         * mips.h (BUILD_VA_LIST_TYPE): New.
21370         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21371
21372         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
21373         (sh_build_va_list, sh_va_start, sh_va_arg): New.
21374         * sh.h (BUILD_VA_LIST_TYPE): New.
21375         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21376
21377 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
21378
21379         * recog.h (struct recog_data): Make dup_num, operand_address_p,
21380         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
21381         (struct insn_data): Likewise with n_operands, n_dups,
21382         n_alternatives, output_format.
21383         * regclass.c (scan_one_insn): Cast n_operands to int before
21384         arithmetic inside comparison.
21385
21386 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
21387
21388         * toplev.c (compile_function): Unconditionally emit nop.
21389
21390 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21391
21392         * haifa-sched.c (actual_hazard): Move declaration of variable
21393         `this_cost' into the scope where it is used.
21394
21395 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21396
21397         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
21398         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
21399         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
21400
21401         * genrecog.c (make_insn_sequence): Call memset, not bzero.
21402
21403         * jump.c (find_insert_position): Don't declare or define unless
21404         !HAVE_conditional_arithmetic.
21405         (returnjump_p_1, delete_prior_computation): Add static prototypes.
21406
21407         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
21408
21409         * recog.c (offsettable_address_p): Prototype function pointer.
21410         (preprocess_constraints): Call memset, not bzero.
21411
21412         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
21413         (gcc_obstack_init): Don't declare.
21414         (fix_sizetype): Add static prototype.
21415         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
21416         (tree_cons): Call memset, not bzero.
21417
21418         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
21419         definition in macro ASM_WEAKEN_LABEL.
21420         (mark_const_hash_entry): Add static prototype.
21421
21422 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21423
21424         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
21425
21426         * unroll.c (find_common_reg_term, subtract_reg_term,
21427         loop_find_equiv_value): Add static prototypes.
21428         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
21429         (copy_loop_body): Remove unreachable break statement.
21430
21431         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
21432
21433         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
21434
21435 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21436
21437         Undo some changes from the gcc2 merge:
21438         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
21439         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
21440         pointers.
21441
21442         Undo this change:
21443         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
21444         * emit-rtl.c (gen_lowpart_common): Disable optimization of
21445         initialized float-int union if the value is a NaN.
21446
21447 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21448
21449         * gthr-win32.h: New file.
21450
21451         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
21452         shared as a valid attribute.
21453         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
21454         * extend.texi: Document `shared' variable attribute.
21455
21456 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
21457
21458         * configure.in: Handle --enable-threads on FreeBSD.
21459         * configure: Rebuit.
21460
21461 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
21462
21463         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
21464         thread support.
21465         * configure: Rebuilt.
21466
21467 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
21468                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
21469                           Rosimildo DaSilva <rdasilva@connecttel.com>
21470
21471         * configure.in (m68k-*-rtemscoff*): Added.
21472         * configure.in (mips64orion-*-rtems*): Converted to ELF.
21473         * configure.in (sparc-*-rtemsaout*): Added as alias for old
21474         sparc-rtems configuration.
21475         * configure.in (sparc-*-rtemself*): Added.
21476         * configure.in (sparc-*-rtems*): Now ELF not a.out.
21477         * config/i386/rtems.h: Added comment.
21478         * config/sparc/rtemself.h: New file.
21479
21480         * configure.in (m68k-rtemself): Added.
21481         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
21482         and DWARF_DEBUGGING_INFO.
21483         * config/m68k/crti.s: New file.
21484         * config/m68k/crtn.s: New file.
21485         * config/m68k/t-crtstuff: New file.
21486         * config/m68k/rtemself.h: New file.
21487
21488         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
21489         global ctor/dtor and C++ exception handling.
21490         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
21491         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
21492         ENDFILE_SPEC.
21493         * config/i386/t-rtems-i386: New File.
21494
21495 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
21496
21497         * stmt.c (expand_end_case): Return right away if the case stack is
21498         empty.
21499
21500 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
21501
21502         * Makefile.in (version.c): Remove rule incorrectly brought in from
21503         the gcc2 merge.
21504
21505 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
21506
21507         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
21508         * msdos/top.sed:  Take into account a prepended $(SHELL) to
21509         move-if-change.
21510         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
21511
21512         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
21513
21514 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21515
21516         * regmove.c (fixup_match_1): Don't change an unchanging register.
21517         (stable_but_for_p): Renamed to:
21518         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
21519         Changed all callers.
21520
21521 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
21522
21523         * loop.c (strength_reduce): Don't call reg_used_between_p if the
21524         insn from BL2 is after the insn from BL.
21525
21526 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
21527
21528         * recog.h (INSN_OUTPUT_FORMAT_*): New.
21529         (struct insn_data): Merge `template' and `outfun' into `output'.
21530         Add `output_format'.
21531         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
21532         (struct data): Remove `outfun'; add `output_format'.
21533         (name_for_index): Remove declaration.
21534         (output_insn_data): Handle output formats.
21535         (process_template): Emit the bare array for @.
21536         (gen_expand, gen_split): Set output_format to NONE.
21537         * output.h (get_insn_template): Declare.
21538         * final.c (get_insn_template): New.
21539         (final_scan_insn): Use it.
21540         * toplev.c (compile_file): Likewise.
21541
21542         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21543         * i860/i860.c (output_delayed_branch): Likewise.
21544         (output_delay_insn): Likewise.
21545
21546 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
21547
21548         * rtl.c (obstack_alloc_rtx): Removed.
21549
21550 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
21551
21552         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
21553
21554 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
21555
21556         * i386.c (call_insn_operand): Reject const_int.
21557         (expander_call_insn_operand): Use call_insn_operand.
21558
21559 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21560
21561         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
21562
21563 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
21564
21565         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
21566         Use DImode operation.
21567
21568 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
21569
21570         * gcc.c: Include sys/resource.h.
21571         (report_times): New flag.
21572         (execute):  If report_times is set, calculate and report the
21573         CPU time consumed by each subprocess.
21574
21575         (rus, prus): New globals.
21576         (option_map): Add --time.
21577         (display_help): Document -time.
21578         (process_command): Set report_times if -time is given.
21579         Turn off -pipe if -time is given.
21580
21581         * invoke.texi: Document new option -time.
21582
21583         * configure.in: Check for getrusage.  Check if we have to
21584         prototype getrusage.
21585         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
21586         * configure: Regenerate.
21587         * config.in: Regenerate.
21588
21589 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
21590
21591         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
21592         fields.
21593
21594 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
21595
21596         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
21597         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
21598         (nan): Return _thenan_sf or _thenan_df as appropriate.
21599         (L_thenan_sf): Define _thenan_sf.
21600         (L_thenan_df): Define _thenan_df.
21601
21602         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
21603         (DPBIT_FUNCS): Add _thenan_df.
21604
21605 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
21606
21607         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
21608         TYPE_SIZE_UNIT.
21609
21610 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21611
21612         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
21613
21614         * gcc.h: New file.
21615         (lang_specific_driver): Don't take a function pointer parameter.
21616         All callers changed.
21617
21618         * gcc.c: Include gcc.h.
21619         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
21620         lang_specific_extra_outfiles, fatal): Don't declare.
21621         (multilib_defaults_raw): Constify.
21622         (read_specs): Call memset, rather than bzero.
21623         (main): Call return, not exit.
21624         (lookup_compiler): Call memcpy, not bcopy.
21625         (fatal): Make extern.
21626
21627         * cppspec.c: Include gcc.h.
21628         (lang_specific_driver): Initialize variable `quote'.  Constify a
21629         char*.  All calls to the function pointer parameter now
21630         explicitly call `fatal'.
21631
21632         * gccspec.c (lang_specific_driver): Include gcc.h.
21633
21634 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
21635
21636         * arm.c (note_invalid_constants): Use recog_data.operand_type
21637         for recog_op_type.
21638
21639 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21640
21641         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
21642         Declare.
21643
21644         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
21645         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21646         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21647         reload_secondary_in_reload, reload_secondary_out_reload,
21648         reload_secondary_in_icode, reload_secondary_out_icode,
21649         reload_reg_rtx, reload_when_needed): Delete declarations.
21650         (struct reload): New structure.
21651         (rld): Declare new array.
21652         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
21653         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21654         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21655         reload_secondary_in_reload, reload_secondary_out_reload,
21656         reload_secondary_in_icode, reload_secondary_out_icode,
21657         reload_reg_rtx, reload_when_needed): Delete definitions.
21658         (rld): New array.
21659         (whole file): Replace uses of the deleted arrays with uses of rld.
21660         * reload1.c (whole file): Replace uses of the deleted arrays with
21661         uses of rld.
21662         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
21663         explicit loops, not with bcopy.
21664
21665 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
21666
21667         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
21668         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
21669         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
21670         insn_name): Delete and consolidate into new structures.
21671         (insn_operand_predicate_fn): New.
21672         (insn_output_fn): New.
21673         (insn_gen_fn): New.
21674         (struct insn_operand_data): New.
21675         (struct insn_data): New.
21676         (insn_data): New.
21677         (OUT_FCN): Update for insn_data change.
21678         * builtins.c (expand_builtin_strlen): Likewise.
21679         (expand_builtin_memcmp): Likewise.
21680         * combine.c (make_extraction, simplify_comparison): Likewise.
21681         * cse.c (canon_reg, cse_insn): Likewise.
21682         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
21683         * expmed.c (store_bit_field, extract_bit_field): Likewise.
21684         (emit_store_flag): Likewise.
21685         * expr.c (convert_move, emit_block_move): Likewise.
21686         (clear_storage, emit_push_insn, expand_increment): Likewise.
21687         (do_store_flag): Likewise.
21688         * expr.h (GEN_FCN): Likewise.
21689         (insn_gen_function): Die.
21690         * final.c (final_scan_insn): Update for insn_data change.
21691         (output_asm_name): Likewise.
21692         * function.c (fixup_var_refs_1): Likewise.
21693         * loop.c (check_dbra_loop): Likewise.
21694         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
21695         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
21696         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
21697         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
21698         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
21699         * regmove.c (gen_add3_insn): Likewise.
21700         * reload.c (push_secondary_reload, combine_reloads): Likewise.
21701         (find_reloads, find_reloads_address_1): Likewise.
21702         (debug_reload_to_stream): Likewise.
21703         * reload1.c (emit_reload_insns, gen_reload): Likewise.
21704         * stmt.c (expand_end_case): Likewise.
21705         * toplev.c (compile_file): Likewise.
21706
21707         * c4x/c4x.c (c4x_process_after_reload): Likewise.
21708         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21709
21710         * print-rtl.c (insn_name_ptr): Remove declaration.
21711         (get_insn_name): Declare.
21712         (print_rtx): Use it.
21713         * genoutput.c (insn_name_ptr): Remove.
21714         (next_operand_number): New.
21715         (struct operand_data): New.
21716         (null_operand, odata, odata_end): New.
21717         (struct data): Use struct operand_data.
21718         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
21719         (get_insn_name): Renamed from name_for_index.
21720         (output_prologue): Define NO_MD_PROTOTYPES.
21721         (output_predicate_decls): Break out from output_epilogue.
21722         Iterate over the operands list.
21723         (output_operand_data): Break out from output_epilogue.  Emit
21724         just the operands list.
21725         (output_insn_data): Break out from output_epilogue.  Emit just
21726         the insn data.
21727         (output_epilogue): Remove.
21728         (output_get_insn_name): New.
21729         (constraints, op_n_alternatives, predicates, address_p): Die.
21730         (modes, strict_low, seen): Die.
21731         (scan_operands): Take new param `d' instead of writing to
21732         seven global variables.
21733         (compare_operands): New.
21734         (place_operands): New.
21735         (validate_insn_alternatives): Update for struct data change.
21736         (gen_insn): Don't zero or copy 7 global arrays.  Update for
21737         scan_operands; call place_operands.
21738         (gen_peephole, gen_expand, gen_split): Likewise.
21739         (main): Update for new output routines.
21740
21741         * genattr.c (insn_name_ptr): Remove.
21742         (get_insn_name): New function.
21743         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
21744         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
21745         * genrecog.c: Likewise.
21746
21747         * alpha.md (adddi3): Make `pattern' array static.
21748
21749 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21750
21751         * config/c4x/c4x.h (c4x_rpts_cycles_string,
21752         c4x_cpu_version_string): Constify char *.
21753         * config/c4x/c4x.c (c4x_rpts_cycles_string,
21754         c4x_cpu_version_string): Likewise.
21755
21756 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
21757
21758         * tree.c (save_tree_status): Revert 10 Sep change.
21759         (restore_tree_status): Likewise.  Call obstack_free with NULL
21760         before freeing the obstack proper.
21761
21762 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
21763
21764         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
21765
21766         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
21767         surrounding context.
21768
21769 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
21770
21771         * tree.c (type_hash_canon): Put all types in the hash-table, when
21772         GC'ing.
21773
21774 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
21775
21776         * recog.h (struct recog_data, recog_data): New.
21777         (recog_foo variables): Kill.
21778         * recog.c (recog_operand, recog_operand_loc): Kill.
21779         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
21780         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
21781         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
21782         (recog_data): Define.
21783         (extract_insn): Update all recog_foo references to use recog_data.
21784         (preprocess_constraints, constrain_operands): Likewise.
21785         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
21786         * genattrtab.c (main): Likewise.
21787         * genextract.c (main): Likewise.
21788         * genoutput.c: Likewise.
21789         * genrecog.c (write_subroutine, main): Likewise.
21790         * local-alloc.c (block_alloc): Likewise.
21791         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
21792         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
21793         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
21794         * reload.c (find_reloads, find_reloads_toplev): Likewise.
21795         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
21796         (reload_cse_simplify_operands): Likewise.
21797
21798         * arc/arc.c (arc_final_prescan_insn): Likewise.
21799         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
21800         * h8300/h8300.c (notice_update_cc): Likewise.
21801         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
21802         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21803         * mn10200/mn10200.c (notice_update_cc): Likewise.
21804         * mn10300/mn10300.c (notice_update_cc): Likewise.
21805         * romp/romp.c (update_cc): Likewise.
21806         * sparc/sparc.c (check_pic): Likewise.
21807         * v850/v850.c (notice_update_cc): Likewise.
21808
21809         * genemit.c (main): Don't declare recog_operand.
21810
21811 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
21812
21813         * ggc.h (rtvec_def): Forward declare.
21814         (tree_node): Likewise.
21815         (ggc_root): Define.
21816         (roots): Declare.
21817         (ggc_set_mark_rtx): Add prototype.
21818         (ggc_set_mark_rtvec): Likewise.
21819         (ggc_set_mark_tree): Likewise.
21820         * ggc-simple.c (ggc_root): Don't define.
21821         (roots): Don't declare.
21822         (ggc_mark_rtx): Remove.
21823         (ggc_mark_rtvec): Likewise.
21824         (ggc_mark_tree): Likewise.
21825         (ggc_mark_varray): Likewise.
21826         (ggc_mark_tree_hash_table_entry): Likewise.
21827         (ggc_mark_tree_hash_table): Likewise.
21828         (ggc_set_mart_rtx): New function.
21829         (ggc_set_mark_rtvec): Likewise.
21830         (ggc_set_mark_tree): Likewise.
21831         (ggc_add_root): Remove.
21832         (ggc_add_rtx_root): Likewise.
21833         (ggc_remove_tree_root): Likewise.
21834         (ggc_add_string_root): Likewise.
21835         (ggc_add_tree_varray_root): Likewise.
21836         (ggc_add_tree_hash_table_root): Likewise.
21837         (ggc_del_root): Likewise.
21838         (ggc_mark_rtx_ptr): Likewise.
21839         (ggc_mark_tree_ptr): Likewise.
21840         (ggc_mark_string_ptr): Likewise.
21841         (ggc_mark_tree_varray_ptr): Likewise.
21842         (ggc_mark_tree_hash_table_ptr): Likewise.
21843         * ggc-common.c: New file.
21844         * Makefile.in (OBJS): Add ggc-common.o.
21845         (ggc-common.o): List dependencies.
21846
21847 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
21848
21849         * cppalloc.c (xstrdup): Use memcpy.
21850         * cpperror.c (cpp_print_containing_files): Don't use
21851         cpp_notice.
21852         * cpplib.c (conditional_skip): Set temp->lineno.
21853         (do_endif): Make error message less obscure.
21854         (if_directive_name): New function.
21855         (cpp_get_token [case EOF]): Unwind the if stack and generate
21856         error messages for each unterminated conditional in this file.
21857         (parse_string):  Do not behave differently if -traditional.
21858
21859 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
21860
21861         * builtins.c (expand_builtin_va_arg): Cope with an array-type
21862         va_list decomposing to pointer-type.
21863         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
21864         (rs6000_va_arg): Likewise.
21865
21866 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
21867
21868         * except.c (start_dynamic_handler): Compute size using
21869         STACK_SAVEAREA_MODE.
21870
21871 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21872
21873         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
21874         include directory headers.  Don't define strrchr.  Don't provide
21875         my_* replacement functions.  Prefer PTR over `pointer_type'.
21876         Don't prototype system functions.  Don't redefine getopt.
21877
21878         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
21879         safe_read, safe_write, save_pointers, restore_pointers,
21880         is_id_char, in_system_include_dir, directory_specified_p,
21881         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
21882         find_corresponding_lparen, referenced_file_is_newer,
21883         save_def_or_dec, munge_compile_params, gen_aux_info_file,
21884         process_aux_info_file, identify_lineno, check_source,
21885         seek_to_line, forward_to_next_token_char, output_bytes,
21886         output_string, output_up_to, other_variable_style_function,
21887         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
21888         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
21889         find_static_definition, connect_defs_and_decs, add_local_decl,
21890         add_global_decls, needs_to_be_converted, visit_each_hash_node,
21891         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
21892         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
21893         scan_for_missed_items, edit_file, string_list_cons): Add static
21894         prototypes.
21895         (standard_exec_prefix, target_machine, target_version,
21896         default_syscalls_dir, string_list, string_list_cons, find_file,
21897         do_cleaning): Constify a char*.
21898         (safe_read, safe_write): Use PTR, not a char*.
21899         (is_id_char): Take an int, not a char.
21900         (main): Add prototype.  Call return, not exit.
21901
21902 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
21903
21904         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
21905         when comparing types.
21906
21907 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
21908
21909         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
21910         (strength_reduce): Release the varrays from the no-bivs early exit.
21911
21912         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
21913         the loop over the registers.
21914
21915         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
21916         for a new obstack.
21917         (restore_tree_status): Check that instead when freeing the obstack.
21918
21919 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
21920
21921         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
21922         as pointers.
21923
21924 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21925
21926         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
21927         operand size modifiers.
21928
21929 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21930
21931         * c-common.c (c_common_nodes_and_builtins): Don't build
21932         va_list_type_node.
21933         * c-common.h (enum c_tree_index and related accesor macros): Remove
21934         everything now declared in tree.h.
21935         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21936         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
21937         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
21938         (error_mark_node, void_type_node, char_type_node, integer_type_node,
21939         unsigned_type_node, ptr_type_node, va_list_type_node,
21940         integer_zero_node, null_pointer_node, integer_one_node): Delete.
21941         (init_decl_processing): Call build_common_tree_nodes and
21942         build_common_tree_nodes_2 instead of building their nodes here.
21943         Don't add roots for these nodes.
21944         * stor-layout.c (size_zero_node, size_one_node): Delete.
21945         (set_sizetype): Make a new node for bitsizetype each time.
21946         * tree.c (global_trees): New variable.
21947         (init_obstacks): Add a gc root for it.
21948         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21949         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
21950         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
21951         (build_common_tree_nodes): New function.
21952         (fix_sizetype): New function.
21953         (build_common_tree_nodes_2): New function.
21954         * tree.h (enum tree_index): New.
21955         (global_trees): Declare.
21956         Add accessor macros for all nodes now moved to global_trees.
21957         Delete their declarations.
21958
21959 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
21960
21961         * c-decl.c (finish_function): When processing a nested function,
21962         push and pop GC context around rest_of_compilation.
21963
21964 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
21965
21966         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
21967         Default ix86_arch to PROCESSOR_I386.
21968         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
21969         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
21970         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
21971         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
21972         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
21973         (EXTRA_SPECS): Remove deleted specs.
21974
21975 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
21976
21977         * function.c (assign_stack_local_1): Allocate from
21978         function->x_frame_offset, not frame_offset.
21979
21980 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
21981
21982         * ggc.h (lang_cleanup_tree): Remove.
21983         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
21984         * ggc-callbacks.c (lang_cleanup_tree): Remove.
21985
21986         * c-decl.c (finish_struct): Use ggc_alloc to allocate
21987         TYPE_LANG_SPECIFIC when garbage collecting.
21988         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
21989         (lang_cleanup_tree): Remove.
21990
21991 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
21992
21993         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
21994         * crtstuff.c: Not here.
21995         * dwarf2out.c: Or here.
21996         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
21997         info.
21998
21999 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
22000
22001         * function.h (free_after_compilation): Remove decl parameter.
22002         (free_varasm_status0: Likewise.
22003         (free_emit_status): Likewise.
22004         (free_stmt_status): Likewise.
22005         (free_after_compilation): Likewise.
22006         (init_lang_status): New variable.
22007         (free_lang_status): Likewise.
22008         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
22009         * function.c (init_lang_status): New variable.
22010         (free_lang_status): Likewise.
22011         (push_function_context_to): Don't set function::decl here.
22012         (free_after_copmilation): Make decl parameter implicit.  Call
22013         free_lang_status if defined.
22014         (prepare_function_start): Call init_lang_status if defined.
22015         (init_function_start): Set function::decl here.
22016         * profile.c (output_func_start_profiler): Don't call pushdecl
22017         until we've actually started the function.
22018         * stmt.c (free_stmt_status): Make decl parameter implicit.
22019         * toplev.c (rest_of_compilation): Don't pass decl to
22020         free_after_compilation.
22021         * varasm.c (free_varasm_status): Likewise.
22022
22023 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22024
22025         * except.c (call_get_eh_context): Add root when allocating static
22026         tree variable.
22027
22028 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
22029
22030         * arm.c: Include "ggc.h".
22031         (arm_add_gc_roots): New function.
22032         (arm_override_options): Call it.
22033         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
22034
22035         * arm.md (define_asm_attributes): Add a pool_range attribute.
22036
22037 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
22038
22039         * extend.texi (Volatiles): New node.
22040
22041 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
22042
22043         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
22044         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
22045         (struct ggc_any): Replace `mark' with `magic_mark'.
22046         (ggc_alloc_string): Use memcpy, not bcopy.
22047         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
22048         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
22049         (ggc_free_any): New.
22050         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
22051         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
22052         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
22053         Use IS_MARKED. Use ggc_free_any.
22054
22055 1999-09-09  Scott Bambrough <scottb@netwinder.org>
22056
22057         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
22058
22059 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
22060
22061         * toplev.c (main): Always init_ggc.
22062
22063 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
22064
22065         * except.c (find_all_handler_type_matches): Free the list if
22066         we found no matches.
22067
22068         * combine.c (SUBST): Break out to a real function do_SUBST.
22069         (SUBST_INT): Likewise.
22070         * gcse.c (free_pre_mem): Free `temp_bitmap'.
22071         (pre_insert): Free `inserted'.
22072         * loop.c (basic_induction_var): Always set `location'.
22073
22074         * function.c (expand_function_end): Add initial_trampoline as a root.
22075         * rtl.h (init_varasm_once): Declare.
22076         * toplev.c (compile_file): Call it.
22077         * ggc-simple.c (ggc_mark_string_ptr): New.
22078         (ggc_add_string_root): New.
22079         (ggc_collect): Disable collection avoidance temporarily.
22080         * ggc.h (ggc_add_string_root): Declare.
22081         * except.c (create_rethrow_ref): Use ggc_alloc_string.
22082         * optabs.c (init_libfuncs): Likewise.
22083         * varasm.c (named_section): Use ggc_alloc_string.
22084         (make_function_rtl): Likewise.
22085         (make_decl_rtl): Likewise.
22086         (assemble_static_space): Likewise.
22087         (assemble_trampoline_template): Likewise.
22088         (output_constant_def): Likewise.
22089         (force_const_mem): Likewise.
22090         (mark_const_hash_entry): New.
22091         (mark_pool_sym_hash_table): New.
22092         (mark_varasm_state): Use it.
22093         (init_varasm_once): New.
22094
22095         * expr.h (init_one_libfunc): Declare.
22096         * optabs.c (init_one_libfunc): New.
22097         (init_optabs): Use it.
22098         * config/gofast.h: Likewise.
22099         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
22100         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
22101
22102 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
22103
22104         * Makefile.in (cppexp.o): Depend on cpphash.h.
22105         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
22106         Include cpphash.h.
22107         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
22108         * cpplib.c (do_define): Generalise to handle poisoned definitions,
22109         redefining poisoned identifiers, etc.
22110         (do_undef): Don't allow poisoned identifiers to be undefined.
22111         (do_pragma): Add #pragma poison.
22112         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
22113
22114         * cccp.c: Add T_POISON node type.
22115         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
22116         poisoned xxx.
22117         (do_define): Generalise to handle poisoned definitions,
22118         redefining poisoned identifiers, etc.
22119         (do_undef): Don't allow poisoned identifiers to be undefined.
22120         (do_pragma): Add #pragma poison.
22121         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
22122
22123         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
22124         * c-pragma.h: Add ps_poison state.  We now always have generic
22125         pragmas.
22126
22127 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
22128
22129         * ggc.h (ggc_alloc): New function.
22130         (ggc_mark): Likewise.
22131         * ggc-simple.c (ggc_any): New structure.
22132         (ggc_status): Add anys.
22133         (n_anys_collected): New variable.
22134         (ggc_alloc): Define.
22135         (ggc_mark): Likewise.
22136         (ggc_collect): Collect the anys.
22137
22138 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22139
22140         * c-decl.c (mark_binding_level): Make static to match prototype.
22141
22142 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
22143
22144         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
22145
22146 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
22147
22148         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
22149         will use into account.  Expand the max width to 5.
22150         * rtl.c: Likewise.
22151
22152 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
22153
22154         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
22155         for the rtx length.
22156
22157 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
22158
22159         * alpha.md (call value patterns): Remove the result predicates.
22160
22161 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
22162
22163         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
22164         last change.
22165
22166 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22167
22168         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
22169         changed from extern char *, to extern PTR.  Also fix typo in
22170         NEED_DECLARATION_REALLOC test.
22171
22172         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
22173
22174 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22175
22176         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
22177         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
22178         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
22179         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
22180
22181         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
22182
22183         * cccp.c (pcfinclude): Likewise.
22184
22185         * global.c (allocno_compare): Likewise.
22186
22187         * haifa-sched.c (rank_for_schedule): Likewise.
22188
22189         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
22190
22191         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
22192
22193         * stupid.c (stupid_reg_compare): Likewise.
22194
22195         * tree.c (_obstack_allocated_p): Likewise.
22196
22197         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
22198
22199 1999-09-08  Bruce Korb  autogen@linuxbox.com
22200
22201         * Makefile.in: Give the hapless gperf user a hint about
22202         why "gperf -F" fails.
22203
22204 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
22205
22206         * lists.c: Include ggc.h.
22207         (zap_lists): New.
22208         (init_EXPR_INSN_LIST_cache): Install it.
22209
22210         * ggc-simple.c (init_ggc): Absorb the old init.
22211         (ggc_push_context): Use xcalloc.
22212         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
22213         (ggc_collect): Add [rvts] tags to the collection stats.
22214
22215 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
22216
22217         * cccp.c (main): Fix handling of -include and -imacros options.
22218
22219 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
22220
22221         * cpplib.c (cpp_push_buffer): Fix order of arguments.
22222
22223 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22224
22225         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
22226         genrtl.c.
22227
22228 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
22229
22230         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
22231         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
22232         and SET_DEST. Update comment.
22233
22234 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22235
22236         * config/c4x/c4x.c: Include ggc.h.
22237         (c4x_add_gc_roots): New function.
22238         (c4x_override_options): Call c4x_add_gc_roots.
22239
22240 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
22241
22242         * defaults.h (TARGET_ESC): Move ...
22243         * system.h: ... here, where Linas had it in the first place.  Silly me.
22244
22245 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
22246
22247         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
22248         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
22249         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
22250         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
22251         * defaults.h (TARGET_ESC): Add default.
22252
22253 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
22254
22255         * configure.in: add i370-*-openedition, i370-*-mvs and
22256         i370-*-linux targets
22257
22258 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
22259
22260         * dsp16xxx.c: Include ggc.h
22261         (override_options): Mark GC roots.
22262         * mn10200.c: Include ggc.h.
22263         (asm_file_start): Mark GC roots.
22264         * tahoe.c: Include ggc.h.
22265         (extensible_operand): Mark GC roots.
22266
22267 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
22268
22269         * README: Add section discussing status of ELF ABI.
22270         * i370.c: Fix misc spelling mistakes.
22271         (i370_label_scan): Updated notes, exception handling.
22272         (i370_function_prolog): Simplify ELF stack handling.
22273         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
22274         (STACK_GROWS_DOWNWARD): ELF stack grows down.
22275         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
22276         * i370.md: (movdi): Add notes.
22277         (floatsidf2): Use stack not rtca for scratch float area.
22278         (iorsi3): Correct operand constraints.
22279         * x-oe: Restore TAROUTOPTS which are used by pax.
22280
22281 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
22282
22283         * rs6000.c: Include ggc.h.
22284         (rs6000_add_gc_roots): New function.
22285         (override_options): Call it.
22286
22287 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
22288
22289         * alpha.h (alpha_compare): New.
22290         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
22291         * alpha.c: Likewise for the definitions.
22292         (alpha_emit_conditional_branch): Update for alpha_compare.
22293         (alpha_emit_conditional_move): Likewise.
22294         * alpha.md (cmpdf, cmpdi): Likewise.
22295         (setcc patterns): Likewise.  Zero alpha_compare after use.
22296         (sne): Optimize (x != 0) into (0U < x).
22297
22298 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
22299
22300         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
22301         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
22302         (INIT_EXPANDERS): Remove.
22303         * alpha.c: Include ggc.h.
22304         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
22305         (alpha_init_machine_status, alpha_mark_machine_status): New.
22306         (override_options): Install them.
22307         (struct machine_function): Moved to alpha.h.
22308         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
22309         (alpha_init_expanders): Remove.
22310         (alpha_return_addr): Adjust to use current_function->machine.
22311         (alpha_ra_ever_killed): Likewise.
22312         (alpha_expand_epilogue): Likewise.
22313         * alpha.md (eh_epilogue): Likewise.
22314
22315 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
22316                           Melissa O'Neill  <oneill@cs.sfu.ca>
22317                           Geoffrey Keating  <geoffk@cygnus.com>
22318
22319         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
22320         call-used registers (call-saved registers must still be contiguous
22321         and end with r31, of course).
22322
22323 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
22324
22325         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
22326         (self_promoting_type_p): Delete.
22327         (self_promoting_args_p): Move ...
22328         * c-common.c: ... here.
22329         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
22330         (simple_type_promotes_to): New.
22331         * builtins.c (lang_type_promotes_to): New.
22332         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
22333         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
22334         * c-common.h: ... here.
22335         (self_promoting_args_p, simple_type_promotes_to): Declare.
22336         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
22337         (grokdeclarator): Likewise.
22338         * tree.h (lang_type_promotes_to): Declare.
22339
22340 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
22341
22342         Add some machine-dependent GC roots.
22343         * sparc.c: Include ggc.h.
22344         (sparc_add_gc_roots): New function.
22345         (mark_ultrasparc_pipeline_state): Likewise.
22346         (override_options): Call sparc_add_gc_roots.
22347         * pa.c: Include ggc.h.
22348         (pa_add_gc_roots): New function.
22349         (mark_deferred_plabels): Likewise.
22350         (override_options): Call pa_add_gc_roots.
22351         * mips.c: Include ggc.h.
22352         (mips_add_gc_roots): New function.
22353         (override_options): Use it.
22354
22355 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22356
22357         * cpperror.c (cpp_file_line_for_message): Constify a char*.
22358
22359         * cppexp.c (parse_number, parse_charconst, cpp_lex,
22360         cpp_parse_expr): Add static prototypes.
22361         (parse_charconst): Don't cast away const-ness.
22362         (token): Constify a char*.
22363
22364         * cppfiles.c (file_name_list, include_hash, find_include_file,
22365         finclude, initialize_input_buffer): Constify a char*.
22366         (file_cleanup, find_position): Add static prototypes.
22367
22368         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
22369         collect_expansion): Add static prototypes.
22370         (cpp_install, create_definition, monthnames): Constify a char*.
22371
22372         * cpphash.h (cpp_install): Likewise.
22373
22374         * cppinit.c (known_suffixes, default_include,
22375         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
22376         (base_name, dump_special_to_buffer, initialize_dependency_output):
22377         Add static prototypes.
22378
22379         * cpplib.c (my_strerror): Constify a char*.
22380         (null_underflow, null_cleanup, skip_comment, copy_comment,
22381         copy_rest_of_line, handle_directive, pass_thru_directive,
22382         get_directive_token, read_line_number, cpp_print_file_and_line,
22383         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
22384         v_cpp_warning_with_line, detect_if_not_defined,
22385         consider_directive_while_skipping): Add static prototypes.
22386         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
22387         cpp_pedwarn_with_file_and_line): Constify a char*.
22388
22389         * cpplib.h (cpp_options, include_hash, progname, definition,
22390         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
22391         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
22392         find_include_file, deps_output, include_hash): Constify a char*.
22393
22394         * cppmain.c (progname): Constify.
22395         (main): Add prototype.  Use return, not exit.
22396
22397         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
22398         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
22399         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
22400         check_protection): Add static prototype.
22401         (xfree): Remove.
22402         (progname, recognized_macrom, recognized_extern): Constify a char*.
22403         (main): Add prototype.
22404
22405         * gen-protos.c (progname): Constify a char*.
22406
22407 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
22408
22409         * emit-rtl.c (free_emit_status): Take decl as a parameter.
22410         (init_emit_once): Add more GC roots.
22411         * except.c (mark_func_eh_entry): New function.
22412         (mark_eh_node): Mark false_label and rethrow_label.
22413         (init_eh): Add more GC roots.
22414         * function.c (free_after_compilation): Take decl as a paramter.
22415         Call free_stmt_status.
22416         (mark_function_state): Don't assume x_parm_reg_stack_loc is
22417         non-NULL.
22418         * function.h (free_after_compilation): Change prototype.
22419         (free_varasm_status): Likewise.
22420         (free_emit_status): Likewise.
22421         (free_stmt_status): New function.
22422         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
22423         Remove, replacing with ...
22424         (ggc_status): New structure.
22425         (ggc_chain): New variable.
22426         (init_gcc): Define.
22427         (ggc_push_context): New function.
22428         (ggc_pop_context): Likewise.
22429         (ggc_alloc_rtx): Adjust for use of ggc_chain.
22430         (ggc_alloc_rtvec): Likewise.
22431         (ggc_alloc_tree): Likewise.
22432         (ggc_alloc_string): Likewise.
22433         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
22434         (ggc_mark_tree): Give language-dependent code a chance to mark
22435         `x' nodes.
22436         (ggc_mark_tree_varray): Handle empty arrays.
22437         (ggc_collect): Adjust for use of ggc_chain.  Clear
22438         bytes_alloced_since_last_gc.
22439         * ggc.h (ggc_pop_context): New function.
22440         (ggc_push_context): Likewise.
22441         * print-tree.c (print_node): Don't print obstacks when GC'ing.
22442         * stmt.c (free_stmt_status): New function.
22443         (init_stmt_for_function): Clear last_expr_value.
22444         * toplev.c (rest_of_compilation): Always call free_after_compilation.
22445         Conditionalize call to ggc_collect.
22446         (main): Call init_ggc.
22447         * tree.c (push_obstacks): Do the push, even when GC'ing.
22448         (push_obstacks_nochange): Likewise.
22449         (pop_obstacks): Liekwise.
22450         * varasm.c (free_varasm_status): Take decl as a parameter.
22451
22452 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22453
22454         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
22455         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
22456         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
22457         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
22458
22459 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
22460
22461         * pa/x-pa-mpeix: New file for the MPE port.
22462
22463         * pa/quadlib.asm: New file for long double support.
22464
22465         * configure.in: Add hppa1.0-*-mpeix for MPE port.
22466         * configure: Rebuilt.
22467
22468 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
22469
22470         * final.c (shorten_branches): Fix last change.
22471
22472 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
22473
22474         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
22475
22476 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
22477
22478         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
22479         details.
22480
22481 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22482
22483         * c-aux-info.c (concat): Don't define.
22484
22485         * cccp.c (my_strerror): Likewise.  All callers changed to use
22486         xstrerror instead.
22487         (do_include): Call xstrdup, not xmalloc/strcpy.
22488         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
22489         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
22490
22491         * collect2.c (my_strsignal): Likewise.  All callers changed to use
22492         strsignal instead.
22493         (locatelib): Call xstrdup, not xmalloc/strcpy.
22494
22495         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
22496
22497         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
22498
22499         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
22500
22501         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
22502
22503         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
22504
22505         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
22506
22507         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
22508         malloc/realloc.
22509         (find_all_handler_type_matches): Likewise.  Don't check return
22510         value.
22511         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
22512         xmalloc, not malloc.
22513         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
22514
22515         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
22516         (init_spec): Call xcalloc, not xmalloc/bzero.
22517         (set_spec): Call xstrdup, not save_string.
22518         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
22519         (find_a_file): Call xstrdup, not xmalloc/strcpy.
22520         (process_command): Call xstrdup, not save_string.
22521         (main): Call xcalloc, not xmalloc/bzero.
22522
22523         * gcov.c (xmalloc): Don't define.
22524         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
22525         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
22526         (output_data): Call xcalloc, not xmalloc/bzero.
22527
22528         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
22529
22530         * mips-tdump.c (xmalloc): Don't define.
22531         (print_symbol): Call xmalloc, not malloc.
22532         (read_tfile): Call xcalloc, not calloc.
22533
22534         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
22535         Don't define.  All callers of xfree/my_strsignal changed to use
22536         free/strsignal instead.
22537         (allocate_cluster): Call xcalloc, not calloc.
22538
22539         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
22540         Fix memory leak, free allocated memory.
22541
22542         * prefix.c (translate_name): Call xstrdup, not save_string.
22543         (update_path): Likewise.
22544
22545         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
22546
22547         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
22548         Don't define.  Callers of xfree/savestring2 changed to use
22549         free/concat instead.
22550
22551         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
22552         (init_elim_table): Likewise.
22553
22554         * resource.c (init_resource_info): Likewise.
22555
22556         * stupid.c (stupid_life_analysis): Likewise.
22557
22558         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
22559         (open_dump_file): Call concat, not xmalloc/strcpy/...
22560         (clean_dump_file): Likewise.
22561         (compile_file): Call xstrdup, not xmalloc/strcpy.
22562
22563 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
22564
22565         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
22566         * v850.c (v850_va_arg): New.
22567
22568 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22569
22570         * haifa-sched.c: Tidy comments.
22571
22572 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22573
22574         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
22575         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
22576         $(out_object_file)): Depend on ggc.h.
22577         * c-common.c: Include "ggc.h".
22578         (combine_strings): If doing GC, use ggc_alloc_string.
22579         * c-decl.c: Include "ggc.h".
22580         (ggc_p): Define with value 0.
22581         (mark_binding_level): New function.
22582         (init_decl_processing): Add GC roots.
22583         (mark_c_function_context): New function.
22584         (lang_mark_false_label_stack): New function.
22585         (lang_mark_tree): New function.
22586         (lang_cleanup_tree): New function.
22587         * c-lang.c: Include "ggc.h".
22588         (lang_init): Call c_parse_init.
22589         * c-lex.c: Include "ggc.h".
22590         (check_linenum): If doing GC, don't copy filenames to permanent
22591         obstack.
22592         * c-parse.in: Include "ggc.h".
22593         (c_parse_init): New function.
22594         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
22595         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
22596
22597         * except.c (mark_eh_state): Mark more state.
22598         * function.c (mark_function_state): Likewise.
22599         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
22600         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
22601         * toplev.c (mark_file_stack): New function.
22602         (compile_file): If doing GC, use ggc_alloc_string on input filename.
22603         (main): Add root for input_file_stack.
22604
22605         * i386.c: Include "ggc.h".
22606         (ix86_mark_machine_status): New function.
22607         (override_options): Set mark_machine_status.
22608
22609 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22610
22611         * tree.c (copy_node): Copy node contents also if doing GC.
22612
22613 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22614
22615         * collect2.c (scan_libraries): Fix double-thinko :-).
22616
22617 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
22618
22619         * collect2.c (scan_libraries): Fix thinko.
22620
22621         * cse.c (delete_trivially_dead_insns): Do not skip the last
22622         insn if it is a real insn.
22623
22624 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
22625
22626         * Makefile.in (ggc-simple.o): Depend on hash.h.
22627         * ggc.h (ggc_add_tree_hash_table_root): Declare.
22628         (ggc_mark_tree_varray): Likewise.
22629         (ggc_mark_tree_hash_table): Likewise.
22630         * ggc-simple.c: Include hash.h.
22631         (ggc_mark_tree_hash_table_ptr): New function.
22632         (ggc_mark_tree_hash_table_entry): Likewise.
22633         (ggc_mark_tree_hash_table): Likewise.
22634         (ggc_add_tree_hash_table_root): Likewise.
22635         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
22636         rtx, when defining fields.
22637
22638 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22639
22640         * profile.c (output_func_start_profiler): Remove apparently
22641         nonsensical call to start_sequence.
22642
22643 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
22644
22645         * clipper/clipper.c (clipper_va_start): Fix typos.
22646
22647         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
22648         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
22649         (spur_va_arg): New stub.
22650
22651         * configure.in: Comment out pyramid.
22652
22653 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
22654
22655         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
22656         don't conflict with the bits that win32, cygwin, and dgux
22657         defines.
22658
22659 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
22660                           Bernd Schmidt <bernds@cygnus.co.uk>
22661
22662         * integrate.c (function_cannot_inline_p): Do not inline
22663         functions with forced labels.
22664
22665 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
22666                           Bernd Schmidt <bernds@cygnus.co.uk>
22667                           Mark Mitchell  <mark@codesourcery.com>
22668
22669         * Makefile.in (ggc-simple.o): Depend on varray.h.
22670         (rtl.o): Depend on ggc.h.
22671         (genattrtab.o): Depend on ggc.h.
22672         (print-tree.o): Likewise.
22673         (fold-const.o): Likewise.
22674         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
22675         (make_insn_raw): Don't cache insns when GC'ing.
22676         (emit_insn_before): Likewise.
22677         (emit_insn_after): Likewise.
22678         (emit_insn): Likewise.
22679         (start_sequence): Use xmalloc to allocate the sequence_stack.
22680         (end_sequence): Add free to free it.
22681         (gen_sequence): Don't cache insns when GC'ing.
22682         (clear_emit_caches): Don't use sequence_element_free_list.
22683         (init_emit): Use xcalloc, not xmalloc+bzero.
22684         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
22685         * function.c (pop_function_context_from): Use free to free the
22686         fixup_var_refs_queue.
22687         (put_reg_into_stack): Allocate it with xmalloc.
22688         * genattrtab.c: Include ggc.h.
22689         (operate_exp): Don't use obstack_free when GC'ing.
22690         (simplify_cond): Likewise.
22691         (simplify_text_exp): Likewise.
22692         (optimize_attrs): Likewise.
22693         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
22694         GC'ing.
22695         (gencode): Generate a #include for ggc.h.
22696         * ggc-callbacks.c (ggc_p): Define it to zero.
22697         * ggc-none.c (ggc_p): Likewise.
22698         * ggc-simple.c: Include varray.h.
22699         (ggc_mark_tree_varray): New function.
22700         (ggc_add_tree_varray_root): Likewise.
22701         (ggc_mark_tree_varray_ptr): Likewise.
22702         * ggc.h (ggc_p): Declare.
22703         (varray_head_tag): Likewise.
22704         (ggc_add_tree_varray_root): Declare.
22705         * print-tree.c (print_node): Don't check for TREE_PERMANENT
22706         inconsistencies when GC'ing.
22707         * rtl.c: Include ggc.h.
22708         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
22709         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
22710         (rtx_free): Don't call obstack_free when GC'ing.
22711         * toplev.c (rest_of_compilation): Call ggc_collect after every
22712         pass, if GC'ing.
22713         * tree.c (push_obstacks): Do nothing, if GC'ing.
22714         (pop_obstacks_nochange): Likewise.
22715         (pop_obstacks): Likewise.
22716         (make_node): Use ggc_alloc_tree when GC'ing.
22717         (copy_node): Likewise.
22718         (get_identifier): Use ggc_alloc_string when GC'ing.
22719         (build_string): Likewise.
22720         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
22721         (tree_cons): Likewise.
22722         (build1): Likewise.
22723         (type_hash_canon): Don't call obstack_free when GC'ing.
22724
22725 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
22726
22727         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
22728         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
22729
22730 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
22731                           Bernd Schmidt <bernds@cygnus.co.uk>
22732                           Mark Mitchell  <mark@codesourcery.com>
22733
22734         * Makefile.in (stor-layout.o): Depend on ggc.h.
22735         (expr.o): Depend on ggc.h.
22736         (profile.o): Depend on ggc.h.
22737         (stor-layout.o): Depend on ggc.h.
22738         * emit-rtl.c (init_emit_once): Add gc roots.
22739         * expr.c: Include ggc.h.
22740         (emit_block_move): Add gc roots.
22741         (clear_storage): Likewise.
22742         * expr.h (init_stor_layout_once): New function.
22743         * profile.c: Include ggc.h.
22744         (init_arc_profiler): profiler_label is a root.
22745         * scan.c (make_sstring_space): Trust xrealloc to function
22746         correctly with first parameter NULL.
22747         * stor-layout.c: Include ggc.h.
22748         (set_sizetype): Add gc root.
22749         (init_stor_layout_once): New function.
22750         * toplev.c (compile_file): Call it.
22751
22752 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
22753                           Bernd Schmidt <bernds@cygnus.co.uk>
22754                           Mark Mitchell  <mark@codesourcery.com>
22755
22756         * Makefile.in (tree.o): Depend on ggc.h.
22757         (varasm.o): Likewise.
22758         (function.o): Likewise.
22759         (stmt.o): Likewise.
22760         (except.o): Likewise.
22761         (optabs.o): Likewise.
22762         (emit-rtl.o): Likewise.
22763         * emit-rtl.c: Include ggc.h.
22764         (sequence_element_free_list): Remove, and all references.
22765         (mark_sequence): New functions.
22766         (mark_emit_state): New function.
22767         * except.c: Include ggc.h.
22768         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
22769         (mark_tree_label_node): New functions.
22770         (mark_eh_state): New function.
22771         * function.c: Include ggc.h.
22772         (mark_temp_slot, mark_function_chain): New functions.
22773         (mark_function_state): New function.
22774         (init_function_once): New function.
22775         * function.h (init_function_once): New function.
22776         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
22777         * ggc.h (label_node): Declare.
22778         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
22779         (lang_mark_false_label_stack): New function.
22780         (mark_temp_slot): Remove declaration.
22781         (mark_function_chain): Likewise.
22782         (mark_eh_state): Adjust prototype.
22783         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
22784         Likewise.
22785         * optabs.c: Include ggc.h.
22786         (mark_optab): New function.
22787         (init_optabs): Add gc roots.
22788         * stmt.c: Include ggc.h.
22789         (mark_cond_nesting, mark_loop_nesting): New functions.
22790         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
22791         (mark_stmt_state): New function.
22792         * toplev.c (compile_file): Call init_function_once.
22793         * tree.c: Include ggc.h.
22794         (type_hash): Move declaration earlier in file.
22795         (TYPE_HASH_SIZE, type_hash_table): Likewise.
22796         (init_obstacks): Add gc roots.
22797         (mark_type_hash): New function.
22798         * varasm.c: Include ggc.h.
22799         (mark_pool_constant): New function.
22800         (mark_varasm_state): New function.
22801
22802 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22803
22804         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
22805
22806 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
22807
22808         * c-decl.c (struct language_function): Renamed from struct c_function.
22809         Delete elt NEXT.
22810         (c_function_chain): Delete.
22811         (push_c_function_context): New arg F.  Don't warn about nested
22812         functions here.  Fill LANGUAGE elt of F.  Delete code to update
22813         c_function_chain.  Don't call push_function_context.
22814         (pop_c_function_context): New arg F.  Restore from there instead of
22815         from c_function_chain.  Don't call pop_function_context.  Clear out
22816         LANGUAGE field of F when done.
22817         * c-lang.c: Include "function.h"
22818         (lang_init): Initialize save_lang_status and restore_lang_status.
22819         * c-parse.in (nested_function, nested_function_notype): Warn about
22820         nested functions.  Call push_function_context/pop_function_context
22821         instead of the _c_ variants.
22822         * c-tree.h (push_c_function_context, pop_c_function_context): Update
22823         prototype.
22824         * Makefile.in (c-lang.o): Update dependencies.
22825
22826         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
22827         regno_pointer_flag, regno_pointer_align.
22828         (gen_reg_rtx): Use xrealloc to enlarge them.
22829         (free_emit_status): New function.
22830         * function.c (mark_machine_status, mark_lang_status): New variables.
22831         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
22832         in some bits from assign_stack_local.  All callers changed to use new
22833         name.
22834         (assign_stack_local): Just call assign_stack_local_1.
22835         (free_after_compilation): New function.
22836         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
22837         (trampoline_address): Likewise.
22838         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
22839         (prepare_function_start): Explicitly clear some more variables.
22840         * function.h (struct function): New elt can_garbage_collect.
22841         (mark_machine_status, mark_lang_status): Declare variables.
22842         (free_after_compilation, free_emit_status, free_varasm_status,
22843         init_varasm_status): Declare functions.
22844         * toplev.c (rest_of_compilation): Call free_after_compilation when
22845         done with the current function.
22846         * varasm.c (free_varasm_status): New function.
22847
22848 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
22849
22850         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
22851         (EXPAND_BUILTIN_VA_ARG): Define.
22852         * sparc.c (sparc_va_start): New.
22853         (sparc_va_arg): New.
22854
22855 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22856
22857         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
22858
22859 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22860
22861         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
22862
22863 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
22864
22865         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
22866         (OBJS): Add $(GGC).
22867         (ggc-callbacks.o): New target.
22868         * ggc-callbacks.c: New file.
22869
22870 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22871
22872         * expr.h: Collapse individual optab and libfunc vars to arrays.
22873         (optab_index, libfunc_index): New enumerations.
22874         (optab_table, libfunc_table): New arrays.
22875         Add accessor macros for both.
22876
22877         * optabs.c (optab_table, libfunc_table): New.
22878         Delete declarations for individual optab and libfunc vars.
22879
22880 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
22881
22882         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
22883
22884 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
22885
22886         * Makefile.in (GGC, GGC_LIB): New.
22887         (HOST_RTL): Include ggc-none.o.
22888         (ggc-simple.o): New target.
22889         (ggc-none.o): Likewise.
22890         * tree.h (tree_common): Add gc_mark.
22891         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
22892         (struct rtvec_def): Add gc_mark.
22893         * emit-rtl.c (global_rtl): Update static initializers to contain
22894         enough initializers.
22895         * ggc.h, ggc-none.c, ggc-simple.c: New files.
22896         * toplev.c (gc_time): New variable.
22897         (all_time): New variable.
22898         (compile_file): Print gc time.
22899         (print_time): Calculate percentage of the whole.
22900
22901 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22902
22903         Change obstack memory management and varasm constant pool handling so
22904         that nested functions are treated like any other functions.
22905         * function.c (init_machine_status): New variable.
22906         (push_function_context_to): Set contains_functions for the outer
22907         function.  Don't call save_varasm_status.
22908         (pop_function_context_from): Don't call restore_varasm_status.  Don't
22909         set current_function_contains_functions.
22910         (prepare_function_start): Call init_varasm_status rather than
22911         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
22912         is non-null.
22913         * function.h (struct function) Add field varasm.  Delete fields
22914         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
22915         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
22916         (init_machine_status): Declare.
22917         (save_varasm_status, restore_varasm_status): Delete declarations.
22918         (save_tree_status, restore_tree_status): Delete last argument.
22919         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
22920         code.  All callers changed.
22921         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
22922         save_constants_in_decl_trees, restore_constants, save_constants,
22923         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
22924         functions.
22925         (inlining): New variable.
22926         (reg_map, label_map, insn_map, orig_asm_operands_vector,
22927         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
22928         variables.
22929         (save_for_inline_nocopy): Don't save constants.
22930         Don't set inl_emit field in current_function.
22931         (expand_inline_function): Use emit field, not inl_emit, of the inlined
22932         function.  Set new variable inlining before
22933         calling copy_rtx_and_substitute.
22934         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
22935         constant pool references if inlining is nonzero.
22936         Delete ADDRESS and (most of the) CONST cases.
22937         (output_inline_function): Save and restore current_function/
22938         current_function_decl.  Delete restore_constants code.  Don't call
22939         init_const_rtx_hash_table.
22940         * output.h (init_const_rtx_hash_table): Don't declare.
22941         * rtl.h (struct function): Declare.
22942         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
22943         * toplev.c (rest_of_compilation): Don't treat nested functions or
22944         functions containing them specially.  Delete all code to deal with
22945         save_for_inline_copying.
22946         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
22947         inline_obstacks): Delete variables.
22948         (save_tree_status): Lose arg CONTEXT.  All callers changed.
22949         Simply allocate a new function_maybepermanent_obstack for the new
22950         function, delete all the special cases.
22951         Don't save inline_obstacks.
22952         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
22953         Delete special handling for function_maybepermanent_obstack; simply
22954         free it if empty.
22955         Don't restore inline_obstacks.
22956         (permanent_allocation):  Delete code that frees inline_obstacks.
22957         (print_inline_obstack_statistics): Delete function.
22958         (dump_tree_statistics): Don't call it.
22959         * varasm.c (struct varasm_status): New.
22960         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
22961         last_pool, pool_offset, const_double_chain): Delete global
22962         variables, replace with accessor macros.
22963         (immed_double_const): Don't walk const_double_chain outside a
22964         function, but don't treat nested functions specially anymore.
22965         (immed_real_const_1): Likewise.
22966         (clear_const_double_mem): Don't treat nested functions specially.
22967         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
22968         (save_varasm_status, restore_varasm_status): Delete functions.
22969         (init_varasm_status): New function.
22970         (force_const_mem): Don't treat nested functions specially.
22971         (find_pool_constant): Accept new arg F, search for constants in
22972         that function's pool rather than the current one.  All callers
22973         changed.
22974         (get_pool_constant_for_function, get_pool_mode_for_function): New
22975         functions.
22976
22977         * i386.c (init_386_machine_status): New function, mostly from
22978         clear_386_stack_locals.
22979         (struct machine_functions): Rename element names to avoid name
22980         clashes.
22981         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
22982         macros, replacing global variables.
22983         (clear_386_stack_locals, save_386_machine_status,
22984         restore_386_machine_status): Delete functions.
22985         (override_options): Initialize init_machine_status.
22986         * i386.h (INIT_EXPANDERS): Delete macro.
22987         (save_386_machine_status, restore_386_machine_status,
22988         clear_386_stack_locals): Delete declarations.
22989
22990 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22991
22992         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
22993         (doloop_begin):  Simplify pattern and use emit_jump_insn.
22994         (doloop_end): Simplify pattern, switch operand order,
22995         and use emit_jump_insn.
22996
22997 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22998
22999         * function.h (struct function): Add new element LANGUAGE.
23000         (save_lang_status): Declare new variable.
23001         (restore_lang_status): Likewise.
23002         * function.c (save_lang_status): Define.
23003         (restore_lang_status): Likewise.
23004         (push_function_context_to): Call language-specific save function.
23005         (pop_function_context_from): Call language-specific restore function.
23006
23007 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
23008
23009         * i386.md (movsf_1): Check REG_P before use of REGNO.
23010         (movdf_1): Likewise.
23011         (movxf_1): Likewise.
23012         (extendsfdf2): Likewise.
23013         (extendsfxf2): Likewise.
23014         (extenddfxf2): Likewise.
23015
23016 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23017
23018         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
23019         constants into memory.
23020         (c4x_shiftable_constant): New function.
23021         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
23022         (c4x_shiftable_constant): Declare.
23023         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
23024         ashlqi3_noclobber): Add new patterns and associated splitters.
23025
23026 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
23027
23028         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
23029         * dwarf2out.c (dwarf2out_frame_init): Likewise.
23030         * final.c (shorten_branches): Likewise.
23031         * global.c (global_alloc): Likewise.
23032         * haifa-sched.c (build_control_flow): Likewise.
23033         * stmt.c (check_for_full_enumeration_handling): Likewise.
23034         (estimate_case_costs): Likewise.
23035
23036 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
23037
23038         * rtl.h (RTL_CHECKC2): Fix typo in last change.
23039
23040 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
23041
23042         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
23043         (recompute_reg_usage): Likewise.
23044         * rtlanal.c (find_regno_fusage): Likewise.
23045
23046         * rtl.c (rtl_check_failed_code1): New function.
23047         (rtl_check_failed_code2): New.
23048         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
23049         (RTL_CHECKC1, RTL_CHECKC2): New.
23050         (XC*): New accessor macros.
23051         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
23052         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
23053         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
23054         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
23055         (TRAP_*, RANGE_INFO_*): Likewise.
23056
23057 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23058
23059         * Makefile.in (tlink.o): Don't depend on toplev.h.
23060
23061         * collect2.c (c_file, o_file, export_file, import_file, ldout,
23062         output_file, nm_file_name, ldd_file_name, strip_file_name,
23063         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
23064         add_prefix, prefix_from_env, prefix_from_string, do_wait,
23065         fork_execute, maybe_unlink, add_to_list,
23066         extract_init_priority, write_list, dump_list,
23067         dump_prefix_list, write_list_with_asm, write_c_file,
23068         write_c_file_stat, write_c_file_glob, scan_prog_file,
23069         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
23070         ignore_library, extract_string, notice, dump_file, target_machine,
23071         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
23072         read_file, print_load_command): Constify a char*.
23073         (fdopen, error, fatal, fatal_perror): Don't prototype.
23074         (my_strerror): Remove.  All callers use xstrerror instead.
23075         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
23076         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
23077         to xcalloc/strcpy/strcat/...  to one call to concat.
23078         (main, scan_prog_file, scan_libraries): Use an intermediate
23079         `const char **' to build an argv array.
23080         (mapfile, libselect, libcompare, locatelib): Add prototypes.
23081
23082         * collect2.h (collect_execute, collect_wait, dump_file,
23083         file_exists): Constify a char*.
23084         (ldout, c_file_name, temporary_obstack, permanent_obstack,
23085         temporary_firstobj, vflag, debug): Add extern declarations.
23086         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
23087
23088         * tlink.c: Don't include toplev.h.
23089         (vflag, debug, ldout, c_file_name, temporary_obstack,
23090         permanent_obstack, temporary_firstobj): Don't declare.
23091         (tlink_execute, frob_extension, symbol_hash_lookup,
23092         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
23093         recompile_files, read_repo_files, demangle_new_symbols,
23094         scan_linker_output): Constify a char*.
23095         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
23096         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
23097
23098 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
23099
23100         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
23101         (relative) rather than jsr (absolute) subroutine call insns.
23102         * config/m68k/m68k-coff.h: Ditto.
23103
23104 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
23105
23106         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
23107         now rework these too.
23108         (arm_reorg): If an insn can't reach the end of the current pool,
23109         ensure that we emit that pool before the insn.
23110
23111 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
23112
23113         * tlink.c (scan_linker_output): Skip the initial underscore in
23114         a mangled name if appropriate.
23115
23116 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23117
23118         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
23119         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
23120         error_with_ivar, gen_declarator, create_builtin_decl,
23121         my_build_string, generate_descriptor_table, generate_ivars_list,
23122         generate_dispatch_table, check_protocols, TAG_GETCLASS,
23123         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
23124         dump_base_name, lang_decode_option, build_encode_expr,
23125         start_class, finish_class, encode_pointer, really_start_method,
23126         gen_declaration, dump_interface, handle_class_ref, handle_impent):
23127         Constify.
23128         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
23129         Add static prototypes.
23130         (build_objc_string_decl, build_selector_reference_decl,
23131         encode_bitfield, build_class_reference_decl): Remove unused
23132         parameter, all callers changed.
23133         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
23134         (objc_printable_name): Likewise.  Change second parameter to type int.
23135         (init_objc): Use memcpy, not bcopy, to avoid casts.
23136
23137 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
23138
23139         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
23140         reg notes on a deleted insn.
23141         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
23142
23143 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
23144
23145         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
23146
23147 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23148
23149         * stmt.c (expand_asm_operands): Fix index into inout_mode when
23150         reading it.
23151
23152 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
23153
23154         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
23155         * tm.texi (MD_ASM_CLOBBERS): Document it.
23156
23157 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
23158
23159         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
23160         * except.c (expand_rethrow): Remove unused variable.
23161         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
23162         * flow.c (replace_insns): Likewise.
23163         (create_edge_list, verify_edge_list): Likewise.
23164         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
23165
23166         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
23167         is special code to run.
23168         (main): Don't define operands to emit_operand.
23169         * genrecog.c (main): Don't emit an empty peephole2_insn function.
23170
23171         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
23172
23173         * alpha/alpha.h (normal_memory_operand): Declare.
23174         (reg_no_subreg_operand): Declare.
23175         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
23176
23177 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
23178
23179         * c-parse.in (compstmt_primary_start): New, broken out of first
23180         part of compstmt handling in primary.
23181         (primary): Use it.  Add an error clause.
23182         (compstmt_nostart): Renamed from compstmt; remove all
23183         initial invocations of compstmt_start.
23184         (compstmt): New.
23185
23186 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
23187
23188         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
23189         needed.
23190
23191 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
23192
23193         * combine.c (simplify_shift_const): Remove extra semicolon.
23194         * dwarf2out.c (remove_AT): Likewise.
23195         * expmed.c (expand_mult): Likewise.
23196         * gcov.c (create_program_flow_graph): Likewise.
23197         * reorg.c (mostly_true_jump): Likewise.
23198
23199 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
23200
23201         * fold-const.c (fold_range_test): Do not try to fold the range
23202         test if the rhs or lhs has side effects.
23203
23204         * combine.c (simplify_rtx): Recognize another case of a synthesized
23205         sign extension.
23206
23207         * varasm.c (mark_constant_pool): When marking indirect references,
23208         only look at SYMBOL_REFs.
23209
23210         * except.c (expand_fixup_region_end): Do not peek at
23211         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
23212
23213 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
23214
23215         * flags.h: New variables align_loops, align_loops_log,
23216         align_jumps, align_jumps_log, align_labels, align_labels_log,
23217         align_functions, align_functions_log.
23218         * toplev.c: Define them.
23219         (f_options): Handle -falign-* when they have no argument.
23220         (main): Add logic to set variables for -falign-functions,
23221         -falign-jumps, -falign-labels, -falign-loops.
23222         Make it -fsched-verbose=<n> and -finline-limit=<n>.
23223         (display_help): Change help to match options.
23224         * final.c (LABEL_ALIGN): Default to align_labels_log.
23225         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
23226         (LOOP_ALIGN): Default to align_loops_log.
23227         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
23228         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
23229         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
23230         * varasm.c (assemble_start_function): Handle align_functions.
23231
23232         * config/sparc/sparc.h: Don't declare sparc_align_*.
23233         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
23234         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
23235         sparc.c.
23236         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
23237         it's a promise.
23238         * config/sparc/sparc.c: Delete sparc_align_loops,
23239         sparc_align_jumps, sparc_align_funcs and the corresponding string
23240         variables.
23241         (sparc_override_options): Default align_functions on ultrasparc.
23242         Delete -malign-* handling.
23243
23244         * config/mips/mips.c (override_options):  On 64-bit targets,
23245         try to align code to 64-bit boundaries.
23246         (print_operand): New substitution, %~,
23247         which aligns labels to align_labels_log.
23248         * config/mips/mips.md (div_trap_normal): Use %~.
23249         (div_trap_mips16): Likewise.
23250         (abssi): Likewise.
23251         (absdi2): Likewise.
23252         (ffssi2): Likewise.
23253         (ffsdi2): Likewise.
23254         (ashldi3_internal): Likewise.
23255         (ashrdi3_internal): Likewise.
23256         (lshrdi3_internal): Likewise.
23257         (casesi_internal): Likewise.
23258
23259 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
23260
23261         Merge new ia32 backend from the branch!
23262
23263         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
23264         See ChangeLog.P2 on new_ia32_branch for details.
23265
23266         * rtl.h (stack_regs_mentioned_p): Delete prototype.
23267         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
23268         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
23269         * i386/gas.h (ASM_FILE_START): Define.
23270         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
23271         for name change of ix86_valid_decl_attribute_p.
23272         (i386_pe_valid_type_attribute_p): Similarly.
23273
23274 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
23275
23276         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
23277         to step through CC modes.
23278
23279 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23280
23281         * regmove.c (fixup_match_1): Don't move INSN in front of P if
23282         it would end up in the shadow of a live flags regsiter.
23283
23284 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23285
23286         * reload1.c: Fix many indentation problems.
23287         * reload.c: Likewise.
23288
23289 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
23290
23291         * alias.c (non_local_reference_p): Constify fmt.
23292
23293 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
23294
23295         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
23296
23297 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
23298
23299         * cse.c (delete_trivially_dead_insns): Do not delete stores to
23300         the internal_arg_pointer.
23301
23302 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
23303
23304         Merge peephole2 from new_ia32_branch:
23305         * Makefile.in (STAGESTUFF): Add *.peephole2.
23306         (mostlyclean): Likewise.
23307         (recog.o): Depend on resource.h.
23308
23309         * final.c (peephole): Conditionalize decl on HAVE_peephole.
23310         (final_scan_insn): Likewise for the invocation of peephole.
23311         * genconfig.c (main): Look for peephole and peephole2 patterns.
23312         Emit HAVE_peephole* accordingly.
23313         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
23314         * flags.h (flag_peephole2): Declare.
23315         * toplev.c: New pass peephole2.  New flag -fpeephole2.
23316
23317         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
23318         * gencodes.c (main): Likewise.
23319         * genextract.c (main): Likewise.
23320         * genoutput.c (main): Likewise.
23321         * genemit.c (max_operand_1): Look for the max scratch operand.
23322         (gen_rtx_scratch): New.
23323         (gen_exp): Use it, and pass on new arg subroutine_type.
23324         (gen_expand): Take max scratch into account.
23325         (gen_split): Emit peephole2 functions.
23326         (output_peephole2_scratch): New.
23327         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
23328         * genrecog.c (routine_type): Add PEEPHOLE2.
23329         (IS_SPLIT): New.
23330         (make_insn_sequence): Match outer parallel for peep2.  Discard
23331         top level scratches and dups.
23332         (add_to_sequence): New args insn_type and top.  Update all callers.
23333         Handle toplevel peep2 matching insns.
23334         (write_subroutine): Handle peep2.
23335         (write_tree_1): Likewise.
23336         (write_tree): Likewise.
23337         (main): Likewise.
23338         (change_state): New arg afterward.  Update all callers.
23339         Handle matching separate insns.
23340         * recog.c (recog_next_insn): New.
23341         (peephole2_optimize): New.
23342         * rtl.def (DEFINE_PEEPHOLE2): New.
23343         * resource.c (find_free_register): New argument last_insn.  Use it
23344         to find a register available through the entire span.
23345         * resource.h (find_free_register): Update prototype.
23346
23347 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
23348
23349         * i386.c (output_strlen_unroll): Don't write xops[7]
23350         label if it wasn't set.
23351
23352 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
23353
23354         * cpplib.c (struct directive): Const-ify name pointer and
23355         function pointer prototype.
23356         (validate_else, do_define, do_line, do_include, do_undef,
23357         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
23358         do_elif, do_endif, do_sccs, do_assert, do_unassert,
23359         do_warning): Const-ify second arg.
23360         (directive_table): Mark const.  Reorder entries by frequency
23361         of usage, record statistics.
23362
23363 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
23364
23365         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
23366         bounds- check RTL accesses if --enable-checking.
23367         (RTVEC_ELT): Bounds check if --enable-checking.
23368         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
23369         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
23370         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
23371         GET_NUM_ELEM.
23372         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
23373         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
23374
23375         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
23376         (NOTE_SOURCE_FILE): Use X0STR.
23377         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
23378         MEM_ALIAS_SET): Use X0INT.
23379         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
23380         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
23381         Use X0EXP.
23382         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
23383         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
23384         (rtl_check_failed_bounds, rtl_check_failed_type1,
23385         rtl_check_failed_type2, rtvec_check_failed_bounds): New
23386         functions.
23387         (fancy_abort): Fix comment.
23388
23389         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
23390         (cse_insn): Decrement LABEL_NUSES for jump target before
23391         deleting jump insn.
23392         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
23393         * final.c (alter_subreg): Compute regno before changing x to
23394         REG; set REGNO(x) after changing it.
23395         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
23396         notes containing CONST_INTs.
23397         (delete_eh_regions): Use NOTE_EH_HANDLER.
23398         * function.c (put_reg_into_stack): Make reg a MEM before
23399         initializing it.
23400         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
23401         delete insn.
23402         (gen_mem_addressof): Make reg a MEM before initializing it.
23403         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
23404         X0WINT.
23405         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
23406         deleting an insn, not after.
23407         (block_alloc): Only look at PATTERN(insn) if we have to, and
23408         only if it's format class 'i'.
23409         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
23410         CONST_INT before using its INTVAL.
23411         * print-rtl.c (print_rtx): Use X0STR.
23412         * regmove.c (fixup_match_1): Don't look at PATTERN of
23413         non-class-'i' insn chain elements.
23414         * reload.c (loc_mentioned_in_p): Take address of
23415         in->fld[1].rtx directly.
23416         * reload1.c (reload): Change reg to a MEM before initializing
23417         it.
23418         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
23419         have no names.
23420         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
23421
23422 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
23423
23424         * config/mips/mips.c (machine_dependent_reorg): Force a
23425         barrier to output the local constant pool if a barrier hasn't
23426         been found at a natural point in the instruction stream.
23427
23428 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23429
23430         * c-parse.in (language_string): Constify.
23431
23432         * dwarf2out.c (language_string): Remove declaration.
23433
23434         * dwarfout.c (language_string): Likewise.
23435
23436         * toplev.c (language_string, init_parse, finish_parse): Likewise.
23437
23438         * tree.h (language_string, init_parse, finish_parse): Declare.
23439
23440         * i386/sun386.h (language_string): Remove declaration.
23441
23442         * mips.h (language_string): Likewise.
23443
23444         * nextstep.h (language_string): Likewise.
23445
23446         * nextstep21.h (language_string): Likewise.
23447
23448         * rs6000.c (language_string): Likewise.
23449
23450 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23451
23452         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
23453         (getpwd.o): Remove target.
23454
23455         * getpwd.c: Delete file.  Its in libiberty now.
23456
23457         * dbxout.c (getpwd): Don't prototype.
23458         * dwarf2out.c (getpwd): Likewise
23459         * dwarfout.c (getpwd): Likewise
23460         * final.c (getpwd): Likewise.
23461         * protoize.c (getpwd): Likewise.
23462
23463 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23464
23465         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
23466
23467 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
23468
23469         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
23470         mark_set_resources.
23471
23472 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
23473
23474         * fixinc/Makefile.in (subdir): New.
23475         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
23476         (Makefile): New.
23477
23478 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
23479
23480         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
23481         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
23482         be shared.
23483
23484         * invoke.texi: Fix typo.
23485
23486         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
23487         changed.  Handle autoincrement addressing modes.
23488
23489         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
23490         just like we would the virtual incoming args register when
23491         integrating.
23492
23493 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
23494
23495         * rs6000.h (ASM_FILE_START): Specify complete filename, including
23496         path, in .file directive.
23497
23498 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
23499
23500         * gcc.texi (External Bugs): Remove obsolete note about Perl on
23501         SunOS.
23502
23503 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
23504
23505         * stdbool.h: Make the typedef name _Bool, with bool a #defined
23506         alias.
23507
23508 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23509
23510         * tree.c (tree_code_name): Constify a char*.
23511
23512         * tree.h (tree_code_name, decl_printable_name): Likewise.
23513
23514         * function.h (struct function): Likewise.
23515
23516         * toplev.c (decl_name, decl_printable_name): Likewise.
23517
23518         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
23519
23520         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
23521         (init_objc): Remove function pointer cast.
23522
23523 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
23524
23525         * pa.md (interspace_jump): New pattern.
23526         (builtin_longjmp): New expander.
23527
23528 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
23529
23530         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
23531         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
23532         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
23533
23534 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
23535
23536         * jump.c (delete_prior_computation): Also check calls
23537         to constant functions.  Don't bother checking for a
23538         REG_UNUSED note before adding it.
23539         (delete_computation): Handle multi-word hard registers
23540         when synthesizing missing REG_DEAD notes for a register
23541         which is both set and used by an insn.
23542
23543 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
23544
23545         * loop.c (this_loop_info): New variable.
23546         (loop_has_call, loop_has_volatile, loop_has_tablejump,
23547         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
23548         All uses updated.
23549         (prescan_loop, strength_reduce): New argument loop_info.  All callers
23550         updated.
23551         (scan_loop): New variable loop_info, initialise to address of
23552         this_loop_info.
23553         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
23554         Delete variable loop_has_multiple_exit targets and replace with
23555         field in this_loop_info.
23556         (find_and_verify_loops): Rename this_loop to this_loop_num.
23557         (strength_reduce): Delete loop_iteration_info.  Replace variable
23558         loop_info with function argument of same name.
23559         (insert_bct): Rework test for loop being completely unrolled.
23560
23561         * loop.h (struct loop_info): New fields num, loops_enclosed,
23562         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
23563         has_indirect_jump, and cont.  Redefine use of unroll_number.
23564         (loop_unroll_number): Delete.
23565
23566         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
23567         field of loop_info.
23568         (loop_iterations): Delete variable vtop and instead use
23569         loop_info->vtop computed in prescan_loop.
23570
23571 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
23572
23573         * fix-header.c (main): Do not pass a null pointer to strcmp.
23574
23575 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
23576
23577         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
23578         filenames.
23579         * configure: Rebuilt.
23580
23581 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
23582
23583         * jump.c (jump_optimize_1): Do not delete assignments to
23584         internal_arg_pointer.
23585         * cse.c (delete_trivially_dead_insns): Always consider a set of
23586         the internal_arg_pointer live.
23587
23588 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
23589
23590         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
23591         (update_life_info) [REG_WAS_0]: Search the original insns rather
23592         than the new insns for the note.  Fix typos finding note_dest.
23593         If no dest found, discard the note rather than abort.
23594         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
23595         (replace_insns): Remove the old insn list after update_life_info
23596         not before.
23597
23598 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
23599
23600         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
23601         sched_analyze_insn.
23602         (sched_analyze_1): Let add_dependence care for not adding dups.
23603         (sched_analyze_2): Likewise.
23604         (add_branch_dependences): Likewise.
23605
23606 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23607
23608         * i386/winnt.c (export_list): New type.
23609         (exports_head): Rename to
23610         (export_head):  this.
23611         (i386_pe_record_exported_symbol): Add is_data flag.
23612         (i386_pe_asm_file_end): Emit directive for exported variables.
23613         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
23614         prototype.
23615         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
23616         (ASM_DECLARE_OBJECT_NAME): Likewise.
23617         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23618         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
23619
23620 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
23621
23622         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
23623
23624         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
23625         operand.
23626
23627 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
23628
23629         * config/openbsd.h: Define SET_ASM_OP.
23630         * tm.texi: cross-reference SET_ASM_OP in the index.
23631
23632 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
23633
23634         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
23635         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
23636         and class_narrowest_mode at compile time.  Kill init_rtl.
23637         Mark rtx_length, mode_class, mode_size, mode_unit_size,
23638         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
23639         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
23640         EXTRA_CC_NAMES.
23641         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
23642         format.
23643         * rtl.h: Declare rtx_length and rtx_format as const.
23644         * machmode.def: Define CC().  Use CC() to define CCmode.  If
23645         EXTRA_CC_MODES is defined, expand it here.
23646         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
23647         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
23648         const.  Kill all references to EXTRA_CC_MODES.
23649
23650         * toplev.c: Don't prototype or call init_rtl.
23651         * optabs.c: Don't call init_mov_optab.
23652         * genemit.c: Don't generate init_mov_optab.  Don't call
23653         init_rtl.
23654         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
23655         here.
23656         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
23657         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
23658         genrecog.c: Don't call init_rtl.
23659
23660         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
23661         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
23662         definition of EXTRA_CC_MODES.
23663
23664         * md.texi: Kill ref to EXTRA_CC_NAMES.
23665         * tm.texi: Document new way to define EXTRA_CC_MODES.
23666
23667         * genrecog.c: Do not look up the name of a define_split.
23668         (Unrelated bugfix.)
23669
23670 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
23671
23672         * config/v850/v850.md: Fix typo introduced by previous delta.
23673
23674 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23675
23676         * gcc.c (fatal): Make definition static to match prototype.
23677
23678 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23679
23680         * combine.c (get_last_value): Don't look for earlier sets if the last
23681         known set is somewhere in between the insns being combined.
23682
23683 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
23684
23685         * configure.in: Don't use shell ! to negate exit codes
23686         * configure: Regenerate
23687
23688 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
23689
23690         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
23691         the fact that ALIGN is measured in bits, not bytes.
23692
23693 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
23694
23695         * errors.c: New file; defines functions error, warning, and
23696         fatal, variables have_error and progname.
23697         * errors.h: New file; prototypes and decls for stuff in errors.c.
23698
23699         * Makefile: Add rules to build errors.o and
23700         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
23701         genopinit, genrecog, genextract, genpeep, genattr, and
23702         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
23703         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
23704         genpeep.o, genattr.o, and genoutput.o.
23705
23706         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
23707         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
23708         define or prototype fatal.  Set progname at beginning of main.
23709         * genoutput.c:  Likewise, and don't define or prototype error
23710         either.
23711
23712         * c-typeck.c (c_expand_start_case): Return immediately if exp
23713         is an ERROR_MARK.
23714         * fold-const.c (operand_equal_p): Return immediately if arg1
23715         or arg0 are ERROR_MARKs.
23716         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
23717         fields of type ERROR_MARK when calculating if the record can
23718         go in a register.
23719
23720 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
23721         with much help from Jeffrey A Law and Richard Henderson
23722
23723         * i386.md: In the 6 insns which call output_fix_trunc,
23724         earlyclobber operands[0].
23725
23726 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
23727
23728         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
23729         creating new registers.
23730
23731 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
23732
23733         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
23734         i386_reg_alloc_order, i386_regparm_string,
23735         i386_align_loops_string, i386_align_jumps_string,
23736         i386_align_funcs_string, i386_preferred_stack_boundary_string,
23737         and i386_branch_cost_string as type "const char *".
23738         * i386.c: Define all above strings as type "const char *".
23739
23740 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
23741
23742         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
23743         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
23744
23745 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
23746
23747         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
23748         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
23749
23750 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
23751
23752         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
23753         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
23754         (dwarf2out_line, dwarf2out_finish): Likewise.
23755         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
23756
23757 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23758
23759         * tree.c (lang_unsave_expr_now) : Correct return type.
23760         * tree.h (lang_unsave_expr_now) : Same.
23761
23762 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
23763
23764         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
23765         instead of duplicating code.
23766
23767 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23768
23769         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
23770
23771 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
23772
23773         * tree.h: fancy_abort always takes three args.
23774         * resource.c: Move include of system.h before toplev.h.
23775
23776 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
23777
23778         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
23779         as SYMBOL_REFs.
23780
23781 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
23782
23783         * system.h: Don't redefine abort or trim_filename.
23784         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
23785         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
23786         whether or not __FUNCTION__ is available.
23787         * tree.h: Duplicate rtl.h's definition of abort, for files
23788         that don't include rtl.h.  Delete all code to perform type
23789         checking with a compiler other than GCC.
23790         * varray.h: Delete all code to perform type checking with a
23791         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
23792         its arguments exactly once, using a statement expression.
23793         Adjust the VARRAY_<type> accessor macros to match.
23794         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
23795         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
23796         caller's location.  Define fatal_insn and fatal_insn_not_found
23797         as macros that use _fatal_insn and _fatal_insn_not_found.
23798         (fancy_abort, trim_filename): Kill prototypes.
23799
23800         * rtl.c (trim_filename): Move here from toplev.c.
23801         (fancy_abort): New function.
23802         (DIR_SEPARATOR): Provide default definition.
23803         * tree.c (tree_check_failed, tree_class_check_failed): Go
23804         through fancy_abort.
23805         (tree_check, tree_class_check, cst_or_constructor_check,
23806         expr_check): Delete.
23807         * varray.c (varray_check_failed): New function.
23808         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
23809         _fatal_insn and _fatal_insn_not_found.  Go through
23810         fancy_abort.
23811         (trim_filename, fancy_abort): Delete.
23812
23813         * builtins.c (expand_builtin_args_info): Report ICE with abort.
23814         * except.c (start_catch_handler): Report ICE with error/abort
23815         combo.
23816         * final.c (output_operand_lossage): Likewise.
23817         * flow.c (verify_flow_info): Likewise.
23818
23819         * gcc.c: Prototype fatal.
23820         * gengenrtl.c: Undef abort after including rtl.h not system.h.
23821         * genattr.c, genattrtab.c, genemit.c, genextract.c,
23822         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
23823         Don't define fancy_abort.
23824
23825 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
23826
23827         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
23828         canonization.
23829
23830 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
23831
23832         * m88k.h (VERSION_INFO2): Kill.
23833         (VERSION_STRING): Kill.
23834         (TM_RCS_ID): Kill.
23835         (VERSION_INFO1): Tidy.
23836         (TARGET_VERSION): Update.
23837         * m88k/dgux.h (VERSION_INFO2): Kill.
23838         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
23839         * m88k/luna.h (VERSION_INFO1): Tidy.
23840         * m88k/sysv4.h (VERSION_INFO1): Likewise.
23841         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
23842         (output_file_start): Adjust for death of VERSION_STRING.
23843
23844 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
23845
23846         * cpplib.c (detect_if_not_defined): New function.
23847         (do_if): Use it to detect potential once-only headers.
23848
23849 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
23850
23851         * c-common.c (combine_strings): Always set TREE_CONSTANT.
23852
23853 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23854
23855         * combine.c (nonzero_bits) : Allow single-ly set registers to be
23856         anywere in the function only if they are pseudos and set before
23857         being used (not live at the start of the function).
23858         (num_sign_bit_copies) : Same.
23859         (get_last_value_validate) : Same.
23860         (get_last_value) : Same.
23861
23862 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
23863
23864         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
23865         where N and M are constant and N is an integer multiple of M.
23866
23867 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23868
23869         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
23870         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
23871         sbitmap_union_of_preds): Add prototypes.
23872         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
23873         the intersection of successors with the new flow graph structures.
23874         (sbitmap_intersection_of_preds): New function to compute the
23875         intersection of predecessors with the new flow graph structures.
23876         (sbitmap_union_of_succs): New function to compute the union of
23877         successors with the new flow graph structures.
23878         (sbitmap_union_of_preds): New function to compute the union of
23879         predecessors with the new flow graph structures.
23880         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
23881         (expr_reaches_here_p): Use edge and basic_block structures instead
23882         of s_preds and s_succs.
23883         (compute_cprop_avinout): Use new sbitmap routines.
23884         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
23885         of s_preds and s_succs.
23886         * flow.c (compute_flow_dominators): Compute dominators using
23887         edges and basic blocks instead of s_preds and s_succs.
23888
23889 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23890
23891         * lists.c (unused_insn_list, unused_expr_list): New file for
23892         maintaining various types of lists. New statics for maintaining a
23893         cache of available INSN_LIST and EXPR_LIST nodes.
23894         (free_list): Static function for freeing a list of INSN/EXPR nodes.
23895         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
23896         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
23897         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
23898         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
23899         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
23900         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
23901         (free_INSN_LIST_node): Free an individual INSN_LIST node.
23902         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
23903         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
23904         (remove_dependence, free_pending_lists): Use new global routines.
23905         (flush_pending_lists, sched_analyze_insn): Use new global routines.
23906         (sched_analyze, compute_block_backward_dependences): Use new routines.
23907         (sched_analyze_1, sched_analyze_2): Use new routines.
23908         (schedule_insns): Use new global routines.
23909         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
23910         prototypes.
23911         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
23912         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
23913         prototypes.
23914         * toplev.c (rest_of_compilation): Initialize node cache.
23915         * Makefile.in (OBJS): Add lists.o to list of object files.
23916         (lists.o): Add dependancies.
23917
23918 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
23919
23920         * config/v850/v850.md: Fix compile time warning messages.
23921         * config/v850/v850.c: Fix compile time warning messages.
23922         * config/v850/v850.h: Fix compile time warning messages.
23923
23924 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23925
23926         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
23927         Remove unused prototype for `init_lengths'.
23928
23929 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23930
23931         * calls.c (emit_call_1): Mark parameter `stack_size' with
23932         ATTRIBUTE_UNUSED.
23933         (expand_call): Initialize variable `insn'.
23934         (emit_library_call): Likewise for variable `high_to_save'.
23935         (emit_library_call_value): Likewise.
23936         (store_one_arg): Likewise for variables `lower_bound' and
23937         `upper_bound'.
23938
23939         * combine.c (try_combine): Likewise for variables `i2_code_number'
23940         and `other_code_number'.
23941         (find_split_point): Likewise for variables `pos', `unsignedp' and
23942         `inner'.
23943         (simplify_if_then_else): Likewise for variables `op' and `c1'.
23944         (simplify_and_const_int): Remove unused variable `width'.
23945         (merge_outer_ops): Likewise.
23946
23947         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
23948         HOST_WIDE_INT' when comparing against one.
23949         (simplify_relational_operation): Likewise.
23950         (cse_insn): Initialize variables `src_eqv_volatile',
23951         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
23952
23953         * final.c (init_final): Constify parameter `filename'.
23954         (final_start_function): Mark parameter `optimize' with
23955         ATTRIBUTE_UNUSED.
23956         (profile_function): Likewise for parameters `first' and `optimize'.
23957         (output_source_line): Likewise for parameter `file'.
23958
23959         * integrate.c (subst_constants): Cast a value to `size_t' when
23960         comparing against one.
23961         (mark_stores): Initialize variable `mode'.  Cast a value to
23962         `size_t' when comparing against one.
23963
23964         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
23965
23966         * loop.c (move_movables): Initialize variable `first'.
23967         (strength_reduce): Likewise for variable `increment'.
23968         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
23969         value to `size_t' when comparing against one.
23970         (load_mems): Initialize variable `end_label'.
23971
23972         * output.h (init_final): Constify parameter.
23973
23974         * reload.c (decompose): Initialize variable `base'.
23975
23976         * reload1.c (reload): Likewise for variable `is_scalar'.
23977         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
23978         (choose_reload_regs): Initialize variable `mode'.
23979         (emit_reload_insns): Likewise for variable `store_insn'.
23980         (reload_cse_noop_set_p): Mark parameter `insn' with
23981         ATTRIBUTE_UNUSED.
23982         (reload_combine): Initialize variable `set'.
23983
23984         * unroll.c (unroll_loop): Likewise for variable `local_label'.
23985         (copy_loop_body): Cast a value to `size_t' when comparing against
23986         one.
23987
23988         * varasm.c (assemble_variable): Initialize variable `size_tree'.
23989         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
23990         (remove_from_pending_weak_list): Mark parameter `name' with
23991         ATTRIBUTE_UNUSED.
23992
23993 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23994
23995         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
23996         gcse dump file.
23997
23998 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
23999
24000         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
24001         (ASM_DECLARE_FUNCTION_NAME): Define.
24002         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
24003         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
24004         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
24005         not already defined.
24006
24007 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
24008
24009         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
24010         of n_popped when call/call_value are not defined.
24011
24012 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
24013
24014         * tm.texi: GNU CC -> GCC conversion.
24015         (CC1_SPEC): Indicate it is used for all language front ends.
24016
24017 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
24018
24019         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
24020         NOTE_INSN_EH_REGION_END correctly.
24021
24022 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
24023                           Jeff Law <law@cygnus.com>
24024
24025         * loop.c (strength_reduce): Automatically unroll loops if the
24026         unrolled loop size is smaller than the rolled loop size.
24027
24028         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
24029         and delete comment that code should be rewritten.
24030
24031 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
24032
24033         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
24034         as reachable.
24035
24036         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
24037
24038 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24039
24040         * fixinc/mkfixinc.sh: Don't fix uwin headers.
24041         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
24042         (LINK_SPEC): Add -u _main when building executables.
24043         (ASM_DECLARE_FUNCTION): Update from Cygwin.
24044         (ASM_FILE_END): Use the default for ix86-pe.
24045         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
24046
24047 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
24048
24049         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
24050         and ASM_CLOSE_PAREN are empty strings.
24051
24052 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
24053                           Geoffrey Keating <geoffk@cygnus.com>
24054
24055         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
24056         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
24057         (unprotoize.o): Ditto.
24058         (test-protoize-simple): Don't define STD_PROTO_DIR.
24059         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
24060         changes to make 'test-protoize-simple' pass.
24061         (STD_PROTO_DIR): Remove define.
24062         (STANDARD_EXEC_PREFIX): Supply default define.
24063         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
24064         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
24065         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
24066         (GET_ENV_PATH_LIST): New macro.
24067         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
24068         (do_processing): Initialize default_syscalls_dir using new
24069         macros.  Use it to initialize syscalls_absolute_filename.
24070
24071 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
24072
24073         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
24074         B into a register before emit_conditional_move.
24075
24076 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
24077
24078         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
24079         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
24080         multiplicand out of (+ (* a b) (* c d)).
24081
24082 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
24083                           Richard Henderson  <rth@cygnus.com>
24084
24085         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
24086         (new_insn_dead_notes): Likewise.
24087         (update_n_sets): Likewise.
24088         (update_flow_info): Move to flow.c, renamed to update_life_info;
24089         extend to handle multiple source insns.
24090         * flow.c: Include resource.h
24091         (unlink_insn_chain): New.
24092         (split_hard_reg_notes): New.
24093         (maybe_add_dead_note): New.
24094         (maybe_add_dead_note_use): New.
24095         (find_insn_with_note): New.
24096         (new_insn_dead_notes): New.
24097         (update_n_sets): New.
24098         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
24099         (maybe_remove_dead_notes): New.
24100         (update_life_info): New.
24101         (prepend_reg_notes): New.
24102         (replace_insns): New.
24103         * output.h (update_life_info): Declare.
24104         * recog.c (split_block_insns): Use update_life_info.
24105         * resource.c (find_free_register): Use reg_alloc_order, don't use
24106         fixed regs, make sure the mode is supported, don't use new regs.
24107         (reg_dead_p): New.
24108         * rtl.h (replace_insns): Declare.
24109
24110 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
24111
24112         * expr.c (expand_expr): Cope with COND_EXPRs with one
24113         non-returning branch.
24114
24115 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
24116
24117         * expr.c (store_expr): Always pass down the target, even when not
24118         doing CSE.
24119
24120 1999-08-24  Nick Clifton  <nickc@cygnus.com>
24121
24122         * configure.in: Define target_cpu_default for v850 targets.
24123         * configure: Regenerate
24124
24125         * config/v850/v850.h (TARGET_CPU_generic): Define.
24126         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
24127         addresses are 4 byte aligned.
24128
24129         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
24130         addresses.
24131
24132 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24133
24134         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
24135         (main): Add prototypes.
24136
24137         * genattrtab.c (substitute_address, write_const_num_delay_slots,
24138         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
24139         (write_attr_get): Emit prototypes along with function definition.
24140         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
24141         (write_complex_function): Emit static prototype along with
24142         function definition.
24143
24144         * genemit.c (gen_split): Emit prototypes along with function
24145         definition.
24146
24147         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
24148         Likewise for predicates and `insn_operand_predicate'.
24149         (process_template): Emit static prototype along with function
24150         definition.
24151
24152         * genrecog.c (make_insn_sequence): Constify a char*.  Add
24153         prototypes for get_split_*().
24154         (write_subroutine): Emit prototypes along with function
24155         definition.
24156
24157 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24158
24159         * gcse.c (find_avail_set): Follow chains of register-register copies.
24160         Use oprs_not_set_p to guarantee that the returned value can be
24161         substituted.
24162         (cprop_insn): Don't verify the return value of find_avail_set with
24163         oprs_not_set_p.
24164
24165         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
24166         (cprop_cc0_jump): New function.
24167         (cprop_insn): Break out new function cprop_jump and use it.
24168         Also use cprop_cc0_jump for machines with CC0.
24169         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
24170
24171         * tree.h (current_function_calls_setjmp,
24172         current_function_calls_longjmp): Delete declarations.
24173         * dsp16xx.c: Include "function.h".
24174         * elxsi.c: Likewise.
24175         * gmicro.c: Likewise.
24176         * h8300.c: Likewise.
24177         * i370.c: Likewise.
24178         * m32r.c: Likewise.
24179         * mn10200.c: Likewise.
24180         * mn10300.c: Likewise.
24181         * ns32k.c: Likewise.
24182         * spur.c: Likewise.
24183         * v850.c: Likewise.
24184
24185         * rtl.h (rtx_equal_function_value_matters): Declare.
24186         * toplev.c (rtx_equal_function_value_matters): Don't declare.
24187         * cse.c: Likewise.
24188         * function.c: Likewise.
24189         * emit-rtl.c: Likewise.
24190
24191 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
24192
24193         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
24194         call.
24195
24196 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24197
24198         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
24199         exactly.
24200
24201 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
24202
24203         * cpp.texi: Add a node documenting macro varargs (copied
24204         from extend.texi).
24205
24206 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
24207
24208         * cppspec.c: Put a null pointer at the end of the new argv.
24209
24210 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
24211
24212         * configure.in: Remove code to select/de-select the haifa
24213         scheduler.  Every scheduled port gets haifa now.
24214         * configure: Rebuilt.
24215         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
24216         * sched.c Deleted.
24217         * Makefile.in: Corresponding changes.
24218
24219 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24220
24221         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
24222         All callers changed.
24223         (prepare_float_lib_cmp): Likewise.
24224         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
24225         * expr.h (emit_float_lib_cmp): Delete declaration.
24226         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
24227         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
24228         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
24229         specially.
24230         (cmptf): Now conditional on TARGET_HARD_QUAD.
24231
24232 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
24233
24234         * resource.c (mark_target_live_regs): Use
24235         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
24236
24237 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24238
24239         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
24240
24241         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
24242
24243         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
24244
24245 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24246
24247         * rtl.h (rtx_format): Constify a char*.
24248
24249         * rtl.c (rtx_format): Likewise.
24250         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
24251         (init_rtl): Use accessor macro, not `rtx_format'.
24252
24253         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
24254         char*.
24255
24256         * caller-save.c (mark_referenced_regs): Likewise.
24257
24258         * combine.c (subst, make_compound_operation, known_cond,
24259         gen_rtx_combine, update_table_tick, get_last_value_validate,
24260         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
24261
24262         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
24263         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
24264         count_reg_usage): Likewise.
24265
24266         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
24267         Likewise.
24268
24269         * final.c (leaf_renumber_regs_insn): Likewise.
24270
24271         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
24272         dump_edge_info, count_reg_references): Likewise.
24273
24274         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
24275         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
24276         Likewise.
24277
24278         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
24279         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
24280         add_label_notes): Likewise.
24281
24282         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
24283         clear_struct_flag, count_sub_rtxs, count_alternatives,
24284         compares_alternatives_p, contained_in_p, walk_attr_value,
24285         write_expr_attr_cache): Likewise.
24286
24287         * genconfig.c (walk_insn_part): Likewise.
24288
24289         * genemit.c (max_operand_1, gen_exp): Likewise.
24290
24291         * genextract.c (walk_rtx): Likewise.
24292
24293         * genflags.c (num_operands): Likewise.
24294
24295         * genoutput.c (scan_operands): Likewise.
24296
24297         * genpeep.c (match_rtx): Likewise.
24298
24299         * genrecog.c (add_to_sequence): Likewise.
24300
24301         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
24302         Likewise.
24303
24304         * integrate.c (save_constants, copy_for_inline,
24305         copy_rtx_and_substitute, subst_constants, restore_constants):
24306         Likewise.
24307
24308         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
24309         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
24310
24311         * local-alloc.c (contains_replace_regs, memref_referenced_p):
24312         Likewise.
24313
24314         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
24315         add_label_notes, replace_call_address, count_nonfixed_reads,
24316         invariant_p, find_single_use_in_loop, find_mem_givs,
24317         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
24318         Likewise.
24319
24320         * print-rtl.c (reg_names, print_rtx): Likewise.
24321
24322         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
24323
24324         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
24325         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
24326         print_blocks): Likewise.
24327
24328         * regclass.c (fix_register, record_address_regs,
24329         reg_scan_mark_refs): Likewise.
24330
24331         * regmove.c (stable_but_for_p): Likewise.
24332
24333         * reload.c (loc_mentioned_in_p, operands_match_p,
24334         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
24335         copy_replacements, refers_to_regno_for_reload_p,
24336         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
24337         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
24338         Likewise.
24339
24340         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
24341         delete_address_reloads_1, count_occurrences,
24342         reload_cse_mem_conflict_p, reload_combine_note_use,
24343         add_auto_inc_notes): Likewise.
24344
24345         * resource.c (mark_referenced_resources, mark_set_resources):
24346         Likewise.
24347
24348         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
24349         reg_mentioned_p, regs_set_between_p, modified_between_p,
24350         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
24351         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
24352         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
24353         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
24354
24355         * sched.c (sched_analyze_2, attach_deaths): Likewise.
24356
24357         * stupid.c (stupid_mark_refs): Likewise.
24358
24359         * unroll.c (remap_split_bivs): Likewise.
24360
24361         * varasm.c (mark_constants): Likewise.
24362
24363         * a29k/a29k.c (uses_local_reg_p): Likewise.
24364
24365         * alpha/alpha.c (summarize_insn): Likewise.
24366
24367         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
24368         eliminate_lr2ip): Likewise.
24369
24370         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
24371
24372         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
24373         reg_mentioned_in_mem): Likewise.
24374
24375         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
24376         symbolic_reference_mentioned_p): Likewise.
24377
24378         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
24379
24380         * sh/sh.c (regs_used, mark_use): Likewise.
24381
24382         * vax/vax.c (vax_rtx_cost): Likewise.
24383
24384 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24385
24386         * machmode.h (mode_name): Constify a char*.
24387
24388         * rtl.c (mode_name): Likewise.
24389
24390         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
24391
24392         * optabs.c (init_libfuncs): Constify a char*.
24393
24394         * print-tree.c (mode_name): Remove redundant declaration.
24395         (print_node): Use accessor macro, not `mode_name'.
24396
24397         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
24398         not `mode_name'.
24399         (new_spill_reg): Constify a char*.
24400
24401         * tree.c (mode_name): Remove redundant declaration.
24402
24403 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24404
24405         * rtl.c (rtx_name): Constify a char*.
24406
24407         * rtl.h (rtx_name, fix_sched_param): Likewise.
24408
24409         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
24410         (mypr): Use accessor macro, not `rtx_name'.
24411
24412         * genemit.c (print_code): Constify a char*.
24413
24414         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
24415
24416         * genpeep.c (print_code): Constify a char*.
24417
24418         * genrecog.c (print_code): Likewise.
24419
24420         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
24421         end_bb): Add static prototype.
24422         (draw_edge): Constify a char*.
24423         (end_bb): Remove unused parameter.
24424
24425         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
24426         print_block_visualization): Constify a char*.
24427
24428 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
24429
24430         * c-common.c (c_get_alias_set): Update comment.
24431
24432 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
24433
24434         * linux.h (LIB_SPEC): Added.
24435
24436 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24437
24438         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
24439
24440 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
24441
24442         * tree.c (expr_check): Fix typo in last change.
24443
24444 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
24445
24446         * rtl.def (NOTE): Change format to "iuu0n".
24447         (ADDR_DIFF_VEC): Change format to "eEee0".
24448         (ADDRESSOF): Change format to "eit".
24449
24450         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
24451         (RTVEC_ELT): Change to match.
24452         (XVECEXP): Use XVEC and RTVEC_ELT.
24453         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
24454         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
24455         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
24456         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
24457         TRAP_CONDITION, TRAP_CODE): Use XEXP.
24458         (INTVAL): Use XWINT.
24459         (ADDRESSOF_DECL): Use XTREE.
24460         (SET_ADDRESSOF_DECL): Delete.
24461         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
24462         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
24463         ifdefed out since 2.6 at least.
24464         (gen_rtvec_vv): Delete prototype.
24465
24466         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
24467         not rtunion.
24468         (copy_most_rtx): Handle 't' format letter.
24469         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
24470         (gen_rtvec_vv): Delete function.  All callers changed to use
24471         gen_rtvec_v instead.
24472         * print-rtl.c (print_rtx): Move special casing of NOTEs to
24473         the '0' format letter.
24474
24475         * function.c (gen_mem_addressof): Don't use
24476         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
24477         instead.
24478         * integrate.c (copy_rtx_and_substitute): Likewise.
24479         Copy 't' slots with XTREE.
24480         (subst_constants): Treat 't' slots like '[swi]' slots.
24481         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
24482         * jump.c (rtx_equal_for_thread_p): Likewise.
24483         * rtlanal.c (rtx_equal_p): Likewise.
24484         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
24485         only four arguments.
24486         * gengenrtl.c (type_from_format): Provide correct types for
24487         'b' and 't' slots.
24488
24489
24490         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
24491         If a recent gcc is in use (always in stage2 and beyond), use
24492         statement expressions, so we don't make a function call unless
24493         the check fails.  Evaluate arguments exactly once.
24494         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
24495         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
24496         Delete.
24497         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
24498         they evaluate their arguments exactly once, irrespective of
24499         the compiler in use.
24500
24501         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
24502         is used by the currently-enabled check macros.  This is:
24503         (tree_check_failed, tree_class_check_failed): For gcc.
24504         (tree_check, tree_class_check, cst_or_constructor_check,
24505         expr_check): For other compilers.
24506
24507         * gencheck.c: Do not define any *_CHECK1 macros.
24508
24509 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
24510                           Mark Mitchell <mark@codesourcery.com>
24511
24512         * c-common.c (c_get_alias_set): Fix support for poitners and
24513         references.
24514
24515 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
24516
24517         * alias.c: Include tree.h.
24518         (nonlocal_reference_p, mark_constant_function): New functions.
24519         * flow.c (life_analysis): Call mark_constant_function.
24520         * rtl.h (mark_constant_function): Declare it.
24521
24522 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
24523
24524         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
24525         unrecognisable switches.
24526
24527 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24528
24529         * loop.c (recombine_givs): Set ix field after sorting.
24530         (recombine_givs): Remove bogus index / giv lockstep looping.
24531
24532 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24533
24534         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
24535         on CODE.
24536         (emit_store_flag_force): Use do_compare_rtx_and_jump.
24537         (do_cmp_and_jump): Formatting fixes.
24538         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
24539         do_compare_rtx_and_jump instead of compare_from_rtx.
24540         (do_compare_rtx_and_jump): New function; mostly copied from
24541         compare_from_rtx.
24542         (do_jump_for_compare): Delete.
24543         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
24544         MIN_EXPR.
24545         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
24546         of compare/do_jump_for_compare pairs.
24547         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
24548         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
24549         compare_from_rtx/do_jump_for_compare pairs.
24550         (do_jump_by_parts_equality): Likewise.
24551         (do_jump_by_parts_equality_rtx): Likewise.
24552         * expr.h (do_compare_rtx_and_jump): Declare.
24553         * optabs.c (prepare_cmp_insn): New function, contains most of the code
24554         that used to be in emit_cmp_insn.
24555         (cmp_available_p): New function.
24556         (prepare_operand): New function.
24557         (emit_cmp_and_jump_insn_1): New function, contains some code that used
24558         to be in emit_cmp_insn.
24559         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
24560         parameters to be pointers; don't emit final compare but modify some of
24561         the values pointed to by the args so the caller can perform the
24562         correct comparison.
24563         (expand_binop): Call emit_store_flag_force with signed forms of
24564         comparison code.
24565         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
24566         emit_jump_insn pair.
24567         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
24568         emit_cmp_and_jump_insn_1.  Call emit_queue.
24569         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
24570         arg.
24571         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
24572         jump sets cc0 before deleting it.
24573         * integrate.c (expand_inline_function): Likewise.
24574         * unroll.c (unroll_loop): Similar changes in several places.
24575         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
24576         before deleting it.
24577
24578 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24579
24580         * Makefile.in (insn-recog.o): Update dependencies.
24581         * genrecog.c (main): Make generated file include "function.h".
24582
24583 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
24584
24585         * cse.c (cse_insn): Call never_reached_warning when a jump is
24586         changed to be unconditional.
24587         * flags.h: Declare warn_notreached.
24588         * flow.c (delete_block): Call never_reached_warning when
24589         a block is deleted.
24590         * jump.c (delete_barrier_successors): Call never_reached_warning
24591         when we delete everything after a BARRIER.
24592         (never_reached_warning): New function.
24593         * rtl.h: Declare never_reached_warning.
24594         * toplev.c (warn_notreached): New variable.
24595         (lang_independent_options): Set warn_notreached
24596         when -Wunreachable-code.
24597         (compile_file): We need line numbers for -Wunreachable-code.
24598
24599 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
24600
24601         * haifa-sched.c (insn_unit): Fix typo on out of range test.
24602         * sched.c (insn_unit): Likewise.
24603
24604 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
24605
24606         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
24607
24608 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24609
24610         * flow.c (create_edge_list): Use xmalloc, not malloc.
24611
24612 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
24613
24614         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
24615         C-style comments.  Do not lose the character before double slash.
24616
24617 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24618
24619         * basic-block.h (struct edge_list): Stucture to maintain a vector
24620         of edges.
24621         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
24622          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
24623         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
24624         New function prototypes.
24625         * flow.c (create_edge_list): Function to create an edge list.
24626         (free_edge_list): Discards memory used by an edge list.
24627         (print_edge_list): Debug output showing an edge list.
24628         (verify_edge_list): Internal consistency check for an edge list.
24629         (find_edge_index): Function to find an edge index for a pred and succ.
24630
24631 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
24632
24633         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
24634         hashtable.
24635
24636 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
24637
24638         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
24639
24640 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
24641
24642         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24643
24644 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
24645
24646         * toplev.c (rest_of_compilation): Allow machine dependent
24647         reorganisation pass to place information into the RTL dump
24648         file if it so wishes.
24649
24650 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
24651
24652         * explow.c (hard_function_value): Use VOIDmode instead of
24653         MAX_MACHINE_MODE.
24654         * stmt.c (expand_return): Likewise.
24655         * stor-layout.c (get_best_mode): Likewise.
24656
24657         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
24658         emit call instead of emit_insn call.
24659
24660 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24661
24662         * configure.in: Handle --disable/enable-win32-registry.
24663         * install.texi: Document --disable/enable-win32-registry.
24664         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
24665         (WIN32_REGISTRY_KEY): New macro.
24666         * prefix.c: Use to enable/disable win32-specific code.
24667         (lookup_key): Use versioned key.
24668         * configure: Regenerate.
24669         * config.in: Likewise.
24670
24671 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
24672
24673         * cpplib.c (read_line_number): New fn, split out of...
24674         (do_line): Here.
24675
24676 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24677
24678         tree.c (lang_unsave_expr_now) : New.
24679         (unsave_expr_now): Call lang_unsave_expr_now.
24680         tree.h (lang_unsave_expr_now) : New.
24681
24682 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
24683
24684         * toplev.c (flag_new_exceptions): On by default.
24685
24686 1999-08-13  Michael Meissner  <meissner@cygnus.com>
24687
24688         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
24689
24690 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24691
24692         * dwarfout.c (fundamental_type_code): Return FT_boolean for
24693         INTEGER_TYPE with precision==1, it's __java_boolean.
24694
24695 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24696
24697         * global.c (prune_preferences): Move some invariants out of the
24698         inner loop.
24699
24700 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
24701
24702         * configure.in (alpha*-dec-osf*): Add osf5.
24703
24704 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
24705
24706         * configure.in: Rework handling of ARM GNU/Linux slightly.
24707         (arm*-*-linux-gnuoldld): New target.
24708         * configure: Regenerate.
24709         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
24710         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
24711         * config/arm/linux-oldld.h: New file.
24712         * config/arm/linux-elf26.h: Don't include linux-elf.h.
24713         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
24714         Don't define.
24715         * config/arm/linux-elf.h (ASM_SPEC): Define.
24716         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
24717         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
24718         for 26-bit APCS and old linker.
24719         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
24720         `arm_elf'.
24721         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
24722         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
24723         don't define `arm' or `arm_elf'.
24724         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
24725         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
24726
24727 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
24728
24729         * rtl.texi: Fix typo.
24730
24731 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
24732
24733         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
24734
24735 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
24736
24737         * extend.texi (C++ Signatures): Remove node.
24738         * invoke.texi: Remove discussion of -fhandle-signatures,
24739         signature, sigof, __signature__, and __sigof__.
24740
24741 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
24742
24743         * Makefile.in (JAVAGC): Removed.
24744
24745 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24746
24747         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24748
24749 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
24750
24751         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24752
24753 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
24754
24755         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
24756         a register that is already known to be a pointer.
24757
24758 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
24759
24760         * fixinc/inclhack.tpl: Only install assert.h conditionally.
24761         * fixinc/inclhack.sh: Regenerated.
24762         * fixinc/fixincl.sh: Regenerated.
24763
24764 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
24765
24766         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
24767         Fix documentation of -ansi flag to describe its C++ behavior.
24768         Remove bogus reference to GCC 2.9.
24769
24770 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
24771
24772         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
24773         note if it is non-NULL.
24774
24775 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24776
24777         * except.h (eh_nesting_info): Add new structure defintion.
24778         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
24779         (reachable_handlers, update_rethrow_references): Add function
24780         prototypes.
24781         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
24782         a rethrow symbol instead of an integer exception region number.
24783         * flow.c (Make_edges): Use new exception nesting routines to determine
24784         which handlers are reachable from a CALL or asynchronous insn.
24785         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
24786         goto receivers.
24787         (delete_eh_regions): Update rethrow labels, and don't delete
24788         regions which are the target of a rethrow.
24789         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
24790         avoid overloading the SYMBOL_REF_USED flag.
24791         (rethrow_symbol_map): Use new rethrow_ref field.
24792         (rethrow_used): Use new rethrow_ref field.
24793         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
24794         of an integer.  Fix formatting.
24795         (output_exception_table_entry): Use new rethrow_ref field.
24796         (can_throw): Check for EH_REGION_NOTE before deciding
24797         whether a CALL can throw or not.
24798         (scan_region): Call rethrow_used() instead of accessing data structure.
24799         (update_rethrow_references): New function to make sure only regions
24800         which are still targets of a rethrow are flagged as such.
24801         (process_nestinfo): New static function to initialize a handler
24802         list for a specific region.
24803         (init_eh_nesting_info): New function to allocate and initialize
24804         the list of all EH handlers reachable from all regions.
24805         (reachable_handlers): New function to retrieve the list of handlers
24806         reachable from a specific region and insn.
24807         (free_eh_nesting_info): New function to dispose of a list of
24808         reachable handlers.
24809
24810 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
24811
24812         * flow.c (split_edge): Set JUMP_LABEL field.
24813         (commit_one_edge_insertion): Set head correctly for insert_before.
24814         When inserting insns, update insn block numbers if allocated.
24815
24816 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24817
24818         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
24819         retry_incomplete_types): Add static prototype.
24820         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
24821         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
24822         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
24823         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
24824         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
24825         Constify a char*.
24826
24827         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
24828         dwarf2out_start_source_file, dwarf2out_line): Likewise.
24829
24830 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24831
24832         * output.h (assemble_name): Constify a char*.
24833
24834         * varasm.c (UNIQUE_SECTION, assemble_start_function,
24835         assemble_variable, assemble_name): Likewise.
24836
24837         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
24838
24839         * arm/pe.c (arm_pe_unique_section): Likewise.
24840
24841         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
24842
24843         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
24844
24845         * i386/interix.c (i386_pe_unique_section): Likewise.
24846
24847         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
24848
24849         * i386/winnt.c (i386_pe_unique_section): Likewise.
24850
24851         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
24852
24853         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
24854
24855         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
24856
24857         * pa/pa.c (output_call): Likewise.
24858
24859         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
24860
24861         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
24862
24863         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
24864         Likewise.
24865
24866         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
24867         Likewise.
24868
24869         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
24870
24871         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
24872         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
24873
24874         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
24875
24876 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24877
24878         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
24879
24880 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24881
24882         * tree.h (lang_identify): Constify a char*.
24883         (print_error_function): Add extern prototype.  Constify a char*.
24884
24885         * c-lang.c (lang_identify): Constify a char*.
24886
24887         * objc/objc-act.c (lang_identify): Constify a char*.
24888
24889 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24890
24891         * genpeep.c (main): Make generated file include "function.h".
24892         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
24893
24894 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24895
24896         * Makefile.in: Update dependencies.
24897         * alias.c: Include "function.h"
24898         * c-decl.c: Likewise.
24899         * caller-save.c: Likewise.
24900         * calls.c: Likewise.
24901         * combine.c: Likewise.
24902         * cse.c: Likewise.
24903         * explow.c: Likewise.
24904         * final.c: Likewise.
24905         * global.c: Likewise.
24906         * graph.c: Likewise.
24907         * local-alloc.c: Likewise.
24908         * loop.c: Likewise.
24909         * optabs.c: Likewise.
24910         * profile.c: Likewise.
24911         * recog.c: Likewise.
24912         * regclass.c: Likewise.
24913         * regmove.c: Likewise.
24914         * reload.c: Likewise.
24915         * reorg.c: Likewise.
24916         * resource.c: Likewise.
24917         * sched.c: Likewise.
24918         * stupid.c: Likewise.
24919         * config/1750a/1750a.c: Likewise.
24920         * config/a29k/a29k.c: Likewise.
24921         * config/arc/arc.c: Likewise.
24922         * config/arm/arm.c: Likewise.
24923         * config/arm/thumb.c: Likewise.
24924         * config/c4x/c4x.c: Likewise.
24925         * config/clipper/clipper.c: Likewise.
24926         * config/convex/convex.c: Likewise.
24927         * config/fx80/fx80.c: Likewise.
24928         * config/i860/i860.c: Likewise.
24929         * config/m68k/m68k.c: Likewise.
24930         * config/m88k/m88k.c: Likewise.
24931         * config/mips/mips.c: Likewise.
24932         * config/pdp11/pdp11.c: Likewise.
24933         * config/pyr/pyr.c: Likewise.
24934         * config/romp/romp.c: Likewise.
24935         * config/sh/sh.c: Likewise.
24936         * config/tahoe/tahoe.c: Likewise.
24937         * config/vax/vax.c: Likewise.
24938         * config/we32k/we32k.c: Likewise.
24939         * config/sparc/sparc.c: Include "function.h".
24940         (mem_min_alignment): Test current_function rather than
24941         regno_pointer_align.
24942         * config/pa/pa.c: Likewise.
24943         (compute_frame_size): Delete declaration of
24944         current_function_outgoing_args_size.
24945         * config/arc/arc.h (current_function_varargs): Delete declaration.
24946         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
24947         declaration.
24948         * config/i370/i370.h (current_function_outgoing_args_size): Delete
24949         declaration.
24950         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
24951         current_function_uses_pic_offset_table.
24952         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
24953         of current_function_returns_pointer.
24954         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24955         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24956         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24957         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24958         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24959         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24960         * config/m88k/m88k.c: Include "function.h"
24961         (call_used_regs, current_function_pretend_args_size,
24962         current_function_outgoing_args_size, frame_pointer_needed): Delete
24963         declarations.
24964         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
24965         declaration.
24966         * config/mips/mips.h (current_function_calls_alloca): Delete
24967         declaration.
24968         * config/mn10200/mn10200.h (current_function_needs_context,
24969         rtx_equal_function_value_matters): Delete declarations.
24970         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
24971         flag_pic): Delete declarations.
24972         * config/pa/pa.h (current_function_pretend_args_size,
24973         current_function_decl): Delete declarations.
24974         * config/pa/som.h (current_function_varargs): Delete declaration.
24975         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
24976         declaration.
24977         * config/pyr/pyr.h (current_function_pretend_args_size,
24978         current_function_args_size, current_function_calls_alloca): Delete
24979         declarations.
24980         * config/sh/sh.h (current_function_varargs): Delete declaration.
24981         * config/sparc/sparc.h (current_function_outgoing_args_size,
24982         current_function_calls_alloca, current_function_decl): Delete
24983         declarations.
24984         * config/spur/spur.h (current_function_pretend_args_size,
24985         current_function_calls_alloca): Delete declarations.
24986         * config/v850/v850.c (current_function_outgoing_args_size): Delete
24987         declaration.
24988         * config/vax/vms.h (current_function_name): Delete declaration.
24989         * gcse.c: Include "function.h".
24990         (current_function_name, current_function_calls_setjmp): Delete
24991         declarations.
24992         * haifa-sched.c: Include "function.h".
24993         (forced_labels): Delete declaration.
24994         * jump.c: Likewise.
24995         * reg-stack.c: Likewise.
24996         * reload1.c: Likewise.
24997         * genemit.c (main): Make generated file include function.h.
24998         * genoutput.c (output_prologue): Likewise.
24999
25000         * builtins.c (saveregs_value, apply_args_value): Delete variables.
25001         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
25002         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
25003         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
25004         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
25005         macros for some of them.
25006         (emit_filename, emit_lineno): Delete declarations.
25007         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
25008         regno_pointer_* variables through current_function.
25009         (gen_inline_header_rtx): Delete function.
25010         (save_emit_status): Delete function.
25011         (set_new_last_label_num): New function.
25012         (clear_emit_caches): New function.
25013         (restore_emit_status): Just clear last_labelnum and call
25014         clear_emit_caches.
25015         (get_last_insn_anywhere): Variable sequence_stack is now accessed
25016         through macro seq_stack.
25017         (add_insn_after): Likewise.
25018         (add_insn_before): Likewise.
25019         (remove_insn): Likewise.
25020         (pop_topmost_sequence): Likewise.
25021         (in_sequence_p): Likewise.
25022         (start_sequence_for_rtl_expr): Likewise.
25023         (start_sequence): Likewise, and likewise for
25024         sequence_rtl_expr/seq_rtl_expr.
25025         (push_topmost_sequence): Likewise.
25026         (end_sequence): Likewise.
25027         (init_virtual_regs): Now takes a "struct emit_status *" argument.
25028         All callers changed.  Store into that pointer instead of globals.
25029         (init_emit): Allocate emit elt of current_function.
25030         Changes for sequence_rtl_expr/sequence_stack renaming.
25031         Call clear_emit_caches instead of doing it in-line.
25032         Access regno_pointer_* variables through current_function.
25033         (init_emit_once) Don't clear sequence_stack.
25034
25035         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
25036         Delete variables.
25037         (arg_pointer_save_area): Delete declaration.
25038         (finish_expr_for_function): Renamed from init_queue; no longer static.
25039         (init_expr): Don't call init_queue.
25040         (save_expr_status, restore_expr_status): Delete functions.
25041         (expand_expr): Changes to reflect new layout of struct function.
25042         Don't access current_function_check_memory_usage when current_function
25043         is 0.
25044         * expr.h (forced_labels, save_expr_regs, saveregs_value,
25045         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
25046         current_function_outgoing_args_size, current_function_arg_offset_rtx,
25047         current_function_uses_const_pool, function_call_count,
25048         current_function_uses_pic_offset_table, nonlocal_labels,
25049         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
25050         current_function_check_memory_usage, nonlocal_goto_handler_slots,
25051         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
25052         declarations.
25053         (finish_expr_for_function): Declare.
25054         * flags.h (current_function_has_nonlocal_label,
25055         current_function_has_nonlocal_goto, current_function_is_thunk,
25056         current_function_has_computed_jump): Delete declarations.
25057         * flow.c (forced_labels): Delete declaration.
25058         * function.c (current_function_pops_args,
25059         current_function_returns_struct, current_function_returns_pcc_struct,
25060         current_function_needs_context, current_function_calls_setjmp,
25061         current_function_calls_longjmp, current_function_has_nonlocal_label,
25062         current_function_has_nonlocal_goto, current_function_is_thunk,
25063         current_function_has_computed_jump, current_function_calls_alloca,
25064         current_function_contains_functions, current_function_returns_pointer,
25065         current_function_epilogue_delay_list, current_function_args_size,
25066         current_function_pretend_args_size, current_function_arg_offset_rtx,
25067         current_function_outgoing_args_size, current_function_varargs,
25068         current_function_stdarg, current_function_args_info, cleanup_label,
25069         current_function_name, current_function_uses_const_pool,
25070         current_function_instrument_entry_exit, current_function_return_rtx,
25071         current_function_uses_pic_offset_table, nonlocal_labels,
25072         current_function_internal_arg_pointer, current_function_cannot_inline,
25073         current_function_check_memory_usage, function_call_count,
25074         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
25075         nonlocal_goto_stack_level, return_label, save_expr_regs,
25076         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
25077         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
25078         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
25079         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
25080         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
25081         Delete variables.
25082         (push_function_context_to): Don't save them.  Don't call
25083         save_storage_status, save_emit_status or save_expr_status.
25084         (pop_function_context_from): Don't restore them.  Don't call
25085         restore_storage_status or restore_expr_status.
25086         (get_func_frame_size): New function.
25087         (get_frame_size): Use it.
25088         (assign_outer_stack_local): Reflect some member name changes in struct
25089         function.
25090         (put_reg_into_stack): Likewise.
25091         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
25092         seq_rtl_expr.
25093         (fixup_var_refs): Likewise.
25094         (fix_lexical_addr): Likewise.
25095         (trampoline_address): Likewise.
25096         (prepare_function_start): Clear field inlinable of current_function.
25097         (init_function_for_compilation): New function.
25098         (expand_dummy_function_end): New function.
25099         (expand_function_end): Call finish_expr_for_function.
25100         * function.h (struct emit_status): New; fields moved here from struct
25101         function and from global variables.  Add accessor macros for some of
25102         the fields.
25103         (struct expr_status): Likewise.
25104         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
25105         (struct function): Add fields expr and emit, inlinable, inl_emit,
25106         original_arg_vector, original_decl_initial, inl_last_parm_insn,
25107         inl_max_label_num.  Add many comments.
25108         Add accessor macros for all elts of struct function that no longer
25109         have a global variable.
25110         (cleanup_label, return_label, frame_offset, tail_recursion_label,
25111         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
25112         stack_slot_list): Delete declarations.
25113         (get_func_frame_size): Declare.
25114         (save_expr_status, restore_expr_status, save_emit_status,
25115         save_storage_status, restore_storage_status): Delete declarations.
25116         (init_virtual_regs): Declare.
25117         * output.h (current_function_pops_args,
25118         current_function_returns_struct, current_function_returns_pcc_struct,
25119         current_function_needs_context, current_function_calls_setjmp,
25120         current_function_calls_longjmp, current_function_calls_alloca,
25121         current_function_has_nonlocal_label, current_function_varargs,
25122         current_function_has_computed_jump, current_function_returns_pointer,
25123         current_function_contains_functions, current_function_args_size,
25124         current_function_pretend_args_size, current_function_stdarg,
25125         current_function_outgoing_args_size, current_function_args_info,
25126         current_function_name, current_function_return_rtx,
25127         current_function_epilogue_delay_list,
25128         current_function_uses_const_pool, current_function_cannot_inline):
25129         Delete declarations.
25130         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
25131         regno_reg_rtx): Delete declaration.
25132         (REGNO_POINTER_FLAG): Delete macro.
25133         * stmt.c (expand_goto): Changes to reflect that some fields in struct
25134         function were renamed.
25135         * stor-layout.c (save_storage_status, restore_storage_status): Delete
25136         functions.
25137         * toplev.c: Include "function.h".
25138         (current_function_decl): Delete declaration.
25139         (compile_file): Call init_dummy_function_start and
25140         expand_dummy_function_end around some initializations that need to
25141         emit rtl.
25142         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
25143         Call init_function_for_compilation.
25144         * unroll.c: Include "function.h"
25145         (unroll_loop): Access regno_pointer_* variables through
25146         current_function.
25147
25148         * tree.h (struct tree_decl): Add elt f to saved_insns member.
25149         (DECL_SAVED_INSNS): use it.
25150         (expand_dummy_function_end): Declare.
25151         (init_function_for_compilation): Declare.
25152         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
25153         that it's no longer an INLINE_HEADER.
25154         (expand_call): Likewise.
25155         * integrate.c (finish_inline): Delete function.
25156         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
25157         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
25158         args.  Don't generate an INLINE_HEADER rtx, just return the arg
25159         vector.  All callers changed.
25160         (save_for_inline_copying):  Create a duplicate struct emit_status to
25161         hold the emit state for compiling the current function.  Use this and
25162         the other new fields in struct function that are for integration
25163         instead of an INLINE_HEADER.
25164         Use memcpy instead of bcopy.
25165         Store the current struct function in DECL_SAVED_INSNS of fndecl.
25166         (save_for_inline_nocopy): Similar changes, except no new emit_status
25167         is needed here.
25168         (expand_inline_function): Get information from function structure,
25169         not from an inline header rtx.
25170         (output_inline_function): Lose code to extract the necessary
25171         information from an inline header; simply put back the function
25172         structure into current_function.  Clear its inlinable elt.
25173         * rtl.def (INLINE_HEADER): Delete.
25174         * rtl.h: Delete all accessors for an INLINE_HEADER.
25175         (gen_inline_header_rtx): Delete declaration.
25176         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
25177         Delete declarations.
25178         (REGNO_POINTER_ALIGN): Delete.
25179         (clear_emit_caches): Declare.
25180         (set_new_last_label_num): Declare.
25181
25182 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
25183
25184         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
25185
25186         * except.c (expand_eh_region_start_for_decl): Always start a new block.
25187         * stmt.c (is_eh_region): Make sure current_function is present, too.
25188
25189 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
25190
25191         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
25192         for 64bit PA targets.
25193
25194         * pa.h (SELECT_SECTION): Define.
25195         * som.h (SELECT_SECTION): Delete.
25196
25197 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25198
25199         * alias.c (init_alias_analysis): Wrap call to
25200         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
25201
25202 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
25203
25204         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
25205         <sys/asm.h> contains an asm comment with an apostrophe
25206         * fixinc/inclhack.sh:  regen
25207         * fixinc/fixincl.x:  regen
25208
25209 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
25210
25211         * function.c (init_function_start): Clear prologue & epilogue.
25212         (prologue_epilogue_contains): New function.
25213         * alias.c (init_alias_analysis): Use it.
25214         * rtl.h (prologue_epilogue_contains): Declare it.
25215
25216 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
25217
25218         * jump.c (onlyjump_p): New function.
25219         * rtl.h: Declare it.
25220         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
25221         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
25222
25223 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
25224
25225         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
25226         to invert loops.  Simplify block scanning.
25227
25228 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
25229
25230         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
25231         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
25232
25233 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
25234
25235         * config/sparc/liteelf.h: New file to support sparclite-elf target
25236         * config/sparc/t-sp86x: New file to support sparc86x targets
25237         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
25238         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
25239         * configure.in: Support above target triplets
25240         * configure: Regenerated
25241
25242 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
25243
25244         * fixinc/server.c (server_setup): Do not prefix function used as
25245         parameter with `&'.
25246
25247 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
25248
25249         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
25250         Remove fp reg alternatives.
25251
25252 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
25253
25254         * Makefiin (TAROUTOPTS): Kill.
25255         (install-headers-tar): Use "xpf" for tar headerfile extraction
25256         * i370/x-oe (TAROUTOPTS): Delete.
25257         * m68k/x-apollo68 (TAROUTOPTS): Delete.
25258         * m68k/x-hp320 (TAROUTOPTS): Delete.
25259         * m68k/x-hp320g (TAROUTOPTS): Delete.
25260         * gcc.texi: Update bug reporting text.
25261
25262 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
25263
25264         * reg-stack.c (change_stack) Fixed problem with negative array index.
25265
25266 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
25267
25268         * extend.texi, install.texi: Fix spelling mistakes.
25269
25270         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
25271         (s-attrtab); No longer try to use pre-made insn-attrtab file.
25272         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
25273         PREMADE_ATTRTAB_MD.
25274         * mips/t-ecoff: Likewise.
25275         * mips/t-elf: Likewise.
25276         * mips/t-mips: Likewise.
25277         * mips/t-osfrose: Likewise.
25278         * mips/t-r3900: Likewise.
25279         * mips/t-svr3: Likewise.
25280         * mips/t-svr4: Likewise.
25281         * mips/t-ultrix: Likewise.
25282
25283         * gcc.texi: Document recommend means to provide software floating
25284         point libraries in libgcc.a
25285
25286 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
25287
25288         * c-lex.c (yylex): We can have a number with no digits.
25289
25290 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
25291
25292         * jump.c (delete_prior_computation): New function, broken
25293         out of delete_computation.  Check for side effects with
25294         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
25295         multi-word hard registers.
25296         (delete_computation): Use it.  Check for side effects with
25297         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
25298         missing REG_DEAD note for a register which is both set and
25299         used by an insn.
25300
25301 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
25302
25303         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
25304         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
25305         (ASM_FILE_START): Import _mcount with the right type.
25306         (ASM_DECLARE_FUNCTION_NAME): Define.
25307         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
25308         * pa.c (output_function_prologue): Always emit the function's label
25309         here.
25310         * pa.h (TEXT_SPACE_P): Define.
25311         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25312         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
25313         * som.h (TEXT_SPACE_P): Delete.
25314         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25315         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
25316
25317 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
25318
25319         * expr.c (emit_group_load): Allow src to be a CONCAT.
25320
25321 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25322
25323         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
25324         (___mulsi3): Use '!' comment character.
25325
25326 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25327
25328         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
25329
25330 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
25331
25332         * gcc.c: Update URLs and mail addresses.
25333         * gcc.texi: Likewise.
25334
25335 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
25336
25337         * rs6000.c (current_file_function_operand): Return zero for
25338         weak functions.
25339         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
25340         weak symbols.
25341         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
25342         for weak symbols.
25343
25344 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
25345
25346         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
25347         allocate space in the stack frame for the PIC register.
25348
25349 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
25350
25351         * m68k.md (xordi3, anddi3): These patterns are not available on
25352         the coldfire.
25353
25354 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
25355
25356         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
25357         (PUT_REAL): Likewise.
25358
25359 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25360
25361         * final.c (shorten_branches): Don't add an alignment for loops
25362         that have no label inside.
25363
25364 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25365
25366         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
25367         prototypes in macro HAVE_cmpstrsi.
25368
25369         * cpplib.c (cpp_get_token): Remove unused label `op3'.
25370
25371         * emit-rtl.c (operand_subword): Remove unused variable
25372         `bits_per_word'.
25373
25374         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
25375
25376         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
25377
25378 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
25379
25380         * cpphash.c (macroexpand): Delete leading whitespace when arg
25381         is concatenated before.
25382         (unsafe_chars): Correct test for whether + and - can extend a
25383         token.
25384
25385         * cppinit.c (cpp_start_read): Do dependencies for
25386         -include/-imacros files also.
25387
25388         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
25389         tokenizing non-directive lines.
25390         (cpp_expand_to_buffer): Temporarily disable no-output mode.
25391         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
25392         the input file.
25393
25394 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
25395
25396         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
25397
25398         * c-lex.c: Sync with C++ frontend.
25399         (linemode): New variable.
25400         (parse_float): imag, conversion_errno, and type are output only.
25401         (yylex): Adjust.  Move initial '.' case into main switch.
25402         Use linemode.
25403         (handle_generic_pragma): Just deal with tokens.
25404         (readescape): Use ISXDIGIT and ISGRAPH.
25405         * c-parse.in: Add END_OF_LINE token.
25406
25407         * c-lex.c (lang_init): Generalize.
25408         (nextchar): Remove.  Replace uses with UNGETC.
25409         (skip_white_space): Handle linemode here.  Optimize for cpplib.
25410         (skip_white_space_on_line): Remove.
25411         (extend_token_buffer_to): New fn.
25412         (extend_token_buffer): Use it.
25413         (read_line_number, check_newline): Just deal with tokens.
25414         (token_getch, token_put_back): New fns.
25415         (yylex): Use them.  More cpplib optimizations.  Simplify.
25416
25417 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
25418                           Jason Merrill  <jason@yorick.cygnus.com>
25419
25420         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
25421         (consume_string): Make this smart about USE_CPPLIB.
25422         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
25423         (yylex): Rewrite to be intelligent about USE_CPPLIB.
25424         Also, clean up cases where we redundantly set token_buffer[0].
25425         (read_line_number): New fn.
25426         (ignore_escape_flag): New variable.
25427
25428 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
25429
25430         * a29k/t-a29kbare: Fix some comments.
25431         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
25432         (FPBIT, DPBIT): Define.
25433         * a29k/t-vx29k: Likewise.
25434         * arc/t-arc: Likewise.
25435         * arm/t-arm-elf: Likewise.
25436         * arm/t-bare: Likewise.
25437         * arm/t-pe: Likewise.
25438         * arm/t-pe-thumb: Likewise.
25439         * arm/t-semi: Likewise.
25440         * arm/t-thumb: Likewise.
25441         * arm/t-thumb-elf: Likewise.
25442         * arm/t-thumb-linux: Likewise.
25443         * h8300/t-h8300: Likewise.
25444         * i960/t-i960: Likewise.
25445         * i960/t-vxworks960: Likewise.
25446         * m32r/t-m32r: Likewise.
25447         * mips/t-ecoff: Likewise.
25448         * mips/t-elf: Likewise.
25449         * mips/t-r3900: Likewise.
25450         * pa/t-pro: Likewise.
25451         * rs6000/t-aix43: Likewise.
25452         * rs6000/t-beos: Likewise.
25453         * rs6000/t-newas: Likewise.
25454         * rs6000/t-ppccomm: Likewise.
25455         * rs6000/t-rs6000: Likewise.
25456         * rs6000/t-winnt: Likewise.
25457         * rs6000/t-xnewas: Likewise.
25458         * rs6000/t-xrs6000: Likewise.
25459         * sh/t-sh: Likewise.
25460         * sparc/t-elf: Likewise.
25461         * sparc/t-sparcbare: Likewise.
25462         * sparc/t-sparclite: Likewise.
25463         * sparc/t-splet: Likewise.
25464         * v850/t-v850: Likewise.
25465         * mn10200/t-mn10200: Fix comments.
25466         * mn10300/t-mn10300: Likewise.
25467
25468         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
25469         dummy operand.  Allocate a new pseudo for the dummy operand.
25470         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
25471
25472         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
25473
25474 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
25475
25476         * configure: Rebuilt.
25477         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
25478
25479 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
25480
25481         * recog.c (preproces_constraints): Zero recog_op_alt before
25482         processing the constraints.
25483
25484         * arm.c (typedef minipool_node): Renamed from pool_node.
25485         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
25486         (add_minipool_constant): New function.
25487         (dump_minipool): New function.
25488         (find_barrier): Remove special case for getting the insn size of
25489         an insn that references the constant pool.
25490         (minipool_fixup): New structure.
25491         (push_minipool_barrier): New function.
25492         (push_minipool_fix): New function.
25493         (note_invalid_constants): New function.
25494         (add_pool_constant, dump_table, fixit, broken_move): Delete.
25495         (arm_reorg): Rewrite code to fix up the constant pool into a
25496         series of mini-pools embedded in the insn stream.
25497         (arm_output_epilogue): New function, made mainly from the body
25498         of output_func_epilogue.
25499         (output_func_epilogue): Move insn generation part of epilogue code
25500         to arm_output_epilogue.
25501         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
25502         * arm.md (pool_range): New attribute.
25503         (zero_extendqidi2): Add attribute pool_range.
25504         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
25505         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
25506         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
25507         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
25508         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
25509         (epilogue): New expand.
25510         (epilogue_insn): New insn.  Call arm_output_epilogue.
25511
25512         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
25513         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
25514
25515 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
25516
25517         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25518
25519 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
25520
25521         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
25522
25523 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
25524
25525         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
25526
25527 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
25528
25529         * global.c: Fix comment.
25530
25531 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
25532
25533         * gcc.c (access_check): New static function.
25534         (find_a_file): Use it when searching a directory list.
25535         * collect2.c (find_a_file): Don't accept directories found when
25536         searching a directory list.
25537
25538 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
25539
25540         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
25541         function parameters with `&'.
25542         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
25543
25544 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
25545
25546         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
25547         or tidy_fallthru_edge if the last insn in the block is not
25548         an unconditional jump or a simple conditional jump.
25549
25550 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25551
25552         * Makefile.in (c-decl.o): Depends on defaults.h.
25553
25554 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
25555
25556         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
25557         PA1.1 and above.
25558         (CLASS_MAX_NREGS): Likewise.
25559
25560 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
25561
25562         * cse.c (cse_insn): Fix dumb thinko in last change.
25563
25564 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25565
25566         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
25567         "const char *".
25568
25569 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
25570
25571         * dwarf2out.c (add_location_or_const_value_attribute): Correct
25572         test for sizes of passed and declared parameter types.
25573
25574 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25575
25576         * fixincludes: Fix the return type of bsearch, char* -> void*.
25577
25578         * fixinc/inclhack.def: Likewise.
25579
25580 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
25581
25582         * invoke.texi (-fdump-translation-unit): New option.
25583
25584 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
25585
25586         * expr.h (PROMOTE_PROTOTYPES): Move ...
25587         * defaults.h: ... to here.
25588         * c-decl.c: Include defaults.h instead of expr.h.
25589         * c-typeck.c: Include defaults.h.
25590
25591 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
25592
25593         * toplev.h (errorcount): Declare.
25594         (warningcount): Likewise.
25595         (sorrycount): Likewise.
25596         * c-lex.c (errorcount): Don't declare.
25597         * dwarf2out.c (errorcount): Don't declare.
25598
25599 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
25600
25601         * config/libgloss.h: Add a note discouraging use with ELF.
25602         * configure.in: Don't use libgloss.h for ELF targets.
25603         Always use_collect2 on a.out targets.
25604
25605 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
25606
25607         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
25608         (force_to_mode, case ASHIFTRT): Add shiftrt label.
25609
25610 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25611
25612         * loop.c (strength_reduce): When doing biv->giv conversion, update
25613         reg note of NEXT->insn.
25614
25615 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25616
25617         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
25618
25619 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25620
25621         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
25622         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
25623         Ensure expr.h is included.
25624         * c-typecheck.c (convert_arguments): Ditto.
25625
25626         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
25627
25628         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
25629         * config/convex/convex.h: Ditto.
25630         * config/dsp16xx/dsp16xx.h: Ditto.
25631         * config/fx80/fx80.h: Ditto.
25632         * config/gmicro/gmicro.h: Ditto.
25633         * config/i370/i370.h: Ditto.
25634         * config/i386/i386.h: Ditto.
25635         * config/m32r/m32r.h: Ditto.
25636         * config/m68k/m68k.h: Ditto.
25637         * config/m88k/m88k.h: Ditto.
25638         * config/mips/mips.h: Ditto.
25639         * config/pa/pa.h: Ditto.
25640         * config/pyr/pyr.h: Ditto.
25641         * config/tahoe/tahoe.h: Ditto.
25642         * config/we32k/we32k.h: Ditto.
25643
25644         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
25645         based on arch size.
25646
25647         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
25648
25649         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
25650         from comment.
25651
25652         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
25653
25654 1999-08-02  Richard Henderson  <rth@cygnus.com>
25655
25656         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
25657         for the register spill block.
25658         (m32r_va_arg): New.
25659         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
25660         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
25661
25662         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
25663         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
25664         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
25665
25666 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25667
25668         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
25669         MAX_WCHAR_TYPE defined in sparc.h.
25670         * config/sparc/linuxaout.h: Likewise.
25671         * config/sparc/linux64.h: Likewise.
25672         Also default to -mvis if CPU is UltraSPARC.
25673
25674 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25675
25676         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
25677         (RTX_OK_FOR_OLO10): Likewise.
25678         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
25679         %lo(), allow it in addresses...
25680         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
25681         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
25682         does not make sense.
25683         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
25684         (sparc_output_scratch_registers): New function.
25685         (output_function_prologue, sparc_flat_output_function_prologue): Use
25686         it.
25687         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
25688         defined.
25689         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
25690         * configure.in: Add check for .register pseudo-op support in as and
25691         check for offsetable %lo().
25692         * acconfig.h: Add templates for the above checks.
25693         * configure: Regenerate.
25694
25695 1999-08-02  Richard Henderson  <rth@cygnus.com>
25696
25697         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
25698         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
25699         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
25700
25701 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25702
25703         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25704         reg_biv_class.
25705
25706 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
25707
25708         * config/float-sparc.h: New file.
25709         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
25710         sparc-*-linux-gnu and sparc64-*-linux*.
25711
25712 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25713
25714         * rs6000.c (rs6000_va_list): Type is an array.
25715         (rs6000_va_start): Don't doubly adjust for varargs.
25716         (rs6000_va_arg): Evaluate long long GPR adjustment.
25717
25718 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
25719
25720         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
25721         -maix64 and -maix32.
25722         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
25723         LINK_SPEC): Change appropriately.
25724         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
25725         (u_short_cint_operand): Likewise.
25726         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
25727         for 64-bit hosts.
25728         * rs6000/t-aix43 (MULTILIB): Change to -m64.
25729
25730         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
25731
25732 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
25733
25734         * rs6000/rs6000.c (num_insns_constant_wide): Correct
25735         for type promotion.
25736         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
25737         (non_add_cint_operand): Likewise.
25738         (logical_operand): Likewise.
25739         (non_logical_cint_operand): Likewise.
25740         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
25741         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
25742         (rs6000_select_rtx_section): Suppress warning.
25743         (small_data_operand): Suppress warning.
25744         (rs6000_got_register): Suppress warning.
25745         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
25746         type, so `J' is generally the wrong constraint for a SImode value;
25747         use `L' instead.
25748         (andsi3_internal2): Likewise.
25749         (andsi3_internal3): Likewise.
25750         (iorsi3_internal1): Likewise.
25751         (xorsi3_internal1): Likewise.
25752         (movsi): Likewise.
25753         (movsf_softfloat): Likewise.
25754         (scc insns): Likewise.
25755         (movsi+2): Preserve sign bits of SImode constant.
25756         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
25757         (movdf+1): Sign-extend properly.
25758         (movdi_32+1): Sign-extend properly.
25759         (scc insns): Sign-extend properly.
25760
25761         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
25762         K, L, and T.
25763
25764 1999-08-02  Richard Henderson  <rth@cygnus.com>
25765
25766         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
25767         -mcpu parsing code.
25768         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
25769         * alpha.md (all fp insns): Likewise.
25770
25771 1999-08-02  Nick Clifton  <nickc@cygnus.com>
25772
25773         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
25774         already defined.
25775
25776 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
25777
25778         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
25779         pic_load_label generator directly.
25780         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
25781         No longer a named pattern.
25782
25783 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
25784
25785         * explow.c (force_reg): Call force_operand if X does not
25786         satisfy general_operand.
25787
25788 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
25789
25790         * fix-header.c (main): When testing for CONTINUED, use string
25791         equality, not pointer equality.
25792
25793 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
25794
25795         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
25796
25797 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
25798
25799         * cse.c (cse_insn): Fix loop which deletes insns after a jump
25800         that has become an unconditional jump.
25801
25802         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
25803         (output_function_epilogue): Similarly.
25804
25805 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25806
25807         * tree.h (init_dummy_function_start): Declare.
25808
25809 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25810
25811         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
25812         last_expr_type, last_expr_value, block_start_count, block_stack,
25813         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
25814         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
25815         dynamically in stmt elt of struct function for each function.
25816         (struct nesting): Rename function_call_count elt to n_function_calls,
25817         target_temp_slot_level to block_target_temp_slot_level.  All users
25818         changed.
25819         (struct stmt_status): New structure definition.
25820         Add many accessor macros for stmt_status elements which previously
25821         were global variables.
25822         (init_stmt_for_function): Allocate stmt elt for current_function.
25823         Reflect that block_start_count was renamed to
25824         current_block_start_count.
25825         (save_stmt_status, restore_stmt_status): Delete functions.
25826         (preserve_subexpressions_p): Don't access loop_stack when outside
25827         a function.
25828         (expand_start_bindings): Reflect that block_start_count was renamed to
25829         current_block_start_count.
25830         (expand_fixup): Likewise.
25831         (expand_decl): Don't access block_stack when outside a function.
25832         (expand_decl_cleanup): Likewise.
25833         (expand_dcc_cleanup): Likewise.
25834         (expand_dhc_cleanup): Likewise.
25835         (expand_anon_union_decl): Likewise.
25836         (set_file_and_line_for_stmt): New function.
25837         (in_control_zone_p): New function.
25838
25839         * function.h (struct function): Add new elt stmt.
25840         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
25841         case_stack, nesting_stack, nesting_depth, block_start_count,
25842         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
25843         emit_lineno, goto_fixup_chain.
25844         (save_eh_status, restore_eh_status, save_stmt_status,
25845         restore_stmt_status): Delete declarations.
25846         * function.c (push_function_context_to): Don't call save_stmt_status.
25847         (pop_function_context_to): Don't call restore_stmt_status.
25848         * tree.h (in_control_zone_p): Declare.
25849         * rtl.h (set_file_and_line_for_stmt): Declare.
25850
25851         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
25852         call set_file_and_line_for_stmt.
25853
25854 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
25855
25856         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
25857         Also update copyright.
25858
25859 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25860
25861         * c-pragma.c: Don't include "except.h".
25862         * emit-rtl.c: Likewise.
25863         * stor-layout.c: Likewise.
25864         * tree.c: Likewise.
25865         * varasm.c: Likewise.
25866
25867         * flow.c: Include "function.h".
25868         * tree.h (init_dummy_function_start): Declare new function.
25869
25870         * except.h (struct eh_status): New structure.
25871         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
25872         been included.
25873         (eh_return_stub_label, ehstack, catchstack, ehqueue,
25874         catch_clauses, false_label_stack, caught_return_label_stack,
25875         protect_list, current_function_ehc): Add accessor macros for the
25876         corresponding fields in current_function->eh; delete declarations
25877         for all items that used to be declared here.
25878         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
25879         catch_clauses, false_label_stack, caught_return_label_stack,
25880         protect_list, current_function_ehc): Delete variables.
25881         (init_eh_for_function): Allocate current_function->eh.
25882         (save_eh_status, restore_eh_status): Delete functions.
25883
25884         * function.h (struct function): Add fields next_global and eh.
25885         Delete all exception handling related fields.
25886         * function.c (current_function): New variable.
25887         (all_functions): New variable.
25888         (push_function_context_to): Don't allocate a struct function,
25889         use current_function instead.  Call init_dummy_function_start when
25890         outside a function.  Clear current_function before returning.
25891         (pop_function_context_from): Restore current_function.
25892         Don't free the restored struct function.
25893         (prepare_function_start): New function.
25894         (init_dummy_function_start): New function.
25895         (init_function_start): Break out some code into prepare_function_start
25896         and call it here.
25897
25898         * stmt.c (save_stmt_status): Don't call save_eh_status.
25899         (restore_stmt_status): Don't call restore_eh_status.
25900
25901         * Makefile.in: Update dependencies.
25902
25903 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
25904
25905         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
25906         of depending on a magic constant value.  Update comments.
25907         (hppa_expand_prologue): Similarly.
25908
25909         * pa.md (reload_indi, reload_outdi): Allow any register for the
25910         original reload register.
25911
25912 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
25913
25914         * cccp.c (print_help): Change marcos to macros.
25915
25916 1999-07-30  Richard Henderson  <rth@cygnus.com>
25917
25918         * c-typeck.c (initializer_constant_valid_p): Move ...
25919         * c-common.c (initializer_constant_valid_p): ... here.  Use
25920         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
25921         of label addresses.
25922         * c-common.h (initializer_constant_valid_p): Declare.
25923         * c-tree.h (initializer_constant_valid_p): Remove.
25924
25925 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
25926
25927         * config/i386/sol2-c1.asm: Align the stack.
25928         * config/i386/sol2-gc1.asm: Likewise.
25929
25930 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
25931
25932         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
25933         -Asparclite for sparc86x.
25934         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
25935         sparc86x.
25936         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
25937
25938 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25939
25940         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
25941         the user if using the non-default arch size in BI_ARCH configuration.
25942         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
25943
25944         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
25945         Fix patterns so that they actually match.
25946         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
25947         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
25948         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
25949         TARGET_HARD_MUL32.
25950         (mulsidi3): Reflect this in the expand.
25951         (smulsi3_highpart): Only on TARGET_ARCH32.
25952         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
25953         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
25954         (umulsidi3): Reflect this in the expand.
25955         (umulsi3_highpart): Only on TARGET_ARCH32.
25956         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
25957         don't require g0 to be zero.
25958         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
25959         ({,u}divsi3): New expands.
25960         ({,u}divsi3_sp64): New patterns.
25961         (after lshrdi3_v8plus): Four new patterns to help combiner
25962         optimizing nested mixed mode shifts.
25963
25964         * config/sparc/sparc.c (sparc_override_options): Use deprecated
25965         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
25966         speed things up. Don't use them by default on plain v9 in 64bit
25967         mode, according to what SPAMv9 sais.
25968
25969         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
25970         top 32 bits of %[og][0-7] in signal handlers.
25971         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
25972
25973 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
25974
25975         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
25976         (ashlsi3): Corresponding changes.
25977
25978         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
25979
25980 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
25981
25982         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
25983
25984 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25985
25986         * arm.h (Hint): Delete macro.
25987         Substitute HOST_WIDE_INT for Hint in some prototypes.
25988         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
25989
25990 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
25991
25992         * builtins.c (expand_builtin_setjmp): Use force_operand to
25993         make sure that the buffer address is in a suitable form to be
25994         passed to force_reg.
25995
25996 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
25997
25998         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
25999         them here.
26000
26001 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
26002
26003         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
26004         proper mode in the condition string.
26005         (icacheflush, dcacheflush): Remove modes from match_operands.
26006
26007         * pa.c (emit_move_sequence): Always convert scratch_reg to the
26008         proper mode before using it.
26009
26010         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
26011         pair.
26012
26013         * pa.c (store_reg): Do not call add_high_const generator directly.
26014         (load_reg, set_reg_plus_d): Likewise.
26015         * pa.md (add_high_const): No longer a named pattern.
26016
26017         * pa.c (legitimize_address): Consistently use Pmode rather than
26018         SImode.  Do not call gen_pic2_highpart directly anymore.
26019         * pa.md (pic2_highpart): No longer a named pattern.
26020         (pic2_lo_sum): Similarly.  Reformat to make more readable.
26021
26022         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
26023         needed.
26024
26025         * README: Update.
26026
26027 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26028
26029         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
26030
26031 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
26032
26033         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
26034         and tag the spill mems.
26035         (hppa_va_start): New.
26036         (hppa_va_arg): New.
26037         * pa.h (EXPAND_BUILTIN_VA_START): New.
26038         (EXPAND_BUILTIN_VA_ARG): New.
26039
26040 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
26041
26042         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
26043         and tag the spill mems.
26044         (mn10300_va_start): New.
26045         (mn10300_va_arg): New.
26046         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
26047         (EXPAND_BUILTIN_VA_ARG): New.
26048
26049 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
26050
26051         * mn10200.c (mn10200_va_arg): New.
26052         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
26053
26054 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
26055
26056         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
26057         rather than play with TREE_INT_CST_LOW.
26058
26059 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
26060
26061         * config/arm/telf.h: Include dbxelf.h.
26062         (CPP_PREDEFINES): Only define if not already defined.
26063         (ASM_IDENTIFY_GCC): Likewise.
26064         (SUBTARGET_EXTRA_SECTIONS): Likewise.
26065         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
26066         * config/arm/thumb.h (LINK_SPEC): Only define if not already
26067         defined.
26068         (DBX_DEBUGGING_INFO): Don't define.
26069         * config/arm/linux-telf.h: New file.
26070         * config/arm/linux-tgas.h: New file.
26071         * config/arm/t-thumb-linux: New file.
26072         * config/arm/uclinux-elf.h: New file.
26073         * config/arm/uclinux-telf.h: New file.
26074         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
26075         thumb-*-uclinux): New targets.
26076         * configure: Regenerate.
26077
26078 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
26079
26080         * pa.md (post_store, pre_load): New expanders.
26081         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
26082         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
26083         need to directly generate RTL for them.
26084         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
26085         changes.
26086
26087 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
26088
26089         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
26090         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
26091         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
26092         (secndary_reload_class): Make TARGET_ELF conditional compile.
26093         (print_operand_address): Similar.
26094         (output_toc): Print all values as hex.
26095         (get_issue_rate): Rearrange and add RS64A and PPC630.
26096         * rs6000.h (processor_type): Add RS64A and PPC630.
26097         (PROCESSOR_POWERPC64): New.
26098         (PROMOTE_MODE): Use word_mode.
26099         (RTX_COSTS): Add RS64A and PPC630.
26100         * rs6000.md (scheduling information): Add lmul and ldiv
26101         representing 64-bit integer multiply and divide.  Add rs64a and
26102         PPC630 information.
26103         (ashldi3): Add support for "rldic" instruction.
26104         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
26105
26106 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
26107
26108         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
26109         instead of V8 for sparclite86x in cpu_table.
26110
26111 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26112
26113         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
26114         output_file_directive.
26115
26116 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
26117
26118         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
26119         tree for op1, not the rtl.
26120
26121 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
26122
26123         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
26124         to m88k_va_start, leaving only the register spill.
26125         (m88k_build_va_list): New.
26126         (m88k_va_start): New.
26127         (m88k_va_arg): New.
26128         * m88k.h (BUILD_VA_LIST_TYPE): New.
26129         (EXPAND_BUILTIN_VA_START): New.
26130         (EXPAND_BUILTIN_VA_ARG): New.
26131
26132 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
26133
26134         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
26135         Rename from expand_builtin_saveregs.
26136         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
26137
26138 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
26139
26140         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
26141         for the register spill block.
26142         (i960_build_va_list): New.
26143         (i960_va_start): New.
26144         (i960_va_arg): New.
26145         * i960.h (BUILD_VA_LIST_TYPE): New.
26146         (EXPAND_BUILTIN_VA_START): New.
26147         (EXPAND_BUILTIN_VA_ARG): New.
26148         * i960.md (store_multiple): Use change_address on individul mems.
26149
26150 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
26151
26152         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
26153         an ARRAY_TYPE.
26154         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
26155         (expand_builtin_va_end): Evaluate arg for side effects.
26156         * c-common.c (c_common_nodes_and_builtins): Construct a
26157         va_list_arg_type_node to handle array decomposition to pointer.
26158
26159 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
26160
26161         * except.c (st_dynamic_cleanup): Use force_operand on the
26162         buffer's address.
26163
26164 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
26165
26166         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
26167         * c4x.c (c4x_va_arg): New.
26168
26169 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
26170
26171         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
26172         has manual_pop set.
26173
26174 1999-07-26  Nathan Sidwell  <nathan@acm.org>
26175
26176         * eh-common.h (__eh_matcher): Prototype correctly.
26177
26178 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
26179
26180         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
26181         (TARGET_SINGLE_PIC_BASE): Likewise.
26182         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
26183         definitions.
26184         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
26185         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
26186         (TARGET_OPTIONS): Add -mpic-register=N.
26187         (OUTPUT_INT_ADDR_CONST): New macro.
26188         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
26189         LEGITIMATE_PIC_OPERAND_P): Likewise.
26190         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
26191         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
26192         output_addr_const directly.
26193         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
26194         ARM port.
26195         (thumb_pic_register, thumb_pic_register_string): Declare.
26196
26197         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
26198         from arm.c.
26199         (label_mentioned_p): New function: Imported from arm.c.
26200         (legitimize_pic_address): New function: Imported from arm.c.
26201         (is_pic):New function: Imported from arm.c.
26202         (thumb_finalize_pic):New function: Imported from arm.c.
26203         (add_constant): Cope with PIC constants.
26204         (fixit): Cope with PIC constants.
26205         (output_return): Do not treat the PIC register as live if
26206         TARGET_SINGLE_PIC_BASE is true.
26207         (thumb_function_prologue): Do not treat the PIC register as live if
26208         TARGET_SINGLE_PIC_BASE is true.
26209         (thumb_expand_prologue): Do not treat the PIC register as live if
26210         TARGET_SINGLE_PIC_BASE is true.
26211         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
26212         TARGET_SINGLE_PIC_BASE is true.
26213         (thumb_print_operand): Accept '|'.
26214         (thumb_override_options): Process PIC options.
26215
26216         * config/arm/thumb.md (movsi): Support PIC.
26217         (call_insn): Change "i" constraint to "X".
26218         (call_value_insn): Likewise.
26219         (consttable_4, consttable_8, consttable_end): Set and clear
26220         "making_const_table" as appropriate.
26221         (pic_load_addr, pic_add_dot_plus_four): New insns.
26222
26223         * invoke.texi (Thumb Options): Fix spelling.  Document new
26224         options -msingle-pic-base and -mpic-register=.
26225
26226 1999-07-26  Andrew Haley  <aph@cygnus.com>
26227
26228         * config/m32r/initfini.c (__init): Use a full word immediate for
26229         __fini: this allows it to be placed in any memory region.
26230
26231         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
26232         -mmodel=medium.  This is OK for all memory models.
26233
26234 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
26235
26236         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
26237         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
26238
26239 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
26240
26241         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
26242         defined.
26243
26244         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
26245
26246 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
26247
26248         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
26249         (BUILD_VA_LIST_TYPE): New.
26250         (EXPAND_BUILTIN_VA_START): New.
26251         (EXPAND_BUILTIN_VA_ARG): New.
26252         * i860.c (output_delayed_branch): Disable.
26253         (output_delay_insn): Likewise.
26254         (i860_saveregs): New.
26255         (i860_build_va_list): New.
26256         (i860_va_start): New.
26257         (i860_va_arg): New.
26258         * i860.md: Disable all peepholes using output_delayed_branch.
26259         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
26260
26261 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
26262
26263         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
26264         (BUILD_VA_LIST_TYPE): New.
26265         (EXPAND_BUILTIN_VA_START): New.
26266         (EXPAND_BUILTIN_VA_ARG): New.
26267         * clipper.c (clipper_builtin_saveregs): Only dump registers.
26268         Return the address of the save area.
26269         (clipper_build_va_list): New.
26270         (clipper_va_start): New.
26271         (clipper_va_arg): New.
26272
26273 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
26274
26275         * arc.h (EXPAND_BUILTIN_VA_START): New.
26276         (EXPAND_BUILTIN_VA_ARG): New.
26277         * arc.c (arc_setup_incoming_varargs): Set alias set of
26278         varargs save area.
26279         (arc_va_start): New.
26280         (arc_va_arg): New.
26281
26282 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
26283
26284         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
26285         (BUILD_VA_LIST_TYPE): New.
26286         (EXPAND_BUILTIN_VA_START): New.
26287         (EXPAND_BUILTIN_VA_ARG): New.
26288         * alpha.c (alpha_builtin_saveregs): Delete.
26289         (alpha_build_va_list): New.
26290         (alpha_va_start): New.
26291         (alpha_va_arg): New.
26292
26293 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
26294
26295         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
26296         column zero.
26297         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
26298         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
26299
26300         * gcc.texi: More changes related to list conversion.
26301         * invoke.texi: Likewise.
26302
26303 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
26304
26305         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
26306         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
26307         (expand_builtin_next_arg): Accept ARGLIST not EXP.
26308         (stabilize_va_list): New function.
26309         (std_expand_builtin_va_start): New function.
26310         (expand_builtin_va_start): New function.
26311         (get_varargs_alias_set): New function.
26312         (std_expand_builtin_va_arg): New function.
26313         (expand_builtin_va_arg): New function.
26314         (expand_builtin_va_end): New function.
26315         (expand_builtin_va_copy): New function.
26316         (expand_builtin): Call them.
26317         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
26318         __builtin_{varargs_start,stdarg_start,end,copy}.
26319         (build_va_arg): New function.
26320         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
26321         (build_va_arg): Declare.
26322         * c-decl.c (ptr_type_node, va_list_type_node): New.
26323         * c-parse.gperf (__builtin_va_arg): New.
26324         * c-parse.in (VA_ARG): New token.
26325         (unary_expr): Recognize it.
26326         * expr.c (expand_expr): Expand VA_ARG_EXPR.
26327         * expr.h (std_expand_builtin_va_start): Declare.
26328         (std_expand_builtin_va_arg): Declare.
26329         (expand_builtin_va_arg): Declare.
26330         (get_varargs_alias_set): Declare.
26331         * tree.def (VA_ARG_EXPR): New.
26332         * tree.h (BUILT_IN_VARARGS_START): New.
26333         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
26334         (ptr_type_node, va_list_type_node): Declare.
26335         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
26336         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
26337         * m88k.h, m88k.c: Likewise.
26338         * mn10300.h, mn10300.c: Likewise.
26339         * pa.h, pa.c: Likewise.
26340         * rs6000.h, rs6000.c: Likewise.
26341         * sh.h, sh.c: Likewise.
26342         * sparc.h, sparc.c: Likewise.
26343
26344         * emit-rtl.c (operand_subword): Copy alias set.
26345         (change_address): Likewise.
26346
26347 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
26348
26349         * pa.c (compute_frame_size): Scan all the used callee saved registers,
26350         not just the first one.
26351
26352 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
26353
26354         * config/arm/arm.h (TARGET_SWITCHES): Add
26355         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
26356         (TARGET_OPTIONS): Add -mpic-register=.
26357         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
26358         (arm_pic_register_string): Declare.
26359         (NEED_PLT_GOT): Delete, replace with ...
26360         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
26361         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
26362         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
26363         * config/arm/arm.c (arm_override_options): Add new option
26364         -mpic-register=N.
26365         (arm_pic_register_string): New variable.
26366         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
26367         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
26368         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
26369         (output_return_instruction): Likewise.
26370         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
26371         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
26372         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
26373
26374         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
26375         mention of -msched-prolog.  Document new options -msingle-pic-base
26376         and -mpic-register=.
26377
26378 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
26379
26380         * haifa-sched.c (reemit_notes): Tidy.
26381         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
26382         haifa's routine.
26383
26384 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
26385
26386         * explow.c (trunc_int_for_mode): New function.
26387         (plus_constant_wide): Use it.
26388         * combine.c (simplify_and_const_int): Likewise.
26389         (merge_outer_ops): Likewise.
26390         (simplify_shift_const): Likewise.
26391         * cse.c (simplify_unary_operation): Likewise.
26392         (simplify_binary_operation): Likewise.
26393         * emit-rtl.c (operand_subword): Likewise.
26394         * rtl.h: Declare it.
26395
26396 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26397
26398         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
26399         (use NUM_REGS instead of NUM_INTS).
26400
26401 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26402
26403         * builtins.c: New file.
26404         * expr.c (saveregs_value, apply_args_value):  Delete definition,
26405         moved into builtins.c.
26406         (string_constant): No longer static.
26407         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
26408         apply_args_size, apply_result_size, result_vector,
26409         expand_builtin_apply_args, expand_builtin_apply,
26410         expand_builtin_return): Delete functions, moved into builtins.c.
26411         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
26412         * expr.h (saveregs_value, apply_args_value): Declare variables.
26413         (expand_builtin, string_constant): Declare functions.
26414         * Makefile.in: Update to build builtin.o.
26415
26416 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
26417
26418         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
26419         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
26420         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
26421         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
26422         false.
26423         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
26424         Define to zero.
26425
26426 1999-07-21  Michael Meissner  <meissner@cygnus.com>
26427
26428         * print-rtl.c (print_rtx): Print the names of the virtual
26429         registers.
26430
26431 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
26432
26433         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
26434         introduced in previous delta.
26435
26436 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26437
26438         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
26439         to avoid name clash.
26440
26441 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26442
26443         * c-lex.c (yylex) : Correct the test for overflow when lexing
26444         integer literals.
26445
26446 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
26447
26448         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
26449         (adjust_priority): Always call ADJUST_PRIORITY.
26450         (schedule_insn): Only put insns into the ready at cost 0.
26451         (schedule_block): Remove redundant initial sort.  Give clock_var
26452         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
26453         is not 0.
26454         * tm.texi (MD_SCHED_REORDER): Update docs.
26455
26456         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
26457         * sparc.c (ultra_reorder_called_this_block): Delete.
26458         (ultrasparc_sched_init): Don't set it.
26459         (ultrasparc_sched_reorder): Don't check it.
26460
26461 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
26462
26463         * rs6000.h (struct rs6000_args): Add sysv_gregno.
26464         * rs6000.c (init_cumulative_args): Init sysv_gregno.
26465         (function_arg_boundary): Align DFmode.
26466         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
26467         to get fp reg and stack overflow correct.
26468         (function_arg): Likewise.
26469         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
26470         (setup_incoming_varargs): Restructure for ABI_V4; use
26471         function_arg_advance to skip final named argument.
26472         (expand_builtin_saveregs): Properly unskip the last integer arg
26473         when doing varargs.  Adjust overflow location calculation.
26474
26475         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
26476         explicitly unsigned.
26477         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
26478         (__VA_GP_REGSAVE): Similarly.
26479         (__va_longlong_p): Delete.
26480         (__va_arg_type_violation): New declaration.
26481         (va_arg): Restructure.  Flag promotion errors.  Align double.
26482         TFmode passed by reference.
26483
26484         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
26485         in the HOST_BITS_PER_WIDE_INT > 32 case.
26486
26487 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
26488
26489         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
26490
26491 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
26492
26493         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
26494         * toplev.c (documented_lang_options): Add -fpreprocessed.
26495         * cpplib.h (struct cpp_buffer): Add preprocessed.
26496         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
26497         (cpp_start_read): Don't expand macros or emit an initial #line
26498         directive if -fpreprocessed.
26499
26500 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
26501
26502         * cpplib.h (struct cpp_buffer): Added manual_pop for
26503         better C++ tokenization.
26504         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
26505         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
26506         * c-common.c (cpp_token): Make non-static.
26507
26508 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26509
26510         * c-common.h: New file.
26511         * c-common.c (permanent_obstack): Delete unused declaration.
26512         (c_global_trees): New array.
26513         (c_common_nodes_and_builtins): New function; split off common code
26514         from init_decl_processing in both c-decl.c and cp/decl.c.
26515         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
26516         c_global_trees and accessor macros defined in c-common.h.
26517         Include c-common.h.
26518         * c-decl.c: Delete definitions for tree nodes that were replaced by
26519         c_global_trees.
26520         (init_decl_processing): Build void_list_node.
26521         Call c_common_nodes_and_builtins; delete code to generate the common
26522         builtins here.
26523         * objc/objc-act.c (build_module_descriptor): Rename variable
26524         void_list_node to avoid clash with c-common.h.
26525
26526         * Makefile.in: Update dependencies.
26527         * objc/Make-lang.in: Likewise.
26528
26529 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
26530
26531         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
26532         (UNIQUE_SECTION_P): Likewise.
26533         (UNIQUE_SECTION): Likewise.
26534
26535 1999-07-19  Linas Vepstas  <linas@linas.org>
26536
26537         * config/i370/README: New file.
26538         * config/i370/linux.h: New file.
26539         * config/i370/mvs.h: New file.
26540         * config/i370/oe.h: New file.
26541         * config/i370/t-linux: New file.
26542         * config/i370/t-mvs: New file.
26543         * config/i370/t-oe: New file.
26544         * config/i370/x-oe: New file.
26545         * config/i370/xm-linux.h: New file.
26546         * config/i370/xm-mvs.h: New file.
26547         * config/i370/xm-oe.h: New file.
26548
26549         * i370.c (label_node_t): Add first_ref_page, label_addr,
26550         label_first_ref, label_last_ref members.
26551         (mvs_need_base_reload): Renamed from mvs_label_emitted.
26552         (MAX_MVS_LABEL_SIZE): Define.
26553         (MAX_LONG_LABEL_SIZE): Define.
26554         (alias_node_t, alias_anchor, alias_number): New.
26555         (mvs_function_table): Reorder for EBCDIC.
26556         (ascebc, ebcasc): Unconditionally define.
26557         (i370_branch_dest, i370_branch_length): New functions.
26558         (i370_short_branch, i370_label_scan): New functions.
26559         (mvs_get_label): Renamed from mvs_add_label.  Search for
26560         an existing label before creating a new one.
26561         (mvs_add_label): New function.
26562         (mvs_get_label_page): New function.
26563         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
26564         over the entire list.
26565         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
26566         (mvs_check_page) [TARGET_ELF_ABI]: New function.
26567         (mvs_add_alias, mvs_need_alias): New functions.
26568         (mvs_get_alias, mvs_check_alias): New functions.
26569         (handle_pragma): New function.
26570         (mvs_function_check): New function.
26571         (unsigned_jump_follows_p): Search harder.
26572         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
26573         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
26574         * i370.h (TARGET_VERSION): Delete.
26575         (CPP_SPEC, CPP_PREDEFINES): Delete.
26576         (mvs_label_emitted): Delete.
26577         (TARGET_EBCDIC): Delete.
26578         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
26579         (HANDLE_PRAGMA): Define.
26580         (HARD_REGNO_NREGS): Handle complex modes.
26581         (HARD_REGNO_MODE_OK): Likewise.
26582         (CLASS_MAX_NREGS): Likewise.
26583         (RET_REG): Likewise.
26584         (EXTRA_CONSTRAINT): Define.
26585         (RETURN_IN_MEMORY): True for DImode.
26586         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
26587         (FUNCTION_PROFILER): Delete.
26588         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
26589         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
26590         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
26591         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
26592         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
26593         (ASM_FILE_START): Add "RMODE ANY".
26594         (ASM_OUTPUT_EXTERNAL): Check for aliases.
26595         (ASM_GLOBALIZE_LABEL): Likewise.
26596         (ASM_OUTPUT_LABELREF): Likewise.
26597         (ASM_OUTPUT_COMMON): Likewise.
26598         (PRINT_OPERAND): Handle 'K', 'W', default.
26599         (PRINT_OPERAND_ADDRESS): New.
26600         (Lots of defines): Add support for TARGET_ELF_ABI.
26601         * i370.md (attr length): New.  Define for all patterns.
26602         (*): Lots of tweeks to assembly output and constraints.
26603
26604 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
26605
26606         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
26607         Disable patterns performing SImode comparisons with SImode values
26608         if TARGET_POWERPC64 and instruction does not sign-extend or does
26609         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
26610         differ for signed quantities.
26611         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
26612         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
26613         (decrement_and_branch_on_count): Add 64-bit variant.
26614
26615 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26616
26617         * final.c (output_asm_insn): When searching for the matching string
26618         for a given dialect, don't run past the end of the list of
26619         alternatives if there are fewer alternatives in the template than
26620         dialects.
26621
26622 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
26623
26624         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
26625         Removed paragraph about compression of files and size limitation,
26626         duplicated in the FAQ.  Use gcc-patches for posting patches.
26627         * gcc.c (main): Updated URL with bug reporting instructions to
26628         gcc.gnu.org.  Removed e-mail address.
26629         * system.h (abort): Likewise.
26630
26631 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26632
26633         * Makefile.in (stmp-multilib-sub): Make the files extracted
26634         from $(LIBGCC1) writable.
26635
26636 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
26637
26638         * config/arm/aout.h: Reformat for improved readability.
26639
26640         * config/arm/arm.h: Reformat for improved readability.
26641         Replace uses of fprintf with asm_fprintf where appropriate.
26642         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
26643         function declaration assembler actions.
26644         (NUM_INTS): New macro: Convert from bytes to words.
26645         (NUM_REGS): New macro: Compute number of registers required to
26646         hold a quanitity of tyep MODE.
26647         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
26648         types.
26649         (NUM_ARG_REGS): New macro: The number of argument registers
26650         available.
26651         (ARG_REGISTER): New macro: Compute the register number of the Nth
26652         argument register.
26653         (LAST_ARG_REGNUM): New macro: The number of the last argument
26654         register.
26655         (SP_REGNUM): New macro: Register number of the stack pointer.
26656         (FP_REGNUM): New macro: Register number of the frame pointer.
26657         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
26658         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
26659         CUMULATIVE_ARGS so that it counts registers not bytes.
26660
26661         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
26662         TARGET_INTERWORK.
26663         Replace uses of fprintf with asm_fprintf where appropriate.
26664         (output_ascii_pseudo_op): Replace with version from thumb.c
26665
26666         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
26667
26668         * config/arm/elf.h (CPP_PREDEFINES): Replace with
26669         SUBTARGET_CPP_SPEC.
26670         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
26671         (ASM_FILE_START): Emit ASM_APP_OFF.
26672
26673 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
26674
26675         * pa.c (compute_frame_size): Round frame according to
26676         STACK_BOUNDARY rather than a hardwired value.
26677
26678         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
26679
26680         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
26681         of "1".
26682         * configure: Rebuilt.
26683
26684         * configure.in (hppa*-*-linux*): New configuration.
26685         * configure: Rebuilt.
26686         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
26687         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
26688         * pa/pa-linux.h: New file.
26689         * pa/t-linux: New file.
26690         * pa/xm-linux.h: New file.
26691
26692         * pa.c (hppa_legitimize_address): Change references from SImode to
26693         either Pmode or word_mode as appropriate.
26694         (emit_move_sequence, store_reg, load_reg): Likewise.
26695         (set_reg_plus_d, hppa_expand_prologue): Likewise.
26696         (output_mul_insn): Likewise.
26697         * pa.h (PROMOTE_MODE): Likewise.
26698         (INITIALZE_TRAMPOLINE): Likewise.
26699         (Pmode): Define to word_mode.
26700
26701         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
26702         value of 4.  Allocate 8 bytes for each FP register save.
26703         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
26704         value of 4.
26705         (hppa_expand_prologue): Likewise.
26706         * pa.h (PROMOTE_MODE): Likewise.
26707         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
26708         (FUNCTION_ARG_BOUNDARY): Likewise.
26709
26710         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
26711
26712         * pa.c (out_of_line_prologue_epilogue): Delete.
26713         (override_options): Remove -mspace related code.
26714         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
26715         (compute_frame_size): Only allocate space for register that
26716         actually need to be saved.
26717         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
26718         (TARGET_SWITCHES): Remove -mspace, -mno-space
26719         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
26720         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
26721         * pa/ee.asm, pa/ee_fp.asm: Delete.
26722
26723         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
26724
26725         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
26726         directive in column zero.
26727
26728 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
26729
26730         * m68k.c (output_function_prologue): Fix computation of save mask
26731         when generating PIC code.
26732
26733 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
26734
26735         * tree.c (build_type_attribute_variant): Move current_obstack restore
26736         after build_qualified_type call.
26737
26738 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
26739
26740         * configure.in: Use t-iris6, even with GNU LD.
26741         * config/mips/iris6gld.h: Fix typo in linker spec.
26742         * config/mips/t-iris6gld: Remove.
26743
26744 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
26745
26746         * rs6000.md (insv, extzv): Remove SImode dependence in named
26747         patterns.  Explicitly generate DImode RTL if PowerPC64 and
26748         operand is DImode.
26749         (insvdi): Reverse start and size in instruction template.
26750
26751 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
26752
26753         * invoke.texi: Typo fixes.
26754
26755 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
26756
26757         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
26758         handle at this time instead of silently generating incorrect code.
26759         (gen_imagpart): Likewise.
26760
26761         * reload.c (find_reloads): Emit a USE for a pseudo register without
26762         a hard register if we could not create an optional reload for the
26763         pseudo.
26764
26765 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26766
26767         * c-typeck.c (output_init_element, process_init_element):
26768         When advancing constructor_unfilled_fields for a RECORD_TYPE,
26769         check for nameless bit fields.
26770
26771 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
26772
26773         * regclass.c (scan_one_insn): Notice subregs that change the
26774         size of their operand.
26775         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
26776
26777 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
26778
26779         * configure.in (alpha*-*-*): Include alpha/t-ieee.
26780         * configure: Rebuilt.
26781         * alpha/t-ieee: New file.
26782
26783 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
26784
26785         * rs6000.c (find_addr_reg): Do not select r0 as an address
26786         register.
26787
26788 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
26789
26790         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
26791
26792 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
26793
26794         * rs6000.md (movsf): Do not force easy FP constants into memory.
26795
26796         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
26797         immed_double_const to ensure they are properly truncated then
26798         sign extended.
26799
26800 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
26801
26802         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
26803         always unless NO_DEBUG is used.  Compile this code
26804         unconditionally.
26805         (replace_symbols_in_block): Compile it unconditionally.
26806
26807 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
26808
26809         * configure.in (i?86-*-elf*): New target.
26810         * configure: Rebuilt.
26811         * i386/i386elf.h, i386/t-i386elf: New files.
26812
26813 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
26814
26815         * toplev.c (main): Don't complain about saying -gdwarf.
26816         (rest_of_compilation): Remove redundant code.
26817
26818 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
26819
26820         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
26821
26822 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
26823
26824         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
26825         "Li960R:", to avoid name clash.
26826
26827 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
26828
26829         * loop.c (check_dbra_loop): When reversing a loop, delete all
26830         REG_EQUAL notes referencing the reversed biv except those which are
26831         for a giv based on it.
26832
26833 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
26834
26835         * version.c: Drop "gcc-" prefix from version #.
26836
26837 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
26838
26839         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
26840         the label if we're being verbose.
26841
26842 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
26843
26844         * m68k.c (output_function_prologue): Add pic register to mask
26845         if live and flag_pic.
26846         (output_function_epilogue): Likewise.
26847
26848 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
26849
26850         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
26851         directives in column zero.
26852
26853         * pa/elf.h (ASM_FILE_START): Define.
26854         * pa/som.h (ASM_FILE_START): Include .level directives.
26855         * pa/hpux10.h (ASM_FILE_START): Delete.
26856         * pa/hpux11.h (ASM_FILE_START): Delete.
26857
26858         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
26859
26860 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26861
26862         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
26863         when reload_out equals reload_in.
26864
26865 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
26866
26867         * invoke.texi (Spec Files): New node: Describe the contents of
26868         spec files.
26869
26870 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
26871
26872         * invoke.texi (DEC Alpha Options): Put @end table at
26873         beginning of line, to avoid confusing texi2html.
26874
26875 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
26876
26877         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
26878         introduced in previous delta.
26879
26880 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26881
26882         * reload1.c (gen_reload): When synthesizing a 3 operand add
26883         sequence, improve test for when to reload OP1 into the reload
26884         register instead of OP0.
26885
26886 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
26887
26888         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
26889
26890 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
26891
26892         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
26893         string literal.
26894
26895 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
26896
26897         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
26898         (va_dcl): Use __builtin_va_alist_t.
26899
26900 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
26901
26902         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
26903         on the permanent_obstack.
26904         * dwarfout.c (output_type): Likewise.
26905
26906 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26907
26908         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26909         Merged from c-typeck.c and cp/typeck.c.
26910         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26911         Merged into c-common.
26912
26913 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
26914
26915         * c-lex.c (errorcount): Declare it.
26916         (finish_parse): Update errorcount when using CPPLIB.
26917
26918 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
26919
26920         * fixinc/inclhack.def(end_else_label): Double the backslash so
26921         sed gets a chance to see it.
26922         * fixinc/inclhack.sh: regen
26923         * fixinc/fixincl.x: regen
26924
26925 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
26926
26927         Add framework to support armv5 architecture when it becomes
26928         available:
26929
26930         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
26931         (arm_arch5): New variable.
26932         (all_architectures): Add armv5 line.
26933         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
26934         -march=armv5 is specified on the command line.
26935         (arm_arch5): Export this variable.
26936         * invoke.texi: Document new string accepted by -march= switch for
26937         ARM ports.
26938
26939         * config/arm/arm.h: Replace use of constant 12 as a register
26940         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26941         * config/arm/arm.c: Replace use of constant 12 as a register
26942         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
26943
26944         * config/arm/elf.h: Tidy up.
26945         * config/arm/coff.h: Tidy up.
26946
26947 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
26948
26949         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
26950         * gcc/config/mips/t-iris6gld: New file.
26951         * gcc/config/mips/iris6gld.h: Likewise.
26952
26953 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26954
26955         * c-decl.c (widest_integer_literal_type_node,
26956         widest_unsigned_literal_type) : New.
26957         (init_decl_processing): Handle/use the two new types.
26958         * c-common.c (type_for_size,type_for_mode) : Same.
26959         * c-lex.c (yylex) : Same.
26960         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26961         Same.
26962         * c-tree.h (widest_integer_literal_type_node,
26963         widest_unsigned_literal_type) : New.
26964
26965 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
26966
26967         * dwarfout.c (field_byte_offset): Correctly compute the object's
26968         byte offset for the first bit of a field which crosses an alignment
26969         boundary on a !BYTES_BIG_ENDIAN target.
26970
26971 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
26972
26973         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
26974         ntohs.
26975
26976 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
26977                           Jeff Law <law@cygnus.com>
26978
26979         * ginclude/varargs.h (va_dcl): Use word_mode for type of
26980         __builtin_va_list.
26981
26982         * except.c: Include intl.h.
26983         (expand_eh_return): Set current_function_cannot_inline.
26984         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
26985         * function.h (struct function): Add eh_return_stub_label.
26986         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
26987         * Makefile.in (except.o): Depend on intl.h.
26988
26989 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
26990
26991         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
26992         same as offsettable in cases 1 and 2.
26993
26994 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
26995
26996         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
26997         (extlh, extwh): Likewise.
26998
26999 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27000
27001         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
27002
27003 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
27004
27005         * configure.in: Add arm-pe and thumb-pe targets.
27006         * configure: Regenerate.
27007
27008         * thumb.c (arm_naked_function_p): New function: Determines if
27009         a function is naked (has no gcc generated prologue/epilogue).
27010         (is_called_in_ARM_mode): Return true if the func has the
27011         interfacearm attribute.
27012         (output_return): Do not generate a return for naked functions.
27013         (thumb_function_prologue): Do not generate a prologue for
27014         naked functions.
27015         (thumb_expand_prologue): Do not generate a prologue for naked
27016         functions.
27017         (thumb_expand_epilogue): Do not generate an epilogue for naked
27018         functions.
27019         (arm_valid_machine_decl_attribute): New function, copied from
27020         arm.c:  Permit naked and interfacearm attributes.
27021
27022         * config/arm/pe.c: New file: Support code for arm-pe target.
27023         * config/arm/pe.h: New file: Header file for arm-pe target.
27024         * config/arm/tpe.h: New file: Header file for thumb-pe target.
27025         * config/arm/t-thumb-pe: New file: Makefile fragment for
27026         thumb-pe target.
27027
27028 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
27029
27030         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
27031         -fPIC or -fpic is specified.
27032
27033 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
27034
27035         * expr.c (emit_block_move): Use copy_to_mode_reg for
27036         !TARGET_MEM_FUNCTIONS case too.
27037
27038         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
27039         appropriate.
27040         * configure: Rebuilt.
27041         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
27042         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
27043         definitions made redundant by dbxelf.h inclusion.  Delete
27044         lots of definitions related to assembly output that are
27045         specific to the SOM object format.
27046         * pa.c (output_function_prologue): Do not emit the function's
27047         name for OBJ_ELF.
27048         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
27049         * pa-pro.h: Deleted.
27050         * som.h: New file with SOM specific definitions.
27051         * elf.h: New file with ELF specific definitions.
27052
27053         * elfos.h (const_section): Output a tab before assembler directives.
27054         (ctors_section, dtors_section): Likewise.
27055         (ASM_OUTPUT_SECTION_NAME): Likewise.
27056
27057         * pa/pa1.h: Delete unused file.
27058
27059 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
27060
27061         * configure.in (hppa*-hp-hpux11*): New configuration.
27062         * configure: Rebuilt.
27063         * pa/pa-hpux11.h: New file.
27064         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
27065         command line.
27066
27067         * mips.md (leasi, leadi): New patterns.
27068
27069         * expr.c (emit_block_move): Properly handle case where one of the
27070         block move arguments has a queued increment or decrement.
27071         (clear_storage): Similarly.  Fix formatting goof.
27072
27073 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
27074
27075         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
27076         semicolon from the BSD VA_LIST replacement expression.
27077
27078         * fixinc/inclhack.sh: regen
27079         * fixinc/fixincl.x: regen
27080
27081         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
27082         now use the fixincl program.
27083
27084 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
27085
27086         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
27087         case.  Also make the PIC register call_used.
27088
27089         * m68k.h (FINALIZE_PIC): Delete.
27090         * m68k.c (finalize_pic): Delete.
27091
27092 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
27093
27094         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
27095         to memory.
27096
27097 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
27098
27099         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
27100
27101 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
27102
27103         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
27104
27105 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
27106
27107         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
27108
27109 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
27110
27111         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
27112
27113 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
27114
27115         * rs6000.c (output_toc): Always use hex values for floating-point
27116         constants.  Store single-precision values in upper-half of TOC
27117         entry in 64-bit mode.
27118         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
27119         to final constraints.
27120         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
27121         (fctiwz): Improve accuracy of RTL for pattern.
27122
27123 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
27124
27125         * expr.c (expand_expr): Allow RTL_EXPR's through the
27126         MAX_INTEGER_COMPUTATION_MODE checks.
27127
27128 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
27129
27130         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
27131         such that MASK_SUPPORT_ARCH is not negative.
27132
27133 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
27134
27135         * loop.c (verify_dominator): Properly handle ADDR_VEC and
27136         ADDR_DIFF_VEC insns that appear inside loops.
27137
27138 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
27139                           Jeff Law <law@cygnus.com>
27140
27141         * rs6000.md (movdf_hardfloat32): Revert previous patch.
27142         Handle LO_SUM the same as offsettable in cases 1 and 2.
27143         * rs6000.c (find_addr_reg): Revert previous patch.
27144
27145 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
27146
27147         * system.h (strstr): New external function declaration.
27148         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
27149         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
27150         * config.in, configure: Rebuilt.
27151
27152 1999-06-24  Tom Tromey  <tromey@cygnus.com>
27153
27154         * gcc.c (main): Read user-specified specs files after computing
27155         additional startfile_prefixes.
27156
27157 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
27158
27159         Revert these two patches:
27160
27161         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27162         * loop.c (strength_reduce): When doing biv->giv conversion, update
27163         reg note of NEXT->insn.
27164
27165         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27166         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27167         reg_biv_class.
27168         (recombine_givs): Set ix field after sorting.
27169
27170 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27171
27172         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
27173         for the parts of an UNSPEC / UNSPEC_VOLATILE.
27174
27175 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
27176
27177         *fixinc/inclhack.def:  Add fix development commentary
27178         (read_ret_type): reactivate and add selection clause
27179         (zzz_*): tweak output file name to match what is used in hackshell.tpl
27180         *fixinc/{fixincl.x|inclhack.sh}: regen
27181
27182 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
27183
27184         * expr.c (expand_expr): STRIP_NOPS before checking against
27185         MAX_INTEGER_COMPUTATION_MODE
27186         (check_max_integer_computation_mode): Likewise.
27187
27188 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
27189
27190         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
27191
27192 1999-06-22  Jim Wilson  <wilson@cygnus.com>
27193
27194         * expr.c (store_expr): When target is a promoted subreg, return a
27195         promoted subreg as a result.
27196
27197 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
27198
27199         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
27200         coding standards.
27201         (dwarf2out_define): Mark unused parameters appropriately.
27202         (gen_unspecified_parameters_die): Ditto.
27203         (gen_subprogram_die): Fix signed/unsigned warnings.
27204         (gen_variable_die): Ditto.
27205
27206 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
27207
27208         * fixinc/inclhack.def(end_else_label): combined else_label
27209         and endif_label and fixed the sed expression.
27210         *fixinc/{fixincl.x|inclhack.sh}: regen
27211
27212 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
27213
27214         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
27215         'x' when handling non-offsettable addresses
27216
27217 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
27218
27219         * final.c (shorten_branches): Don't try to split an insn that has
27220         been deleted.
27221
27222 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
27223
27224         * config/mips/mips.c (symbolic_expression_p): New function.
27225         (mips_select_rtx_section): Put symbolic expressions in the
27226         data section, not the read-only data section.
27227
27228 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
27229
27230         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
27231
27232 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
27233
27234         * collect2.c (main): Log frame table count.
27235         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
27236         (scan_prog_file) [COFF]: Handle frame tables.
27237
27238         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
27239         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
27240         * alpha/elf.h: Undef them again.
27241         * alpha/vms.h: Remove their definitions.
27242
27243 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27244
27245         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
27246         remove the clobber of r0 and change the REG_UNUSED note to
27247         REG_INC.
27248
27249 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
27250
27251         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
27252         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
27253         fits in HOST_WIDE_INT and one uses union to access a long constant
27254         as double.
27255
27256 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
27257
27258         * sparc.c (sparc_override_options): Don't allow profiling for
27259         code models other than medlow.
27260         (sparc_function_profiler): New function from old FUNCTION_PROFILER
27261         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
27262         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
27263         (sparc_block_profiler): Likewise.
27264         (sparc_function_block_profiler_exit): Likewise.
27265         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
27266         (FUNCTION_BLOCK_PROFILER): Likewise.
27267         (BLOCK_PROFILER): Likewise.
27268         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
27269         (MCOUNT_FUNCTION): New.
27270         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
27271         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
27272         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
27273         (MCOUNT_FUNCTION): New.
27274         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
27275         (BLOCK_PROFILER): Delete.
27276         (MCOUNT_FUNCTION): New.
27277
27278 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
27279
27280         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
27281
27282 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
27283
27284         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27285         Add the macros.
27286
27287         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27288         Ditto.
27289
27290         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27291         Ditto.
27292
27293         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27294         Ditto.
27295
27296 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
27297
27298         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
27299         types.
27300
27301 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
27302
27303         * i386/djgpp.h (LIB_SPEC): New.
27304         (STARTFILE_SPEC): New.
27305
27306         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
27307
27308 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
27309
27310         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
27311         compiler flags.
27312
27313         * system.h (WSTOPSIG): New macro.
27314
27315 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27316
27317         * c-pragma.c (push_alignment): Don't ignore alignments greater than
27318         4 bytes.
27319         (insert_pack_attributes): Take into account member natural
27320         alignment.
27321
27322         * i386/winnt.c (exports_head): New static variable.
27323         (i386_pe_record_exported_symbol): New function.
27324         (i386_pe_asm_file_end): Use.
27325         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
27326         symbols to be emitted at end of assembly.
27327         (ASM_DECLARE_OBJECT_NAME): Likewise.
27328         (ASM_DECLARE_FUNCTION_NAME): Likewise.
27329
27330         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
27331         -iwithprefix.
27332
27333 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
27334
27335         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
27336         in last change.
27337
27338 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
27339
27340         * haifa-sched.c (sched_analyze_1): Use free_list instead of
27341         zapping reg_last_uses directly.
27342         (sched_analyze_2, sched_analyze_insn): Likewise.
27343         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
27344
27345 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
27346
27347         * rs6000.md (movdf_hardfloat32): Use worst case insn length
27348         attributes for cases 1 and 2.
27349
27350 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
27351
27352         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
27353         instead of set.
27354
27355 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
27356
27357         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
27358
27359 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
27360
27361         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
27362         PIC_OFFSET_TABLE_REGNUM for general alloaction.
27363         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
27364         must be stacked if it is used for PIC accesses.
27365         * arm.c (use_return_insn): Handle PIC register specially.
27366         (output_return_instruction): Likewise.
27367         (output_func_{prologue,epilogue}): Likewise.
27368         (output_expand_prologue): Likewise.
27369
27370         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
27371         (*strsi_predec): Renamed from *strqi_predec.
27372         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
27373         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
27374
27375         * arm.c (arm_override_options): Remove warning about PIC code
27376         not being supported.
27377
27378 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
27379
27380         * rs6000.c (find_addr_reg): New function.
27381         * rs6000.h (find_addr_reg): Declare.
27382         (offsettable_addr_operand): Delete.
27383         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
27384         from and stores to GPRs.
27385
27386 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
27387
27388         * alpha.c (alpha_expand_block_move): Use get_insns rather than
27389         gen_sequence as argument to emit_no_conflict_block.
27390
27391 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27392
27393         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
27394         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
27395         *fixinc/fixincl.x: regen
27396         *fixinc/inclhack.sh: regen
27397
27398 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
27399
27400         * added support for -mpcrel (PC relative addressing for m68k)
27401         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
27402         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
27403         * m68k.c (print_operand_address): Handle 32-bit PIC case.
27404         (comments for general_src_operand): Add some explanation
27405         about EXTRA_CONSTRAINTS.
27406         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
27407         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
27408         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
27409         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
27410         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
27411         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
27412         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
27413         if not already set.
27414         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
27415         * m68k.h (TARGET_PCREL): New target flag.
27416         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
27417         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
27418         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
27419         contains a SYMBOL_REF.  Relax this constraint during reload, since
27420         we want to use the predicates, not reload's built-in concept of a
27421         valid memory address, to control what insns need reloading.
27422         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
27423         operands (essentially 'g', 'm', and 's' under normal circumstances).
27424         * m68k.c (print_operand): Cause printing of pc-relative addresses
27425         to include pc register.
27426         (print_operand_address): Ditto.
27427         (general_src_operand): Accept operands that are not only
27428         general_operands, but are also valid when used as a pc-relative
27429         source.
27430         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
27431         (memory_src_operand): Similar, for memory_operands.
27432         (pcrel_address): New predicate to accept the special case of a
27433         pc-relative address.
27434         * m68k.md (many patterns): Rewrite common SImode, HImode, and
27435         QImode insns to accept *_src_operand instead of *_operand where
27436         pc-relative operands can fit.  For example, a pc-relative operand
27437         can be used as a memory source operand for addsi3, but not as a
27438         memory destination.
27439         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
27440
27441 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
27442
27443         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
27444         .thumb_set pseudo op to mark aliases of thumb functions.
27445
27446 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
27447
27448         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
27449         preference to ASM_OUTPUT_DEF, if it is defined.
27450
27451         * tm.texi: Document new, optional target macro
27452         ASM_OUTPUT_DEF_FROM_DECLS.
27453
27454 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27455
27456         * fixincludes: ISCNTL patch
27457         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
27458         (dgux_int_varargs): new for DG/UX
27459         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
27460
27461 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
27462
27463         * invoke.texi (ia32 options): Fix typo.
27464
27465 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27466
27467         * loop.c (strength_reduce): When doing biv->giv conversion, update
27468         reg note of NEXT->insn.
27469
27470 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
27471
27472         * loop.c (move_movables): Note issues with replacing REGs with
27473         SUBREGs.
27474         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
27475
27476 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
27477
27478         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
27479
27480         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
27481         the reference to `mcount' was not correct for the ELF on FreeBSD.
27482
27483 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27484
27485         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27486         reg_biv_class.
27487
27488         (recombine_givs): Set ix field after sorting.
27489
27490 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
27491
27492         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
27493         to safe to extract a subword out of a REG.
27494
27495 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27496
27497         * sh.md (mulsi3): Don't add a no-op move at the end.
27498
27499 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27500
27501         * cse.c (cse_insn): Don't put hard register source into tables for
27502         the last insn of a libcall.
27503
27504 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27505
27506         * loop.c (strength_reduce): Insert sets of derived givs at every
27507         biv increment, even if it's the only one.
27508
27509 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
27510
27511         * dwarfout.c (add_incomplete_type): New fn.
27512         (output_type): Call it.
27513         (retry_incomplete_types): New fn.
27514         (dwarfout_finish): Call it.
27515
27516         From Eric Raskin <ehr@listworks.com>:
27517         (output_type): Output types for bases.
27518
27519 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
27520
27521         * mips.c (mips_output_conditional_branch): Add `break'
27522         between `default' label and `close braces'.
27523
27524 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
27525
27526         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
27527         specifications and make it realistic.
27528         (LIB_SPEC): Likewise.
27529
27530 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
27531
27532         * config/mips/mips.c (mips_secondary_reload_class): Check for
27533         (PLUS (SP) (REG)) and return appropriate register class.
27534         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
27535         Handle (PLUS (SP) (REG)).
27536         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
27537         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
27538         of emit_insn for tablejump.
27539
27540 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
27541
27542         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
27543         asm_fprintf format string by itself.
27544         (output_function_profiler): Likewise.
27545
27546 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
27547
27548         * combine.c (simplify_logical, case AND): Only call
27549         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
27550         or the constant is positive.
27551
27552 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
27553
27554         * configure.in: Fix typo in rs6000-ibm-aix4 case.
27555         * configure: Regenerate.
27556
27557 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
27558
27559         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
27560         require a sub-version #.
27561         * configure: Rebuilt.
27562
27563 1999-06-14  Robert Lipe  (robertlipe@usa.net)
27564
27565         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
27566
27567 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
27568
27569         * c-typeck.c (process_init_element): Detect excess elements in
27570         char array initializer.
27571
27572 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
27573
27574         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
27575
27576 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27577
27578         * invoke.texi (Option Summary): Add -fpermissive flag.
27579
27580 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
27581
27582         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
27583         that require PIC code sequences.
27584
27585 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
27586
27587         * configure.in: Add new target: thumb-elf.
27588         * configure: Regenerate.
27589         * config/arm/t-thumb-elf: New file: Makefile fragment for
27590         thumb-elf build.
27591         * config/arm/telf.h: New file: Header file for thumb-elf
27592         build.
27593
27594 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
27595
27596         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
27597         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
27598         initializers is some circumstances.
27599
27600         * fixinc/inclhack.def (endif_label): Add additional selector for
27601         more bogus stuff after #endif statements.
27602         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
27603
27604 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27605
27606         * i386/cygwin.h (SET_ASM_OP): Define.
27607
27608 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27609
27610         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
27611
27612 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27613
27614         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
27615         latter.
27616
27617         * sh.md (ic_invalidate_line_i): Remove second alternative.
27618
27619 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27620
27621         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
27622         test for the presence of valid prototypes.  Delete bypass expr.
27623         (ioctl_fix_ctrl): Correct the selection expression.
27624         (no_double_slash): Correct quoting rules
27625         *fixinc/fixincl.x: regen
27626         *fixinc/inclhack.sh: regen
27627
27628 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
27629
27630         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
27631
27632 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
27633
27634         * rs6000.md (movsi_got_internal_mem): Delete.
27635         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
27636         (GOT_TOC_REGNUM): Delete.
27637         (PIC_OFFSET_TABLE_REGNUM): Define.
27638         (FINALIZE_PIC): Disable.
27639         * rs6000.c (rs6000_got_register): New code for fixed pic register.
27640         (rs6000_replace_regno): Delete.
27641         (rs6000_finalize_pic): Likewise.
27642         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
27643
27644 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27645
27646         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
27647         is a note; use <= for the compare; advance P while it is
27648         a NOTE.
27649
27650 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
27651
27652         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
27653         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
27654
27655         * varasm.c (remove_from_pending_weak_list): Verify t->name
27656         is non-NULL before passing it to strcmp.
27657
27658 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27659
27660         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
27661         the typed arguments are not part of a comment
27662         (ioctl_fix_ctrl): Added a purpose comment
27663         *fixinc/fixincl.x: regenerate
27664         *fixinc/inclhack.sh: regenerate
27665
27666 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27667
27668         * invoke.texi: Add C4x invocation docs.
27669
27670 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
27671
27672         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
27673         Define new macros.
27674         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
27675         TARGET_EXPOSE_LDP.
27676         (c4x_legitimize_reload_address): New function.
27677         * config/c4x/c4x.md: Update docs.
27678
27679 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
27680
27681         * fixincludes: Avoid removing '.'.
27682         * fixinc/fixinc.svr4: Likewise.
27683         * fixinc/fixinc.winnt: Likewise.
27684         * fixinc/inclhack.tpl: Likewise.
27685         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
27686
27687 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27688
27689         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
27690         pattern.
27691         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
27692
27693 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
27694
27695         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
27696         correctly.
27697
27698 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
27699
27700         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
27701         * configure: Regenerate.
27702
27703 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
27704
27705         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
27706         values.
27707
27708 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
27709
27710         * fixinc/inclhack.def (avoid_bool): Also catch
27711         "typedef [unsigned] int bool".
27712         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27713
27714         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
27715         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
27716         * configure: Rebuilt.
27717
27718 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
27719
27720         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
27721         such that we can override its definitions if necessary.
27722         (CPP_SPEC): New define.  Support processor specific predefines via
27723         %(cpp_cpu).
27724         (CC1_SPEC): New define.  Support processor specific compiler
27725         options via %(cc1_cpu).
27726         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
27727         -static.
27728
27729 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27730
27731         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
27732         between sed's -e flag, and the open-quote following it.
27733         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27734
27735 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
27736                           Jeffrey A Law  (law@cygnus.com)
27737
27738         * varasm.c (assemble_start_function): Remove the function
27739         from the pending weak decls list when we define a function.
27740         (assemble_variable): Similarly for variables.
27741         (weak_finish): Ignore items on the list with a NULL name.
27742         (remove_from_ending_weak_list); New function to "remove" an item
27743         from the pending weak declarations list.
27744
27745 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
27746
27747         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
27748
27749 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
27750
27751         * c-lex.c (GETC): Redefine to call getch.
27752         (UNGETC): Redefine to call put_back.
27753         (putback_buffer): New structure type.
27754         (putback): New static structure.
27755         (getch): New function.
27756         (put_back): New function.
27757         (yylex): Replace unused bytes from bad multibyte character.
27758
27759 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
27760
27761         * cpplib.c (do_define): Cast `alloca' return value.
27762         (do_include, do_undef, do_pragma): Likewise.
27763         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
27764         values.
27765         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
27766         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
27767
27768 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
27769
27770         * sparc.md (abstf2): This should be an expand.
27771         (split after abstf2_notv9): Fix mode.
27772         (abstf2_hq_v9): New pattern.
27773         (abstf2_v9): Only use when no hard quad.
27774         (absdf2_v9): Fix if target is not the same as source.
27775         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
27776         Add correct output constraints.
27777
27778 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
27779
27780         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
27781         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
27782
27783 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
27784
27785         * mips.h (mips_output_conditional_branch): New function.
27786         (mips_adjust_insn_length): Likewise.
27787         (ASSEMBLER_SCRATCH_REGNUM): New macro.
27788         (ADJUST_INSN_LENGTH): Likewise.
27789         * mips.c (print_operand): Add `F' and `W' for floating-point
27790         comparison opcodes.
27791         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
27792         are now in bytes.
27793         (mips_adjust_insn_length): New function.
27794         (mips_output_conditional_branch): New function.
27795         * mips.md (length): Adjust attribute definition to handle
27796         conditional branches.  Change lengths to bytes, rather than
27797         instructions throughout.  Remove length attribute from
27798         instructions whose length is four bytes, and rely on the default
27799         instead.
27800         (dslot): Fix typo in comment.
27801         Reword conditional branch patterns to use
27802         mips_output_conditional_branch.
27803
27804 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
27805
27806         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
27807         (LIB_SPEC): Likewise.
27808         Link with -lprof1_r for -g/-pg.
27809
27810 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27811
27812         * loop.c (check_dbra_loop): Fix change of Jan 19.
27813
27814 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
27815
27816         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
27817         (STARTFILE_SPEC):  Define, override the svr4.h version.
27818         (ENDFILE_SPEC):  Likewise.
27819
27820 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
27821
27822         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
27823         * fixinc/fixincl.x: Regenerated.
27824         * fixinc/inclhack.sh: Regenerated.
27825
27826 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27827
27828         * sh.c (barrier_align): Don't return early for normal branch/barrier
27829         when optimizing for SH2.
27830
27831 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
27832
27833         * i386/udk.h (LINK_SPEC): Correct linker search path for
27834         system libraries.
27835
27836 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27837
27838         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
27839         (braf_label_ref_operand): Delete.
27840         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
27841         * sh.md (casesi_jump_2): Operand1 is now the inside of a
27842         label_ref, and has no predicate.
27843         The patten has a predicate to guard against invalid substitutions.
27844         (dummy_jump): Delete.
27845         (casesi): Update use of casesi_jump_2.
27846
27847 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
27848
27849         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
27850         *fixinc/fixincl.x: regenerate
27851         *fixinc/inclhack.sh: regenerate
27852
27853 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
27854
27855         * dwarf2out.c (add_incomplete_type): New fn.
27856         (gen_struct_or_union_type_die): Call it.
27857         (retry_incomplete_types): New fn.
27858         (dwarf2out_finish): Call it.
27859
27860 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
27861
27862         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
27863         current block starts with a CODE_LABEL and ends with a CALL and
27864         we can not find all the argument setup instructions for the CALL.
27865
27866 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
27867
27868         Revert this change:
27869         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27870         something is a candidate for optimize_bit_field_compare.
27871
27872 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
27873
27874         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
27875
27876 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
27877
27878         * alpha.c (override_options): Thinko in last patch.
27879
27880         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
27881         (LIB_SPEC): Recognize -pthread.
27882
27883 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
27884
27885         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
27886         definition in config/arm/coff.h
27887         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
27888
27889 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27890
27891         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
27892         fixes that need "file=xxx\n" prepended before invocation
27893         (start_fixer - new): starting the fixer process is complex enough
27894         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
27895         (process): uses the new routine; omit usage of putenv()
27896         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
27897         * fixinc/fixincl.x: regenerate
27898
27899 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
27900
27901         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
27902         and version #s (1.1 -> 2.96) as needed.
27903         * README.g77: Kill way out of date file in the toplevel directory.
27904
27905 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
27906
27907         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
27908         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
27909         * configure: Rebuilt.
27910         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
27911         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
27912         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
27913         (SWITCH_TAKES_ARG): Likewise.
27914         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
27915         * config/t-freebsd: Moved from config/i386/ so it can used for all
27916         FreeBSD targets.
27917
27918 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
27919
27920         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
27921
27922 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
27923
27924         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
27925         * configure: Rebuilt.
27926
27927 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
27928
27929         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
27930         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
27931         * rs6000/rs6000.c (rs6000_file_start): Use putc.
27932         (rs6000_output_load_toc_table): Same.
27933         (output_prolog, output_mi_thunk): Same.
27934         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
27935         (ASM_GLOBALIZE_LABEL): Use putc.
27936
27937 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
27938
27939         * alpha.md (reload_*_help): New patterns and splitters.
27940         (reload_*): Use them.
27941         (mov[qh]i): Likewise.
27942
27943 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
27944
27945         * cccp.c (handle_directive): Handle backslash-newlines in quoted
27946         strings correctly.
27947
27948 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
27949
27950         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
27951
27952 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
27953
27954         * flow.c (mark_regs_live_at_end, insn_dead_p,
27955         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
27956         and HARD_FRAME_POINTER_REGNUM special treatment if reload
27957         hasn't run or the frame pointer is needed.
27958         * haifa-sched.c (attach_deaths): Likewise.
27959         * sched.c (attach_deaths): Likewise.
27960
27961 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
27962
27963         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
27964         calculate_can_reach_end returns nonzero.
27965
27966         * configure.in (native gas tests): Search for an assembler in the
27967         same manner that the installed compiler will.
27968         * configure: Rebuilt.
27969         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
27970
27971         * alias.c (find_base_term): Improve handling of addresses
27972         constructed from binary operations.
27973
27974 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
27975
27976         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
27977
27978 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
27979
27980         * function.h (cleanup_label, frame_offset): Declare.
27981         (tail_recursion_label, tail_recursion_reentry): Likewise.
27982         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27983         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
27984         (tail_recursion_label, tail_recursion_reentry): Likewise.
27985         (arg_pointer_save_area, rtl_expr_chain): Likewise.
27986
27987 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
27988
27989         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
27990         defined.
27991         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
27992         (MAX_OFILE_ALIGNMENT): Define.
27993
27994 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
27995
27996         * fixincl.c: Replace local include scheme with #includes of
27997         gansidecl.h and system.h.
27998         * procopen.c:  Likewise.
27999         * server.c:  Likewise.
28000
28001 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
28002
28003         * i386/t-dgux (EXTRA_PARTS): Add crti.o
28004         (crti.o): Add build rule and dependencies.
28005         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
28006
28007 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
28008
28009         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
28010         (LIB_LINUX_SPEC): Likewise.
28011         (LIB_LINUX_SPEC): Add support for -pthread
28012         (CPP_OS_LINUX_SPEC): Likewise.
28013         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
28014         specified.
28015
28016 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
28017
28018         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
28019         conditional move.
28020         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
28021         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
28022         for IEEE math and CC_FCOMI.
28023         (put_jump_code): No IEEE if CC_FCOMI is set.
28024
28025 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
28026
28027         * fold-const.c (fold_truthop): Make the field reference unsigned
28028         when converting a single bit compare.
28029
28030 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
28031
28032         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
28033
28034 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
28035
28036         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
28037         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
28038         version did.
28039
28040         * reload.c (push_reload): Do not call remove_address_replacements
28041         when presented with identical optional reloads.
28042
28043 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
28044
28045         * alpha.h (MASK_FIX, TARGET_FIX): New.
28046         (MASK_*): Reorganize constants.
28047         (CPP_AM_FIX_SPEC): New.
28048         (TARGET_SWITCHES): Add FIX.
28049         (EXTRA_SPECS): Likewise.
28050         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
28051         (SECONDARY_MEMORY_NEEDED): Likewise.
28052         (REGISTER_MOVE_COST): Likewise.
28053         * alpha.c (override_options): Add FIX support.  Always use
28054         ALPHA_TP_PROG for ev6.
28055         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
28056         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
28057         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
28058
28059 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
28060
28061         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
28062         something is a candidate for optimize_bit_field_compare.
28063
28064 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
28065
28066         * gcc.texi (Passes): Document branch-shortening.
28067         * invoke.texi (Debugging Options): Document the fact that `-dp'
28068         outputs length information for instructions.
28069
28070 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
28071
28072         * flow.c: Revert previous delta.
28073
28074 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
28075
28076         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
28077         FRAME_POINTER_REGNUM.
28078         (mark_set_1): Ditto.
28079         (mark_used_regs): Ditto.
28080
28081 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
28082
28083         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
28084         (GOT_PCREL): New macro.  Define to 1 if not already defined.
28085         * arm/elf.h (GOT_PCREL): Define to 0.
28086         * arm.c (arm_finalize_pic): Take into account the setting of
28087         GOT_PCREL.
28088
28089 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
28090
28091         * output.h (STRIP_NAME_ENCODING): Provide default definition.
28092         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
28093
28094         * flow.c (mark_set_1): Do not record BLKmode stores as dead
28095         store elimination candidates.
28096
28097 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
28098
28099         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
28100         TARGET_GAS.
28101
28102 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
28103
28104         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
28105         Add use of x-aix41-gld.
28106
28107 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
28108
28109         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
28110         (ASM_OUTPUT_DESTRUCTOR): Define.
28111
28112 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
28113
28114         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
28115         last CODE_LABEL in a loop if we have previously passed a jump
28116         to the top of the loop.
28117
28118 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
28119
28120         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
28121         applying Philip's patch.
28122
28123 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
28124
28125         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
28126         are not VAR_DECLs.
28127
28128 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
28129
28130         * loop.c (strength_reduce): Grow reg_single_usage as needed.
28131
28132 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
28133
28134         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
28135         Also remove a useless comment.
28136
28137 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
28138
28139         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
28140
28141 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
28142
28143         * collect2.c (main): Only generate import or export file and add
28144         to link arguments if non-empty.  Use xmalloc not alloca.
28145         (write_{export,import}_file): Delete.
28146         (write_aix_file): New function.
28147         (locatelib): Use xmalloc not malloc.
28148         (GCC_OK_SYMBOL): Do not check type if aix64.
28149
28150 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
28151
28152         Based on patch by Scott Bambrough and Pat Beirne:
28153         * config/arm/arm.c (making_const_table): New variable.
28154         * config/arm/arm.h (making_const_table): Declare.
28155         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
28156         appropriate.
28157         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
28158         Keep track of when we are building the constant table.
28159
28160 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
28161
28162         * config/arm/arm.c (arm_override_options): Fix erroneous warning
28163         message.
28164
28165 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
28166
28167         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
28168         defined.
28169
28170 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
28171
28172         * tm.texi (FUNCTION_ARG): Correct description of a stack element
28173         in a PARALLEL.
28174
28175 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
28176
28177         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
28178
28179 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
28180
28181         * rs6000.c (output_mi_thunk): Enable full support again.
28182
28183 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
28184
28185         * sh.h (BRANCH_COST): Define.
28186
28187 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
28188
28189         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
28190
28191 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
28192
28193         * function.c (assign_stack_local): Align stack slot propertly.
28194         (assign_outer_stack_local): Likewise.
28195
28196 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
28197
28198         * expr.h (lang_expand_constant): Declare.
28199         * toplev.c (lang_expand_constant): Define it.
28200         * varasm.c (output_constant): Use it.
28201
28202 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
28203
28204         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
28205         Change function definitions to K&R style.
28206
28207 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
28208
28209         * fixinc/fixincl.c: We must not ignore SIGCLD now.
28210
28211 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
28212
28213         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
28214         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
28215         (several places): omit static initialization
28216         (process): use single fd, since only the read fd is used
28217         * fixinc/gnu-regex.c: define 'const' away, if not supported
28218         * fixinc/procopen.c(several places): omit static initialization
28219         * fixinc/server.c: define 'volitile' away, if not supported
28220
28221 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
28222
28223         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
28224         asm_fprintf and %L to generate the label name.
28225         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
28226         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
28227
28228 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
28229
28230         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
28231         insn for a conditional jump can not be found.
28232
28233 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
28234
28235         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
28236         on variables in specific sections other than .sbss and .sdata.
28237
28238 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
28239
28240         * stmt.c (expand_return): Call start_cleanup_deferral and
28241         end_cleanup_deferral around conditional code.
28242
28243 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
28244
28245         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
28246         filename lists.  Utilizes new "krstr" AutoGen function.
28247         * fixinc/fixincl.x: Rebuilt.
28248
28249 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
28250
28251         * i386.c (output_float_compare): Avoid GNU-C extensions.
28252
28253 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
28254
28255         * version.c: Bump to distinguish mainline tree from the
28256         gcc-2.95 branch.
28257
28258 See ChangeLog.1 for earlier changes.